feat: add hooks example for Claude, Codex, and OpenCode

Demonstrates using the filesystem API to write agent hook configs
inside a Docker sandbox, then verifies they fire by prompting each
agent and reading back a shared log file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Nathan Flurry 2026-03-09 20:40:21 -07:00
parent 5d65013aa5
commit c79acbece2
3 changed files with 160 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2022", "DOM"],
"module": "ESNext",
"moduleResolution": "Bundler",
"allowImportingTsExtensions": true,
"noEmit": true,
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true,
"resolveJsonModule": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "**/*.test.ts"]
}