@hearsay-tools/squawk 0.19.0-dev.9082 → 0.19.0-dev.9088
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/boot.js +2 -0
- package/dist/boot.js.map +1 -1
- package/dist/built-in-cli-commands.js +6 -1
- package/dist/built-in-cli-commands.js.map +1 -1
- package/dist/ci-wait/controller.d.ts +7 -7
- package/dist/cli-dispatch.d.ts +2 -1
- package/dist/cli-dispatch.js +20 -7
- package/dist/cli-dispatch.js.map +1 -1
- package/dist/contract/hosts.d.ts +161 -0
- package/dist/contract/index.js +116 -0
- package/dist/core/cli-registry.d.ts +1 -0
- package/dist/core/cli-registry.js.map +1 -1
- package/dist/core/live-topic-registry.d.ts +29 -0
- package/dist/core/live-topic-registry.js +68 -0
- package/dist/core/live-topic-registry.js.map +1 -0
- package/dist/core/server-hook-registry.d.ts +2 -0
- package/dist/core/server-hook-registry.js.map +1 -1
- package/dist/delegation/routes.d.ts +78 -78
- package/dist/features/hosts/cli.d.ts +59 -0
- package/dist/features/hosts/cli.js +28 -17
- package/dist/features/hosts/cli.js.map +1 -1
- package/dist/features/hosts/host-server-cli.d.ts +13 -0
- package/dist/features/hosts/host-server-cli.js +246 -0
- package/dist/features/hosts/host-server-cli.js.map +1 -0
- package/dist/features/hosts/host-server.d.ts +51 -0
- package/dist/features/hosts/host-server.js +407 -0
- package/dist/features/hosts/host-server.js.map +1 -0
- package/dist/features/hosts/index.d.ts +2 -0
- package/dist/features/hosts/index.js +12 -0
- package/dist/features/hosts/index.js.map +1 -1
- package/dist/features/hosts/runtime-archive.d.ts +103 -0
- package/dist/features/hosts/runtime-archive.js +619 -0
- package/dist/features/hosts/runtime-archive.js.map +1 -0
- package/dist/features/hosts/start-methods.d.ts +76 -0
- package/dist/features/hosts/start-methods.js +234 -0
- package/dist/features/hosts/start-methods.js.map +1 -0
- package/dist/features/hosts/tar-gz.d.ts +30 -0
- package/dist/features/hosts/tar-gz.js +143 -0
- package/dist/features/hosts/tar-gz.js.map +1 -0
- package/dist/features/reports/capability.d.ts +3 -0
- package/dist/features/reports/capability.js +6 -0
- package/dist/features/reports/capability.js.map +1 -0
- package/dist/features/reports/index.d.ts +13 -0
- package/dist/features/reports/index.js +12 -0
- package/dist/features/reports/index.js.map +1 -0
- package/dist/features/reports/live-topic.d.ts +5 -0
- package/dist/{server/reports-topic.js → features/reports/live-topic.js} +10 -7
- package/dist/features/reports/live-topic.js.map +1 -0
- package/dist/{artifacts → features/reports}/reports-index.d.ts +5 -5
- package/dist/{artifacts → features/reports}/reports-index.js +7 -7
- package/dist/features/reports/reports-index.js.map +1 -0
- package/dist/{artifacts → features/reports}/reports-watch.d.ts +3 -3
- package/dist/{artifacts → features/reports}/reports-watch.js +2 -2
- package/dist/features/reports/reports-watch.js.map +1 -0
- package/dist/{server/reports-api.d.ts → features/reports/routes.d.ts} +6 -2
- package/dist/features/reports/routes.js +32 -0
- package/dist/features/reports/routes.js.map +1 -0
- package/dist/features/reports/server-hook.d.ts +8 -0
- package/dist/features/reports/server-hook.js +25 -0
- package/dist/features/reports/server-hook.js.map +1 -0
- package/dist/host-server-store.d.ts +103 -0
- package/dist/host-server-store.js +348 -0
- package/dist/host-server-store.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/plugin/api.d.ts +3 -0
- package/dist/plugin/api.js +10 -1
- package/dist/plugin/api.js.map +1 -1
- package/dist/plugin/cli.js +1 -1
- package/dist/plugin/cli.js.map +1 -1
- package/dist/plugin/index.d.ts +1 -0
- package/dist/plugin/index.js.map +1 -1
- package/dist/serve-command.d.ts +10 -1
- package/dist/serve-command.js +63 -9
- package/dist/serve-command.js.map +1 -1
- package/dist/server/activity-routes.js +0 -2
- package/dist/server/activity-routes.js.map +1 -1
- package/dist/server/plugin-live-topics.d.ts +18 -0
- package/dist/server/plugin-live-topics.js +120 -0
- package/dist/server/plugin-live-topics.js.map +1 -0
- package/dist/server/project-context.js +0 -2
- package/dist/server/project-context.js.map +1 -1
- package/dist/server/repo-routes.d.ts +13 -13
- package/dist/server/runs-routes.d.ts +1002 -1002
- package/dist/server/server.d.ts +2493 -2666
- package/dist/server/server.js +3 -4
- package/dist/server/server.js.map +1 -1
- package/dist/server/start-server.js +6 -3
- package/dist/server/start-server.js.map +1 -1
- package/dist/server/workspace-identity-routes.d.ts +5 -5
- package/dist/server/workspace-live-routes.d.ts +11 -11
- package/dist/server/workspace-routes.d.ts +85 -85
- package/package.json +4 -4
- package/dist/artifacts/reports-index.js.map +0 -1
- package/dist/artifacts/reports-watch.js.map +0 -1
- package/dist/server/reports-api.js +0 -22
- package/dist/server/reports-api.js.map +0 -1
- package/dist/server/reports-topic.d.ts +0 -5
- package/dist/server/reports-topic.js.map +0 -1
|
@@ -423,6 +423,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
423
423
|
deadline: string;
|
|
424
424
|
seconds: number;
|
|
425
425
|
note?: string | undefined;
|
|
426
|
+
} | {
|
|
427
|
+
id: string;
|
|
428
|
+
source: "agent" | "cezar";
|
|
429
|
+
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";
|
|
430
|
+
registeredAt: string;
|
|
431
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
432
|
+
resolvedAt?: string | undefined;
|
|
433
|
+
deliveredAt?: string | undefined;
|
|
434
|
+
cancelledAt?: string | undefined;
|
|
435
|
+
turnId: string;
|
|
436
|
+
kind: "process";
|
|
437
|
+
deadline: string;
|
|
438
|
+
timeoutSeconds: number;
|
|
439
|
+
pid: number;
|
|
440
|
+
startToken?: string | undefined;
|
|
441
|
+
exitFile?: string | undefined;
|
|
442
|
+
note?: string | undefined;
|
|
443
|
+
result?: {
|
|
444
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
445
|
+
observedAt: string;
|
|
446
|
+
exitCode?: number | undefined;
|
|
447
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
448
|
+
diagnostic?: string | undefined;
|
|
449
|
+
} | undefined;
|
|
426
450
|
} | {
|
|
427
451
|
id: string;
|
|
428
452
|
source: "agent" | "cezar";
|
|
@@ -484,30 +508,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
484
508
|
reason: "outcome" | "timeout";
|
|
485
509
|
} | undefined;
|
|
486
510
|
wakeInputId?: string | undefined;
|
|
487
|
-
} | {
|
|
488
|
-
id: string;
|
|
489
|
-
source: "agent" | "cezar";
|
|
490
|
-
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";
|
|
491
|
-
registeredAt: string;
|
|
492
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
493
|
-
resolvedAt?: string | undefined;
|
|
494
|
-
deliveredAt?: string | undefined;
|
|
495
|
-
cancelledAt?: string | undefined;
|
|
496
|
-
turnId: string;
|
|
497
|
-
kind: "process";
|
|
498
|
-
deadline: string;
|
|
499
|
-
timeoutSeconds: number;
|
|
500
|
-
pid: number;
|
|
501
|
-
startToken?: string | undefined;
|
|
502
|
-
exitFile?: string | undefined;
|
|
503
|
-
note?: string | undefined;
|
|
504
|
-
result?: {
|
|
505
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
506
|
-
observedAt: string;
|
|
507
|
-
exitCode?: number | undefined;
|
|
508
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
509
|
-
diagnostic?: string | undefined;
|
|
510
|
-
} | undefined;
|
|
511
511
|
} | {
|
|
512
512
|
id: string;
|
|
513
513
|
source: "agent" | "cezar";
|
|
@@ -640,6 +640,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
640
640
|
deadline: string;
|
|
641
641
|
seconds: number;
|
|
642
642
|
note?: string | undefined;
|
|
643
|
+
} | {
|
|
644
|
+
id: string;
|
|
645
|
+
source: "agent" | "cezar";
|
|
646
|
+
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";
|
|
647
|
+
registeredAt: string;
|
|
648
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
649
|
+
resolvedAt?: string | undefined;
|
|
650
|
+
deliveredAt?: string | undefined;
|
|
651
|
+
cancelledAt?: string | undefined;
|
|
652
|
+
turnId: string;
|
|
653
|
+
kind: "process";
|
|
654
|
+
deadline: string;
|
|
655
|
+
timeoutSeconds: number;
|
|
656
|
+
pid: number;
|
|
657
|
+
startToken?: string | undefined;
|
|
658
|
+
exitFile?: string | undefined;
|
|
659
|
+
note?: string | undefined;
|
|
660
|
+
result?: {
|
|
661
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
662
|
+
observedAt: string;
|
|
663
|
+
exitCode?: number | undefined;
|
|
664
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
665
|
+
diagnostic?: string | undefined;
|
|
666
|
+
} | undefined;
|
|
643
667
|
} | {
|
|
644
668
|
id: string;
|
|
645
669
|
source: "agent" | "cezar";
|
|
@@ -701,30 +725,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
701
725
|
reason: "outcome" | "timeout";
|
|
702
726
|
} | undefined;
|
|
703
727
|
wakeInputId?: string | undefined;
|
|
704
|
-
} | {
|
|
705
|
-
id: string;
|
|
706
|
-
source: "agent" | "cezar";
|
|
707
|
-
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";
|
|
708
|
-
registeredAt: string;
|
|
709
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
710
|
-
resolvedAt?: string | undefined;
|
|
711
|
-
deliveredAt?: string | undefined;
|
|
712
|
-
cancelledAt?: string | undefined;
|
|
713
|
-
turnId: string;
|
|
714
|
-
kind: "process";
|
|
715
|
-
deadline: string;
|
|
716
|
-
timeoutSeconds: number;
|
|
717
|
-
pid: number;
|
|
718
|
-
startToken?: string | undefined;
|
|
719
|
-
exitFile?: string | undefined;
|
|
720
|
-
note?: string | undefined;
|
|
721
|
-
result?: {
|
|
722
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
723
|
-
observedAt: string;
|
|
724
|
-
exitCode?: number | undefined;
|
|
725
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
726
|
-
diagnostic?: string | undefined;
|
|
727
|
-
} | undefined;
|
|
728
728
|
} | {
|
|
729
729
|
id: string;
|
|
730
730
|
source: "agent" | "cezar";
|
|
@@ -856,6 +856,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
856
856
|
deadline: string;
|
|
857
857
|
seconds: number;
|
|
858
858
|
note?: string | undefined;
|
|
859
|
+
} | {
|
|
860
|
+
id: string;
|
|
861
|
+
source: "agent" | "cezar";
|
|
862
|
+
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";
|
|
863
|
+
registeredAt: string;
|
|
864
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
865
|
+
resolvedAt?: string | undefined;
|
|
866
|
+
deliveredAt?: string | undefined;
|
|
867
|
+
cancelledAt?: string | undefined;
|
|
868
|
+
turnId: string;
|
|
869
|
+
kind: "process";
|
|
870
|
+
deadline: string;
|
|
871
|
+
timeoutSeconds: number;
|
|
872
|
+
pid: number;
|
|
873
|
+
startToken?: string | undefined;
|
|
874
|
+
exitFile?: string | undefined;
|
|
875
|
+
note?: string | undefined;
|
|
876
|
+
result?: {
|
|
877
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
878
|
+
observedAt: string;
|
|
879
|
+
exitCode?: number | undefined;
|
|
880
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
881
|
+
diagnostic?: string | undefined;
|
|
882
|
+
} | undefined;
|
|
859
883
|
} | {
|
|
860
884
|
id: string;
|
|
861
885
|
source: "agent" | "cezar";
|
|
@@ -917,30 +941,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
917
941
|
reason: "outcome" | "timeout";
|
|
918
942
|
} | undefined;
|
|
919
943
|
wakeInputId?: string | undefined;
|
|
920
|
-
} | {
|
|
921
|
-
id: string;
|
|
922
|
-
source: "agent" | "cezar";
|
|
923
|
-
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";
|
|
924
|
-
registeredAt: string;
|
|
925
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
926
|
-
resolvedAt?: string | undefined;
|
|
927
|
-
deliveredAt?: string | undefined;
|
|
928
|
-
cancelledAt?: string | undefined;
|
|
929
|
-
turnId: string;
|
|
930
|
-
kind: "process";
|
|
931
|
-
deadline: string;
|
|
932
|
-
timeoutSeconds: number;
|
|
933
|
-
pid: number;
|
|
934
|
-
startToken?: string | undefined;
|
|
935
|
-
exitFile?: string | undefined;
|
|
936
|
-
note?: string | undefined;
|
|
937
|
-
result?: {
|
|
938
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
939
|
-
observedAt: string;
|
|
940
|
-
exitCode?: number | undefined;
|
|
941
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
942
|
-
diagnostic?: string | undefined;
|
|
943
|
-
} | undefined;
|
|
944
944
|
} | {
|
|
945
945
|
id: string;
|
|
946
946
|
source: "agent" | "cezar";
|
|
@@ -1217,6 +1217,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1217
1217
|
} & {
|
|
1218
1218
|
"/run-summaries": {
|
|
1219
1219
|
$get: {
|
|
1220
|
+
output: {
|
|
1221
|
+
error: string;
|
|
1222
|
+
code?: "invalid_input" | undefined;
|
|
1223
|
+
};
|
|
1224
|
+
outputFormat: "json";
|
|
1225
|
+
status: 400;
|
|
1226
|
+
input: {
|
|
1227
|
+
query: {
|
|
1228
|
+
archived?: "all" | "recent" | undefined;
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1231
|
+
} | {
|
|
1220
1232
|
output: {
|
|
1221
1233
|
id: string;
|
|
1222
1234
|
title: string;
|
|
@@ -1354,18 +1366,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1354
1366
|
archived?: "all" | "recent" | undefined;
|
|
1355
1367
|
};
|
|
1356
1368
|
};
|
|
1357
|
-
} | {
|
|
1358
|
-
output: {
|
|
1359
|
-
error: string;
|
|
1360
|
-
code?: "invalid_input" | undefined;
|
|
1361
|
-
};
|
|
1362
|
-
outputFormat: "json";
|
|
1363
|
-
status: 400;
|
|
1364
|
-
input: {
|
|
1365
|
-
query: {
|
|
1366
|
-
archived?: "all" | "recent" | undefined;
|
|
1367
|
-
};
|
|
1368
|
-
};
|
|
1369
1369
|
};
|
|
1370
1370
|
};
|
|
1371
1371
|
} & {
|
|
@@ -1727,11 +1727,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1727
1727
|
"/runs/:id/worker-destroy": {
|
|
1728
1728
|
$post: {
|
|
1729
1729
|
output: {
|
|
1730
|
-
|
|
1731
|
-
|
|
1730
|
+
workerId: string;
|
|
1731
|
+
state: "complete" | "incomplete";
|
|
1732
|
+
work?: {
|
|
1733
|
+
uncommittedFiles: number;
|
|
1734
|
+
commits: number;
|
|
1735
|
+
} | undefined;
|
|
1736
|
+
deleted?: ({
|
|
1737
|
+
kind: "worktree";
|
|
1738
|
+
path: string;
|
|
1739
|
+
} | {
|
|
1740
|
+
kind: "branch";
|
|
1741
|
+
ref: string;
|
|
1742
|
+
})[] | undefined;
|
|
1743
|
+
remaining: ("branch" | "process" | "worktree")[];
|
|
1744
|
+
error?: string | undefined;
|
|
1732
1745
|
};
|
|
1733
1746
|
outputFormat: "json";
|
|
1734
|
-
status:
|
|
1747
|
+
status: 200;
|
|
1735
1748
|
input: {
|
|
1736
1749
|
query: {
|
|
1737
1750
|
[x: string]: string | string[];
|
|
@@ -1747,22 +1760,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1747
1760
|
};
|
|
1748
1761
|
} | {
|
|
1749
1762
|
output: {
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
readonly modelChoices?: {
|
|
1753
|
-
runner: string;
|
|
1754
|
-
requestedModel: string;
|
|
1755
|
-
availableModels: {
|
|
1756
|
-
id: string;
|
|
1757
|
-
label: string;
|
|
1758
|
-
description: string;
|
|
1759
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
1760
|
-
}[];
|
|
1761
|
-
otherRunners: string[];
|
|
1762
|
-
} | undefined;
|
|
1763
|
+
error: string;
|
|
1764
|
+
code?: "invalid_input" | undefined;
|
|
1763
1765
|
};
|
|
1764
1766
|
outputFormat: "json";
|
|
1765
|
-
status: 400
|
|
1767
|
+
status: 400;
|
|
1766
1768
|
input: {
|
|
1767
1769
|
query: {
|
|
1768
1770
|
[x: string]: string | string[];
|
|
@@ -1795,7 +1797,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1795
1797
|
error?: string | undefined;
|
|
1796
1798
|
};
|
|
1797
1799
|
outputFormat: "json";
|
|
1798
|
-
status:
|
|
1800
|
+
status: 409;
|
|
1799
1801
|
input: {
|
|
1800
1802
|
query: {
|
|
1801
1803
|
[x: string]: string | string[];
|
|
@@ -1811,24 +1813,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1811
1813
|
};
|
|
1812
1814
|
} | {
|
|
1813
1815
|
output: {
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1816
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
1817
|
+
readonly error: string;
|
|
1818
|
+
readonly modelChoices?: {
|
|
1819
|
+
runner: string;
|
|
1820
|
+
requestedModel: string;
|
|
1821
|
+
availableModels: {
|
|
1822
|
+
id: string;
|
|
1823
|
+
label: string;
|
|
1824
|
+
description: string;
|
|
1825
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
1826
|
+
}[];
|
|
1827
|
+
otherRunners: string[];
|
|
1819
1828
|
} | undefined;
|
|
1820
|
-
deleted?: ({
|
|
1821
|
-
kind: "worktree";
|
|
1822
|
-
path: string;
|
|
1823
|
-
} | {
|
|
1824
|
-
kind: "branch";
|
|
1825
|
-
ref: string;
|
|
1826
|
-
})[] | undefined;
|
|
1827
|
-
remaining: ("branch" | "process" | "worktree")[];
|
|
1828
|
-
error?: string | undefined;
|
|
1829
1829
|
};
|
|
1830
1830
|
outputFormat: "json";
|
|
1831
|
-
status: 409;
|
|
1831
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
1832
1832
|
input: {
|
|
1833
1833
|
query: {
|
|
1834
1834
|
[x: string]: string | string[];
|
|
@@ -1880,6 +1880,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1880
1880
|
} & {
|
|
1881
1881
|
"/runs/:id/archive": {
|
|
1882
1882
|
$post: {
|
|
1883
|
+
output: {
|
|
1884
|
+
error: string;
|
|
1885
|
+
};
|
|
1886
|
+
outputFormat: "json";
|
|
1887
|
+
status: 404;
|
|
1888
|
+
input: {
|
|
1889
|
+
json: {
|
|
1890
|
+
archived?: boolean | undefined;
|
|
1891
|
+
};
|
|
1892
|
+
} & {
|
|
1893
|
+
param: {
|
|
1894
|
+
id: string;
|
|
1895
|
+
};
|
|
1896
|
+
};
|
|
1897
|
+
} | {
|
|
1883
1898
|
output: {
|
|
1884
1899
|
archiveWhenDone?: boolean | undefined;
|
|
1885
1900
|
autoMergePr?: boolean | undefined;
|
|
@@ -2280,13 +2295,37 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
2280
2295
|
deliveredAt?: string | undefined;
|
|
2281
2296
|
cancelledAt?: string | undefined;
|
|
2282
2297
|
turnId: string;
|
|
2283
|
-
kind: "
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2298
|
+
kind: "process";
|
|
2299
|
+
deadline: string;
|
|
2300
|
+
timeoutSeconds: number;
|
|
2301
|
+
pid: number;
|
|
2302
|
+
startToken?: string | undefined;
|
|
2303
|
+
exitFile?: string | undefined;
|
|
2304
|
+
note?: string | undefined;
|
|
2305
|
+
result?: {
|
|
2306
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2307
|
+
observedAt: string;
|
|
2308
|
+
exitCode?: number | undefined;
|
|
2309
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2310
|
+
diagnostic?: string | undefined;
|
|
2311
|
+
} | undefined;
|
|
2312
|
+
} | {
|
|
2313
|
+
id: string;
|
|
2314
|
+
source: "agent" | "cezar";
|
|
2315
|
+
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";
|
|
2316
|
+
registeredAt: string;
|
|
2317
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2318
|
+
resolvedAt?: string | undefined;
|
|
2319
|
+
deliveredAt?: string | undefined;
|
|
2320
|
+
cancelledAt?: string | undefined;
|
|
2321
|
+
turnId: string;
|
|
2322
|
+
kind: "human";
|
|
2323
|
+
questions?: {
|
|
2324
|
+
id?: string | undefined;
|
|
2325
|
+
header: string;
|
|
2326
|
+
question: string;
|
|
2327
|
+
options?: {
|
|
2328
|
+
label: string;
|
|
2290
2329
|
description?: string | undefined;
|
|
2291
2330
|
}[] | undefined;
|
|
2292
2331
|
multiSelect?: boolean | undefined;
|
|
@@ -2331,30 +2370,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
2331
2370
|
reason: "outcome" | "timeout";
|
|
2332
2371
|
} | undefined;
|
|
2333
2372
|
wakeInputId?: string | undefined;
|
|
2334
|
-
} | {
|
|
2335
|
-
id: string;
|
|
2336
|
-
source: "agent" | "cezar";
|
|
2337
|
-
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";
|
|
2338
|
-
registeredAt: string;
|
|
2339
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2340
|
-
resolvedAt?: string | undefined;
|
|
2341
|
-
deliveredAt?: string | undefined;
|
|
2342
|
-
cancelledAt?: string | undefined;
|
|
2343
|
-
turnId: string;
|
|
2344
|
-
kind: "process";
|
|
2345
|
-
deadline: string;
|
|
2346
|
-
timeoutSeconds: number;
|
|
2347
|
-
pid: number;
|
|
2348
|
-
startToken?: string | undefined;
|
|
2349
|
-
exitFile?: string | undefined;
|
|
2350
|
-
note?: string | undefined;
|
|
2351
|
-
result?: {
|
|
2352
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2353
|
-
observedAt: string;
|
|
2354
|
-
exitCode?: number | undefined;
|
|
2355
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2356
|
-
diagnostic?: string | undefined;
|
|
2357
|
-
} | undefined;
|
|
2358
2373
|
} | {
|
|
2359
2374
|
id: string;
|
|
2360
2375
|
source: "agent" | "cezar";
|
|
@@ -2487,6 +2502,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
2487
2502
|
deadline: string;
|
|
2488
2503
|
seconds: number;
|
|
2489
2504
|
note?: string | undefined;
|
|
2505
|
+
} | {
|
|
2506
|
+
id: string;
|
|
2507
|
+
source: "agent" | "cezar";
|
|
2508
|
+
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";
|
|
2509
|
+
registeredAt: string;
|
|
2510
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2511
|
+
resolvedAt?: string | undefined;
|
|
2512
|
+
deliveredAt?: string | undefined;
|
|
2513
|
+
cancelledAt?: string | undefined;
|
|
2514
|
+
turnId: string;
|
|
2515
|
+
kind: "process";
|
|
2516
|
+
deadline: string;
|
|
2517
|
+
timeoutSeconds: number;
|
|
2518
|
+
pid: number;
|
|
2519
|
+
startToken?: string | undefined;
|
|
2520
|
+
exitFile?: string | undefined;
|
|
2521
|
+
note?: string | undefined;
|
|
2522
|
+
result?: {
|
|
2523
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2524
|
+
observedAt: string;
|
|
2525
|
+
exitCode?: number | undefined;
|
|
2526
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2527
|
+
diagnostic?: string | undefined;
|
|
2528
|
+
} | undefined;
|
|
2490
2529
|
} | {
|
|
2491
2530
|
id: string;
|
|
2492
2531
|
source: "agent" | "cezar";
|
|
@@ -2548,30 +2587,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
2548
2587
|
reason: "outcome" | "timeout";
|
|
2549
2588
|
} | undefined;
|
|
2550
2589
|
wakeInputId?: string | undefined;
|
|
2551
|
-
} | {
|
|
2552
|
-
id: string;
|
|
2553
|
-
source: "agent" | "cezar";
|
|
2554
|
-
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";
|
|
2555
|
-
registeredAt: string;
|
|
2556
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2557
|
-
resolvedAt?: string | undefined;
|
|
2558
|
-
deliveredAt?: string | undefined;
|
|
2559
|
-
cancelledAt?: string | undefined;
|
|
2560
|
-
turnId: string;
|
|
2561
|
-
kind: "process";
|
|
2562
|
-
deadline: string;
|
|
2563
|
-
timeoutSeconds: number;
|
|
2564
|
-
pid: number;
|
|
2565
|
-
startToken?: string | undefined;
|
|
2566
|
-
exitFile?: string | undefined;
|
|
2567
|
-
note?: string | undefined;
|
|
2568
|
-
result?: {
|
|
2569
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2570
|
-
observedAt: string;
|
|
2571
|
-
exitCode?: number | undefined;
|
|
2572
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2573
|
-
diagnostic?: string | undefined;
|
|
2574
|
-
} | undefined;
|
|
2575
2590
|
} | {
|
|
2576
2591
|
id: string;
|
|
2577
2592
|
source: "agent" | "cezar";
|
|
@@ -2703,6 +2718,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
2703
2718
|
deadline: string;
|
|
2704
2719
|
seconds: number;
|
|
2705
2720
|
note?: string | undefined;
|
|
2721
|
+
} | {
|
|
2722
|
+
id: string;
|
|
2723
|
+
source: "agent" | "cezar";
|
|
2724
|
+
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";
|
|
2725
|
+
registeredAt: string;
|
|
2726
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2727
|
+
resolvedAt?: string | undefined;
|
|
2728
|
+
deliveredAt?: string | undefined;
|
|
2729
|
+
cancelledAt?: string | undefined;
|
|
2730
|
+
turnId: string;
|
|
2731
|
+
kind: "process";
|
|
2732
|
+
deadline: string;
|
|
2733
|
+
timeoutSeconds: number;
|
|
2734
|
+
pid: number;
|
|
2735
|
+
startToken?: string | undefined;
|
|
2736
|
+
exitFile?: string | undefined;
|
|
2737
|
+
note?: string | undefined;
|
|
2738
|
+
result?: {
|
|
2739
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2740
|
+
observedAt: string;
|
|
2741
|
+
exitCode?: number | undefined;
|
|
2742
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2743
|
+
diagnostic?: string | undefined;
|
|
2744
|
+
} | undefined;
|
|
2706
2745
|
} | {
|
|
2707
2746
|
id: string;
|
|
2708
2747
|
source: "agent" | "cezar";
|
|
@@ -2764,30 +2803,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
2764
2803
|
reason: "outcome" | "timeout";
|
|
2765
2804
|
} | undefined;
|
|
2766
2805
|
wakeInputId?: string | undefined;
|
|
2767
|
-
} | {
|
|
2768
|
-
id: string;
|
|
2769
|
-
source: "agent" | "cezar";
|
|
2770
|
-
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";
|
|
2771
|
-
registeredAt: string;
|
|
2772
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2773
|
-
resolvedAt?: string | undefined;
|
|
2774
|
-
deliveredAt?: string | undefined;
|
|
2775
|
-
cancelledAt?: string | undefined;
|
|
2776
|
-
turnId: string;
|
|
2777
|
-
kind: "process";
|
|
2778
|
-
deadline: string;
|
|
2779
|
-
timeoutSeconds: number;
|
|
2780
|
-
pid: number;
|
|
2781
|
-
startToken?: string | undefined;
|
|
2782
|
-
exitFile?: string | undefined;
|
|
2783
|
-
note?: string | undefined;
|
|
2784
|
-
result?: {
|
|
2785
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2786
|
-
observedAt: string;
|
|
2787
|
-
exitCode?: number | undefined;
|
|
2788
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2789
|
-
diagnostic?: string | undefined;
|
|
2790
|
-
} | undefined;
|
|
2791
2806
|
} | {
|
|
2792
2807
|
id: string;
|
|
2793
2808
|
source: "agent" | "cezar";
|
|
@@ -3059,32 +3074,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3059
3074
|
id: string;
|
|
3060
3075
|
};
|
|
3061
3076
|
};
|
|
3062
|
-
}
|
|
3077
|
+
};
|
|
3078
|
+
};
|
|
3079
|
+
} & {
|
|
3080
|
+
"/runs/:id/pin": {
|
|
3081
|
+
$post: {
|
|
3063
3082
|
output: {
|
|
3064
3083
|
error: string;
|
|
3084
|
+
code?: "invalid_input" | undefined;
|
|
3065
3085
|
};
|
|
3066
3086
|
outputFormat: "json";
|
|
3067
|
-
status:
|
|
3087
|
+
status: 400;
|
|
3068
3088
|
input: {
|
|
3069
|
-
json: {
|
|
3070
|
-
archived?: boolean | undefined;
|
|
3071
|
-
};
|
|
3072
|
-
} & {
|
|
3073
3089
|
param: {
|
|
3074
3090
|
id: string;
|
|
3075
3091
|
};
|
|
3092
|
+
} & {
|
|
3093
|
+
json: {
|
|
3094
|
+
pinned?: boolean | undefined;
|
|
3095
|
+
};
|
|
3076
3096
|
};
|
|
3077
|
-
}
|
|
3078
|
-
};
|
|
3079
|
-
} & {
|
|
3080
|
-
"/runs/:id/pin": {
|
|
3081
|
-
$post: {
|
|
3097
|
+
} | {
|
|
3082
3098
|
output: {
|
|
3083
3099
|
error: string;
|
|
3084
|
-
code?: "invalid_input" | undefined;
|
|
3085
3100
|
};
|
|
3086
3101
|
outputFormat: "json";
|
|
3087
|
-
status:
|
|
3102
|
+
status: 404;
|
|
3088
3103
|
input: {
|
|
3089
3104
|
param: {
|
|
3090
3105
|
id: string;
|
|
@@ -3485,6 +3500,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3485
3500
|
deadline: string;
|
|
3486
3501
|
seconds: number;
|
|
3487
3502
|
note?: string | undefined;
|
|
3503
|
+
} | {
|
|
3504
|
+
id: string;
|
|
3505
|
+
source: "agent" | "cezar";
|
|
3506
|
+
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";
|
|
3507
|
+
registeredAt: string;
|
|
3508
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
3509
|
+
resolvedAt?: string | undefined;
|
|
3510
|
+
deliveredAt?: string | undefined;
|
|
3511
|
+
cancelledAt?: string | undefined;
|
|
3512
|
+
turnId: string;
|
|
3513
|
+
kind: "process";
|
|
3514
|
+
deadline: string;
|
|
3515
|
+
timeoutSeconds: number;
|
|
3516
|
+
pid: number;
|
|
3517
|
+
startToken?: string | undefined;
|
|
3518
|
+
exitFile?: string | undefined;
|
|
3519
|
+
note?: string | undefined;
|
|
3520
|
+
result?: {
|
|
3521
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
3522
|
+
observedAt: string;
|
|
3523
|
+
exitCode?: number | undefined;
|
|
3524
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
3525
|
+
diagnostic?: string | undefined;
|
|
3526
|
+
} | undefined;
|
|
3488
3527
|
} | {
|
|
3489
3528
|
id: string;
|
|
3490
3529
|
source: "agent" | "cezar";
|
|
@@ -3546,30 +3585,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3546
3585
|
reason: "outcome" | "timeout";
|
|
3547
3586
|
} | undefined;
|
|
3548
3587
|
wakeInputId?: string | undefined;
|
|
3549
|
-
} | {
|
|
3550
|
-
id: string;
|
|
3551
|
-
source: "agent" | "cezar";
|
|
3552
|
-
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";
|
|
3553
|
-
registeredAt: string;
|
|
3554
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
3555
|
-
resolvedAt?: string | undefined;
|
|
3556
|
-
deliveredAt?: string | undefined;
|
|
3557
|
-
cancelledAt?: string | undefined;
|
|
3558
|
-
turnId: string;
|
|
3559
|
-
kind: "process";
|
|
3560
|
-
deadline: string;
|
|
3561
|
-
timeoutSeconds: number;
|
|
3562
|
-
pid: number;
|
|
3563
|
-
startToken?: string | undefined;
|
|
3564
|
-
exitFile?: string | undefined;
|
|
3565
|
-
note?: string | undefined;
|
|
3566
|
-
result?: {
|
|
3567
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
3568
|
-
observedAt: string;
|
|
3569
|
-
exitCode?: number | undefined;
|
|
3570
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
3571
|
-
diagnostic?: string | undefined;
|
|
3572
|
-
} | undefined;
|
|
3573
3588
|
} | {
|
|
3574
3589
|
id: string;
|
|
3575
3590
|
source: "agent" | "cezar";
|
|
@@ -3702,6 +3717,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3702
3717
|
deadline: string;
|
|
3703
3718
|
seconds: number;
|
|
3704
3719
|
note?: string | undefined;
|
|
3720
|
+
} | {
|
|
3721
|
+
id: string;
|
|
3722
|
+
source: "agent" | "cezar";
|
|
3723
|
+
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";
|
|
3724
|
+
registeredAt: string;
|
|
3725
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
3726
|
+
resolvedAt?: string | undefined;
|
|
3727
|
+
deliveredAt?: string | undefined;
|
|
3728
|
+
cancelledAt?: string | undefined;
|
|
3729
|
+
turnId: string;
|
|
3730
|
+
kind: "process";
|
|
3731
|
+
deadline: string;
|
|
3732
|
+
timeoutSeconds: number;
|
|
3733
|
+
pid: number;
|
|
3734
|
+
startToken?: string | undefined;
|
|
3735
|
+
exitFile?: string | undefined;
|
|
3736
|
+
note?: string | undefined;
|
|
3737
|
+
result?: {
|
|
3738
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
3739
|
+
observedAt: string;
|
|
3740
|
+
exitCode?: number | undefined;
|
|
3741
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
3742
|
+
diagnostic?: string | undefined;
|
|
3743
|
+
} | undefined;
|
|
3705
3744
|
} | {
|
|
3706
3745
|
id: string;
|
|
3707
3746
|
source: "agent" | "cezar";
|
|
@@ -3773,34 +3812,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3773
3812
|
deliveredAt?: string | undefined;
|
|
3774
3813
|
cancelledAt?: string | undefined;
|
|
3775
3814
|
turnId: string;
|
|
3776
|
-
kind: "
|
|
3815
|
+
kind: "peer";
|
|
3777
3816
|
deadline: string;
|
|
3778
3817
|
timeoutSeconds: number;
|
|
3779
|
-
|
|
3780
|
-
startToken?: string | undefined;
|
|
3781
|
-
exitFile?: string | undefined;
|
|
3782
|
-
note?: string | undefined;
|
|
3783
|
-
result?: {
|
|
3784
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
3785
|
-
observedAt: string;
|
|
3786
|
-
exitCode?: number | undefined;
|
|
3787
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
3788
|
-
diagnostic?: string | undefined;
|
|
3789
|
-
} | undefined;
|
|
3790
|
-
} | {
|
|
3791
|
-
id: string;
|
|
3792
|
-
source: "agent" | "cezar";
|
|
3793
|
-
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";
|
|
3794
|
-
registeredAt: string;
|
|
3795
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
3796
|
-
resolvedAt?: string | undefined;
|
|
3797
|
-
deliveredAt?: string | undefined;
|
|
3798
|
-
cancelledAt?: string | undefined;
|
|
3799
|
-
turnId: string;
|
|
3800
|
-
kind: "peer";
|
|
3801
|
-
deadline: string;
|
|
3802
|
-
timeoutSeconds: number;
|
|
3803
|
-
peerIds: string[];
|
|
3818
|
+
peerIds: string[];
|
|
3804
3819
|
result?: {
|
|
3805
3820
|
reason: "message";
|
|
3806
3821
|
peerRunId: string;
|
|
@@ -3918,6 +3933,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3918
3933
|
deadline: string;
|
|
3919
3934
|
seconds: number;
|
|
3920
3935
|
note?: string | undefined;
|
|
3936
|
+
} | {
|
|
3937
|
+
id: string;
|
|
3938
|
+
source: "agent" | "cezar";
|
|
3939
|
+
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";
|
|
3940
|
+
registeredAt: string;
|
|
3941
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
3942
|
+
resolvedAt?: string | undefined;
|
|
3943
|
+
deliveredAt?: string | undefined;
|
|
3944
|
+
cancelledAt?: string | undefined;
|
|
3945
|
+
turnId: string;
|
|
3946
|
+
kind: "process";
|
|
3947
|
+
deadline: string;
|
|
3948
|
+
timeoutSeconds: number;
|
|
3949
|
+
pid: number;
|
|
3950
|
+
startToken?: string | undefined;
|
|
3951
|
+
exitFile?: string | undefined;
|
|
3952
|
+
note?: string | undefined;
|
|
3953
|
+
result?: {
|
|
3954
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
3955
|
+
observedAt: string;
|
|
3956
|
+
exitCode?: number | undefined;
|
|
3957
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
3958
|
+
diagnostic?: string | undefined;
|
|
3959
|
+
} | undefined;
|
|
3921
3960
|
} | {
|
|
3922
3961
|
id: string;
|
|
3923
3962
|
source: "agent" | "cezar";
|
|
@@ -3979,30 +4018,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3979
4018
|
reason: "outcome" | "timeout";
|
|
3980
4019
|
} | undefined;
|
|
3981
4020
|
wakeInputId?: string | undefined;
|
|
3982
|
-
} | {
|
|
3983
|
-
id: string;
|
|
3984
|
-
source: "agent" | "cezar";
|
|
3985
|
-
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";
|
|
3986
|
-
registeredAt: string;
|
|
3987
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
3988
|
-
resolvedAt?: string | undefined;
|
|
3989
|
-
deliveredAt?: string | undefined;
|
|
3990
|
-
cancelledAt?: string | undefined;
|
|
3991
|
-
turnId: string;
|
|
3992
|
-
kind: "process";
|
|
3993
|
-
deadline: string;
|
|
3994
|
-
timeoutSeconds: number;
|
|
3995
|
-
pid: number;
|
|
3996
|
-
startToken?: string | undefined;
|
|
3997
|
-
exitFile?: string | undefined;
|
|
3998
|
-
note?: string | undefined;
|
|
3999
|
-
result?: {
|
|
4000
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
4001
|
-
observedAt: string;
|
|
4002
|
-
exitCode?: number | undefined;
|
|
4003
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
4004
|
-
diagnostic?: string | undefined;
|
|
4005
|
-
} | undefined;
|
|
4006
4021
|
} | {
|
|
4007
4022
|
id: string;
|
|
4008
4023
|
source: "agent" | "cezar";
|
|
@@ -4274,21 +4289,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
4274
4289
|
pinned?: boolean | undefined;
|
|
4275
4290
|
};
|
|
4276
4291
|
};
|
|
4277
|
-
} | {
|
|
4278
|
-
output: {
|
|
4279
|
-
error: string;
|
|
4280
|
-
};
|
|
4281
|
-
outputFormat: "json";
|
|
4282
|
-
status: 404;
|
|
4283
|
-
input: {
|
|
4284
|
-
param: {
|
|
4285
|
-
id: string;
|
|
4286
|
-
};
|
|
4287
|
-
} & {
|
|
4288
|
-
json: {
|
|
4289
|
-
pinned?: boolean | undefined;
|
|
4290
|
-
};
|
|
4291
|
-
};
|
|
4292
4292
|
};
|
|
4293
4293
|
};
|
|
4294
4294
|
} & {
|
|
@@ -4315,7 +4315,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
4315
4315
|
error: string;
|
|
4316
4316
|
};
|
|
4317
4317
|
outputFormat: "json";
|
|
4318
|
-
status:
|
|
4318
|
+
status: 400;
|
|
4319
4319
|
input: {
|
|
4320
4320
|
param: {
|
|
4321
4321
|
id: string;
|
|
@@ -4331,7 +4331,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
4331
4331
|
error: string;
|
|
4332
4332
|
};
|
|
4333
4333
|
outputFormat: "json";
|
|
4334
|
-
status:
|
|
4334
|
+
status: 404;
|
|
4335
4335
|
input: {
|
|
4336
4336
|
param: {
|
|
4337
4337
|
id: string;
|
|
@@ -4480,6 +4480,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
4480
4480
|
deadline: string;
|
|
4481
4481
|
seconds: number;
|
|
4482
4482
|
note?: string | undefined;
|
|
4483
|
+
} | {
|
|
4484
|
+
id: string;
|
|
4485
|
+
source: "agent" | "cezar";
|
|
4486
|
+
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";
|
|
4487
|
+
registeredAt: string;
|
|
4488
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
4489
|
+
resolvedAt?: string | undefined;
|
|
4490
|
+
deliveredAt?: string | undefined;
|
|
4491
|
+
cancelledAt?: string | undefined;
|
|
4492
|
+
turnId: string;
|
|
4493
|
+
kind: "process";
|
|
4494
|
+
deadline: string;
|
|
4495
|
+
timeoutSeconds: number;
|
|
4496
|
+
pid: number;
|
|
4497
|
+
startToken?: string | undefined;
|
|
4498
|
+
exitFile?: string | undefined;
|
|
4499
|
+
note?: string | undefined;
|
|
4500
|
+
result?: {
|
|
4501
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
4502
|
+
observedAt: string;
|
|
4503
|
+
exitCode?: number | undefined;
|
|
4504
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
4505
|
+
diagnostic?: string | undefined;
|
|
4506
|
+
} | undefined;
|
|
4483
4507
|
} | {
|
|
4484
4508
|
id: string;
|
|
4485
4509
|
source: "agent" | "cezar";
|
|
@@ -4541,30 +4565,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
4541
4565
|
reason: "outcome" | "timeout";
|
|
4542
4566
|
} | undefined;
|
|
4543
4567
|
wakeInputId?: string | undefined;
|
|
4544
|
-
} | {
|
|
4545
|
-
id: string;
|
|
4546
|
-
source: "agent" | "cezar";
|
|
4547
|
-
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";
|
|
4548
|
-
registeredAt: string;
|
|
4549
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
4550
|
-
resolvedAt?: string | undefined;
|
|
4551
|
-
deliveredAt?: string | undefined;
|
|
4552
|
-
cancelledAt?: string | undefined;
|
|
4553
|
-
turnId: string;
|
|
4554
|
-
kind: "process";
|
|
4555
|
-
deadline: string;
|
|
4556
|
-
timeoutSeconds: number;
|
|
4557
|
-
pid: number;
|
|
4558
|
-
startToken?: string | undefined;
|
|
4559
|
-
exitFile?: string | undefined;
|
|
4560
|
-
note?: string | undefined;
|
|
4561
|
-
result?: {
|
|
4562
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
4563
|
-
observedAt: string;
|
|
4564
|
-
exitCode?: number | undefined;
|
|
4565
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
4566
|
-
diagnostic?: string | undefined;
|
|
4567
|
-
} | undefined;
|
|
4568
4568
|
} | {
|
|
4569
4569
|
id: string;
|
|
4570
4570
|
source: "agent" | "cezar";
|
|
@@ -4697,6 +4697,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
4697
4697
|
deadline: string;
|
|
4698
4698
|
seconds: number;
|
|
4699
4699
|
note?: string | undefined;
|
|
4700
|
+
} | {
|
|
4701
|
+
id: string;
|
|
4702
|
+
source: "agent" | "cezar";
|
|
4703
|
+
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";
|
|
4704
|
+
registeredAt: string;
|
|
4705
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
4706
|
+
resolvedAt?: string | undefined;
|
|
4707
|
+
deliveredAt?: string | undefined;
|
|
4708
|
+
cancelledAt?: string | undefined;
|
|
4709
|
+
turnId: string;
|
|
4710
|
+
kind: "process";
|
|
4711
|
+
deadline: string;
|
|
4712
|
+
timeoutSeconds: number;
|
|
4713
|
+
pid: number;
|
|
4714
|
+
startToken?: string | undefined;
|
|
4715
|
+
exitFile?: string | undefined;
|
|
4716
|
+
note?: string | undefined;
|
|
4717
|
+
result?: {
|
|
4718
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
4719
|
+
observedAt: string;
|
|
4720
|
+
exitCode?: number | undefined;
|
|
4721
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
4722
|
+
diagnostic?: string | undefined;
|
|
4723
|
+
} | undefined;
|
|
4700
4724
|
} | {
|
|
4701
4725
|
id: string;
|
|
4702
4726
|
source: "agent" | "cezar";
|
|
@@ -4758,30 +4782,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
4758
4782
|
reason: "outcome" | "timeout";
|
|
4759
4783
|
} | undefined;
|
|
4760
4784
|
wakeInputId?: string | undefined;
|
|
4761
|
-
} | {
|
|
4762
|
-
id: string;
|
|
4763
|
-
source: "agent" | "cezar";
|
|
4764
|
-
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";
|
|
4765
|
-
registeredAt: string;
|
|
4766
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
4767
|
-
resolvedAt?: string | undefined;
|
|
4768
|
-
deliveredAt?: string | undefined;
|
|
4769
|
-
cancelledAt?: string | undefined;
|
|
4770
|
-
turnId: string;
|
|
4771
|
-
kind: "process";
|
|
4772
|
-
deadline: string;
|
|
4773
|
-
timeoutSeconds: number;
|
|
4774
|
-
pid: number;
|
|
4775
|
-
startToken?: string | undefined;
|
|
4776
|
-
exitFile?: string | undefined;
|
|
4777
|
-
note?: string | undefined;
|
|
4778
|
-
result?: {
|
|
4779
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
4780
|
-
observedAt: string;
|
|
4781
|
-
exitCode?: number | undefined;
|
|
4782
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
4783
|
-
diagnostic?: string | undefined;
|
|
4784
|
-
} | undefined;
|
|
4785
4785
|
} | {
|
|
4786
4786
|
id: string;
|
|
4787
4787
|
source: "agent" | "cezar";
|
|
@@ -4913,6 +4913,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
4913
4913
|
deadline: string;
|
|
4914
4914
|
seconds: number;
|
|
4915
4915
|
note?: string | undefined;
|
|
4916
|
+
} | {
|
|
4917
|
+
id: string;
|
|
4918
|
+
source: "agent" | "cezar";
|
|
4919
|
+
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";
|
|
4920
|
+
registeredAt: string;
|
|
4921
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
4922
|
+
resolvedAt?: string | undefined;
|
|
4923
|
+
deliveredAt?: string | undefined;
|
|
4924
|
+
cancelledAt?: string | undefined;
|
|
4925
|
+
turnId: string;
|
|
4926
|
+
kind: "process";
|
|
4927
|
+
deadline: string;
|
|
4928
|
+
timeoutSeconds: number;
|
|
4929
|
+
pid: number;
|
|
4930
|
+
startToken?: string | undefined;
|
|
4931
|
+
exitFile?: string | undefined;
|
|
4932
|
+
note?: string | undefined;
|
|
4933
|
+
result?: {
|
|
4934
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
4935
|
+
observedAt: string;
|
|
4936
|
+
exitCode?: number | undefined;
|
|
4937
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
4938
|
+
diagnostic?: string | undefined;
|
|
4939
|
+
} | undefined;
|
|
4916
4940
|
} | {
|
|
4917
4941
|
id: string;
|
|
4918
4942
|
source: "agent" | "cezar";
|
|
@@ -4974,30 +4998,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
4974
4998
|
reason: "outcome" | "timeout";
|
|
4975
4999
|
} | undefined;
|
|
4976
5000
|
wakeInputId?: string | undefined;
|
|
4977
|
-
} | {
|
|
4978
|
-
id: string;
|
|
4979
|
-
source: "agent" | "cezar";
|
|
4980
|
-
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";
|
|
4981
|
-
registeredAt: string;
|
|
4982
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
4983
|
-
resolvedAt?: string | undefined;
|
|
4984
|
-
deliveredAt?: string | undefined;
|
|
4985
|
-
cancelledAt?: string | undefined;
|
|
4986
|
-
turnId: string;
|
|
4987
|
-
kind: "process";
|
|
4988
|
-
deadline: string;
|
|
4989
|
-
timeoutSeconds: number;
|
|
4990
|
-
pid: number;
|
|
4991
|
-
startToken?: string | undefined;
|
|
4992
|
-
exitFile?: string | undefined;
|
|
4993
|
-
note?: string | undefined;
|
|
4994
|
-
result?: {
|
|
4995
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
4996
|
-
observedAt: string;
|
|
4997
|
-
exitCode?: number | undefined;
|
|
4998
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
4999
|
-
diagnostic?: string | undefined;
|
|
5000
|
-
} | undefined;
|
|
5001
5001
|
} | {
|
|
5002
5002
|
id: string;
|
|
5003
5003
|
source: "agent" | "cezar";
|
|
@@ -5554,6 +5554,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5554
5554
|
} & {
|
|
5555
5555
|
"/runs/:id/read": {
|
|
5556
5556
|
$post: {
|
|
5557
|
+
output: {
|
|
5558
|
+
error: string;
|
|
5559
|
+
};
|
|
5560
|
+
outputFormat: "json";
|
|
5561
|
+
status: 404;
|
|
5562
|
+
input: {
|
|
5563
|
+
param: {
|
|
5564
|
+
id: string;
|
|
5565
|
+
};
|
|
5566
|
+
};
|
|
5567
|
+
} | {
|
|
5557
5568
|
output: {
|
|
5558
5569
|
archiveWhenDone?: boolean | undefined;
|
|
5559
5570
|
autoMergePr?: boolean | undefined;
|
|
@@ -5954,19 +5965,43 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5954
5965
|
deliveredAt?: string | undefined;
|
|
5955
5966
|
cancelledAt?: string | undefined;
|
|
5956
5967
|
turnId: string;
|
|
5957
|
-
kind: "
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5968
|
+
kind: "process";
|
|
5969
|
+
deadline: string;
|
|
5970
|
+
timeoutSeconds: number;
|
|
5971
|
+
pid: number;
|
|
5972
|
+
startToken?: string | undefined;
|
|
5973
|
+
exitFile?: string | undefined;
|
|
5974
|
+
note?: string | undefined;
|
|
5975
|
+
result?: {
|
|
5976
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
5977
|
+
observedAt: string;
|
|
5978
|
+
exitCode?: number | undefined;
|
|
5979
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
5980
|
+
diagnostic?: string | undefined;
|
|
5981
|
+
} | undefined;
|
|
5982
|
+
} | {
|
|
5983
|
+
id: string;
|
|
5984
|
+
source: "agent" | "cezar";
|
|
5985
|
+
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";
|
|
5986
|
+
registeredAt: string;
|
|
5987
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
5988
|
+
resolvedAt?: string | undefined;
|
|
5989
|
+
deliveredAt?: string | undefined;
|
|
5990
|
+
cancelledAt?: string | undefined;
|
|
5991
|
+
turnId: string;
|
|
5992
|
+
kind: "human";
|
|
5993
|
+
questions?: {
|
|
5994
|
+
id?: string | undefined;
|
|
5995
|
+
header: string;
|
|
5996
|
+
question: string;
|
|
5997
|
+
options?: {
|
|
5998
|
+
label: string;
|
|
5999
|
+
description?: string | undefined;
|
|
6000
|
+
}[] | undefined;
|
|
6001
|
+
multiSelect?: boolean | undefined;
|
|
6002
|
+
allowFreeText?: boolean | undefined;
|
|
6003
|
+
}[] | undefined;
|
|
6004
|
+
context?: string | undefined;
|
|
5970
6005
|
askSeq?: number | undefined;
|
|
5971
6006
|
} | {
|
|
5972
6007
|
id: string;
|
|
@@ -6005,30 +6040,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
6005
6040
|
reason: "outcome" | "timeout";
|
|
6006
6041
|
} | undefined;
|
|
6007
6042
|
wakeInputId?: string | undefined;
|
|
6008
|
-
} | {
|
|
6009
|
-
id: string;
|
|
6010
|
-
source: "agent" | "cezar";
|
|
6011
|
-
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";
|
|
6012
|
-
registeredAt: string;
|
|
6013
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
6014
|
-
resolvedAt?: string | undefined;
|
|
6015
|
-
deliveredAt?: string | undefined;
|
|
6016
|
-
cancelledAt?: string | undefined;
|
|
6017
|
-
turnId: string;
|
|
6018
|
-
kind: "process";
|
|
6019
|
-
deadline: string;
|
|
6020
|
-
timeoutSeconds: number;
|
|
6021
|
-
pid: number;
|
|
6022
|
-
startToken?: string | undefined;
|
|
6023
|
-
exitFile?: string | undefined;
|
|
6024
|
-
note?: string | undefined;
|
|
6025
|
-
result?: {
|
|
6026
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
6027
|
-
observedAt: string;
|
|
6028
|
-
exitCode?: number | undefined;
|
|
6029
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
6030
|
-
diagnostic?: string | undefined;
|
|
6031
|
-
} | undefined;
|
|
6032
6043
|
} | {
|
|
6033
6044
|
id: string;
|
|
6034
6045
|
source: "agent" | "cezar";
|
|
@@ -6161,6 +6172,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
6161
6172
|
deadline: string;
|
|
6162
6173
|
seconds: number;
|
|
6163
6174
|
note?: string | undefined;
|
|
6175
|
+
} | {
|
|
6176
|
+
id: string;
|
|
6177
|
+
source: "agent" | "cezar";
|
|
6178
|
+
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";
|
|
6179
|
+
registeredAt: string;
|
|
6180
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
6181
|
+
resolvedAt?: string | undefined;
|
|
6182
|
+
deliveredAt?: string | undefined;
|
|
6183
|
+
cancelledAt?: string | undefined;
|
|
6184
|
+
turnId: string;
|
|
6185
|
+
kind: "process";
|
|
6186
|
+
deadline: string;
|
|
6187
|
+
timeoutSeconds: number;
|
|
6188
|
+
pid: number;
|
|
6189
|
+
startToken?: string | undefined;
|
|
6190
|
+
exitFile?: string | undefined;
|
|
6191
|
+
note?: string | undefined;
|
|
6192
|
+
result?: {
|
|
6193
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
6194
|
+
observedAt: string;
|
|
6195
|
+
exitCode?: number | undefined;
|
|
6196
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
6197
|
+
diagnostic?: string | undefined;
|
|
6198
|
+
} | undefined;
|
|
6164
6199
|
} | {
|
|
6165
6200
|
id: string;
|
|
6166
6201
|
source: "agent" | "cezar";
|
|
@@ -6222,30 +6257,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
6222
6257
|
reason: "outcome" | "timeout";
|
|
6223
6258
|
} | undefined;
|
|
6224
6259
|
wakeInputId?: string | undefined;
|
|
6225
|
-
} | {
|
|
6226
|
-
id: string;
|
|
6227
|
-
source: "agent" | "cezar";
|
|
6228
|
-
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";
|
|
6229
|
-
registeredAt: string;
|
|
6230
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
6231
|
-
resolvedAt?: string | undefined;
|
|
6232
|
-
deliveredAt?: string | undefined;
|
|
6233
|
-
cancelledAt?: string | undefined;
|
|
6234
|
-
turnId: string;
|
|
6235
|
-
kind: "process";
|
|
6236
|
-
deadline: string;
|
|
6237
|
-
timeoutSeconds: number;
|
|
6238
|
-
pid: number;
|
|
6239
|
-
startToken?: string | undefined;
|
|
6240
|
-
exitFile?: string | undefined;
|
|
6241
|
-
note?: string | undefined;
|
|
6242
|
-
result?: {
|
|
6243
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
6244
|
-
observedAt: string;
|
|
6245
|
-
exitCode?: number | undefined;
|
|
6246
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
6247
|
-
diagnostic?: string | undefined;
|
|
6248
|
-
} | undefined;
|
|
6249
6260
|
} | {
|
|
6250
6261
|
id: string;
|
|
6251
6262
|
source: "agent" | "cezar";
|
|
@@ -6377,6 +6388,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
6377
6388
|
deadline: string;
|
|
6378
6389
|
seconds: number;
|
|
6379
6390
|
note?: string | undefined;
|
|
6391
|
+
} | {
|
|
6392
|
+
id: string;
|
|
6393
|
+
source: "agent" | "cezar";
|
|
6394
|
+
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";
|
|
6395
|
+
registeredAt: string;
|
|
6396
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
6397
|
+
resolvedAt?: string | undefined;
|
|
6398
|
+
deliveredAt?: string | undefined;
|
|
6399
|
+
cancelledAt?: string | undefined;
|
|
6400
|
+
turnId: string;
|
|
6401
|
+
kind: "process";
|
|
6402
|
+
deadline: string;
|
|
6403
|
+
timeoutSeconds: number;
|
|
6404
|
+
pid: number;
|
|
6405
|
+
startToken?: string | undefined;
|
|
6406
|
+
exitFile?: string | undefined;
|
|
6407
|
+
note?: string | undefined;
|
|
6408
|
+
result?: {
|
|
6409
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
6410
|
+
observedAt: string;
|
|
6411
|
+
exitCode?: number | undefined;
|
|
6412
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
6413
|
+
diagnostic?: string | undefined;
|
|
6414
|
+
} | undefined;
|
|
6380
6415
|
} | {
|
|
6381
6416
|
id: string;
|
|
6382
6417
|
source: "agent" | "cezar";
|
|
@@ -6438,30 +6473,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
6438
6473
|
reason: "outcome" | "timeout";
|
|
6439
6474
|
} | undefined;
|
|
6440
6475
|
wakeInputId?: string | undefined;
|
|
6441
|
-
} | {
|
|
6442
|
-
id: string;
|
|
6443
|
-
source: "agent" | "cezar";
|
|
6444
|
-
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";
|
|
6445
|
-
registeredAt: string;
|
|
6446
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
6447
|
-
resolvedAt?: string | undefined;
|
|
6448
|
-
deliveredAt?: string | undefined;
|
|
6449
|
-
cancelledAt?: string | undefined;
|
|
6450
|
-
turnId: string;
|
|
6451
|
-
kind: "process";
|
|
6452
|
-
deadline: string;
|
|
6453
|
-
timeoutSeconds: number;
|
|
6454
|
-
pid: number;
|
|
6455
|
-
startToken?: string | undefined;
|
|
6456
|
-
exitFile?: string | undefined;
|
|
6457
|
-
note?: string | undefined;
|
|
6458
|
-
result?: {
|
|
6459
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
6460
|
-
observedAt: string;
|
|
6461
|
-
exitCode?: number | undefined;
|
|
6462
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
6463
|
-
diagnostic?: string | undefined;
|
|
6464
|
-
} | undefined;
|
|
6465
6476
|
} | {
|
|
6466
6477
|
id: string;
|
|
6467
6478
|
source: "agent" | "cezar";
|
|
@@ -6729,7 +6740,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
6729
6740
|
id: string;
|
|
6730
6741
|
};
|
|
6731
6742
|
};
|
|
6732
|
-
}
|
|
6743
|
+
};
|
|
6744
|
+
};
|
|
6745
|
+
} & {
|
|
6746
|
+
"/runs/:id/unread": {
|
|
6747
|
+
$post: {
|
|
6733
6748
|
output: {
|
|
6734
6749
|
error: string;
|
|
6735
6750
|
};
|
|
@@ -6740,11 +6755,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
6740
6755
|
id: string;
|
|
6741
6756
|
};
|
|
6742
6757
|
};
|
|
6743
|
-
}
|
|
6744
|
-
};
|
|
6745
|
-
} & {
|
|
6746
|
-
"/runs/:id/unread": {
|
|
6747
|
-
$post: {
|
|
6758
|
+
} | {
|
|
6748
6759
|
output: {
|
|
6749
6760
|
archiveWhenDone?: boolean | undefined;
|
|
6750
6761
|
autoMergePr?: boolean | undefined;
|
|
@@ -7135,6 +7146,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
7135
7146
|
deadline: string;
|
|
7136
7147
|
seconds: number;
|
|
7137
7148
|
note?: string | undefined;
|
|
7149
|
+
} | {
|
|
7150
|
+
id: string;
|
|
7151
|
+
source: "agent" | "cezar";
|
|
7152
|
+
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";
|
|
7153
|
+
registeredAt: string;
|
|
7154
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
7155
|
+
resolvedAt?: string | undefined;
|
|
7156
|
+
deliveredAt?: string | undefined;
|
|
7157
|
+
cancelledAt?: string | undefined;
|
|
7158
|
+
turnId: string;
|
|
7159
|
+
kind: "process";
|
|
7160
|
+
deadline: string;
|
|
7161
|
+
timeoutSeconds: number;
|
|
7162
|
+
pid: number;
|
|
7163
|
+
startToken?: string | undefined;
|
|
7164
|
+
exitFile?: string | undefined;
|
|
7165
|
+
note?: string | undefined;
|
|
7166
|
+
result?: {
|
|
7167
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
7168
|
+
observedAt: string;
|
|
7169
|
+
exitCode?: number | undefined;
|
|
7170
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
7171
|
+
diagnostic?: string | undefined;
|
|
7172
|
+
} | undefined;
|
|
7138
7173
|
} | {
|
|
7139
7174
|
id: string;
|
|
7140
7175
|
source: "agent" | "cezar";
|
|
@@ -7196,30 +7231,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
7196
7231
|
reason: "outcome" | "timeout";
|
|
7197
7232
|
} | undefined;
|
|
7198
7233
|
wakeInputId?: string | undefined;
|
|
7199
|
-
} | {
|
|
7200
|
-
id: string;
|
|
7201
|
-
source: "agent" | "cezar";
|
|
7202
|
-
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";
|
|
7203
|
-
registeredAt: string;
|
|
7204
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
7205
|
-
resolvedAt?: string | undefined;
|
|
7206
|
-
deliveredAt?: string | undefined;
|
|
7207
|
-
cancelledAt?: string | undefined;
|
|
7208
|
-
turnId: string;
|
|
7209
|
-
kind: "process";
|
|
7210
|
-
deadline: string;
|
|
7211
|
-
timeoutSeconds: number;
|
|
7212
|
-
pid: number;
|
|
7213
|
-
startToken?: string | undefined;
|
|
7214
|
-
exitFile?: string | undefined;
|
|
7215
|
-
note?: string | undefined;
|
|
7216
|
-
result?: {
|
|
7217
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
7218
|
-
observedAt: string;
|
|
7219
|
-
exitCode?: number | undefined;
|
|
7220
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
7221
|
-
diagnostic?: string | undefined;
|
|
7222
|
-
} | undefined;
|
|
7223
7234
|
} | {
|
|
7224
7235
|
id: string;
|
|
7225
7236
|
source: "agent" | "cezar";
|
|
@@ -7352,6 +7363,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
7352
7363
|
deadline: string;
|
|
7353
7364
|
seconds: number;
|
|
7354
7365
|
note?: string | undefined;
|
|
7366
|
+
} | {
|
|
7367
|
+
id: string;
|
|
7368
|
+
source: "agent" | "cezar";
|
|
7369
|
+
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";
|
|
7370
|
+
registeredAt: string;
|
|
7371
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
7372
|
+
resolvedAt?: string | undefined;
|
|
7373
|
+
deliveredAt?: string | undefined;
|
|
7374
|
+
cancelledAt?: string | undefined;
|
|
7375
|
+
turnId: string;
|
|
7376
|
+
kind: "process";
|
|
7377
|
+
deadline: string;
|
|
7378
|
+
timeoutSeconds: number;
|
|
7379
|
+
pid: number;
|
|
7380
|
+
startToken?: string | undefined;
|
|
7381
|
+
exitFile?: string | undefined;
|
|
7382
|
+
note?: string | undefined;
|
|
7383
|
+
result?: {
|
|
7384
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
7385
|
+
observedAt: string;
|
|
7386
|
+
exitCode?: number | undefined;
|
|
7387
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
7388
|
+
diagnostic?: string | undefined;
|
|
7389
|
+
} | undefined;
|
|
7355
7390
|
} | {
|
|
7356
7391
|
id: string;
|
|
7357
7392
|
source: "agent" | "cezar";
|
|
@@ -7423,34 +7458,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
7423
7458
|
deliveredAt?: string | undefined;
|
|
7424
7459
|
cancelledAt?: string | undefined;
|
|
7425
7460
|
turnId: string;
|
|
7426
|
-
kind: "
|
|
7461
|
+
kind: "peer";
|
|
7427
7462
|
deadline: string;
|
|
7428
7463
|
timeoutSeconds: number;
|
|
7429
|
-
|
|
7430
|
-
startToken?: string | undefined;
|
|
7431
|
-
exitFile?: string | undefined;
|
|
7432
|
-
note?: string | undefined;
|
|
7433
|
-
result?: {
|
|
7434
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
7435
|
-
observedAt: string;
|
|
7436
|
-
exitCode?: number | undefined;
|
|
7437
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
7438
|
-
diagnostic?: string | undefined;
|
|
7439
|
-
} | undefined;
|
|
7440
|
-
} | {
|
|
7441
|
-
id: string;
|
|
7442
|
-
source: "agent" | "cezar";
|
|
7443
|
-
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";
|
|
7444
|
-
registeredAt: string;
|
|
7445
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
7446
|
-
resolvedAt?: string | undefined;
|
|
7447
|
-
deliveredAt?: string | undefined;
|
|
7448
|
-
cancelledAt?: string | undefined;
|
|
7449
|
-
turnId: string;
|
|
7450
|
-
kind: "peer";
|
|
7451
|
-
deadline: string;
|
|
7452
|
-
timeoutSeconds: number;
|
|
7453
|
-
peerIds: string[];
|
|
7464
|
+
peerIds: string[];
|
|
7454
7465
|
result?: {
|
|
7455
7466
|
reason: "message";
|
|
7456
7467
|
peerRunId: string;
|
|
@@ -7568,6 +7579,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
7568
7579
|
deadline: string;
|
|
7569
7580
|
seconds: number;
|
|
7570
7581
|
note?: string | undefined;
|
|
7582
|
+
} | {
|
|
7583
|
+
id: string;
|
|
7584
|
+
source: "agent" | "cezar";
|
|
7585
|
+
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";
|
|
7586
|
+
registeredAt: string;
|
|
7587
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
7588
|
+
resolvedAt?: string | undefined;
|
|
7589
|
+
deliveredAt?: string | undefined;
|
|
7590
|
+
cancelledAt?: string | undefined;
|
|
7591
|
+
turnId: string;
|
|
7592
|
+
kind: "process";
|
|
7593
|
+
deadline: string;
|
|
7594
|
+
timeoutSeconds: number;
|
|
7595
|
+
pid: number;
|
|
7596
|
+
startToken?: string | undefined;
|
|
7597
|
+
exitFile?: string | undefined;
|
|
7598
|
+
note?: string | undefined;
|
|
7599
|
+
result?: {
|
|
7600
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
7601
|
+
observedAt: string;
|
|
7602
|
+
exitCode?: number | undefined;
|
|
7603
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
7604
|
+
diagnostic?: string | undefined;
|
|
7605
|
+
} | undefined;
|
|
7571
7606
|
} | {
|
|
7572
7607
|
id: string;
|
|
7573
7608
|
source: "agent" | "cezar";
|
|
@@ -7629,30 +7664,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
7629
7664
|
reason: "outcome" | "timeout";
|
|
7630
7665
|
} | undefined;
|
|
7631
7666
|
wakeInputId?: string | undefined;
|
|
7632
|
-
} | {
|
|
7633
|
-
id: string;
|
|
7634
|
-
source: "agent" | "cezar";
|
|
7635
|
-
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";
|
|
7636
|
-
registeredAt: string;
|
|
7637
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
7638
|
-
resolvedAt?: string | undefined;
|
|
7639
|
-
deliveredAt?: string | undefined;
|
|
7640
|
-
cancelledAt?: string | undefined;
|
|
7641
|
-
turnId: string;
|
|
7642
|
-
kind: "process";
|
|
7643
|
-
deadline: string;
|
|
7644
|
-
timeoutSeconds: number;
|
|
7645
|
-
pid: number;
|
|
7646
|
-
startToken?: string | undefined;
|
|
7647
|
-
exitFile?: string | undefined;
|
|
7648
|
-
note?: string | undefined;
|
|
7649
|
-
result?: {
|
|
7650
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
7651
|
-
observedAt: string;
|
|
7652
|
-
exitCode?: number | undefined;
|
|
7653
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
7654
|
-
diagnostic?: string | undefined;
|
|
7655
|
-
} | undefined;
|
|
7656
7667
|
} | {
|
|
7657
7668
|
id: string;
|
|
7658
7669
|
source: "agent" | "cezar";
|
|
@@ -7920,17 +7931,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
7920
7931
|
id: string;
|
|
7921
7932
|
};
|
|
7922
7933
|
};
|
|
7923
|
-
} | {
|
|
7924
|
-
output: {
|
|
7925
|
-
error: string;
|
|
7926
|
-
};
|
|
7927
|
-
outputFormat: "json";
|
|
7928
|
-
status: 404;
|
|
7929
|
-
input: {
|
|
7930
|
-
param: {
|
|
7931
|
-
id: string;
|
|
7932
|
-
};
|
|
7933
|
-
};
|
|
7934
7934
|
};
|
|
7935
7935
|
};
|
|
7936
7936
|
} & {
|
|
@@ -8073,6 +8073,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8073
8073
|
deadline: string;
|
|
8074
8074
|
seconds: number;
|
|
8075
8075
|
note?: string | undefined;
|
|
8076
|
+
} | {
|
|
8077
|
+
id: string;
|
|
8078
|
+
source: "agent" | "cezar";
|
|
8079
|
+
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";
|
|
8080
|
+
registeredAt: string;
|
|
8081
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
8082
|
+
resolvedAt?: string | undefined;
|
|
8083
|
+
deliveredAt?: string | undefined;
|
|
8084
|
+
cancelledAt?: string | undefined;
|
|
8085
|
+
turnId: string;
|
|
8086
|
+
kind: "process";
|
|
8087
|
+
deadline: string;
|
|
8088
|
+
timeoutSeconds: number;
|
|
8089
|
+
pid: number;
|
|
8090
|
+
startToken?: string | undefined;
|
|
8091
|
+
exitFile?: string | undefined;
|
|
8092
|
+
note?: string | undefined;
|
|
8093
|
+
result?: {
|
|
8094
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
8095
|
+
observedAt: string;
|
|
8096
|
+
exitCode?: number | undefined;
|
|
8097
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
8098
|
+
diagnostic?: string | undefined;
|
|
8099
|
+
} | undefined;
|
|
8076
8100
|
} | {
|
|
8077
8101
|
id: string;
|
|
8078
8102
|
source: "agent" | "cezar";
|
|
@@ -8134,30 +8158,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8134
8158
|
reason: "outcome" | "timeout";
|
|
8135
8159
|
} | undefined;
|
|
8136
8160
|
wakeInputId?: string | undefined;
|
|
8137
|
-
} | {
|
|
8138
|
-
id: string;
|
|
8139
|
-
source: "agent" | "cezar";
|
|
8140
|
-
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";
|
|
8141
|
-
registeredAt: string;
|
|
8142
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
8143
|
-
resolvedAt?: string | undefined;
|
|
8144
|
-
deliveredAt?: string | undefined;
|
|
8145
|
-
cancelledAt?: string | undefined;
|
|
8146
|
-
turnId: string;
|
|
8147
|
-
kind: "process";
|
|
8148
|
-
deadline: string;
|
|
8149
|
-
timeoutSeconds: number;
|
|
8150
|
-
pid: number;
|
|
8151
|
-
startToken?: string | undefined;
|
|
8152
|
-
exitFile?: string | undefined;
|
|
8153
|
-
note?: string | undefined;
|
|
8154
|
-
result?: {
|
|
8155
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
8156
|
-
observedAt: string;
|
|
8157
|
-
exitCode?: number | undefined;
|
|
8158
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
8159
|
-
diagnostic?: string | undefined;
|
|
8160
|
-
} | undefined;
|
|
8161
8161
|
} | {
|
|
8162
8162
|
id: string;
|
|
8163
8163
|
source: "agent" | "cezar";
|
|
@@ -8290,6 +8290,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8290
8290
|
deadline: string;
|
|
8291
8291
|
seconds: number;
|
|
8292
8292
|
note?: string | undefined;
|
|
8293
|
+
} | {
|
|
8294
|
+
id: string;
|
|
8295
|
+
source: "agent" | "cezar";
|
|
8296
|
+
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";
|
|
8297
|
+
registeredAt: string;
|
|
8298
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
8299
|
+
resolvedAt?: string | undefined;
|
|
8300
|
+
deliveredAt?: string | undefined;
|
|
8301
|
+
cancelledAt?: string | undefined;
|
|
8302
|
+
turnId: string;
|
|
8303
|
+
kind: "process";
|
|
8304
|
+
deadline: string;
|
|
8305
|
+
timeoutSeconds: number;
|
|
8306
|
+
pid: number;
|
|
8307
|
+
startToken?: string | undefined;
|
|
8308
|
+
exitFile?: string | undefined;
|
|
8309
|
+
note?: string | undefined;
|
|
8310
|
+
result?: {
|
|
8311
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
8312
|
+
observedAt: string;
|
|
8313
|
+
exitCode?: number | undefined;
|
|
8314
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
8315
|
+
diagnostic?: string | undefined;
|
|
8316
|
+
} | undefined;
|
|
8293
8317
|
} | {
|
|
8294
8318
|
id: string;
|
|
8295
8319
|
source: "agent" | "cezar";
|
|
@@ -8351,30 +8375,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8351
8375
|
reason: "outcome" | "timeout";
|
|
8352
8376
|
} | undefined;
|
|
8353
8377
|
wakeInputId?: string | undefined;
|
|
8354
|
-
} | {
|
|
8355
|
-
id: string;
|
|
8356
|
-
source: "agent" | "cezar";
|
|
8357
|
-
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";
|
|
8358
|
-
registeredAt: string;
|
|
8359
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
8360
|
-
resolvedAt?: string | undefined;
|
|
8361
|
-
deliveredAt?: string | undefined;
|
|
8362
|
-
cancelledAt?: string | undefined;
|
|
8363
|
-
turnId: string;
|
|
8364
|
-
kind: "process";
|
|
8365
|
-
deadline: string;
|
|
8366
|
-
timeoutSeconds: number;
|
|
8367
|
-
pid: number;
|
|
8368
|
-
startToken?: string | undefined;
|
|
8369
|
-
exitFile?: string | undefined;
|
|
8370
|
-
note?: string | undefined;
|
|
8371
|
-
result?: {
|
|
8372
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
8373
|
-
observedAt: string;
|
|
8374
|
-
exitCode?: number | undefined;
|
|
8375
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
8376
|
-
diagnostic?: string | undefined;
|
|
8377
|
-
} | undefined;
|
|
8378
8378
|
} | {
|
|
8379
8379
|
id: string;
|
|
8380
8380
|
source: "agent" | "cezar";
|
|
@@ -8506,6 +8506,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8506
8506
|
deadline: string;
|
|
8507
8507
|
seconds: number;
|
|
8508
8508
|
note?: string | undefined;
|
|
8509
|
+
} | {
|
|
8510
|
+
id: string;
|
|
8511
|
+
source: "agent" | "cezar";
|
|
8512
|
+
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";
|
|
8513
|
+
registeredAt: string;
|
|
8514
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
8515
|
+
resolvedAt?: string | undefined;
|
|
8516
|
+
deliveredAt?: string | undefined;
|
|
8517
|
+
cancelledAt?: string | undefined;
|
|
8518
|
+
turnId: string;
|
|
8519
|
+
kind: "process";
|
|
8520
|
+
deadline: string;
|
|
8521
|
+
timeoutSeconds: number;
|
|
8522
|
+
pid: number;
|
|
8523
|
+
startToken?: string | undefined;
|
|
8524
|
+
exitFile?: string | undefined;
|
|
8525
|
+
note?: string | undefined;
|
|
8526
|
+
result?: {
|
|
8527
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
8528
|
+
observedAt: string;
|
|
8529
|
+
exitCode?: number | undefined;
|
|
8530
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
8531
|
+
diagnostic?: string | undefined;
|
|
8532
|
+
} | undefined;
|
|
8509
8533
|
} | {
|
|
8510
8534
|
id: string;
|
|
8511
8535
|
source: "agent" | "cezar";
|
|
@@ -8567,30 +8591,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8567
8591
|
reason: "outcome" | "timeout";
|
|
8568
8592
|
} | undefined;
|
|
8569
8593
|
wakeInputId?: string | undefined;
|
|
8570
|
-
} | {
|
|
8571
|
-
id: string;
|
|
8572
|
-
source: "agent" | "cezar";
|
|
8573
|
-
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";
|
|
8574
|
-
registeredAt: string;
|
|
8575
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
8576
|
-
resolvedAt?: string | undefined;
|
|
8577
|
-
deliveredAt?: string | undefined;
|
|
8578
|
-
cancelledAt?: string | undefined;
|
|
8579
|
-
turnId: string;
|
|
8580
|
-
kind: "process";
|
|
8581
|
-
deadline: string;
|
|
8582
|
-
timeoutSeconds: number;
|
|
8583
|
-
pid: number;
|
|
8584
|
-
startToken?: string | undefined;
|
|
8585
|
-
exitFile?: string | undefined;
|
|
8586
|
-
note?: string | undefined;
|
|
8587
|
-
result?: {
|
|
8588
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
8589
|
-
observedAt: string;
|
|
8590
|
-
exitCode?: number | undefined;
|
|
8591
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
8592
|
-
diagnostic?: string | undefined;
|
|
8593
|
-
} | undefined;
|
|
8594
8594
|
} | {
|
|
8595
8595
|
id: string;
|
|
8596
8596
|
source: "agent" | "cezar";
|
|
@@ -9207,6 +9207,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
9207
9207
|
} & {
|
|
9208
9208
|
"/runs/:id": {
|
|
9209
9209
|
$get: {
|
|
9210
|
+
output: {
|
|
9211
|
+
error: string;
|
|
9212
|
+
};
|
|
9213
|
+
outputFormat: "json";
|
|
9214
|
+
status: 404;
|
|
9215
|
+
input: {
|
|
9216
|
+
param: {
|
|
9217
|
+
id: string;
|
|
9218
|
+
};
|
|
9219
|
+
};
|
|
9220
|
+
} | {
|
|
9210
9221
|
output: {
|
|
9211
9222
|
archiveWhenDone?: boolean | undefined;
|
|
9212
9223
|
autoMergePr?: boolean | undefined;
|
|
@@ -9597,6 +9608,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
9597
9608
|
deadline: string;
|
|
9598
9609
|
seconds: number;
|
|
9599
9610
|
note?: string | undefined;
|
|
9611
|
+
} | {
|
|
9612
|
+
id: string;
|
|
9613
|
+
source: "agent" | "cezar";
|
|
9614
|
+
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";
|
|
9615
|
+
registeredAt: string;
|
|
9616
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
9617
|
+
resolvedAt?: string | undefined;
|
|
9618
|
+
deliveredAt?: string | undefined;
|
|
9619
|
+
cancelledAt?: string | undefined;
|
|
9620
|
+
turnId: string;
|
|
9621
|
+
kind: "process";
|
|
9622
|
+
deadline: string;
|
|
9623
|
+
timeoutSeconds: number;
|
|
9624
|
+
pid: number;
|
|
9625
|
+
startToken?: string | undefined;
|
|
9626
|
+
exitFile?: string | undefined;
|
|
9627
|
+
note?: string | undefined;
|
|
9628
|
+
result?: {
|
|
9629
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
9630
|
+
observedAt: string;
|
|
9631
|
+
exitCode?: number | undefined;
|
|
9632
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
9633
|
+
diagnostic?: string | undefined;
|
|
9634
|
+
} | undefined;
|
|
9600
9635
|
} | {
|
|
9601
9636
|
id: string;
|
|
9602
9637
|
source: "agent" | "cezar";
|
|
@@ -9668,31 +9703,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
9668
9703
|
deliveredAt?: string | undefined;
|
|
9669
9704
|
cancelledAt?: string | undefined;
|
|
9670
9705
|
turnId: string;
|
|
9671
|
-
kind: "
|
|
9672
|
-
deadline: string;
|
|
9673
|
-
timeoutSeconds: number;
|
|
9674
|
-
pid: number;
|
|
9675
|
-
startToken?: string | undefined;
|
|
9676
|
-
exitFile?: string | undefined;
|
|
9677
|
-
note?: string | undefined;
|
|
9678
|
-
result?: {
|
|
9679
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
9680
|
-
observedAt: string;
|
|
9681
|
-
exitCode?: number | undefined;
|
|
9682
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
9683
|
-
diagnostic?: string | undefined;
|
|
9684
|
-
} | undefined;
|
|
9685
|
-
} | {
|
|
9686
|
-
id: string;
|
|
9687
|
-
source: "agent" | "cezar";
|
|
9688
|
-
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";
|
|
9689
|
-
registeredAt: string;
|
|
9690
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
9691
|
-
resolvedAt?: string | undefined;
|
|
9692
|
-
deliveredAt?: string | undefined;
|
|
9693
|
-
cancelledAt?: string | undefined;
|
|
9694
|
-
turnId: string;
|
|
9695
|
-
kind: "peer";
|
|
9706
|
+
kind: "peer";
|
|
9696
9707
|
deadline: string;
|
|
9697
9708
|
timeoutSeconds: number;
|
|
9698
9709
|
peerIds: string[];
|
|
@@ -9814,6 +9825,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
9814
9825
|
deadline: string;
|
|
9815
9826
|
seconds: number;
|
|
9816
9827
|
note?: string | undefined;
|
|
9828
|
+
} | {
|
|
9829
|
+
id: string;
|
|
9830
|
+
source: "agent" | "cezar";
|
|
9831
|
+
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";
|
|
9832
|
+
registeredAt: string;
|
|
9833
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
9834
|
+
resolvedAt?: string | undefined;
|
|
9835
|
+
deliveredAt?: string | undefined;
|
|
9836
|
+
cancelledAt?: string | undefined;
|
|
9837
|
+
turnId: string;
|
|
9838
|
+
kind: "process";
|
|
9839
|
+
deadline: string;
|
|
9840
|
+
timeoutSeconds: number;
|
|
9841
|
+
pid: number;
|
|
9842
|
+
startToken?: string | undefined;
|
|
9843
|
+
exitFile?: string | undefined;
|
|
9844
|
+
note?: string | undefined;
|
|
9845
|
+
result?: {
|
|
9846
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
9847
|
+
observedAt: string;
|
|
9848
|
+
exitCode?: number | undefined;
|
|
9849
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
9850
|
+
diagnostic?: string | undefined;
|
|
9851
|
+
} | undefined;
|
|
9817
9852
|
} | {
|
|
9818
9853
|
id: string;
|
|
9819
9854
|
source: "agent" | "cezar";
|
|
@@ -9875,30 +9910,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
9875
9910
|
reason: "outcome" | "timeout";
|
|
9876
9911
|
} | undefined;
|
|
9877
9912
|
wakeInputId?: string | undefined;
|
|
9878
|
-
} | {
|
|
9879
|
-
id: string;
|
|
9880
|
-
source: "agent" | "cezar";
|
|
9881
|
-
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";
|
|
9882
|
-
registeredAt: string;
|
|
9883
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
9884
|
-
resolvedAt?: string | undefined;
|
|
9885
|
-
deliveredAt?: string | undefined;
|
|
9886
|
-
cancelledAt?: string | undefined;
|
|
9887
|
-
turnId: string;
|
|
9888
|
-
kind: "process";
|
|
9889
|
-
deadline: string;
|
|
9890
|
-
timeoutSeconds: number;
|
|
9891
|
-
pid: number;
|
|
9892
|
-
startToken?: string | undefined;
|
|
9893
|
-
exitFile?: string | undefined;
|
|
9894
|
-
note?: string | undefined;
|
|
9895
|
-
result?: {
|
|
9896
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
9897
|
-
observedAt: string;
|
|
9898
|
-
exitCode?: number | undefined;
|
|
9899
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
9900
|
-
diagnostic?: string | undefined;
|
|
9901
|
-
} | undefined;
|
|
9902
9913
|
} | {
|
|
9903
9914
|
id: string;
|
|
9904
9915
|
source: "agent" | "cezar";
|
|
@@ -10030,6 +10041,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
10030
10041
|
deadline: string;
|
|
10031
10042
|
seconds: number;
|
|
10032
10043
|
note?: string | undefined;
|
|
10044
|
+
} | {
|
|
10045
|
+
id: string;
|
|
10046
|
+
source: "agent" | "cezar";
|
|
10047
|
+
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";
|
|
10048
|
+
registeredAt: string;
|
|
10049
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
10050
|
+
resolvedAt?: string | undefined;
|
|
10051
|
+
deliveredAt?: string | undefined;
|
|
10052
|
+
cancelledAt?: string | undefined;
|
|
10053
|
+
turnId: string;
|
|
10054
|
+
kind: "process";
|
|
10055
|
+
deadline: string;
|
|
10056
|
+
timeoutSeconds: number;
|
|
10057
|
+
pid: number;
|
|
10058
|
+
startToken?: string | undefined;
|
|
10059
|
+
exitFile?: string | undefined;
|
|
10060
|
+
note?: string | undefined;
|
|
10061
|
+
result?: {
|
|
10062
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
10063
|
+
observedAt: string;
|
|
10064
|
+
exitCode?: number | undefined;
|
|
10065
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
10066
|
+
diagnostic?: string | undefined;
|
|
10067
|
+
} | undefined;
|
|
10033
10068
|
} | {
|
|
10034
10069
|
id: string;
|
|
10035
10070
|
source: "agent" | "cezar";
|
|
@@ -10091,30 +10126,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
10091
10126
|
reason: "outcome" | "timeout";
|
|
10092
10127
|
} | undefined;
|
|
10093
10128
|
wakeInputId?: string | undefined;
|
|
10094
|
-
} | {
|
|
10095
|
-
id: string;
|
|
10096
|
-
source: "agent" | "cezar";
|
|
10097
|
-
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";
|
|
10098
|
-
registeredAt: string;
|
|
10099
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
10100
|
-
resolvedAt?: string | undefined;
|
|
10101
|
-
deliveredAt?: string | undefined;
|
|
10102
|
-
cancelledAt?: string | undefined;
|
|
10103
|
-
turnId: string;
|
|
10104
|
-
kind: "process";
|
|
10105
|
-
deadline: string;
|
|
10106
|
-
timeoutSeconds: number;
|
|
10107
|
-
pid: number;
|
|
10108
|
-
startToken?: string | undefined;
|
|
10109
|
-
exitFile?: string | undefined;
|
|
10110
|
-
note?: string | undefined;
|
|
10111
|
-
result?: {
|
|
10112
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
10113
|
-
observedAt: string;
|
|
10114
|
-
exitCode?: number | undefined;
|
|
10115
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
10116
|
-
diagnostic?: string | undefined;
|
|
10117
|
-
} | undefined;
|
|
10118
10129
|
} | {
|
|
10119
10130
|
id: string;
|
|
10120
10131
|
source: "agent" | "cezar";
|
|
@@ -10390,17 +10401,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
10390
10401
|
id: string;
|
|
10391
10402
|
};
|
|
10392
10403
|
};
|
|
10393
|
-
} | {
|
|
10394
|
-
output: {
|
|
10395
|
-
error: string;
|
|
10396
|
-
};
|
|
10397
|
-
outputFormat: "json";
|
|
10398
|
-
status: 404;
|
|
10399
|
-
input: {
|
|
10400
|
-
param: {
|
|
10401
|
-
id: string;
|
|
10402
|
-
};
|
|
10403
|
-
};
|
|
10404
10404
|
};
|
|
10405
10405
|
};
|
|
10406
10406
|
} & {
|
|
@@ -10528,6 +10528,66 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
10528
10528
|
} & {
|
|
10529
10529
|
"/runs/:id": {
|
|
10530
10530
|
$patch: {
|
|
10531
|
+
output: {
|
|
10532
|
+
error: string;
|
|
10533
|
+
};
|
|
10534
|
+
outputFormat: "json";
|
|
10535
|
+
status: 400;
|
|
10536
|
+
input: {
|
|
10537
|
+
json: {
|
|
10538
|
+
archiveWhenDone?: boolean | undefined;
|
|
10539
|
+
autoMergePr?: boolean | undefined;
|
|
10540
|
+
allowWorkers?: boolean | undefined;
|
|
10541
|
+
allowMessaging?: boolean | undefined;
|
|
10542
|
+
title?: string | undefined;
|
|
10543
|
+
task?: string | undefined;
|
|
10544
|
+
};
|
|
10545
|
+
} & {
|
|
10546
|
+
param: {
|
|
10547
|
+
id: string;
|
|
10548
|
+
};
|
|
10549
|
+
};
|
|
10550
|
+
} | {
|
|
10551
|
+
output: {
|
|
10552
|
+
error: string;
|
|
10553
|
+
};
|
|
10554
|
+
outputFormat: "json";
|
|
10555
|
+
status: 404;
|
|
10556
|
+
input: {
|
|
10557
|
+
json: {
|
|
10558
|
+
archiveWhenDone?: boolean | undefined;
|
|
10559
|
+
autoMergePr?: boolean | undefined;
|
|
10560
|
+
allowWorkers?: boolean | undefined;
|
|
10561
|
+
allowMessaging?: boolean | undefined;
|
|
10562
|
+
title?: string | undefined;
|
|
10563
|
+
task?: string | undefined;
|
|
10564
|
+
};
|
|
10565
|
+
} & {
|
|
10566
|
+
param: {
|
|
10567
|
+
id: string;
|
|
10568
|
+
};
|
|
10569
|
+
};
|
|
10570
|
+
} | {
|
|
10571
|
+
output: {
|
|
10572
|
+
error: string;
|
|
10573
|
+
};
|
|
10574
|
+
outputFormat: "json";
|
|
10575
|
+
status: 409;
|
|
10576
|
+
input: {
|
|
10577
|
+
json: {
|
|
10578
|
+
archiveWhenDone?: boolean | undefined;
|
|
10579
|
+
autoMergePr?: boolean | undefined;
|
|
10580
|
+
allowWorkers?: boolean | undefined;
|
|
10581
|
+
allowMessaging?: boolean | undefined;
|
|
10582
|
+
title?: string | undefined;
|
|
10583
|
+
task?: string | undefined;
|
|
10584
|
+
};
|
|
10585
|
+
} & {
|
|
10586
|
+
param: {
|
|
10587
|
+
id: string;
|
|
10588
|
+
};
|
|
10589
|
+
};
|
|
10590
|
+
} | {
|
|
10531
10591
|
output: {
|
|
10532
10592
|
archiveWhenDone?: boolean | undefined;
|
|
10533
10593
|
autoMergePr?: boolean | undefined;
|
|
@@ -10665,6 +10725,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
10665
10725
|
deadline: string;
|
|
10666
10726
|
seconds: number;
|
|
10667
10727
|
note?: string | undefined;
|
|
10728
|
+
} | {
|
|
10729
|
+
id: string;
|
|
10730
|
+
source: "agent" | "cezar";
|
|
10731
|
+
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";
|
|
10732
|
+
registeredAt: string;
|
|
10733
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
10734
|
+
resolvedAt?: string | undefined;
|
|
10735
|
+
deliveredAt?: string | undefined;
|
|
10736
|
+
cancelledAt?: string | undefined;
|
|
10737
|
+
turnId: string;
|
|
10738
|
+
kind: "process";
|
|
10739
|
+
deadline: string;
|
|
10740
|
+
timeoutSeconds: number;
|
|
10741
|
+
pid: number;
|
|
10742
|
+
startToken?: string | undefined;
|
|
10743
|
+
exitFile?: string | undefined;
|
|
10744
|
+
note?: string | undefined;
|
|
10745
|
+
result?: {
|
|
10746
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
10747
|
+
observedAt: string;
|
|
10748
|
+
exitCode?: number | undefined;
|
|
10749
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
10750
|
+
diagnostic?: string | undefined;
|
|
10751
|
+
} | undefined;
|
|
10668
10752
|
} | {
|
|
10669
10753
|
id: string;
|
|
10670
10754
|
source: "agent" | "cezar";
|
|
@@ -10726,30 +10810,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
10726
10810
|
reason: "outcome" | "timeout";
|
|
10727
10811
|
} | undefined;
|
|
10728
10812
|
wakeInputId?: string | undefined;
|
|
10729
|
-
} | {
|
|
10730
|
-
id: string;
|
|
10731
|
-
source: "agent" | "cezar";
|
|
10732
|
-
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";
|
|
10733
|
-
registeredAt: string;
|
|
10734
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
10735
|
-
resolvedAt?: string | undefined;
|
|
10736
|
-
deliveredAt?: string | undefined;
|
|
10737
|
-
cancelledAt?: string | undefined;
|
|
10738
|
-
turnId: string;
|
|
10739
|
-
kind: "process";
|
|
10740
|
-
deadline: string;
|
|
10741
|
-
timeoutSeconds: number;
|
|
10742
|
-
pid: number;
|
|
10743
|
-
startToken?: string | undefined;
|
|
10744
|
-
exitFile?: string | undefined;
|
|
10745
|
-
note?: string | undefined;
|
|
10746
|
-
result?: {
|
|
10747
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
10748
|
-
observedAt: string;
|
|
10749
|
-
exitCode?: number | undefined;
|
|
10750
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
10751
|
-
diagnostic?: string | undefined;
|
|
10752
|
-
} | undefined;
|
|
10753
10813
|
} | {
|
|
10754
10814
|
id: string;
|
|
10755
10815
|
source: "agent" | "cezar";
|
|
@@ -10892,26 +10952,50 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
10892
10952
|
deliveredAt?: string | undefined;
|
|
10893
10953
|
cancelledAt?: string | undefined;
|
|
10894
10954
|
turnId: string;
|
|
10895
|
-
kind: "
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
} | {
|
|
10910
|
-
id: string;
|
|
10911
|
-
source: "agent" | "cezar";
|
|
10912
|
-
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";
|
|
10913
|
-
registeredAt: string;
|
|
10914
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
10955
|
+
kind: "process";
|
|
10956
|
+
deadline: string;
|
|
10957
|
+
timeoutSeconds: number;
|
|
10958
|
+
pid: number;
|
|
10959
|
+
startToken?: string | undefined;
|
|
10960
|
+
exitFile?: string | undefined;
|
|
10961
|
+
note?: string | undefined;
|
|
10962
|
+
result?: {
|
|
10963
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
10964
|
+
observedAt: string;
|
|
10965
|
+
exitCode?: number | undefined;
|
|
10966
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
10967
|
+
diagnostic?: string | undefined;
|
|
10968
|
+
} | undefined;
|
|
10969
|
+
} | {
|
|
10970
|
+
id: string;
|
|
10971
|
+
source: "agent" | "cezar";
|
|
10972
|
+
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";
|
|
10973
|
+
registeredAt: string;
|
|
10974
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
10975
|
+
resolvedAt?: string | undefined;
|
|
10976
|
+
deliveredAt?: string | undefined;
|
|
10977
|
+
cancelledAt?: string | undefined;
|
|
10978
|
+
turnId: string;
|
|
10979
|
+
kind: "human";
|
|
10980
|
+
questions?: {
|
|
10981
|
+
id?: string | undefined;
|
|
10982
|
+
header: string;
|
|
10983
|
+
question: string;
|
|
10984
|
+
options?: {
|
|
10985
|
+
label: string;
|
|
10986
|
+
description?: string | undefined;
|
|
10987
|
+
}[] | undefined;
|
|
10988
|
+
multiSelect?: boolean | undefined;
|
|
10989
|
+
allowFreeText?: boolean | undefined;
|
|
10990
|
+
}[] | undefined;
|
|
10991
|
+
context?: string | undefined;
|
|
10992
|
+
askSeq?: number | undefined;
|
|
10993
|
+
} | {
|
|
10994
|
+
id: string;
|
|
10995
|
+
source: "agent" | "cezar";
|
|
10996
|
+
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";
|
|
10997
|
+
registeredAt: string;
|
|
10998
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
10915
10999
|
resolvedAt?: string | undefined;
|
|
10916
11000
|
deliveredAt?: string | undefined;
|
|
10917
11001
|
cancelledAt?: string | undefined;
|
|
@@ -10943,30 +11027,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
10943
11027
|
reason: "outcome" | "timeout";
|
|
10944
11028
|
} | undefined;
|
|
10945
11029
|
wakeInputId?: string | undefined;
|
|
10946
|
-
} | {
|
|
10947
|
-
id: string;
|
|
10948
|
-
source: "agent" | "cezar";
|
|
10949
|
-
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";
|
|
10950
|
-
registeredAt: string;
|
|
10951
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
10952
|
-
resolvedAt?: string | undefined;
|
|
10953
|
-
deliveredAt?: string | undefined;
|
|
10954
|
-
cancelledAt?: string | undefined;
|
|
10955
|
-
turnId: string;
|
|
10956
|
-
kind: "process";
|
|
10957
|
-
deadline: string;
|
|
10958
|
-
timeoutSeconds: number;
|
|
10959
|
-
pid: number;
|
|
10960
|
-
startToken?: string | undefined;
|
|
10961
|
-
exitFile?: string | undefined;
|
|
10962
|
-
note?: string | undefined;
|
|
10963
|
-
result?: {
|
|
10964
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
10965
|
-
observedAt: string;
|
|
10966
|
-
exitCode?: number | undefined;
|
|
10967
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
10968
|
-
diagnostic?: string | undefined;
|
|
10969
|
-
} | undefined;
|
|
10970
11030
|
} | {
|
|
10971
11031
|
id: string;
|
|
10972
11032
|
source: "agent" | "cezar";
|
|
@@ -11098,6 +11158,30 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11098
11158
|
deadline: string;
|
|
11099
11159
|
seconds: number;
|
|
11100
11160
|
note?: string | undefined;
|
|
11161
|
+
} | {
|
|
11162
|
+
id: string;
|
|
11163
|
+
source: "agent" | "cezar";
|
|
11164
|
+
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";
|
|
11165
|
+
registeredAt: string;
|
|
11166
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
11167
|
+
resolvedAt?: string | undefined;
|
|
11168
|
+
deliveredAt?: string | undefined;
|
|
11169
|
+
cancelledAt?: string | undefined;
|
|
11170
|
+
turnId: string;
|
|
11171
|
+
kind: "process";
|
|
11172
|
+
deadline: string;
|
|
11173
|
+
timeoutSeconds: number;
|
|
11174
|
+
pid: number;
|
|
11175
|
+
startToken?: string | undefined;
|
|
11176
|
+
exitFile?: string | undefined;
|
|
11177
|
+
note?: string | undefined;
|
|
11178
|
+
result?: {
|
|
11179
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
11180
|
+
observedAt: string;
|
|
11181
|
+
exitCode?: number | undefined;
|
|
11182
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
11183
|
+
diagnostic?: string | undefined;
|
|
11184
|
+
} | undefined;
|
|
11101
11185
|
} | {
|
|
11102
11186
|
id: string;
|
|
11103
11187
|
source: "agent" | "cezar";
|
|
@@ -11159,30 +11243,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11159
11243
|
reason: "outcome" | "timeout";
|
|
11160
11244
|
} | undefined;
|
|
11161
11245
|
wakeInputId?: string | undefined;
|
|
11162
|
-
} | {
|
|
11163
|
-
id: string;
|
|
11164
|
-
source: "agent" | "cezar";
|
|
11165
|
-
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";
|
|
11166
|
-
registeredAt: string;
|
|
11167
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
11168
|
-
resolvedAt?: string | undefined;
|
|
11169
|
-
deliveredAt?: string | undefined;
|
|
11170
|
-
cancelledAt?: string | undefined;
|
|
11171
|
-
turnId: string;
|
|
11172
|
-
kind: "process";
|
|
11173
|
-
deadline: string;
|
|
11174
|
-
timeoutSeconds: number;
|
|
11175
|
-
pid: number;
|
|
11176
|
-
startToken?: string | undefined;
|
|
11177
|
-
exitFile?: string | undefined;
|
|
11178
|
-
note?: string | undefined;
|
|
11179
|
-
result?: {
|
|
11180
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
11181
|
-
observedAt: string;
|
|
11182
|
-
exitCode?: number | undefined;
|
|
11183
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
11184
|
-
diagnostic?: string | undefined;
|
|
11185
|
-
} | undefined;
|
|
11186
11246
|
} | {
|
|
11187
11247
|
id: string;
|
|
11188
11248
|
source: "agent" | "cezar";
|
|
@@ -11712,66 +11772,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11712
11772
|
id: string;
|
|
11713
11773
|
};
|
|
11714
11774
|
};
|
|
11715
|
-
} | {
|
|
11716
|
-
output: {
|
|
11717
|
-
error: string;
|
|
11718
|
-
};
|
|
11719
|
-
outputFormat: "json";
|
|
11720
|
-
status: 404;
|
|
11721
|
-
input: {
|
|
11722
|
-
json: {
|
|
11723
|
-
archiveWhenDone?: boolean | undefined;
|
|
11724
|
-
autoMergePr?: boolean | undefined;
|
|
11725
|
-
allowWorkers?: boolean | undefined;
|
|
11726
|
-
allowMessaging?: boolean | undefined;
|
|
11727
|
-
title?: string | undefined;
|
|
11728
|
-
task?: string | undefined;
|
|
11729
|
-
};
|
|
11730
|
-
} & {
|
|
11731
|
-
param: {
|
|
11732
|
-
id: string;
|
|
11733
|
-
};
|
|
11734
|
-
};
|
|
11735
|
-
} | {
|
|
11736
|
-
output: {
|
|
11737
|
-
error: string;
|
|
11738
|
-
};
|
|
11739
|
-
outputFormat: "json";
|
|
11740
|
-
status: 400;
|
|
11741
|
-
input: {
|
|
11742
|
-
json: {
|
|
11743
|
-
archiveWhenDone?: boolean | undefined;
|
|
11744
|
-
autoMergePr?: boolean | undefined;
|
|
11745
|
-
allowWorkers?: boolean | undefined;
|
|
11746
|
-
allowMessaging?: boolean | undefined;
|
|
11747
|
-
title?: string | undefined;
|
|
11748
|
-
task?: string | undefined;
|
|
11749
|
-
};
|
|
11750
|
-
} & {
|
|
11751
|
-
param: {
|
|
11752
|
-
id: string;
|
|
11753
|
-
};
|
|
11754
|
-
};
|
|
11755
|
-
} | {
|
|
11756
|
-
output: {
|
|
11757
|
-
error: string;
|
|
11758
|
-
};
|
|
11759
|
-
outputFormat: "json";
|
|
11760
|
-
status: 409;
|
|
11761
|
-
input: {
|
|
11762
|
-
json: {
|
|
11763
|
-
archiveWhenDone?: boolean | undefined;
|
|
11764
|
-
autoMergePr?: boolean | undefined;
|
|
11765
|
-
allowWorkers?: boolean | undefined;
|
|
11766
|
-
allowMessaging?: boolean | undefined;
|
|
11767
|
-
title?: string | undefined;
|
|
11768
|
-
task?: string | undefined;
|
|
11769
|
-
};
|
|
11770
|
-
} & {
|
|
11771
|
-
param: {
|
|
11772
|
-
id: string;
|
|
11773
|
-
};
|
|
11774
|
-
};
|
|
11775
11775
|
};
|
|
11776
11776
|
};
|
|
11777
11777
|
} & {
|
|
@@ -11876,7 +11876,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11876
11876
|
error: string;
|
|
11877
11877
|
};
|
|
11878
11878
|
outputFormat: "json";
|
|
11879
|
-
status:
|
|
11879
|
+
status: 400;
|
|
11880
11880
|
input: {
|
|
11881
11881
|
json: {
|
|
11882
11882
|
text?: string | undefined;
|
|
@@ -11895,7 +11895,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11895
11895
|
error: string;
|
|
11896
11896
|
};
|
|
11897
11897
|
outputFormat: "json";
|
|
11898
|
-
status:
|
|
11898
|
+
status: 404;
|
|
11899
11899
|
input: {
|
|
11900
11900
|
json: {
|
|
11901
11901
|
text?: string | undefined;
|
|
@@ -11911,10 +11911,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11911
11911
|
};
|
|
11912
11912
|
} | {
|
|
11913
11913
|
output: {
|
|
11914
|
-
|
|
11914
|
+
error: string;
|
|
11915
11915
|
};
|
|
11916
11916
|
outputFormat: "json";
|
|
11917
|
-
status:
|
|
11917
|
+
status: 409;
|
|
11918
11918
|
input: {
|
|
11919
11919
|
json: {
|
|
11920
11920
|
text?: string | undefined;
|
|
@@ -11930,10 +11930,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11930
11930
|
};
|
|
11931
11931
|
} | {
|
|
11932
11932
|
output: {
|
|
11933
|
-
|
|
11933
|
+
delivered: true;
|
|
11934
11934
|
};
|
|
11935
11935
|
outputFormat: "json";
|
|
11936
|
-
status:
|
|
11936
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
11937
11937
|
input: {
|
|
11938
11938
|
json: {
|
|
11939
11939
|
text?: string | undefined;
|
|
@@ -12001,7 +12001,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12001
12001
|
error: string;
|
|
12002
12002
|
};
|
|
12003
12003
|
outputFormat: "json";
|
|
12004
|
-
status:
|
|
12004
|
+
status: 400;
|
|
12005
12005
|
input: {
|
|
12006
12006
|
json: {
|
|
12007
12007
|
text?: string | undefined;
|
|
@@ -12022,7 +12022,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12022
12022
|
error: string;
|
|
12023
12023
|
};
|
|
12024
12024
|
outputFormat: "json";
|
|
12025
|
-
status:
|
|
12025
|
+
status: 404;
|
|
12026
12026
|
input: {
|
|
12027
12027
|
json: {
|
|
12028
12028
|
text?: string | undefined;
|
|
@@ -12242,10 +12242,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12242
12242
|
"/runs/:id/open-in-cli": {
|
|
12243
12243
|
$post: {
|
|
12244
12244
|
output: {
|
|
12245
|
-
|
|
12245
|
+
opened: true;
|
|
12246
|
+
command: string;
|
|
12246
12247
|
};
|
|
12247
12248
|
outputFormat: "json";
|
|
12248
|
-
status:
|
|
12249
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12249
12250
|
input: {
|
|
12250
12251
|
param: {
|
|
12251
12252
|
id: string;
|
|
@@ -12253,11 +12254,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12253
12254
|
};
|
|
12254
12255
|
} | {
|
|
12255
12256
|
output: {
|
|
12256
|
-
|
|
12257
|
-
command: string;
|
|
12257
|
+
error: string;
|
|
12258
12258
|
};
|
|
12259
12259
|
outputFormat: "json";
|
|
12260
|
-
status:
|
|
12260
|
+
status: 404 | 409;
|
|
12261
12261
|
input: {
|
|
12262
12262
|
param: {
|
|
12263
12263
|
id: string;
|
|
@@ -12272,7 +12272,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12272
12272
|
error: string;
|
|
12273
12273
|
};
|
|
12274
12274
|
outputFormat: "json";
|
|
12275
|
-
status:
|
|
12275
|
+
status: 400;
|
|
12276
12276
|
input: {
|
|
12277
12277
|
json: {
|
|
12278
12278
|
target: string;
|
|
@@ -12285,10 +12285,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12285
12285
|
};
|
|
12286
12286
|
} | {
|
|
12287
12287
|
output: {
|
|
12288
|
-
|
|
12288
|
+
opened: true;
|
|
12289
|
+
path: string;
|
|
12289
12290
|
};
|
|
12290
12291
|
outputFormat: "json";
|
|
12291
|
-
status:
|
|
12292
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12292
12293
|
input: {
|
|
12293
12294
|
json: {
|
|
12294
12295
|
target: string;
|
|
@@ -12301,11 +12302,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12301
12302
|
};
|
|
12302
12303
|
} | {
|
|
12303
12304
|
output: {
|
|
12304
|
-
|
|
12305
|
-
path: string;
|
|
12305
|
+
error: string;
|
|
12306
12306
|
};
|
|
12307
12307
|
outputFormat: "json";
|
|
12308
|
-
status:
|
|
12308
|
+
status: 404 | 409;
|
|
12309
12309
|
input: {
|
|
12310
12310
|
json: {
|
|
12311
12311
|
target: string;
|
|
@@ -12321,20 +12321,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12321
12321
|
} & {
|
|
12322
12322
|
"/runs/:id/handoff": {
|
|
12323
12323
|
$get: {
|
|
12324
|
-
output:
|
|
12325
|
-
|
|
12326
|
-
|
|
12327
|
-
outputFormat: "json";
|
|
12328
|
-
status: 404;
|
|
12324
|
+
output: string;
|
|
12325
|
+
outputFormat: "text";
|
|
12326
|
+
status: 200;
|
|
12329
12327
|
input: {
|
|
12330
12328
|
param: {
|
|
12331
12329
|
id: string;
|
|
12332
12330
|
};
|
|
12333
12331
|
};
|
|
12334
12332
|
} | {
|
|
12335
|
-
output:
|
|
12336
|
-
|
|
12337
|
-
|
|
12333
|
+
output: {
|
|
12334
|
+
error: string;
|
|
12335
|
+
};
|
|
12336
|
+
outputFormat: "json";
|
|
12337
|
+
status: 404;
|
|
12338
12338
|
input: {
|
|
12339
12339
|
param: {
|
|
12340
12340
|
id: string;
|
|
@@ -12345,9 +12345,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12345
12345
|
} & {
|
|
12346
12346
|
"/runs/:id/images/:file": {
|
|
12347
12347
|
$get: {
|
|
12348
|
-
output: {
|
|
12349
|
-
|
|
12350
|
-
|
|
12348
|
+
output: {
|
|
12349
|
+
error: string;
|
|
12350
|
+
code?: "invalid_input" | undefined;
|
|
12351
|
+
};
|
|
12352
|
+
outputFormat: "json";
|
|
12353
|
+
status: 400;
|
|
12351
12354
|
input: {
|
|
12352
12355
|
param: {
|
|
12353
12356
|
id: string;
|
|
@@ -12355,12 +12358,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12355
12358
|
};
|
|
12356
12359
|
};
|
|
12357
12360
|
} | {
|
|
12358
|
-
output: {
|
|
12359
|
-
|
|
12360
|
-
|
|
12361
|
-
};
|
|
12362
|
-
outputFormat: "json";
|
|
12363
|
-
status: 400;
|
|
12361
|
+
output: {};
|
|
12362
|
+
outputFormat: string;
|
|
12363
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
12364
12364
|
input: {
|
|
12365
12365
|
param: {
|
|
12366
12366
|
id: string;
|
|
@@ -12372,17 +12372,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12372
12372
|
} & {
|
|
12373
12373
|
"/runs/:id/diff": {
|
|
12374
12374
|
$get: {
|
|
12375
|
-
output: {
|
|
12376
|
-
error: string;
|
|
12377
|
-
};
|
|
12378
|
-
outputFormat: "json";
|
|
12379
|
-
status: 404 | 409;
|
|
12380
|
-
input: {
|
|
12381
|
-
param: {
|
|
12382
|
-
id: string;
|
|
12383
|
-
};
|
|
12384
|
-
};
|
|
12385
|
-
} | {
|
|
12386
12375
|
output: string;
|
|
12387
12376
|
outputFormat: "text";
|
|
12388
12377
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -12391,11 +12380,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12391
12380
|
id: string;
|
|
12392
12381
|
};
|
|
12393
12382
|
};
|
|
12394
|
-
}
|
|
12395
|
-
};
|
|
12396
|
-
} & {
|
|
12397
|
-
"/runs/:id/changes": {
|
|
12398
|
-
$get: {
|
|
12383
|
+
} | {
|
|
12399
12384
|
output: {
|
|
12400
12385
|
error: string;
|
|
12401
12386
|
};
|
|
@@ -12406,7 +12391,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12406
12391
|
id: string;
|
|
12407
12392
|
};
|
|
12408
12393
|
};
|
|
12409
|
-
}
|
|
12394
|
+
};
|
|
12395
|
+
};
|
|
12396
|
+
} & {
|
|
12397
|
+
"/runs/:id/changes": {
|
|
12398
|
+
$get: {
|
|
12410
12399
|
output: {
|
|
12411
12400
|
files: {
|
|
12412
12401
|
path: string;
|
|
@@ -12435,11 +12424,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12435
12424
|
id: string;
|
|
12436
12425
|
};
|
|
12437
12426
|
};
|
|
12438
|
-
}
|
|
12439
|
-
};
|
|
12440
|
-
} & {
|
|
12441
|
-
"/runs/:id/commits": {
|
|
12442
|
-
$get: {
|
|
12427
|
+
} | {
|
|
12443
12428
|
output: {
|
|
12444
12429
|
error: string;
|
|
12445
12430
|
};
|
|
@@ -12450,7 +12435,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12450
12435
|
id: string;
|
|
12451
12436
|
};
|
|
12452
12437
|
};
|
|
12453
|
-
}
|
|
12438
|
+
};
|
|
12439
|
+
};
|
|
12440
|
+
} & {
|
|
12441
|
+
"/runs/:id/commits": {
|
|
12442
|
+
$get: {
|
|
12454
12443
|
output: {
|
|
12455
12444
|
commits: {
|
|
12456
12445
|
sha: string;
|
|
@@ -12466,11 +12455,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12466
12455
|
id: string;
|
|
12467
12456
|
};
|
|
12468
12457
|
};
|
|
12469
|
-
}
|
|
12470
|
-
};
|
|
12471
|
-
} & {
|
|
12472
|
-
"/runs/:id/commit/:sha": {
|
|
12473
|
-
$get: {
|
|
12458
|
+
} | {
|
|
12474
12459
|
output: {
|
|
12475
12460
|
error: string;
|
|
12476
12461
|
};
|
|
@@ -12478,12 +12463,14 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12478
12463
|
status: 404 | 409;
|
|
12479
12464
|
input: {
|
|
12480
12465
|
param: {
|
|
12481
|
-
sha: string;
|
|
12482
|
-
} & {
|
|
12483
12466
|
id: string;
|
|
12484
12467
|
};
|
|
12485
12468
|
};
|
|
12486
|
-
}
|
|
12469
|
+
};
|
|
12470
|
+
};
|
|
12471
|
+
} & {
|
|
12472
|
+
"/runs/:id/commit/:sha": {
|
|
12473
|
+
$get: {
|
|
12487
12474
|
output: {
|
|
12488
12475
|
sha: string;
|
|
12489
12476
|
subject: string;
|
|
@@ -12509,9 +12496,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12509
12496
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12510
12497
|
input: {
|
|
12511
12498
|
param: {
|
|
12512
|
-
|
|
12499
|
+
id: string;
|
|
12513
12500
|
} & {
|
|
12501
|
+
sha: string;
|
|
12502
|
+
};
|
|
12503
|
+
};
|
|
12504
|
+
} | {
|
|
12505
|
+
output: {
|
|
12506
|
+
error: string;
|
|
12507
|
+
};
|
|
12508
|
+
outputFormat: "json";
|
|
12509
|
+
status: 404 | 409;
|
|
12510
|
+
input: {
|
|
12511
|
+
param: {
|
|
12514
12512
|
id: string;
|
|
12513
|
+
} & {
|
|
12514
|
+
sha: string;
|
|
12515
12515
|
};
|
|
12516
12516
|
};
|
|
12517
12517
|
};
|
|
@@ -12537,10 +12537,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12537
12537
|
};
|
|
12538
12538
|
} | {
|
|
12539
12539
|
output: {
|
|
12540
|
-
|
|
12540
|
+
type: 'file';
|
|
12541
|
+
path: string;
|
|
12542
|
+
size: number;
|
|
12543
|
+
binary: boolean;
|
|
12544
|
+
tooLarge: boolean;
|
|
12545
|
+
content?: string | undefined;
|
|
12541
12546
|
};
|
|
12542
12547
|
outputFormat: "json";
|
|
12543
|
-
status:
|
|
12548
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12544
12549
|
input: {
|
|
12545
12550
|
param: {
|
|
12546
12551
|
sha: string;
|
|
@@ -12553,15 +12558,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12553
12558
|
};
|
|
12554
12559
|
} | {
|
|
12555
12560
|
output: {
|
|
12556
|
-
|
|
12557
|
-
path: string;
|
|
12558
|
-
size: number;
|
|
12559
|
-
binary: boolean;
|
|
12560
|
-
tooLarge: boolean;
|
|
12561
|
-
content?: string | undefined;
|
|
12561
|
+
error: string;
|
|
12562
12562
|
};
|
|
12563
12563
|
outputFormat: "json";
|
|
12564
|
-
status:
|
|
12564
|
+
status: 404 | 409;
|
|
12565
12565
|
input: {
|
|
12566
12566
|
param: {
|
|
12567
12567
|
sha: string;
|
|
@@ -12607,22 +12607,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12607
12607
|
raw?: "1" | undefined;
|
|
12608
12608
|
};
|
|
12609
12609
|
};
|
|
12610
|
-
} | {
|
|
12611
|
-
output: {
|
|
12612
|
-
error: string;
|
|
12613
|
-
};
|
|
12614
|
-
outputFormat: "json";
|
|
12615
|
-
status: 404 | 409;
|
|
12616
|
-
input: {
|
|
12617
|
-
param: {
|
|
12618
|
-
id: string;
|
|
12619
|
-
};
|
|
12620
|
-
} & {
|
|
12621
|
-
query: {
|
|
12622
|
-
path: string | string[];
|
|
12623
|
-
raw?: "1" | undefined;
|
|
12624
|
-
};
|
|
12625
|
-
};
|
|
12626
12610
|
} | {
|
|
12627
12611
|
output: {
|
|
12628
12612
|
type: "file";
|
|
@@ -12659,6 +12643,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12659
12643
|
raw?: "1" | undefined;
|
|
12660
12644
|
};
|
|
12661
12645
|
};
|
|
12646
|
+
} | {
|
|
12647
|
+
output: {
|
|
12648
|
+
error: string;
|
|
12649
|
+
};
|
|
12650
|
+
outputFormat: "json";
|
|
12651
|
+
status: 404 | 409;
|
|
12652
|
+
input: {
|
|
12653
|
+
param: {
|
|
12654
|
+
id: string;
|
|
12655
|
+
};
|
|
12656
|
+
} & {
|
|
12657
|
+
query: {
|
|
12658
|
+
path: string | string[];
|
|
12659
|
+
raw?: "1" | undefined;
|
|
12660
|
+
};
|
|
12661
|
+
};
|
|
12662
12662
|
};
|
|
12663
12663
|
};
|
|
12664
12664
|
} & {
|
|
@@ -12723,6 +12723,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12723
12723
|
artifactId: string;
|
|
12724
12724
|
};
|
|
12725
12725
|
};
|
|
12726
|
+
} | {
|
|
12727
|
+
output: {
|
|
12728
|
+
error: string;
|
|
12729
|
+
};
|
|
12730
|
+
outputFormat: "json";
|
|
12731
|
+
status: 404;
|
|
12732
|
+
input: {
|
|
12733
|
+
param: {
|
|
12734
|
+
id: string;
|
|
12735
|
+
artifactId: string;
|
|
12736
|
+
};
|
|
12737
|
+
};
|
|
12726
12738
|
} | {
|
|
12727
12739
|
output: {
|
|
12728
12740
|
type: "file";
|
|
@@ -12751,18 +12763,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12751
12763
|
artifactId: string;
|
|
12752
12764
|
};
|
|
12753
12765
|
};
|
|
12754
|
-
} | {
|
|
12755
|
-
output: {
|
|
12756
|
-
error: string;
|
|
12757
|
-
};
|
|
12758
|
-
outputFormat: "json";
|
|
12759
|
-
status: 404;
|
|
12760
|
-
input: {
|
|
12761
|
-
param: {
|
|
12762
|
-
id: string;
|
|
12763
|
-
artifactId: string;
|
|
12764
|
-
};
|
|
12765
|
-
};
|
|
12766
12766
|
};
|
|
12767
12767
|
};
|
|
12768
12768
|
} & {
|
|
@@ -12938,22 +12938,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12938
12938
|
id: string;
|
|
12939
12939
|
};
|
|
12940
12940
|
};
|
|
12941
|
-
} | {
|
|
12942
|
-
output: {
|
|
12943
|
-
error: string;
|
|
12944
|
-
};
|
|
12945
|
-
outputFormat: "json";
|
|
12946
|
-
status: 404 | 409;
|
|
12947
|
-
input: {
|
|
12948
|
-
query: {
|
|
12949
|
-
path?: string | undefined;
|
|
12950
|
-
raw?: string | undefined;
|
|
12951
|
-
};
|
|
12952
|
-
} & {
|
|
12953
|
-
param: {
|
|
12954
|
-
id: string;
|
|
12955
|
-
};
|
|
12956
|
-
};
|
|
12957
12941
|
} | {
|
|
12958
12942
|
output: {
|
|
12959
12943
|
type: 'file';
|
|
@@ -12998,16 +12982,33 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12998
12982
|
id: string;
|
|
12999
12983
|
};
|
|
13000
12984
|
};
|
|
12985
|
+
} | {
|
|
12986
|
+
output: {
|
|
12987
|
+
error: string;
|
|
12988
|
+
};
|
|
12989
|
+
outputFormat: "json";
|
|
12990
|
+
status: 404 | 409;
|
|
12991
|
+
input: {
|
|
12992
|
+
query: {
|
|
12993
|
+
path?: string | undefined;
|
|
12994
|
+
raw?: string | undefined;
|
|
12995
|
+
};
|
|
12996
|
+
} & {
|
|
12997
|
+
param: {
|
|
12998
|
+
id: string;
|
|
12999
|
+
};
|
|
13000
|
+
};
|
|
13001
13001
|
};
|
|
13002
13002
|
};
|
|
13003
13003
|
} & {
|
|
13004
13004
|
"/runs/:id/git/commit": {
|
|
13005
13005
|
$post: {
|
|
13006
13006
|
output: {
|
|
13007
|
-
|
|
13007
|
+
committed: true;
|
|
13008
|
+
sha: string;
|
|
13008
13009
|
};
|
|
13009
13010
|
outputFormat: "json";
|
|
13010
|
-
status:
|
|
13011
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
13011
13012
|
input: {
|
|
13012
13013
|
json: {
|
|
13013
13014
|
message: string;
|
|
@@ -13019,11 +13020,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
13019
13020
|
};
|
|
13020
13021
|
} | {
|
|
13021
13022
|
output: {
|
|
13022
|
-
|
|
13023
|
-
sha: string;
|
|
13023
|
+
error: string;
|
|
13024
13024
|
};
|
|
13025
13025
|
outputFormat: "json";
|
|
13026
|
-
status:
|
|
13026
|
+
status: 404 | 409;
|
|
13027
13027
|
input: {
|
|
13028
13028
|
json: {
|
|
13029
13029
|
message: string;
|
|
@@ -13039,10 +13039,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
13039
13039
|
"/runs/:id/git/push": {
|
|
13040
13040
|
$post: {
|
|
13041
13041
|
output: {
|
|
13042
|
-
|
|
13042
|
+
pushed: true;
|
|
13043
|
+
branch: string;
|
|
13044
|
+
remote: string;
|
|
13045
|
+
upstreamSet: boolean;
|
|
13043
13046
|
};
|
|
13044
13047
|
outputFormat: "json";
|
|
13045
|
-
status:
|
|
13048
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
13046
13049
|
input: {
|
|
13047
13050
|
param: {
|
|
13048
13051
|
id: string;
|
|
@@ -13050,13 +13053,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
13050
13053
|
};
|
|
13051
13054
|
} | {
|
|
13052
13055
|
output: {
|
|
13053
|
-
|
|
13054
|
-
branch: string;
|
|
13055
|
-
remote: string;
|
|
13056
|
-
upstreamSet: boolean;
|
|
13056
|
+
error: string;
|
|
13057
13057
|
};
|
|
13058
13058
|
outputFormat: "json";
|
|
13059
|
-
status:
|
|
13059
|
+
status: 404 | 409;
|
|
13060
13060
|
input: {
|
|
13061
13061
|
param: {
|
|
13062
13062
|
id: string;
|
|
@@ -13068,10 +13068,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
13068
13068
|
"/runs/:id/pr": {
|
|
13069
13069
|
$post: {
|
|
13070
13070
|
output: {
|
|
13071
|
-
|
|
13071
|
+
url: string;
|
|
13072
|
+
dryRun: boolean;
|
|
13072
13073
|
};
|
|
13073
13074
|
outputFormat: "json";
|
|
13074
|
-
status:
|
|
13075
|
+
status: 201;
|
|
13075
13076
|
input: {
|
|
13076
13077
|
param: {
|
|
13077
13078
|
id: string;
|
|
@@ -13079,11 +13080,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
13079
13080
|
};
|
|
13080
13081
|
} | {
|
|
13081
13082
|
output: {
|
|
13082
|
-
|
|
13083
|
-
dryRun: boolean;
|
|
13083
|
+
error: string;
|
|
13084
13084
|
};
|
|
13085
13085
|
outputFormat: "json";
|
|
13086
|
-
status:
|
|
13086
|
+
status: 404 | 409;
|
|
13087
13087
|
input: {
|
|
13088
13088
|
param: {
|
|
13089
13089
|
id: string;
|
|
@@ -13095,10 +13095,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
13095
13095
|
"/runs/:id/remove-worktree": {
|
|
13096
13096
|
$post: {
|
|
13097
13097
|
output: {
|
|
13098
|
-
|
|
13098
|
+
removed: true;
|
|
13099
13099
|
};
|
|
13100
13100
|
outputFormat: "json";
|
|
13101
|
-
status:
|
|
13101
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
13102
13102
|
input: {
|
|
13103
13103
|
param: {
|
|
13104
13104
|
id: string;
|
|
@@ -13106,10 +13106,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
13106
13106
|
};
|
|
13107
13107
|
} | {
|
|
13108
13108
|
output: {
|
|
13109
|
-
|
|
13109
|
+
error: string;
|
|
13110
13110
|
};
|
|
13111
13111
|
outputFormat: "json";
|
|
13112
|
-
status:
|
|
13112
|
+
status: 404 | 409;
|
|
13113
13113
|
input: {
|
|
13114
13114
|
param: {
|
|
13115
13115
|
id: string;
|
|
@@ -13121,10 +13121,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
13121
13121
|
"/runs/:id": {
|
|
13122
13122
|
$delete: {
|
|
13123
13123
|
output: {
|
|
13124
|
-
|
|
13124
|
+
deleted: true;
|
|
13125
13125
|
};
|
|
13126
13126
|
outputFormat: "json";
|
|
13127
|
-
status:
|
|
13127
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
13128
13128
|
input: {
|
|
13129
13129
|
param: {
|
|
13130
13130
|
id: string;
|
|
@@ -13132,10 +13132,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
13132
13132
|
};
|
|
13133
13133
|
} | {
|
|
13134
13134
|
output: {
|
|
13135
|
-
|
|
13135
|
+
error: string;
|
|
13136
13136
|
};
|
|
13137
13137
|
outputFormat: "json";
|
|
13138
|
-
status:
|
|
13138
|
+
status: 404 | 409;
|
|
13139
13139
|
input: {
|
|
13140
13140
|
param: {
|
|
13141
13141
|
id: string;
|