@hearsay-tools/squawk 0.18.0-pr4013.7673 → 0.18.0-pr4019.7680
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 +46 -46
- package/dist/ci-wait/tools.d.ts +4 -4
- package/dist/delegation/routes.d.ts +79 -79
- package/dist/delegation/transport.d.ts +79 -79
- package/dist/runners/antigravity/antigravity-model-catalog.js +14 -6
- package/dist/runners/antigravity/antigravity-model-catalog.js.map +1 -1
- package/dist/runners/antigravity/antigravity-session.js +6 -4
- package/dist/runners/antigravity/antigravity-session.js.map +1 -1
- package/dist/runners/antigravity/catalog-home.d.ts +2 -0
- package/dist/runners/antigravity/catalog-home.js +23 -0
- package/dist/runners/antigravity/catalog-home.js.map +1 -0
- package/dist/runners/antigravity/stderr.d.ts +2 -0
- package/dist/runners/antigravity/stderr.js +15 -0
- package/dist/runners/antigravity/stderr.js.map +1 -0
- package/dist/server/models-routes.d.ts +13 -13
- package/dist/server/server.d.ts +6 -6
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/package.json +4 -4
- package/scripts/mock-acp.mjs +12 -1
- package/scripts/mock-antigravity-auth.mjs +12 -2
- package/web/dist/assets/{activity-motion-D9kDOQdA.js → activity-motion-DjV4Xoms.js} +1 -1
- package/web/dist/assets/{activity-route-CZsGE2kr.js → activity-route-CeDmVBg_.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-BuON_M0j.js → commit-diff-panel-BkPuLrzW.js} +1 -1
- package/web/dist/assets/{diff-Db5bcfH_.js → diff-BBZcIIOt.js} +2 -2
- package/web/dist/assets/{diff-view-DqlLiU5V.js → diff-view-DUNXpfvw.js} +1 -1
- package/web/dist/assets/{file-preview-DSnLzP2A.js → file-preview-QFfT9j-q.js} +1 -1
- package/web/dist/assets/{git-toolbar-WHsIb3zj.js → git-toolbar-Bd54EFZj.js} +1 -1
- package/web/dist/assets/{github-BZSy7bl0.js → github-D1ZGYZ6k.js} +1 -1
- package/web/dist/assets/{global-activity-route-BPvST6Do.js → global-activity-route-BVmBGVep.js} +1 -1
- package/web/dist/assets/{index-DmUnZuj2.js → index-Eo2qZksq.js} +5 -5
- package/web/dist/assets/{markdown-EqokmdNx.js → markdown-B6DqG9Ie.js} +1 -1
- package/web/dist/assets/{picker-pill-DP8YY8yK.js → picker-pill-Dbb3GY1a.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-DePVzNAm.js → preview-pane-connected-DHH1E04c.js} +1 -1
- package/web/dist/assets/{prompt-template-menu-DhXONhoB.js → prompt-template-menu-Dc2ufWt7.js} +1 -1
- package/web/dist/assets/{repo-git-CWn2Z4Un.js → repo-git-DyuGJJ8w.js} +1 -1
- package/web/dist/assets/{report-reader-RkXaRhiv.js → report-reader-TX7SV7cO.js} +1 -1
- package/web/dist/assets/{reports-CiU1cLpn.js → reports-DC4T6nCI.js} +1 -1
- package/web/dist/assets/{run-header-z48y-i75.js → run-header-CZANvy6Z.js} +1 -1
- package/web/dist/assets/{skills-BeZ9naR_.js → skills-DAe4cSA-.js} +1 -1
- package/web/dist/assets/{task-changes-R9UrXbyp.js → task-changes-Fj_aEo7v.js} +1 -1
- package/web/dist/assets/{task-commits-BgwKBJPa.js → task-commits-B0Ezfa9a.js} +1 -1
- package/web/dist/assets/{task-files-BuoYB5UQ.js → task-files-HfwuKxjl.js} +1 -1
- package/web/dist/assets/{task-github-item-DQ_suCNz.js → task-github-item-B8bv9VSp.js} +1 -1
- package/web/dist/assets/{task-thread-B7GO7yjQ.js → task-thread-Bm755mTM.js} +1 -1
- package/web/dist/assets/{thread-state-DSb5VKd8.js → thread-state-CJEzn845.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-C6FNQ2e0.js → use-hand-to-agent-state-CUbaxdrd.js} +1 -1
- package/web/dist/assets/{workflows-b6WsU1qg.js → workflows-DMaQulmN.js} +1 -1
- package/web/dist/index.html +3 -3
|
@@ -285,11 +285,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
285
285
|
"/api/v1/tools/ask": {
|
|
286
286
|
$post: {
|
|
287
287
|
output: {
|
|
288
|
-
|
|
288
|
+
ok: false;
|
|
289
|
+
code: 'unavailable';
|
|
289
290
|
message: string;
|
|
290
291
|
};
|
|
291
292
|
outputFormat: "json";
|
|
292
|
-
status:
|
|
293
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
293
294
|
input: {
|
|
294
295
|
json: {
|
|
295
296
|
questions: {
|
|
@@ -308,12 +309,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
308
309
|
};
|
|
309
310
|
} | {
|
|
310
311
|
output: {
|
|
311
|
-
|
|
312
|
-
code: 'unavailable';
|
|
312
|
+
code: 'capability_revoked';
|
|
313
313
|
message: string;
|
|
314
314
|
};
|
|
315
315
|
outputFormat: "json";
|
|
316
|
-
status:
|
|
316
|
+
status: 401;
|
|
317
317
|
input: {
|
|
318
318
|
json: {
|
|
319
319
|
questions: {
|
|
@@ -383,11 +383,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
383
383
|
"/api/v1/tools/cancel-wait": {
|
|
384
384
|
$post: {
|
|
385
385
|
output: {
|
|
386
|
-
|
|
386
|
+
cancelled: false;
|
|
387
|
+
code: 'unavailable';
|
|
387
388
|
message: string;
|
|
388
389
|
};
|
|
389
390
|
outputFormat: "json";
|
|
390
|
-
status:
|
|
391
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
391
392
|
input: {
|
|
392
393
|
json: {
|
|
393
394
|
wait_id: string;
|
|
@@ -395,12 +396,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
395
396
|
};
|
|
396
397
|
} | {
|
|
397
398
|
output: {
|
|
398
|
-
|
|
399
|
-
code: 'unavailable';
|
|
399
|
+
code: 'capability_revoked';
|
|
400
400
|
message: string;
|
|
401
401
|
};
|
|
402
402
|
outputFormat: "json";
|
|
403
|
-
status:
|
|
403
|
+
status: 401;
|
|
404
404
|
input: {
|
|
405
405
|
json: {
|
|
406
406
|
wait_id: string;
|
|
@@ -448,11 +448,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
448
448
|
"/api/v1/tools/done": {
|
|
449
449
|
$post: {
|
|
450
450
|
output: {
|
|
451
|
-
|
|
451
|
+
ok: false;
|
|
452
|
+
code: 'unavailable';
|
|
452
453
|
message: string;
|
|
453
454
|
};
|
|
454
455
|
outputFormat: "json";
|
|
455
|
-
status:
|
|
456
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
456
457
|
input: {
|
|
457
458
|
json: {
|
|
458
459
|
summary?: string | undefined;
|
|
@@ -460,12 +461,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
460
461
|
};
|
|
461
462
|
} | {
|
|
462
463
|
output: {
|
|
463
|
-
|
|
464
|
-
code: 'unavailable';
|
|
464
|
+
code: 'capability_revoked';
|
|
465
465
|
message: string;
|
|
466
466
|
};
|
|
467
467
|
outputFormat: "json";
|
|
468
|
-
status:
|
|
468
|
+
status: 401;
|
|
469
469
|
input: {
|
|
470
470
|
json: {
|
|
471
471
|
summary?: string | undefined;
|
|
@@ -548,11 +548,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
548
548
|
"/api/v1/tools/preview-stop": {
|
|
549
549
|
$post: {
|
|
550
550
|
output: {
|
|
551
|
-
|
|
551
|
+
ok: boolean;
|
|
552
|
+
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
552
553
|
message: string;
|
|
554
|
+
hint: string;
|
|
553
555
|
};
|
|
554
556
|
outputFormat: "json";
|
|
555
|
-
status:
|
|
557
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
556
558
|
input: {
|
|
557
559
|
json: {
|
|
558
560
|
port: number;
|
|
@@ -561,13 +563,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
561
563
|
};
|
|
562
564
|
} | {
|
|
563
565
|
output: {
|
|
564
|
-
|
|
565
|
-
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
566
|
+
code: 'capability_revoked';
|
|
566
567
|
message: string;
|
|
567
|
-
hint: string;
|
|
568
568
|
};
|
|
569
569
|
outputFormat: "json";
|
|
570
|
-
status:
|
|
570
|
+
status: 401;
|
|
571
571
|
input: {
|
|
572
572
|
json: {
|
|
573
573
|
port: number;
|
|
@@ -580,11 +580,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
580
580
|
"/api/v1/tools/preview-serve": {
|
|
581
581
|
$post: {
|
|
582
582
|
output: {
|
|
583
|
-
|
|
583
|
+
ok: boolean;
|
|
584
|
+
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
584
585
|
message: string;
|
|
586
|
+
hint: string;
|
|
585
587
|
};
|
|
586
588
|
outputFormat: "json";
|
|
587
|
-
status:
|
|
589
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
588
590
|
input: {
|
|
589
591
|
json: {
|
|
590
592
|
command: string;
|
|
@@ -596,13 +598,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
596
598
|
};
|
|
597
599
|
} | {
|
|
598
600
|
output: {
|
|
599
|
-
|
|
600
|
-
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
601
|
+
code: 'capability_revoked';
|
|
601
602
|
message: string;
|
|
602
|
-
hint: string;
|
|
603
603
|
};
|
|
604
604
|
outputFormat: "json";
|
|
605
|
-
status:
|
|
605
|
+
status: 401;
|
|
606
606
|
input: {
|
|
607
607
|
json: {
|
|
608
608
|
command: string;
|
|
@@ -618,11 +618,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
618
618
|
"/api/v1/tools/automation": {
|
|
619
619
|
$post: {
|
|
620
620
|
output: {
|
|
621
|
-
|
|
621
|
+
ok: false;
|
|
622
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
622
623
|
message: string;
|
|
623
624
|
};
|
|
624
625
|
outputFormat: "json";
|
|
625
|
-
status:
|
|
626
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
626
627
|
input: {
|
|
627
628
|
json: {
|
|
628
629
|
action: "create";
|
|
@@ -702,12 +703,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
702
703
|
};
|
|
703
704
|
} | {
|
|
704
705
|
output: {
|
|
705
|
-
|
|
706
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
706
|
+
code: 'capability_revoked';
|
|
707
707
|
message: string;
|
|
708
708
|
};
|
|
709
709
|
outputFormat: "json";
|
|
710
|
-
status:
|
|
710
|
+
status: 401;
|
|
711
711
|
input: {
|
|
712
712
|
json: {
|
|
713
713
|
action: "create";
|
|
@@ -963,11 +963,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
963
963
|
"/api/v1/tools/schedule-task": {
|
|
964
964
|
$post: {
|
|
965
965
|
output: {
|
|
966
|
-
|
|
966
|
+
ok: false;
|
|
967
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
967
968
|
message: string;
|
|
968
969
|
};
|
|
969
970
|
outputFormat: "json";
|
|
970
|
-
status:
|
|
971
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
971
972
|
input: {
|
|
972
973
|
json: {
|
|
973
974
|
at?: string | undefined;
|
|
@@ -984,12 +985,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
984
985
|
};
|
|
985
986
|
} | {
|
|
986
987
|
output: {
|
|
987
|
-
|
|
988
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
988
|
+
code: 'capability_revoked';
|
|
989
989
|
message: string;
|
|
990
990
|
};
|
|
991
991
|
outputFormat: "json";
|
|
992
|
-
status:
|
|
992
|
+
status: 401;
|
|
993
993
|
input: {
|
|
994
994
|
json: {
|
|
995
995
|
at?: string | undefined;
|
|
@@ -1006,10 +1006,6 @@ 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
|
-
} | {
|
|
1013
1009
|
ok: true;
|
|
1014
1010
|
task: {
|
|
1015
1011
|
id: string;
|
|
@@ -1021,6 +1017,10 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1021
1017
|
url?: string | undefined;
|
|
1022
1018
|
};
|
|
1023
1019
|
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;
|
|
@@ -1044,11 +1044,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1044
1044
|
"/api/v1/tools/scheduled-tasks": {
|
|
1045
1045
|
$post: {
|
|
1046
1046
|
output: {
|
|
1047
|
-
|
|
1047
|
+
ok: false;
|
|
1048
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1048
1049
|
message: string;
|
|
1049
1050
|
};
|
|
1050
1051
|
outputFormat: "json";
|
|
1051
|
-
status:
|
|
1052
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1052
1053
|
input: {
|
|
1053
1054
|
json: {
|
|
1054
1055
|
at?: string | undefined;
|
|
@@ -1081,12 +1082,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1081
1082
|
};
|
|
1082
1083
|
} | {
|
|
1083
1084
|
output: {
|
|
1084
|
-
|
|
1085
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1085
|
+
code: 'capability_revoked';
|
|
1086
1086
|
message: string;
|
|
1087
1087
|
};
|
|
1088
1088
|
outputFormat: "json";
|
|
1089
|
-
status:
|
|
1089
|
+
status: 401;
|
|
1090
1090
|
input: {
|
|
1091
1091
|
json: {
|
|
1092
1092
|
at?: string | undefined;
|
package/dist/ci-wait/tools.d.ts
CHANGED
|
@@ -263,6 +263,10 @@ export declare function invokeScheduleTaskTool(input: unknown): Promise<{
|
|
|
263
263
|
}[];
|
|
264
264
|
isError: boolean;
|
|
265
265
|
details: {
|
|
266
|
+
ok: false;
|
|
267
|
+
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
268
|
+
message: string;
|
|
269
|
+
} | {
|
|
266
270
|
ok: true;
|
|
267
271
|
task: {
|
|
268
272
|
id: string;
|
|
@@ -274,10 +278,6 @@ export declare function invokeScheduleTaskTool(input: unknown): Promise<{
|
|
|
274
278
|
url?: string | undefined;
|
|
275
279
|
};
|
|
276
280
|
note: string;
|
|
277
|
-
} | {
|
|
278
|
-
ok: false;
|
|
279
|
-
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
280
|
-
message: string;
|
|
281
281
|
};
|
|
282
282
|
}>;
|
|
283
283
|
export declare function invokeScheduledTasksTool(input: unknown): Promise<{
|
|
@@ -27,18 +27,6 @@ export declare function delegationFailure(error: unknown): {
|
|
|
27
27
|
export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
|
|
28
28
|
"/list": {
|
|
29
29
|
$get: {
|
|
30
|
-
output: {
|
|
31
|
-
error: string;
|
|
32
|
-
code?: "invalid_input" | undefined;
|
|
33
|
-
};
|
|
34
|
-
outputFormat: "json";
|
|
35
|
-
status: 400;
|
|
36
|
-
input: {
|
|
37
|
-
query: {
|
|
38
|
-
offset?: string | undefined;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
} | {
|
|
42
30
|
output: {
|
|
43
31
|
workers: {
|
|
44
32
|
workerId: string;
|
|
@@ -85,22 +73,24 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
85
73
|
offset?: string | undefined;
|
|
86
74
|
};
|
|
87
75
|
};
|
|
76
|
+
} | {
|
|
77
|
+
output: {
|
|
78
|
+
error: string;
|
|
79
|
+
code?: "invalid_input" | undefined;
|
|
80
|
+
};
|
|
81
|
+
outputFormat: "json";
|
|
82
|
+
status: 400;
|
|
83
|
+
input: {
|
|
84
|
+
query: {
|
|
85
|
+
offset?: string | undefined;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
} & {
|
|
91
91
|
"/discover": {
|
|
92
92
|
$post: {
|
|
93
93
|
output: {
|
|
94
|
-
scope: "host-default-account";
|
|
95
|
-
runners: {
|
|
96
|
-
requiresAccountHome?: boolean | undefined;
|
|
97
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
98
|
-
enabled?: boolean | undefined;
|
|
99
|
-
hint?: string | undefined;
|
|
100
|
-
authFailureId?: string | undefined;
|
|
101
|
-
runner: string;
|
|
102
|
-
}[];
|
|
103
|
-
} | {
|
|
104
94
|
tasks: {
|
|
105
95
|
id: string;
|
|
106
96
|
title: string;
|
|
@@ -112,6 +102,16 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
112
102
|
reason?: string | undefined;
|
|
113
103
|
}[];
|
|
114
104
|
nextOffset?: number | undefined;
|
|
105
|
+
} | {
|
|
106
|
+
scope: "host-default-account";
|
|
107
|
+
runners: {
|
|
108
|
+
requiresAccountHome?: boolean | undefined;
|
|
109
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
110
|
+
enabled?: boolean | undefined;
|
|
111
|
+
hint?: string | undefined;
|
|
112
|
+
authFailureId?: string | undefined;
|
|
113
|
+
runner: string;
|
|
114
|
+
}[];
|
|
115
115
|
} | {
|
|
116
116
|
runner: string;
|
|
117
117
|
models: {
|
|
@@ -232,13 +232,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
232
232
|
status: 200;
|
|
233
233
|
input: {
|
|
234
234
|
json: {
|
|
235
|
-
workerIds: string[];
|
|
236
|
-
timeoutSeconds?: number | undefined;
|
|
237
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
238
|
-
} | {
|
|
239
235
|
requestIds: string[];
|
|
240
236
|
mode?: "all" | "any" | "one" | undefined;
|
|
241
237
|
timeoutSeconds?: number | undefined;
|
|
238
|
+
} | {
|
|
239
|
+
workerIds: string[];
|
|
240
|
+
timeoutSeconds?: number | undefined;
|
|
241
|
+
mode?: "all" | "any" | "one" | undefined;
|
|
242
242
|
} | {
|
|
243
243
|
peerIds: string[];
|
|
244
244
|
timeoutSeconds?: number | undefined;
|
|
@@ -629,18 +629,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
629
629
|
} & {
|
|
630
630
|
"/:workerId": {
|
|
631
631
|
$get: {
|
|
632
|
-
output: {
|
|
633
|
-
error: string;
|
|
634
|
-
code?: "invalid_input" | undefined;
|
|
635
|
-
};
|
|
636
|
-
outputFormat: "json";
|
|
637
|
-
status: 400;
|
|
638
|
-
input: {
|
|
639
|
-
param: {
|
|
640
|
-
workerId: string;
|
|
641
|
-
};
|
|
642
|
-
};
|
|
643
|
-
} | {
|
|
644
632
|
output: {
|
|
645
633
|
workerId: string;
|
|
646
634
|
settled: boolean;
|
|
@@ -758,11 +746,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
758
746
|
workerId: string;
|
|
759
747
|
};
|
|
760
748
|
};
|
|
761
|
-
}
|
|
762
|
-
};
|
|
763
|
-
} & {
|
|
764
|
-
"/:workerId/collect": {
|
|
765
|
-
$post: {
|
|
749
|
+
} | {
|
|
766
750
|
output: {
|
|
767
751
|
error: string;
|
|
768
752
|
code?: "invalid_input" | undefined;
|
|
@@ -773,10 +757,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
773
757
|
param: {
|
|
774
758
|
workerId: string;
|
|
775
759
|
};
|
|
776
|
-
} & {
|
|
777
|
-
json: Record<string, never>;
|
|
778
760
|
};
|
|
779
|
-
}
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
} & {
|
|
764
|
+
"/:workerId/collect": {
|
|
765
|
+
$post: {
|
|
780
766
|
output: {
|
|
781
767
|
workerId: string;
|
|
782
768
|
parentRunId: string;
|
|
@@ -899,11 +885,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
899
885
|
} & {
|
|
900
886
|
json: Record<string, never>;
|
|
901
887
|
};
|
|
902
|
-
}
|
|
903
|
-
};
|
|
904
|
-
} & {
|
|
905
|
-
"/:workerId/steer": {
|
|
906
|
-
$post: {
|
|
888
|
+
} | {
|
|
907
889
|
output: {
|
|
908
890
|
error: string;
|
|
909
891
|
code?: "invalid_input" | undefined;
|
|
@@ -915,11 +897,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
915
897
|
workerId: string;
|
|
916
898
|
};
|
|
917
899
|
} & {
|
|
918
|
-
json:
|
|
919
|
-
text: string;
|
|
920
|
-
};
|
|
900
|
+
json: Record<string, never>;
|
|
921
901
|
};
|
|
922
|
-
}
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
} & {
|
|
905
|
+
"/:workerId/steer": {
|
|
906
|
+
$post: {
|
|
923
907
|
output: {
|
|
924
908
|
workerId: string;
|
|
925
909
|
state: "delivered" | "queued";
|
|
@@ -935,11 +919,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
935
919
|
text: string;
|
|
936
920
|
};
|
|
937
921
|
};
|
|
938
|
-
}
|
|
939
|
-
};
|
|
940
|
-
} & {
|
|
941
|
-
"/:workerId/stop": {
|
|
942
|
-
$post: {
|
|
922
|
+
} | {
|
|
943
923
|
output: {
|
|
944
924
|
error: string;
|
|
945
925
|
code?: "invalid_input" | undefined;
|
|
@@ -951,9 +931,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
951
931
|
workerId: string;
|
|
952
932
|
};
|
|
953
933
|
} & {
|
|
954
|
-
json:
|
|
934
|
+
json: {
|
|
935
|
+
text: string;
|
|
936
|
+
};
|
|
955
937
|
};
|
|
956
|
-
}
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
} & {
|
|
941
|
+
"/:workerId/stop": {
|
|
942
|
+
$post: {
|
|
957
943
|
output: {
|
|
958
944
|
workerId: string;
|
|
959
945
|
state: "stopping" | "terminated";
|
|
@@ -967,11 +953,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
967
953
|
} & {
|
|
968
954
|
json: Record<string, never>;
|
|
969
955
|
};
|
|
970
|
-
}
|
|
971
|
-
};
|
|
972
|
-
} & {
|
|
973
|
-
"/:workerId/destroy": {
|
|
974
|
-
$post: {
|
|
956
|
+
} | {
|
|
975
957
|
output: {
|
|
976
958
|
error: string;
|
|
977
959
|
code?: "invalid_input" | undefined;
|
|
@@ -983,11 +965,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
983
965
|
workerId: string;
|
|
984
966
|
};
|
|
985
967
|
} & {
|
|
986
|
-
json:
|
|
987
|
-
discardWork?: true | undefined;
|
|
988
|
-
};
|
|
968
|
+
json: Record<string, never>;
|
|
989
969
|
};
|
|
990
|
-
}
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
} & {
|
|
973
|
+
"/:workerId/destroy": {
|
|
974
|
+
$post: {
|
|
991
975
|
output: {
|
|
992
976
|
workerId: string;
|
|
993
977
|
state: "complete" | "incomplete";
|
|
@@ -1016,6 +1000,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1016
1000
|
discardWork?: true | undefined;
|
|
1017
1001
|
};
|
|
1018
1002
|
};
|
|
1003
|
+
} | {
|
|
1004
|
+
output: {
|
|
1005
|
+
error: string;
|
|
1006
|
+
code?: "invalid_input" | undefined;
|
|
1007
|
+
};
|
|
1008
|
+
outputFormat: "json";
|
|
1009
|
+
status: 400;
|
|
1010
|
+
input: {
|
|
1011
|
+
param: {
|
|
1012
|
+
workerId: string;
|
|
1013
|
+
};
|
|
1014
|
+
} & {
|
|
1015
|
+
json: {
|
|
1016
|
+
discardWork?: true | undefined;
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
1019
|
} | {
|
|
1020
1020
|
output: {
|
|
1021
1021
|
workerId: string;
|
|
@@ -1051,11 +1051,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1051
1051
|
"/:workerId/diff": {
|
|
1052
1052
|
$get: {
|
|
1053
1053
|
output: {
|
|
1054
|
-
|
|
1055
|
-
|
|
1054
|
+
workerId: string;
|
|
1055
|
+
baselineSha: string;
|
|
1056
|
+
diff: string;
|
|
1057
|
+
truncated: boolean;
|
|
1056
1058
|
};
|
|
1057
1059
|
outputFormat: "json";
|
|
1058
|
-
status:
|
|
1060
|
+
status: 200;
|
|
1059
1061
|
input: {
|
|
1060
1062
|
param: {
|
|
1061
1063
|
workerId: string;
|
|
@@ -1063,13 +1065,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1063
1065
|
};
|
|
1064
1066
|
} | {
|
|
1065
1067
|
output: {
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
diff: string;
|
|
1069
|
-
truncated: boolean;
|
|
1068
|
+
error: string;
|
|
1069
|
+
code?: "invalid_input" | undefined;
|
|
1070
1070
|
};
|
|
1071
1071
|
outputFormat: "json";
|
|
1072
|
-
status:
|
|
1072
|
+
status: 400;
|
|
1073
1073
|
input: {
|
|
1074
1074
|
param: {
|
|
1075
1075
|
workerId: string;
|