Skip to content

v0.6.65

Choose a tag to compare

@github-actions github-actions released this 31 Jul 11:44
docs: agent hook plugin guide — three tiers + Aider example

Extended docs/plugin-development.md with a "Wrapping a new AI agent"
section aimed at anyone adding support for a new agent (Cursor, Aider,
Gemini CLI, Continue, etc). Covers:

- The three integration tiers (native hook API / SHELL wrapper / shell
  fallback) with a picker table so plugin authors know which one to
  reach for based on what the agent gives them.
- installMethod choice — when to use claude-settings vs shell-source vs
  manual, and which state file each mutates.
- Hook script contract — the minimum event payload, port/token
  discovery, and short curl timeouts so a paused RedLog doesn't wedge
  the agent's tool loop.
- Full working Aider plugin manifest + wrapper skeleton as a template
  people can copy.
- Testing checklist including the common failure modes (missing token,
  wrong shape rejected by the API).

Points at the two in-repo hooks (claude-code-hook.sh and codex-wrapper.sh)
as the reference for each extreme so authors don't guess.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>