@hearsay-tools/squawk 0.18.0-pr3796.7091 → 0.18.0-pr3799.7095
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 +42 -42
- package/dist/delegation/transport.d.ts +62 -62
- package/dist/server/server.d.ts +1744 -1946
- package/dist/server/server.js +1 -20
- package/dist/server/server.js.map +1 -1
- package/package.json +4 -4
- package/scripts/mock-skill-fixtures.d.mts +11 -0
- package/scripts/mock-skill-fixtures.mjs +52 -0
- package/scripts/mock-skill-list.mjs +7 -1
- package/web/dist/assets/activity-motion-YVMdTv1H.js +2 -0
- package/web/dist/assets/{activity-route-KsJ3FdWd.js → activity-route-Bd9LuD0o.js} +1 -1
- package/web/dist/assets/agent-accounts-DetCQbKD.js +1 -0
- package/web/dist/assets/attention-Bs96zuwc.js +1 -0
- package/web/dist/assets/{cez-idle-D49bY6KR.js → cez-idle-CnPEf2T2.js} +1 -1
- package/web/dist/assets/{chunk-BO2N2NFS-DE6qKn3r.js → chunk-BO2N2NFS-CM5F_Wdn.js} +17 -17
- package/web/dist/assets/{commit-diff-panel-DGjLiAVs.js → commit-diff-panel-BY9ItExV.js} +1 -1
- package/web/dist/assets/{core-BCsw8oQw.js → core-DzoyrHjB.js} +2 -2
- package/web/dist/assets/{design-icons-DmYTv2r1.js → design-icons-B6-0w7Aw.js} +1 -1
- package/web/dist/assets/dialog-tMSuX5a7.js +1 -0
- package/web/dist/assets/{diff-controls-CeYlCm_y.js → diff-controls-fOOHkbPK.js} +1 -1
- package/web/dist/assets/diff-nSqnAkNf.js +3 -0
- package/web/dist/assets/{diff-view-lTo0JT2v.js → diff-view-Bp_dyecW.js} +5 -5
- package/web/dist/assets/dist-CwBtGUlU.js +1 -0
- package/web/dist/assets/dropdown-menu-CzUYjvx4.js +1 -0
- package/web/dist/assets/file-preview-Dkl6S-Ej.js +2 -0
- package/web/dist/assets/{git-toolbar-ChgRC3vR.js → git-toolbar-xd4qbEj6.js} +1 -1
- package/web/dist/assets/github-DRMN6FYi.js +1 -0
- package/web/dist/assets/{global-activity-route-lHJSxyik.js → global-activity-route-BMBowNcw.js} +1 -1
- package/web/dist/assets/{highlighted-body-OFNGDK62-BL-MfFgl.js → highlighted-body-OFNGDK62-D2OLwPBs.js} +1 -1
- package/web/dist/assets/index-BhQ7JeB6.css +1 -0
- package/web/dist/assets/index-QM9AFNSj.js +14 -0
- package/web/dist/assets/lib-DrPFkMXk.js +1 -0
- package/web/dist/assets/{live-protocol-DHEBTIRD.js → live-protocol-C_Z-JQOy.js} +1 -1
- package/web/dist/assets/markdown-CZVLEjwk.js +4 -0
- package/web/dist/assets/mermaid-GHXKKRXX-DCw6rSYC.js +1 -0
- package/web/dist/assets/picker-pill-DKbLlGPr.js +18 -0
- package/web/dist/assets/{preview-pane-connected-Cpc-OIBO.js → preview-pane-connected-DCz8ZSjW.js} +3 -3
- package/web/dist/assets/{project-router-RpJixuMl.js → project-router-D5aSJsZ7.js} +1 -1
- package/web/dist/assets/project-scope-context-BUXmC8my.js +4 -0
- package/web/dist/assets/prompt-template-menu-De-8v5io.js +1 -0
- package/web/dist/assets/queries-DkipLnOL.js +1 -0
- package/web/dist/assets/{reference-chip-CZ88WX7M.js → reference-chip-BVB5YsfP.js} +1 -1
- package/web/dist/assets/repo-git-BdRmck7y.js +1 -0
- package/web/dist/assets/report-reader-C8_2WEz6.js +1 -0
- package/web/dist/assets/reports-DxAL6BCk.js +1 -0
- package/web/dist/assets/run-header-Dhh86q4A.js +2 -0
- package/web/dist/assets/skills-C49LGb-4.js +1 -0
- package/web/dist/assets/skills-pM_PouEs.js +1 -0
- package/web/dist/assets/{tab-link-BT6RV1JN.js → tab-link-BTFjRC1e.js} +1 -1
- package/web/dist/assets/task-changes-B0oxkbcW.js +1 -0
- package/web/dist/assets/{task-commits-yRo6PLOs.js → task-commits-DDZcksfZ.js} +1 -1
- package/web/dist/assets/task-files-BTj0Ehlx.js +1 -0
- package/web/dist/assets/{task-github-item-aysyirC9.js → task-github-item-y1rABsg2.js} +1 -1
- package/web/dist/assets/task-thread-CaRlk42s.js +9 -0
- package/web/dist/assets/{thread-state-CbZJSZ8d.js → thread-state-BE9onTdO.js} +1 -1
- package/web/dist/assets/{use-desktop-DXVYKnpA.js → use-desktop-DWhNBxlY.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-D_Yp8YT9.js +1 -0
- package/web/dist/assets/{useInfiniteQuery-hcJtqg7r.js → useInfiniteQuery-0WCd35C5.js} +1 -1
- package/web/dist/assets/useQuery-BifRjEjr.js +1 -0
- package/web/dist/assets/workflows-BN66M7yw.js +7 -0
- package/web/dist/assets/workflows-C21NystW.css +1 -0
- package/web/dist/assets/{ws-DUd04kII.js → ws-DJraxHk2.js} +1 -1
- package/web/dist/index.html +21 -23
- package/web/dist/live-worker.js +1 -1
- package/scripts/profile-lint.ts +0 -132
- package/web/dist/assets/activity-motion-xKVlnR0q.js +0 -2
- package/web/dist/assets/agent-accounts-CEmxoU4C.js +0 -18
- package/web/dist/assets/alert-dialog-CH4SXGfX.js +0 -1
- package/web/dist/assets/attention-D0gSE5Rr.js +0 -1
- package/web/dist/assets/dialog-B7p5oc5r.js +0 -1
- package/web/dist/assets/diff-CsyHTaL2.js +0 -3
- package/web/dist/assets/dist-ClnpAEgV.js +0 -1
- package/web/dist/assets/dropdown-menu-DPrTX-zi.js +0 -1
- package/web/dist/assets/file-preview-Dq54dro7.js +0 -2
- package/web/dist/assets/github-BnwdgVET.js +0 -1
- package/web/dist/assets/index-Ci54Zqis.css +0 -1
- package/web/dist/assets/index-ZXr4fght.js +0 -17
- package/web/dist/assets/lib-BxQXEXDF.js +0 -1
- package/web/dist/assets/mermaid-GHXKKRXX-C4jxqUUb.js +0 -1
- package/web/dist/assets/project-scope-context-Cs9K5L24.js +0 -4
- package/web/dist/assets/prompt-template-menu-35CQbC0C.js +0 -1
- package/web/dist/assets/queries-CU1rdCnf.js +0 -1
- package/web/dist/assets/repo-git-BQRXiSQc.js +0 -1
- package/web/dist/assets/report-reader-B90i10fL.js +0 -1
- package/web/dist/assets/reports-DHccd243.js +0 -1
- package/web/dist/assets/run-header-B1Mhp48O.js +0 -2
- package/web/dist/assets/skill-empty-hint-YDmkqgo-.js +0 -1
- package/web/dist/assets/skills-9eRk7nNW.js +0 -1
- package/web/dist/assets/skills-DFBiAuJG.js +0 -1
- package/web/dist/assets/task-changes-D0x55i9H.js +0 -1
- package/web/dist/assets/task-files-DxDEn0jU.js +0 -1
- package/web/dist/assets/task-thread-CFw63WOG.js +0 -9
- package/web/dist/assets/use-hand-to-agent-state-CPCd0vCN.js +0 -1
- package/web/dist/assets/useQuery-DeFHpzJJ.js +0 -1
- package/web/dist/assets/workflows-DMUcQeqG.js +0 -7
|
@@ -282,12 +282,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
282
282
|
"/api/v1/tools/ask": {
|
|
283
283
|
$post: {
|
|
284
284
|
output: {
|
|
285
|
-
|
|
286
|
-
code: 'unavailable';
|
|
285
|
+
code: 'capability_revoked';
|
|
287
286
|
message: string;
|
|
288
287
|
};
|
|
289
288
|
outputFormat: "json";
|
|
290
|
-
status:
|
|
289
|
+
status: 401;
|
|
291
290
|
input: {
|
|
292
291
|
json: {
|
|
293
292
|
questions: {
|
|
@@ -305,11 +304,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
305
304
|
};
|
|
306
305
|
} | {
|
|
307
306
|
output: {
|
|
308
|
-
|
|
307
|
+
ok: false;
|
|
308
|
+
code: 'unavailable';
|
|
309
309
|
message: string;
|
|
310
310
|
};
|
|
311
311
|
outputFormat: "json";
|
|
312
|
-
status:
|
|
312
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
313
313
|
input: {
|
|
314
314
|
json: {
|
|
315
315
|
questions: {
|
|
@@ -377,12 +377,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
377
377
|
"/api/v1/tools/cancel-wait": {
|
|
378
378
|
$post: {
|
|
379
379
|
output: {
|
|
380
|
-
|
|
381
|
-
code: 'unavailable';
|
|
380
|
+
code: 'capability_revoked';
|
|
382
381
|
message: string;
|
|
383
382
|
};
|
|
384
383
|
outputFormat: "json";
|
|
385
|
-
status:
|
|
384
|
+
status: 401;
|
|
386
385
|
input: {
|
|
387
386
|
json: {
|
|
388
387
|
wait_id: string;
|
|
@@ -390,11 +389,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
390
389
|
};
|
|
391
390
|
} | {
|
|
392
391
|
output: {
|
|
393
|
-
|
|
392
|
+
cancelled: false;
|
|
393
|
+
code: 'unavailable';
|
|
394
394
|
message: string;
|
|
395
395
|
};
|
|
396
396
|
outputFormat: "json";
|
|
397
|
-
status:
|
|
397
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
398
398
|
input: {
|
|
399
399
|
json: {
|
|
400
400
|
wait_id: string;
|
|
@@ -442,12 +442,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
442
442
|
"/api/v1/tools/done": {
|
|
443
443
|
$post: {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
446
|
-
code: 'unavailable';
|
|
445
|
+
code: 'capability_revoked';
|
|
447
446
|
message: string;
|
|
448
447
|
};
|
|
449
448
|
outputFormat: "json";
|
|
450
|
-
status:
|
|
449
|
+
status: 401;
|
|
451
450
|
input: {
|
|
452
451
|
json: {
|
|
453
452
|
summary?: string | undefined;
|
|
@@ -455,11 +454,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
455
454
|
};
|
|
456
455
|
} | {
|
|
457
456
|
output: {
|
|
458
|
-
|
|
457
|
+
ok: false;
|
|
458
|
+
code: 'unavailable';
|
|
459
459
|
message: string;
|
|
460
460
|
};
|
|
461
461
|
outputFormat: "json";
|
|
462
|
-
status:
|
|
462
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
463
463
|
input: {
|
|
464
464
|
json: {
|
|
465
465
|
summary?: string | undefined;
|
|
@@ -542,13 +542,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
542
542
|
"/api/v1/tools/preview-stop": {
|
|
543
543
|
$post: {
|
|
544
544
|
output: {
|
|
545
|
-
|
|
546
|
-
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
545
|
+
code: 'capability_revoked';
|
|
547
546
|
message: string;
|
|
548
|
-
hint: string;
|
|
549
547
|
};
|
|
550
548
|
outputFormat: "json";
|
|
551
|
-
status:
|
|
549
|
+
status: 401;
|
|
552
550
|
input: {
|
|
553
551
|
json: {
|
|
554
552
|
port: number;
|
|
@@ -557,11 +555,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
557
555
|
};
|
|
558
556
|
} | {
|
|
559
557
|
output: {
|
|
560
|
-
|
|
558
|
+
ok: boolean;
|
|
559
|
+
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
561
560
|
message: string;
|
|
561
|
+
hint: string;
|
|
562
562
|
};
|
|
563
563
|
outputFormat: "json";
|
|
564
|
-
status:
|
|
564
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
565
565
|
input: {
|
|
566
566
|
json: {
|
|
567
567
|
port: number;
|
|
@@ -574,13 +574,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
574
574
|
"/api/v1/tools/preview-serve": {
|
|
575
575
|
$post: {
|
|
576
576
|
output: {
|
|
577
|
-
|
|
578
|
-
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
577
|
+
code: 'capability_revoked';
|
|
579
578
|
message: string;
|
|
580
|
-
hint: string;
|
|
581
579
|
};
|
|
582
580
|
outputFormat: "json";
|
|
583
|
-
status:
|
|
581
|
+
status: 401;
|
|
584
582
|
input: {
|
|
585
583
|
json: {
|
|
586
584
|
command: string;
|
|
@@ -592,11 +590,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
592
590
|
};
|
|
593
591
|
} | {
|
|
594
592
|
output: {
|
|
595
|
-
|
|
593
|
+
ok: boolean;
|
|
594
|
+
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
596
595
|
message: string;
|
|
596
|
+
hint: string;
|
|
597
597
|
};
|
|
598
598
|
outputFormat: "json";
|
|
599
|
-
status:
|
|
599
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
600
600
|
input: {
|
|
601
601
|
json: {
|
|
602
602
|
command: string;
|
|
@@ -612,12 +612,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
612
612
|
"/api/v1/tools/automation": {
|
|
613
613
|
$post: {
|
|
614
614
|
output: {
|
|
615
|
-
|
|
616
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
615
|
+
code: 'capability_revoked';
|
|
617
616
|
message: string;
|
|
618
617
|
};
|
|
619
618
|
outputFormat: "json";
|
|
620
|
-
status:
|
|
619
|
+
status: 401;
|
|
621
620
|
input: {
|
|
622
621
|
json: {
|
|
623
622
|
action: "create";
|
|
@@ -697,11 +696,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
697
696
|
};
|
|
698
697
|
} | {
|
|
699
698
|
output: {
|
|
700
|
-
|
|
699
|
+
ok: false;
|
|
700
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
701
701
|
message: string;
|
|
702
702
|
};
|
|
703
703
|
outputFormat: "json";
|
|
704
|
-
status:
|
|
704
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
705
705
|
input: {
|
|
706
706
|
json: {
|
|
707
707
|
action: "create";
|
|
@@ -957,12 +957,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
957
957
|
"/api/v1/tools/schedule-task": {
|
|
958
958
|
$post: {
|
|
959
959
|
output: {
|
|
960
|
-
|
|
961
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
960
|
+
code: 'capability_revoked';
|
|
962
961
|
message: string;
|
|
963
962
|
};
|
|
964
963
|
outputFormat: "json";
|
|
965
|
-
status:
|
|
964
|
+
status: 401;
|
|
966
965
|
input: {
|
|
967
966
|
json: {
|
|
968
967
|
at?: string | undefined;
|
|
@@ -979,11 +978,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
979
978
|
};
|
|
980
979
|
} | {
|
|
981
980
|
output: {
|
|
982
|
-
|
|
981
|
+
ok: false;
|
|
982
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
983
983
|
message: string;
|
|
984
984
|
};
|
|
985
985
|
outputFormat: "json";
|
|
986
|
-
status:
|
|
986
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
987
987
|
input: {
|
|
988
988
|
json: {
|
|
989
989
|
at?: string | undefined;
|
|
@@ -1038,12 +1038,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1038
1038
|
"/api/v1/tools/scheduled-tasks": {
|
|
1039
1039
|
$post: {
|
|
1040
1040
|
output: {
|
|
1041
|
-
|
|
1042
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1041
|
+
code: 'capability_revoked';
|
|
1043
1042
|
message: string;
|
|
1044
1043
|
};
|
|
1045
1044
|
outputFormat: "json";
|
|
1046
|
-
status:
|
|
1045
|
+
status: 401;
|
|
1047
1046
|
input: {
|
|
1048
1047
|
json: {
|
|
1049
1048
|
at?: string | undefined;
|
|
@@ -1076,11 +1075,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1076
1075
|
};
|
|
1077
1076
|
} | {
|
|
1078
1077
|
output: {
|
|
1079
|
-
|
|
1078
|
+
ok: false;
|
|
1079
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1080
1080
|
message: string;
|
|
1081
1081
|
};
|
|
1082
1082
|
outputFormat: "json";
|
|
1083
|
-
status:
|
|
1083
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1084
1084
|
input: {
|
|
1085
1085
|
json: {
|
|
1086
1086
|
at?: string | undefined;
|
|
@@ -2,18 +2,6 @@ import type { DelegationRoutes } from './routes.ts';
|
|
|
2
2
|
export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
3
3
|
"/list": {
|
|
4
4
|
$get: {
|
|
5
|
-
output: {
|
|
6
|
-
error: string;
|
|
7
|
-
code?: "invalid_input" | undefined;
|
|
8
|
-
};
|
|
9
|
-
outputFormat: "json";
|
|
10
|
-
status: 400;
|
|
11
|
-
input: {
|
|
12
|
-
query: {
|
|
13
|
-
offset?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
} | {
|
|
17
5
|
output: {
|
|
18
6
|
workers: {
|
|
19
7
|
workerId: string;
|
|
@@ -51,6 +39,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
51
39
|
offset?: string | undefined;
|
|
52
40
|
};
|
|
53
41
|
};
|
|
42
|
+
} | {
|
|
43
|
+
output: {
|
|
44
|
+
error: string;
|
|
45
|
+
code?: "invalid_input" | undefined;
|
|
46
|
+
};
|
|
47
|
+
outputFormat: "json";
|
|
48
|
+
status: 400;
|
|
49
|
+
input: {
|
|
50
|
+
query: {
|
|
51
|
+
offset?: string | undefined;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
} & {
|
|
@@ -588,18 +588,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
588
588
|
} & {
|
|
589
589
|
"/:workerId": {
|
|
590
590
|
$get: {
|
|
591
|
-
output: {
|
|
592
|
-
error: string;
|
|
593
|
-
code?: "invalid_input" | undefined;
|
|
594
|
-
};
|
|
595
|
-
outputFormat: "json";
|
|
596
|
-
status: 400;
|
|
597
|
-
input: {
|
|
598
|
-
param: {
|
|
599
|
-
workerId: string;
|
|
600
|
-
};
|
|
601
|
-
};
|
|
602
|
-
} | {
|
|
603
591
|
output: {
|
|
604
592
|
workerId: string;
|
|
605
593
|
parentRunId: string;
|
|
@@ -707,11 +695,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
707
695
|
workerId: string;
|
|
708
696
|
};
|
|
709
697
|
};
|
|
710
|
-
}
|
|
711
|
-
};
|
|
712
|
-
} & {
|
|
713
|
-
"/:workerId/collect": {
|
|
714
|
-
$post: {
|
|
698
|
+
} | {
|
|
715
699
|
output: {
|
|
716
700
|
error: string;
|
|
717
701
|
code?: "invalid_input" | undefined;
|
|
@@ -722,10 +706,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
722
706
|
param: {
|
|
723
707
|
workerId: string;
|
|
724
708
|
};
|
|
725
|
-
} & {
|
|
726
|
-
json: Record<string, never>;
|
|
727
709
|
};
|
|
728
|
-
}
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
} & {
|
|
713
|
+
"/:workerId/collect": {
|
|
714
|
+
$post: {
|
|
729
715
|
output: {
|
|
730
716
|
workerId: string;
|
|
731
717
|
parentRunId: string;
|
|
@@ -827,11 +813,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
827
813
|
} & {
|
|
828
814
|
json: Record<string, never>;
|
|
829
815
|
};
|
|
830
|
-
}
|
|
831
|
-
};
|
|
832
|
-
} & {
|
|
833
|
-
"/:workerId/steer": {
|
|
834
|
-
$post: {
|
|
816
|
+
} | {
|
|
835
817
|
output: {
|
|
836
818
|
error: string;
|
|
837
819
|
code?: "invalid_input" | undefined;
|
|
@@ -843,11 +825,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
843
825
|
workerId: string;
|
|
844
826
|
};
|
|
845
827
|
} & {
|
|
846
|
-
json:
|
|
847
|
-
text: string;
|
|
848
|
-
};
|
|
828
|
+
json: Record<string, never>;
|
|
849
829
|
};
|
|
850
|
-
}
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
} & {
|
|
833
|
+
"/:workerId/steer": {
|
|
834
|
+
$post: {
|
|
851
835
|
output: {
|
|
852
836
|
workerId: string;
|
|
853
837
|
state: "delivered" | "queued";
|
|
@@ -863,11 +847,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
863
847
|
text: string;
|
|
864
848
|
};
|
|
865
849
|
};
|
|
866
|
-
}
|
|
867
|
-
};
|
|
868
|
-
} & {
|
|
869
|
-
"/:workerId/stop": {
|
|
870
|
-
$post: {
|
|
850
|
+
} | {
|
|
871
851
|
output: {
|
|
872
852
|
error: string;
|
|
873
853
|
code?: "invalid_input" | undefined;
|
|
@@ -879,9 +859,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
879
859
|
workerId: string;
|
|
880
860
|
};
|
|
881
861
|
} & {
|
|
882
|
-
json:
|
|
862
|
+
json: {
|
|
863
|
+
text: string;
|
|
864
|
+
};
|
|
883
865
|
};
|
|
884
|
-
}
|
|
866
|
+
};
|
|
867
|
+
};
|
|
868
|
+
} & {
|
|
869
|
+
"/:workerId/stop": {
|
|
870
|
+
$post: {
|
|
885
871
|
output: {
|
|
886
872
|
workerId: string;
|
|
887
873
|
state: "stopping" | "terminated";
|
|
@@ -895,11 +881,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
895
881
|
} & {
|
|
896
882
|
json: Record<string, never>;
|
|
897
883
|
};
|
|
898
|
-
}
|
|
899
|
-
};
|
|
900
|
-
} & {
|
|
901
|
-
"/:workerId/destroy": {
|
|
902
|
-
$post: {
|
|
884
|
+
} | {
|
|
903
885
|
output: {
|
|
904
886
|
error: string;
|
|
905
887
|
code?: "invalid_input" | undefined;
|
|
@@ -913,7 +895,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
913
895
|
} & {
|
|
914
896
|
json: Record<string, never>;
|
|
915
897
|
};
|
|
916
|
-
}
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
} & {
|
|
901
|
+
"/:workerId/destroy": {
|
|
902
|
+
$post: {
|
|
917
903
|
output: {
|
|
918
904
|
workerId: string;
|
|
919
905
|
state: "complete" | "incomplete";
|
|
@@ -936,6 +922,20 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
936
922
|
} & {
|
|
937
923
|
json: Record<string, never>;
|
|
938
924
|
};
|
|
925
|
+
} | {
|
|
926
|
+
output: {
|
|
927
|
+
error: string;
|
|
928
|
+
code?: "invalid_input" | undefined;
|
|
929
|
+
};
|
|
930
|
+
outputFormat: "json";
|
|
931
|
+
status: 400;
|
|
932
|
+
input: {
|
|
933
|
+
param: {
|
|
934
|
+
workerId: string;
|
|
935
|
+
};
|
|
936
|
+
} & {
|
|
937
|
+
json: Record<string, never>;
|
|
938
|
+
};
|
|
939
939
|
} | {
|
|
940
940
|
output: {
|
|
941
941
|
workerId: string;
|
|
@@ -965,11 +965,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
965
965
|
"/:workerId/diff": {
|
|
966
966
|
$get: {
|
|
967
967
|
output: {
|
|
968
|
-
|
|
969
|
-
|
|
968
|
+
workerId: string;
|
|
969
|
+
baselineSha: string;
|
|
970
|
+
diff: string;
|
|
971
|
+
truncated: boolean;
|
|
970
972
|
};
|
|
971
973
|
outputFormat: "json";
|
|
972
|
-
status:
|
|
974
|
+
status: 200;
|
|
973
975
|
input: {
|
|
974
976
|
param: {
|
|
975
977
|
workerId: string;
|
|
@@ -977,13 +979,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
977
979
|
};
|
|
978
980
|
} | {
|
|
979
981
|
output: {
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
diff: string;
|
|
983
|
-
truncated: boolean;
|
|
982
|
+
error: string;
|
|
983
|
+
code?: "invalid_input" | undefined;
|
|
984
984
|
};
|
|
985
985
|
outputFormat: "json";
|
|
986
|
-
status:
|
|
986
|
+
status: 400;
|
|
987
987
|
input: {
|
|
988
988
|
param: {
|
|
989
989
|
workerId: string;
|