@estebanforge/pi-antigravity-bridge 1.17.0 → 1.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,12 +2,19 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.17.1] - 2026-11-29
6
+
7
+ ### Fixed
8
+
9
+ - The display-only `antigravity` replay wrapper is no longer declared to models or listed in codemode's catalog of callable tools. It stayed in every model's tool list (empty description, internal `key` argument) for every provider, costing prompt tokens and inviting fabricated calls. It remains active so the provider's replay calls still execute and render.
10
+
5
11
  ## [1.17.0] - 2026-11-29
6
12
 
7
13
  ### Added
8
14
 
9
15
  - A consent gate for the stream-json engine (google-antigravity/antigravity-cli#1890). Existing installs resolved to stream-json see a one-time warning modal at start: on agy 1.5.17+ its turns bill at the 4× custom-agent quota rate and it is not a Google-documented integration path for third-party clients. Every path that selects stream-json (first-run picker, `/agy engine stream-json`, the settings row) shows the same modal before the choice applies; keeping stream-json records the acknowledgment so the warning never re-asks, esc decides later and re-asks next start. The acknowledgment persists only after a modal decision — a bare `/agy engine acp` or a headless stream-json apply leaves it unset so the next interactive start still asks. Headless runs apply with a one-line notice instead of a modal. ACP is the standard-rate path; existing installs resolved to stream-json will see the modal once on their next interactive start.
10
16
 
17
+
11
18
  ## [1.16.1] - 2026-11-28
12
19
 
13
20
  ### Fixed
@@ -805,10 +805,16 @@ export default async function (pi: ExtensionAPI): Promise<void> {
805
805
  // toolCalls against it (never re-executed - execute() replays the output
806
806
  // agy already recorded). Empty description on purpose: no model should
807
807
  // call it, it exists so pi renders proper toolCall/toolResult cards.
808
+ // It must stay active, since pi executes only active tools and the
809
+ // provider's emitted calls would otherwise fail "not found", but
810
+ // prepareLoadout leaves its declaration out of every model request and
811
+ // model-only exposure keeps it out of codemode's callable catalog.
808
812
  pi.registerTool({
809
813
  name: "antigravity",
810
814
  label: "Antigravity",
811
815
  description: "",
816
+ exposure: "model-only",
817
+ prepareLoadout: () => ({ hiddenDeclarations: ["antigravity"] }),
812
818
  parameters: Type.Object({
813
819
  tool: Type.String({ description: "agy tool name that produced this step." }),
814
820
  key: Type.String({ description: "Internal replay key. Do not fabricate." }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@estebanforge/pi-antigravity-bridge",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "Gemini provider for Pi on the Antigravity ACP server (official Google ACP) or the stream-json agy CLI. Use antigravity/* models in Pi. Full /model picker support. Models runs Pi's tools. ToS safe to use.",
5
5
  "keywords": [
6
6
  "pi-package",