1
0
forked from boos/BoosAPI

feat: add desktop agent workbench

This commit is contained in:
boos
2026-06-26 13:08:00 +08:00
parent bc99c678f9
commit 424aaa9b1f
28 changed files with 1247 additions and 71 deletions
@@ -0,0 +1,23 @@
# Implementation Plan
1. Add `agent-workbench` to desktop page types, sidebar nav, content routing, and nav locale files.
2. Create `AgentWorkbenchPage.tsx` with:
- mode definitions
- provider-derived model options
- custom model fallback
- local attachment selection/removal with `AttachmentInput` conversion
- mode dropdown, auto toggle, skills and subject popovers
- Agent mode submit that creates an Agent conversation/session and calls existing streaming flow
- skills menu action for `luoluoluo22/jianying-editor-skill` install/enable and prompt priming
- placeholder submit status/result for media modes
3. Extend browser preview mock skill commands so install/list/toggle reflects the JianYing skill integration.
4. Add focused CSS to `desktop/src/index.css`, using restrained desktop styling and avoiding global side effects.
5. Run validation:
- `bun run typecheck`
- `bun run build`
6. Review diff for unrelated churn before final report.
## Validation
- `bun run typecheck` passed in `/root/metapi/desktop` after JianYing skill integration.
- `bun run build` passed in `/root/metapi/desktop` after JianYing skill integration.