Skip to content

Support for hooks #144

@budu

Description

@budu

I've tried (through Emacs agent-shell) using hooks and they don't seem to work at all with ACP. I'm wondering if it's a problem with the client (agent-shell), this project or the protocol/SDK?

I'm testing with:

.claude/settings.json

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "cat >> test.txt"
          }
        ]
      }
    ]
  }
}

Using claude-code directly, the test.txt gets populated after each edit while nothing happens with claude-code-acp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions