refactor: generalize permissions example

This commit is contained in:
Nathan Flurry 2026-03-09 20:54:36 -07:00
parent 6e6d94be38
commit 5127b2c4ed
5 changed files with 17 additions and 14 deletions

View file

@ -157,7 +157,7 @@ await claude.prompt([
]);
```
See `examples/claude-permissions/src/index.ts` for a complete Claude example with interactive approve/reject handling.
See `examples/permissions/src/index.ts` for a complete permissions example that works with Claude and Codex.
## Destroy a session