peppa/apps/web/package.json
Асель 09d2750d75 PEP-9: live runner terminal in the web — xterm.js over SSE, input via POST
- runner/terminal.ts: TerminalFeed polls the pane (capture-pane -e, one loop per runner
  shared by viewers), sends changed lines, scrolled-off lines and the cursor; terminalInput
  (send-keys -H / paste-buffer -p) with access, liveness, size and rate checks, resets
  auto_nudges, logs terminal_input; terminalSse with 15 s pings for Cloudflare
- web: GET/POST /api/runners/[id]/terminal, RunnerTerminal (xterm.js) in the runner panel
  and on the story page; help
- testkit: terminal.test.ts — real tmux into a headless xterm, history, input, access, limits, SSE
- OpenSpec change archived; new spec runner-terminal

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 04:45:32 +05:00

41 lines
1.0 KiB
JSON

{
"name": "@peppa/web",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev -p 3100",
"build": "next build",
"start": "next start -p 3100",
"typecheck": "tsc -p ."
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.32.2",
"@peppa/bugsink": "workspace:*",
"@peppa/core": "workspace:*",
"@peppa/db": "workspace:*",
"@peppa/mcp": "workspace:*",
"@peppa/runner": "workspace:*",
"@peppa/shared": "workspace:*",
"@radix-ui/react-slot": "1.5.0",
"@xterm/xterm": "6.0.0",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"drizzle-orm": "0.45.4",
"geist": "1.9.2",
"lucide-react": "1.72.0",
"next": "16.4.6",
"qrcode": "1.5.4",
"react": "19.3.1",
"react-dom": "19.3.1",
"tailwind-merge": "3.7.0"
},
"devDependencies": {
"@tailwindcss/postcss": "4.3.5",
"@types/qrcode": "1.5.5",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"tailwindcss": "4.3.5"
}
}