Skip to content

Hooks improvements #201

Closed
Closed

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.

Activity

  1. self-assigned this
    on Nov 8, 2025
  2. added theissue type on Nov 8, 2025
  3. moved this to In progress in ECA roadmapon Nov 8, 2025
  4. zikajk commented on Nov 8, 2025

    @zikajk
    MemberAuthor

    @ericdallo Could you please update clients to not show Output or the Error when they are empty (to remove clutter)?

  5. ericdallo commented on Nov 8, 2025

    @ericdallo
    Member

    Yes, I think makes sense

  6. ericdallo commented on Nov 9, 2025

    @ericdallo
    Member

    Done @zikajk

  7. ericdallo commented on Dec 1, 2025

    @ericdallo
    Member

    Done in #225

  8. moved this from In progress to Done in ECA roadmapon Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions