Skip to content

v2.8.0 - CoalHearth now installs as a native Antigravity plugin

Choose a tag to compare

@github-actions github-actions released this 08 Oct 04:10
· 189 commits to main since this release
v2.8.0
3ac1469

CoalHearth now installs as a native Antigravity plugin.

Added

  • A native Antigravity plugin (shipped: plugin.json and hooks.json, at the repository root and in the plugin/ dist). plugin.json names the plugin; hooks.json wires PreInvocation to bin/ag-pre-invocation.js (resume) and PostToolUse to bin/ag-post-tool-use.js (journal), each with a 10-second timeout. The two adapters are unchanged. Install it by copying the plugin folder to <project>/.agents/plugins/coalhearth, or by adding a path entry to plugins.json; both were measured. A junction (symlink to the folder) is not discovered: copy the folder. The global folder ~/.gemini/config/plugins/ was NOT measured, so it is not offered as a route. Claude Code does not read either new file. — test: bin/ag-hooks.test.js, scripts/build-plugin.test.mjs, scripts/verify.test.mjs
    • How it was measured: Antigravity (agy) 1.3.1, headless agy -p, Windows, 2026-10-08. From a plugin folder copied to .agents/plugins/coalhearth both hooks fired: the journal was written under Antigravity's own conversation id, and the model quoted the planted goal and next step from the resume block. A plugins.json path entry and a copy of the repository root were each checked for the journal leg only (the journal was written); resume delivery was observed in the workspace-folder copy. The interactive IDE was not exercised. agy plugin list does not list a folder-discovered plugin. agy plugin install <git url> was checked by shape only (the repository-root tree), not end to end.
    • What does not carry over: the UserPromptSubmit subagent-death nudge (Antigravity has no such event) and commands/*.md (no CoalHearth command or skill appeared at run time in a folder-discovered plugin).
  • scripts/verify.mjs checks the Antigravity plugin files (repo gate): the plugin name, only Antigravity's five event names, type: command, an integer timeout of 1 to 30, and a node <relative path> command naming a script that exists inside the plugin folder (a path with a .. segment or a backslash, one outside the plugin folder, or one that reaches a script outside it through a link, fails); it also fails a malformed event value or group, a hook with enabled: false, and an enabled hook missing either PreInvocation or PostToolUse. — test: scripts/verify.test.mjs