PicoBot/webui/package.json
xiaoxixi 554d4b15ac feat: wire run quota and signal delivery persistence; remove redundant compat code
- RunQuota now enforced: background admission acquires the run permit
  (global→session) and the runner holds it until terminal commit;
  foreground never takes run permits so nested limit=1 cannot deadlock
- RuntimeAdmission activity guard held by background runners for the
  whole run; admission checked before any durable write
- signal_contract_json/signal_delivery persisted at run admission so
  definition-level steer delivery actually takes effect (was silently
  falling back to queue)
- terminal completion payload carries the run's emitted signal IDs
  (design §12.3) so the main Agent can recognise duplicates
- ROOT caller_scope_id is the literal "ROOT" (design §9.6)
- legacy general delegation returns a deprecation/migration hint

Cleanup:
- remove unused AgentCaller enum and run_parallel wrapper
- remove unreachable http_get_only prompt machinery (http_request is
  RootOnly and never enters sub-agent registries)
- drop never-read EmittedSignal fields; derive WakeupSource from
  TurnInputSource instead of duplicating match arms
- replace the /stop oneshot compatibility bridge with a plain turn_busy
  flag; the worker's forced-cancel path now selects on the cancellation
  token (implementation doc §11.1)

Version 1.8.0
2026-08-11 15:24:49 +08:00

30 lines
647 B
JSON

{
"name": "picobot-webui",
"private": true,
"version": "1.8.0",
"type": "module",
"engines": {
"node": ">=20"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"check": "svelte-check --tsconfig ./jsconfig.json"
},
"dependencies": {
"bits-ui": "^2.0.0",
"dompurify": "^3.4.12",
"marked": "^18.0.6",
"svelte": "^5.0.0"
},
"devDependencies": {
"@fontsource/jetbrains-mono": "^5.3.0",
"@fontsource/space-grotesk": "^5.3.0",
"@sveltejs/vite-plugin-svelte": "^6.0.0",
"@types/node": "^24.0.0",
"svelte-check": "^4.0.0",
"typescript": "^5.9.0",
"vite": "^7.0.0"
}
}