@hearsay-tools/squawk 0.18.0-pr4068.7759 → 0.18.0-pr4069.7765

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.
Files changed (148) hide show
  1. package/dist/activity/publisher.d.ts +6 -4
  2. package/dist/activity/publisher.js +5 -6
  3. package/dist/activity/publisher.js.map +1 -1
  4. package/dist/activity/tool-activity.d.ts +4 -8
  5. package/dist/activity/tool-activity.js +9 -5
  6. package/dist/activity/tool-activity.js.map +1 -1
  7. package/dist/artifacts/reports-index.d.ts +19 -6
  8. package/dist/artifacts/reports-index.js +18 -17
  9. package/dist/artifacts/reports-index.js.map +1 -1
  10. package/dist/ci-wait/controller.d.ts +4 -4
  11. package/dist/cli-dispatch.js +2 -1
  12. package/dist/cli-dispatch.js.map +1 -1
  13. package/dist/contract/index.js +2 -1
  14. package/dist/core/backend-detect.js +3 -3
  15. package/dist/core/backend-detect.js.map +1 -1
  16. package/dist/core/runner-definition.d.ts +8 -1
  17. package/dist/core/runner-definition.js.map +1 -1
  18. package/dist/delegation/routes.d.ts +15 -15
  19. package/dist/delegation/worker-cleanup.d.ts +3 -1
  20. package/dist/delegation/worker-cleanup.js +10 -3
  21. package/dist/delegation/worker-cleanup.js.map +1 -1
  22. package/dist/managed-install/runtime-home.d.ts +8 -0
  23. package/dist/managed-install/runtime-home.js +14 -0
  24. package/dist/managed-install/runtime-home.js.map +1 -0
  25. package/dist/runners/acp/events.d.ts +15 -0
  26. package/dist/runners/acp/events.js +58 -2
  27. package/dist/runners/acp/events.js.map +1 -1
  28. package/dist/runners/acp/protocol.d.ts +10 -2
  29. package/dist/runners/acp/session.d.ts +11 -3
  30. package/dist/runners/acp/session.js +48 -16
  31. package/dist/runners/acp/session.js.map +1 -1
  32. package/dist/runners/acp/usage.d.ts +3 -0
  33. package/dist/runners/acp/usage.js +12 -0
  34. package/dist/runners/acp/usage.js.map +1 -0
  35. package/dist/runners/antigravity/account-home.js +1 -1
  36. package/dist/runners/antigravity/account-home.js.map +1 -1
  37. package/dist/runners/antigravity/accounts.d.ts +1 -1
  38. package/dist/runners/antigravity/accounts.js +1 -1
  39. package/dist/runners/antigravity/antigravity-model-catalog.d.ts +4 -2
  40. package/dist/runners/antigravity/antigravity-model-catalog.js +25 -20
  41. package/dist/runners/antigravity/antigravity-model-catalog.js.map +1 -1
  42. package/dist/runners/antigravity/antigravity-runner.d.ts +6 -6
  43. package/dist/runners/antigravity/antigravity-runner.js +2 -1
  44. package/dist/runners/antigravity/antigravity-runner.js.map +1 -1
  45. package/dist/runners/antigravity/antigravity-session.d.ts +19 -2
  46. package/dist/runners/antigravity/antigravity-session.js +167 -95
  47. package/dist/runners/antigravity/antigravity-session.js.map +1 -1
  48. package/dist/runners/antigravity/antigravity-skill-catalog.d.ts +2 -2
  49. package/dist/runners/antigravity/antigravity-skill-catalog.js +6 -4
  50. package/dist/runners/antigravity/antigravity-skill-catalog.js.map +1 -1
  51. package/dist/runners/antigravity/antigravity-ui-mapper.d.ts +5 -3
  52. package/dist/runners/antigravity/antigravity-ui-mapper.js +27 -12
  53. package/dist/runners/antigravity/antigravity-ui-mapper.js.map +1 -1
  54. package/dist/runners/antigravity/ask-question.d.ts +9 -0
  55. package/dist/runners/antigravity/ask-question.js +37 -0
  56. package/dist/runners/antigravity/ask-question.js.map +1 -0
  57. package/dist/runners/antigravity/browser-sign-in.d.ts +8 -2
  58. package/dist/runners/antigravity/browser-sign-in.js +92 -122
  59. package/dist/runners/antigravity/browser-sign-in.js.map +1 -1
  60. package/dist/runners/antigravity/definition.js +3 -2
  61. package/dist/runners/antigravity/definition.js.map +1 -1
  62. package/dist/runners/antigravity/detection.d.ts +6 -4
  63. package/dist/runners/antigravity/detection.js +7 -4
  64. package/dist/runners/antigravity/detection.js.map +1 -1
  65. package/dist/runners/antigravity/display.d.ts +3 -3
  66. package/dist/runners/antigravity/display.js +2 -2
  67. package/dist/runners/antigravity/display.js.map +1 -1
  68. package/dist/runners/antigravity/executable.d.ts +20 -0
  69. package/dist/runners/antigravity/executable.js +97 -0
  70. package/dist/runners/antigravity/executable.js.map +1 -0
  71. package/dist/runners/antigravity/facts.d.ts +4 -4
  72. package/dist/runners/antigravity/facts.js +10 -5
  73. package/dist/runners/antigravity/facts.js.map +1 -1
  74. package/dist/runners/antigravity/launch-args.d.ts +4 -2
  75. package/dist/runners/antigravity/launch-args.js +5 -4
  76. package/dist/runners/antigravity/launch-args.js.map +1 -1
  77. package/dist/runners/antigravity/login-probe.d.ts +6 -1
  78. package/dist/runners/antigravity/login-probe.js +34 -19
  79. package/dist/runners/antigravity/login-probe.js.map +1 -1
  80. package/dist/runners/antigravity/login.d.ts +1 -1
  81. package/dist/runners/antigravity/login.js +1 -1
  82. package/dist/runners/antigravity/login.js.map +1 -1
  83. package/dist/runners/antigravity/mock.d.ts +20 -13
  84. package/dist/runners/antigravity/mock.js +17 -15
  85. package/dist/runners/antigravity/mock.js.map +1 -1
  86. package/dist/runners/antigravity/native-diagnostics.d.ts +3 -2
  87. package/dist/runners/antigravity/native-diagnostics.js +9 -6
  88. package/dist/runners/antigravity/native-diagnostics.js.map +1 -1
  89. package/dist/runners/antigravity/permissions.d.ts +2 -3
  90. package/dist/runners/antigravity/permissions.js +1 -32
  91. package/dist/runners/antigravity/permissions.js.map +1 -1
  92. package/dist/runners/antigravity/probe-process.d.ts +4 -1
  93. package/dist/runners/antigravity/probe-process.js +21 -5
  94. package/dist/runners/antigravity/probe-process.js.map +1 -1
  95. package/dist/runners/antigravity/runtime-env.d.ts +4 -3
  96. package/dist/runners/antigravity/runtime-env.js +14 -26
  97. package/dist/runners/antigravity/runtime-env.js.map +1 -1
  98. package/dist/runners/antigravity/spec-support.js +7 -7
  99. package/dist/runners/antigravity/spec-support.js.map +1 -1
  100. package/dist/runners/antigravity/tool-normalization.d.ts +6 -2
  101. package/dist/runners/antigravity/tool-normalization.js +23 -12
  102. package/dist/runners/antigravity/tool-normalization.js.map +1 -1
  103. package/dist/runners/antigravity/wire-updates.d.ts +14 -1
  104. package/dist/runners/antigravity/wire-updates.js +21 -6
  105. package/dist/runners/antigravity/wire-updates.js.map +1 -1
  106. package/dist/server/live-routes.d.ts +6 -6
  107. package/dist/server/provider-sign-in-routes.js +1 -1
  108. package/dist/server/provider-sign-in-routes.js.map +1 -1
  109. package/dist/server/server.d.ts +238 -238
  110. package/package.json +4 -4
  111. package/scripts/mock-acp-login.mjs +20 -0
  112. package/scripts/mock-acp.mjs +120 -80
  113. package/scripts/mock-antigravity-auth.mjs +39 -37
  114. package/web/dist/assets/{activity-motion-BSsgWgJe.js → activity-motion-CMaQA87f.js} +1 -1
  115. package/web/dist/assets/{activity-route-q9sOR4Wb.js → activity-route-CTJT4zv2.js} +1 -1
  116. package/web/dist/assets/{commit-diff-panel-Btiebm6D.js → commit-diff-panel-BoK-qLXZ.js} +1 -1
  117. package/web/dist/assets/{diff-DNIkChMc.js → diff-BHFOGiZQ.js} +2 -2
  118. package/web/dist/assets/{diff-view-jhjgH27W.js → diff-view-BcEpsdxN.js} +1 -1
  119. package/web/dist/assets/{file-preview-De5UjJTG.js → file-preview-DQmUdQku.js} +1 -1
  120. package/web/dist/assets/{git-toolbar-Ol1142ti.js → git-toolbar-CIMGnrx-.js} +1 -1
  121. package/web/dist/assets/{github-BylUlaAL.js → github-DNt7fatG.js} +1 -1
  122. package/web/dist/assets/{global-activity-route-DI3QqvQL.js → global-activity-route-DvJfgzVz.js} +1 -1
  123. package/web/dist/assets/{index-Dbb0-RtK.js → index-Bcs60T3F.js} +4 -4
  124. package/web/dist/assets/{markdown-D3aDM4O5.js → markdown-C78nwKGh.js} +1 -1
  125. package/web/dist/assets/{preview-pane-connected-C-f5rJGZ.js → preview-pane-connected-DAkxP33O.js} +1 -1
  126. package/web/dist/assets/{repo-git-D-j1tyQj.js → repo-git-DTINuV7R.js} +1 -1
  127. package/web/dist/assets/{report-reader-0-k8FTCM.js → report-reader-TsL5jS1q.js} +1 -1
  128. package/web/dist/assets/{reports--2BDXGSj.js → reports-MBONm90i.js} +1 -1
  129. package/web/dist/assets/{run-header-B69_lBSt.js → run-header-BbuegkrJ.js} +1 -1
  130. package/web/dist/assets/{skills-CzyYKL6l.js → skills-Cc2FsHZq.js} +1 -1
  131. package/web/dist/assets/{task-changes-D1Oi0yoX.js → task-changes-Bis3iY6D.js} +1 -1
  132. package/web/dist/assets/{task-commits-DV91fVHF.js → task-commits-CELN07IE.js} +1 -1
  133. package/web/dist/assets/{task-files-_ap-MUjL.js → task-files-Xj9SbIQY.js} +1 -1
  134. package/web/dist/assets/{task-github-item-9oibIBa8.js → task-github-item-8Wi29msX.js} +1 -1
  135. package/web/dist/assets/{task-thread-D8IfseH4.js → task-thread-BpprgiEm.js} +1 -1
  136. package/web/dist/assets/{thread-state-BLS3a1XA.js → thread-state-DjdzGdTP.js} +1 -1
  137. package/web/dist/assets/{use-hand-to-agent-state-DaPTyzCV.js → use-hand-to-agent-state-BrTzbU6r.js} +1 -1
  138. package/web/dist/assets/{workflows-BAIP3wxi.js → workflows-BgbhcFeb.js} +1 -1
  139. package/web/dist/index.html +1 -1
  140. package/dist/runners/antigravity/build-label.d.ts +0 -2
  141. package/dist/runners/antigravity/build-label.js +0 -32
  142. package/dist/runners/antigravity/build-label.js.map +0 -1
  143. package/dist/runners/antigravity/catalog-home.d.ts +0 -2
  144. package/dist/runners/antigravity/catalog-home.js +0 -23
  145. package/dist/runners/antigravity/catalog-home.js.map +0 -1
  146. package/dist/runners/antigravity/stderr.d.ts +0 -2
  147. package/dist/runners/antigravity/stderr.js +0 -15
  148. package/dist/runners/antigravity/stderr.js.map +0 -1
