amerc/package.json
artheru 39e87dfa6f pty: native web terminal replaces the relay iframe (3.2.0)
backend POST/GET /agents/instances/:id/input (keystroke queue, broker
long-polls, owner/accesskey only) + POST .../tui (broker frame push).
src/Pty.jsx PtyPanel: polls tui, ANSI-stripped terminal, sends keystrokes;
wired into soldier Terminal tab + UsePanel; dropped the relay iframe.
Verified end-to-end on prod via throwaway + simulated broker.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 14:23:56 +08:00

19 lines
379 B
JSON

{
"name": "amerc-site",
"version": "3.2.0-pty",
"private": true,
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0",
"build": "vite build",
"preview": "vite preview --host 0.0.0.0"
},
"dependencies": {
"@vitejs/plugin-react": "^5.0.0",
"marked": "^14.1.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"vite": "^7.0.0"
}
}