Skip to content

feat(hooks): add native Gemini CLI target#2321

Closed
RaviTharuma wants to merge 1 commit into
dyoshikawa:mainfrom
RaviTharuma:feat/gemini-cli-hooks-2318
Closed

feat(hooks): add native Gemini CLI target#2321
RaviTharuma wants to merge 1 commit into
dyoshikawa:mainfrom
RaviTharuma:feat/gemini-cli-hooks-2318

Conversation

@RaviTharuma

Copy link
Copy Markdown

Summary

  • add geminicli as a native hooks target for current Google Gemini CLI
  • safely patch the hooks key in global/project .gemini/settings.json while preserving unrelated settings
  • support import/generate round-trips, canonical event mappings, Gemini-specific overrides, command metadata, and docs
  • add processor, path, target, schema, and adapter coverage

Compatibility

This is intentionally separate from Antigravity targets. It manages only the native Gemini CLI hooks surface.

Test plan

  • pnpm check
  • focused Gemini/processor/tool-target tests
  • pnpm test — 324 files, 7,272 tests passed

Closes #2318.

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your contribution! Unfortunately, you currently have 3 open PRs (including this one), which exceeds the limit of 2 for external contributors.

Please wait for an existing PR to be reviewed/merged, or close one before opening a new one. See CONTRIBUTING.md for details.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@RaviTharuma
RaviTharuma force-pushed the feat/gemini-cli-hooks-2318 branch 2 times, most recently from 2b5c403 to af37cc6 Compare July 20, 2026 00:31
@RaviTharuma

Copy link
Copy Markdown
Author

CI update: the external-contributor policy allows at most two concurrent open PRs. PR #2322 was temporarily closed, leaving only these two open. The branch has also been updated with the CI fixes discovered in the first run.

@dyoshikawa

Copy link
Copy Markdown
Owner

Closing along with #2318: the geminicli target was intentionally removed and consolidated into the antigravity targets in #1673 (context: #1663, #1679) after Google's Gemini CLI → Antigravity CLI transition, so re-adding it contradicts that recorded decision. See #2318 for the full reasoning. This PR also currently fails the Code Quality & Tests check and all three E2E jobs.

@dyoshikawa dyoshikawa closed this Jul 20, 2026
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.

Add native hooks support for Google Gemini CLI

2 participants