@hearsay-tools/squawk 0.19.0-pr4497.8898 → 0.19.0-pr4499.8906
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/requests.js +1 -1
- package/dist/activity/requests.js.map +1 -1
- package/dist/activity/text.d.ts +0 -2
- package/dist/activity/text.js +1 -7
- package/dist/activity/text.js.map +1 -1
- package/dist/activity/tool-activity.js +1 -1
- package/dist/activity/tool-activity.js.map +1 -1
- package/dist/activity/wait.js +1 -1
- package/dist/activity/wait.js.map +1 -1
- package/dist/ci-wait/errors.js +2 -2
- package/dist/ci-wait/errors.js.map +1 -1
- package/dist/ci-wait/github.d.ts +22 -30
- package/dist/ci-wait/github.js +27 -9
- package/dist/ci-wait/github.js.map +1 -1
- package/dist/ci-wait/pr-wait-kind.d.ts +2 -2
- package/dist/ci-wait/pr-wait-kind.js +3 -3
- package/dist/ci-wait/pr-wait-kind.js.map +1 -1
- package/dist/ci-wait/pr-wait-port.d.ts +44 -0
- package/dist/ci-wait/pr-wait-port.js +125 -0
- package/dist/ci-wait/pr-wait-port.js.map +1 -0
- package/dist/ci-wait/progress.d.ts +4 -5
- package/dist/ci-wait/progress.js +1 -1
- package/dist/ci-wait/progress.js.map +1 -1
- package/dist/ci-wait/supervisor.d.ts +13 -8
- package/dist/ci-wait/supervisor.js +59 -26
- package/dist/ci-wait/supervisor.js.map +1 -1
- package/dist/ci-wait/tool-catalog.js +1 -1
- package/dist/ci-wait/tool-catalog.js.map +1 -1
- package/dist/core/clamp-text.d.ts +2 -0
- package/dist/core/clamp-text.js +8 -0
- package/dist/core/clamp-text.js.map +1 -0
- package/dist/core/forge-pr-wait.d.ts +99 -0
- package/dist/core/forge-pr-wait.js +20 -0
- package/dist/core/forge-pr-wait.js.map +1 -0
- package/dist/core/forge-registry.d.ts +6 -2
- package/dist/core/forge-registry.js +5 -0
- package/dist/core/forge-registry.js.map +1 -1
- package/dist/delegation/transport.d.ts +65 -65
- package/dist/features/automations/tools.d.ts +8 -8
- package/dist/plugin/index.d.ts +3 -0
- package/dist/plugin/index.js +2 -0
- package/dist/plugin/index.js.map +1 -1
- package/dist/runs/run-archive.d.ts +72 -72
- package/dist/server/forge/github-forge.js +3 -0
- package/dist/server/forge/github-forge.js.map +1 -1
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/projects-routes.d.ts +45 -45
- package/dist/server/providers-routes.d.ts +57 -57
- package/dist/server/repo-routes.d.ts +34 -34
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +301 -301
- package/dist/server/server.d.ts +1396 -1396
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/dist/server/workspace-routes.d.ts +85 -85
- package/dist/workflows/input-acknowledgement.d.ts +24 -24
- package/dist/workflows/run/wait-input-descriptors.js +1 -1
- package/dist/workflows/run/wait-input-descriptors.js.map +1 -1
- package/dist/workflows/run/wait-kind-registry.d.ts +3 -2
- package/dist/workflows/run/wait-kind-registry.js.map +1 -1
- package/dist/workflows/run/wait-registration-tool.js +3 -1
- package/dist/workflows/run/wait-registration-tool.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-DV18K14j.js → accounts-section-CL4_y1Ap.js} +1 -1
- package/web/dist/assets/{activity-motion-U0gkYTm-.js → activity-motion-1nxINCqs.js} +1 -1
- package/web/dist/assets/{activity-route-CKFb-IYI.js → activity-route-yCPzQHRl.js} +1 -1
- package/web/dist/assets/{agent-config-section-X66FRjsE.js → agent-config-section-CO-Bl7d7.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-EEYiGk_Q.js → agent-defaults-section-C90pO0nt.js} +1 -1
- package/web/dist/assets/{appearance-D4I-ANZ_.js → appearance-dgwYTY63.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-D6y7pCov.js → archive-on-merge-field-DJZVhb_I.js} +1 -1
- package/web/dist/assets/{automations-route-4ahsnx6z.js → automations-route-BhSkU9kZ.js} +2 -2
- package/web/dist/assets/{command-ppU3xBNs.js → command-BMMjB5k9.js} +1 -1
- package/web/dist/assets/{commit-list-Dp0c_x8b.js → commit-list-mYh1t3BD.js} +1 -1
- package/web/dist/assets/{design-icons-CzEoMH9c.js → design-icons-BZt8Kqs9.js} +1 -1
- package/web/dist/assets/{dialog-DXCws12U.js → dialog-CB9ZhEk2.js} +1 -1
- package/web/dist/assets/{diff-n7BcLjSi.js → diff-B4l1BaZJ.js} +2 -2
- package/web/dist/assets/{diff-controls-7hWjGeWp.js → diff-controls-Bs58JOMz.js} +1 -1
- package/web/dist/assets/{diff-view-CJNrRCRI.js → diff-view-BGwOGavy.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-Bd3w4xOW.js → discard-changes-dialog-Cr1vlcjZ.js} +1 -1
- package/web/dist/assets/dropdown-menu-VFda6KAg.js +1 -0
- package/web/dist/assets/{file-preview-DS5j5uFi.js → file-preview-DqopZwES.js} +1 -1
- package/web/dist/assets/{git-toolbar-D5N_Ucqr.js → git-toolbar-pr68yTY4.js} +1 -1
- package/web/dist/assets/github-BY-X8L5Q.js +1 -0
- package/web/dist/assets/{global-activity-route-DqyHJiZz.js → global-activity-route-XkwjlnaD.js} +1 -1
- package/web/dist/assets/index-BOWGArJd.css +1 -0
- package/web/dist/assets/index-I4_drgNu.js +21 -0
- package/web/dist/assets/{markdown-9FIYg1nH.js → markdown-fuaT5ciN.js} +1 -1
- package/web/dist/assets/{open-in-menu-L5v_AQZt.js → open-in-menu-Uw-sJhbG.js} +1 -1
- package/web/dist/assets/{option-select-CYbw9rk4.js → option-select-_tHcMUWt.js} +1 -1
- package/web/dist/assets/{preferences-section-Do1nZwKg.js → preferences-section-Crh_5QfK.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-o7nx7h4-.js → preview-pane-connected-CLWRxEhI.js} +1 -1
- package/web/dist/assets/{project-location-BFN7mvbZ.js → project-location-DmGO5Dqx.js} +1 -1
- package/web/dist/assets/{projects-section-Bq9DzRDF.js → projects-section-CLPN14JX.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-CNa_K7AU.js → prompt-templates-section-CQHpVrcB.js} +2 -2
- package/web/dist/assets/{reference-chip-O8Bfl1Oi.js → reference-chip-Dk69XD7Q.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-CbCCb3QA.js → remote-settings-notice-C8naX_yp.js} +1 -1
- package/web/dist/assets/{repo-git-Dz3fhj6j.js → repo-git-CTSdvalV.js} +1 -1
- package/web/dist/assets/{report-reader-BfsdCLq-.js → report-reader-DJJixZxy.js} +1 -1
- package/web/dist/assets/{report-selection-cuFCCxDW.js → report-selection-BH0M_8bk.js} +1 -1
- package/web/dist/assets/{reports-Df83TkE3.js → reports-DXfywo34.js} +1 -1
- package/web/dist/assets/{resources-section-CKJGgLWa.js → resources-section-CA-D1Vj2.js} +1 -1
- package/web/dist/assets/review-panel-UI6FQQmp.js +11 -0
- package/web/dist/assets/{run-header-BWNapiIC.js → run-header-DDQU9tCB.js} +2 -2
- package/web/dist/assets/select-QO8XlmjU.js +1 -0
- package/web/dist/assets/{session-context-section-CSDtUgJI.js → session-context-section-CTDQl-i5.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-pMZcMiW4.js → settings-agent-picker-DE5zKJtS.js} +1 -1
- package/web/dist/assets/{settings-list-detail-Ch1KMPjr.js → settings-list-detail-DcRsGkGy.js} +1 -1
- package/web/dist/assets/{settings-save-bar-CFkofH5G.js → settings-save-bar-DM7T22Nr.js} +1 -1
- package/web/dist/assets/{settings-shell-B6-ofejE.js → settings-shell-EOUcgx1J.js} +1 -1
- package/web/dist/assets/{sidebar-section-DwcXrxn2.js → sidebar-section-C69ES3GL.js} +1 -1
- package/web/dist/assets/{skills-DD5hhynR.js → skills-DuaNQ6XW.js} +1 -1
- package/web/dist/assets/task-changes-midIkW0D.js +1 -0
- package/web/dist/assets/{task-commits-D8Pzk4b3.js → task-commits-DAT7-sIh.js} +1 -1
- package/web/dist/assets/{task-file-scope-DPJOeknI.js → task-file-scope-BYAH1Mj8.js} +1 -1
- package/web/dist/assets/{task-files-DJnNyynG.js → task-files-CJaZfp0y.js} +1 -1
- package/web/dist/assets/{task-github-item-Di9HWGn6.js → task-github-item-BnoxG2el.js} +1 -1
- package/web/dist/assets/task-thread-fsRo8vgf.js +2 -0
- package/web/dist/assets/{thread-state-B2dX4psn.js → thread-state-T5A2uz_q.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-CqiCI37V.css +1 -0
- package/web/dist/assets/use-hand-to-agent-state-Cy6oaj7k.js +1 -0
- package/web/dist/assets/use-path-bases-x6weDx5i.js +1 -0
- package/web/dist/assets/workflows-CwZ1aiR4.js +7 -0
- package/web/dist/assets/{workspace-tools-6fvZHbrZ.js → workspace-tools-0-Yx7SCS.js} +1 -1
- package/web/dist/assets/{worktrees-section-C1fpzChO.js → worktrees-section-Cn8sFOCC.js} +1 -1
- package/web/dist/index.html +9 -9
- package/web/dist/assets/dropdown-menu-B60L-d_4.js +0 -1
- package/web/dist/assets/github-Bhj0PA8h.js +0 -1
- package/web/dist/assets/index-UMSYsh9P.css +0 -1
- package/web/dist/assets/index-i4Bu7SvU.js +0 -21
- package/web/dist/assets/review-panel-BaUd88ko.js +0 -11
- package/web/dist/assets/select-Cy2NunWj.js +0 -1
- package/web/dist/assets/task-changes-CbWxyOEd.js +0 -1
- package/web/dist/assets/task-thread-gXImKbGN.js +0 -2
- package/web/dist/assets/use-hand-to-agent-state-BHaqyTxa.css +0 -1
- package/web/dist/assets/use-hand-to-agent-state-DhUiLIQg.js +0 -1
- package/web/dist/assets/use-path-bases-BzlzA9bw.js +0 -1
- package/web/dist/assets/workflows-slzqyi2_.js +0 -7
|
@@ -233,6 +233,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
233
233
|
deadline: string;
|
|
234
234
|
seconds: number;
|
|
235
235
|
note?: string | undefined;
|
|
236
|
+
} | {
|
|
237
|
+
id: string;
|
|
238
|
+
source: "agent" | "cezar";
|
|
239
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
240
|
+
registeredAt: string;
|
|
241
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
242
|
+
resolvedAt?: string | undefined;
|
|
243
|
+
deliveredAt?: string | undefined;
|
|
244
|
+
cancelledAt?: string | undefined;
|
|
245
|
+
turnId: string;
|
|
246
|
+
kind: "process";
|
|
247
|
+
deadline: string;
|
|
248
|
+
timeoutSeconds: number;
|
|
249
|
+
pid: number;
|
|
250
|
+
startToken?: string | undefined;
|
|
251
|
+
exitFile?: string | undefined;
|
|
252
|
+
note?: string | undefined;
|
|
253
|
+
result?: {
|
|
254
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
255
|
+
observedAt: string;
|
|
256
|
+
exitCode?: number | undefined;
|
|
257
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
258
|
+
diagnostic?: string | undefined;
|
|
259
|
+
} | undefined;
|
|
236
260
|
} | {
|
|
237
261
|
id: string;
|
|
238
262
|
source: "agent" | "cezar";
|
|
@@ -294,30 +318,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
294
318
|
reason: "outcome" | "timeout";
|
|
295
319
|
} | undefined;
|
|
296
320
|
wakeInputId?: string | undefined;
|
|
297
|
-
} | {
|
|
298
|
-
id: string;
|
|
299
|
-
source: "agent" | "cezar";
|
|
300
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
301
|
-
registeredAt: string;
|
|
302
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
303
|
-
resolvedAt?: string | undefined;
|
|
304
|
-
deliveredAt?: string | undefined;
|
|
305
|
-
cancelledAt?: string | undefined;
|
|
306
|
-
turnId: string;
|
|
307
|
-
kind: "process";
|
|
308
|
-
deadline: string;
|
|
309
|
-
timeoutSeconds: number;
|
|
310
|
-
pid: number;
|
|
311
|
-
startToken?: string | undefined;
|
|
312
|
-
exitFile?: string | undefined;
|
|
313
|
-
note?: string | undefined;
|
|
314
|
-
result?: {
|
|
315
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
316
|
-
observedAt: string;
|
|
317
|
-
exitCode?: number | undefined;
|
|
318
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
319
|
-
diagnostic?: string | undefined;
|
|
320
|
-
} | undefined;
|
|
321
321
|
} | {
|
|
322
322
|
id: string;
|
|
323
323
|
source: "agent" | "cezar";
|
|
@@ -446,6 +446,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
446
446
|
deadline: string;
|
|
447
447
|
seconds: number;
|
|
448
448
|
note?: string | undefined;
|
|
449
|
+
} | {
|
|
450
|
+
id: string;
|
|
451
|
+
source: "agent" | "cezar";
|
|
452
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
453
|
+
registeredAt: string;
|
|
454
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
455
|
+
resolvedAt?: string | undefined;
|
|
456
|
+
deliveredAt?: string | undefined;
|
|
457
|
+
cancelledAt?: string | undefined;
|
|
458
|
+
turnId: string;
|
|
459
|
+
kind: "process";
|
|
460
|
+
deadline: string;
|
|
461
|
+
timeoutSeconds: number;
|
|
462
|
+
pid: number;
|
|
463
|
+
startToken?: string | undefined;
|
|
464
|
+
exitFile?: string | undefined;
|
|
465
|
+
note?: string | undefined;
|
|
466
|
+
result?: {
|
|
467
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
468
|
+
observedAt: string;
|
|
469
|
+
exitCode?: number | undefined;
|
|
470
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
471
|
+
diagnostic?: string | undefined;
|
|
472
|
+
} | undefined;
|
|
449
473
|
} | {
|
|
450
474
|
id: string;
|
|
451
475
|
source: "agent" | "cezar";
|
|
@@ -507,30 +531,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
507
531
|
reason: "outcome" | "timeout";
|
|
508
532
|
} | undefined;
|
|
509
533
|
wakeInputId?: string | undefined;
|
|
510
|
-
} | {
|
|
511
|
-
id: string;
|
|
512
|
-
source: "agent" | "cezar";
|
|
513
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
514
|
-
registeredAt: string;
|
|
515
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
516
|
-
resolvedAt?: string | undefined;
|
|
517
|
-
deliveredAt?: string | undefined;
|
|
518
|
-
cancelledAt?: string | undefined;
|
|
519
|
-
turnId: string;
|
|
520
|
-
kind: "process";
|
|
521
|
-
deadline: string;
|
|
522
|
-
timeoutSeconds: number;
|
|
523
|
-
pid: number;
|
|
524
|
-
startToken?: string | undefined;
|
|
525
|
-
exitFile?: string | undefined;
|
|
526
|
-
note?: string | undefined;
|
|
527
|
-
result?: {
|
|
528
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
529
|
-
observedAt: string;
|
|
530
|
-
exitCode?: number | undefined;
|
|
531
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
532
|
-
diagnostic?: string | undefined;
|
|
533
|
-
} | undefined;
|
|
534
534
|
} | {
|
|
535
535
|
id: string;
|
|
536
536
|
source: "agent" | "cezar";
|
|
@@ -658,6 +658,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
658
658
|
deadline: string;
|
|
659
659
|
seconds: number;
|
|
660
660
|
note?: string | undefined;
|
|
661
|
+
} | {
|
|
662
|
+
id: string;
|
|
663
|
+
source: "agent" | "cezar";
|
|
664
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
665
|
+
registeredAt: string;
|
|
666
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
667
|
+
resolvedAt?: string | undefined;
|
|
668
|
+
deliveredAt?: string | undefined;
|
|
669
|
+
cancelledAt?: string | undefined;
|
|
670
|
+
turnId: string;
|
|
671
|
+
kind: "process";
|
|
672
|
+
deadline: string;
|
|
673
|
+
timeoutSeconds: number;
|
|
674
|
+
pid: number;
|
|
675
|
+
startToken?: string | undefined;
|
|
676
|
+
exitFile?: string | undefined;
|
|
677
|
+
note?: string | undefined;
|
|
678
|
+
result?: {
|
|
679
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
680
|
+
observedAt: string;
|
|
681
|
+
exitCode?: number | undefined;
|
|
682
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
683
|
+
diagnostic?: string | undefined;
|
|
684
|
+
} | undefined;
|
|
661
685
|
} | {
|
|
662
686
|
id: string;
|
|
663
687
|
source: "agent" | "cezar";
|
|
@@ -719,30 +743,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
719
743
|
reason: "outcome" | "timeout";
|
|
720
744
|
} | undefined;
|
|
721
745
|
wakeInputId?: string | undefined;
|
|
722
|
-
} | {
|
|
723
|
-
id: string;
|
|
724
|
-
source: "agent" | "cezar";
|
|
725
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
726
|
-
registeredAt: string;
|
|
727
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
728
|
-
resolvedAt?: string | undefined;
|
|
729
|
-
deliveredAt?: string | undefined;
|
|
730
|
-
cancelledAt?: string | undefined;
|
|
731
|
-
turnId: string;
|
|
732
|
-
kind: "process";
|
|
733
|
-
deadline: string;
|
|
734
|
-
timeoutSeconds: number;
|
|
735
|
-
pid: number;
|
|
736
|
-
startToken?: string | undefined;
|
|
737
|
-
exitFile?: string | undefined;
|
|
738
|
-
note?: string | undefined;
|
|
739
|
-
result?: {
|
|
740
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
741
|
-
observedAt: string;
|
|
742
|
-
exitCode?: number | undefined;
|
|
743
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
744
|
-
diagnostic?: string | undefined;
|
|
745
|
-
} | undefined;
|
|
746
746
|
} | {
|
|
747
747
|
id: string;
|
|
748
748
|
source: "agent" | "cezar";
|
|
@@ -9,6 +9,7 @@ import { createGithubDriver } from './github.js';
|
|
|
9
9
|
import { githubBranchForge } from '../repo-branch-forge.js';
|
|
10
10
|
import { lookupMergedPullRequests } from './github-mutations.js';
|
|
11
11
|
import { createGithubPullRequest } from './github-create-pr.js';
|
|
12
|
+
import { GithubCiClient, githubPrWaitMethods } from '../../ci-wait/github.js';
|
|
12
13
|
const GITHUB_HOST = 'github.com';
|
|
13
14
|
const NAME = '[A-Za-z0-9_.-]+';
|
|
14
15
|
const PULL_PATH = new RegExp(`^/(${NAME})/(${NAME})/pull/([1-9][0-9]*)/?$`);
|
|
@@ -98,6 +99,8 @@ export function createGithubForge(driverFactory = createGithubDriver) {
|
|
|
98
99
|
// The lookup names each repository in its query; the working folder only keys gh's context.
|
|
99
100
|
mergedPullRequests: (identities, signal) => lookupMergedPullRequests(process.cwd(), identities, signal),
|
|
100
101
|
open: input => openProject(driverFactory, input),
|
|
102
|
+
// PR waits keep the native `gh pr checks --watch`, the GraphQL checks query and the request gate.
|
|
103
|
+
...githubPrWaitMethods(() => new GithubCiClient({ gate: githubRequestGate })),
|
|
101
104
|
};
|
|
102
105
|
}
|
|
103
106
|
export const githubForge = createGithubForge();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github-forge.js","sourceRoot":"","sources":["../../../src/server/forge/github-forge.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAsB,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"github-forge.js","sourceRoot":"","sources":["../../../src/server/forge/github-forge.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAsB,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9E,MAAM,WAAW,GAAG,YAAY,CAAC;AACjC,MAAM,IAAI,GAAG,iBAAiB,CAAC;AA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OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACrD,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACtD,CAAC;AACJ,CAAC;AAED,sGAAsG;AACtG,MAAM,UAAU,iBAAiB,CAAC,aAAa,GAAwB,kBAAkB;IACvF,OAAO;QACL,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,KAAK,WAAW;QAC/C,mBAAmB,EAAE,yBAAyB;QAC9C,cAAc;QACd,eAAe;QACf,4FAA4F;QAC5F,kBAAkB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC;QACvG,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,aAAa,EAAE,KAAK,CAAC;QAChD,kGAAkG;QAClG,GAAG,mBAAmB,CAAC,GAAG,EAAE,CAAC,IAAI,cAAc,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC,CAAC;KAC9E,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,WAAW,GAAoB,iBAAiB,EAAE,CAAC"}
|
|
@@ -16,12 +16,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
16
16
|
output: {
|
|
17
17
|
generation: string;
|
|
18
18
|
results: ({
|
|
19
|
-
projectId: string;
|
|
20
|
-
runId: string;
|
|
21
|
-
type: "error" | "reset";
|
|
22
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
23
|
-
error: string;
|
|
24
|
-
} | {
|
|
25
19
|
projectId: string;
|
|
26
20
|
runId: string;
|
|
27
21
|
type: "batch";
|
|
@@ -42,6 +36,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
42
36
|
cursor: string;
|
|
43
37
|
afterSeq: number;
|
|
44
38
|
hasMore: boolean;
|
|
39
|
+
} | {
|
|
40
|
+
projectId: string;
|
|
41
|
+
runId: string;
|
|
42
|
+
type: "error" | "reset";
|
|
43
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
44
|
+
error: string;
|
|
45
45
|
})[];
|
|
46
46
|
};
|
|
47
47
|
outputFormat: "json";
|
|
@@ -22,6 +22,18 @@ export declare function createModelsRoutes(options: {
|
|
|
22
22
|
profileId?: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
+
} | {
|
|
26
|
+
output: {
|
|
27
|
+
error: string;
|
|
28
|
+
};
|
|
29
|
+
outputFormat: "json";
|
|
30
|
+
status: 400;
|
|
31
|
+
input: {
|
|
32
|
+
query: {
|
|
33
|
+
runner: string | string[];
|
|
34
|
+
profileId?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
25
37
|
} | {
|
|
26
38
|
output: {
|
|
27
39
|
runner: string;
|
|
@@ -43,18 +55,6 @@ export declare function createModelsRoutes(options: {
|
|
|
43
55
|
profileId?: string | undefined;
|
|
44
56
|
};
|
|
45
57
|
};
|
|
46
|
-
} | {
|
|
47
|
-
output: {
|
|
48
|
-
error: string;
|
|
49
|
-
};
|
|
50
|
-
outputFormat: "json";
|
|
51
|
-
status: 400;
|
|
52
|
-
input: {
|
|
53
|
-
query: {
|
|
54
|
-
runner: string | string[];
|
|
55
|
-
profileId?: string | undefined;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
}, "/", "/models">;
|
|
@@ -63,17 +63,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
63
63
|
} & {
|
|
64
64
|
"/projects": {
|
|
65
65
|
$post: {
|
|
66
|
-
output: {
|
|
67
|
-
error: string;
|
|
68
|
-
};
|
|
69
|
-
outputFormat: "json";
|
|
70
|
-
status: 400 | 500;
|
|
71
|
-
input: {
|
|
72
|
-
json: {
|
|
73
|
-
root: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
} | {
|
|
77
66
|
output: {
|
|
78
67
|
project: {
|
|
79
68
|
id: string;
|
|
@@ -104,10 +93,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
104
93
|
agent: boolean;
|
|
105
94
|
}[] | undefined;
|
|
106
95
|
};
|
|
107
|
-
error
|
|
96
|
+
error?: string | undefined;
|
|
108
97
|
};
|
|
109
98
|
outputFormat: "json";
|
|
110
|
-
status:
|
|
99
|
+
status: 200;
|
|
111
100
|
input: {
|
|
112
101
|
json: {
|
|
113
102
|
root: string;
|
|
@@ -144,10 +133,21 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
144
133
|
agent: boolean;
|
|
145
134
|
}[] | undefined;
|
|
146
135
|
};
|
|
147
|
-
error
|
|
136
|
+
error: string;
|
|
148
137
|
};
|
|
149
138
|
outputFormat: "json";
|
|
150
|
-
status:
|
|
139
|
+
status: 409;
|
|
140
|
+
input: {
|
|
141
|
+
json: {
|
|
142
|
+
root: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
} | {
|
|
146
|
+
output: {
|
|
147
|
+
error: string;
|
|
148
|
+
};
|
|
149
|
+
outputFormat: "json";
|
|
150
|
+
status: 400 | 500;
|
|
151
151
|
input: {
|
|
152
152
|
json: {
|
|
153
153
|
root: string;
|
|
@@ -306,7 +306,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
306
306
|
error: string;
|
|
307
307
|
};
|
|
308
308
|
outputFormat: "json";
|
|
309
|
-
status:
|
|
309
|
+
status: 400;
|
|
310
310
|
input: {
|
|
311
311
|
param: {
|
|
312
312
|
projectId: string;
|
|
@@ -317,7 +317,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
317
317
|
error: string;
|
|
318
318
|
};
|
|
319
319
|
outputFormat: "json";
|
|
320
|
-
status:
|
|
320
|
+
status: 404;
|
|
321
321
|
input: {
|
|
322
322
|
param: {
|
|
323
323
|
projectId: string;
|
|
@@ -342,27 +342,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
342
342
|
} & {
|
|
343
343
|
"/projects/:projectId/webhooks": {
|
|
344
344
|
$post: {
|
|
345
|
-
output: {
|
|
346
|
-
error: string;
|
|
347
|
-
};
|
|
348
|
-
outputFormat: "json";
|
|
349
|
-
status: 400 | 404 | 409 | 500;
|
|
350
|
-
input: {
|
|
351
|
-
json: {
|
|
352
|
-
name: string;
|
|
353
|
-
description?: string | undefined;
|
|
354
|
-
url: string;
|
|
355
|
-
token?: string | undefined;
|
|
356
|
-
tasks?: boolean | undefined;
|
|
357
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
358
|
-
agent?: boolean | undefined;
|
|
359
|
-
};
|
|
360
|
-
} & {
|
|
361
|
-
param: {
|
|
362
|
-
projectId: string;
|
|
363
|
-
};
|
|
364
|
-
};
|
|
365
|
-
} | {
|
|
366
345
|
output: {
|
|
367
346
|
project: {
|
|
368
347
|
id: string;
|
|
@@ -421,6 +400,27 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
421
400
|
projectId: string;
|
|
422
401
|
};
|
|
423
402
|
};
|
|
403
|
+
} | {
|
|
404
|
+
output: {
|
|
405
|
+
error: string;
|
|
406
|
+
};
|
|
407
|
+
outputFormat: "json";
|
|
408
|
+
status: 400 | 404 | 409 | 500;
|
|
409
|
+
input: {
|
|
410
|
+
json: {
|
|
411
|
+
name: string;
|
|
412
|
+
description?: string | undefined;
|
|
413
|
+
url: string;
|
|
414
|
+
token?: string | undefined;
|
|
415
|
+
tasks?: boolean | undefined;
|
|
416
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
417
|
+
agent?: boolean | undefined;
|
|
418
|
+
};
|
|
419
|
+
} & {
|
|
420
|
+
param: {
|
|
421
|
+
projectId: string;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
424
|
};
|
|
425
425
|
};
|
|
426
426
|
} & {
|
|
@@ -618,13 +618,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
618
618
|
};
|
|
619
619
|
} | {
|
|
620
620
|
output: {
|
|
621
|
-
|
|
622
|
-
status?: number | undefined;
|
|
623
|
-
error?: string | undefined;
|
|
624
|
-
dryRun?: boolean | undefined;
|
|
621
|
+
error: string;
|
|
625
622
|
};
|
|
626
623
|
outputFormat: "json";
|
|
627
|
-
status:
|
|
624
|
+
status: 404;
|
|
628
625
|
input: {
|
|
629
626
|
param: {
|
|
630
627
|
projectId: string;
|
|
@@ -633,10 +630,13 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
633
630
|
};
|
|
634
631
|
} | {
|
|
635
632
|
output: {
|
|
636
|
-
|
|
633
|
+
ok: boolean;
|
|
634
|
+
status?: number | undefined;
|
|
635
|
+
error?: string | undefined;
|
|
636
|
+
dryRun?: boolean | undefined;
|
|
637
637
|
};
|
|
638
638
|
outputFormat: "json";
|
|
639
|
-
status:
|
|
639
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
640
640
|
input: {
|
|
641
641
|
param: {
|
|
642
642
|
projectId: string;
|