@hearsay-tools/squawk 0.18.0-pr4013.7672 → 0.18.0-pr4017.7678
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/dist/ci-wait/controller.d.ts +4 -4
- package/dist/delegation/routes.d.ts +15 -15
- package/dist/delegation/transport.d.ts +11 -11
- package/dist/runners/antigravity/account-home.js +2 -1
- package/dist/runners/antigravity/account-home.js.map +1 -1
- package/dist/runners/antigravity/antigravity-model-catalog.js +2 -7
- package/dist/runners/antigravity/antigravity-model-catalog.js.map +1 -1
- package/dist/runners/antigravity/build-label.d.ts +2 -0
- package/dist/runners/antigravity/build-label.js +32 -0
- package/dist/runners/antigravity/build-label.js.map +1 -0
- package/dist/runners/antigravity/runtime-env.d.ts +1 -0
- package/dist/runners/antigravity/runtime-env.js +9 -3
- package/dist/runners/antigravity/runtime-env.js.map +1 -1
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/server.d.ts +58 -58
- package/package.json +4 -4
- package/scripts/mock-antigravity-auth.mjs +1 -0
- package/web/dist/assets/{activity-motion-DU_vW5u-.js → activity-motion-Dy7CYT3G.js} +1 -1
- package/web/dist/assets/{activity-route-acmijWJ4.js → activity-route-C1uuM7_y.js} +1 -1
- package/web/dist/assets/attention-b5bihxaP.js +1 -0
- package/web/dist/assets/{cez-idle-D1rXzVuh.js → cez-idle-BZ4uUtP5.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-C92X0iqK.js → commit-diff-panel-B1mVv5Ou.js} +1 -1
- package/web/dist/assets/{diff-view-1ecL4E-Z.js → diff-view-D8OrNO0A.js} +1 -1
- package/web/dist/assets/{diff-BUM0ioAg.js → diff-w-JsGLf3.js} +2 -2
- package/web/dist/assets/{file-preview-RiF5fA0G.js → file-preview-ZJB2AW9m.js} +1 -1
- package/web/dist/assets/{git-toolbar-CeMjqGnC.js → git-toolbar-DGFA0QRA.js} +1 -1
- package/web/dist/assets/{github-B7TF1cV1.js → github-BxaaMqZk.js} +1 -1
- package/web/dist/assets/{global-activity-route-Cb8TncXa.js → global-activity-route-KISVTLYU.js} +1 -1
- package/web/dist/assets/index-BHTOFPQV.js +14 -0
- package/web/dist/assets/{live-protocol-DKHlCFyG.js → live-protocol-60uiPDg6.js} +1 -1
- package/web/dist/assets/{live-worker-BWdeGzQX.ts → live-worker-DBw-5jVE.ts} +3 -1
- package/web/dist/assets/{markdown-BHheanU9.js → markdown-CqqrHoe_.js} +1 -1
- package/web/dist/assets/{picker-pill-DP8YY8yK.js → picker-pill-B3wU2gsX.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-DWa7y8sn.js → preview-pane-connected-BC3Gr3w9.js} +1 -1
- package/web/dist/assets/{project-router-LT30LjzY.js → project-router-CoWK6Rj0.js} +1 -1
- package/web/dist/assets/project-scope-context-BE4ku8Z8.js +4 -0
- package/web/dist/assets/{prompt-template-menu-4Eu2rZ5W.js → prompt-template-menu-BUJvPrNB.js} +1 -1
- package/web/dist/assets/{queries-CqoyQrxC.js → queries-B6haqhrF.js} +1 -1
- package/web/dist/assets/{reference-chip-DIbfUJrb.js → reference-chip-DohyGz7G.js} +1 -1
- package/web/dist/assets/{repo-git-CDjhaJvS.js → repo-git-SfDEOdr5.js} +1 -1
- package/web/dist/assets/{report-reader-BT1jTtKl.js → report-reader-Ced88_F5.js} +1 -1
- package/web/dist/assets/{reports-_hs1kxey.js → reports-DiG00QHD.js} +1 -1
- package/web/dist/assets/{run-header-DfgCEh38.js → run-header-C4Qbx6Aa.js} +1 -1
- package/web/dist/assets/runners-CKCs5_c9.js +1 -0
- package/web/dist/assets/{skills-BNn7Y-h4.js → skills-bn5FNJSQ.js} +1 -1
- package/web/dist/assets/{tab-link-C_0J92TF.js → tab-link-uJlT0_my.js} +1 -1
- package/web/dist/assets/{task-changes-Cuj2rtNu.js → task-changes-B6VNkUxi.js} +1 -1
- package/web/dist/assets/{task-commits-9rbmAWeP.js → task-commits-D8Yf4Nor.js} +1 -1
- package/web/dist/assets/{task-files-BXBs2Qx2.js → task-files-l-lkNPMK.js} +1 -1
- package/web/dist/assets/{task-github-item-H6kRer6l.js → task-github-item-OZxsY6Pq.js} +1 -1
- package/web/dist/assets/{task-thread-0WALkY2v.js → task-thread-Dc69hE70.js} +7 -7
- package/web/dist/assets/{thread-state-DoZVhZSg.js → thread-state-CPbtx9M0.js} +1 -1
- package/web/dist/assets/{use-desktop-D5c8KJ0d.js → use-desktop-CJ0iU7DX.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-49nSM8N1.js → use-hand-to-agent-state-D10vv46E.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-CvdGA_PU.js → useInfiniteQuery-DBtXaWWL.js} +1 -1
- package/web/dist/assets/useQuery-BW0hfvtl.js +1 -0
- package/web/dist/assets/{workflows-CkkhTGYH.js → workflows-Dj1bmCbj.js} +1 -1
- package/web/dist/assets/ws-CY6sA6NE.js +1 -0
- package/web/dist/index.html +15 -15
- package/web/dist/live-worker.js +2 -2
- package/web/dist/assets/attention-zJ-ho5os.js +0 -1
- package/web/dist/assets/index-DHDZS_kC.js +0 -14
- package/web/dist/assets/project-scope-context-DMCS5p-N.js +0 -4
- package/web/dist/assets/runners-C-sPUQye.js +0 -1
- package/web/dist/assets/useQuery-BJFZunTR.js +0 -1
- package/web/dist/assets/ws-BxsIvFCG.js +0 -1
|
@@ -1006,6 +1006,10 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1006
1006
|
};
|
|
1007
1007
|
} | {
|
|
1008
1008
|
output: {
|
|
1009
|
+
ok: false;
|
|
1010
|
+
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
1011
|
+
message: string;
|
|
1012
|
+
} | {
|
|
1009
1013
|
ok: true;
|
|
1010
1014
|
task: {
|
|
1011
1015
|
id: string;
|
|
@@ -1017,10 +1021,6 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1017
1021
|
url?: string | undefined;
|
|
1018
1022
|
};
|
|
1019
1023
|
note: string;
|
|
1020
|
-
} | {
|
|
1021
|
-
ok: false;
|
|
1022
|
-
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
1023
|
-
message: string;
|
|
1024
1024
|
};
|
|
1025
1025
|
outputFormat: "json";
|
|
1026
1026
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -91,17 +91,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
91
91
|
"/discover": {
|
|
92
92
|
$post: {
|
|
93
93
|
output: {
|
|
94
|
-
runner: string;
|
|
95
|
-
models: {
|
|
96
|
-
id: string;
|
|
97
|
-
label: string;
|
|
98
|
-
description: string;
|
|
99
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
100
|
-
}[];
|
|
101
|
-
source: "cache" | "live" | "unavailable";
|
|
102
|
-
stale: boolean;
|
|
103
|
-
reason?: string | undefined;
|
|
104
|
-
} | {
|
|
105
94
|
scope: "host-default-account";
|
|
106
95
|
runners: {
|
|
107
96
|
requiresAccountHome?: boolean | undefined;
|
|
@@ -123,6 +112,17 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
123
112
|
reason?: string | undefined;
|
|
124
113
|
}[];
|
|
125
114
|
nextOffset?: number | undefined;
|
|
115
|
+
} | {
|
|
116
|
+
runner: string;
|
|
117
|
+
models: {
|
|
118
|
+
id: string;
|
|
119
|
+
label: string;
|
|
120
|
+
description: string;
|
|
121
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
122
|
+
}[];
|
|
123
|
+
source: "cache" | "live" | "unavailable";
|
|
124
|
+
stale: boolean;
|
|
125
|
+
reason?: string | undefined;
|
|
126
126
|
};
|
|
127
127
|
outputFormat: "json";
|
|
128
128
|
status: 200;
|
|
@@ -232,13 +232,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
232
232
|
status: 200;
|
|
233
233
|
input: {
|
|
234
234
|
json: {
|
|
235
|
-
requestIds: string[];
|
|
236
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
237
|
-
timeoutSeconds?: number | undefined;
|
|
238
|
-
} | {
|
|
239
235
|
workerIds: string[];
|
|
240
236
|
timeoutSeconds?: number | undefined;
|
|
241
237
|
mode?: "all" | "any" | "one" | undefined;
|
|
238
|
+
} | {
|
|
239
|
+
requestIds: string[];
|
|
240
|
+
mode?: "all" | "any" | "one" | undefined;
|
|
241
|
+
timeoutSeconds?: number | undefined;
|
|
242
242
|
} | {
|
|
243
243
|
peerIds: string[];
|
|
244
244
|
timeoutSeconds?: number | undefined;
|
|
@@ -75,6 +75,17 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
75
75
|
authFailureId?: string | undefined;
|
|
76
76
|
runner: string;
|
|
77
77
|
}[];
|
|
78
|
+
} | {
|
|
79
|
+
runner: string;
|
|
80
|
+
models: {
|
|
81
|
+
id: string;
|
|
82
|
+
label: string;
|
|
83
|
+
description: string;
|
|
84
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
85
|
+
}[];
|
|
86
|
+
source: "cache" | "live" | "unavailable";
|
|
87
|
+
stale: boolean;
|
|
88
|
+
reason?: string | undefined;
|
|
78
89
|
} | {
|
|
79
90
|
tasks: {
|
|
80
91
|
id: string;
|
|
@@ -87,17 +98,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
87
98
|
reason?: string | undefined;
|
|
88
99
|
}[];
|
|
89
100
|
nextOffset?: number | undefined;
|
|
90
|
-
} | {
|
|
91
|
-
runner: string;
|
|
92
|
-
models: {
|
|
93
|
-
id: string;
|
|
94
|
-
label: string;
|
|
95
|
-
description: string;
|
|
96
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
97
|
-
}[];
|
|
98
|
-
source: "cache" | "live" | "unavailable";
|
|
99
|
-
stale: boolean;
|
|
100
|
-
reason?: string | undefined;
|
|
101
101
|
};
|
|
102
102
|
outputFormat: "json";
|
|
103
103
|
status: 200;
|
|
@@ -5,6 +5,7 @@ import { agentHomeDir } from '../../paths.js';
|
|
|
5
5
|
export function prepareAntigravityAccount(accountHome, sourceHome = agentHomeDir('antigravity')) {
|
|
6
6
|
if (!accountHome || resolve(accountHome) === resolve(sourceHome))
|
|
7
7
|
return;
|
|
8
|
+
const source = resolve(sourceHome);
|
|
8
9
|
mkdirSync(accountHome, { recursive: true, mode: 0o700 });
|
|
9
10
|
mkdirSync(join(accountHome, '.squawk-home', '.config'), { recursive: true, mode: 0o700 });
|
|
10
11
|
for (const relative of ['AGENTS.md', 'GEMINI.md', 'config/skills', 'antigravity-cli/skills']) {
|
|
@@ -19,7 +20,7 @@ export function prepareAntigravityAccount(accountHome, sourceHome = agentHomeDir
|
|
|
19
20
|
}
|
|
20
21
|
mkdirSync(dirname(target), { recursive: true, mode: 0o700 });
|
|
21
22
|
try {
|
|
22
|
-
symlinkSync(join(
|
|
23
|
+
symlinkSync(join(source, relative), target, relative.endsWith('skills') ? 'dir' : 'file');
|
|
23
24
|
}
|
|
24
25
|
catch (error) {
|
|
25
26
|
if (error.code !== 'EEXIST')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-home.js","sourceRoot":"","sources":["../../../src/runners/antigravity/account-home.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,oGAAoG;AACpG,MAAM,UAAU,yBAAyB,CAAC,WAA+B,EAAE,UAAU,GAAG,YAAY,CAAC,aAAa,CAAC;IACjH,IAAI,CAAC,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC,KAAK,OAAO,CAAC,UAAU,CAAC;QAAE,O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|
4
2
|
import { readFile } from 'node:fs/promises';
|
|
5
3
|
import { join } from 'node:path';
|
|
@@ -10,17 +8,14 @@ import { agentHomeDir } from '../../paths.js';
|
|
|
10
8
|
import { productEnv } from '../../core/product-env.js';
|
|
11
9
|
import { AntigravityProbe } from './probe-process.js';
|
|
12
10
|
import { storedPersonalOAuth } from './login-probe.js';
|
|
11
|
+
import { antigravityBuildLabel } from './build-label.js';
|
|
13
12
|
const optionSchema = z.object({ value: z.string(), name: z.string() });
|
|
14
13
|
const configsSchema = z.array(z.object({ id: z.string(), category: z.string().optional(), options: z.array(optionSchema).optional() }));
|
|
15
|
-
const execute = promisify(execFile);
|
|
16
14
|
const executable = () => productEnv('ANTIGRAVITY_BIN') ?? 'agy';
|
|
17
15
|
/** Hashes stay in memory. Never retain credential contents or put them in cache diagnostics. */
|
|
18
16
|
export async function antigravityModelCatalogKey(options) {
|
|
19
17
|
const bin = executable();
|
|
20
|
-
const
|
|
21
|
-
const version = /^Build label:\s*(.+)$/m.exec(stdout)?.[1]?.trim();
|
|
22
|
-
if (!version)
|
|
23
|
-
throw new Error('Antigravity build label is unavailable');
|
|
18
|
+
const version = await antigravityBuildLabel(bin);
|
|
24
19
|
const env = { ...process.env, ...profileEnv('antigravity', options.accountHome) };
|
|
25
20
|
const home = agentHomeDir('antigravity', env);
|
|
26
21
|
const hash = createHash('sha256').update(env.GEMINI_API_KEY || env.GOOGLE_API_KEY || '');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"antigravity-model-catalog.js","sourceRoot":"","sources":["../../../src/runners/antigravity/antigravity-model-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"antigravity-model-catalog.js","sourceRoot":"","sources":["../../../src/runners/antigravity/antigravity-model-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;A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M,YAAY,GAAG,CAAC,QAAQ,EAAE,OAAO,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;gBAC9D,MAAM,MAAM,GAAG,iBAAiB,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;gBACzD,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7C,CAAC,CAAC,CAAC;YACH,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,WAAW,EAAE,kBAAkB,EAAE,YAAY,EAAE,CAAC,CAAC;QACrG,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;YAAS,CAAC;QAAC,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;IAAC,CAAC;AACpC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { execFile } from 'node:child_process';
|
|
2
|
+
import { stat } from 'node:fs/promises';
|
|
3
|
+
import { promisify } from 'node:util';
|
|
4
|
+
import { resolveAntigravityExecutable } from './runtime-env.js';
|
|
5
|
+
const execute = promisify(execFile);
|
|
6
|
+
let cached;
|
|
7
|
+
/** agy --version unpacks the native agent too; only executable changes justify another probe. */
|
|
8
|
+
export async function antigravityBuildLabel(bin) {
|
|
9
|
+
const executable = resolveAntigravityExecutable(bin, process.env, process.cwd());
|
|
10
|
+
if (!executable)
|
|
11
|
+
throw new Error('Antigravity executable is unavailable');
|
|
12
|
+
const file = await stat(executable, { bigint: true });
|
|
13
|
+
const identity = [executable, file.dev, file.ino, file.size, file.mtimeNs, file.ctimeNs, file.mode].join(':');
|
|
14
|
+
if (cached?.identity === identity)
|
|
15
|
+
return cached.label;
|
|
16
|
+
const entry = { identity, label: execute(executable, ['--version'], { timeout: 5000, maxBuffer: 32_768 }).then(({ stdout }) => {
|
|
17
|
+
const version = /^Build label:\s*(.+)$/m.exec(stdout)?.[1]?.trim();
|
|
18
|
+
if (!version)
|
|
19
|
+
throw new Error('Antigravity build label is unavailable');
|
|
20
|
+
return version;
|
|
21
|
+
}) };
|
|
22
|
+
cached = entry;
|
|
23
|
+
try {
|
|
24
|
+
return await entry.label;
|
|
25
|
+
}
|
|
26
|
+
catch (error) {
|
|
27
|
+
if (cached === entry)
|
|
28
|
+
cached = undefined;
|
|
29
|
+
throw error;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=build-label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-label.js","sourceRoot":"","sources":["../../../src/runners/antigravity/build-label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAEhE,MAAM,OAAO,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC;AACpC,IAAI,MAAgE,CAAC;AAErE,iGAAiG;AACjG,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,GAAW;IACrD,MAAM,UAAU,GAAG,4BAA4B,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;IACjF,IAAI,CAAC,UAAU;QAAE,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;IAC1E,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACtD,MAAM,QAAQ,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9G,IAAI,MAAM,EAAE,QAAQ,KAAK,QAAQ;QAAE,OAAO,MAAM,CAAC,KAAK,CAAC;IACvD,MAAM,KAAK,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE;YAC5H,MAAM,OAAO,GAAG,wBAAwB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC;YACnE,IAAI,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;YACxE,OAAO,OAAO,CAAC;QACjB,CAAC,CAAC,EAAE,CAAC;IACL,MAAM,GAAG,KAAK,CAAC;IACf,IAAI,CAAC;QAAC,OAAO,MAAM,KAAK,CAAC,KAAK,CAAC;IAAC,CAAC;IACjC,OAAO,KAAK,EAAE,CAAC;QAAC,IAAI,MAAM,KAAK,KAAK;YAAE,MAAM,GAAG,SAAS,CAAC;QAAC,MAAM,KAAK,CAAC;IAAC,CAAC;AAC1E,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AgentRunSpec } from '../../core/agent-runner.ts';
|
|
2
|
+
export declare function resolveAntigravityExecutable(bin: string, env: NodeJS.ProcessEnv, cwd: string): string | undefined;
|
|
2
3
|
export declare function antigravityHarness(bin: string, env: NodeJS.ProcessEnv, cwd: string): string | undefined;
|
|
3
4
|
export declare function antigravityEnv(bin: string, spec: AgentRunSpec): {
|
|
4
5
|
env: NodeJS.ProcessEnv;
|
|
@@ -3,18 +3,24 @@ import { accessSync, constants, existsSync, realpathSync, mkdtempSync } from 'no
|
|
|
3
3
|
import { delimiter, dirname, join, resolve, isAbsolute } from 'node:path';
|
|
4
4
|
import { tmpdir } from 'node:os';
|
|
5
5
|
import { buildChildEnv } from '../../core/agent-env.js';
|
|
6
|
-
export function
|
|
6
|
+
export function resolveAntigravityExecutable(bin, env, cwd) {
|
|
7
7
|
const candidates = isAbsolute(bin) || bin.includes('/') ? [resolve(cwd, bin)] : (env.PATH ?? '').split(delimiter).map(dir => join(dir, bin));
|
|
8
8
|
for (const candidate of candidates) {
|
|
9
9
|
try {
|
|
10
10
|
accessSync(candidate, constants.X_OK);
|
|
11
|
-
|
|
12
|
-
return existsSync(harness) ? harness : undefined;
|
|
11
|
+
return realpathSync(candidate);
|
|
13
12
|
}
|
|
14
13
|
catch { /* An absent agy is handled by spawn, never at boot. */ }
|
|
15
14
|
}
|
|
16
15
|
return undefined;
|
|
17
16
|
}
|
|
17
|
+
export function antigravityHarness(bin, env, cwd) {
|
|
18
|
+
const executable = resolveAntigravityExecutable(bin, env, cwd);
|
|
19
|
+
if (!executable)
|
|
20
|
+
return undefined;
|
|
21
|
+
const harness = join(dirname(executable), 'localharness_external');
|
|
22
|
+
return existsSync(harness) ? harness : undefined;
|
|
23
|
+
}
|
|
18
24
|
export function antigravityEnv(bin, spec) {
|
|
19
25
|
const env = buildChildEnv({ backend: 'antigravity', extraEnv: spec.env });
|
|
20
26
|
prepareAntigravityAccount(env.GEMINI_HOME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-env.js","sourceRoot":"","sources":["../../../src/runners/antigravity/runtime-env.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,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I,CAAC;IAC/F,IAAI,OAAO,IAAI,CAAC,GAAG,CAAC,wBAAwB;QAAE,GAAG,CAAC,wBAAwB,GAAG,OAAO,CAAC;IACrF,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;AACvB,CAAC"}
|
|
@@ -16,12 +16,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
16
16
|
output: {
|
|
17
17
|
generation: string;
|
|
18
18
|
results: ({
|
|
19
|
-
projectId: string;
|
|
20
|
-
runId: string;
|
|
21
|
-
type: "error" | "reset";
|
|
22
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
23
|
-
error: string;
|
|
24
|
-
} | {
|
|
25
19
|
projectId: string;
|
|
26
20
|
runId: string;
|
|
27
21
|
type: "batch";
|
|
@@ -35,6 +29,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
35
29
|
cursor: string;
|
|
36
30
|
afterSeq: number;
|
|
37
31
|
hasMore: boolean;
|
|
32
|
+
} | {
|
|
33
|
+
projectId: string;
|
|
34
|
+
runId: string;
|
|
35
|
+
type: "error" | "reset";
|
|
36
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
37
|
+
error: string;
|
|
38
38
|
})[];
|
|
39
39
|
};
|
|
40
40
|
outputFormat: "json";
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4509,19 +4509,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4509
4509
|
} & {
|
|
4510
4510
|
"/repo/commit/:sha": {
|
|
4511
4511
|
$get: {
|
|
4512
|
-
output: string;
|
|
4513
|
-
outputFormat: "text";
|
|
4514
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4515
|
-
input: {
|
|
4516
|
-
query: {
|
|
4517
|
-
structured?: string | undefined;
|
|
4518
|
-
};
|
|
4519
|
-
} & {
|
|
4520
|
-
param: {
|
|
4521
|
-
sha: string;
|
|
4522
|
-
};
|
|
4523
|
-
};
|
|
4524
|
-
} | {
|
|
4525
4512
|
output: {
|
|
4526
4513
|
error: string;
|
|
4527
4514
|
code?: "invalid_input" | undefined;
|
|
@@ -4585,6 +4572,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4585
4572
|
sha: string;
|
|
4586
4573
|
};
|
|
4587
4574
|
};
|
|
4575
|
+
} | {
|
|
4576
|
+
output: string;
|
|
4577
|
+
outputFormat: "text";
|
|
4578
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4579
|
+
input: {
|
|
4580
|
+
query: {
|
|
4581
|
+
structured?: string | undefined;
|
|
4582
|
+
};
|
|
4583
|
+
} & {
|
|
4584
|
+
param: {
|
|
4585
|
+
sha: string;
|
|
4586
|
+
};
|
|
4587
|
+
};
|
|
4588
4588
|
};
|
|
4589
4589
|
};
|
|
4590
4590
|
} & {
|
|
@@ -18386,20 +18386,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18386
18386
|
} & {
|
|
18387
18387
|
"/runs/:id/handoff": {
|
|
18388
18388
|
$get: {
|
|
18389
|
-
output:
|
|
18390
|
-
|
|
18391
|
-
|
|
18389
|
+
output: {
|
|
18390
|
+
error: string;
|
|
18391
|
+
};
|
|
18392
|
+
outputFormat: "json";
|
|
18393
|
+
status: 404;
|
|
18392
18394
|
input: {
|
|
18393
18395
|
param: {
|
|
18394
18396
|
id: string;
|
|
18395
18397
|
};
|
|
18396
18398
|
};
|
|
18397
18399
|
} | {
|
|
18398
|
-
output:
|
|
18399
|
-
|
|
18400
|
-
|
|
18401
|
-
outputFormat: "json";
|
|
18402
|
-
status: 404;
|
|
18400
|
+
output: string;
|
|
18401
|
+
outputFormat: "text";
|
|
18402
|
+
status: 200;
|
|
18403
18403
|
input: {
|
|
18404
18404
|
param: {
|
|
18405
18405
|
id: string;
|
|
@@ -18437,20 +18437,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18437
18437
|
} & {
|
|
18438
18438
|
"/runs/:id/diff": {
|
|
18439
18439
|
$get: {
|
|
18440
|
-
output:
|
|
18441
|
-
|
|
18442
|
-
|
|
18440
|
+
output: {
|
|
18441
|
+
error: string;
|
|
18442
|
+
};
|
|
18443
|
+
outputFormat: "json";
|
|
18444
|
+
status: 404 | 409;
|
|
18443
18445
|
input: {
|
|
18444
18446
|
param: {
|
|
18445
18447
|
id: string;
|
|
18446
18448
|
};
|
|
18447
18449
|
};
|
|
18448
18450
|
} | {
|
|
18449
|
-
output:
|
|
18450
|
-
|
|
18451
|
-
|
|
18452
|
-
outputFormat: "json";
|
|
18453
|
-
status: 404 | 409;
|
|
18451
|
+
output: string;
|
|
18452
|
+
outputFormat: "text";
|
|
18453
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18454
18454
|
input: {
|
|
18455
18455
|
param: {
|
|
18456
18456
|
id: string;
|
|
@@ -20468,19 +20468,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20468
20468
|
} & {
|
|
20469
20469
|
"/repo/commit/:sha": {
|
|
20470
20470
|
$get: {
|
|
20471
|
-
output: string;
|
|
20472
|
-
outputFormat: "text";
|
|
20473
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20474
|
-
input: {
|
|
20475
|
-
query: {
|
|
20476
|
-
structured?: string | undefined;
|
|
20477
|
-
};
|
|
20478
|
-
} & {
|
|
20479
|
-
param: {
|
|
20480
|
-
sha: string;
|
|
20481
|
-
};
|
|
20482
|
-
};
|
|
20483
|
-
} | {
|
|
20484
20471
|
output: {
|
|
20485
20472
|
error: string;
|
|
20486
20473
|
code?: "invalid_input" | undefined;
|
|
@@ -20544,6 +20531,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20544
20531
|
sha: string;
|
|
20545
20532
|
};
|
|
20546
20533
|
};
|
|
20534
|
+
} | {
|
|
20535
|
+
output: string;
|
|
20536
|
+
outputFormat: "text";
|
|
20537
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20538
|
+
input: {
|
|
20539
|
+
query: {
|
|
20540
|
+
structured?: string | undefined;
|
|
20541
|
+
};
|
|
20542
|
+
} & {
|
|
20543
|
+
param: {
|
|
20544
|
+
sha: string;
|
|
20545
|
+
};
|
|
20546
|
+
};
|
|
20547
20547
|
};
|
|
20548
20548
|
};
|
|
20549
20549
|
} & {
|
|
@@ -34345,20 +34345,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34345
34345
|
} & {
|
|
34346
34346
|
"/runs/:id/handoff": {
|
|
34347
34347
|
$get: {
|
|
34348
|
-
output:
|
|
34349
|
-
|
|
34350
|
-
|
|
34348
|
+
output: {
|
|
34349
|
+
error: string;
|
|
34350
|
+
};
|
|
34351
|
+
outputFormat: "json";
|
|
34352
|
+
status: 404;
|
|
34351
34353
|
input: {
|
|
34352
34354
|
param: {
|
|
34353
34355
|
id: string;
|
|
34354
34356
|
};
|
|
34355
34357
|
};
|
|
34356
34358
|
} | {
|
|
34357
|
-
output:
|
|
34358
|
-
|
|
34359
|
-
|
|
34360
|
-
outputFormat: "json";
|
|
34361
|
-
status: 404;
|
|
34359
|
+
output: string;
|
|
34360
|
+
outputFormat: "text";
|
|
34361
|
+
status: 200;
|
|
34362
34362
|
input: {
|
|
34363
34363
|
param: {
|
|
34364
34364
|
id: string;
|
|
@@ -34396,20 +34396,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34396
34396
|
} & {
|
|
34397
34397
|
"/runs/:id/diff": {
|
|
34398
34398
|
$get: {
|
|
34399
|
-
output:
|
|
34400
|
-
|
|
34401
|
-
|
|
34399
|
+
output: {
|
|
34400
|
+
error: string;
|
|
34401
|
+
};
|
|
34402
|
+
outputFormat: "json";
|
|
34403
|
+
status: 404 | 409;
|
|
34402
34404
|
input: {
|
|
34403
34405
|
param: {
|
|
34404
34406
|
id: string;
|
|
34405
34407
|
};
|
|
34406
34408
|
};
|
|
34407
34409
|
} | {
|
|
34408
|
-
output:
|
|
34409
|
-
|
|
34410
|
-
|
|
34411
|
-
outputFormat: "json";
|
|
34412
|
-
status: 404 | 409;
|
|
34410
|
+
output: string;
|
|
34411
|
+
outputFormat: "text";
|
|
34412
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
34413
34413
|
input: {
|
|
34414
34414
|
param: {
|
|
34415
34415
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-
|
|
3
|
+
"version": "0.18.0-pr4017.7678",
|
|
4
4
|
"description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/parser": "^8.0.8",
|
|
65
65
|
"@babel/types": "^8.0.8",
|
|
66
|
-
"@open-mercato/cezar-api-client": "0.18.0-
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-pr4017.7678",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-pr4017.7678",
|
|
68
68
|
"@types/node": "^24.19.1",
|
|
69
69
|
"@types/ws": "^8.18.1",
|
|
70
70
|
"esbuild": "^0.28.1",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "60be73b4da7d955e0ed8c36525e81c5715885a9c"
|
|
85
85
|
}
|
|
@@ -6,6 +6,7 @@ import { spawn } from 'node:child_process';
|
|
|
6
6
|
import { mkdirSync, writeFileSync, appendFileSync } from 'node:fs';
|
|
7
7
|
import { join } from 'node:path';
|
|
8
8
|
if (process.argv.includes('--version')) {
|
|
9
|
+
if (process.env.AGY_MOCK_VERSION_LOG) appendFileSync(process.env.AGY_MOCK_VERSION_LOG, 'version\n');
|
|
9
10
|
console.log(`antigravity_extensions/acp_server\nBuild label: ${process.env.AGY_MOCK_VERSION || '1.5.0'}`);
|
|
10
11
|
process.exit(0);
|
|
11
12
|
}
|