peppa/packages/testkit
Асель 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
..
bin PEP-67: subscriptions and pools in core/db, sign-in and checks in runner, OpenCode provider, mocks, tests 2026-11-14 03:48:25 +05:00
src PEP-67: subscriptions and pools in core/db, sign-in and checks in runner, OpenCode provider, mocks, tests 2026-11-14 03:48:25 +05:00
test PEP-9: live runner terminal in the web — xterm.js over SSE, input via POST 2026-11-14 04:45:32 +05:00
package.json PEP-9: live runner terminal in the web — xterm.js over SSE, input via POST 2026-11-14 04:45:32 +05:00
tsconfig.json Add Codex provider, mock agents and end-to-end CJM suite 2026-11-12 20:09:43 +05:00