@@ -0,0 +1,20 @@
1
+ /** `--help` names the CLI and its `acp` command; `--version` prints a bare version. The Antigravity
2
+ * IDE launcher and the retired registry server print neither. */
3
+ export declare function antigravityCliOutput(help: string, version: string): boolean;
4
+ /** Each executable is checked once per file identity; a replaced file is checked again. */
5
+ export declare function isAntigravityCli(path: string): boolean;
6
+ /** The first PATH entry that holds the CLI under one of its names. */
7
+ export declare function antigravityOnPath(env?: NodeJS.ProcessEnv): string | undefined;
8
+ /** The managed install's active release. An unreadable install reads as absent, never as a boot failure. */
9
+ export declare function managedAntigravity(): string | undefined;
10
+ /** HSQ_ANTIGRAVITY_BIN, else the managed install, else the CLI on PATH. Undefined: not installed. */
11
+ export declare function antigravityExecutable(env?: NodeJS.ProcessEnv): string | undefined;
12
+ export interface AntigravityLaunch {
13
+ readonly executable: string;
14
+ /** Bind the managed release to the started process, so an update cannot prune it. */
15
+ bindProcess(pid: number): void;
16
+ release(): void;
17
+ }
18
+ /** Resolve for one process. A managed release is pinned before spawn: bind it at once, release after exit. */
19
+ export declare function launchAntigravity(override: string | undefined): AntigravityLaunch | undefined;
20
+ export declare const ANTIGRAVITY_MISSING = "The Antigravity CLI is not installed. Install it from Settings > Accounts > Install CLI, put agy on PATH, or set HSQ_ANTIGRAVITY_BIN.";
@@ -0,0 +1,97 @@
1
+ import { spawnSync } from 'node:child_process';
2
+ import { accessSync, constants, realpathSync, statSync } from 'node:fs';
3
+ import { delimiter, join } from 'node:path';
4
+ import { productEnv } from '../../core/product-env.js';
5
+ import { leaseManagedCli, managedCliExecutable } from '../../managed-install/cli-storage.js';
6
+ import { managedCliHome } from '../../managed-install/runtime-home.js';
7
+ import { ANTIGRAVITY_CLI } from './cli.js';
8
+ /** The names Google's CLI is installed under: `agy` (Windows, symlinks) and `antigravity` (archives). */
9
+ const PATH_NAMES = ['agy', 'antigravity'];
10
+ const source = ANTIGRAVITY_CLI.installSource.managed;
11
+ const identities = new Map();
12
+ /** `--help` names the CLI and its `acp` command; `--version` prints a bare version. The Antigravity
13
+ * IDE launcher and the retired registry server print neither. */
14
+ export function antigravityCliOutput(help, version) {
15
+ return help.startsWith('Usage of antigravity:') && /^\s+acp\s/m.test(help) && /^\d+\.\d+\.\d+$/.test(version.trim());
16
+ }
17
+ /** Each executable is checked once per file identity; a replaced file is checked again. */
18
+ export function isAntigravityCli(path) {
19
+ let identity;
20
+ try {
21
+ const target = realpathSync(path);
22
+ const file = statSync(target, { bigint: true });
23
+ identity = [target, file.dev, file.ino, file.size, file.mtimeNs, file.ctimeNs, file.mode].join(':');
24
+ }
25
+ catch {
26
+ return false;
27
+ }
28
+ const known = identities.get(identity);
29
+ if (known !== undefined)
30
+ return known;
31
+ const run = (args) => spawnSync(path, args, { encoding: 'utf8', timeout: 10_000, maxBuffer: 262_144, windowsHide: true });
32
+ const help = run(['--help']);
33
+ const version = help.error ? undefined : run(['--version']);
34
+ // `--help` exits 0 or 2 by Go's flag package; the text decides.
35
+ const cli = !!version && !version.error && version.status === 0 && antigravityCliOutput(`${help.stdout}${help.stderr}`, version.stdout);
36
+ identities.set(identity, cli);
37
+ return cli;
38
+ }
39
+ function executableFile(path) {
40
+ try {
41
+ if (!statSync(path).isFile())
42
+ return false;
43
+ if (process.platform !== 'win32')
44
+ accessSync(path, constants.X_OK);
45
+ return true;
46
+ }
47
+ catch {
48
+ return false;
49
+ }
50
+ }
51
+ /** The first PATH entry that holds the CLI under one of its names. */
52
+ export function antigravityOnPath(env = process.env) {
53
+ const suffixes = process.platform === 'win32' ? ['.exe', ''] : [''];
54
+ for (const dir of (env.PATH ?? '').split(delimiter).filter(Boolean)) {
55
+ for (const name of PATH_NAMES) {
56
+ for (const suffix of suffixes) {
57
+ const path = join(dir, `${name}${suffix}`);
58
+ if (executableFile(path) && isAntigravityCli(path))
59
+ return path;
60
+ }
61
+ }
62
+ }
63
+ return undefined;
64
+ }
65
+ /** The managed install's active release. An unreadable install reads as absent, never as a boot failure. */
66
+ export function managedAntigravity() {
67
+ const home = managedCliHome();
68
+ if (!home)
69
+ return undefined;
70
+ try {
71
+ return managedCliExecutable(home, 'antigravity', source) ?? undefined;
72
+ }
73
+ catch {
74
+ return undefined;
75
+ }
76
+ }
77
+ /** HSQ_ANTIGRAVITY_BIN, else the managed install, else the CLI on PATH. Undefined: not installed. */
78
+ export function antigravityExecutable(env = process.env) {
79
+ return productEnv('ANTIGRAVITY_BIN', env) ?? managedAntigravity() ?? antigravityOnPath(env);
80
+ }
81
+ const unleased = (executable) => ({ executable, bindProcess() { }, release() { } });
82
+ /** Resolve for one process. A managed release is pinned before spawn: bind it at once, release after exit. */
83
+ export function launchAntigravity(override) {
84
+ if (override)
85
+ return unleased(override);
86
+ const home = managedCliHome();
87
+ try {
88
+ const lease = home ? leaseManagedCli(home, 'antigravity', source) : null;
89
+ if (lease)
90
+ return lease;
91
+ }
92
+ catch { /* An unreadable managed install falls through to PATH. */ }
93
+ const found = antigravityOnPath();
94
+ return found ? unleased(found) : undefined;
95
+ }
96
+ export const ANTIGRAVITY_MISSING = 'The Antigravity CLI is not installed. Install it from Settings > Accounts > Install CLI, put agy on PATH, or set HSQ_ANTIGRAVITY_BIN.';
97
+ //# sourceMappingURL=executable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executable.js","sourceRoot":"","sources":["../../../src/runners/antigravity/executable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC7F,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,yGAAyG;AACzG,MAAM,UAAU,GAAG,CAAC,KAAK,EAAE,aAAa,CAAU,CAAC;AACnD,MAAM,MAAM,GAAG,eAAe,CAAC,aAAa,CAAC,OAAO,CAAC;AACrD,MAAM,UAAU,GAAG,IAAI,GAAG,EAAmB,CAAC;AAE9C;kEACkE;AAClE,MAAM,UAAU,oBAAoB,CAAC,IA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E,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAClC,OAAO,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC7C,CAAC;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG,uIAAuI,CAAC"}
@@ -5,21 +5,21 @@ export declare const ANTIGRAVITY_FACTS: {
5
5
  readonly skillsSeenBySession: 'live';
6
6
  readonly transport: 'stdio';
7
7
  readonly sessionIdSource: 'native';
8
- readonly systemPromptOnResume: 'resent';
8
+ readonly systemPromptOnResume: 'in-thread';
9
9
  readonly inputDelivery: {
10
10
  readonly mode: 'steer';
11
11
  readonly consumption: 'unobservable';
12
12
  readonly acknowledgement: 'response';
13
- readonly humanInputAtTurnEnd: 'held-when-late';
13
+ readonly humanInputAtTurnEnd: 'never-held';
14
14
  readonly via: 'second session/prompt while busy';
15
15
  };
16
- readonly nativePermission: 'in-turn';
16
+ readonly nativePermission: 'after-turn';
17
17
  readonly nativeAsk: 'answerable';
18
18
  readonly nativeSubagents: 'turn-held';
19
19
  readonly childWork: 'none';
20
20
  readonly hookEvents: 'none';
21
21
  readonly humanPromptHold: 'acknowledgement';
22
- readonly nativeTimerTool: null;
22
+ readonly nativeTimerTool: 'schedule';
23
23
  readonly costReport: 'per-turn';
24
24
  readonly claudeModelAliases: false;
25
25
  readonly turnStart: 'on-write';
@@ -1,12 +1,17 @@
1
- // Live Google antigravity-acp 1.5.0 probes: hearsay-tools/squawk#4000.
1
+ // Live Google Antigravity CLI 1.5.14 probes (hearsay-tools/squawk#4058, hearsay-tools/squawk#4060);
2
+ // docs/runners/antigravity-wire.md names the fixture behind each value.
3
+ // systemPromptOnResume: the CLI saves the session/new system prompt with the session and appends
4
+ // a resent one, so a resume never resends it; it prepends it to the opening turn, as Codex does.
5
+ // humanInputAtTurnEnd: a steer sent while the final text streamed was read in the same turn.
6
+ // nativePermission: a background command or timer wakes the idle session, which then asks.
2
7
  export const ANTIGRAVITY_FACTS = {
3
8
  shutdownDescendants: 'observed-tree',
4
9
  skillTriggerMidTurn: true, skillUnknownName: 'silent', skillsSeenBySession: 'live',
5
- transport: 'stdio', sessionIdSource: 'native', systemPromptOnResume: 'resent',
10
+ transport: 'stdio', sessionIdSource: 'native', systemPromptOnResume: 'in-thread',
6
11
  inputDelivery: { mode: 'steer', consumption: 'unobservable', acknowledgement: 'response',
7
- humanInputAtTurnEnd: 'held-when-late', via: 'second session/prompt while busy' },
8
- nativePermission: 'in-turn', nativeAsk: 'answerable', nativeSubagents: 'turn-held',
12
+ humanInputAtTurnEnd: 'never-held', via: 'second session/prompt while busy' },
13
+ nativePermission: 'after-turn', nativeAsk: 'answerable', nativeSubagents: 'turn-held',
9
14
  childWork: 'none', hookEvents: 'none', humanPromptHold: 'acknowledgement',
10
- nativeTimerTool: null, costReport: 'per-turn', claudeModelAliases: false, turnStart: 'on-write',
15
+ nativeTimerTool: 'schedule', costReport: 'per-turn', claudeModelAliases: false, turnStart: 'on-write',
11
16
  };
