peppa/packages/runner
Асель 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-18: separate Peppa prod — release dir, PM button, DB backup, auto-rollback 2026-11-13 17:58:34 +05:00
src 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-58: Bugsink — production errors become Peppa incidents and tasks 2026-11-13 14:31:32 +05:00
tsconfig.json Bootstrap Peppa monorepo, DB schema, OpenSpec and project template 2026-11-12 19:13:16 +05:00