Skip to content

Hooks improvements #201

@zikajk

Description

@zikajk

Enhance ECA's existing 4 hook types (preRequest, postRequest, preToolCall, postToolCall) with structured feedback, without breaking existing hook scripts.

Scope:

  • JSON output parsing from hooks
  • Feed stderr to LLM on exit code 2 (for preToolCall)
  • Tool input modification via updatedInput field
  • Backward compatible with existing plain-text hooks

Motivation

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions