Skip to content

Add user-level Codex and Copilot hook setup#206

Merged
Siddhant-K-code merged 1 commit into
mainfrom
feat/user-level-codex-copilot-hooks
Jun 11, 2026
Merged

Add user-level Codex and Copilot hook setup#206
Siddhant-K-code merged 1 commit into
mainfrom
feat/user-level-codex-copilot-hooks

Conversation

@Siddhant-K-code

Copy link
Copy Markdown
Owner

Summary

  • Make agent-strace setup --cli codex write user-level Codex hooks to $CODEX_CONFIG_DIR/hooks.json or ~/.codex/hooks.json while still printing the JSON.
  • Add GitHub Copilot CLI hook setup via agent-strace setup --cli copilot, writing $COPILOT_HOME/hooks/agent-strace.json or ~/.copilot/hooks/agent-strace.json.
  • Add --provider copilot hook handling, including camelCase payload normalization and Copilot event aliases.
  • Update README and docs for Codex/Copilot setup paths and coverage.
  • Bump version to 0.80.0 for the new Copilot integration.

Verification

  • python3 -m pytest tests/test_copilot_hooks.py tests/test_codex_hooks.py tests/test_cursor_hooks.py tests/test_gemini_hooks.py -q -> 23 passed
  • python3 -m compileall -q src/agent_trace && git diff --check
  • python3 -m pytest tests/ -q -> 1604 passed
  • python3 -m agent_trace.cli --version -> agent-strace 0.80.0
  • wc -l README.md -> 222

@Siddhant-K-code Siddhant-K-code added the enhancement New feature or request label Jun 11, 2026
Co-authored-by: Codex <noreply@openai.com>
@Siddhant-K-code Siddhant-K-code force-pushed the feat/user-level-codex-copilot-hooks branch from 0d186fb to 5896962 Compare June 11, 2026 02:41
@Siddhant-K-code Siddhant-K-code merged commit 2534a95 into main Jun 11, 2026
4 checks passed
@Siddhant-K-code Siddhant-K-code deleted the feat/user-level-codex-copilot-hooks branch June 11, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant