- 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>
26 lines
624 B
JSON
26 lines
624 B
JSON
{
|
|
"name": "@peppa/testkit",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc -p .",
|
|
"test": "node --test --test-concurrency=1 test/*.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "1.32.2",
|
|
"@peppa/bot": "workspace:*",
|
|
"@peppa/bugsink": "workspace:*",
|
|
"@peppa/core": "workspace:*",
|
|
"@peppa/db": "workspace:*",
|
|
"@peppa/mcp": "workspace:*",
|
|
"@peppa/runner": "workspace:*",
|
|
"@peppa/shared": "workspace:*",
|
|
"drizzle-orm": "0.45.4",
|
|
"postgres": "4.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@xterm/headless": "6.0.0"
|
|
}
|
|
}
|