Add Antigravity and Grok Build session hooks - #25
Open
quantizor wants to merge 2 commits into
Open
Conversation
`devctl hook install --harness antigravity` merges a PreInvocation hook into ~/.gemini/config/hooks.json and emits injectSteps.ephemeralMessage, so an Antigravity session sees live server status instead of spawning duplicates.
Grok discards SessionStart stdout, so the adapter also writes a home rule that tells Grok to run `devctl context` before touching a server.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Antigravity and Grok Build sessions can now rediscover running servers instead of spawning duplicates after a new session or a compaction.
devctl hook install --harness antigravityand--harness grok(also offered at first run and in Settings when those tools are present) wire each harness. Uninstall removes them.devctl doctorreports a missing or stale hook the same way it already does for Claude Code and Cursor.Grok discards SessionStart hook stdout, so the Grok adapter also writes a short home rule that tells Grok to run
devctl contextbefore touching a server. That rule is standing instruction, not a live snapshot of one project, because Grok home rules apply to every session on the machine.Verification
make testscripts/smoke.shdist/devctl-1.4.1.dmg) built and stapled for a smoke of the installer