ds4
ds4 copied to clipboard
[Feature] add hooks support?
Request to add somthing like codex hooks does: https://developers.openai.com/codex/hooks
I want do some actions before or after agent answering, like notify via curl an Endpoint after agent answered.
Hi, I'd like to implement a focused first version of hooks support for ds4-agent.
Proposed scope:
- before-response and after-response hooks;
- commands configured through CLI options;
- structured JSON event passed through stdin;
- configurable timeout;
- disabled by default;
- non-zero hook exits reported without corrupting the agent session;
- unit tests, CLI help and documentation.
Would this scope fit the project before I start the implementation?