@hearsay-tools/squawk 0.18.0-dev.7554 → 0.18.0-dev.7567
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/activity/read-model.js +1 -1
- package/dist/activity/read-model.js.map +1 -1
- package/dist/activity/wait.d.ts +2 -8
- package/dist/activity/wait.js.map +1 -1
- package/dist/ci-wait/controller.d.ts +3 -0
- package/dist/ci-wait/github.d.ts +47 -27
- package/dist/ci-wait/github.js +87 -38
- package/dist/ci-wait/github.js.map +1 -1
- package/dist/ci-wait/progress.d.ts +2 -28
- package/dist/ci-wait/progress.js +3 -42
- package/dist/ci-wait/progress.js.map +1 -1
- package/dist/ci-wait/supervisor.d.ts +3 -11
- package/dist/ci-wait/supervisor.js +87 -69
- package/dist/ci-wait/supervisor.js.map +1 -1
- package/dist/ci-wait/tool-catalog.d.ts +6 -0
- package/dist/ci-wait/tool-catalog.js +2 -1
- package/dist/ci-wait/tool-catalog.js.map +1 -1
- package/dist/contract/ci-wait.d.ts +5 -0
- package/dist/contract/index.js +8 -2
- package/dist/contract/runs.d.ts +18 -0
- package/dist/contract/waits.d.ts +7 -0
- package/dist/delegation/routes.d.ts +65 -65
- package/dist/runs/run-exits.d.ts +28 -14
- package/dist/runs/store.d.ts +12 -3
- package/dist/server/activity-routes.d.ts +4 -5
- package/dist/server/activity-routes.js +5 -7
- package/dist/server/activity-routes.js.map +1 -1
- package/dist/server/forge/github-request-gate.d.ts +1 -1
- package/dist/server/server.d.ts +108 -54
- package/dist/workflows/continuation-admission.d.ts +6 -3
- package/dist/workflows/input-acknowledgement.d.ts +2 -1
- package/dist/workflows/run/wait-engine.d.ts +6 -3
- package/dist/workflows/run/wait-kinds.d.ts +2 -1
- package/dist/workflows/run/wait-kinds.js +7 -3
- package/dist/workflows/run/wait-kinds.js.map +1 -1
- package/dist/workflows/waits.js +2 -2
- package/dist/workflows/waits.js.map +1 -1
- package/package.json +4 -4
- package/scripts/mock-fixture-runner.mjs +29 -0
- package/web/dist/assets/{activity-motion-C3PyGX1i.js → activity-motion-Byyo_dg6.js} +1 -1
- package/web/dist/assets/{activity-route-CBE9suPx.js → activity-route-CZVrjDPU.js} +1 -1
- package/web/dist/assets/attention-DNTfJGJ-.js +1 -0
- package/web/dist/assets/{commit-diff-panel-BHLfoc5K.js → commit-diff-panel-VfbC3Smi.js} +1 -1
- package/web/dist/assets/{diff-CPP5-PAO.js → diff-Dtfj6iCa.js} +2 -2
- package/web/dist/assets/{diff-view-pVNE2LKd.js → diff-view-BlPJSxUu.js} +1 -1
- package/web/dist/assets/{file-preview-Dnl25_Yq.js → file-preview-9XV5jwn7.js} +1 -1
- package/web/dist/assets/{git-toolbar-B8j0rXz_.js → git-toolbar-C50jiANf.js} +1 -1
- package/web/dist/assets/{github-Bk_W_P7M.js → github-BbOcb1u6.js} +1 -1
- package/web/dist/assets/{global-activity-route-B3Bg4j74.js → global-activity-route-57st9Qn6.js} +1 -1
- package/web/dist/assets/{index-BUcVG7uX.js → index-C8G5XQ7_.js} +4 -4
- package/web/dist/assets/{markdown-DZFo50wI.js → markdown-zkws1XI0.js} +1 -1
- package/web/dist/assets/{picker-pill-Bhsrt_K5.js → picker-pill-BDVQSD8T.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-B887FUPw.js → preview-pane-connected-NraA66Dp.js} +1 -1
- package/web/dist/assets/{project-router-lPPUPPDI.js → project-router-CJ-APsTV.js} +1 -1
- package/web/dist/assets/{project-scope-context-Xjbxntpg.js → project-scope-context-Ito06TKi.js} +1 -1
- package/web/dist/assets/{prompt-template-menu-Cl8ES_lT.js → prompt-template-menu-Cl4asEVh.js} +1 -1
- package/web/dist/assets/{queries-D5f-3moU.js → queries-CczBZU0G.js} +1 -1
- package/web/dist/assets/{reference-chip-BPdU-pFz.js → reference-chip-CP_u_4NW.js} +1 -1
- package/web/dist/assets/{repo-git-DkdZ-lHF.js → repo-git-niqaSBs8.js} +1 -1
- package/web/dist/assets/{report-reader-ClrhPnHJ.js → report-reader-BLQMplQY.js} +1 -1
- package/web/dist/assets/{reports-CNDxM3-h.js → reports-46x2sFX5.js} +1 -1
- package/web/dist/assets/{run-header-CGu_4msV.js → run-header-BCPm4EOb.js} +1 -1
- package/web/dist/assets/{runners-Dc2_oqXR.js → runners-C1EVq1ad.js} +1 -1
- package/web/dist/assets/{skills-rESbVzy9.js → skills-DsyVES-a.js} +1 -1
- package/web/dist/assets/{tab-link-rmg3phtM.js → tab-link-B7uri0w5.js} +1 -1
- package/web/dist/assets/{task-changes-BqMvI8iD.js → task-changes-pyF-OmJ1.js} +1 -1
- package/web/dist/assets/{task-commits-B0vE6rWz.js → task-commits-CrvdGU5d.js} +1 -1
- package/web/dist/assets/{task-files-5YPOAXtn.js → task-files-BV-gtgxX.js} +1 -1
- package/web/dist/assets/{task-github-item-D6VreAoa.js → task-github-item-R1BWPJVs.js} +1 -1
- package/web/dist/assets/{task-thread-DO2BE7tp.js → task-thread-QOw-bexE.js} +2 -2
- package/web/dist/assets/{thread-state-Cn5cetra.js → thread-state-EgbkZFwJ.js} +1 -1
- package/web/dist/assets/{use-desktop-R2WTomyJ.js → use-desktop-GXqB6sBk.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-B277xMq3.js → use-hand-to-agent-state-ysMet2sL.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-C05yR_S9.js → useInfiniteQuery-VxGcKUy8.js} +1 -1
- package/web/dist/assets/useQuery-DlAhPJSV.js +1 -0
- package/web/dist/assets/{workflows-fZms9I7r.js → workflows-iVt76LW2.js} +1 -1
- package/web/dist/assets/{ws-wEXmfalm.js → ws-POSR1RIB.js} +1 -1
- package/web/dist/index.html +13 -13
- package/web/dist/assets/attention-BOjuMCaW.js +0 -1
- package/web/dist/assets/useQuery-7jNqNIJb.js +0 -1
package/dist/contract/runs.d.ts
CHANGED
|
@@ -754,6 +754,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
754
754
|
merge_or_blocked: "merge_or_blocked";
|
|
755
755
|
}>;
|
|
756
756
|
wakeOnConflict: z.ZodBoolean;
|
|
757
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
757
758
|
result: z.ZodOptional<z.ZodObject<{
|
|
758
759
|
outcome: z.ZodEnum<{
|
|
759
760
|
blocked: "blocked";
|
|
@@ -768,6 +769,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
768
769
|
no_checks: "no_checks";
|
|
769
770
|
passed: "passed";
|
|
770
771
|
skipped: "skipped";
|
|
772
|
+
startup_failure: "startup_failure";
|
|
771
773
|
stuck: "stuck";
|
|
772
774
|
}>;
|
|
773
775
|
headSha: z.ZodString;
|
|
@@ -1151,6 +1153,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
1151
1153
|
merge_or_blocked: "merge_or_blocked";
|
|
1152
1154
|
}>;
|
|
1153
1155
|
wakeOnConflict: z.ZodBoolean;
|
|
1156
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1154
1157
|
result: z.ZodOptional<z.ZodObject<{
|
|
1155
1158
|
outcome: z.ZodEnum<{
|
|
1156
1159
|
blocked: "blocked";
|
|
@@ -1165,6 +1168,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
1165
1168
|
no_checks: "no_checks";
|
|
1166
1169
|
passed: "passed";
|
|
1167
1170
|
skipped: "skipped";
|
|
1171
|
+
startup_failure: "startup_failure";
|
|
1168
1172
|
stuck: "stuck";
|
|
1169
1173
|
}>;
|
|
1170
1174
|
headSha: z.ZodString;
|
|
@@ -1547,6 +1551,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
1547
1551
|
merge_or_blocked: "merge_or_blocked";
|
|
1548
1552
|
}>;
|
|
1549
1553
|
wakeOnConflict: z.ZodBoolean;
|
|
1554
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1550
1555
|
result: z.ZodOptional<z.ZodObject<{
|
|
1551
1556
|
outcome: z.ZodEnum<{
|
|
1552
1557
|
blocked: "blocked";
|
|
@@ -1561,6 +1566,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
1561
1566
|
no_checks: "no_checks";
|
|
1562
1567
|
passed: "passed";
|
|
1563
1568
|
skipped: "skipped";
|
|
1569
|
+
startup_failure: "startup_failure";
|
|
1564
1570
|
stuck: "stuck";
|
|
1565
1571
|
}>;
|
|
1566
1572
|
headSha: z.ZodString;
|
|
@@ -2720,6 +2726,7 @@ export declare const apiRunSchema: z.ZodObject<{
|
|
|
2720
2726
|
merge_or_blocked: "merge_or_blocked";
|
|
2721
2727
|
}>;
|
|
2722
2728
|
wakeOnConflict: z.ZodBoolean;
|
|
2729
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2723
2730
|
result: z.ZodOptional<z.ZodObject<{
|
|
2724
2731
|
outcome: z.ZodEnum<{
|
|
2725
2732
|
blocked: "blocked";
|
|
@@ -2734,6 +2741,7 @@ export declare const apiRunSchema: z.ZodObject<{
|
|
|
2734
2741
|
no_checks: "no_checks";
|
|
2735
2742
|
passed: "passed";
|
|
2736
2743
|
skipped: "skipped";
|
|
2744
|
+
startup_failure: "startup_failure";
|
|
2737
2745
|
stuck: "stuck";
|
|
2738
2746
|
}>;
|
|
2739
2747
|
headSha: z.ZodString;
|
|
@@ -3117,6 +3125,7 @@ export declare const apiRunSchema: z.ZodObject<{
|
|
|
3117
3125
|
merge_or_blocked: "merge_or_blocked";
|
|
3118
3126
|
}>;
|
|
3119
3127
|
wakeOnConflict: z.ZodBoolean;
|
|
3128
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3120
3129
|
result: z.ZodOptional<z.ZodObject<{
|
|
3121
3130
|
outcome: z.ZodEnum<{
|
|
3122
3131
|
blocked: "blocked";
|
|
@@ -3131,6 +3140,7 @@ export declare const apiRunSchema: z.ZodObject<{
|
|
|
3131
3140
|
no_checks: "no_checks";
|
|
3132
3141
|
passed: "passed";
|
|
3133
3142
|
skipped: "skipped";
|
|
3143
|
+
startup_failure: "startup_failure";
|
|
3134
3144
|
stuck: "stuck";
|
|
3135
3145
|
}>;
|
|
3136
3146
|
headSha: z.ZodString;
|
|
@@ -3513,6 +3523,7 @@ export declare const apiRunSchema: z.ZodObject<{
|
|
|
3513
3523
|
merge_or_blocked: "merge_or_blocked";
|
|
3514
3524
|
}>;
|
|
3515
3525
|
wakeOnConflict: z.ZodBoolean;
|
|
3526
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3516
3527
|
result: z.ZodOptional<z.ZodObject<{
|
|
3517
3528
|
outcome: z.ZodEnum<{
|
|
3518
3529
|
blocked: "blocked";
|
|
@@ -3527,6 +3538,7 @@ export declare const apiRunSchema: z.ZodObject<{
|
|
|
3527
3538
|
no_checks: "no_checks";
|
|
3528
3539
|
passed: "passed";
|
|
3529
3540
|
skipped: "skipped";
|
|
3541
|
+
startup_failure: "startup_failure";
|
|
3530
3542
|
stuck: "stuck";
|
|
3531
3543
|
}>;
|
|
3532
3544
|
headSha: z.ZodString;
|
|
@@ -5413,6 +5425,7 @@ export declare const createRunResponseSchema: z.ZodObject<{
|
|
|
5413
5425
|
merge_or_blocked: "merge_or_blocked";
|
|
5414
5426
|
}>;
|
|
5415
5427
|
wakeOnConflict: z.ZodBoolean;
|
|
5428
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5416
5429
|
result: z.ZodOptional<z.ZodObject<{
|
|
5417
5430
|
outcome: z.ZodEnum<{
|
|
5418
5431
|
blocked: "blocked";
|
|
@@ -5427,6 +5440,7 @@ export declare const createRunResponseSchema: z.ZodObject<{
|
|
|
5427
5440
|
no_checks: "no_checks";
|
|
5428
5441
|
passed: "passed";
|
|
5429
5442
|
skipped: "skipped";
|
|
5443
|
+
startup_failure: "startup_failure";
|
|
5430
5444
|
stuck: "stuck";
|
|
5431
5445
|
}>;
|
|
5432
5446
|
headSha: z.ZodString;
|
|
@@ -5810,6 +5824,7 @@ export declare const createRunResponseSchema: z.ZodObject<{
|
|
|
5810
5824
|
merge_or_blocked: "merge_or_blocked";
|
|
5811
5825
|
}>;
|
|
5812
5826
|
wakeOnConflict: z.ZodBoolean;
|
|
5827
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5813
5828
|
result: z.ZodOptional<z.ZodObject<{
|
|
5814
5829
|
outcome: z.ZodEnum<{
|
|
5815
5830
|
blocked: "blocked";
|
|
@@ -5824,6 +5839,7 @@ export declare const createRunResponseSchema: z.ZodObject<{
|
|
|
5824
5839
|
no_checks: "no_checks";
|
|
5825
5840
|
passed: "passed";
|
|
5826
5841
|
skipped: "skipped";
|
|
5842
|
+
startup_failure: "startup_failure";
|
|
5827
5843
|
stuck: "stuck";
|
|
5828
5844
|
}>;
|
|
5829
5845
|
headSha: z.ZodString;
|
|
@@ -6206,6 +6222,7 @@ export declare const createRunResponseSchema: z.ZodObject<{
|
|
|
6206
6222
|
merge_or_blocked: "merge_or_blocked";
|
|
6207
6223
|
}>;
|
|
6208
6224
|
wakeOnConflict: z.ZodBoolean;
|
|
6225
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
6209
6226
|
result: z.ZodOptional<z.ZodObject<{
|
|
6210
6227
|
outcome: z.ZodEnum<{
|
|
6211
6228
|
blocked: "blocked";
|
|
@@ -6220,6 +6237,7 @@ export declare const createRunResponseSchema: z.ZodObject<{
|
|
|
6220
6237
|
no_checks: "no_checks";
|
|
6221
6238
|
passed: "passed";
|
|
6222
6239
|
skipped: "skipped";
|
|
6240
|
+
startup_failure: "startup_failure";
|
|
6223
6241
|
stuck: "stuck";
|
|
6224
6242
|
}>;
|
|
6225
6243
|
headSha: z.ZodString;
|
package/dist/contract/waits.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ export declare const prWaitEntrySchema: z.ZodObject<{
|
|
|
85
85
|
merge_or_blocked: "merge_or_blocked";
|
|
86
86
|
}>;
|
|
87
87
|
wakeOnConflict: z.ZodBoolean;
|
|
88
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
88
89
|
result: z.ZodOptional<z.ZodObject<{
|
|
89
90
|
outcome: z.ZodEnum<{
|
|
90
91
|
blocked: "blocked";
|
|
@@ -99,6 +100,7 @@ export declare const prWaitEntrySchema: z.ZodObject<{
|
|
|
99
100
|
no_checks: "no_checks";
|
|
100
101
|
passed: "passed";
|
|
101
102
|
skipped: "skipped";
|
|
103
|
+
startup_failure: "startup_failure";
|
|
102
104
|
stuck: "stuck";
|
|
103
105
|
}>;
|
|
104
106
|
headSha: z.ZodString;
|
|
@@ -576,6 +578,7 @@ export declare const waitSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
576
578
|
merge_or_blocked: "merge_or_blocked";
|
|
577
579
|
}>;
|
|
578
580
|
wakeOnConflict: z.ZodBoolean;
|
|
581
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
579
582
|
result: z.ZodOptional<z.ZodObject<{
|
|
580
583
|
outcome: z.ZodEnum<{
|
|
581
584
|
blocked: "blocked";
|
|
@@ -590,6 +593,7 @@ export declare const waitSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
590
593
|
no_checks: "no_checks";
|
|
591
594
|
passed: "passed";
|
|
592
595
|
skipped: "skipped";
|
|
596
|
+
startup_failure: "startup_failure";
|
|
593
597
|
stuck: "stuck";
|
|
594
598
|
}>;
|
|
595
599
|
headSha: z.ZodString;
|
|
@@ -934,6 +938,7 @@ export declare const squawkWaitRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
934
938
|
}>>;
|
|
935
939
|
wake_on_conflict: z.ZodDefault<z.ZodBoolean>;
|
|
936
940
|
timeout_seconds: z.ZodDefault<z.ZodNumber>;
|
|
941
|
+
head_sha: z.ZodOptional<z.ZodString>;
|
|
937
942
|
operation_id: z.ZodOptional<z.ZodUUID>;
|
|
938
943
|
kind: z.ZodLiteral<"pr">;
|
|
939
944
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1090,6 +1095,7 @@ export declare const waitRegistrationReceiptSchema: z.ZodObject<{
|
|
|
1090
1095
|
merge_or_blocked: "merge_or_blocked";
|
|
1091
1096
|
}>;
|
|
1092
1097
|
wakeOnConflict: z.ZodBoolean;
|
|
1098
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1093
1099
|
result: z.ZodOptional<z.ZodObject<{
|
|
1094
1100
|
outcome: z.ZodEnum<{
|
|
1095
1101
|
blocked: "blocked";
|
|
@@ -1104,6 +1110,7 @@ export declare const waitRegistrationReceiptSchema: z.ZodObject<{
|
|
|
1104
1110
|
no_checks: "no_checks";
|
|
1105
1111
|
passed: "passed";
|
|
1106
1112
|
skipped: "skipped";
|
|
1113
|
+
startup_failure: "startup_failure";
|
|
1107
1114
|
stuck: "stuck";
|
|
1108
1115
|
}>;
|
|
1109
1116
|
headSha: z.ZodString;
|
|
@@ -27,6 +27,18 @@ 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
|
+
} | {
|
|
30
42
|
output: {
|
|
31
43
|
workers: {
|
|
32
44
|
workerId: string;
|
|
@@ -73,18 +85,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
73
85
|
offset?: string | undefined;
|
|
74
86
|
};
|
|
75
87
|
};
|
|
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
|
} & {
|
|
@@ -623,6 +623,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
623
623
|
} & {
|
|
624
624
|
"/:workerId": {
|
|
625
625
|
$get: {
|
|
626
|
+
output: {
|
|
627
|
+
error: string;
|
|
628
|
+
code?: "invalid_input" | undefined;
|
|
629
|
+
};
|
|
630
|
+
outputFormat: "json";
|
|
631
|
+
status: 400;
|
|
632
|
+
input: {
|
|
633
|
+
param: {
|
|
634
|
+
workerId: string;
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
} | {
|
|
626
638
|
output: {
|
|
627
639
|
workerId: string;
|
|
628
640
|
settled: boolean;
|
|
@@ -740,7 +752,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
740
752
|
workerId: string;
|
|
741
753
|
};
|
|
742
754
|
};
|
|
743
|
-
}
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
} & {
|
|
758
|
+
"/:workerId/collect": {
|
|
759
|
+
$post: {
|
|
744
760
|
output: {
|
|
745
761
|
error: string;
|
|
746
762
|
code?: "invalid_input" | undefined;
|
|
@@ -751,12 +767,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
751
767
|
param: {
|
|
752
768
|
workerId: string;
|
|
753
769
|
};
|
|
770
|
+
} & {
|
|
771
|
+
json: Record<string, never>;
|
|
754
772
|
};
|
|
755
|
-
}
|
|
756
|
-
};
|
|
757
|
-
} & {
|
|
758
|
-
"/:workerId/collect": {
|
|
759
|
-
$post: {
|
|
773
|
+
} | {
|
|
760
774
|
output: {
|
|
761
775
|
workerId: string;
|
|
762
776
|
parentRunId: string;
|
|
@@ -879,7 +893,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
879
893
|
} & {
|
|
880
894
|
json: Record<string, never>;
|
|
881
895
|
};
|
|
882
|
-
}
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
} & {
|
|
899
|
+
"/:workerId/steer": {
|
|
900
|
+
$post: {
|
|
883
901
|
output: {
|
|
884
902
|
error: string;
|
|
885
903
|
code?: "invalid_input" | undefined;
|
|
@@ -891,13 +909,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
891
909
|
workerId: string;
|
|
892
910
|
};
|
|
893
911
|
} & {
|
|
894
|
-
json:
|
|
912
|
+
json: {
|
|
913
|
+
text: string;
|
|
914
|
+
};
|
|
895
915
|
};
|
|
896
|
-
}
|
|
897
|
-
};
|
|
898
|
-
} & {
|
|
899
|
-
"/:workerId/steer": {
|
|
900
|
-
$post: {
|
|
916
|
+
} | {
|
|
901
917
|
output: {
|
|
902
918
|
workerId: string;
|
|
903
919
|
state: "delivered" | "queued";
|
|
@@ -913,7 +929,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
913
929
|
text: string;
|
|
914
930
|
};
|
|
915
931
|
};
|
|
916
|
-
}
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
} & {
|
|
935
|
+
"/:workerId/stop": {
|
|
936
|
+
$post: {
|
|
917
937
|
output: {
|
|
918
938
|
error: string;
|
|
919
939
|
code?: "invalid_input" | undefined;
|
|
@@ -925,15 +945,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
925
945
|
workerId: string;
|
|
926
946
|
};
|
|
927
947
|
} & {
|
|
928
|
-
json:
|
|
929
|
-
text: string;
|
|
930
|
-
};
|
|
948
|
+
json: Record<string, never>;
|
|
931
949
|
};
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
} & {
|
|
935
|
-
"/:workerId/stop": {
|
|
936
|
-
$post: {
|
|
950
|
+
} | {
|
|
937
951
|
output: {
|
|
938
952
|
workerId: string;
|
|
939
953
|
state: "stopping" | "terminated";
|
|
@@ -947,7 +961,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
947
961
|
} & {
|
|
948
962
|
json: Record<string, never>;
|
|
949
963
|
};
|
|
950
|
-
}
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
} & {
|
|
967
|
+
"/:workerId/destroy": {
|
|
968
|
+
$post: {
|
|
951
969
|
output: {
|
|
952
970
|
error: string;
|
|
953
971
|
code?: "invalid_input" | undefined;
|
|
@@ -959,13 +977,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
959
977
|
workerId: string;
|
|
960
978
|
};
|
|
961
979
|
} & {
|
|
962
|
-
json:
|
|
980
|
+
json: {
|
|
981
|
+
discardWork?: true | undefined;
|
|
982
|
+
};
|
|
963
983
|
};
|
|
964
|
-
}
|
|
965
|
-
};
|
|
966
|
-
} & {
|
|
967
|
-
"/:workerId/destroy": {
|
|
968
|
-
$post: {
|
|
984
|
+
} | {
|
|
969
985
|
output: {
|
|
970
986
|
workerId: string;
|
|
971
987
|
state: "complete" | "incomplete";
|
|
@@ -994,22 +1010,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
994
1010
|
discardWork?: true | undefined;
|
|
995
1011
|
};
|
|
996
1012
|
};
|
|
997
|
-
} | {
|
|
998
|
-
output: {
|
|
999
|
-
error: string;
|
|
1000
|
-
code?: "invalid_input" | undefined;
|
|
1001
|
-
};
|
|
1002
|
-
outputFormat: "json";
|
|
1003
|
-
status: 400;
|
|
1004
|
-
input: {
|
|
1005
|
-
param: {
|
|
1006
|
-
workerId: string;
|
|
1007
|
-
};
|
|
1008
|
-
} & {
|
|
1009
|
-
json: {
|
|
1010
|
-
discardWork?: true | undefined;
|
|
1011
|
-
};
|
|
1012
|
-
};
|
|
1013
1013
|
} | {
|
|
1014
1014
|
output: {
|
|
1015
1015
|
workerId: string;
|
|
@@ -1045,13 +1045,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1045
1045
|
"/:workerId/diff": {
|
|
1046
1046
|
$get: {
|
|
1047
1047
|
output: {
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
diff: string;
|
|
1051
|
-
truncated: boolean;
|
|
1048
|
+
error: string;
|
|
1049
|
+
code?: "invalid_input" | undefined;
|
|
1052
1050
|
};
|
|
1053
1051
|
outputFormat: "json";
|
|
1054
|
-
status:
|
|
1052
|
+
status: 400;
|
|
1055
1053
|
input: {
|
|
1056
1054
|
param: {
|
|
1057
1055
|
workerId: string;
|
|
@@ -1059,11 +1057,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1059
1057
|
};
|
|
1060
1058
|
} | {
|
|
1061
1059
|
output: {
|
|
1062
|
-
|
|
1063
|
-
|
|
1060
|
+
workerId: string;
|
|
1061
|
+
baselineSha: string;
|
|
1062
|
+
diff: string;
|
|
1063
|
+
truncated: boolean;
|
|
1064
1064
|
};
|
|
1065
1065
|
outputFormat: "json";
|
|
1066
|
-
status:
|
|
1066
|
+
status: 200;
|
|
1067
1067
|
input: {
|
|
1068
1068
|
param: {
|
|
1069
1069
|
workerId: string;
|
package/dist/runs/run-exits.d.ts
CHANGED
|
@@ -464,8 +464,9 @@ export declare const RUN_EXITS: {
|
|
|
464
464
|
timeoutSeconds: number;
|
|
465
465
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
466
466
|
wakeOnConflict: boolean;
|
|
467
|
+
callerHead?: true | undefined;
|
|
467
468
|
result?: {
|
|
468
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
469
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
469
470
|
headSha: string;
|
|
470
471
|
observedHeadSha?: string | undefined;
|
|
471
472
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -1204,8 +1205,9 @@ export declare const RUN_EXITS: {
|
|
|
1204
1205
|
timeoutSeconds: number;
|
|
1205
1206
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
1206
1207
|
wakeOnConflict: boolean;
|
|
1208
|
+
callerHead?: true | undefined;
|
|
1207
1209
|
result?: {
|
|
1208
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
1210
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
1209
1211
|
headSha: string;
|
|
1210
1212
|
observedHeadSha?: string | undefined;
|
|
1211
1213
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -1982,8 +1984,9 @@ export declare const RUN_EXITS: {
|
|
|
1982
1984
|
timeoutSeconds: number;
|
|
1983
1985
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
1984
1986
|
wakeOnConflict: boolean;
|
|
1987
|
+
callerHead?: true | undefined;
|
|
1985
1988
|
result?: {
|
|
1986
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
1989
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
1987
1990
|
headSha: string;
|
|
1988
1991
|
observedHeadSha?: string | undefined;
|
|
1989
1992
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -2176,8 +2179,9 @@ export declare const RUN_EXITS: {
|
|
|
2176
2179
|
timeoutSeconds: number;
|
|
2177
2180
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
2178
2181
|
wakeOnConflict: boolean;
|
|
2182
|
+
callerHead?: true | undefined;
|
|
2179
2183
|
result?: {
|
|
2180
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
2184
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
2181
2185
|
headSha: string;
|
|
2182
2186
|
observedHeadSha?: string | undefined;
|
|
2183
2187
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -2369,8 +2373,9 @@ export declare const RUN_EXITS: {
|
|
|
2369
2373
|
timeoutSeconds: number;
|
|
2370
2374
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
2371
2375
|
wakeOnConflict: boolean;
|
|
2376
|
+
callerHead?: true | undefined;
|
|
2372
2377
|
result?: {
|
|
2373
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
2378
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
2374
2379
|
headSha: string;
|
|
2375
2380
|
observedHeadSha?: string | undefined;
|
|
2376
2381
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -3072,8 +3077,9 @@ export declare const RUN_EXITS: {
|
|
|
3072
3077
|
timeoutSeconds: number;
|
|
3073
3078
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
3074
3079
|
wakeOnConflict: boolean;
|
|
3080
|
+
callerHead?: true | undefined;
|
|
3075
3081
|
result?: {
|
|
3076
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
3082
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
3077
3083
|
headSha: string;
|
|
3078
3084
|
observedHeadSha?: string | undefined;
|
|
3079
3085
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -3266,8 +3272,9 @@ export declare const RUN_EXITS: {
|
|
|
3266
3272
|
timeoutSeconds: number;
|
|
3267
3273
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
3268
3274
|
wakeOnConflict: boolean;
|
|
3275
|
+
callerHead?: true | undefined;
|
|
3269
3276
|
result?: {
|
|
3270
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
3277
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
3271
3278
|
headSha: string;
|
|
3272
3279
|
observedHeadSha?: string | undefined;
|
|
3273
3280
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -3459,8 +3466,9 @@ export declare const RUN_EXITS: {
|
|
|
3459
3466
|
timeoutSeconds: number;
|
|
3460
3467
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
3461
3468
|
wakeOnConflict: boolean;
|
|
3469
|
+
callerHead?: true | undefined;
|
|
3462
3470
|
result?: {
|
|
3463
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
3471
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
3464
3472
|
headSha: string;
|
|
3465
3473
|
observedHeadSha?: string | undefined;
|
|
3466
3474
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -4176,8 +4184,9 @@ export declare const RUN_EXITS: {
|
|
|
4176
4184
|
timeoutSeconds: number;
|
|
4177
4185
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
4178
4186
|
wakeOnConflict: boolean;
|
|
4187
|
+
callerHead?: true | undefined;
|
|
4179
4188
|
result?: {
|
|
4180
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
4189
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
4181
4190
|
headSha: string;
|
|
4182
4191
|
observedHeadSha?: string | undefined;
|
|
4183
4192
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -4370,8 +4379,9 @@ export declare const RUN_EXITS: {
|
|
|
4370
4379
|
timeoutSeconds: number;
|
|
4371
4380
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
4372
4381
|
wakeOnConflict: boolean;
|
|
4382
|
+
callerHead?: true | undefined;
|
|
4373
4383
|
result?: {
|
|
4374
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
4384
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
4375
4385
|
headSha: string;
|
|
4376
4386
|
observedHeadSha?: string | undefined;
|
|
4377
4387
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -4563,8 +4573,9 @@ export declare const RUN_EXITS: {
|
|
|
4563
4573
|
timeoutSeconds: number;
|
|
4564
4574
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
4565
4575
|
wakeOnConflict: boolean;
|
|
4576
|
+
callerHead?: true | undefined;
|
|
4566
4577
|
result?: {
|
|
4567
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
4578
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
4568
4579
|
headSha: string;
|
|
4569
4580
|
observedHeadSha?: string | undefined;
|
|
4570
4581
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -5274,8 +5285,9 @@ export declare const RUN_EXITS: {
|
|
|
5274
5285
|
timeoutSeconds: number;
|
|
5275
5286
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
5276
5287
|
wakeOnConflict: boolean;
|
|
5288
|
+
callerHead?: true | undefined;
|
|
5277
5289
|
result?: {
|
|
5278
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
5290
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
5279
5291
|
headSha: string;
|
|
5280
5292
|
observedHeadSha?: string | undefined;
|
|
5281
5293
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -5468,8 +5480,9 @@ export declare const RUN_EXITS: {
|
|
|
5468
5480
|
timeoutSeconds: number;
|
|
5469
5481
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
5470
5482
|
wakeOnConflict: boolean;
|
|
5483
|
+
callerHead?: true | undefined;
|
|
5471
5484
|
result?: {
|
|
5472
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
5485
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
5473
5486
|
headSha: string;
|
|
5474
5487
|
observedHeadSha?: string | undefined;
|
|
5475
5488
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -5661,8 +5674,9 @@ export declare const RUN_EXITS: {
|
|
|
5661
5674
|
timeoutSeconds: number;
|
|
5662
5675
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
5663
5676
|
wakeOnConflict: boolean;
|
|
5677
|
+
callerHead?: true | undefined;
|
|
5664
5678
|
result?: {
|
|
5665
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
5679
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
5666
5680
|
headSha: string;
|
|
5667
5681
|
observedHeadSha?: string | undefined;
|
|
5668
5682
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
package/dist/runs/store.d.ts
CHANGED
|
@@ -202,6 +202,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
202
202
|
merge_or_blocked: "merge_or_blocked";
|
|
203
203
|
}>;
|
|
204
204
|
wakeOnConflict: z.ZodBoolean;
|
|
205
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
205
206
|
result: z.ZodOptional<z.ZodObject<{
|
|
206
207
|
outcome: z.ZodEnum<{
|
|
207
208
|
blocked: "blocked";
|
|
@@ -216,6 +217,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
216
217
|
no_checks: "no_checks";
|
|
217
218
|
passed: "passed";
|
|
218
219
|
skipped: "skipped";
|
|
220
|
+
startup_failure: "startup_failure";
|
|
219
221
|
stuck: "stuck";
|
|
220
222
|
}>;
|
|
221
223
|
headSha: z.ZodString;
|
|
@@ -599,6 +601,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
599
601
|
merge_or_blocked: "merge_or_blocked";
|
|
600
602
|
}>;
|
|
601
603
|
wakeOnConflict: z.ZodBoolean;
|
|
604
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
602
605
|
result: z.ZodOptional<z.ZodObject<{
|
|
603
606
|
outcome: z.ZodEnum<{
|
|
604
607
|
blocked: "blocked";
|
|
@@ -613,6 +616,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
613
616
|
no_checks: "no_checks";
|
|
614
617
|
passed: "passed";
|
|
615
618
|
skipped: "skipped";
|
|
619
|
+
startup_failure: "startup_failure";
|
|
616
620
|
stuck: "stuck";
|
|
617
621
|
}>;
|
|
618
622
|
headSha: z.ZodString;
|
|
@@ -995,6 +999,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
995
999
|
merge_or_blocked: "merge_or_blocked";
|
|
996
1000
|
}>;
|
|
997
1001
|
wakeOnConflict: z.ZodBoolean;
|
|
1002
|
+
callerHead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
998
1003
|
result: z.ZodOptional<z.ZodObject<{
|
|
999
1004
|
outcome: z.ZodEnum<{
|
|
1000
1005
|
blocked: "blocked";
|
|
@@ -1009,6 +1014,7 @@ export declare const runRecordSchema: z.ZodObject<{
|
|
|
1009
1014
|
no_checks: "no_checks";
|
|
1010
1015
|
passed: "passed";
|
|
1011
1016
|
skipped: "skipped";
|
|
1017
|
+
startup_failure: "startup_failure";
|
|
1012
1018
|
stuck: "stuck";
|
|
1013
1019
|
}>;
|
|
1014
1020
|
headSha: z.ZodString;
|
|
@@ -2120,8 +2126,9 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
|
|
|
2120
2126
|
timeoutSeconds: number;
|
|
2121
2127
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
2122
2128
|
wakeOnConflict: boolean;
|
|
2129
|
+
callerHead?: true | undefined;
|
|
2123
2130
|
result?: {
|
|
2124
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
2131
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
2125
2132
|
headSha: string;
|
|
2126
2133
|
observedHeadSha?: string | undefined;
|
|
2127
2134
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -2314,8 +2321,9 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
|
|
|
2314
2321
|
timeoutSeconds: number;
|
|
2315
2322
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
2316
2323
|
wakeOnConflict: boolean;
|
|
2324
|
+
callerHead?: true | undefined;
|
|
2317
2325
|
result?: {
|
|
2318
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
2326
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
2319
2327
|
headSha: string;
|
|
2320
2328
|
observedHeadSha?: string | undefined;
|
|
2321
2329
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
@@ -2507,8 +2515,9 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
|
|
|
2507
2515
|
timeoutSeconds: number;
|
|
2508
2516
|
until: "checks" | "merge" | "merge_or_blocked";
|
|
2509
2517
|
wakeOnConflict: boolean;
|
|
2518
|
+
callerHead?: true | undefined;
|
|
2510
2519
|
result?: {
|
|
2511
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "stuck";
|
|
2520
|
+
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped" | "startup_failure" | "stuck";
|
|
2512
2521
|
headSha: string;
|
|
2513
2522
|
observedHeadSha?: string | undefined;
|
|
2514
2523
|
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|