Skip to content

feat: add codex hook integration - #36

Open
nottyjay wants to merge 5 commits into
cytostack:mainfrom
nottyjay:main
Open

feat: add codex hook integration#36
nottyjay wants to merge 5 commits into
cytostack:mainfrom
nottyjay:main

Conversation

@nottyjay

@nottyjay nottyjay commented May 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@fejay

fejay commented Jun 6, 2026

Copy link
Copy Markdown

Why hasn't it been merged yet?

nottyjay added 4 commits June 9, 2026 16:39
- Switch hook config from shell form to exec form with args array
- Pass project directory as CLI arg to hooks (no longer rely on process.cwd())
- Fix placeholder format: $CLAUDE_PROJECT_DIR -> ${CLAUDE_PROJECT_DIR}
- SessionStart: use additionalContext JSON stdout for both Claude and Codex
- replaceOpenWolfHooks: detect hooks by args in addition to command
- Update README for fork relationship and new npm package name
- Update package.json repository URLs and author info
cytostack added a commit that referenced this pull request Jul 12, 2026
…, #5, #6, #12, #22)

openwolf init --agent <codex|opencode|gemini|cursor|all> wires additional
agents to the same .wolf/ brain:

- adapter registry (src/agents/), architecture from PR #39
- Codex: .codex/hooks.json + config.toml hooks feature + AGENTS.md marker
  block; hooks made provider-agnostic via getProjectDir() (from PR #36)
- OpenCode: native plugin (tool.execute.before/after + session events)
  installed to .opencode/plugin/, from PR #9
- Gemini CLI: GEMINI.md marker block
- Cursor: .cursor/rules/openwolf.mdc (alwaysApply)
- marker blocks are idempotent and preserve user content
- installed agents recorded in .wolf/config.json (openwolf.agents)

Co-authored-by: nottyjay <3240411+nottyjay@users.noreply.github.com>
Co-authored-by: alfasin <1937869+alfasin@users.noreply.github.com>
Co-authored-by: ChasLui <10083758+ChasLui@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants