@hearsay-tools/squawk 0.19.0-dev.9071 → 0.19.0-dev.9082
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/artifacts/reports-index.js +2 -3
- package/dist/artifacts/reports-index.js.map +1 -1
- package/dist/boot.d.ts +1 -1
- package/dist/boot.js +1 -1
- package/dist/built-in-cli-commands.js +1 -1
- package/dist/built-in-cli-commands.js.map +1 -1
- package/dist/built-in-launch-parts.js +1 -1
- package/dist/built-in-launch-parts.js.map +1 -1
- package/dist/built-in-run-slots.d.ts +1 -1
- package/dist/built-in-run-slots.js +7 -3
- package/dist/built-in-run-slots.js.map +1 -1
- package/dist/delegation/results.js +4 -3
- package/dist/delegation/results.js.map +1 -1
- package/dist/delegation/routes.d.ts +93 -93
- package/dist/delegation/transport.d.ts +10 -10
- package/dist/features/automations/tools.d.ts +8 -8
- package/dist/runs/run-archive.d.ts +72 -72
- package/dist/{artifacts/resolve.js → server/file-link.js} +3 -3
- package/dist/server/file-link.js.map +1 -0
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/project-run-files.js +1 -1
- package/dist/server/project-run-files.js.map +1 -1
- package/dist/server/providers-routes.d.ts +58 -58
- package/dist/server/repo-routes.d.ts +13 -13
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +37 -37
- package/dist/server/runs-routes.js +2 -2
- package/dist/server/runs-routes.js.map +1 -1
- package/dist/server/server.d.ts +1395 -1395
- package/dist/server/workspace-live-routes.d.ts +11 -11
- package/dist/{artifacts/cli.js → task-files/artifact-cli.js} +2 -2
- package/dist/task-files/artifact-cli.js.map +1 -0
- package/dist/{artifacts/store.d.ts → task-files/artifact-kind.d.ts} +14 -17
- package/dist/task-files/artifact-kind.js +123 -0
- package/dist/task-files/artifact-kind.js.map +1 -0
- package/dist/task-files/kind.d.ts +55 -0
- package/dist/task-files/kind.js +68 -0
- package/dist/task-files/kind.js.map +1 -0
- package/dist/{artifacts → task-files}/lifecycle.d.ts +0 -1
- package/dist/{artifacts → task-files}/lifecycle.js +3 -28
- package/dist/task-files/lifecycle.js.map +1 -0
- package/dist/task-files/removal-slot.d.ts +3 -0
- package/dist/task-files/removal-slot.js +20 -0
- package/dist/task-files/removal-slot.js.map +1 -0
- package/dist/task-files/store.d.ts +37 -0
- package/dist/{artifacts → task-files}/store.js +150 -155
- package/dist/task-files/store.js.map +1 -0
- package/dist/workflows/continuation-admission.d.ts +72 -72
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/package.json +4 -4
- package/dist/artifacts/cli.js.map +0 -1
- package/dist/artifacts/lifecycle.js.map +0 -1
- package/dist/artifacts/removal-slot.d.ts +0 -3
- package/dist/artifacts/removal-slot.js +0 -7
- package/dist/artifacts/removal-slot.js.map +0 -1
- package/dist/artifacts/resolve.js.map +0 -1
- package/dist/artifacts/store.js.map +0 -1
- /package/dist/{artifacts/resolve.d.ts → server/file-link.d.ts} +0 -0
- /package/dist/{artifacts/cli.d.ts → task-files/artifact-cli.d.ts} +0 -0
|
@@ -27,18 +27,6 @@ export declare function delegationFailure(error: unknown): {
|
|
|
27
27
|
export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
|
|
28
28
|
"/list": {
|
|
29
29
|
$get: {
|
|
30
|
-
output: {
|
|
31
|
-
error: string;
|
|
32
|
-
code?: "invalid_input" | undefined;
|
|
33
|
-
};
|
|
34
|
-
outputFormat: "json";
|
|
35
|
-
status: 400;
|
|
36
|
-
input: {
|
|
37
|
-
query: {
|
|
38
|
-
offset?: string | undefined;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
} | {
|
|
42
30
|
output: {
|
|
43
31
|
workers: {
|
|
44
32
|
workerId: string;
|
|
@@ -91,6 +79,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
91
79
|
offset?: string | undefined;
|
|
92
80
|
};
|
|
93
81
|
};
|
|
82
|
+
} | {
|
|
83
|
+
output: {
|
|
84
|
+
error: string;
|
|
85
|
+
code?: "invalid_input" | undefined;
|
|
86
|
+
};
|
|
87
|
+
outputFormat: "json";
|
|
88
|
+
status: 400;
|
|
89
|
+
input: {
|
|
90
|
+
query: {
|
|
91
|
+
offset?: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
96
|
} & {
|
|
@@ -106,17 +106,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
106
106
|
authFailureId?: string | undefined;
|
|
107
107
|
runner: string;
|
|
108
108
|
}[];
|
|
109
|
-
} | {
|
|
110
|
-
runner: string;
|
|
111
|
-
models: {
|
|
112
|
-
id: string;
|
|
113
|
-
label: string;
|
|
114
|
-
description: string;
|
|
115
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
116
|
-
}[];
|
|
117
|
-
source: "cache" | "live" | "unavailable";
|
|
118
|
-
stale: boolean;
|
|
119
|
-
reason?: string | undefined;
|
|
120
109
|
} | {
|
|
121
110
|
tasks: {
|
|
122
111
|
id: string;
|
|
@@ -138,6 +127,17 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
138
127
|
inboxLimit: number;
|
|
139
128
|
warning?: string | undefined;
|
|
140
129
|
} | undefined;
|
|
130
|
+
} | {
|
|
131
|
+
runner: string;
|
|
132
|
+
models: {
|
|
133
|
+
id: string;
|
|
134
|
+
label: string;
|
|
135
|
+
description: string;
|
|
136
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
137
|
+
}[];
|
|
138
|
+
source: "cache" | "live" | "unavailable";
|
|
139
|
+
stale: boolean;
|
|
140
|
+
reason?: string | undefined;
|
|
141
141
|
};
|
|
142
142
|
outputFormat: "json";
|
|
143
143
|
status: 200;
|
|
@@ -247,13 +247,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
247
247
|
status: 200;
|
|
248
248
|
input: {
|
|
249
249
|
json: {
|
|
250
|
-
requestIds: string[];
|
|
251
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
252
|
-
timeoutSeconds?: number | undefined;
|
|
253
|
-
} | {
|
|
254
250
|
workerIds: string[];
|
|
255
251
|
timeoutSeconds?: number | undefined;
|
|
256
252
|
mode?: "all" | "any" | "one" | undefined;
|
|
253
|
+
} | {
|
|
254
|
+
requestIds: string[];
|
|
255
|
+
mode?: "all" | "any" | "one" | undefined;
|
|
256
|
+
timeoutSeconds?: number | undefined;
|
|
257
257
|
} | {
|
|
258
258
|
peerIds: string[];
|
|
259
259
|
timeoutSeconds?: number | undefined;
|
|
@@ -677,18 +677,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
677
677
|
} & {
|
|
678
678
|
"/:workerId": {
|
|
679
679
|
$get: {
|
|
680
|
-
output: {
|
|
681
|
-
error: string;
|
|
682
|
-
code?: "invalid_input" | undefined;
|
|
683
|
-
};
|
|
684
|
-
outputFormat: "json";
|
|
685
|
-
status: 400;
|
|
686
|
-
input: {
|
|
687
|
-
param: {
|
|
688
|
-
workerId: string;
|
|
689
|
-
};
|
|
690
|
-
};
|
|
691
|
-
} | {
|
|
692
680
|
output: {
|
|
693
681
|
workerId: string;
|
|
694
682
|
settled: boolean;
|
|
@@ -813,11 +801,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
813
801
|
workerId: string;
|
|
814
802
|
};
|
|
815
803
|
};
|
|
816
|
-
}
|
|
817
|
-
};
|
|
818
|
-
} & {
|
|
819
|
-
"/:workerId/collect": {
|
|
820
|
-
$post: {
|
|
804
|
+
} | {
|
|
821
805
|
output: {
|
|
822
806
|
error: string;
|
|
823
807
|
code?: "invalid_input" | undefined;
|
|
@@ -828,10 +812,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
828
812
|
param: {
|
|
829
813
|
workerId: string;
|
|
830
814
|
};
|
|
831
|
-
} & {
|
|
832
|
-
json: Record<string, never>;
|
|
833
815
|
};
|
|
834
|
-
}
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
} & {
|
|
819
|
+
"/:workerId/collect": {
|
|
820
|
+
$post: {
|
|
835
821
|
output: {
|
|
836
822
|
workerId: string;
|
|
837
823
|
parentRunId: string;
|
|
@@ -956,11 +942,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
956
942
|
} & {
|
|
957
943
|
json: Record<string, never>;
|
|
958
944
|
};
|
|
959
|
-
}
|
|
960
|
-
};
|
|
961
|
-
} & {
|
|
962
|
-
"/:workerId/steer": {
|
|
963
|
-
$post: {
|
|
945
|
+
} | {
|
|
964
946
|
output: {
|
|
965
947
|
error: string;
|
|
966
948
|
code?: "invalid_input" | undefined;
|
|
@@ -972,11 +954,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
972
954
|
workerId: string;
|
|
973
955
|
};
|
|
974
956
|
} & {
|
|
975
|
-
json:
|
|
976
|
-
text: string;
|
|
977
|
-
};
|
|
957
|
+
json: Record<string, never>;
|
|
978
958
|
};
|
|
979
|
-
}
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
} & {
|
|
962
|
+
"/:workerId/steer": {
|
|
963
|
+
$post: {
|
|
980
964
|
output: {
|
|
981
965
|
workerId: string;
|
|
982
966
|
state: "delivered" | "queued";
|
|
@@ -992,11 +976,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
992
976
|
text: string;
|
|
993
977
|
};
|
|
994
978
|
};
|
|
995
|
-
}
|
|
996
|
-
};
|
|
997
|
-
} & {
|
|
998
|
-
"/:workerId/stop": {
|
|
999
|
-
$post: {
|
|
979
|
+
} | {
|
|
1000
980
|
output: {
|
|
1001
981
|
error: string;
|
|
1002
982
|
code?: "invalid_input" | undefined;
|
|
@@ -1008,9 +988,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1008
988
|
workerId: string;
|
|
1009
989
|
};
|
|
1010
990
|
} & {
|
|
1011
|
-
json:
|
|
991
|
+
json: {
|
|
992
|
+
text: string;
|
|
993
|
+
};
|
|
1012
994
|
};
|
|
1013
|
-
}
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
} & {
|
|
998
|
+
"/:workerId/stop": {
|
|
999
|
+
$post: {
|
|
1014
1000
|
output: {
|
|
1015
1001
|
workerId: string;
|
|
1016
1002
|
state: "stopping" | "terminated";
|
|
@@ -1024,11 +1010,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1024
1010
|
} & {
|
|
1025
1011
|
json: Record<string, never>;
|
|
1026
1012
|
};
|
|
1027
|
-
}
|
|
1028
|
-
};
|
|
1029
|
-
} & {
|
|
1030
|
-
"/:workerId/destroy": {
|
|
1031
|
-
$post: {
|
|
1013
|
+
} | {
|
|
1032
1014
|
output: {
|
|
1033
1015
|
error: string;
|
|
1034
1016
|
code?: "invalid_input" | undefined;
|
|
@@ -1040,11 +1022,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1040
1022
|
workerId: string;
|
|
1041
1023
|
};
|
|
1042
1024
|
} & {
|
|
1043
|
-
json:
|
|
1044
|
-
discardWork?: true | undefined;
|
|
1045
|
-
};
|
|
1025
|
+
json: Record<string, never>;
|
|
1046
1026
|
};
|
|
1047
|
-
}
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
} & {
|
|
1030
|
+
"/:workerId/destroy": {
|
|
1031
|
+
$post: {
|
|
1048
1032
|
output: {
|
|
1049
1033
|
workerId: string;
|
|
1050
1034
|
state: "complete" | "incomplete";
|
|
@@ -1073,6 +1057,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1073
1057
|
discardWork?: true | undefined;
|
|
1074
1058
|
};
|
|
1075
1059
|
};
|
|
1060
|
+
} | {
|
|
1061
|
+
output: {
|
|
1062
|
+
error: string;
|
|
1063
|
+
code?: "invalid_input" | undefined;
|
|
1064
|
+
};
|
|
1065
|
+
outputFormat: "json";
|
|
1066
|
+
status: 400;
|
|
1067
|
+
input: {
|
|
1068
|
+
param: {
|
|
1069
|
+
workerId: string;
|
|
1070
|
+
};
|
|
1071
|
+
} & {
|
|
1072
|
+
json: {
|
|
1073
|
+
discardWork?: true | undefined;
|
|
1074
|
+
};
|
|
1075
|
+
};
|
|
1076
1076
|
} | {
|
|
1077
1077
|
output: {
|
|
1078
1078
|
workerId: string;
|
|
@@ -1108,11 +1108,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1108
1108
|
"/:workerId/summary": {
|
|
1109
1109
|
$post: {
|
|
1110
1110
|
output: {
|
|
1111
|
-
|
|
1112
|
-
|
|
1111
|
+
workerId: string;
|
|
1112
|
+
revision: number;
|
|
1113
|
+
source: "assistant" | "failure";
|
|
1114
|
+
seq: number;
|
|
1115
|
+
totalLines: number;
|
|
1116
|
+
offset: number;
|
|
1117
|
+
lineCount: number;
|
|
1118
|
+
text: string;
|
|
1119
|
+
nextOffset?: number | undefined;
|
|
1113
1120
|
};
|
|
1114
1121
|
outputFormat: "json";
|
|
1115
|
-
status:
|
|
1122
|
+
status: 200;
|
|
1116
1123
|
input: {
|
|
1117
1124
|
param: {
|
|
1118
1125
|
workerId: string;
|
|
@@ -1125,18 +1132,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1125
1132
|
};
|
|
1126
1133
|
} | {
|
|
1127
1134
|
output: {
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
source: "assistant" | "failure";
|
|
1131
|
-
seq: number;
|
|
1132
|
-
totalLines: number;
|
|
1133
|
-
offset: number;
|
|
1134
|
-
lineCount: number;
|
|
1135
|
-
text: string;
|
|
1136
|
-
nextOffset?: number | undefined;
|
|
1135
|
+
error: string;
|
|
1136
|
+
code?: "invalid_input" | undefined;
|
|
1137
1137
|
};
|
|
1138
1138
|
outputFormat: "json";
|
|
1139
|
-
status:
|
|
1139
|
+
status: 400;
|
|
1140
1140
|
input: {
|
|
1141
1141
|
param: {
|
|
1142
1142
|
workerId: string;
|
|
@@ -1153,11 +1153,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1153
1153
|
"/:workerId/diff": {
|
|
1154
1154
|
$get: {
|
|
1155
1155
|
output: {
|
|
1156
|
-
|
|
1157
|
-
|
|
1156
|
+
workerId: string;
|
|
1157
|
+
baselineSha: string;
|
|
1158
|
+
diff: string;
|
|
1159
|
+
truncated: boolean;
|
|
1158
1160
|
};
|
|
1159
1161
|
outputFormat: "json";
|
|
1160
|
-
status:
|
|
1162
|
+
status: 200;
|
|
1161
1163
|
input: {
|
|
1162
1164
|
param: {
|
|
1163
1165
|
workerId: string;
|
|
@@ -1165,13 +1167,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1165
1167
|
};
|
|
1166
1168
|
} | {
|
|
1167
1169
|
output: {
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
diff: string;
|
|
1171
|
-
truncated: boolean;
|
|
1170
|
+
error: string;
|
|
1171
|
+
code?: "invalid_input" | undefined;
|
|
1172
1172
|
};
|
|
1173
1173
|
outputFormat: "json";
|
|
1174
|
-
status:
|
|
1174
|
+
status: 400;
|
|
1175
1175
|
input: {
|
|
1176
1176
|
param: {
|
|
1177
1177
|
workerId: string;
|
|
@@ -72,6 +72,16 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
72
72
|
"/discover": {
|
|
73
73
|
$post: {
|
|
74
74
|
output: {
|
|
75
|
+
scope: "host-default-account";
|
|
76
|
+
runners: {
|
|
77
|
+
requiresAccountHome?: boolean | undefined;
|
|
78
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
79
|
+
enabled?: boolean | undefined;
|
|
80
|
+
hint?: string | undefined;
|
|
81
|
+
authFailureId?: string | undefined;
|
|
82
|
+
runner: string;
|
|
83
|
+
}[];
|
|
84
|
+
} | {
|
|
75
85
|
runner: string;
|
|
76
86
|
models: {
|
|
77
87
|
id: string;
|
|
@@ -82,16 +92,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
82
92
|
source: "cache" | "live" | "unavailable";
|
|
83
93
|
stale: boolean;
|
|
84
94
|
reason?: string | undefined;
|
|
85
|
-
} | {
|
|
86
|
-
scope: "host-default-account";
|
|
87
|
-
runners: {
|
|
88
|
-
requiresAccountHome?: boolean | undefined;
|
|
89
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
90
|
-
enabled?: boolean | undefined;
|
|
91
|
-
hint?: string | undefined;
|
|
92
|
-
authFailureId?: string | undefined;
|
|
93
|
-
runner: string;
|
|
94
|
-
}[];
|
|
95
95
|
} | {
|
|
96
96
|
tasks: {
|
|
97
97
|
id: string;
|
|
@@ -7,10 +7,6 @@ export declare function invokeScheduleTaskTool(input: unknown): Promise<{
|
|
|
7
7
|
}[];
|
|
8
8
|
isError: boolean;
|
|
9
9
|
details: {
|
|
10
|
-
ok: false;
|
|
11
|
-
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
12
|
-
message: string;
|
|
13
|
-
} | {
|
|
14
10
|
ok: true;
|
|
15
11
|
task: {
|
|
16
12
|
id: string;
|
|
@@ -23,6 +19,10 @@ export declare function invokeScheduleTaskTool(input: unknown): Promise<{
|
|
|
23
19
|
url?: string | undefined;
|
|
24
20
|
};
|
|
25
21
|
note: string;
|
|
22
|
+
} | {
|
|
23
|
+
ok: false;
|
|
24
|
+
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
25
|
+
message: string;
|
|
26
26
|
};
|
|
27
27
|
}>;
|
|
28
28
|
export declare function formatScheduleTaskTool(answer: Awaited<ReturnType<typeof callScheduleTask>>): {
|
|
@@ -32,10 +32,6 @@ export declare function formatScheduleTaskTool(answer: Awaited<ReturnType<typeof
|
|
|
32
32
|
}[];
|
|
33
33
|
isError: boolean;
|
|
34
34
|
details: {
|
|
35
|
-
ok: false;
|
|
36
|
-
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
37
|
-
message: string;
|
|
38
|
-
} | {
|
|
39
35
|
ok: true;
|
|
40
36
|
task: {
|
|
41
37
|
id: string;
|
|
@@ -48,6 +44,10 @@ export declare function formatScheduleTaskTool(answer: Awaited<ReturnType<typeof
|
|
|
48
44
|
url?: string | undefined;
|
|
49
45
|
};
|
|
50
46
|
note: string;
|
|
47
|
+
} | {
|
|
48
|
+
ok: false;
|
|
49
|
+
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
50
|
+
message: string;
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
export declare function invokeScheduledTasksTool(input: unknown): Promise<{
|
|
@@ -233,6 +233,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
233
233
|
deadline: string;
|
|
234
234
|
seconds: number;
|
|
235
235
|
note?: string | undefined;
|
|
236
|
+
} | {
|
|
237
|
+
id: string;
|
|
238
|
+
source: "agent" | "cezar";
|
|
239
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
240
|
+
registeredAt: string;
|
|
241
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
242
|
+
resolvedAt?: string | undefined;
|
|
243
|
+
deliveredAt?: string | undefined;
|
|
244
|
+
cancelledAt?: string | undefined;
|
|
245
|
+
turnId: string;
|
|
246
|
+
kind: "process";
|
|
247
|
+
deadline: string;
|
|
248
|
+
timeoutSeconds: number;
|
|
249
|
+
pid: number;
|
|
250
|
+
startToken?: string | undefined;
|
|
251
|
+
exitFile?: string | undefined;
|
|
252
|
+
note?: string | undefined;
|
|
253
|
+
result?: {
|
|
254
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
255
|
+
observedAt: string;
|
|
256
|
+
exitCode?: number | undefined;
|
|
257
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
258
|
+
diagnostic?: string | undefined;
|
|
259
|
+
} | undefined;
|
|
236
260
|
} | {
|
|
237
261
|
id: string;
|
|
238
262
|
source: "agent" | "cezar";
|
|
@@ -294,30 +318,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
294
318
|
reason: "outcome" | "timeout";
|
|
295
319
|
} | undefined;
|
|
296
320
|
wakeInputId?: string | undefined;
|
|
297
|
-
} | {
|
|
298
|
-
id: string;
|
|
299
|
-
source: "agent" | "cezar";
|
|
300
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
301
|
-
registeredAt: string;
|
|
302
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
303
|
-
resolvedAt?: string | undefined;
|
|
304
|
-
deliveredAt?: string | undefined;
|
|
305
|
-
cancelledAt?: string | undefined;
|
|
306
|
-
turnId: string;
|
|
307
|
-
kind: "process";
|
|
308
|
-
deadline: string;
|
|
309
|
-
timeoutSeconds: number;
|
|
310
|
-
pid: number;
|
|
311
|
-
startToken?: string | undefined;
|
|
312
|
-
exitFile?: string | undefined;
|
|
313
|
-
note?: string | undefined;
|
|
314
|
-
result?: {
|
|
315
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
316
|
-
observedAt: string;
|
|
317
|
-
exitCode?: number | undefined;
|
|
318
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
319
|
-
diagnostic?: string | undefined;
|
|
320
|
-
} | undefined;
|
|
321
321
|
} | {
|
|
322
322
|
id: string;
|
|
323
323
|
source: "agent" | "cezar";
|
|
@@ -446,6 +446,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
446
446
|
deadline: string;
|
|
447
447
|
seconds: number;
|
|
448
448
|
note?: string | undefined;
|
|
449
|
+
} | {
|
|
450
|
+
id: string;
|
|
451
|
+
source: "agent" | "cezar";
|
|
452
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
453
|
+
registeredAt: string;
|
|
454
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
455
|
+
resolvedAt?: string | undefined;
|
|
456
|
+
deliveredAt?: string | undefined;
|
|
457
|
+
cancelledAt?: string | undefined;
|
|
458
|
+
turnId: string;
|
|
459
|
+
kind: "process";
|
|
460
|
+
deadline: string;
|
|
461
|
+
timeoutSeconds: number;
|
|
462
|
+
pid: number;
|
|
463
|
+
startToken?: string | undefined;
|
|
464
|
+
exitFile?: string | undefined;
|
|
465
|
+
note?: string | undefined;
|
|
466
|
+
result?: {
|
|
467
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
468
|
+
observedAt: string;
|
|
469
|
+
exitCode?: number | undefined;
|
|
470
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
471
|
+
diagnostic?: string | undefined;
|
|
472
|
+
} | undefined;
|
|
449
473
|
} | {
|
|
450
474
|
id: string;
|
|
451
475
|
source: "agent" | "cezar";
|
|
@@ -507,30 +531,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
507
531
|
reason: "outcome" | "timeout";
|
|
508
532
|
} | undefined;
|
|
509
533
|
wakeInputId?: string | undefined;
|
|
510
|
-
} | {
|
|
511
|
-
id: string;
|
|
512
|
-
source: "agent" | "cezar";
|
|
513
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
514
|
-
registeredAt: string;
|
|
515
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
516
|
-
resolvedAt?: string | undefined;
|
|
517
|
-
deliveredAt?: string | undefined;
|
|
518
|
-
cancelledAt?: string | undefined;
|
|
519
|
-
turnId: string;
|
|
520
|
-
kind: "process";
|
|
521
|
-
deadline: string;
|
|
522
|
-
timeoutSeconds: number;
|
|
523
|
-
pid: number;
|
|
524
|
-
startToken?: string | undefined;
|
|
525
|
-
exitFile?: string | undefined;
|
|
526
|
-
note?: string | undefined;
|
|
527
|
-
result?: {
|
|
528
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
529
|
-
observedAt: string;
|
|
530
|
-
exitCode?: number | undefined;
|
|
531
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
532
|
-
diagnostic?: string | undefined;
|
|
533
|
-
} | undefined;
|
|
534
534
|
} | {
|
|
535
535
|
id: string;
|
|
536
536
|
source: "agent" | "cezar";
|
|
@@ -658,6 +658,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
658
658
|
deadline: string;
|
|
659
659
|
seconds: number;
|
|
660
660
|
note?: string | undefined;
|
|
661
|
+
} | {
|
|
662
|
+
id: string;
|
|
663
|
+
source: "agent" | "cezar";
|
|
664
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
665
|
+
registeredAt: string;
|
|
666
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
667
|
+
resolvedAt?: string | undefined;
|
|
668
|
+
deliveredAt?: string | undefined;
|
|
669
|
+
cancelledAt?: string | undefined;
|
|
670
|
+
turnId: string;
|
|
671
|
+
kind: "process";
|
|
672
|
+
deadline: string;
|
|
673
|
+
timeoutSeconds: number;
|
|
674
|
+
pid: number;
|
|
675
|
+
startToken?: string | undefined;
|
|
676
|
+
exitFile?: string | undefined;
|
|
677
|
+
note?: string | undefined;
|
|
678
|
+
result?: {
|
|
679
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
680
|
+
observedAt: string;
|
|
681
|
+
exitCode?: number | undefined;
|
|
682
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
683
|
+
diagnostic?: string | undefined;
|
|
684
|
+
} | undefined;
|
|
661
685
|
} | {
|
|
662
686
|
id: string;
|
|
663
687
|
source: "agent" | "cezar";
|
|
@@ -719,30 +743,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
719
743
|
reason: "outcome" | "timeout";
|
|
720
744
|
} | undefined;
|
|
721
745
|
wakeInputId?: string | undefined;
|
|
722
|
-
} | {
|
|
723
|
-
id: string;
|
|
724
|
-
source: "agent" | "cezar";
|
|
725
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
726
|
-
registeredAt: string;
|
|
727
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
728
|
-
resolvedAt?: string | undefined;
|
|
729
|
-
deliveredAt?: string | undefined;
|
|
730
|
-
cancelledAt?: string | undefined;
|
|
731
|
-
turnId: string;
|
|
732
|
-
kind: "process";
|
|
733
|
-
deadline: string;
|
|
734
|
-
timeoutSeconds: number;
|
|
735
|
-
pid: number;
|
|
736
|
-
startToken?: string | undefined;
|
|
737
|
-
exitFile?: string | undefined;
|
|
738
|
-
note?: string | undefined;
|
|
739
|
-
result?: {
|
|
740
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
741
|
-
observedAt: string;
|
|
742
|
-
exitCode?: number | undefined;
|
|
743
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
744
|
-
diagnostic?: string | undefined;
|
|
745
|
-
} | undefined;
|
|
746
746
|
} | {
|
|
747
747
|
id: string;
|
|
748
748
|
source: "agent" | "cezar";
|
|
@@ -4,8 +4,8 @@ import { constants } from 'node:fs';
|
|
|
4
4
|
import { open, realpath, lstat } from 'node:fs/promises';
|
|
5
5
|
import { isAbsolute, relative, resolve, sep } from 'node:path';
|
|
6
6
|
import { fileURLToPath } from 'node:url';
|
|
7
|
-
import { FILE_CONTENT_CAP } from '
|
|
8
|
-
import { artifactDirectory, listArtifacts, readArtifact } from '
|
|
7
|
+
import { FILE_CONTENT_CAP } from './git-changes.js';
|
|
8
|
+
import { artifactDirectory, listArtifacts, readArtifact } from '../task-files/artifact-kind.js';
|
|
9
9
|
const IMAGE_CAP = 10 * 1024 * 1024;
|
|
10
10
|
const contained = (root, path) => path === root || path.startsWith(root + sep);
|
|
11
11
|
function privatePath(root, target) {
|
|
@@ -125,4 +125,4 @@ export async function loadFileLink(ctx) {
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
export async function resolveFileLink(ctx) { return (await loadFileLink(ctx)).preview; }
|
|
128
|
-
//# sourceMappingURL=
|
|
128
|
+
//# sourceMappingURL=file-link.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-link.js","sourceRoot":"","sources":["../../src/server/file-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAmB,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEhG,MAAM,SAA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AAC;IACnH,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,gBAAgB,IAAI,GAAG,CAAC,WAAW,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC/E,MAAM,OAAO,GAAG,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACjF,MAAM,IAAI,GAAG,WAAW,CAAC,MAAM,EAAE,GAAG,CAAC,gBAAgB,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACxE,IAAI,CAAC,IAAI;QAAE,OAAO,iBAAiB,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IACjD,IAAI,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,CAAC;QAC9B,OAAO,WAAW,CAAC,8EAA8E,CAAC,CAAC;IACrG,CAAC;IACD,IAAI,CAAC;QACH,OAAO,MAAM,cAAc,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAAC,MAAM,CAAC;QAAC,OAAO,WAAW,CAAC,iEAAiE,CAAC,CAAC;IAAC,CAAC;AACpG,CAAC;AACD,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,GAAY,IAA6B,OAAO,CAAC,MAAM,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC"}
|
|
@@ -17,12 +17,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
17
17
|
output: {
|
|
18
18
|
generation: string;
|
|
19
19
|
results: ({
|
|
20
|
-
projectId: string;
|
|
21
|
-
runId: string;
|
|
22
|
-
type: "error" | "reset";
|
|
23
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
24
|
-
error: string;
|
|
25
|
-
} | {
|
|
26
20
|
projectId: string;
|
|
27
21
|
runId: string;
|
|
28
22
|
type: "batch";
|
|
@@ -43,6 +37,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
43
37
|
cursor: string;
|
|
44
38
|
afterSeq: number;
|
|
45
39
|
hasMore: boolean;
|
|
40
|
+
} | {
|
|
41
|
+
projectId: string;
|
|
42
|
+
runId: string;
|
|
43
|
+
type: "error" | "reset";
|
|
44
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
45
|
+
error: string;
|
|
46
46
|
})[];
|
|
47
47
|
};
|
|
48
48
|
outputFormat: "json";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { artifactDirectory } from '../
|
|
1
|
+
import { artifactDirectory } from '../task-files/artifact-kind.js';
|
|
2
2
|
import { matchedRoutes } from 'hono/route';
|
|
3
3
|
import { delegationFailure } from '../delegation/routes.js';
|
|
4
4
|
import { DelegationPolicyError } from '../delegation/policy.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-run-files.js","sourceRoot":"","sources":["../../src/server/project-run-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"project-run-files.js","sourceRoot":"","sources":["../../src/server/project-run-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAInE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,oGAAoG;AACpG,MAAM,UAAU,kBAAkB,CAAC,IAA2B;IAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;QAC7B,MAAM,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACnC,MAAM,KAAK,GAAG,EAAE,IAAI,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,SAAS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