Skip to content

agents: stop passing --agent_name for Antigravity, Claude, Copilot, and Cursor hooks - #586

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1029708011
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1029708011

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

agents: stop passing --agent_name for Antigravity, Claude, Copilot, and Cursor hooks

Now that telemetry_hook.js detects agent_runtime directly in the main
hook process, stop writing --agent_name into hook commands for
Antigravity/Gemini, Claude, Copilot, and Cursor:

  • Drop --agent_name from hooks.json and .claude-plugin/hooks.json.
  • Keep --agent_name codex in .codex-plugin/hooks.json as a fallback.
…nd Cursor hooks

Now that `telemetry_hook.js` detects `agent_runtime` directly in the main
hook process, stop writing `--agent_name` into hook commands for
Antigravity/Gemini, Claude, Copilot, and Cursor:

- Drop `--agent_name` from `hooks.json` and `.claude-plugin/hooks.json`.
- Keep `--agent_name codex` in `.codex-plugin/hooks.json` as a fallback.

PiperOrigin-RevId: 1029708011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant