Commit Graph

4 Commits

Author SHA1 Message Date
Abhinav Vedmala
2219e3df2e Support addDirectories in PermissionRequest hooks
Add hook schema and runtime support for decision.addDirectories, persist writable roots by destination, and reuse granted roots in later shell approvals.

Co-authored-by: Codex <noreply@openai.com>
2026-04-14 15:36:47 -07:00
Abhinav Vedmala
c6687ba493 Support PermissionRequest updatedPermissions
Handle allow-hook updatedPermissions for exec-rule AddRules suggestions and apply the selected updates to session, project, or user rule state.

Co-authored-by: Codex <noreply@openai.com>
2026-04-13 20:29:55 -07:00
Abhinav Vedmala
1bf5222fbb Clean up permission request approval flow
Replace stringly approval-attempt plumbing with a shared enum, centralize approval decision handling in the orchestrator, and document plus test the reserved PermissionRequest output fields.

Co-authored-by: Codex <noreply@openai.com>
2026-04-12 14:00:54 -07:00
Abhinav Vedmala
528bdb488a Add Bash PermissionRequest hooks
Co-authored-by: Codex <noreply@openai.com>
2026-04-12 12:27:11 -07:00