12
17
  //# sourceMappingURL=facts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"facts.js","sourceRoot":"","sources":["../../../src/runners/antigravity/facts.ts"],"names":[],"mappings":"AACA,uEAAuE;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,mBAAmB,EAAE,eAAe;IACpC,mBAAmB,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM;IAClF,SAAS,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,oBAAoB,EAAE,QAAQ;IAC7E,aAAa,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU;QACtF,mBAAmB,EAAE,gBAAgB,EAAE,GAAG,EAAE,kCAAkC,EAAE;IAClF,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,eAAe,EAAE,WAAW;IAClF,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,eAAe,EAAE,iBAAiB;IACzE,eAAe,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,kBAAkB,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU;CACjE,CAAC"}
1
+ {"version":3,"file":"facts.js","sourceRoot":"","sources":["../../../src/runners/antigravity/facts.ts"],"names":[],"mappings":"AACA,oGAAoG;AACpG,wEAAwE;AACxE,iGAAiG;AACjG,iGAAiG;AACjG,6FAA6F;AAC7F,2FAA2F;AAC3F,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,mBAAmB,EAAE,eAAe;IACpC,mBAAmB,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM;IAClF,SAAS,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,oBAAoB,EAAE,WAAW;IAChF,aAAa,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU;QACtF,mBAAmB,EAAE,YAAY,EAAE,GAAG,EAAE,kCAAkC,EAAE;IAC9E,gBAAgB,EAAE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,eAAe,EAAE,WAAW;IACrF,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,eAAe,EAAE,iBAAiB;IACzE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,kBAAkB,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU;CACvE,CAAC"}
@@ -1,2 +1,4 @@
1
- /** The ACP registry specifies --uid= only for Linux archives. */
2
- export declare function antigravityLaunchArgs(platform?: NodeJS.Platform, env?: NodeJS.ProcessEnv): string[];
1
+ /** The CLI's own app data folder name, so the default account shares the terminal CLI's skills and sign-in. */
2
+ export declare const ANTIGRAVITY_APP_DATA_DIR = "antigravity-cli";
3
+ /** The CLI ignores GEMINI_HOME: the account folder is passed by flag, and the app data folder must be relative. */
4
+ export declare function antigravityLaunchArgs(geminiDir: string, extra?: readonly string[]): string[];
@@ -1,6 +1,7 @@
1
- import { productEnv } from '../../core/product-env.js';
2
- /** The ACP registry specifies --uid= only for Linux archives. */
3
- export function antigravityLaunchArgs(platform = process.platform, env = process.env) {
4
- return [...(platform === 'linux' ? ['--uid='] : []), ...(productEnv('ANTIGRAVITY_DEBUG', env) === '1' ? ['--debug'] : [])];
1
+ /** The CLI's own app data folder name, so the default account shares the terminal CLI's skills and sign-in. */
2
+ export const ANTIGRAVITY_APP_DATA_DIR = 'antigravity-cli';
3
+ /** The CLI ignores GEMINI_HOME: the account folder is passed by flag, and the app data folder must be relative. */
4
+ export function antigravityLaunchArgs(geminiDir, extra = []) {
5
+ return ['acp', '--gemini-dir', geminiDir, '--app-data-dir', ANTIGRAVITY_APP_DATA_DIR, ...extra];
5
6
  }
6
7
  //# sourceMappingURL=launch-args.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"launch-args.js","sourceRoot":"","sources":["../../../src/runners/antigravity/launch-args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,iEAAiE;AACjE,MAAM,UAAU,qBAAqB,CAAC,QAAQ,GAAoB,OAAO,CAAC,QAAQ,EAAE,GAAG,GAAsB,OAAO,CAAC,GAAG;IACtH,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,mBAAmB,EAAE,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC7H,CAAC"}
1
+ {"version":3,"file":"launch-args.js","sourceRoot":"","sources":["../../../src/runners/antigravity/launch-args.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAC/G,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;AAE1D,mHAAmH;AACnH,MAAM,UAAU,qBAAqB,CAAC,SAAiB,EAAE,KAAK,GAAsB,EAAE;IACpF,OAAO,CAAC,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,GAAG,KAAK,CAAC,CAAC;AAClG,CAAC"}
@@ -1,4 +1,9 @@
1
1
  import type { RunnerLoginStatus } from '../../core/runner-definition.ts';
2
- export declare function storedPersonalOAuth(env: NodeJS.ProcessEnv): Promise<boolean>;
2
+ /**
3
+ * Whether the account holds a Google sign-in. Where the CLI stores it is not recorded, so the CLI
4
+ * answers: with SSH_CONNECTION set it refuses `oauth-personal` at once when no sign-in is stored,
5
+ * and opens no browser (antigravity-wire.md, CLI sign-in). Credential contents stay unread.
6
+ */
7
+ export declare function antigravityPersonalSignIn(env: NodeJS.ProcessEnv): Promise<boolean>;
3
8
  /** Presence is the same assurance as the other CLIs' stored-login status, not key validation. */
4
9
  export declare const antigravityLogin: RunnerLoginStatus;
@@ -1,32 +1,47 @@
1
- import { readFile, stat } from 'node:fs/promises';
2
- import { join } from 'node:path';
3
- import { z } from 'zod';
4
- import { agentHomeDir } from '../../paths.js';
5
- const settingsSchema = z.object({ auth: z.object({ type: z.string().min(1) }) });
6
- export async function storedPersonalOAuth(env) {
7
- const home = agentHomeDir('antigravity', env);
8
- const settings = settingsSchema.safeParse(JSON.parse(await readFile(join(home, 'antigravity-acp/settings.json'), 'utf8')));
9
- if (!settings.success || settings.data.auth.type !== 'oauth-personal')
10
- return false;
11
- // Credential contents stay unread. File storage is enabled for every managed session.
12
- return (await stat(join(home, 'antigravity-acp/acp_token.json'))).isFile();
1
+ import { productEnv } from '../../core/product-env.js';
2
+ import { AcpRpcError } from '../acp/transport.js';
3
+ import { AntigravityProbe } from './probe-process.js';
4
+ const VERSION = /^\d+\.\d+\.\d+$/;
5
+ /**
6
+ * Whether the account holds a Google sign-in. Where the CLI stores it is not recorded, so the CLI
7
+ * answers: with SSH_CONNECTION set it refuses `oauth-personal` at once when no sign-in is stored,
8
+ * and opens no browser (antigravity-wire.md, CLI sign-in). Credential contents stay unread.
9
+ */
10
+ export async function antigravityPersonalSignIn(env) {
11
+ const { GEMINI_HOME, HOME, USERPROFILE, XDG_CONFIG_HOME } = env;
12
+ const account = Object.fromEntries(Object.entries({ GEMINI_HOME, HOME, USERPROFILE, XDG_CONFIG_HOME }).flatMap(([key, value]) => value ? [[key, value]] : []));
13
+ const probe = new AntigravityProbe(productEnv('ANTIGRAVITY_BIN', env), { ...account, BROWSER: '/bin/false' }, 15_000);
14
+ try {
15
+ await probe.acp.initialize();
16
+ await probe.acp.authenticate('oauth-personal');
17
+ return true;
18
+ }
19
+ catch (error) {
20
+ if (error instanceof AcpRpcError)
21
+ return false;
22
+ throw error;
23
+ }
24
+ finally {
25
+ await probe.close();
26
+ }
13
27
  }
28
+ const hasKey = (env) => !!(env.GEMINI_API_KEY || env.GOOGLE_API_KEY);
14
29
  /** Presence is the same assurance as the other CLIs' stored-login status, not key validation. */
15
30
  export const antigravityLogin = {
16
- requiresAccountHome: env => !(env.GEMINI_API_KEY || env.GOOGLE_API_KEY),
17
- parse: result => result.exitCode === 0 && result.stdout.includes('antigravity_extensions/acp_server') ? 'disconnected' : null,
31
+ requiresAccountHome: env => !hasKey(env),
32
+ parse: result => result.exitCode === 0 && VERSION.test(result.stdout.trim()) ? 'disconnected' : null,
18
33
  async inspect(result, env) {
19
- if (result.exitCode !== 0 || !result.stdout.includes('antigravity_extensions/acp_server'))
34
+ if (result.exitCode !== 0 || !VERSION.test(result.stdout.trim()))
20
35
  return null;
21
- if (env.GEMINI_API_KEY || env.GOOGLE_API_KEY)
36
+ if (hasKey(env))
22
37
  return 'connected';
23
- return await storedPersonalOAuth(env).catch(() => false) ? 'connected' : 'disconnected';
38
+ return await antigravityPersonalSignIn(env).catch(() => false) ? 'connected' : 'disconnected';
24
39
  },
25
40
  hint(env, status) {
26
- if (status === 'connected' && (env.GEMINI_API_KEY || env.GOOGLE_API_KEY)) {
41
+ if (status === 'connected' && hasKey(env)) {
27
42
  return `Uses ${env.GEMINI_API_KEY ? 'GEMINI_API_KEY' : 'GOOGLE_API_KEY'} from the Squawk host environment; no account folder is required.`;
28
43
  }
29
- return status === 'connected' ? 'Uses this account’s Antigravity personal sign-in.'
44
+ return status === 'connected' ? 'Uses this account’s Google sign-in.'
30
45
  : 'Connect with a personal Google account, or set GEMINI_API_KEY on the Squawk host. Business and agent-platform sign-in are not supported.';
31
46
  },
32
47
  };
@@ -1 +1 @@
1
- {"version":3,"file":"login-probe.js","sourceRoot":"","sources":["../../../src/runners/antigravity/login-probe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AACjF,MAAM,CAAC,KAAK,UAAU,mBAAmB,CAAC,GAAsB;IAC9D,MAAM,IAAI,GAAG,YAAY,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC;IAC9C,MAAM,QAAQ,GAAG,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,+BAA+B,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IAC3H,IAAI,CAAC,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,gB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AC,qCAAqC;YACnE,CAAC,CAAC,0IAA0I,CAAC;IACjJ,CAAC;CACF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export declare const ANTIGRAVITY_LOGIN: {
2
2
  readonly statusArgs: readonly ["--version"];
3
3
  readonly loginArgs: null;
4
- readonly installHint: 'Install the Antigravity ACP registry archive. Set GEMINI_API_KEY or GOOGLE_API_KEY, or sign in to Antigravity under GEMINI_HOME (default ~/.gemini).';
4
+ readonly installHint: 'Install the Antigravity CLI from Settings > Accounts > Install CLI, or put agy on PATH. Then set GEMINI_API_KEY or GOOGLE_API_KEY, or connect a personal Google account.';
5
5
  };
@@ -1,5 +1,5 @@
1
1
  export const ANTIGRAVITY_LOGIN = {
2
2
  statusArgs: ['--version'], loginArgs: null,
3
- installHint: 'Install the Antigravity ACP registry archive. Set GEMINI_API_KEY or GOOGLE_API_KEY, or sign in to Antigravity under GEMINI_HOME (default ~/.gemini).',
3
+ installHint: 'Install the Antigravity CLI from Settings > Accounts > Install CLI, or put agy on PATH. Then set GEMINI_API_KEY or GOOGLE_API_KEY, or connect a personal Google account.',
4
4
  };
5
5
  //# sourceMappingURL=login.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"login.js","sourceRoot":"","sources":["../../../src/runners/antigravity/login.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,SAAS,EAAE,IAAI;IAC1C,WAAW,EAAE,sJAAsJ;CACjI,CAAC"}
1
+ {"version":3,"file":"login.js","sourceRoot":"","sources":["../../../src/runners/antigravity/login.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,SAAS,EAAE,IAAI;IAC1C,WAAW,EAAE,0KAA0K;CACrJ,CAAC"}
@@ -47,12 +47,13 @@ export declare const ANTIGRAVITY_MOCK: {
47
47
  readonly 'approval-turn-end': 'mock:approval-turn-end';
48
48
  readonly 'ask-bad': 'mock:ask-bad';
49
49
  readonly 'ask-resume': 'mock:ask-native mock:resume-cezar-done';
50
+ readonly 'permission-late': 'mock:permission-late';
50
51
  readonly 'permission-default': 'mock:permission-default';
51
52
  readonly 'approval-malformed': 'mock:approval-malformed';
52
53
  readonly 'provider-unavailable': 'mock:provider-unavailable';
53
54
  };
54
55
  readonly askResumeCases: readonly [{
55
- readonly kind: 'interaction';
56
+ readonly kind: 'ask_question';
56
57
  readonly scenario: 'ask-resume';
57
58
  readonly answer: 'Question: Vitest';
58
59
  readonly header: 'Question';
@@ -64,6 +65,12 @@ export declare const ANTIGRAVITY_MOCK: {
64
65
  readonly 'approval-turn-end': {
65
66
  readonly HSQ_APPROVAL_GATE: '1';
66
67
  };
68
+ readonly 'permission-late': {
69
+ readonly HSQ_APPROVAL_GATE: '1';
70
+ };
71
+ readonly 'cezar-done': {
72
+ readonly HSQ_APPROVAL_GATE: '1';
73
+ };
67
74
  };
68
75
  readonly approvalDecisions: readonly [{
69
76
  readonly pick: 'allow';
@@ -75,51 +82,51 @@ export declare const ANTIGRAVITY_MOCK: {
75
82
  readonly parityExemptions: {
76
83
  readonly A13: {
77
84
  readonly kind: 'capability-absent';
78
- readonly reason: 'The native prompt response is also turn completion, so no independent ACK can remain pending after the carrying turn and cause an idle refusal on a fresh run. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.';
85
+ readonly reason: 'The native prompt response is also turn completion, so no independent ACK can remain pending after the carrying turn and cause an idle refusal on a fresh run. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.';
79
86
  };
80
87
  readonly A14: {
81
88
  readonly kind: 'capability-absent';
82
- readonly reason: 'The native prompt response is also turn completion, so no independent ACK can remain pending after the carrying turn and cause an idle refusal on Continue. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.';
89
+ readonly reason: 'The native prompt response is also turn completion, so no independent ACK can remain pending after the carrying turn and cause an idle refusal on Continue. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.';
83
90
  };
84
91
  readonly A15: {
85
92
  readonly kind: 'capability-absent';
86
- readonly reason: 'The native prompt response is also turn completion, so an unanswered independent ACK cannot leave a completed nudge turn behind it to arm the idle reply bound. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.';
93
+ readonly reason: 'The native prompt response is also turn completion, so an unanswered independent ACK cannot leave a completed nudge turn behind it to arm the idle reply bound. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.';
87
94
  };
88
95
  readonly U20h: {
89
96
  readonly kind: 'capability-absent';
90
- readonly reason: 'The native prompt response is also turn completion, so an independently acknowledged but unanswered refusal cannot park before its turn ends and start the next human cycle. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.';
97
+ readonly reason: 'The native prompt response is also turn completion, so an independently acknowledged but unanswered refusal cannot park before its turn ends and start the next human cycle. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.';
91
98
  };
92
99
  readonly U22s: {
93
100
  readonly kind: 'capability-absent';
94
- readonly reason: 'The native prompt response is also turn completion, so the silent refusal variant cannot independently acknowledge a nudge without completing its turn. Closing-session delivery and restart variants remain live in U22k/U22r. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.';
101
+ readonly reason: 'The native prompt response is also turn completion, so the silent refusal variant cannot independently acknowledge a nudge without completing its turn. Closing-session delivery and restart variants remain live in U22k/U22r. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.';
95
102
  };
96
103
  readonly U27: {
97
104
  readonly kind: 'capability-absent';
98
- readonly reason: 'The native prompt response is also turn completion, so no independent ACK can arrive after the carrying turn completes. Fresh and Continue entries without this late-ACK ordering remain live. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.';
105
+ readonly reason: 'The native prompt response is also turn completion, so no independent ACK can arrive after the carrying turn completes. Fresh and Continue entries without this late-ACK ordering remain live. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.';
99
106
  };
100
107
  readonly N8: {
101
108
  readonly kind: 'scenario-unconstructible';
102
- readonly reason: 'An idle ACP session/prompt starts a normalized turn on write and acknowledges only at completion; no idle ACK without turn-start exists (recording prompt-text-usage, docs/runners/antigravity-wire.md).';
109
+ readonly reason: 'An idle ACP session/prompt starts a normalized turn on write and acknowledges only at completion; no idle ACK without turn-start exists (recording cli-prompt-command, docs/runners/antigravity-wire.md).';
103
110
  };
104
111
  readonly F9: {
105
112
  readonly kind: 'scenario-unconstructible';
106
- readonly reason: 'ACP idle session/prompt response completes the turn; acknowledgement and turn completion cannot be separated (recording prompt-text-usage, docs/runners/antigravity-wire.md).';
113
+ readonly reason: 'ACP idle session/prompt response completes the turn; acknowledgement and turn completion cannot be separated (recording cli-prompt-command, docs/runners/antigravity-wire.md).';
107
114
  };
108
115
  readonly F8: {
109
116
  readonly kind: 'scenario-unconstructible';
110
- readonly reason: 'ACP idle session/prompt response completes its turn; it cannot acknowledge a nudge without completing a turn (recording prompt-text-usage, docs/runners/antigravity-wire.md).';
117
+ readonly reason: 'ACP idle session/prompt response completes its turn; it cannot acknowledge a nudge without completing a turn (recording cli-prompt-command, docs/runners/antigravity-wire.md).';
111
118
  };
112
119
  readonly UI1: {
113
120
  readonly kind: 'capability-absent';
114
- readonly reason: 'Antigravity ACP 1.5.0 sends no plan update; /plan writes an artifact instead (docs/runners/antigravity-wire.md, Gaps that need a parity exemption).';
121
+ readonly reason: 'The Antigravity CLI sends no ACP plan update; plan is a mode and a command that write an artifact (docs/runners/antigravity-wire.md, Parity exemptions).';
115
122
  };
116
123
  readonly D1: {
117
124
  readonly kind: 'capability-absent';
118
- readonly reason: 'Antigravity ACP 1.5.0 has no native cross-session messaging tool to disable.';
125
+ readonly reason: 'The Antigravity CLI send_message tool reaches only the session\'s own subagents; there is no tool that messages another session to disable (docs/runners/antigravity-wire.md, Parity exemptions).';
119
126
  };
120
127
  readonly D3: {
121
128
  readonly kind: 'capability-absent';
122
- readonly reason: 'Antigravity ACP 1.5.0 has no native cross-session messaging tool.';
129
+ readonly reason: 'The Antigravity CLI send_message tool reaches only the session\'s own subagents; it has no tool that messages another session (docs/runners/antigravity-wire.md, Parity exemptions).';
123
130
  };
124
131
  readonly P3: {
125
132
  readonly kind: 'scenario-unconstructible';
@@ -4,23 +4,25 @@ export const ANTIGRAVITY_MOCK = {
4
4
  nativeAskScenario: 'ask-resume',
5
5
  script: 'mock-acp.mjs', toolGrantObservation: 'permission-policy', promptResponseEndsTurn: true, defaultApprovalEcho: 'Approval response: allow', malformedApprovalEcho: 'Malformed permission refused', binEnv: 'HSQ_ANTIGRAVITY_BIN',
6
6
  scenarios: { ...commonScenarios, ...STDIO_ASK_MOCK_SCENARIOS, ...PROVIDER_ERROR_MOCK_SCENARIOS,
7
- approval: 'mock:approval', 'approval-turn-end': 'mock:approval-turn-end', 'ask-bad': 'mock:ask-bad', 'ask-resume': 'mock:ask-native mock:resume-cezar-done', 'permission-default': 'mock:permission-default', 'approval-malformed': 'mock:approval-malformed', 'provider-unavailable': 'mock:provider-unavailable' },
8
- askResumeCases: [{ kind: 'interaction', scenario: 'ask-resume', answer: 'Question: Vitest', header: 'Question' }],
9
- scenarioEnv: { approval: { HSQ_APPROVAL_GATE: '1' }, 'approval-turn-end': { HSQ_APPROVAL_GATE: '1' } },
7
+ approval: 'mock:approval', 'approval-turn-end': 'mock:approval-turn-end', 'ask-bad': 'mock:ask-bad', 'ask-resume': 'mock:ask-native mock:resume-cezar-done', 'permission-late': 'mock:permission-late', 'permission-default': 'mock:permission-default', 'approval-malformed': 'mock:approval-malformed', 'provider-unavailable': 'mock:provider-unavailable' },
8
+ askResumeCases: [{ kind: 'ask_question', scenario: 'ask-resume', answer: 'Question: Vitest', header: 'Question' }],
9
+ scenarioEnv: { approval: { HSQ_APPROVAL_GATE: '1' }, 'approval-turn-end': { HSQ_APPROVAL_GATE: '1' }, 'permission-late': { HSQ_APPROVAL_GATE: '1' },
10
+ // P8's Continue variant sends permission-late to a run started as cezar-done: its late request needs the same gate.
11
+ 'cezar-done': { HSQ_APPROVAL_GATE: '1' } },
10
12
  approvalDecisions: [{ pick: 'allow', echo: 'Approval response: allow' }, { pick: 'deny', echo: 'Approval response: deny' }],
11
13
  parityExemptions: {
12
- A13: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so no independent ACK can remain pending after the carrying turn and cause an idle refusal on a fresh run. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.' },
13
- A14: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so no independent ACK can remain pending after the carrying turn and cause an idle refusal on Continue. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.' },
14
- A15: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so an unanswered independent ACK cannot leave a completed nudge turn behind it to arm the idle reply bound. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.' },
15
- U20h: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so an independently acknowledged but unanswered refusal cannot park before its turn ends and start the next human cycle. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.' },
16
- U22s: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so the silent refusal variant cannot independently acknowledge a nudge without completing its turn. Closing-session delivery and restart variants remain live in U22k/U22r. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.' },
17
- U27: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so no independent ACK can arrive after the carrying turn completes. Fresh and Continue entries without this late-ACK ordering remain live. Evidence: __fixtures__/prompt-text-usage.ndjson and docs/runners/antigravity-wire.md.' },
18
- N8: { kind: 'scenario-unconstructible', reason: 'An idle ACP session/prompt starts a normalized turn on write and acknowledges only at completion; no idle ACK without turn-start exists (recording prompt-text-usage, docs/runners/antigravity-wire.md).' },
19
- F9: { kind: 'scenario-unconstructible', reason: 'ACP idle session/prompt response completes the turn; acknowledgement and turn completion cannot be separated (recording prompt-text-usage, docs/runners/antigravity-wire.md).' },
20
- F8: { kind: 'scenario-unconstructible', reason: 'ACP idle session/prompt response completes its turn; it cannot acknowledge a nudge without completing a turn (recording prompt-text-usage, docs/runners/antigravity-wire.md).' },
21
- UI1: { kind: 'capability-absent', reason: 'Antigravity ACP 1.5.0 sends no plan update; /plan writes an artifact instead (docs/runners/antigravity-wire.md, Gaps that need a parity exemption).' },
22
- D1: { kind: 'capability-absent', reason: 'Antigravity ACP 1.5.0 has no native cross-session messaging tool to disable.' },
23
- D3: { kind: 'capability-absent', reason: 'Antigravity ACP 1.5.0 has no native cross-session messaging tool.' },
14
+ A13: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so no independent ACK can remain pending after the carrying turn and cause an idle refusal on a fresh run. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.' },
15
+ A14: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so no independent ACK can remain pending after the carrying turn and cause an idle refusal on Continue. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.' },
16
+ A15: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so an unanswered independent ACK cannot leave a completed nudge turn behind it to arm the idle reply bound. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.' },
17
+ U20h: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so an independently acknowledged but unanswered refusal cannot park before its turn ends and start the next human cycle. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.' },
18
+ U22s: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so the silent refusal variant cannot independently acknowledge a nudge without completing its turn. Closing-session delivery and restart variants remain live in U22k/U22r. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.' },
19
+ U27: { kind: 'capability-absent', reason: 'The native prompt response is also turn completion, so no independent ACK can arrive after the carrying turn completes. Fresh and Continue entries without this late-ACK ordering remain live. Evidence: __fixtures__/cli-prompt-command.ndjson and docs/runners/antigravity-wire.md.' },
20
+ N8: { kind: 'scenario-unconstructible', reason: 'An idle ACP session/prompt starts a normalized turn on write and acknowledges only at completion; no idle ACK without turn-start exists (recording cli-prompt-command, docs/runners/antigravity-wire.md).' },
21
+ F9: { kind: 'scenario-unconstructible', reason: 'ACP idle session/prompt response completes the turn; acknowledgement and turn completion cannot be separated (recording cli-prompt-command, docs/runners/antigravity-wire.md).' },
22
+ F8: { kind: 'scenario-unconstructible', reason: 'ACP idle session/prompt response completes its turn; it cannot acknowledge a nudge without completing a turn (recording cli-prompt-command, docs/runners/antigravity-wire.md).' },
23
+ UI1: { kind: 'capability-absent', reason: 'The Antigravity CLI sends no ACP plan update; plan is a mode and a command that write an artifact (docs/runners/antigravity-wire.md, Parity exemptions).' },
24
+ D1: { kind: 'capability-absent', reason: 'The Antigravity CLI send_message tool reaches only the session\'s own subagents; there is no tool that messages another session to disable (docs/runners/antigravity-wire.md, Parity exemptions).' },
25
+ D3: { kind: 'capability-absent', reason: 'The Antigravity CLI send_message tool reaches only the session\'s own subagents; it has no tool that messages another session (docs/runners/antigravity-wire.md, Parity exemptions).' },
24
26
  P3: { kind: 'scenario-unconstructible', reason: 'ACP has no provider notification that resolves its own pending permission.' },
25
27
  P5: { kind: 'scenario-unconstructible', reason: 'ACP JSON-RPC has no response to a permission response that can reject the reply.' },
26
28
  P7: { kind: 'scenario-unconstructible', reason: 'ACP default mode permission policy has no asynchronous configuration classification window.' },
@@ -1 +1 @@
1
- {"version":3,"file":"mock.js","sourceRoot":"","sources":["../../../src/runners/antigravity/mock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACpH,MAAM,EAAE,sBAAsB,EAAE,e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,EAAE;KAChK;CAC4B,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export declare function redactAntigravityDiagnostics(value: string, env: NodeJS.ProcessEnv): string;
2
- /** Preserve bounded native evidence in the server log before its private TMPDIR is removed. */
3
- export declare function logAntigravityFailure(temp: string, context: string, cause: unknown, env: NodeJS.ProcessEnv, stderr?: string): Promise<void>;
2
+ /** Preserve bounded native evidence in the server log. The CLI writes one log per process under
3
+ * `<gemini-dir>/<app-data-dir>/log/acp-server-<time>-<pid>.log`. */
4
+ export declare function logAntigravityFailure(geminiDir: string, pid: number | undefined, context: string, cause: unknown, env: NodeJS.ProcessEnv, stderr?: string): Promise<void>;
@@ -4,6 +4,7 @@ import { join } from 'node:path';
4
4
  import { inspect } from 'node:util';
5
5
  import { redactBrowserSignInDetails } from '../../core/browser-sign-in-error.js';
6
6
  import { collectSecretValues, redactSecrets } from '../../core/secret-redaction.js';
7
+ import { ANTIGRAVITY_APP_DATA_DIR } from './launch-args.js';
7
8
  const MAX_FILES = 4;
8
9
  const TAIL_BYTES = 16_384;
9
10
  export function redactAntigravityDiagnostics(value, env) {
@@ -33,8 +34,9 @@ async function nativeLogTail(path) {
33
34
  await file.close();
34
35
  }
35
36
  }
36
- /** Preserve bounded native evidence in the server log before its private TMPDIR is removed. */
37
- export async function logAntigravityFailure(temp, context, cause, env, stderr = '') {
37
+ /** Preserve bounded native evidence in the server log. The CLI writes one log per process under
38
+ * `<gemini-dir>/<app-data-dir>/log/acp-server-<time>-<pid>.log`. */
39
+ export async function logAntigravityFailure(geminiDir, pid, context, cause, env, stderr = '') {
38
40
  const safe = (value) => redactAntigravityDiagnostics(value, env);
39
41
  const tails = [];
40
42
  if (stderr) {
@@ -42,16 +44,17 @@ export async function logAntigravityFailure(temp, context, cause, env, stderr =
42
44
  tails.push(safe(`stderr:\n${completeTail(bytes.subarray(-TAIL_BYTES), bytes.length > TAIL_BYTES)}`));
43
45
  }
44
46
  try {
45
- const entries = await readdir(temp, { withFileTypes: true });
46
- const files = entries.filter(entry => entry.isFile() && /\.log\.(?:INFO|ERROR)\./.test(entry.name))
47
+ const dir = join(geminiDir, ANTIGRAVITY_APP_DATA_DIR, 'log');
48
+ const entries = await readdir(dir, { withFileTypes: true });
49
+ const files = entries.filter(entry => entry.isFile() && pid !== undefined && entry.name.startsWith('acp-server-') && entry.name.endsWith(`-${pid}.log`))
47
50
  .sort((a, b) => b.name.localeCompare(a.name)).slice(0, MAX_FILES);
48
51
  for (const entry of files) {
49
- const tail = await nativeLogTail(join(temp, entry.name)).catch(() => '');
52
+ const tail = await nativeLogTail(join(dir, entry.name)).catch(() => '');
50
53
  if (tail)
51
54
  tails.push(safe(`${entry.name}:\n${tail}`));
52
55
  }
53
56
  }
54
57
  catch { /* Missing/unreadable diagnostics must not replace the native failure. */ }
55
- console.error(`Antigravity ${context} failed:`, safe(inspect(cause, { customInspect: false })).slice(0, TAIL_BYTES), tails.length ? tails.join('\n') : 'No native INFO/ERROR log tail available.');
58
+ console.error(`Antigravity ${context} failed:`, safe(inspect(cause, { customInspect: false })).slice(0, TAIL_BYTES), tails.length ? tails.join('\n') : 'No native log tail available.');
56
59
  }
57
60
  //# sourceMappingURL=native-diagnostics.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"native-diagnostics.js","sourceRoot":"","sources":["../../../src/runners/antigravity/native-diagnostics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEpF,MAAM,SAAS,GAAG,CAAC,CAAC;AACpB,MAAM,UAAU,GAAG,MA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CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;QACpE,KAAK,MAAM,KAAK,IAAI,KAAK,EAAE,CAAC;YAC1B,MAAM,IAAI,GAAG,MAAM,aAAa,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;YACxE,IAAI,IAAI;gBAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC,CAAC;QACxD,CAAC;IACH,CAAC;IAAC,MAAM,CAAC,CAAC,yEAAyE,CAAC,CAAC;IACrF,OAAO,CAAC,KAAK,CAAC,eAAe,OAAO,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,EACjH,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC;AACvE,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import type { ToolGrant } from '../../core/agent-runner.ts';
2
- import type { AcpAsk, AcpAskRefusal, AcpPermissionOutcome, AcpPermissionRequest } from '../acp/protocol.ts';
3
- export declare function antigravityAsk(request: AcpPermissionRequest): AcpAsk | AcpAskRefusal | undefined;
4
- /** Every process is returned to default mode before prompting: saved yolo must not bypass policy. */
2
+ import type { AcpPermissionOutcome, AcpPermissionRequest } from '../acp/protocol.ts';
3
+ /** Every process is returned to default mode before prompting: a saved mode must not bypass policy. */
5
4
  export declare function permissionPolicy(grant: ToolGrant, request: AcpPermissionRequest, approvalGate?: boolean, trustedNames?: readonly string[]): AcpPermissionOutcome | undefined;