PicoBot/webui/package.json
xiaoxixi 4f35b4364d feat: deactivate broken sub-agent definitions instead of blocking startup
- AgentCatalog now records per-definition load errors (bad YAML, unknown
  provider/profile/model/tool/skill, or explicit delegate edge to an absent
  target) and excludes only the failing definition, never failing gateway
  startup or reload; config- and directory-trust-level errors stay fatal
- Explicit delegation to an absent target cascades to deactivate the
  delegating agent; `*` and implicit general-purpose delegation do not
- GET /api/agents lists broken definitions with parse/load errors so they
  can be fixed and re-enabled from the WebUI instead of disappearing
- WebUI shows an error banner on broken definitions, hides the enable switch,
  pre-fills the editor via lenient parsing, and re-enables on save
- Bump version to 1.16.0
2026-08-14 17:50:55 +08:00

30 lines
648 B
JSON

{
"name": "picobot-webui",
"private": true,
"version": "1.16.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"
}
}