@hearsay-tools/squawk 0.18.0-dev.7764 → 0.18.0-dev.7777
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/cli-dispatch.js +2 -1
- package/dist/cli-dispatch.js.map +1 -1
- package/dist/contract/index.js +2 -1
- package/dist/core/backend-detect.js +3 -3
- package/dist/core/backend-detect.js.map +1 -1
- package/dist/core/runner-definition.d.ts +8 -1
- package/dist/core/runner-definition.js.map +1 -1
- package/dist/delegation/routes.d.ts +80 -80
- package/dist/managed-install/runtime-home.d.ts +8 -0
- package/dist/managed-install/runtime-home.js +14 -0
- package/dist/managed-install/runtime-home.js.map +1 -0
- package/dist/runners/acp/events.d.ts +15 -0
- package/dist/runners/acp/events.js +58 -2
- package/dist/runners/acp/events.js.map +1 -1
- package/dist/runners/acp/protocol.d.ts +10 -2
- package/dist/runners/acp/session.d.ts +11 -3
- package/dist/runners/acp/session.js +48 -16
- package/dist/runners/acp/session.js.map +1 -1
- package/dist/runners/acp/usage.d.ts +3 -0
- package/dist/runners/acp/usage.js +12 -0
- package/dist/runners/acp/usage.js.map +1 -0
- package/dist/runners/antigravity/account-home.js +1 -1
- package/dist/runners/antigravity/account-home.js.map +1 -1
- package/dist/runners/antigravity/accounts.d.ts +1 -1
- package/dist/runners/antigravity/accounts.js +1 -1
- package/dist/runners/antigravity/accounts.js.map +1 -1
- package/dist/runners/antigravity/antigravity-model-catalog.d.ts +4 -2
- package/dist/runners/antigravity/antigravity-model-catalog.js +25 -20
- package/dist/runners/antigravity/antigravity-model-catalog.js.map +1 -1
- package/dist/runners/antigravity/antigravity-runner.d.ts +6 -6
- package/dist/runners/antigravity/antigravity-runner.js +3 -2
- package/dist/runners/antigravity/antigravity-runner.js.map +1 -1
- package/dist/runners/antigravity/antigravity-session.d.ts +27 -2
- package/dist/runners/antigravity/antigravity-session.js +204 -96
- package/dist/runners/antigravity/antigravity-session.js.map +1 -1
- package/dist/runners/antigravity/antigravity-skill-catalog.d.ts +2 -2
- package/dist/runners/antigravity/antigravity-skill-catalog.js +6 -4
- package/dist/runners/antigravity/antigravity-skill-catalog.js.map +1 -1
- package/dist/runners/antigravity/antigravity-ui-mapper.d.ts +5 -3
- package/dist/runners/antigravity/antigravity-ui-mapper.js +27 -12
- package/dist/runners/antigravity/antigravity-ui-mapper.js.map +1 -1
- package/dist/runners/antigravity/ask-question.d.ts +9 -0
- package/dist/runners/antigravity/ask-question.js +37 -0
- package/dist/runners/antigravity/ask-question.js.map +1 -0
- package/dist/runners/antigravity/browser-sign-in.d.ts +8 -2
- package/dist/runners/antigravity/browser-sign-in.js +100 -122
- package/dist/runners/antigravity/browser-sign-in.js.map +1 -1
- package/dist/runners/antigravity/definition.js +3 -2
- package/dist/runners/antigravity/definition.js.map +1 -1
- package/dist/runners/antigravity/detection.d.ts +6 -4
- package/dist/runners/antigravity/detection.js +8 -5
- package/dist/runners/antigravity/detection.js.map +1 -1
- package/dist/runners/antigravity/display.d.ts +3 -3
- package/dist/runners/antigravity/display.js +2 -2
- package/dist/runners/antigravity/display.js.map +1 -1
- package/dist/runners/antigravity/executable.d.ts +45 -0
- package/dist/runners/antigravity/executable.js +184 -0
- package/dist/runners/antigravity/executable.js.map +1 -0
- package/dist/runners/antigravity/facts.d.ts +4 -4
- package/dist/runners/antigravity/facts.js +10 -5
- package/dist/runners/antigravity/facts.js.map +1 -1
- package/dist/runners/antigravity/launch-args.d.ts +4 -2
- package/dist/runners/antigravity/launch-args.js +5 -4
- package/dist/runners/antigravity/launch-args.js.map +1 -1
- package/dist/runners/antigravity/login-probe.d.ts +6 -1
- package/dist/runners/antigravity/login-probe.js +41 -19
- package/dist/runners/antigravity/login-probe.js.map +1 -1
- package/dist/runners/antigravity/login.d.ts +1 -1
- package/dist/runners/antigravity/login.js +1 -1
- package/dist/runners/antigravity/login.js.map +1 -1
- package/dist/runners/antigravity/mock.d.ts +24 -13
- package/dist/runners/antigravity/mock.js +19 -15
- package/dist/runners/antigravity/mock.js.map +1 -1
- package/dist/runners/antigravity/native-diagnostics.d.ts +3 -2
- package/dist/runners/antigravity/native-diagnostics.js +9 -6
- package/dist/runners/antigravity/native-diagnostics.js.map +1 -1
- package/dist/runners/antigravity/permissions.d.ts +2 -3
- package/dist/runners/antigravity/permissions.js +1 -32
- package/dist/runners/antigravity/permissions.js.map +1 -1
- package/dist/runners/antigravity/probe-process.d.ts +4 -1
- package/dist/runners/antigravity/probe-process.js +21 -5
- package/dist/runners/antigravity/probe-process.js.map +1 -1
- package/dist/runners/antigravity/runtime-env.d.ts +4 -3
- package/dist/runners/antigravity/runtime-env.js +14 -26
- package/dist/runners/antigravity/runtime-env.js.map +1 -1
- package/dist/runners/antigravity/spec-support.js +8 -8
- package/dist/runners/antigravity/spec-support.js.map +1 -1
- package/dist/runners/antigravity/tool-normalization.d.ts +6 -2
- package/dist/runners/antigravity/tool-normalization.js +23 -12
- package/dist/runners/antigravity/tool-normalization.js.map +1 -1
- package/dist/runners/antigravity/wire-updates.d.ts +14 -1
- package/dist/runners/antigravity/wire-updates.js +21 -6
- package/dist/runners/antigravity/wire-updates.js.map +1 -1
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/provider-sign-in-routes.js +1 -1
- package/dist/server/provider-sign-in-routes.js.map +1 -1
- package/dist/server/server.d.ts +238 -238
- package/package.json +4 -4
- package/scripts/mock-acp-login.mjs +20 -0
- package/scripts/mock-acp-sessions.mjs +30 -0
- package/scripts/mock-acp.mjs +128 -79
- package/scripts/mock-antigravity-auth.mjs +39 -37
- package/web/dist/assets/{activity-motion-BSsgWgJe.js → activity-motion-CMaQA87f.js} +1 -1
- package/web/dist/assets/{activity-route-q9sOR4Wb.js → activity-route-CTJT4zv2.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-Btiebm6D.js → commit-diff-panel-BoK-qLXZ.js} +1 -1
- package/web/dist/assets/{diff-DNIkChMc.js → diff-BHFOGiZQ.js} +2 -2
- package/web/dist/assets/{diff-view-jhjgH27W.js → diff-view-BcEpsdxN.js} +1 -1
- package/web/dist/assets/{file-preview-De5UjJTG.js → file-preview-DQmUdQku.js} +1 -1
- package/web/dist/assets/{git-toolbar-Ol1142ti.js → git-toolbar-CIMGnrx-.js} +1 -1
- package/web/dist/assets/{github-BylUlaAL.js → github-DNt7fatG.js} +1 -1
- package/web/dist/assets/{global-activity-route-DI3QqvQL.js → global-activity-route-DvJfgzVz.js} +1 -1
- package/web/dist/assets/{index-Dbb0-RtK.js → index-Bcs60T3F.js} +4 -4
- package/web/dist/assets/{markdown-D3aDM4O5.js → markdown-C78nwKGh.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-C-f5rJGZ.js → preview-pane-connected-DAkxP33O.js} +1 -1
- package/web/dist/assets/{repo-git-D-j1tyQj.js → repo-git-DTINuV7R.js} +1 -1
- package/web/dist/assets/{report-reader-0-k8FTCM.js → report-reader-TsL5jS1q.js} +1 -1
- package/web/dist/assets/{reports--2BDXGSj.js → reports-MBONm90i.js} +1 -1
- package/web/dist/assets/{run-header-B69_lBSt.js → run-header-BbuegkrJ.js} +1 -1
- package/web/dist/assets/{skills-CzyYKL6l.js → skills-Cc2FsHZq.js} +1 -1
- package/web/dist/assets/{task-changes-D1Oi0yoX.js → task-changes-Bis3iY6D.js} +1 -1
- package/web/dist/assets/{task-commits-DV91fVHF.js → task-commits-CELN07IE.js} +1 -1
- package/web/dist/assets/{task-files-_ap-MUjL.js → task-files-Xj9SbIQY.js} +1 -1
- package/web/dist/assets/{task-github-item-9oibIBa8.js → task-github-item-8Wi29msX.js} +1 -1
- package/web/dist/assets/{task-thread-D8IfseH4.js → task-thread-BpprgiEm.js} +1 -1
- package/web/dist/assets/{thread-state-BLS3a1XA.js → thread-state-DjdzGdTP.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-DaPTyzCV.js → use-hand-to-agent-state-BrTzbU6r.js} +1 -1
- package/web/dist/assets/{workflows-BAIP3wxi.js → workflows-BgbhcFeb.js} +1 -1
- package/web/dist/index.html +1 -1
- package/dist/runners/antigravity/build-label.d.ts +0 -2
- package/dist/runners/antigravity/build-label.js +0 -32
- package/dist/runners/antigravity/build-label.js.map +0 -1
- package/dist/runners/antigravity/catalog-home.d.ts +0 -2
- package/dist/runners/antigravity/catalog-home.js +0 -23
- package/dist/runners/antigravity/catalog-home.js.map +0 -1
- package/dist/runners/antigravity/stderr.d.ts +0 -2
- package/dist/runners/antigravity/stderr.js +0 -15
- package/dist/runners/antigravity/stderr.js.map +0 -1
package/dist/server/server.d.ts
CHANGED
|
@@ -3406,94 +3406,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3406
3406
|
};
|
|
3407
3407
|
};
|
|
3408
3408
|
};
|
|
3409
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3410
|
-
"/reports/state": {
|
|
3411
|
-
$get: {
|
|
3412
|
-
output: {
|
|
3413
|
-
error: string;
|
|
3414
|
-
};
|
|
3415
|
-
outputFormat: "json";
|
|
3416
|
-
status: 409;
|
|
3417
|
-
input: {};
|
|
3418
|
-
} | {
|
|
3419
|
-
output: {
|
|
3420
|
-
epoch: string;
|
|
3421
|
-
generation: number;
|
|
3422
|
-
metadataGeneration: number;
|
|
3423
|
-
};
|
|
3424
|
-
outputFormat: "json";
|
|
3425
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3426
|
-
input: {};
|
|
3427
|
-
};
|
|
3428
|
-
};
|
|
3429
|
-
} & {
|
|
3430
|
-
"/reports": {
|
|
3431
|
-
$get: {
|
|
3432
|
-
output: {
|
|
3433
|
-
error: string;
|
|
3434
|
-
code?: "invalid_input" | undefined;
|
|
3435
|
-
};
|
|
3436
|
-
outputFormat: "json";
|
|
3437
|
-
status: 400;
|
|
3438
|
-
input: {
|
|
3439
|
-
query: {
|
|
3440
|
-
q?: string | undefined;
|
|
3441
|
-
before?: string | undefined;
|
|
3442
|
-
limit?: number | undefined;
|
|
3443
|
-
};
|
|
3444
|
-
};
|
|
3445
|
-
} | {
|
|
3446
|
-
output: {
|
|
3447
|
-
error: string;
|
|
3448
|
-
};
|
|
3449
|
-
outputFormat: "json";
|
|
3450
|
-
status: 409;
|
|
3451
|
-
input: {
|
|
3452
|
-
query: {
|
|
3453
|
-
q?: string | undefined;
|
|
3454
|
-
before?: string | undefined;
|
|
3455
|
-
limit?: number | undefined;
|
|
3456
|
-
};
|
|
3457
|
-
};
|
|
3458
|
-
} | {
|
|
3459
|
-
output: {
|
|
3460
|
-
error: string;
|
|
3461
|
-
};
|
|
3462
|
-
outputFormat: "json";
|
|
3463
|
-
status: 400;
|
|
3464
|
-
input: {
|
|
3465
|
-
query: {
|
|
3466
|
-
q?: string | undefined;
|
|
3467
|
-
before?: string | undefined;
|
|
3468
|
-
limit?: number | undefined;
|
|
3469
|
-
};
|
|
3470
|
-
};
|
|
3471
|
-
} | {
|
|
3472
|
-
output: {
|
|
3473
|
-
reports: {
|
|
3474
|
-
id: string;
|
|
3475
|
-
runId: string;
|
|
3476
|
-
name: string;
|
|
3477
|
-
title: string;
|
|
3478
|
-
createdAt: string;
|
|
3479
|
-
size: number;
|
|
3480
|
-
taskTitle: string;
|
|
3481
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3482
|
-
}[];
|
|
3483
|
-
nextCursor: string | null;
|
|
3484
|
-
total: number;
|
|
3485
|
-
};
|
|
3486
|
-
outputFormat: "json";
|
|
3487
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3488
|
-
input: {
|
|
3489
|
-
query: {
|
|
3490
|
-
q?: string | undefined;
|
|
3491
|
-
before?: string | undefined;
|
|
3492
|
-
limit?: number | undefined;
|
|
3493
|
-
};
|
|
3494
|
-
};
|
|
3495
|
-
};
|
|
3496
|
-
};
|
|
3497
3409
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3498
3410
|
"/ui-state": {
|
|
3499
3411
|
$get: {
|
|
@@ -3982,6 +3894,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3982
3894
|
};
|
|
3983
3895
|
};
|
|
3984
3896
|
};
|
|
3897
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3898
|
+
"/reports/state": {
|
|
3899
|
+
$get: {
|
|
3900
|
+
output: {
|
|
3901
|
+
error: string;
|
|
3902
|
+
};
|
|
3903
|
+
outputFormat: "json";
|
|
3904
|
+
status: 409;
|
|
3905
|
+
input: {};
|
|
3906
|
+
} | {
|
|
3907
|
+
output: {
|
|
3908
|
+
epoch: string;
|
|
3909
|
+
generation: number;
|
|
3910
|
+
metadataGeneration: number;
|
|
3911
|
+
};
|
|
3912
|
+
outputFormat: "json";
|
|
3913
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3914
|
+
input: {};
|
|
3915
|
+
};
|
|
3916
|
+
};
|
|
3917
|
+
} & {
|
|
3918
|
+
"/reports": {
|
|
3919
|
+
$get: {
|
|
3920
|
+
output: {
|
|
3921
|
+
error: string;
|
|
3922
|
+
code?: "invalid_input" | undefined;
|
|
3923
|
+
};
|
|
3924
|
+
outputFormat: "json";
|
|
3925
|
+
status: 400;
|
|
3926
|
+
input: {
|
|
3927
|
+
query: {
|
|
3928
|
+
q?: string | undefined;
|
|
3929
|
+
before?: string | undefined;
|
|
3930
|
+
limit?: number | undefined;
|
|
3931
|
+
};
|
|
3932
|
+
};
|
|
3933
|
+
} | {
|
|
3934
|
+
output: {
|
|
3935
|
+
error: string;
|
|
3936
|
+
};
|
|
3937
|
+
outputFormat: "json";
|
|
3938
|
+
status: 409;
|
|
3939
|
+
input: {
|
|
3940
|
+
query: {
|
|
3941
|
+
q?: string | undefined;
|
|
3942
|
+
before?: string | undefined;
|
|
3943
|
+
limit?: number | undefined;
|
|
3944
|
+
};
|
|
3945
|
+
};
|
|
3946
|
+
} | {
|
|
3947
|
+
output: {
|
|
3948
|
+
error: string;
|
|
3949
|
+
};
|
|
3950
|
+
outputFormat: "json";
|
|
3951
|
+
status: 400;
|
|
3952
|
+
input: {
|
|
3953
|
+
query: {
|
|
3954
|
+
q?: string | undefined;
|
|
3955
|
+
before?: string | undefined;
|
|
3956
|
+
limit?: number | undefined;
|
|
3957
|
+
};
|
|
3958
|
+
};
|
|
3959
|
+
} | {
|
|
3960
|
+
output: {
|
|
3961
|
+
reports: {
|
|
3962
|
+
id: string;
|
|
3963
|
+
runId: string;
|
|
3964
|
+
name: string;
|
|
3965
|
+
title: string;
|
|
3966
|
+
createdAt: string;
|
|
3967
|
+
size: number;
|
|
3968
|
+
taskTitle: string;
|
|
3969
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3970
|
+
}[];
|
|
3971
|
+
nextCursor: string | null;
|
|
3972
|
+
total: number;
|
|
3973
|
+
};
|
|
3974
|
+
outputFormat: "json";
|
|
3975
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3976
|
+
input: {
|
|
3977
|
+
query: {
|
|
3978
|
+
q?: string | undefined;
|
|
3979
|
+
before?: string | undefined;
|
|
3980
|
+
limit?: number | undefined;
|
|
3981
|
+
};
|
|
3982
|
+
};
|
|
3983
|
+
};
|
|
3984
|
+
};
|
|
3985
3985
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3986
3986
|
"/worktrees": {
|
|
3987
3987
|
$get: {
|
|
@@ -8456,6 +8456,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8456
8456
|
} & {
|
|
8457
8457
|
"/runs/:id/worker-destroy": {
|
|
8458
8458
|
$post: {
|
|
8459
|
+
output: {
|
|
8460
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8461
|
+
readonly error: string;
|
|
8462
|
+
readonly modelChoices?: {
|
|
8463
|
+
runner: string;
|
|
8464
|
+
requestedModel: string;
|
|
8465
|
+
availableModels: {
|
|
8466
|
+
id: string;
|
|
8467
|
+
label: string;
|
|
8468
|
+
description: string;
|
|
8469
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8470
|
+
}[];
|
|
8471
|
+
otherRunners: string[];
|
|
8472
|
+
} | undefined;
|
|
8473
|
+
};
|
|
8474
|
+
outputFormat: "json";
|
|
8475
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8476
|
+
input: {
|
|
8477
|
+
query: {
|
|
8478
|
+
[x: string]: string | string[];
|
|
8479
|
+
};
|
|
8480
|
+
} & {
|
|
8481
|
+
param: {
|
|
8482
|
+
id: string;
|
|
8483
|
+
};
|
|
8484
|
+
} & {
|
|
8485
|
+
json: {
|
|
8486
|
+
discardWork?: true | undefined;
|
|
8487
|
+
};
|
|
8488
|
+
};
|
|
8489
|
+
} | {
|
|
8459
8490
|
output: {
|
|
8460
8491
|
error: string;
|
|
8461
8492
|
code?: "invalid_input" | undefined;
|
|
@@ -8541,37 +8572,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8541
8572
|
discardWork?: true | undefined;
|
|
8542
8573
|
};
|
|
8543
8574
|
};
|
|
8544
|
-
} | {
|
|
8545
|
-
output: {
|
|
8546
|
-
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8547
|
-
readonly error: string;
|
|
8548
|
-
readonly modelChoices?: {
|
|
8549
|
-
runner: string;
|
|
8550
|
-
requestedModel: string;
|
|
8551
|
-
availableModels: {
|
|
8552
|
-
id: string;
|
|
8553
|
-
label: string;
|
|
8554
|
-
description: string;
|
|
8555
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8556
|
-
}[];
|
|
8557
|
-
otherRunners: string[];
|
|
8558
|
-
} | undefined;
|
|
8559
|
-
};
|
|
8560
|
-
outputFormat: "json";
|
|
8561
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
8562
|
-
input: {
|
|
8563
|
-
query: {
|
|
8564
|
-
[x: string]: string | string[];
|
|
8565
|
-
};
|
|
8566
|
-
} & {
|
|
8567
|
-
param: {
|
|
8568
|
-
id: string;
|
|
8569
|
-
};
|
|
8570
|
-
} & {
|
|
8571
|
-
json: {
|
|
8572
|
-
discardWork?: true | undefined;
|
|
8573
|
-
};
|
|
8574
|
-
};
|
|
8575
8575
|
};
|
|
8576
8576
|
};
|
|
8577
8577
|
} & {
|
|
@@ -19365,94 +19365,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19365
19365
|
};
|
|
19366
19366
|
};
|
|
19367
19367
|
};
|
|
19368
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19369
|
-
"/reports/state": {
|
|
19370
|
-
$get: {
|
|
19371
|
-
output: {
|
|
19372
|
-
error: string;
|
|
19373
|
-
};
|
|
19374
|
-
outputFormat: "json";
|
|
19375
|
-
status: 409;
|
|
19376
|
-
input: {};
|
|
19377
|
-
} | {
|
|
19378
|
-
output: {
|
|
19379
|
-
epoch: string;
|
|
19380
|
-
generation: number;
|
|
19381
|
-
metadataGeneration: number;
|
|
19382
|
-
};
|
|
19383
|
-
outputFormat: "json";
|
|
19384
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19385
|
-
input: {};
|
|
19386
|
-
};
|
|
19387
|
-
};
|
|
19388
|
-
} & {
|
|
19389
|
-
"/reports": {
|
|
19390
|
-
$get: {
|
|
19391
|
-
output: {
|
|
19392
|
-
error: string;
|
|
19393
|
-
code?: "invalid_input" | undefined;
|
|
19394
|
-
};
|
|
19395
|
-
outputFormat: "json";
|
|
19396
|
-
status: 400;
|
|
19397
|
-
input: {
|
|
19398
|
-
query: {
|
|
19399
|
-
q?: string | undefined;
|
|
19400
|
-
before?: string | undefined;
|
|
19401
|
-
limit?: number | undefined;
|
|
19402
|
-
};
|
|
19403
|
-
};
|
|
19404
|
-
} | {
|
|
19405
|
-
output: {
|
|
19406
|
-
error: string;
|
|
19407
|
-
};
|
|
19408
|
-
outputFormat: "json";
|
|
19409
|
-
status: 409;
|
|
19410
|
-
input: {
|
|
19411
|
-
query: {
|
|
19412
|
-
q?: string | undefined;
|
|
19413
|
-
before?: string | undefined;
|
|
19414
|
-
limit?: number | undefined;
|
|
19415
|
-
};
|
|
19416
|
-
};
|
|
19417
|
-
} | {
|
|
19418
|
-
output: {
|
|
19419
|
-
error: string;
|
|
19420
|
-
};
|
|
19421
|
-
outputFormat: "json";
|
|
19422
|
-
status: 400;
|
|
19423
|
-
input: {
|
|
19424
|
-
query: {
|
|
19425
|
-
q?: string | undefined;
|
|
19426
|
-
before?: string | undefined;
|
|
19427
|
-
limit?: number | undefined;
|
|
19428
|
-
};
|
|
19429
|
-
};
|
|
19430
|
-
} | {
|
|
19431
|
-
output: {
|
|
19432
|
-
reports: {
|
|
19433
|
-
id: string;
|
|
19434
|
-
runId: string;
|
|
19435
|
-
name: string;
|
|
19436
|
-
title: string;
|
|
19437
|
-
createdAt: string;
|
|
19438
|
-
size: number;
|
|
19439
|
-
taskTitle: string;
|
|
19440
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
19441
|
-
}[];
|
|
19442
|
-
nextCursor: string | null;
|
|
19443
|
-
total: number;
|
|
19444
|
-
};
|
|
19445
|
-
outputFormat: "json";
|
|
19446
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19447
|
-
input: {
|
|
19448
|
-
query: {
|
|
19449
|
-
q?: string | undefined;
|
|
19450
|
-
before?: string | undefined;
|
|
19451
|
-
limit?: number | undefined;
|
|
19452
|
-
};
|
|
19453
|
-
};
|
|
19454
|
-
};
|
|
19455
|
-
};
|
|
19456
19368
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19457
19369
|
"/ui-state": {
|
|
19458
19370
|
$get: {
|
|
@@ -19941,6 +19853,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19941
19853
|
};
|
|
19942
19854
|
};
|
|
19943
19855
|
};
|
|
19856
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19857
|
+
"/reports/state": {
|
|
19858
|
+
$get: {
|
|
19859
|
+
output: {
|
|
19860
|
+
error: string;
|
|
19861
|
+
};
|
|
19862
|
+
outputFormat: "json";
|
|
19863
|
+
status: 409;
|
|
19864
|
+
input: {};
|
|
19865
|
+
} | {
|
|
19866
|
+
output: {
|
|
19867
|
+
epoch: string;
|
|
19868
|
+
generation: number;
|
|
19869
|
+
metadataGeneration: number;
|
|
19870
|
+
};
|
|
19871
|
+
outputFormat: "json";
|
|
19872
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19873
|
+
input: {};
|
|
19874
|
+
};
|
|
19875
|
+
};
|
|
19876
|
+
} & {
|
|
19877
|
+
"/reports": {
|
|
19878
|
+
$get: {
|
|
19879
|
+
output: {
|
|
19880
|
+
error: string;
|
|
19881
|
+
code?: "invalid_input" | undefined;
|
|
19882
|
+
};
|
|
19883
|
+
outputFormat: "json";
|
|
19884
|
+
status: 400;
|
|
19885
|
+
input: {
|
|
19886
|
+
query: {
|
|
19887
|
+
q?: string | undefined;
|
|
19888
|
+
before?: string | undefined;
|
|
19889
|
+
limit?: number | undefined;
|
|
19890
|
+
};
|
|
19891
|
+
};
|
|
19892
|
+
} | {
|
|
19893
|
+
output: {
|
|
19894
|
+
error: string;
|
|
19895
|
+
};
|
|
19896
|
+
outputFormat: "json";
|
|
19897
|
+
status: 409;
|
|
19898
|
+
input: {
|
|
19899
|
+
query: {
|
|
19900
|
+
q?: string | undefined;
|
|
19901
|
+
before?: string | undefined;
|
|
19902
|
+
limit?: number | undefined;
|
|
19903
|
+
};
|
|
19904
|
+
};
|
|
19905
|
+
} | {
|
|
19906
|
+
output: {
|
|
19907
|
+
error: string;
|
|
19908
|
+
};
|
|
19909
|
+
outputFormat: "json";
|
|
19910
|
+
status: 400;
|
|
19911
|
+
input: {
|
|
19912
|
+
query: {
|
|
19913
|
+
q?: string | undefined;
|
|
19914
|
+
before?: string | undefined;
|
|
19915
|
+
limit?: number | undefined;
|
|
19916
|
+
};
|
|
19917
|
+
};
|
|
19918
|
+
} | {
|
|
19919
|
+
output: {
|
|
19920
|
+
reports: {
|
|
19921
|
+
id: string;
|
|
19922
|
+
runId: string;
|
|
19923
|
+
name: string;
|
|
19924
|
+
title: string;
|
|
19925
|
+
createdAt: string;
|
|
19926
|
+
size: number;
|
|
19927
|
+
taskTitle: string;
|
|
19928
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
19929
|
+
}[];
|
|
19930
|
+
nextCursor: string | null;
|
|
19931
|
+
total: number;
|
|
19932
|
+
};
|
|
19933
|
+
outputFormat: "json";
|
|
19934
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19935
|
+
input: {
|
|
19936
|
+
query: {
|
|
19937
|
+
q?: string | undefined;
|
|
19938
|
+
before?: string | undefined;
|
|
19939
|
+
limit?: number | undefined;
|
|
19940
|
+
};
|
|
19941
|
+
};
|
|
19942
|
+
};
|
|
19943
|
+
};
|
|
19944
19944
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19945
19945
|
"/worktrees": {
|
|
19946
19946
|
$get: {
|
|
@@ -24415,6 +24415,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24415
24415
|
} & {
|
|
24416
24416
|
"/runs/:id/worker-destroy": {
|
|
24417
24417
|
$post: {
|
|
24418
|
+
output: {
|
|
24419
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
24420
|
+
readonly error: string;
|
|
24421
|
+
readonly modelChoices?: {
|
|
24422
|
+
runner: string;
|
|
24423
|
+
requestedModel: string;
|
|
24424
|
+
availableModels: {
|
|
24425
|
+
id: string;
|
|
24426
|
+
label: string;
|
|
24427
|
+
description: string;
|
|
24428
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24429
|
+
}[];
|
|
24430
|
+
otherRunners: string[];
|
|
24431
|
+
} | undefined;
|
|
24432
|
+
};
|
|
24433
|
+
outputFormat: "json";
|
|
24434
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
24435
|
+
input: {
|
|
24436
|
+
query: {
|
|
24437
|
+
[x: string]: string | string[];
|
|
24438
|
+
};
|
|
24439
|
+
} & {
|
|
24440
|
+
param: {
|
|
24441
|
+
id: string;
|
|
24442
|
+
};
|
|
24443
|
+
} & {
|
|
24444
|
+
json: {
|
|
24445
|
+
discardWork?: true | undefined;
|
|
24446
|
+
};
|
|
24447
|
+
};
|
|
24448
|
+
} | {
|
|
24418
24449
|
output: {
|
|
24419
24450
|
error: string;
|
|
24420
24451
|
code?: "invalid_input" | undefined;
|
|
@@ -24500,37 +24531,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24500
24531
|
discardWork?: true | undefined;
|
|
24501
24532
|
};
|
|
24502
24533
|
};
|
|
24503
|
-
} | {
|
|
24504
|
-
output: {
|
|
24505
|
-
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
24506
|
-
readonly error: string;
|
|
24507
|
-
readonly modelChoices?: {
|
|
24508
|
-
runner: string;
|
|
24509
|
-
requestedModel: string;
|
|
24510
|
-
availableModels: {
|
|
24511
|
-
id: string;
|
|
24512
|
-
label: string;
|
|
24513
|
-
description: string;
|
|
24514
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24515
|
-
}[];
|
|
24516
|
-
otherRunners: string[];
|
|
24517
|
-
} | undefined;
|
|
24518
|
-
};
|
|
24519
|
-
outputFormat: "json";
|
|
24520
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
24521
|
-
input: {
|
|
24522
|
-
query: {
|
|
24523
|
-
[x: string]: string | string[];
|
|
24524
|
-
};
|
|
24525
|
-
} & {
|
|
24526
|
-
param: {
|
|
24527
|
-
id: string;
|
|
24528
|
-
};
|
|
24529
|
-
} & {
|
|
24530
|
-
json: {
|
|
24531
|
-
discardWork?: true | undefined;
|
|
24532
|
-
};
|
|
24533
|
-
};
|
|
24534
24534
|
};
|
|
24535
24535
|
};
|
|
24536
24536
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-dev.
|
|
3
|
+
"version": "0.18.0-dev.7777",
|
|
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-dev.
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-dev.
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-dev.7777",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-dev.7777",
|
|
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": "6e0fe0937d7fdd360d188ea8b22028ea43f8a066"
|
|
85
85
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// `antigravity acp --login`: a consent link, then one pasted line. A code or the landing URL signs
|
|
2
|
+
// the account in; the mock records that beside the account's CLI data, as no credential.
|
|
3
|
+
import { mkdirSync, writeFileSync } from 'node:fs';
|
|
4
|
+
import { join } from 'node:path';
|
|
5
|
+
import readline from 'node:readline';
|
|
6
|
+
|
|
7
|
+
export async function mockLogin(geminiDir) {
|
|
8
|
+
const state = 'mock-state';
|
|
9
|
+
console.log('Open this link in a browser to log in with Google:\n');
|
|
10
|
+
console.log(` https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=mock&code_challenge=mock&code_challenge_method=S256&prompt=consent&redirect_uri=${encodeURIComponent('https://antigravity.google/oauth-callback')}&response_type=code&scope=openid&state=${state}\n`);
|
|
11
|
+
console.log('Then paste the authorization code, or the full URL of the page you land on, and press Enter:');
|
|
12
|
+
const lines = readline.createInterface({ input: process.stdin });
|
|
13
|
+
const line = await new Promise(resolve => { lines.once('line', resolve); lines.once('close', () => resolve('')); });
|
|
14
|
+
lines.close();
|
|
15
|
+
if (!line.trim()) { console.error('login cancelled: no authorization code was entered'); return 1; }
|
|
16
|
+
if (line.trim() === 'mock-refused') { console.error('login failed: invalid_grant'); return 1; }
|
|
17
|
+
mkdirSync(join(geminiDir, 'antigravity-cli'), { recursive: true });
|
|
18
|
+
writeFileSync(join(geminiDir, 'antigravity-cli', 'mock-login.json'), JSON.stringify({ signedIn: true }));
|
|
19
|
+
return 0;
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// The conversations the Antigravity CLI keeps: a resume finds only a session it saved. With an
|
|
2
|
+
// args file or an explicit store the mock keeps them in a file, as a later process sees them;
|
|
3
|
+
// with neither (a plain unit run) it resumes any id.
|
|
4
|
+
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
|
5
|
+
import { dirname } from 'node:path';
|
|
6
|
+
|
|
7
|
+
function storePath() {
|
|
8
|
+
if (process.env.CEZ_MOCK_ANTIGRAVITY_SESSIONS_FILE) return process.env.CEZ_MOCK_ANTIGRAVITY_SESSIONS_FILE;
|
|
9
|
+
if (process.env.CEZ_MOCK_ARGS_FILE) return `${process.env.CEZ_MOCK_ARGS_FILE}.antigravity-sessions.json`;
|
|
10
|
+
return undefined;
|
|
11
|
+
}
|
|
12
|
+
function readStore(path) {
|
|
13
|
+
try { const store = JSON.parse(readFileSync(path, 'utf8')); if (store?.sessions) return store; } catch { /* absent or corrupt */ }
|
|
14
|
+
return { seq: 0, sessions: {} };
|
|
15
|
+
}
|
|
16
|
+
export function saveSession(id) {
|
|
17
|
+
const path = storePath();
|
|
18
|
+
if (!path) return;
|
|
19
|
+
const store = readStore(path);
|
|
20
|
+
store.sessions[id] = { id };
|
|
21
|
+
mkdirSync(dirname(path), { recursive: true });
|
|
22
|
+
writeFileSync(path, JSON.stringify(store));
|
|
23
|
+
}
|
|
24
|
+
/** The CLI refuses a session it does not hold, such as one the retired registry server saved. */
|
|
25
|
+
export function knownSession(id) {
|
|
26
|
+
if (id === 'registry-session') return false;
|
|
27
|
+
const path = storePath();
|
|
28
|
+
if (!path) return true;
|
|
29
|
+
return existsSync(path) && Boolean(readStore(path).sessions[id]);
|
|
30
|
+
}
|