peppa/packages/testkit/package.json
Асель 1df550bb86 Add Codex provider, mock agents and end-to-end CJM suite
- runner: provider abstraction (claude | codex); per-run launch.sh keeps
  long argv out of tmux; Codex via notify callback + -c config for rules
  and the peppa MCP server; session env carries DATABASE_URL/PEPPA_HOME
- testkit: mock-claude / mock-codex driven by scenarios — real hooks,
  notify, MCP calls, raw-mode TUI input with bracketed paste, permission
  dialog, usage limits, hangs, crashes, /clear
- 21 CJM tests on an isolated DB, tmux server and state dir (all green)
- fix: watchdog crash/stall alerts showed blank lines instead of the tail
- bins load .env without overriding the caller's env; tmux socket option
- AGENTS.md (was CLAUDE.md) and shared RULES.md: mock-first rule with a
  mock prefix for anything blocked on external dependencies

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:09:43 +05:00

19 lines
436 B
JSON

{
"name": "@peppa/testkit",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"typecheck": "tsc -p .",
"test": "tsx --test --test-concurrency=1 test/*.test.ts"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.32.2",
"@peppa/core": "workspace:*",
"@peppa/db": "workspace:*",
"@peppa/runner": "workspace:*",
"@peppa/shared": "workspace:*",
"drizzle-orm": "0.45.4"
}
}