ds4 icon indicating copy to clipboard operation
ds4 copied to clipboard

[Feature] add hooks support?

Open futurist opened this issue 5 months ago • 1 comments

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.

futurist avatar Jun 20 '26 06:06 futurist

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?

Berserk-hub150 avatar Aug 05 '26 13:08 Berserk-hub150