Settings → Browser, the conversation's Browser dock (noVNC live view and
take-over) and the container's on-demand life move into the lab-chrome
live plugin (ai-agent-plugins). The core keeps the Chrome chip (the
harness capability chrome) and gains three generic hooks:
- sockets[] + aiAgentPlugin.openSocket(id): a frame's websocket, opened by
the host with the reader's cookies and relayed over postMessage to
WS /api/plugins/{pid}/sockets/{sid}, which bridges only to the declared
upstream (owner only, the gate's handshake rules, never the guest host;
operator approval). GET …/sockets/{sid}/probe → {up, open, lastActiveAt}
for the plugin's handlers.
- provides chrome.lab (plugins/chrome_bridge.py): {op: status} → the chip
default and whether guests' runs keep --chrome; {op: ensure} before a
lab --chrome run launches (spawn and resume).
- ui.slots[].size on app.modal (full = near full screen, frame filling it);
conversation.gizmos' update and hub/conversations rows carry chrome.
Gone: backend/chrome/, /api/chrome*, schemas/chrome.py, the SSE chrome
event, the lab.integrations permission, BrowserDock/BrowserSettings/store,
the Browser header button and eye switch, @novnc/novnc. /settings/browser
redirects to /settings/plugin/lab-chrome; carryover.chrome moves
/data/chrome.json into the plugin's config.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"name": "ai-agent",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:mock": "VITE_MOCK=1 vite",
|
|
"build": "vite build",
|
|
"build:mock": "VITE_MOCK=1 vite build",
|
|
"gen:api": "orval --config orval.config.cjs",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@gabvdl/ui": "^0.50.0",
|
|
"@tanstack/query-async-storage-persister": "^5.101.2",
|
|
"@tanstack/react-query": "^5.101.2",
|
|
"@tanstack/react-query-persist-client": "^5.101.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"dompurify": "^3.4.17",
|
|
"fuse.js": "^7.0.0",
|
|
"idb-keyval": "^6.3.0",
|
|
"js-yaml": "^4.3.2",
|
|
"lucide-react": "^0.469.0",
|
|
"prism-react-renderer": "^2.4.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-markdown": "^9.0.1",
|
|
"react-router-dom": "^6.28.1",
|
|
"react-swipeable": "^7.0.2",
|
|
"remark-gfm": "^4.0.0",
|
|
"tailwind-merge": "^2.6.0",
|
|
"web-vitals": "^6.2.3",
|
|
"zustand": "^5.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^7.0.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.3",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/react": "^18.3.18",
|
|
"@types/react-dom": "^18.3.5",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"autoprefixer": "^10.4.20",
|
|
"jsdom": "^30.0.1",
|
|
"orval": "^8.20.0",
|
|
"postcss": "^8.4.49",
|
|
"tailwindcss": "^3.4.17",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"typescript": "^5.7.2",
|
|
"vite": "^6.0.7",
|
|
"vite-plugin-pwa": "^0.21.1",
|
|
"vitest": "^2.1.9"
|
|
}
|
|
}
|