@estebanforge/pi-antigravity-bridge 1.9.1 → 1.9.2

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,6 +2,11 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.9.2] - 2026-11-02
6
+
7
+ ### Fixed
8
+ - The AskAntigravity tool's expand hint now comes from the render context pi injects (`context.keyHint`) instead of the package import. pi 1.5 blinds an imported `keyHint` to the host keybindings (app.* ids format as ""), so the hint rendered as "to expand" with no key. Peer floor moves to `^1.5.0` accordingly.
9
+
5
10
  ## [1.9.1] - 2026-10-29
6
11
 
7
12
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@estebanforge/pi-antigravity-bridge",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
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",
@@ -46,7 +46,7 @@
46
46
  ]
47
47
  },
48
48
  "peerDependencies": {
49
- "@earendil-works/pi-coding-agent": "^1.0.0"
49
+ "@earendil-works/pi-coding-agent": "^1.5.0"
50
50
  },
51
51
  "peerDependenciesMeta": {
52
52
  "@earendil-works/pi-coding-agent": {
package/src/ask-tool.ts CHANGED
@@ -16,7 +16,7 @@ import { randomBytes } from "node:crypto";
16
16
  import * as fs from "node:fs";
17
17
  import * as path from "node:path";
18
18
  import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
19
- import { buildSessionContext, getAgentDir, keyHint } from "@earendil-works/pi-coding-agent";
19
+ import { buildSessionContext, getAgentDir } from "@earendil-works/pi-coding-agent";
20
20
  import { Text } from "@earendil-works/pi-tui";
21
21
  import { contentText, type ThinkingLevel } from "@earendil-works/pi-ai";
22
22
  import { Type } from "typebox";
@@ -759,7 +759,7 @@ export async function registerAskAntigravityTool(
759
759
  }
760
760
  return new Text(text, 0, 0);
761
761
  },
762
- renderResult(result, { expanded, isPartial }, theme) {
762
+ renderResult(result, { expanded, isPartial }, theme, context) {
763
763
  const d = result.details as AgyDetails | undefined;
764
764
  if (isPartial) {
765
765
  const status = result.content[0]?.type === "text" ? result.content[0].text : "working...";
@@ -789,7 +789,7 @@ export async function registerAskAntigravityTool(
789
789
  const lines = truncated.split("\n").slice(0, PREVIEW_MAX_LINES);
790
790
  if (lines.length) text += `\n${theme.fg("toolOutput", lines.join("\n"))}`;
791
791
  if (body.length > PREVIEW_MAX_CHARS || body.split("\n").length > PREVIEW_MAX_LINES) {
792
- text += `\n${theme.fg("dim", `… (${keyHint("app.tools.expand", "to expand")})`)}`;
792
+ text += `\n${theme.fg("dim", `… (${context.keyHint("app.tools.expand", "to expand")})`)}`;
793
793
  }
794
794
  }
795
795
  return new Text(text, 0, 0);