agent-Specialization/cli/package.json
JOJO d97c1423b1 feat(cli): rewrite CLI on opentui with Gateway host Bearer channel
- replace Ink implementation with opentui + React 19 (old version kept at cli/legacy-ink-src/ for field reference)
- all traffic goes through Gateway host Bearer token; workspace bound via X-Astrion-Workspace-Id header
- auto-spawn server only when no instance is alive (never kill/restart running ones); stale server without token is detected
- astrion launcher (bin/astrion, symlink-aware, --version/--help fast-exit)
- slash menu panels (session/model/mode/permission/path/context/approvals...) with shared selector component
- backend: host workspace list/create dual-channel endpoints, host token generated at startup
- i18n reads OS locale at startup (zh/en)

Co-authored-by: Astrion powered by Kimi-K3 <astrion-agent@users.noreply.github.com>
2026-09-11 17:27:53 +08:00

24 lines
452 B
JSON

{
"name": "astrion-cli",
"version": "0.2.0",
"private": true,
"type": "module",
"bin": {
"astrion": "./bin/astrion"
},
"scripts": {
"dev": "bun src/main.tsx",
"start": "bun src/main.tsx",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@opentui/core": "^0.1.53",
"@opentui/react": "^0.5.11",
"react": "^19.2.8"
},
"devDependencies": {
"@types/react": "^19.2.18",
"typescript": "^5.9.3"
}
}