@seawork/server 2.0.2-rc.6 → 2.0.3
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/README.md +4 -0
- package/dist/server/server/agent/agent-manager.d.ts +3 -0
- package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
- package/dist/server/server/agent/agent-manager.js +23 -1
- package/dist/server/server/agent/agent-manager.js.map +1 -1
- package/dist/server/server/agent/agent-projections.d.ts.map +1 -1
- package/dist/server/server/agent/agent-projections.js +4 -0
- package/dist/server/server/agent/agent-projections.js.map +1 -1
- package/dist/server/server/agent/agent-response-loop.d.ts.map +1 -1
- package/dist/server/server/agent/agent-response-loop.js.map +1 -1
- package/dist/server/server/agent/agent-storage.d.ts +134 -48
- package/dist/server/server/agent/agent-storage.d.ts.map +1 -1
- package/dist/server/server/agent/agent-storage.js +16 -0
- package/dist/server/server/agent/agent-storage.js.map +1 -1
- package/dist/server/server/agent/gateway-auth-env.d.ts +4 -0
- package/dist/server/server/agent/gateway-auth-env.d.ts.map +1 -0
- package/dist/server/server/agent/gateway-auth-env.js +31 -0
- package/dist/server/server/agent/gateway-auth-env.js.map +1 -0
- package/dist/server/server/agent/mcp-server.d.ts.map +1 -1
- package/dist/server/server/agent/mcp-server.js.map +1 -1
- package/dist/server/server/agent/mcp-shared.d.ts +23 -23
- package/dist/server/server/agent/orchestrator.d.ts +1 -1
- package/dist/server/server/agent/orchestrator.d.ts.map +1 -1
- package/dist/server/server/agent/orchestrator.js +1 -1
- package/dist/server/server/agent/orchestrator.js.map +1 -1
- package/dist/server/server/agent/providers/claude/sidechain-tracker.d.ts.map +1 -1
- package/dist/server/server/agent/providers/claude/sidechain-tracker.js.map +1 -1
- package/dist/server/server/agent/providers/claude/task-notification-tool-call.d.ts +2 -2
- package/dist/server/server/agent/providers/codex-app-server-agent.d.ts +13 -4
- package/dist/server/server/agent/providers/codex-app-server-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.js +302 -23
- package/dist/server/server/agent/providers/codex-app-server-agent.js.map +1 -1
- package/dist/server/server/agent/providers/codex-rollout-timeline.d.ts.map +1 -1
- package/dist/server/server/agent/providers/codex-rollout-timeline.js +11 -2
- package/dist/server/server/agent/providers/codex-rollout-timeline.js.map +1 -1
- package/dist/server/server/agent/providers/deepseek-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/deepseek-agent.js +11 -9
- package/dist/server/server/agent/providers/deepseek-agent.js.map +1 -1
- package/dist/server/server/agent/providers/tool-call-detail-primitives.d.ts +16 -16
- package/dist/server/server/agent/user-message-image-attachments.d.ts +11 -0
- package/dist/server/server/agent/user-message-image-attachments.d.ts.map +1 -0
- package/dist/server/server/agent/user-message-image-attachments.js +114 -0
- package/dist/server/server/agent/user-message-image-attachments.js.map +1 -0
- package/dist/server/server/chat/chat-rpc-schemas.d.ts +50 -50
- package/dist/server/server/chat/chat-types.d.ts +6 -6
- package/dist/server/server/exports.d.ts +1 -1
- package/dist/server/server/exports.d.ts.map +1 -1
- package/dist/server/server/exports.js +1 -1
- package/dist/server/server/exports.js.map +1 -1
- package/dist/server/server/index.js +5 -0
- package/dist/server/server/index.js.map +1 -1
- package/dist/server/server/library/library-types.d.ts +59 -59
- package/dist/server/server/loop/rpc-schemas.d.ts +887 -887
- package/dist/server/server/loop-service.d.ts +128 -128
- package/dist/server/server/persisted-config.d.ts +142 -142
- package/dist/server/server/sac/auth.d.ts +1 -0
- package/dist/server/server/sac/auth.d.ts.map +1 -1
- package/dist/server/server/sac/auth.js +1 -0
- package/dist/server/server/sac/auth.js.map +1 -1
- package/dist/server/server/schedule/rpc-schemas.d.ts +426 -426
- package/dist/server/server/schedule/types.d.ts +92 -92
- package/dist/server/server/session.d.ts.map +1 -1
- package/dist/server/server/session.js +7 -3
- package/dist/server/server/session.js.map +1 -1
- package/dist/server/server/speech/native-runtime-probe.js.map +1 -1
- package/dist/server/server/speech/providers/openai/proxy.d.ts +4 -0
- package/dist/server/server/speech/providers/openai/proxy.d.ts.map +1 -0
- package/dist/server/server/speech/providers/openai/proxy.js +34 -0
- package/dist/server/server/speech/providers/openai/proxy.js.map +1 -0
- package/dist/server/server/speech/providers/openai/stt.d.ts.map +1 -1
- package/dist/server/server/speech/providers/openai/stt.js +3 -0
- package/dist/server/server/speech/providers/openai/stt.js.map +1 -1
- package/dist/server/server/speech/providers/openai/tts.d.ts.map +1 -1
- package/dist/server/server/speech/providers/openai/tts.js +5 -1
- package/dist/server/server/speech/providers/openai/tts.js.map +1 -1
- package/dist/server/server/workspace-registry.d.ts +10 -10
- package/dist/server/shared/messages.d.ts +20306 -20306
- package/dist/server/shared/provider-runtime-settings.d.ts +2 -2
- package/dist/server/utils/worktree-metadata.d.ts +4 -4
- package/package.json +13 -11
|
@@ -7,18 +7,18 @@ export declare const LoopLogEntrySchema: z.ZodObject<{
|
|
|
7
7
|
level: z.ZodEnum<["info", "error"]>;
|
|
8
8
|
text: z.ZodString;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
timestamp: string;
|
|
11
10
|
text: string;
|
|
12
11
|
seq: number;
|
|
13
|
-
|
|
12
|
+
timestamp: string;
|
|
14
13
|
iteration: number | null;
|
|
14
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
15
15
|
level: "error" | "info";
|
|
16
16
|
}, {
|
|
17
|
-
timestamp: string;
|
|
18
17
|
text: string;
|
|
19
18
|
seq: number;
|
|
20
|
-
|
|
19
|
+
timestamp: string;
|
|
21
20
|
iteration: number | null;
|
|
21
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
22
22
|
level: "error" | "info";
|
|
23
23
|
}>;
|
|
24
24
|
export declare const LoopVerifyCheckResultSchema: z.ZodObject<{
|
|
@@ -31,20 +31,20 @@ export declare const LoopVerifyCheckResultSchema: z.ZodObject<{
|
|
|
31
31
|
completedAt: z.ZodString;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
33
|
command: string;
|
|
34
|
-
startedAt: string;
|
|
35
|
-
completedAt: string;
|
|
36
34
|
exitCode: number;
|
|
37
35
|
passed: boolean;
|
|
38
36
|
stdout: string;
|
|
39
37
|
stderr: string;
|
|
40
|
-
}, {
|
|
41
|
-
command: string;
|
|
42
38
|
startedAt: string;
|
|
43
39
|
completedAt: string;
|
|
40
|
+
}, {
|
|
41
|
+
command: string;
|
|
44
42
|
exitCode: number;
|
|
45
43
|
passed: boolean;
|
|
46
44
|
stdout: string;
|
|
47
45
|
stderr: string;
|
|
46
|
+
startedAt: string;
|
|
47
|
+
completedAt: string;
|
|
48
48
|
}>;
|
|
49
49
|
export declare const LoopVerifyPromptResultSchema: z.ZodObject<{
|
|
50
50
|
passed: z.ZodBoolean;
|
|
@@ -54,16 +54,16 @@ export declare const LoopVerifyPromptResultSchema: z.ZodObject<{
|
|
|
54
54
|
completedAt: z.ZodString;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
reason: string;
|
|
57
|
+
passed: boolean;
|
|
57
58
|
startedAt: string;
|
|
58
59
|
completedAt: string;
|
|
59
60
|
verifierAgentId: string | null;
|
|
60
|
-
passed: boolean;
|
|
61
61
|
}, {
|
|
62
62
|
reason: string;
|
|
63
|
+
passed: boolean;
|
|
63
64
|
startedAt: string;
|
|
64
65
|
completedAt: string;
|
|
65
66
|
verifierAgentId: string | null;
|
|
66
|
-
passed: boolean;
|
|
67
67
|
}>;
|
|
68
68
|
export declare const LoopIterationRecordSchema: z.ZodObject<{
|
|
69
69
|
index: z.ZodNumber;
|
|
@@ -84,20 +84,20 @@ export declare const LoopIterationRecordSchema: z.ZodObject<{
|
|
|
84
84
|
completedAt: z.ZodString;
|
|
85
85
|
}, "strip", z.ZodTypeAny, {
|
|
86
86
|
command: string;
|
|
87
|
-
startedAt: string;
|
|
88
|
-
completedAt: string;
|
|
89
87
|
exitCode: number;
|
|
90
88
|
passed: boolean;
|
|
91
89
|
stdout: string;
|
|
92
90
|
stderr: string;
|
|
93
|
-
}, {
|
|
94
|
-
command: string;
|
|
95
91
|
startedAt: string;
|
|
96
92
|
completedAt: string;
|
|
93
|
+
}, {
|
|
94
|
+
command: string;
|
|
97
95
|
exitCode: number;
|
|
98
96
|
passed: boolean;
|
|
99
97
|
stdout: string;
|
|
100
98
|
stderr: string;
|
|
99
|
+
startedAt: string;
|
|
100
|
+
completedAt: string;
|
|
101
101
|
}>, "many">;
|
|
102
102
|
verifyPrompt: z.ZodNullable<z.ZodObject<{
|
|
103
103
|
passed: z.ZodBoolean;
|
|
@@ -107,67 +107,67 @@ export declare const LoopIterationRecordSchema: z.ZodObject<{
|
|
|
107
107
|
completedAt: z.ZodString;
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
109
|
reason: string;
|
|
110
|
+
passed: boolean;
|
|
110
111
|
startedAt: string;
|
|
111
112
|
completedAt: string;
|
|
112
113
|
verifierAgentId: string | null;
|
|
113
|
-
passed: boolean;
|
|
114
114
|
}, {
|
|
115
115
|
reason: string;
|
|
116
|
+
passed: boolean;
|
|
116
117
|
startedAt: string;
|
|
117
118
|
completedAt: string;
|
|
118
119
|
verifierAgentId: string | null;
|
|
119
|
-
passed: boolean;
|
|
120
120
|
}>>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
122
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
123
|
+
verifierAgentId: string | null;
|
|
123
124
|
index: number;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
passed: boolean;
|
|
130
|
-
} | null;
|
|
125
|
+
workerAgentId: string | null;
|
|
126
|
+
workerStartedAt: string;
|
|
127
|
+
workerCompletedAt: string | null;
|
|
128
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
129
|
+
failureReason: string | null;
|
|
131
130
|
verifyChecks: {
|
|
132
131
|
command: string;
|
|
133
|
-
startedAt: string;
|
|
134
|
-
completedAt: string;
|
|
135
132
|
exitCode: number;
|
|
136
133
|
passed: boolean;
|
|
137
134
|
stdout: string;
|
|
138
135
|
stderr: string;
|
|
136
|
+
startedAt: string;
|
|
137
|
+
completedAt: string;
|
|
139
138
|
}[];
|
|
140
|
-
workerAgentId: string | null;
|
|
141
|
-
workerStartedAt: string;
|
|
142
|
-
workerCompletedAt: string | null;
|
|
143
|
-
verifierAgentId: string | null;
|
|
144
|
-
workerOutcome: "failed" | "completed" | "canceled" | null;
|
|
145
|
-
failureReason: string | null;
|
|
146
|
-
}, {
|
|
147
|
-
status: "running" | "failed" | "succeeded" | "stopped";
|
|
148
|
-
index: number;
|
|
149
139
|
verifyPrompt: {
|
|
150
140
|
reason: string;
|
|
141
|
+
passed: boolean;
|
|
151
142
|
startedAt: string;
|
|
152
143
|
completedAt: string;
|
|
153
144
|
verifierAgentId: string | null;
|
|
154
|
-
passed: boolean;
|
|
155
145
|
} | null;
|
|
146
|
+
}, {
|
|
147
|
+
status: "running" | "failed" | "succeeded" | "stopped";
|
|
148
|
+
verifierAgentId: string | null;
|
|
149
|
+
index: number;
|
|
150
|
+
workerAgentId: string | null;
|
|
151
|
+
workerStartedAt: string;
|
|
152
|
+
workerCompletedAt: string | null;
|
|
153
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
154
|
+
failureReason: string | null;
|
|
156
155
|
verifyChecks: {
|
|
157
156
|
command: string;
|
|
158
|
-
startedAt: string;
|
|
159
|
-
completedAt: string;
|
|
160
157
|
exitCode: number;
|
|
161
158
|
passed: boolean;
|
|
162
159
|
stdout: string;
|
|
163
160
|
stderr: string;
|
|
161
|
+
startedAt: string;
|
|
162
|
+
completedAt: string;
|
|
164
163
|
}[];
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
164
|
+
verifyPrompt: {
|
|
165
|
+
reason: string;
|
|
166
|
+
passed: boolean;
|
|
167
|
+
startedAt: string;
|
|
168
|
+
completedAt: string;
|
|
169
|
+
verifierAgentId: string | null;
|
|
170
|
+
} | null;
|
|
171
171
|
}>;
|
|
172
172
|
export declare const LoopRecordSchema: z.ZodObject<{
|
|
173
173
|
id: z.ZodString;
|
|
@@ -211,20 +211,20 @@ export declare const LoopRecordSchema: z.ZodObject<{
|
|
|
211
211
|
completedAt: z.ZodString;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
213
|
command: string;
|
|
214
|
-
startedAt: string;
|
|
215
|
-
completedAt: string;
|
|
216
214
|
exitCode: number;
|
|
217
215
|
passed: boolean;
|
|
218
216
|
stdout: string;
|
|
219
217
|
stderr: string;
|
|
220
|
-
}, {
|
|
221
|
-
command: string;
|
|
222
218
|
startedAt: string;
|
|
223
219
|
completedAt: string;
|
|
220
|
+
}, {
|
|
221
|
+
command: string;
|
|
224
222
|
exitCode: number;
|
|
225
223
|
passed: boolean;
|
|
226
224
|
stdout: string;
|
|
227
225
|
stderr: string;
|
|
226
|
+
startedAt: string;
|
|
227
|
+
completedAt: string;
|
|
228
228
|
}>, "many">;
|
|
229
229
|
verifyPrompt: z.ZodNullable<z.ZodObject<{
|
|
230
230
|
passed: z.ZodBoolean;
|
|
@@ -234,67 +234,67 @@ export declare const LoopRecordSchema: z.ZodObject<{
|
|
|
234
234
|
completedAt: z.ZodString;
|
|
235
235
|
}, "strip", z.ZodTypeAny, {
|
|
236
236
|
reason: string;
|
|
237
|
+
passed: boolean;
|
|
237
238
|
startedAt: string;
|
|
238
239
|
completedAt: string;
|
|
239
240
|
verifierAgentId: string | null;
|
|
240
|
-
passed: boolean;
|
|
241
241
|
}, {
|
|
242
242
|
reason: string;
|
|
243
|
+
passed: boolean;
|
|
243
244
|
startedAt: string;
|
|
244
245
|
completedAt: string;
|
|
245
246
|
verifierAgentId: string | null;
|
|
246
|
-
passed: boolean;
|
|
247
247
|
}>>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
249
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
250
|
+
verifierAgentId: string | null;
|
|
250
251
|
index: number;
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
passed: boolean;
|
|
257
|
-
} | null;
|
|
252
|
+
workerAgentId: string | null;
|
|
253
|
+
workerStartedAt: string;
|
|
254
|
+
workerCompletedAt: string | null;
|
|
255
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
256
|
+
failureReason: string | null;
|
|
258
257
|
verifyChecks: {
|
|
259
258
|
command: string;
|
|
260
|
-
startedAt: string;
|
|
261
|
-
completedAt: string;
|
|
262
259
|
exitCode: number;
|
|
263
260
|
passed: boolean;
|
|
264
261
|
stdout: string;
|
|
265
262
|
stderr: string;
|
|
263
|
+
startedAt: string;
|
|
264
|
+
completedAt: string;
|
|
266
265
|
}[];
|
|
267
|
-
workerAgentId: string | null;
|
|
268
|
-
workerStartedAt: string;
|
|
269
|
-
workerCompletedAt: string | null;
|
|
270
|
-
verifierAgentId: string | null;
|
|
271
|
-
workerOutcome: "failed" | "completed" | "canceled" | null;
|
|
272
|
-
failureReason: string | null;
|
|
273
|
-
}, {
|
|
274
|
-
status: "running" | "failed" | "succeeded" | "stopped";
|
|
275
|
-
index: number;
|
|
276
266
|
verifyPrompt: {
|
|
277
267
|
reason: string;
|
|
268
|
+
passed: boolean;
|
|
278
269
|
startedAt: string;
|
|
279
270
|
completedAt: string;
|
|
280
271
|
verifierAgentId: string | null;
|
|
281
|
-
passed: boolean;
|
|
282
272
|
} | null;
|
|
273
|
+
}, {
|
|
274
|
+
status: "running" | "failed" | "succeeded" | "stopped";
|
|
275
|
+
verifierAgentId: string | null;
|
|
276
|
+
index: number;
|
|
277
|
+
workerAgentId: string | null;
|
|
278
|
+
workerStartedAt: string;
|
|
279
|
+
workerCompletedAt: string | null;
|
|
280
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
281
|
+
failureReason: string | null;
|
|
283
282
|
verifyChecks: {
|
|
284
283
|
command: string;
|
|
285
|
-
startedAt: string;
|
|
286
|
-
completedAt: string;
|
|
287
284
|
exitCode: number;
|
|
288
285
|
passed: boolean;
|
|
289
286
|
stdout: string;
|
|
290
287
|
stderr: string;
|
|
288
|
+
startedAt: string;
|
|
289
|
+
completedAt: string;
|
|
291
290
|
}[];
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
291
|
+
verifyPrompt: {
|
|
292
|
+
reason: string;
|
|
293
|
+
passed: boolean;
|
|
294
|
+
startedAt: string;
|
|
295
|
+
completedAt: string;
|
|
296
|
+
verifierAgentId: string | null;
|
|
297
|
+
} | null;
|
|
298
298
|
}>, "many">;
|
|
299
299
|
logs: z.ZodArray<z.ZodObject<{
|
|
300
300
|
seq: z.ZodNumber;
|
|
@@ -304,18 +304,18 @@ export declare const LoopRecordSchema: z.ZodObject<{
|
|
|
304
304
|
level: z.ZodEnum<["info", "error"]>;
|
|
305
305
|
text: z.ZodString;
|
|
306
306
|
}, "strip", z.ZodTypeAny, {
|
|
307
|
-
timestamp: string;
|
|
308
307
|
text: string;
|
|
309
308
|
seq: number;
|
|
310
|
-
|
|
309
|
+
timestamp: string;
|
|
311
310
|
iteration: number | null;
|
|
311
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
312
312
|
level: "error" | "info";
|
|
313
313
|
}, {
|
|
314
|
-
timestamp: string;
|
|
315
314
|
text: string;
|
|
316
315
|
seq: number;
|
|
317
|
-
|
|
316
|
+
timestamp: string;
|
|
318
317
|
iteration: number | null;
|
|
318
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
319
319
|
level: "error" | "info";
|
|
320
320
|
}>, "many">;
|
|
321
321
|
nextLogSeq: z.ZodNumber;
|
|
@@ -326,57 +326,57 @@ export declare const LoopRecordSchema: z.ZodObject<{
|
|
|
326
326
|
name: string | null;
|
|
327
327
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
328
328
|
id: string;
|
|
329
|
-
provider: string;
|
|
330
|
-
cwd: string;
|
|
331
|
-
model: string | null;
|
|
332
329
|
createdAt: string;
|
|
333
330
|
updatedAt: string;
|
|
334
|
-
prompt: string;
|
|
335
331
|
startedAt: string;
|
|
332
|
+
completedAt: string | null;
|
|
333
|
+
verifyChecks: string[];
|
|
334
|
+
verifyPrompt: string | null;
|
|
335
|
+
prompt: string;
|
|
336
|
+
cwd: string;
|
|
337
|
+
provider: string;
|
|
338
|
+
model: string | null;
|
|
336
339
|
workerProvider: string | null;
|
|
337
340
|
workerModel: string | null;
|
|
338
341
|
verifierProvider: string | null;
|
|
339
342
|
verifierModel: string | null;
|
|
340
|
-
verifyPrompt: string | null;
|
|
341
|
-
verifyChecks: string[];
|
|
342
343
|
archive: boolean;
|
|
343
344
|
sleepMs: number;
|
|
344
345
|
maxIterations: number | null;
|
|
345
346
|
maxTimeMs: number | null;
|
|
346
|
-
completedAt: string | null;
|
|
347
347
|
stopRequestedAt: string | null;
|
|
348
348
|
iterations: {
|
|
349
349
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
350
|
+
verifierAgentId: string | null;
|
|
350
351
|
index: number;
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
passed: boolean;
|
|
357
|
-
} | null;
|
|
352
|
+
workerAgentId: string | null;
|
|
353
|
+
workerStartedAt: string;
|
|
354
|
+
workerCompletedAt: string | null;
|
|
355
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
356
|
+
failureReason: string | null;
|
|
358
357
|
verifyChecks: {
|
|
359
358
|
command: string;
|
|
360
|
-
startedAt: string;
|
|
361
|
-
completedAt: string;
|
|
362
359
|
exitCode: number;
|
|
363
360
|
passed: boolean;
|
|
364
361
|
stdout: string;
|
|
365
362
|
stderr: string;
|
|
363
|
+
startedAt: string;
|
|
364
|
+
completedAt: string;
|
|
366
365
|
}[];
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
366
|
+
verifyPrompt: {
|
|
367
|
+
reason: string;
|
|
368
|
+
passed: boolean;
|
|
369
|
+
startedAt: string;
|
|
370
|
+
completedAt: string;
|
|
371
|
+
verifierAgentId: string | null;
|
|
372
|
+
} | null;
|
|
373
373
|
}[];
|
|
374
374
|
logs: {
|
|
375
|
-
timestamp: string;
|
|
376
375
|
text: string;
|
|
377
376
|
seq: number;
|
|
378
|
-
|
|
377
|
+
timestamp: string;
|
|
379
378
|
iteration: number | null;
|
|
379
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
380
380
|
level: "error" | "info";
|
|
381
381
|
}[];
|
|
382
382
|
nextLogSeq: number;
|
|
@@ -387,57 +387,57 @@ export declare const LoopRecordSchema: z.ZodObject<{
|
|
|
387
387
|
name: string | null;
|
|
388
388
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
389
389
|
id: string;
|
|
390
|
-
provider: string;
|
|
391
|
-
cwd: string;
|
|
392
|
-
model: string | null;
|
|
393
390
|
createdAt: string;
|
|
394
391
|
updatedAt: string;
|
|
395
|
-
prompt: string;
|
|
396
392
|
startedAt: string;
|
|
393
|
+
completedAt: string | null;
|
|
394
|
+
verifyChecks: string[];
|
|
395
|
+
verifyPrompt: string | null;
|
|
396
|
+
prompt: string;
|
|
397
|
+
cwd: string;
|
|
398
|
+
provider: string;
|
|
399
|
+
model: string | null;
|
|
397
400
|
workerProvider: string | null;
|
|
398
401
|
workerModel: string | null;
|
|
399
402
|
verifierProvider: string | null;
|
|
400
403
|
verifierModel: string | null;
|
|
401
|
-
verifyPrompt: string | null;
|
|
402
|
-
verifyChecks: string[];
|
|
403
404
|
archive: boolean;
|
|
404
405
|
sleepMs: number;
|
|
405
406
|
maxIterations: number | null;
|
|
406
407
|
maxTimeMs: number | null;
|
|
407
|
-
completedAt: string | null;
|
|
408
408
|
stopRequestedAt: string | null;
|
|
409
409
|
iterations: {
|
|
410
410
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
411
|
+
verifierAgentId: string | null;
|
|
411
412
|
index: number;
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
passed: boolean;
|
|
418
|
-
} | null;
|
|
413
|
+
workerAgentId: string | null;
|
|
414
|
+
workerStartedAt: string;
|
|
415
|
+
workerCompletedAt: string | null;
|
|
416
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
417
|
+
failureReason: string | null;
|
|
419
418
|
verifyChecks: {
|
|
420
419
|
command: string;
|
|
421
|
-
startedAt: string;
|
|
422
|
-
completedAt: string;
|
|
423
420
|
exitCode: number;
|
|
424
421
|
passed: boolean;
|
|
425
422
|
stdout: string;
|
|
426
423
|
stderr: string;
|
|
424
|
+
startedAt: string;
|
|
425
|
+
completedAt: string;
|
|
427
426
|
}[];
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
427
|
+
verifyPrompt: {
|
|
428
|
+
reason: string;
|
|
429
|
+
passed: boolean;
|
|
430
|
+
startedAt: string;
|
|
431
|
+
completedAt: string;
|
|
432
|
+
verifierAgentId: string | null;
|
|
433
|
+
} | null;
|
|
434
434
|
}[];
|
|
435
435
|
logs: {
|
|
436
|
-
timestamp: string;
|
|
437
436
|
text: string;
|
|
438
437
|
seq: number;
|
|
439
|
-
|
|
438
|
+
timestamp: string;
|
|
440
439
|
iteration: number | null;
|
|
440
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
441
441
|
level: "error" | "info";
|
|
442
442
|
}[];
|
|
443
443
|
nextLogSeq: number;
|
|
@@ -457,17 +457,17 @@ export declare const LoopListItemSchema: z.ZodObject<{
|
|
|
457
457
|
name: string | null;
|
|
458
458
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
459
459
|
id: string;
|
|
460
|
-
cwd: string;
|
|
461
460
|
createdAt: string;
|
|
462
461
|
updatedAt: string;
|
|
462
|
+
cwd: string;
|
|
463
463
|
activeIteration: number | null;
|
|
464
464
|
}, {
|
|
465
465
|
name: string | null;
|
|
466
466
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
467
467
|
id: string;
|
|
468
|
-
cwd: string;
|
|
469
468
|
createdAt: string;
|
|
470
469
|
updatedAt: string;
|
|
470
|
+
cwd: string;
|
|
471
471
|
activeIteration: number | null;
|
|
472
472
|
}>;
|
|
473
473
|
export declare const LoopRunRequestSchema: z.ZodObject<{
|
|
@@ -491,17 +491,17 @@ export declare const LoopRunRequestSchema: z.ZodObject<{
|
|
|
491
491
|
}, "strip", z.ZodTypeAny, {
|
|
492
492
|
type: "loop/run";
|
|
493
493
|
requestId: string;
|
|
494
|
-
cwd: string;
|
|
495
494
|
prompt: string;
|
|
495
|
+
cwd: string;
|
|
496
496
|
name?: string | undefined;
|
|
497
|
+
verifyChecks?: string[] | undefined;
|
|
498
|
+
verifyPrompt?: string | undefined;
|
|
497
499
|
provider?: string | undefined;
|
|
498
500
|
model?: string | undefined;
|
|
499
501
|
workerProvider?: string | undefined;
|
|
500
502
|
workerModel?: string | undefined;
|
|
501
503
|
verifierProvider?: string | undefined;
|
|
502
504
|
verifierModel?: string | undefined;
|
|
503
|
-
verifyPrompt?: string | undefined;
|
|
504
|
-
verifyChecks?: string[] | undefined;
|
|
505
505
|
archive?: boolean | undefined;
|
|
506
506
|
sleepMs?: number | undefined;
|
|
507
507
|
maxIterations?: number | undefined;
|
|
@@ -509,17 +509,17 @@ export declare const LoopRunRequestSchema: z.ZodObject<{
|
|
|
509
509
|
}, {
|
|
510
510
|
type: "loop/run";
|
|
511
511
|
requestId: string;
|
|
512
|
-
cwd: string;
|
|
513
512
|
prompt: string;
|
|
513
|
+
cwd: string;
|
|
514
514
|
name?: string | undefined;
|
|
515
|
+
verifyChecks?: string[] | undefined;
|
|
516
|
+
verifyPrompt?: string | undefined;
|
|
515
517
|
provider?: string | undefined;
|
|
516
518
|
model?: string | undefined;
|
|
517
519
|
workerProvider?: string | undefined;
|
|
518
520
|
workerModel?: string | undefined;
|
|
519
521
|
verifierProvider?: string | undefined;
|
|
520
522
|
verifierModel?: string | undefined;
|
|
521
|
-
verifyPrompt?: string | undefined;
|
|
522
|
-
verifyChecks?: string[] | undefined;
|
|
523
523
|
archive?: boolean | undefined;
|
|
524
524
|
sleepMs?: number | undefined;
|
|
525
525
|
maxIterations?: number | undefined;
|
|
@@ -623,20 +623,20 @@ export declare const LoopRunResponseSchema: z.ZodObject<{
|
|
|
623
623
|
completedAt: z.ZodString;
|
|
624
624
|
}, "strip", z.ZodTypeAny, {
|
|
625
625
|
command: string;
|
|
626
|
-
startedAt: string;
|
|
627
|
-
completedAt: string;
|
|
628
626
|
exitCode: number;
|
|
629
627
|
passed: boolean;
|
|
630
628
|
stdout: string;
|
|
631
629
|
stderr: string;
|
|
632
|
-
}, {
|
|
633
|
-
command: string;
|
|
634
630
|
startedAt: string;
|
|
635
631
|
completedAt: string;
|
|
632
|
+
}, {
|
|
633
|
+
command: string;
|
|
636
634
|
exitCode: number;
|
|
637
635
|
passed: boolean;
|
|
638
636
|
stdout: string;
|
|
639
637
|
stderr: string;
|
|
638
|
+
startedAt: string;
|
|
639
|
+
completedAt: string;
|
|
640
640
|
}>, "many">;
|
|
641
641
|
verifyPrompt: z.ZodNullable<z.ZodObject<{
|
|
642
642
|
passed: z.ZodBoolean;
|
|
@@ -646,67 +646,67 @@ export declare const LoopRunResponseSchema: z.ZodObject<{
|
|
|
646
646
|
completedAt: z.ZodString;
|
|
647
647
|
}, "strip", z.ZodTypeAny, {
|
|
648
648
|
reason: string;
|
|
649
|
+
passed: boolean;
|
|
649
650
|
startedAt: string;
|
|
650
651
|
completedAt: string;
|
|
651
652
|
verifierAgentId: string | null;
|
|
652
|
-
passed: boolean;
|
|
653
653
|
}, {
|
|
654
654
|
reason: string;
|
|
655
|
+
passed: boolean;
|
|
655
656
|
startedAt: string;
|
|
656
657
|
completedAt: string;
|
|
657
658
|
verifierAgentId: string | null;
|
|
658
|
-
passed: boolean;
|
|
659
659
|
}>>;
|
|
660
660
|
}, "strip", z.ZodTypeAny, {
|
|
661
661
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
662
|
+
verifierAgentId: string | null;
|
|
662
663
|
index: number;
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
passed: boolean;
|
|
669
|
-
} | null;
|
|
664
|
+
workerAgentId: string | null;
|
|
665
|
+
workerStartedAt: string;
|
|
666
|
+
workerCompletedAt: string | null;
|
|
667
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
668
|
+
failureReason: string | null;
|
|
670
669
|
verifyChecks: {
|
|
671
670
|
command: string;
|
|
672
|
-
startedAt: string;
|
|
673
|
-
completedAt: string;
|
|
674
671
|
exitCode: number;
|
|
675
672
|
passed: boolean;
|
|
676
673
|
stdout: string;
|
|
677
674
|
stderr: string;
|
|
675
|
+
startedAt: string;
|
|
676
|
+
completedAt: string;
|
|
678
677
|
}[];
|
|
679
|
-
workerAgentId: string | null;
|
|
680
|
-
workerStartedAt: string;
|
|
681
|
-
workerCompletedAt: string | null;
|
|
682
|
-
verifierAgentId: string | null;
|
|
683
|
-
workerOutcome: "failed" | "completed" | "canceled" | null;
|
|
684
|
-
failureReason: string | null;
|
|
685
|
-
}, {
|
|
686
|
-
status: "running" | "failed" | "succeeded" | "stopped";
|
|
687
|
-
index: number;
|
|
688
678
|
verifyPrompt: {
|
|
689
679
|
reason: string;
|
|
680
|
+
passed: boolean;
|
|
690
681
|
startedAt: string;
|
|
691
682
|
completedAt: string;
|
|
692
683
|
verifierAgentId: string | null;
|
|
693
|
-
passed: boolean;
|
|
694
684
|
} | null;
|
|
685
|
+
}, {
|
|
686
|
+
status: "running" | "failed" | "succeeded" | "stopped";
|
|
687
|
+
verifierAgentId: string | null;
|
|
688
|
+
index: number;
|
|
689
|
+
workerAgentId: string | null;
|
|
690
|
+
workerStartedAt: string;
|
|
691
|
+
workerCompletedAt: string | null;
|
|
692
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
693
|
+
failureReason: string | null;
|
|
695
694
|
verifyChecks: {
|
|
696
695
|
command: string;
|
|
697
|
-
startedAt: string;
|
|
698
|
-
completedAt: string;
|
|
699
696
|
exitCode: number;
|
|
700
697
|
passed: boolean;
|
|
701
698
|
stdout: string;
|
|
702
699
|
stderr: string;
|
|
700
|
+
startedAt: string;
|
|
701
|
+
completedAt: string;
|
|
703
702
|
}[];
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
703
|
+
verifyPrompt: {
|
|
704
|
+
reason: string;
|
|
705
|
+
passed: boolean;
|
|
706
|
+
startedAt: string;
|
|
707
|
+
completedAt: string;
|
|
708
|
+
verifierAgentId: string | null;
|
|
709
|
+
} | null;
|
|
710
710
|
}>, "many">;
|
|
711
711
|
logs: z.ZodArray<z.ZodObject<{
|
|
712
712
|
seq: z.ZodNumber;
|
|
@@ -716,18 +716,18 @@ export declare const LoopRunResponseSchema: z.ZodObject<{
|
|
|
716
716
|
level: z.ZodEnum<["info", "error"]>;
|
|
717
717
|
text: z.ZodString;
|
|
718
718
|
}, "strip", z.ZodTypeAny, {
|
|
719
|
-
timestamp: string;
|
|
720
719
|
text: string;
|
|
721
720
|
seq: number;
|
|
722
|
-
|
|
721
|
+
timestamp: string;
|
|
723
722
|
iteration: number | null;
|
|
723
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
724
724
|
level: "error" | "info";
|
|
725
725
|
}, {
|
|
726
|
-
timestamp: string;
|
|
727
726
|
text: string;
|
|
728
727
|
seq: number;
|
|
729
|
-
|
|
728
|
+
timestamp: string;
|
|
730
729
|
iteration: number | null;
|
|
730
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
731
731
|
level: "error" | "info";
|
|
732
732
|
}>, "many">;
|
|
733
733
|
nextLogSeq: z.ZodNumber;
|
|
@@ -738,57 +738,57 @@ export declare const LoopRunResponseSchema: z.ZodObject<{
|
|
|
738
738
|
name: string | null;
|
|
739
739
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
740
740
|
id: string;
|
|
741
|
-
provider: string;
|
|
742
|
-
cwd: string;
|
|
743
|
-
model: string | null;
|
|
744
741
|
createdAt: string;
|
|
745
742
|
updatedAt: string;
|
|
746
|
-
prompt: string;
|
|
747
743
|
startedAt: string;
|
|
744
|
+
completedAt: string | null;
|
|
745
|
+
verifyChecks: string[];
|
|
746
|
+
verifyPrompt: string | null;
|
|
747
|
+
prompt: string;
|
|
748
|
+
cwd: string;
|
|
749
|
+
provider: string;
|
|
750
|
+
model: string | null;
|
|
748
751
|
workerProvider: string | null;
|
|
749
752
|
workerModel: string | null;
|
|
750
753
|
verifierProvider: string | null;
|
|
751
754
|
verifierModel: string | null;
|
|
752
|
-
verifyPrompt: string | null;
|
|
753
|
-
verifyChecks: string[];
|
|
754
755
|
archive: boolean;
|
|
755
756
|
sleepMs: number;
|
|
756
757
|
maxIterations: number | null;
|
|
757
758
|
maxTimeMs: number | null;
|
|
758
|
-
completedAt: string | null;
|
|
759
759
|
stopRequestedAt: string | null;
|
|
760
760
|
iterations: {
|
|
761
761
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
762
|
+
verifierAgentId: string | null;
|
|
762
763
|
index: number;
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
passed: boolean;
|
|
769
|
-
} | null;
|
|
764
|
+
workerAgentId: string | null;
|
|
765
|
+
workerStartedAt: string;
|
|
766
|
+
workerCompletedAt: string | null;
|
|
767
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
768
|
+
failureReason: string | null;
|
|
770
769
|
verifyChecks: {
|
|
771
770
|
command: string;
|
|
772
|
-
startedAt: string;
|
|
773
|
-
completedAt: string;
|
|
774
771
|
exitCode: number;
|
|
775
772
|
passed: boolean;
|
|
776
773
|
stdout: string;
|
|
777
774
|
stderr: string;
|
|
775
|
+
startedAt: string;
|
|
776
|
+
completedAt: string;
|
|
778
777
|
}[];
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
778
|
+
verifyPrompt: {
|
|
779
|
+
reason: string;
|
|
780
|
+
passed: boolean;
|
|
781
|
+
startedAt: string;
|
|
782
|
+
completedAt: string;
|
|
783
|
+
verifierAgentId: string | null;
|
|
784
|
+
} | null;
|
|
785
785
|
}[];
|
|
786
786
|
logs: {
|
|
787
|
-
timestamp: string;
|
|
788
787
|
text: string;
|
|
789
788
|
seq: number;
|
|
790
|
-
|
|
789
|
+
timestamp: string;
|
|
791
790
|
iteration: number | null;
|
|
791
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
792
792
|
level: "error" | "info";
|
|
793
793
|
}[];
|
|
794
794
|
nextLogSeq: number;
|
|
@@ -799,57 +799,57 @@ export declare const LoopRunResponseSchema: z.ZodObject<{
|
|
|
799
799
|
name: string | null;
|
|
800
800
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
801
801
|
id: string;
|
|
802
|
-
provider: string;
|
|
803
|
-
cwd: string;
|
|
804
|
-
model: string | null;
|
|
805
802
|
createdAt: string;
|
|
806
803
|
updatedAt: string;
|
|
807
|
-
prompt: string;
|
|
808
804
|
startedAt: string;
|
|
805
|
+
completedAt: string | null;
|
|
806
|
+
verifyChecks: string[];
|
|
807
|
+
verifyPrompt: string | null;
|
|
808
|
+
prompt: string;
|
|
809
|
+
cwd: string;
|
|
810
|
+
provider: string;
|
|
811
|
+
model: string | null;
|
|
809
812
|
workerProvider: string | null;
|
|
810
813
|
workerModel: string | null;
|
|
811
814
|
verifierProvider: string | null;
|
|
812
815
|
verifierModel: string | null;
|
|
813
|
-
verifyPrompt: string | null;
|
|
814
|
-
verifyChecks: string[];
|
|
815
816
|
archive: boolean;
|
|
816
817
|
sleepMs: number;
|
|
817
818
|
maxIterations: number | null;
|
|
818
819
|
maxTimeMs: number | null;
|
|
819
|
-
completedAt: string | null;
|
|
820
820
|
stopRequestedAt: string | null;
|
|
821
821
|
iterations: {
|
|
822
822
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
823
|
+
verifierAgentId: string | null;
|
|
823
824
|
index: number;
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
passed: boolean;
|
|
830
|
-
} | null;
|
|
825
|
+
workerAgentId: string | null;
|
|
826
|
+
workerStartedAt: string;
|
|
827
|
+
workerCompletedAt: string | null;
|
|
828
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
829
|
+
failureReason: string | null;
|
|
831
830
|
verifyChecks: {
|
|
832
831
|
command: string;
|
|
833
|
-
startedAt: string;
|
|
834
|
-
completedAt: string;
|
|
835
832
|
exitCode: number;
|
|
836
833
|
passed: boolean;
|
|
837
834
|
stdout: string;
|
|
838
835
|
stderr: string;
|
|
836
|
+
startedAt: string;
|
|
837
|
+
completedAt: string;
|
|
839
838
|
}[];
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
839
|
+
verifyPrompt: {
|
|
840
|
+
reason: string;
|
|
841
|
+
passed: boolean;
|
|
842
|
+
startedAt: string;
|
|
843
|
+
completedAt: string;
|
|
844
|
+
verifierAgentId: string | null;
|
|
845
|
+
} | null;
|
|
846
846
|
}[];
|
|
847
847
|
logs: {
|
|
848
|
-
timestamp: string;
|
|
849
848
|
text: string;
|
|
850
849
|
seq: number;
|
|
851
|
-
|
|
850
|
+
timestamp: string;
|
|
852
851
|
iteration: number | null;
|
|
852
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
853
853
|
level: "error" | "info";
|
|
854
854
|
}[];
|
|
855
855
|
nextLogSeq: number;
|
|
@@ -865,57 +865,57 @@ export declare const LoopRunResponseSchema: z.ZodObject<{
|
|
|
865
865
|
name: string | null;
|
|
866
866
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
867
867
|
id: string;
|
|
868
|
-
provider: string;
|
|
869
|
-
cwd: string;
|
|
870
|
-
model: string | null;
|
|
871
868
|
createdAt: string;
|
|
872
869
|
updatedAt: string;
|
|
873
|
-
prompt: string;
|
|
874
870
|
startedAt: string;
|
|
871
|
+
completedAt: string | null;
|
|
872
|
+
verifyChecks: string[];
|
|
873
|
+
verifyPrompt: string | null;
|
|
874
|
+
prompt: string;
|
|
875
|
+
cwd: string;
|
|
876
|
+
provider: string;
|
|
877
|
+
model: string | null;
|
|
875
878
|
workerProvider: string | null;
|
|
876
879
|
workerModel: string | null;
|
|
877
880
|
verifierProvider: string | null;
|
|
878
881
|
verifierModel: string | null;
|
|
879
|
-
verifyPrompt: string | null;
|
|
880
|
-
verifyChecks: string[];
|
|
881
882
|
archive: boolean;
|
|
882
883
|
sleepMs: number;
|
|
883
884
|
maxIterations: number | null;
|
|
884
885
|
maxTimeMs: number | null;
|
|
885
|
-
completedAt: string | null;
|
|
886
886
|
stopRequestedAt: string | null;
|
|
887
887
|
iterations: {
|
|
888
888
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
889
|
+
verifierAgentId: string | null;
|
|
889
890
|
index: number;
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
passed: boolean;
|
|
896
|
-
} | null;
|
|
891
|
+
workerAgentId: string | null;
|
|
892
|
+
workerStartedAt: string;
|
|
893
|
+
workerCompletedAt: string | null;
|
|
894
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
895
|
+
failureReason: string | null;
|
|
897
896
|
verifyChecks: {
|
|
898
897
|
command: string;
|
|
899
|
-
startedAt: string;
|
|
900
|
-
completedAt: string;
|
|
901
898
|
exitCode: number;
|
|
902
899
|
passed: boolean;
|
|
903
900
|
stdout: string;
|
|
904
901
|
stderr: string;
|
|
902
|
+
startedAt: string;
|
|
903
|
+
completedAt: string;
|
|
905
904
|
}[];
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
905
|
+
verifyPrompt: {
|
|
906
|
+
reason: string;
|
|
907
|
+
passed: boolean;
|
|
908
|
+
startedAt: string;
|
|
909
|
+
completedAt: string;
|
|
910
|
+
verifierAgentId: string | null;
|
|
911
|
+
} | null;
|
|
912
912
|
}[];
|
|
913
913
|
logs: {
|
|
914
|
-
timestamp: string;
|
|
915
914
|
text: string;
|
|
916
915
|
seq: number;
|
|
917
|
-
|
|
916
|
+
timestamp: string;
|
|
918
917
|
iteration: number | null;
|
|
918
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
919
919
|
level: "error" | "info";
|
|
920
920
|
}[];
|
|
921
921
|
nextLogSeq: number;
|
|
@@ -930,57 +930,57 @@ export declare const LoopRunResponseSchema: z.ZodObject<{
|
|
|
930
930
|
name: string | null;
|
|
931
931
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
932
932
|
id: string;
|
|
933
|
-
provider: string;
|
|
934
|
-
cwd: string;
|
|
935
|
-
model: string | null;
|
|
936
933
|
createdAt: string;
|
|
937
934
|
updatedAt: string;
|
|
938
|
-
prompt: string;
|
|
939
935
|
startedAt: string;
|
|
936
|
+
completedAt: string | null;
|
|
937
|
+
verifyChecks: string[];
|
|
938
|
+
verifyPrompt: string | null;
|
|
939
|
+
prompt: string;
|
|
940
|
+
cwd: string;
|
|
941
|
+
provider: string;
|
|
942
|
+
model: string | null;
|
|
940
943
|
workerProvider: string | null;
|
|
941
944
|
workerModel: string | null;
|
|
942
945
|
verifierProvider: string | null;
|
|
943
946
|
verifierModel: string | null;
|
|
944
|
-
verifyPrompt: string | null;
|
|
945
|
-
verifyChecks: string[];
|
|
946
947
|
archive: boolean;
|
|
947
948
|
sleepMs: number;
|
|
948
949
|
maxIterations: number | null;
|
|
949
950
|
maxTimeMs: number | null;
|
|
950
|
-
completedAt: string | null;
|
|
951
951
|
stopRequestedAt: string | null;
|
|
952
952
|
iterations: {
|
|
953
953
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
954
|
+
verifierAgentId: string | null;
|
|
954
955
|
index: number;
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
passed: boolean;
|
|
961
|
-
} | null;
|
|
956
|
+
workerAgentId: string | null;
|
|
957
|
+
workerStartedAt: string;
|
|
958
|
+
workerCompletedAt: string | null;
|
|
959
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
960
|
+
failureReason: string | null;
|
|
962
961
|
verifyChecks: {
|
|
963
962
|
command: string;
|
|
964
|
-
startedAt: string;
|
|
965
|
-
completedAt: string;
|
|
966
963
|
exitCode: number;
|
|
967
964
|
passed: boolean;
|
|
968
965
|
stdout: string;
|
|
969
966
|
stderr: string;
|
|
967
|
+
startedAt: string;
|
|
968
|
+
completedAt: string;
|
|
970
969
|
}[];
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
970
|
+
verifyPrompt: {
|
|
971
|
+
reason: string;
|
|
972
|
+
passed: boolean;
|
|
973
|
+
startedAt: string;
|
|
974
|
+
completedAt: string;
|
|
975
|
+
verifierAgentId: string | null;
|
|
976
|
+
} | null;
|
|
977
977
|
}[];
|
|
978
978
|
logs: {
|
|
979
|
-
timestamp: string;
|
|
980
979
|
text: string;
|
|
981
980
|
seq: number;
|
|
982
|
-
|
|
981
|
+
timestamp: string;
|
|
983
982
|
iteration: number | null;
|
|
983
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
984
984
|
level: "error" | "info";
|
|
985
985
|
}[];
|
|
986
986
|
nextLogSeq: number;
|
|
@@ -998,57 +998,57 @@ export declare const LoopRunResponseSchema: z.ZodObject<{
|
|
|
998
998
|
name: string | null;
|
|
999
999
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1000
1000
|
id: string;
|
|
1001
|
-
provider: string;
|
|
1002
|
-
cwd: string;
|
|
1003
|
-
model: string | null;
|
|
1004
1001
|
createdAt: string;
|
|
1005
1002
|
updatedAt: string;
|
|
1006
|
-
prompt: string;
|
|
1007
1003
|
startedAt: string;
|
|
1004
|
+
completedAt: string | null;
|
|
1005
|
+
verifyChecks: string[];
|
|
1006
|
+
verifyPrompt: string | null;
|
|
1007
|
+
prompt: string;
|
|
1008
|
+
cwd: string;
|
|
1009
|
+
provider: string;
|
|
1010
|
+
model: string | null;
|
|
1008
1011
|
workerProvider: string | null;
|
|
1009
1012
|
workerModel: string | null;
|
|
1010
1013
|
verifierProvider: string | null;
|
|
1011
1014
|
verifierModel: string | null;
|
|
1012
|
-
verifyPrompt: string | null;
|
|
1013
|
-
verifyChecks: string[];
|
|
1014
1015
|
archive: boolean;
|
|
1015
1016
|
sleepMs: number;
|
|
1016
1017
|
maxIterations: number | null;
|
|
1017
1018
|
maxTimeMs: number | null;
|
|
1018
|
-
completedAt: string | null;
|
|
1019
1019
|
stopRequestedAt: string | null;
|
|
1020
1020
|
iterations: {
|
|
1021
1021
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1022
|
+
verifierAgentId: string | null;
|
|
1022
1023
|
index: number;
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
passed: boolean;
|
|
1029
|
-
} | null;
|
|
1024
|
+
workerAgentId: string | null;
|
|
1025
|
+
workerStartedAt: string;
|
|
1026
|
+
workerCompletedAt: string | null;
|
|
1027
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1028
|
+
failureReason: string | null;
|
|
1030
1029
|
verifyChecks: {
|
|
1031
1030
|
command: string;
|
|
1032
|
-
startedAt: string;
|
|
1033
|
-
completedAt: string;
|
|
1034
1031
|
exitCode: number;
|
|
1035
1032
|
passed: boolean;
|
|
1036
1033
|
stdout: string;
|
|
1037
1034
|
stderr: string;
|
|
1035
|
+
startedAt: string;
|
|
1036
|
+
completedAt: string;
|
|
1038
1037
|
}[];
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1038
|
+
verifyPrompt: {
|
|
1039
|
+
reason: string;
|
|
1040
|
+
passed: boolean;
|
|
1041
|
+
startedAt: string;
|
|
1042
|
+
completedAt: string;
|
|
1043
|
+
verifierAgentId: string | null;
|
|
1044
|
+
} | null;
|
|
1045
1045
|
}[];
|
|
1046
1046
|
logs: {
|
|
1047
|
-
timestamp: string;
|
|
1048
1047
|
text: string;
|
|
1049
1048
|
seq: number;
|
|
1050
|
-
|
|
1049
|
+
timestamp: string;
|
|
1051
1050
|
iteration: number | null;
|
|
1051
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1052
1052
|
level: "error" | "info";
|
|
1053
1053
|
}[];
|
|
1054
1054
|
nextLogSeq: number;
|
|
@@ -1066,57 +1066,57 @@ export declare const LoopRunResponseSchema: z.ZodObject<{
|
|
|
1066
1066
|
name: string | null;
|
|
1067
1067
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1068
1068
|
id: string;
|
|
1069
|
-
provider: string;
|
|
1070
|
-
cwd: string;
|
|
1071
|
-
model: string | null;
|
|
1072
1069
|
createdAt: string;
|
|
1073
1070
|
updatedAt: string;
|
|
1074
|
-
prompt: string;
|
|
1075
1071
|
startedAt: string;
|
|
1072
|
+
completedAt: string | null;
|
|
1073
|
+
verifyChecks: string[];
|
|
1074
|
+
verifyPrompt: string | null;
|
|
1075
|
+
prompt: string;
|
|
1076
|
+
cwd: string;
|
|
1077
|
+
provider: string;
|
|
1078
|
+
model: string | null;
|
|
1076
1079
|
workerProvider: string | null;
|
|
1077
1080
|
workerModel: string | null;
|
|
1078
1081
|
verifierProvider: string | null;
|
|
1079
1082
|
verifierModel: string | null;
|
|
1080
|
-
verifyPrompt: string | null;
|
|
1081
|
-
verifyChecks: string[];
|
|
1082
1083
|
archive: boolean;
|
|
1083
1084
|
sleepMs: number;
|
|
1084
1085
|
maxIterations: number | null;
|
|
1085
1086
|
maxTimeMs: number | null;
|
|
1086
|
-
completedAt: string | null;
|
|
1087
1087
|
stopRequestedAt: string | null;
|
|
1088
1088
|
iterations: {
|
|
1089
1089
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1090
|
+
verifierAgentId: string | null;
|
|
1090
1091
|
index: number;
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
passed: boolean;
|
|
1097
|
-
} | null;
|
|
1092
|
+
workerAgentId: string | null;
|
|
1093
|
+
workerStartedAt: string;
|
|
1094
|
+
workerCompletedAt: string | null;
|
|
1095
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1096
|
+
failureReason: string | null;
|
|
1098
1097
|
verifyChecks: {
|
|
1099
1098
|
command: string;
|
|
1100
|
-
startedAt: string;
|
|
1101
|
-
completedAt: string;
|
|
1102
1099
|
exitCode: number;
|
|
1103
1100
|
passed: boolean;
|
|
1104
1101
|
stdout: string;
|
|
1105
1102
|
stderr: string;
|
|
1103
|
+
startedAt: string;
|
|
1104
|
+
completedAt: string;
|
|
1106
1105
|
}[];
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1106
|
+
verifyPrompt: {
|
|
1107
|
+
reason: string;
|
|
1108
|
+
passed: boolean;
|
|
1109
|
+
startedAt: string;
|
|
1110
|
+
completedAt: string;
|
|
1111
|
+
verifierAgentId: string | null;
|
|
1112
|
+
} | null;
|
|
1113
1113
|
}[];
|
|
1114
1114
|
logs: {
|
|
1115
|
-
timestamp: string;
|
|
1116
1115
|
text: string;
|
|
1117
1116
|
seq: number;
|
|
1118
|
-
|
|
1117
|
+
timestamp: string;
|
|
1119
1118
|
iteration: number | null;
|
|
1119
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1120
1120
|
level: "error" | "info";
|
|
1121
1121
|
}[];
|
|
1122
1122
|
nextLogSeq: number;
|
|
@@ -1142,17 +1142,17 @@ export declare const LoopListResponseSchema: z.ZodObject<{
|
|
|
1142
1142
|
name: string | null;
|
|
1143
1143
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1144
1144
|
id: string;
|
|
1145
|
-
cwd: string;
|
|
1146
1145
|
createdAt: string;
|
|
1147
1146
|
updatedAt: string;
|
|
1147
|
+
cwd: string;
|
|
1148
1148
|
activeIteration: number | null;
|
|
1149
1149
|
}, {
|
|
1150
1150
|
name: string | null;
|
|
1151
1151
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1152
1152
|
id: string;
|
|
1153
|
-
cwd: string;
|
|
1154
1153
|
createdAt: string;
|
|
1155
1154
|
updatedAt: string;
|
|
1155
|
+
cwd: string;
|
|
1156
1156
|
activeIteration: number | null;
|
|
1157
1157
|
}>, "many">;
|
|
1158
1158
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -1163,9 +1163,9 @@ export declare const LoopListResponseSchema: z.ZodObject<{
|
|
|
1163
1163
|
name: string | null;
|
|
1164
1164
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1165
1165
|
id: string;
|
|
1166
|
-
cwd: string;
|
|
1167
1166
|
createdAt: string;
|
|
1168
1167
|
updatedAt: string;
|
|
1168
|
+
cwd: string;
|
|
1169
1169
|
activeIteration: number | null;
|
|
1170
1170
|
}[];
|
|
1171
1171
|
}, {
|
|
@@ -1175,9 +1175,9 @@ export declare const LoopListResponseSchema: z.ZodObject<{
|
|
|
1175
1175
|
name: string | null;
|
|
1176
1176
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1177
1177
|
id: string;
|
|
1178
|
-
cwd: string;
|
|
1179
1178
|
createdAt: string;
|
|
1180
1179
|
updatedAt: string;
|
|
1180
|
+
cwd: string;
|
|
1181
1181
|
activeIteration: number | null;
|
|
1182
1182
|
}[];
|
|
1183
1183
|
}>;
|
|
@@ -1190,9 +1190,9 @@ export declare const LoopListResponseSchema: z.ZodObject<{
|
|
|
1190
1190
|
name: string | null;
|
|
1191
1191
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1192
1192
|
id: string;
|
|
1193
|
-
cwd: string;
|
|
1194
1193
|
createdAt: string;
|
|
1195
1194
|
updatedAt: string;
|
|
1195
|
+
cwd: string;
|
|
1196
1196
|
activeIteration: number | null;
|
|
1197
1197
|
}[];
|
|
1198
1198
|
};
|
|
@@ -1205,9 +1205,9 @@ export declare const LoopListResponseSchema: z.ZodObject<{
|
|
|
1205
1205
|
name: string | null;
|
|
1206
1206
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1207
1207
|
id: string;
|
|
1208
|
-
cwd: string;
|
|
1209
1208
|
createdAt: string;
|
|
1210
1209
|
updatedAt: string;
|
|
1210
|
+
cwd: string;
|
|
1211
1211
|
activeIteration: number | null;
|
|
1212
1212
|
}[];
|
|
1213
1213
|
};
|
|
@@ -1258,20 +1258,20 @@ export declare const LoopInspectResponseSchema: z.ZodObject<{
|
|
|
1258
1258
|
completedAt: z.ZodString;
|
|
1259
1259
|
}, "strip", z.ZodTypeAny, {
|
|
1260
1260
|
command: string;
|
|
1261
|
-
startedAt: string;
|
|
1262
|
-
completedAt: string;
|
|
1263
1261
|
exitCode: number;
|
|
1264
1262
|
passed: boolean;
|
|
1265
1263
|
stdout: string;
|
|
1266
1264
|
stderr: string;
|
|
1267
|
-
}, {
|
|
1268
|
-
command: string;
|
|
1269
1265
|
startedAt: string;
|
|
1270
1266
|
completedAt: string;
|
|
1267
|
+
}, {
|
|
1268
|
+
command: string;
|
|
1271
1269
|
exitCode: number;
|
|
1272
1270
|
passed: boolean;
|
|
1273
1271
|
stdout: string;
|
|
1274
1272
|
stderr: string;
|
|
1273
|
+
startedAt: string;
|
|
1274
|
+
completedAt: string;
|
|
1275
1275
|
}>, "many">;
|
|
1276
1276
|
verifyPrompt: z.ZodNullable<z.ZodObject<{
|
|
1277
1277
|
passed: z.ZodBoolean;
|
|
@@ -1281,67 +1281,67 @@ export declare const LoopInspectResponseSchema: z.ZodObject<{
|
|
|
1281
1281
|
completedAt: z.ZodString;
|
|
1282
1282
|
}, "strip", z.ZodTypeAny, {
|
|
1283
1283
|
reason: string;
|
|
1284
|
+
passed: boolean;
|
|
1284
1285
|
startedAt: string;
|
|
1285
1286
|
completedAt: string;
|
|
1286
1287
|
verifierAgentId: string | null;
|
|
1287
|
-
passed: boolean;
|
|
1288
1288
|
}, {
|
|
1289
1289
|
reason: string;
|
|
1290
|
+
passed: boolean;
|
|
1290
1291
|
startedAt: string;
|
|
1291
1292
|
completedAt: string;
|
|
1292
1293
|
verifierAgentId: string | null;
|
|
1293
|
-
passed: boolean;
|
|
1294
1294
|
}>>;
|
|
1295
1295
|
}, "strip", z.ZodTypeAny, {
|
|
1296
1296
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1297
|
+
verifierAgentId: string | null;
|
|
1297
1298
|
index: number;
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
passed: boolean;
|
|
1304
|
-
} | null;
|
|
1299
|
+
workerAgentId: string | null;
|
|
1300
|
+
workerStartedAt: string;
|
|
1301
|
+
workerCompletedAt: string | null;
|
|
1302
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1303
|
+
failureReason: string | null;
|
|
1305
1304
|
verifyChecks: {
|
|
1306
1305
|
command: string;
|
|
1307
|
-
startedAt: string;
|
|
1308
|
-
completedAt: string;
|
|
1309
1306
|
exitCode: number;
|
|
1310
1307
|
passed: boolean;
|
|
1311
1308
|
stdout: string;
|
|
1312
1309
|
stderr: string;
|
|
1310
|
+
startedAt: string;
|
|
1311
|
+
completedAt: string;
|
|
1313
1312
|
}[];
|
|
1314
|
-
workerAgentId: string | null;
|
|
1315
|
-
workerStartedAt: string;
|
|
1316
|
-
workerCompletedAt: string | null;
|
|
1317
|
-
verifierAgentId: string | null;
|
|
1318
|
-
workerOutcome: "failed" | "completed" | "canceled" | null;
|
|
1319
|
-
failureReason: string | null;
|
|
1320
|
-
}, {
|
|
1321
|
-
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1322
|
-
index: number;
|
|
1323
1313
|
verifyPrompt: {
|
|
1324
1314
|
reason: string;
|
|
1315
|
+
passed: boolean;
|
|
1325
1316
|
startedAt: string;
|
|
1326
1317
|
completedAt: string;
|
|
1327
1318
|
verifierAgentId: string | null;
|
|
1328
|
-
passed: boolean;
|
|
1329
1319
|
} | null;
|
|
1320
|
+
}, {
|
|
1321
|
+
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1322
|
+
verifierAgentId: string | null;
|
|
1323
|
+
index: number;
|
|
1324
|
+
workerAgentId: string | null;
|
|
1325
|
+
workerStartedAt: string;
|
|
1326
|
+
workerCompletedAt: string | null;
|
|
1327
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1328
|
+
failureReason: string | null;
|
|
1330
1329
|
verifyChecks: {
|
|
1331
1330
|
command: string;
|
|
1332
|
-
startedAt: string;
|
|
1333
|
-
completedAt: string;
|
|
1334
1331
|
exitCode: number;
|
|
1335
1332
|
passed: boolean;
|
|
1336
1333
|
stdout: string;
|
|
1337
1334
|
stderr: string;
|
|
1335
|
+
startedAt: string;
|
|
1336
|
+
completedAt: string;
|
|
1338
1337
|
}[];
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1338
|
+
verifyPrompt: {
|
|
1339
|
+
reason: string;
|
|
1340
|
+
passed: boolean;
|
|
1341
|
+
startedAt: string;
|
|
1342
|
+
completedAt: string;
|
|
1343
|
+
verifierAgentId: string | null;
|
|
1344
|
+
} | null;
|
|
1345
1345
|
}>, "many">;
|
|
1346
1346
|
logs: z.ZodArray<z.ZodObject<{
|
|
1347
1347
|
seq: z.ZodNumber;
|
|
@@ -1351,18 +1351,18 @@ export declare const LoopInspectResponseSchema: z.ZodObject<{
|
|
|
1351
1351
|
level: z.ZodEnum<["info", "error"]>;
|
|
1352
1352
|
text: z.ZodString;
|
|
1353
1353
|
}, "strip", z.ZodTypeAny, {
|
|
1354
|
-
timestamp: string;
|
|
1355
1354
|
text: string;
|
|
1356
1355
|
seq: number;
|
|
1357
|
-
|
|
1356
|
+
timestamp: string;
|
|
1358
1357
|
iteration: number | null;
|
|
1358
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1359
1359
|
level: "error" | "info";
|
|
1360
1360
|
}, {
|
|
1361
|
-
timestamp: string;
|
|
1362
1361
|
text: string;
|
|
1363
1362
|
seq: number;
|
|
1364
|
-
|
|
1363
|
+
timestamp: string;
|
|
1365
1364
|
iteration: number | null;
|
|
1365
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1366
1366
|
level: "error" | "info";
|
|
1367
1367
|
}>, "many">;
|
|
1368
1368
|
nextLogSeq: z.ZodNumber;
|
|
@@ -1373,57 +1373,57 @@ export declare const LoopInspectResponseSchema: z.ZodObject<{
|
|
|
1373
1373
|
name: string | null;
|
|
1374
1374
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1375
1375
|
id: string;
|
|
1376
|
-
provider: string;
|
|
1377
|
-
cwd: string;
|
|
1378
|
-
model: string | null;
|
|
1379
1376
|
createdAt: string;
|
|
1380
1377
|
updatedAt: string;
|
|
1381
|
-
prompt: string;
|
|
1382
1378
|
startedAt: string;
|
|
1379
|
+
completedAt: string | null;
|
|
1380
|
+
verifyChecks: string[];
|
|
1381
|
+
verifyPrompt: string | null;
|
|
1382
|
+
prompt: string;
|
|
1383
|
+
cwd: string;
|
|
1384
|
+
provider: string;
|
|
1385
|
+
model: string | null;
|
|
1383
1386
|
workerProvider: string | null;
|
|
1384
1387
|
workerModel: string | null;
|
|
1385
1388
|
verifierProvider: string | null;
|
|
1386
1389
|
verifierModel: string | null;
|
|
1387
|
-
verifyPrompt: string | null;
|
|
1388
|
-
verifyChecks: string[];
|
|
1389
1390
|
archive: boolean;
|
|
1390
1391
|
sleepMs: number;
|
|
1391
1392
|
maxIterations: number | null;
|
|
1392
1393
|
maxTimeMs: number | null;
|
|
1393
|
-
completedAt: string | null;
|
|
1394
1394
|
stopRequestedAt: string | null;
|
|
1395
1395
|
iterations: {
|
|
1396
1396
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1397
|
+
verifierAgentId: string | null;
|
|
1397
1398
|
index: number;
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
passed: boolean;
|
|
1404
|
-
} | null;
|
|
1399
|
+
workerAgentId: string | null;
|
|
1400
|
+
workerStartedAt: string;
|
|
1401
|
+
workerCompletedAt: string | null;
|
|
1402
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1403
|
+
failureReason: string | null;
|
|
1405
1404
|
verifyChecks: {
|
|
1406
1405
|
command: string;
|
|
1407
|
-
startedAt: string;
|
|
1408
|
-
completedAt: string;
|
|
1409
1406
|
exitCode: number;
|
|
1410
1407
|
passed: boolean;
|
|
1411
1408
|
stdout: string;
|
|
1412
1409
|
stderr: string;
|
|
1410
|
+
startedAt: string;
|
|
1411
|
+
completedAt: string;
|
|
1413
1412
|
}[];
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1413
|
+
verifyPrompt: {
|
|
1414
|
+
reason: string;
|
|
1415
|
+
passed: boolean;
|
|
1416
|
+
startedAt: string;
|
|
1417
|
+
completedAt: string;
|
|
1418
|
+
verifierAgentId: string | null;
|
|
1419
|
+
} | null;
|
|
1420
1420
|
}[];
|
|
1421
1421
|
logs: {
|
|
1422
|
-
timestamp: string;
|
|
1423
1422
|
text: string;
|
|
1424
1423
|
seq: number;
|
|
1425
|
-
|
|
1424
|
+
timestamp: string;
|
|
1426
1425
|
iteration: number | null;
|
|
1426
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1427
1427
|
level: "error" | "info";
|
|
1428
1428
|
}[];
|
|
1429
1429
|
nextLogSeq: number;
|
|
@@ -1434,57 +1434,57 @@ export declare const LoopInspectResponseSchema: z.ZodObject<{
|
|
|
1434
1434
|
name: string | null;
|
|
1435
1435
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1436
1436
|
id: string;
|
|
1437
|
-
provider: string;
|
|
1438
|
-
cwd: string;
|
|
1439
|
-
model: string | null;
|
|
1440
1437
|
createdAt: string;
|
|
1441
1438
|
updatedAt: string;
|
|
1442
|
-
prompt: string;
|
|
1443
1439
|
startedAt: string;
|
|
1440
|
+
completedAt: string | null;
|
|
1441
|
+
verifyChecks: string[];
|
|
1442
|
+
verifyPrompt: string | null;
|
|
1443
|
+
prompt: string;
|
|
1444
|
+
cwd: string;
|
|
1445
|
+
provider: string;
|
|
1446
|
+
model: string | null;
|
|
1444
1447
|
workerProvider: string | null;
|
|
1445
1448
|
workerModel: string | null;
|
|
1446
1449
|
verifierProvider: string | null;
|
|
1447
1450
|
verifierModel: string | null;
|
|
1448
|
-
verifyPrompt: string | null;
|
|
1449
|
-
verifyChecks: string[];
|
|
1450
1451
|
archive: boolean;
|
|
1451
1452
|
sleepMs: number;
|
|
1452
1453
|
maxIterations: number | null;
|
|
1453
1454
|
maxTimeMs: number | null;
|
|
1454
|
-
completedAt: string | null;
|
|
1455
1455
|
stopRequestedAt: string | null;
|
|
1456
1456
|
iterations: {
|
|
1457
1457
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1458
|
+
verifierAgentId: string | null;
|
|
1458
1459
|
index: number;
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
passed: boolean;
|
|
1465
|
-
} | null;
|
|
1460
|
+
workerAgentId: string | null;
|
|
1461
|
+
workerStartedAt: string;
|
|
1462
|
+
workerCompletedAt: string | null;
|
|
1463
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1464
|
+
failureReason: string | null;
|
|
1466
1465
|
verifyChecks: {
|
|
1467
1466
|
command: string;
|
|
1468
|
-
startedAt: string;
|
|
1469
|
-
completedAt: string;
|
|
1470
1467
|
exitCode: number;
|
|
1471
1468
|
passed: boolean;
|
|
1472
1469
|
stdout: string;
|
|
1473
1470
|
stderr: string;
|
|
1471
|
+
startedAt: string;
|
|
1472
|
+
completedAt: string;
|
|
1474
1473
|
}[];
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1474
|
+
verifyPrompt: {
|
|
1475
|
+
reason: string;
|
|
1476
|
+
passed: boolean;
|
|
1477
|
+
startedAt: string;
|
|
1478
|
+
completedAt: string;
|
|
1479
|
+
verifierAgentId: string | null;
|
|
1480
|
+
} | null;
|
|
1481
1481
|
}[];
|
|
1482
1482
|
logs: {
|
|
1483
|
-
timestamp: string;
|
|
1484
1483
|
text: string;
|
|
1485
1484
|
seq: number;
|
|
1486
|
-
|
|
1485
|
+
timestamp: string;
|
|
1487
1486
|
iteration: number | null;
|
|
1487
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1488
1488
|
level: "error" | "info";
|
|
1489
1489
|
}[];
|
|
1490
1490
|
nextLogSeq: number;
|
|
@@ -1500,57 +1500,57 @@ export declare const LoopInspectResponseSchema: z.ZodObject<{
|
|
|
1500
1500
|
name: string | null;
|
|
1501
1501
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1502
1502
|
id: string;
|
|
1503
|
-
provider: string;
|
|
1504
|
-
cwd: string;
|
|
1505
|
-
model: string | null;
|
|
1506
1503
|
createdAt: string;
|
|
1507
1504
|
updatedAt: string;
|
|
1508
|
-
prompt: string;
|
|
1509
1505
|
startedAt: string;
|
|
1506
|
+
completedAt: string | null;
|
|
1507
|
+
verifyChecks: string[];
|
|
1508
|
+
verifyPrompt: string | null;
|
|
1509
|
+
prompt: string;
|
|
1510
|
+
cwd: string;
|
|
1511
|
+
provider: string;
|
|
1512
|
+
model: string | null;
|
|
1510
1513
|
workerProvider: string | null;
|
|
1511
1514
|
workerModel: string | null;
|
|
1512
1515
|
verifierProvider: string | null;
|
|
1513
1516
|
verifierModel: string | null;
|
|
1514
|
-
verifyPrompt: string | null;
|
|
1515
|
-
verifyChecks: string[];
|
|
1516
1517
|
archive: boolean;
|
|
1517
1518
|
sleepMs: number;
|
|
1518
1519
|
maxIterations: number | null;
|
|
1519
1520
|
maxTimeMs: number | null;
|
|
1520
|
-
completedAt: string | null;
|
|
1521
1521
|
stopRequestedAt: string | null;
|
|
1522
1522
|
iterations: {
|
|
1523
1523
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1524
|
+
verifierAgentId: string | null;
|
|
1524
1525
|
index: number;
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
passed: boolean;
|
|
1531
|
-
} | null;
|
|
1526
|
+
workerAgentId: string | null;
|
|
1527
|
+
workerStartedAt: string;
|
|
1528
|
+
workerCompletedAt: string | null;
|
|
1529
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1530
|
+
failureReason: string | null;
|
|
1532
1531
|
verifyChecks: {
|
|
1533
1532
|
command: string;
|
|
1534
|
-
startedAt: string;
|
|
1535
|
-
completedAt: string;
|
|
1536
1533
|
exitCode: number;
|
|
1537
1534
|
passed: boolean;
|
|
1538
1535
|
stdout: string;
|
|
1539
1536
|
stderr: string;
|
|
1537
|
+
startedAt: string;
|
|
1538
|
+
completedAt: string;
|
|
1540
1539
|
}[];
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1540
|
+
verifyPrompt: {
|
|
1541
|
+
reason: string;
|
|
1542
|
+
passed: boolean;
|
|
1543
|
+
startedAt: string;
|
|
1544
|
+
completedAt: string;
|
|
1545
|
+
verifierAgentId: string | null;
|
|
1546
|
+
} | null;
|
|
1547
1547
|
}[];
|
|
1548
1548
|
logs: {
|
|
1549
|
-
timestamp: string;
|
|
1550
1549
|
text: string;
|
|
1551
1550
|
seq: number;
|
|
1552
|
-
|
|
1551
|
+
timestamp: string;
|
|
1553
1552
|
iteration: number | null;
|
|
1553
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1554
1554
|
level: "error" | "info";
|
|
1555
1555
|
}[];
|
|
1556
1556
|
nextLogSeq: number;
|
|
@@ -1565,57 +1565,57 @@ export declare const LoopInspectResponseSchema: z.ZodObject<{
|
|
|
1565
1565
|
name: string | null;
|
|
1566
1566
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1567
1567
|
id: string;
|
|
1568
|
-
provider: string;
|
|
1569
|
-
cwd: string;
|
|
1570
|
-
model: string | null;
|
|
1571
1568
|
createdAt: string;
|
|
1572
1569
|
updatedAt: string;
|
|
1573
|
-
prompt: string;
|
|
1574
1570
|
startedAt: string;
|
|
1571
|
+
completedAt: string | null;
|
|
1572
|
+
verifyChecks: string[];
|
|
1573
|
+
verifyPrompt: string | null;
|
|
1574
|
+
prompt: string;
|
|
1575
|
+
cwd: string;
|
|
1576
|
+
provider: string;
|
|
1577
|
+
model: string | null;
|
|
1575
1578
|
workerProvider: string | null;
|
|
1576
1579
|
workerModel: string | null;
|
|
1577
1580
|
verifierProvider: string | null;
|
|
1578
1581
|
verifierModel: string | null;
|
|
1579
|
-
verifyPrompt: string | null;
|
|
1580
|
-
verifyChecks: string[];
|
|
1581
1582
|
archive: boolean;
|
|
1582
1583
|
sleepMs: number;
|
|
1583
1584
|
maxIterations: number | null;
|
|
1584
1585
|
maxTimeMs: number | null;
|
|
1585
|
-
completedAt: string | null;
|
|
1586
1586
|
stopRequestedAt: string | null;
|
|
1587
1587
|
iterations: {
|
|
1588
1588
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1589
|
+
verifierAgentId: string | null;
|
|
1589
1590
|
index: number;
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
passed: boolean;
|
|
1596
|
-
} | null;
|
|
1591
|
+
workerAgentId: string | null;
|
|
1592
|
+
workerStartedAt: string;
|
|
1593
|
+
workerCompletedAt: string | null;
|
|
1594
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1595
|
+
failureReason: string | null;
|
|
1597
1596
|
verifyChecks: {
|
|
1598
1597
|
command: string;
|
|
1599
|
-
startedAt: string;
|
|
1600
|
-
completedAt: string;
|
|
1601
1598
|
exitCode: number;
|
|
1602
1599
|
passed: boolean;
|
|
1603
1600
|
stdout: string;
|
|
1604
1601
|
stderr: string;
|
|
1602
|
+
startedAt: string;
|
|
1603
|
+
completedAt: string;
|
|
1605
1604
|
}[];
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1605
|
+
verifyPrompt: {
|
|
1606
|
+
reason: string;
|
|
1607
|
+
passed: boolean;
|
|
1608
|
+
startedAt: string;
|
|
1609
|
+
completedAt: string;
|
|
1610
|
+
verifierAgentId: string | null;
|
|
1611
|
+
} | null;
|
|
1612
1612
|
}[];
|
|
1613
1613
|
logs: {
|
|
1614
|
-
timestamp: string;
|
|
1615
1614
|
text: string;
|
|
1616
1615
|
seq: number;
|
|
1617
|
-
|
|
1616
|
+
timestamp: string;
|
|
1618
1617
|
iteration: number | null;
|
|
1618
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1619
1619
|
level: "error" | "info";
|
|
1620
1620
|
}[];
|
|
1621
1621
|
nextLogSeq: number;
|
|
@@ -1633,57 +1633,57 @@ export declare const LoopInspectResponseSchema: z.ZodObject<{
|
|
|
1633
1633
|
name: string | null;
|
|
1634
1634
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1635
1635
|
id: string;
|
|
1636
|
-
provider: string;
|
|
1637
|
-
cwd: string;
|
|
1638
|
-
model: string | null;
|
|
1639
1636
|
createdAt: string;
|
|
1640
1637
|
updatedAt: string;
|
|
1641
|
-
prompt: string;
|
|
1642
1638
|
startedAt: string;
|
|
1639
|
+
completedAt: string | null;
|
|
1640
|
+
verifyChecks: string[];
|
|
1641
|
+
verifyPrompt: string | null;
|
|
1642
|
+
prompt: string;
|
|
1643
|
+
cwd: string;
|
|
1644
|
+
provider: string;
|
|
1645
|
+
model: string | null;
|
|
1643
1646
|
workerProvider: string | null;
|
|
1644
1647
|
workerModel: string | null;
|
|
1645
1648
|
verifierProvider: string | null;
|
|
1646
1649
|
verifierModel: string | null;
|
|
1647
|
-
verifyPrompt: string | null;
|
|
1648
|
-
verifyChecks: string[];
|
|
1649
1650
|
archive: boolean;
|
|
1650
1651
|
sleepMs: number;
|
|
1651
1652
|
maxIterations: number | null;
|
|
1652
1653
|
maxTimeMs: number | null;
|
|
1653
|
-
completedAt: string | null;
|
|
1654
1654
|
stopRequestedAt: string | null;
|
|
1655
1655
|
iterations: {
|
|
1656
1656
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1657
|
+
verifierAgentId: string | null;
|
|
1657
1658
|
index: number;
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
passed: boolean;
|
|
1664
|
-
} | null;
|
|
1659
|
+
workerAgentId: string | null;
|
|
1660
|
+
workerStartedAt: string;
|
|
1661
|
+
workerCompletedAt: string | null;
|
|
1662
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1663
|
+
failureReason: string | null;
|
|
1665
1664
|
verifyChecks: {
|
|
1666
1665
|
command: string;
|
|
1667
|
-
startedAt: string;
|
|
1668
|
-
completedAt: string;
|
|
1669
1666
|
exitCode: number;
|
|
1670
1667
|
passed: boolean;
|
|
1671
1668
|
stdout: string;
|
|
1672
1669
|
stderr: string;
|
|
1670
|
+
startedAt: string;
|
|
1671
|
+
completedAt: string;
|
|
1673
1672
|
}[];
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1673
|
+
verifyPrompt: {
|
|
1674
|
+
reason: string;
|
|
1675
|
+
passed: boolean;
|
|
1676
|
+
startedAt: string;
|
|
1677
|
+
completedAt: string;
|
|
1678
|
+
verifierAgentId: string | null;
|
|
1679
|
+
} | null;
|
|
1680
1680
|
}[];
|
|
1681
1681
|
logs: {
|
|
1682
|
-
timestamp: string;
|
|
1683
1682
|
text: string;
|
|
1684
1683
|
seq: number;
|
|
1685
|
-
|
|
1684
|
+
timestamp: string;
|
|
1686
1685
|
iteration: number | null;
|
|
1686
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1687
1687
|
level: "error" | "info";
|
|
1688
1688
|
}[];
|
|
1689
1689
|
nextLogSeq: number;
|
|
@@ -1701,57 +1701,57 @@ export declare const LoopInspectResponseSchema: z.ZodObject<{
|
|
|
1701
1701
|
name: string | null;
|
|
1702
1702
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1703
1703
|
id: string;
|
|
1704
|
-
provider: string;
|
|
1705
|
-
cwd: string;
|
|
1706
|
-
model: string | null;
|
|
1707
1704
|
createdAt: string;
|
|
1708
1705
|
updatedAt: string;
|
|
1709
|
-
prompt: string;
|
|
1710
1706
|
startedAt: string;
|
|
1707
|
+
completedAt: string | null;
|
|
1708
|
+
verifyChecks: string[];
|
|
1709
|
+
verifyPrompt: string | null;
|
|
1710
|
+
prompt: string;
|
|
1711
|
+
cwd: string;
|
|
1712
|
+
provider: string;
|
|
1713
|
+
model: string | null;
|
|
1711
1714
|
workerProvider: string | null;
|
|
1712
1715
|
workerModel: string | null;
|
|
1713
1716
|
verifierProvider: string | null;
|
|
1714
1717
|
verifierModel: string | null;
|
|
1715
|
-
verifyPrompt: string | null;
|
|
1716
|
-
verifyChecks: string[];
|
|
1717
1718
|
archive: boolean;
|
|
1718
1719
|
sleepMs: number;
|
|
1719
1720
|
maxIterations: number | null;
|
|
1720
1721
|
maxTimeMs: number | null;
|
|
1721
|
-
completedAt: string | null;
|
|
1722
1722
|
stopRequestedAt: string | null;
|
|
1723
1723
|
iterations: {
|
|
1724
1724
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1725
|
+
verifierAgentId: string | null;
|
|
1725
1726
|
index: number;
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
passed: boolean;
|
|
1732
|
-
} | null;
|
|
1727
|
+
workerAgentId: string | null;
|
|
1728
|
+
workerStartedAt: string;
|
|
1729
|
+
workerCompletedAt: string | null;
|
|
1730
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1731
|
+
failureReason: string | null;
|
|
1733
1732
|
verifyChecks: {
|
|
1734
1733
|
command: string;
|
|
1735
|
-
startedAt: string;
|
|
1736
|
-
completedAt: string;
|
|
1737
1734
|
exitCode: number;
|
|
1738
1735
|
passed: boolean;
|
|
1739
1736
|
stdout: string;
|
|
1740
1737
|
stderr: string;
|
|
1738
|
+
startedAt: string;
|
|
1739
|
+
completedAt: string;
|
|
1741
1740
|
}[];
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1741
|
+
verifyPrompt: {
|
|
1742
|
+
reason: string;
|
|
1743
|
+
passed: boolean;
|
|
1744
|
+
startedAt: string;
|
|
1745
|
+
completedAt: string;
|
|
1746
|
+
verifierAgentId: string | null;
|
|
1747
|
+
} | null;
|
|
1748
1748
|
}[];
|
|
1749
1749
|
logs: {
|
|
1750
|
-
timestamp: string;
|
|
1751
1750
|
text: string;
|
|
1752
1751
|
seq: number;
|
|
1753
|
-
|
|
1752
|
+
timestamp: string;
|
|
1754
1753
|
iteration: number | null;
|
|
1754
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1755
1755
|
level: "error" | "info";
|
|
1756
1756
|
}[];
|
|
1757
1757
|
nextLogSeq: number;
|
|
@@ -1807,20 +1807,20 @@ export declare const LoopLogsResponseSchema: z.ZodObject<{
|
|
|
1807
1807
|
completedAt: z.ZodString;
|
|
1808
1808
|
}, "strip", z.ZodTypeAny, {
|
|
1809
1809
|
command: string;
|
|
1810
|
-
startedAt: string;
|
|
1811
|
-
completedAt: string;
|
|
1812
1810
|
exitCode: number;
|
|
1813
1811
|
passed: boolean;
|
|
1814
1812
|
stdout: string;
|
|
1815
1813
|
stderr: string;
|
|
1816
|
-
}, {
|
|
1817
|
-
command: string;
|
|
1818
1814
|
startedAt: string;
|
|
1819
1815
|
completedAt: string;
|
|
1816
|
+
}, {
|
|
1817
|
+
command: string;
|
|
1820
1818
|
exitCode: number;
|
|
1821
1819
|
passed: boolean;
|
|
1822
1820
|
stdout: string;
|
|
1823
1821
|
stderr: string;
|
|
1822
|
+
startedAt: string;
|
|
1823
|
+
completedAt: string;
|
|
1824
1824
|
}>, "many">;
|
|
1825
1825
|
verifyPrompt: z.ZodNullable<z.ZodObject<{
|
|
1826
1826
|
passed: z.ZodBoolean;
|
|
@@ -1830,88 +1830,88 @@ export declare const LoopLogsResponseSchema: z.ZodObject<{
|
|
|
1830
1830
|
completedAt: z.ZodString;
|
|
1831
1831
|
}, "strip", z.ZodTypeAny, {
|
|
1832
1832
|
reason: string;
|
|
1833
|
+
passed: boolean;
|
|
1833
1834
|
startedAt: string;
|
|
1834
1835
|
completedAt: string;
|
|
1835
1836
|
verifierAgentId: string | null;
|
|
1836
|
-
passed: boolean;
|
|
1837
1837
|
}, {
|
|
1838
1838
|
reason: string;
|
|
1839
|
+
passed: boolean;
|
|
1839
1840
|
startedAt: string;
|
|
1840
1841
|
completedAt: string;
|
|
1841
1842
|
verifierAgentId: string | null;
|
|
1842
|
-
passed: boolean;
|
|
1843
1843
|
}>>;
|
|
1844
1844
|
}, "strip", z.ZodTypeAny, {
|
|
1845
1845
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1846
|
+
verifierAgentId: string | null;
|
|
1846
1847
|
index: number;
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
passed: boolean;
|
|
1853
|
-
} | null;
|
|
1848
|
+
workerAgentId: string | null;
|
|
1849
|
+
workerStartedAt: string;
|
|
1850
|
+
workerCompletedAt: string | null;
|
|
1851
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1852
|
+
failureReason: string | null;
|
|
1854
1853
|
verifyChecks: {
|
|
1855
1854
|
command: string;
|
|
1856
|
-
startedAt: string;
|
|
1857
|
-
completedAt: string;
|
|
1858
1855
|
exitCode: number;
|
|
1859
1856
|
passed: boolean;
|
|
1860
1857
|
stdout: string;
|
|
1861
1858
|
stderr: string;
|
|
1859
|
+
startedAt: string;
|
|
1860
|
+
completedAt: string;
|
|
1862
1861
|
}[];
|
|
1863
|
-
workerAgentId: string | null;
|
|
1864
|
-
workerStartedAt: string;
|
|
1865
|
-
workerCompletedAt: string | null;
|
|
1866
|
-
verifierAgentId: string | null;
|
|
1867
|
-
workerOutcome: "failed" | "completed" | "canceled" | null;
|
|
1868
|
-
failureReason: string | null;
|
|
1869
|
-
}, {
|
|
1870
|
-
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1871
|
-
index: number;
|
|
1872
1862
|
verifyPrompt: {
|
|
1873
1863
|
reason: string;
|
|
1864
|
+
passed: boolean;
|
|
1874
1865
|
startedAt: string;
|
|
1875
1866
|
completedAt: string;
|
|
1876
1867
|
verifierAgentId: string | null;
|
|
1877
|
-
passed: boolean;
|
|
1878
1868
|
} | null;
|
|
1869
|
+
}, {
|
|
1870
|
+
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1871
|
+
verifierAgentId: string | null;
|
|
1872
|
+
index: number;
|
|
1873
|
+
workerAgentId: string | null;
|
|
1874
|
+
workerStartedAt: string;
|
|
1875
|
+
workerCompletedAt: string | null;
|
|
1876
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1877
|
+
failureReason: string | null;
|
|
1879
1878
|
verifyChecks: {
|
|
1880
1879
|
command: string;
|
|
1881
|
-
startedAt: string;
|
|
1882
|
-
completedAt: string;
|
|
1883
1880
|
exitCode: number;
|
|
1884
1881
|
passed: boolean;
|
|
1885
1882
|
stdout: string;
|
|
1886
1883
|
stderr: string;
|
|
1884
|
+
startedAt: string;
|
|
1885
|
+
completedAt: string;
|
|
1887
1886
|
}[];
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1887
|
+
verifyPrompt: {
|
|
1888
|
+
reason: string;
|
|
1889
|
+
passed: boolean;
|
|
1890
|
+
startedAt: string;
|
|
1891
|
+
completedAt: string;
|
|
1892
|
+
verifierAgentId: string | null;
|
|
1893
|
+
} | null;
|
|
1894
|
+
}>, "many">;
|
|
1895
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
1896
|
+
seq: z.ZodNumber;
|
|
1897
|
+
timestamp: z.ZodString;
|
|
1898
|
+
iteration: z.ZodNullable<z.ZodNumber>;
|
|
1899
1899
|
source: z.ZodEnum<["loop", "worker", "verifier", "verify-check"]>;
|
|
1900
1900
|
level: z.ZodEnum<["info", "error"]>;
|
|
1901
1901
|
text: z.ZodString;
|
|
1902
1902
|
}, "strip", z.ZodTypeAny, {
|
|
1903
|
-
timestamp: string;
|
|
1904
1903
|
text: string;
|
|
1905
1904
|
seq: number;
|
|
1906
|
-
|
|
1905
|
+
timestamp: string;
|
|
1907
1906
|
iteration: number | null;
|
|
1907
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1908
1908
|
level: "error" | "info";
|
|
1909
1909
|
}, {
|
|
1910
|
-
timestamp: string;
|
|
1911
1910
|
text: string;
|
|
1912
1911
|
seq: number;
|
|
1913
|
-
|
|
1912
|
+
timestamp: string;
|
|
1914
1913
|
iteration: number | null;
|
|
1914
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1915
1915
|
level: "error" | "info";
|
|
1916
1916
|
}>, "many">;
|
|
1917
1917
|
nextLogSeq: z.ZodNumber;
|
|
@@ -1922,57 +1922,57 @@ export declare const LoopLogsResponseSchema: z.ZodObject<{
|
|
|
1922
1922
|
name: string | null;
|
|
1923
1923
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1924
1924
|
id: string;
|
|
1925
|
-
provider: string;
|
|
1926
|
-
cwd: string;
|
|
1927
|
-
model: string | null;
|
|
1928
1925
|
createdAt: string;
|
|
1929
1926
|
updatedAt: string;
|
|
1930
|
-
prompt: string;
|
|
1931
1927
|
startedAt: string;
|
|
1928
|
+
completedAt: string | null;
|
|
1929
|
+
verifyChecks: string[];
|
|
1930
|
+
verifyPrompt: string | null;
|
|
1931
|
+
prompt: string;
|
|
1932
|
+
cwd: string;
|
|
1933
|
+
provider: string;
|
|
1934
|
+
model: string | null;
|
|
1932
1935
|
workerProvider: string | null;
|
|
1933
1936
|
workerModel: string | null;
|
|
1934
1937
|
verifierProvider: string | null;
|
|
1935
1938
|
verifierModel: string | null;
|
|
1936
|
-
verifyPrompt: string | null;
|
|
1937
|
-
verifyChecks: string[];
|
|
1938
1939
|
archive: boolean;
|
|
1939
1940
|
sleepMs: number;
|
|
1940
1941
|
maxIterations: number | null;
|
|
1941
1942
|
maxTimeMs: number | null;
|
|
1942
|
-
completedAt: string | null;
|
|
1943
1943
|
stopRequestedAt: string | null;
|
|
1944
1944
|
iterations: {
|
|
1945
1945
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1946
|
+
verifierAgentId: string | null;
|
|
1946
1947
|
index: number;
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
passed: boolean;
|
|
1953
|
-
} | null;
|
|
1948
|
+
workerAgentId: string | null;
|
|
1949
|
+
workerStartedAt: string;
|
|
1950
|
+
workerCompletedAt: string | null;
|
|
1951
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
1952
|
+
failureReason: string | null;
|
|
1954
1953
|
verifyChecks: {
|
|
1955
1954
|
command: string;
|
|
1956
|
-
startedAt: string;
|
|
1957
|
-
completedAt: string;
|
|
1958
1955
|
exitCode: number;
|
|
1959
1956
|
passed: boolean;
|
|
1960
1957
|
stdout: string;
|
|
1961
1958
|
stderr: string;
|
|
1959
|
+
startedAt: string;
|
|
1960
|
+
completedAt: string;
|
|
1962
1961
|
}[];
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1962
|
+
verifyPrompt: {
|
|
1963
|
+
reason: string;
|
|
1964
|
+
passed: boolean;
|
|
1965
|
+
startedAt: string;
|
|
1966
|
+
completedAt: string;
|
|
1967
|
+
verifierAgentId: string | null;
|
|
1968
|
+
} | null;
|
|
1969
1969
|
}[];
|
|
1970
1970
|
logs: {
|
|
1971
|
-
timestamp: string;
|
|
1972
1971
|
text: string;
|
|
1973
1972
|
seq: number;
|
|
1974
|
-
|
|
1973
|
+
timestamp: string;
|
|
1975
1974
|
iteration: number | null;
|
|
1975
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
1976
1976
|
level: "error" | "info";
|
|
1977
1977
|
}[];
|
|
1978
1978
|
nextLogSeq: number;
|
|
@@ -1983,57 +1983,57 @@ export declare const LoopLogsResponseSchema: z.ZodObject<{
|
|
|
1983
1983
|
name: string | null;
|
|
1984
1984
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
1985
1985
|
id: string;
|
|
1986
|
-
provider: string;
|
|
1987
|
-
cwd: string;
|
|
1988
|
-
model: string | null;
|
|
1989
1986
|
createdAt: string;
|
|
1990
1987
|
updatedAt: string;
|
|
1991
|
-
prompt: string;
|
|
1992
1988
|
startedAt: string;
|
|
1989
|
+
completedAt: string | null;
|
|
1990
|
+
verifyChecks: string[];
|
|
1991
|
+
verifyPrompt: string | null;
|
|
1992
|
+
prompt: string;
|
|
1993
|
+
cwd: string;
|
|
1994
|
+
provider: string;
|
|
1995
|
+
model: string | null;
|
|
1993
1996
|
workerProvider: string | null;
|
|
1994
1997
|
workerModel: string | null;
|
|
1995
1998
|
verifierProvider: string | null;
|
|
1996
1999
|
verifierModel: string | null;
|
|
1997
|
-
verifyPrompt: string | null;
|
|
1998
|
-
verifyChecks: string[];
|
|
1999
2000
|
archive: boolean;
|
|
2000
2001
|
sleepMs: number;
|
|
2001
2002
|
maxIterations: number | null;
|
|
2002
2003
|
maxTimeMs: number | null;
|
|
2003
|
-
completedAt: string | null;
|
|
2004
2004
|
stopRequestedAt: string | null;
|
|
2005
2005
|
iterations: {
|
|
2006
2006
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2007
|
+
verifierAgentId: string | null;
|
|
2007
2008
|
index: number;
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
passed: boolean;
|
|
2014
|
-
} | null;
|
|
2009
|
+
workerAgentId: string | null;
|
|
2010
|
+
workerStartedAt: string;
|
|
2011
|
+
workerCompletedAt: string | null;
|
|
2012
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2013
|
+
failureReason: string | null;
|
|
2015
2014
|
verifyChecks: {
|
|
2016
2015
|
command: string;
|
|
2017
|
-
startedAt: string;
|
|
2018
|
-
completedAt: string;
|
|
2019
2016
|
exitCode: number;
|
|
2020
2017
|
passed: boolean;
|
|
2021
2018
|
stdout: string;
|
|
2022
2019
|
stderr: string;
|
|
2020
|
+
startedAt: string;
|
|
2021
|
+
completedAt: string;
|
|
2023
2022
|
}[];
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2023
|
+
verifyPrompt: {
|
|
2024
|
+
reason: string;
|
|
2025
|
+
passed: boolean;
|
|
2026
|
+
startedAt: string;
|
|
2027
|
+
completedAt: string;
|
|
2028
|
+
verifierAgentId: string | null;
|
|
2029
|
+
} | null;
|
|
2030
2030
|
}[];
|
|
2031
2031
|
logs: {
|
|
2032
|
-
timestamp: string;
|
|
2033
2032
|
text: string;
|
|
2034
2033
|
seq: number;
|
|
2035
|
-
|
|
2034
|
+
timestamp: string;
|
|
2036
2035
|
iteration: number | null;
|
|
2036
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2037
2037
|
level: "error" | "info";
|
|
2038
2038
|
}[];
|
|
2039
2039
|
nextLogSeq: number;
|
|
@@ -2049,18 +2049,18 @@ export declare const LoopLogsResponseSchema: z.ZodObject<{
|
|
|
2049
2049
|
level: z.ZodEnum<["info", "error"]>;
|
|
2050
2050
|
text: z.ZodString;
|
|
2051
2051
|
}, "strip", z.ZodTypeAny, {
|
|
2052
|
-
timestamp: string;
|
|
2053
2052
|
text: string;
|
|
2054
2053
|
seq: number;
|
|
2055
|
-
|
|
2054
|
+
timestamp: string;
|
|
2056
2055
|
iteration: number | null;
|
|
2056
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2057
2057
|
level: "error" | "info";
|
|
2058
2058
|
}, {
|
|
2059
|
-
timestamp: string;
|
|
2060
2059
|
text: string;
|
|
2061
2060
|
seq: number;
|
|
2062
|
-
|
|
2061
|
+
timestamp: string;
|
|
2063
2062
|
iteration: number | null;
|
|
2063
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2064
2064
|
level: "error" | "info";
|
|
2065
2065
|
}>, "many">;
|
|
2066
2066
|
nextCursor: z.ZodNumber;
|
|
@@ -2068,70 +2068,69 @@ export declare const LoopLogsResponseSchema: z.ZodObject<{
|
|
|
2068
2068
|
}, "strip", z.ZodTypeAny, {
|
|
2069
2069
|
error: string | null;
|
|
2070
2070
|
entries: {
|
|
2071
|
-
timestamp: string;
|
|
2072
2071
|
text: string;
|
|
2073
2072
|
seq: number;
|
|
2074
|
-
|
|
2073
|
+
timestamp: string;
|
|
2075
2074
|
iteration: number | null;
|
|
2075
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2076
2076
|
level: "error" | "info";
|
|
2077
2077
|
}[];
|
|
2078
2078
|
requestId: string;
|
|
2079
|
-
nextCursor: number;
|
|
2080
2079
|
loop: {
|
|
2081
2080
|
name: string | null;
|
|
2082
2081
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2083
2082
|
id: string;
|
|
2084
|
-
provider: string;
|
|
2085
|
-
cwd: string;
|
|
2086
|
-
model: string | null;
|
|
2087
2083
|
createdAt: string;
|
|
2088
2084
|
updatedAt: string;
|
|
2089
|
-
prompt: string;
|
|
2090
2085
|
startedAt: string;
|
|
2086
|
+
completedAt: string | null;
|
|
2087
|
+
verifyChecks: string[];
|
|
2088
|
+
verifyPrompt: string | null;
|
|
2089
|
+
prompt: string;
|
|
2090
|
+
cwd: string;
|
|
2091
|
+
provider: string;
|
|
2092
|
+
model: string | null;
|
|
2091
2093
|
workerProvider: string | null;
|
|
2092
2094
|
workerModel: string | null;
|
|
2093
2095
|
verifierProvider: string | null;
|
|
2094
2096
|
verifierModel: string | null;
|
|
2095
|
-
verifyPrompt: string | null;
|
|
2096
|
-
verifyChecks: string[];
|
|
2097
2097
|
archive: boolean;
|
|
2098
2098
|
sleepMs: number;
|
|
2099
2099
|
maxIterations: number | null;
|
|
2100
2100
|
maxTimeMs: number | null;
|
|
2101
|
-
completedAt: string | null;
|
|
2102
2101
|
stopRequestedAt: string | null;
|
|
2103
2102
|
iterations: {
|
|
2104
2103
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2104
|
+
verifierAgentId: string | null;
|
|
2105
2105
|
index: number;
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
passed: boolean;
|
|
2112
|
-
} | null;
|
|
2106
|
+
workerAgentId: string | null;
|
|
2107
|
+
workerStartedAt: string;
|
|
2108
|
+
workerCompletedAt: string | null;
|
|
2109
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2110
|
+
failureReason: string | null;
|
|
2113
2111
|
verifyChecks: {
|
|
2114
2112
|
command: string;
|
|
2115
|
-
startedAt: string;
|
|
2116
|
-
completedAt: string;
|
|
2117
2113
|
exitCode: number;
|
|
2118
2114
|
passed: boolean;
|
|
2119
2115
|
stdout: string;
|
|
2120
2116
|
stderr: string;
|
|
2117
|
+
startedAt: string;
|
|
2118
|
+
completedAt: string;
|
|
2121
2119
|
}[];
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2120
|
+
verifyPrompt: {
|
|
2121
|
+
reason: string;
|
|
2122
|
+
passed: boolean;
|
|
2123
|
+
startedAt: string;
|
|
2124
|
+
completedAt: string;
|
|
2125
|
+
verifierAgentId: string | null;
|
|
2126
|
+
} | null;
|
|
2128
2127
|
}[];
|
|
2129
2128
|
logs: {
|
|
2130
|
-
timestamp: string;
|
|
2131
2129
|
text: string;
|
|
2132
2130
|
seq: number;
|
|
2133
|
-
|
|
2131
|
+
timestamp: string;
|
|
2134
2132
|
iteration: number | null;
|
|
2133
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2135
2134
|
level: "error" | "info";
|
|
2136
2135
|
}[];
|
|
2137
2136
|
nextLogSeq: number;
|
|
@@ -2139,73 +2138,73 @@ export declare const LoopLogsResponseSchema: z.ZodObject<{
|
|
|
2139
2138
|
activeWorkerAgentId: string | null;
|
|
2140
2139
|
activeVerifierAgentId: string | null;
|
|
2141
2140
|
} | null;
|
|
2141
|
+
nextCursor: number;
|
|
2142
2142
|
}, {
|
|
2143
2143
|
error: string | null;
|
|
2144
2144
|
entries: {
|
|
2145
|
-
timestamp: string;
|
|
2146
2145
|
text: string;
|
|
2147
2146
|
seq: number;
|
|
2148
|
-
|
|
2147
|
+
timestamp: string;
|
|
2149
2148
|
iteration: number | null;
|
|
2149
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2150
2150
|
level: "error" | "info";
|
|
2151
2151
|
}[];
|
|
2152
2152
|
requestId: string;
|
|
2153
|
-
nextCursor: number;
|
|
2154
2153
|
loop: {
|
|
2155
2154
|
name: string | null;
|
|
2156
2155
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2157
2156
|
id: string;
|
|
2158
|
-
provider: string;
|
|
2159
|
-
cwd: string;
|
|
2160
|
-
model: string | null;
|
|
2161
2157
|
createdAt: string;
|
|
2162
2158
|
updatedAt: string;
|
|
2163
|
-
prompt: string;
|
|
2164
2159
|
startedAt: string;
|
|
2160
|
+
completedAt: string | null;
|
|
2161
|
+
verifyChecks: string[];
|
|
2162
|
+
verifyPrompt: string | null;
|
|
2163
|
+
prompt: string;
|
|
2164
|
+
cwd: string;
|
|
2165
|
+
provider: string;
|
|
2166
|
+
model: string | null;
|
|
2165
2167
|
workerProvider: string | null;
|
|
2166
2168
|
workerModel: string | null;
|
|
2167
2169
|
verifierProvider: string | null;
|
|
2168
2170
|
verifierModel: string | null;
|
|
2169
|
-
verifyPrompt: string | null;
|
|
2170
|
-
verifyChecks: string[];
|
|
2171
2171
|
archive: boolean;
|
|
2172
2172
|
sleepMs: number;
|
|
2173
2173
|
maxIterations: number | null;
|
|
2174
2174
|
maxTimeMs: number | null;
|
|
2175
|
-
completedAt: string | null;
|
|
2176
2175
|
stopRequestedAt: string | null;
|
|
2177
2176
|
iterations: {
|
|
2178
2177
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2178
|
+
verifierAgentId: string | null;
|
|
2179
2179
|
index: number;
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
passed: boolean;
|
|
2186
|
-
} | null;
|
|
2180
|
+
workerAgentId: string | null;
|
|
2181
|
+
workerStartedAt: string;
|
|
2182
|
+
workerCompletedAt: string | null;
|
|
2183
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2184
|
+
failureReason: string | null;
|
|
2187
2185
|
verifyChecks: {
|
|
2188
2186
|
command: string;
|
|
2189
|
-
startedAt: string;
|
|
2190
|
-
completedAt: string;
|
|
2191
2187
|
exitCode: number;
|
|
2192
2188
|
passed: boolean;
|
|
2193
2189
|
stdout: string;
|
|
2194
2190
|
stderr: string;
|
|
2191
|
+
startedAt: string;
|
|
2192
|
+
completedAt: string;
|
|
2195
2193
|
}[];
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2194
|
+
verifyPrompt: {
|
|
2195
|
+
reason: string;
|
|
2196
|
+
passed: boolean;
|
|
2197
|
+
startedAt: string;
|
|
2198
|
+
completedAt: string;
|
|
2199
|
+
verifierAgentId: string | null;
|
|
2200
|
+
} | null;
|
|
2202
2201
|
}[];
|
|
2203
2202
|
logs: {
|
|
2204
|
-
timestamp: string;
|
|
2205
2203
|
text: string;
|
|
2206
2204
|
seq: number;
|
|
2207
|
-
|
|
2205
|
+
timestamp: string;
|
|
2208
2206
|
iteration: number | null;
|
|
2207
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2209
2208
|
level: "error" | "info";
|
|
2210
2209
|
}[];
|
|
2211
2210
|
nextLogSeq: number;
|
|
@@ -2213,76 +2212,76 @@ export declare const LoopLogsResponseSchema: z.ZodObject<{
|
|
|
2213
2212
|
activeWorkerAgentId: string | null;
|
|
2214
2213
|
activeVerifierAgentId: string | null;
|
|
2215
2214
|
} | null;
|
|
2215
|
+
nextCursor: number;
|
|
2216
2216
|
}>;
|
|
2217
2217
|
}, "strip", z.ZodTypeAny, {
|
|
2218
2218
|
type: "loop/logs/response";
|
|
2219
2219
|
payload: {
|
|
2220
2220
|
error: string | null;
|
|
2221
2221
|
entries: {
|
|
2222
|
-
timestamp: string;
|
|
2223
2222
|
text: string;
|
|
2224
2223
|
seq: number;
|
|
2225
|
-
|
|
2224
|
+
timestamp: string;
|
|
2226
2225
|
iteration: number | null;
|
|
2226
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2227
2227
|
level: "error" | "info";
|
|
2228
2228
|
}[];
|
|
2229
2229
|
requestId: string;
|
|
2230
|
-
nextCursor: number;
|
|
2231
2230
|
loop: {
|
|
2232
2231
|
name: string | null;
|
|
2233
2232
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2234
2233
|
id: string;
|
|
2235
|
-
provider: string;
|
|
2236
|
-
cwd: string;
|
|
2237
|
-
model: string | null;
|
|
2238
2234
|
createdAt: string;
|
|
2239
2235
|
updatedAt: string;
|
|
2240
|
-
prompt: string;
|
|
2241
2236
|
startedAt: string;
|
|
2237
|
+
completedAt: string | null;
|
|
2238
|
+
verifyChecks: string[];
|
|
2239
|
+
verifyPrompt: string | null;
|
|
2240
|
+
prompt: string;
|
|
2241
|
+
cwd: string;
|
|
2242
|
+
provider: string;
|
|
2243
|
+
model: string | null;
|
|
2242
2244
|
workerProvider: string | null;
|
|
2243
2245
|
workerModel: string | null;
|
|
2244
2246
|
verifierProvider: string | null;
|
|
2245
2247
|
verifierModel: string | null;
|
|
2246
|
-
verifyPrompt: string | null;
|
|
2247
|
-
verifyChecks: string[];
|
|
2248
2248
|
archive: boolean;
|
|
2249
2249
|
sleepMs: number;
|
|
2250
2250
|
maxIterations: number | null;
|
|
2251
2251
|
maxTimeMs: number | null;
|
|
2252
|
-
completedAt: string | null;
|
|
2253
2252
|
stopRequestedAt: string | null;
|
|
2254
2253
|
iterations: {
|
|
2255
2254
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2255
|
+
verifierAgentId: string | null;
|
|
2256
2256
|
index: number;
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
passed: boolean;
|
|
2263
|
-
} | null;
|
|
2257
|
+
workerAgentId: string | null;
|
|
2258
|
+
workerStartedAt: string;
|
|
2259
|
+
workerCompletedAt: string | null;
|
|
2260
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2261
|
+
failureReason: string | null;
|
|
2264
2262
|
verifyChecks: {
|
|
2265
2263
|
command: string;
|
|
2266
|
-
startedAt: string;
|
|
2267
|
-
completedAt: string;
|
|
2268
2264
|
exitCode: number;
|
|
2269
2265
|
passed: boolean;
|
|
2270
2266
|
stdout: string;
|
|
2271
2267
|
stderr: string;
|
|
2268
|
+
startedAt: string;
|
|
2269
|
+
completedAt: string;
|
|
2272
2270
|
}[];
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2271
|
+
verifyPrompt: {
|
|
2272
|
+
reason: string;
|
|
2273
|
+
passed: boolean;
|
|
2274
|
+
startedAt: string;
|
|
2275
|
+
completedAt: string;
|
|
2276
|
+
verifierAgentId: string | null;
|
|
2277
|
+
} | null;
|
|
2279
2278
|
}[];
|
|
2280
2279
|
logs: {
|
|
2281
|
-
timestamp: string;
|
|
2282
2280
|
text: string;
|
|
2283
2281
|
seq: number;
|
|
2284
|
-
|
|
2282
|
+
timestamp: string;
|
|
2285
2283
|
iteration: number | null;
|
|
2284
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2286
2285
|
level: "error" | "info";
|
|
2287
2286
|
}[];
|
|
2288
2287
|
nextLogSeq: number;
|
|
@@ -2290,76 +2289,76 @@ export declare const LoopLogsResponseSchema: z.ZodObject<{
|
|
|
2290
2289
|
activeWorkerAgentId: string | null;
|
|
2291
2290
|
activeVerifierAgentId: string | null;
|
|
2292
2291
|
} | null;
|
|
2292
|
+
nextCursor: number;
|
|
2293
2293
|
};
|
|
2294
2294
|
}, {
|
|
2295
2295
|
type: "loop/logs/response";
|
|
2296
2296
|
payload: {
|
|
2297
2297
|
error: string | null;
|
|
2298
2298
|
entries: {
|
|
2299
|
-
timestamp: string;
|
|
2300
2299
|
text: string;
|
|
2301
2300
|
seq: number;
|
|
2302
|
-
|
|
2301
|
+
timestamp: string;
|
|
2303
2302
|
iteration: number | null;
|
|
2303
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2304
2304
|
level: "error" | "info";
|
|
2305
2305
|
}[];
|
|
2306
2306
|
requestId: string;
|
|
2307
|
-
nextCursor: number;
|
|
2308
2307
|
loop: {
|
|
2309
2308
|
name: string | null;
|
|
2310
2309
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2311
2310
|
id: string;
|
|
2312
|
-
provider: string;
|
|
2313
|
-
cwd: string;
|
|
2314
|
-
model: string | null;
|
|
2315
2311
|
createdAt: string;
|
|
2316
2312
|
updatedAt: string;
|
|
2317
|
-
prompt: string;
|
|
2318
2313
|
startedAt: string;
|
|
2314
|
+
completedAt: string | null;
|
|
2315
|
+
verifyChecks: string[];
|
|
2316
|
+
verifyPrompt: string | null;
|
|
2317
|
+
prompt: string;
|
|
2318
|
+
cwd: string;
|
|
2319
|
+
provider: string;
|
|
2320
|
+
model: string | null;
|
|
2319
2321
|
workerProvider: string | null;
|
|
2320
2322
|
workerModel: string | null;
|
|
2321
2323
|
verifierProvider: string | null;
|
|
2322
2324
|
verifierModel: string | null;
|
|
2323
|
-
verifyPrompt: string | null;
|
|
2324
|
-
verifyChecks: string[];
|
|
2325
2325
|
archive: boolean;
|
|
2326
2326
|
sleepMs: number;
|
|
2327
2327
|
maxIterations: number | null;
|
|
2328
2328
|
maxTimeMs: number | null;
|
|
2329
|
-
completedAt: string | null;
|
|
2330
2329
|
stopRequestedAt: string | null;
|
|
2331
2330
|
iterations: {
|
|
2332
2331
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2332
|
+
verifierAgentId: string | null;
|
|
2333
2333
|
index: number;
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
passed: boolean;
|
|
2340
|
-
} | null;
|
|
2334
|
+
workerAgentId: string | null;
|
|
2335
|
+
workerStartedAt: string;
|
|
2336
|
+
workerCompletedAt: string | null;
|
|
2337
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2338
|
+
failureReason: string | null;
|
|
2341
2339
|
verifyChecks: {
|
|
2342
2340
|
command: string;
|
|
2343
|
-
startedAt: string;
|
|
2344
|
-
completedAt: string;
|
|
2345
2341
|
exitCode: number;
|
|
2346
2342
|
passed: boolean;
|
|
2347
2343
|
stdout: string;
|
|
2348
2344
|
stderr: string;
|
|
2345
|
+
startedAt: string;
|
|
2346
|
+
completedAt: string;
|
|
2349
2347
|
}[];
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2348
|
+
verifyPrompt: {
|
|
2349
|
+
reason: string;
|
|
2350
|
+
passed: boolean;
|
|
2351
|
+
startedAt: string;
|
|
2352
|
+
completedAt: string;
|
|
2353
|
+
verifierAgentId: string | null;
|
|
2354
|
+
} | null;
|
|
2356
2355
|
}[];
|
|
2357
2356
|
logs: {
|
|
2358
|
-
timestamp: string;
|
|
2359
2357
|
text: string;
|
|
2360
2358
|
seq: number;
|
|
2361
|
-
|
|
2359
|
+
timestamp: string;
|
|
2362
2360
|
iteration: number | null;
|
|
2361
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2363
2362
|
level: "error" | "info";
|
|
2364
2363
|
}[];
|
|
2365
2364
|
nextLogSeq: number;
|
|
@@ -2367,6 +2366,7 @@ export declare const LoopLogsResponseSchema: z.ZodObject<{
|
|
|
2367
2366
|
activeWorkerAgentId: string | null;
|
|
2368
2367
|
activeVerifierAgentId: string | null;
|
|
2369
2368
|
} | null;
|
|
2369
|
+
nextCursor: number;
|
|
2370
2370
|
};
|
|
2371
2371
|
}>;
|
|
2372
2372
|
export declare const LoopStopResponseSchema: z.ZodObject<{
|
|
@@ -2415,20 +2415,20 @@ export declare const LoopStopResponseSchema: z.ZodObject<{
|
|
|
2415
2415
|
completedAt: z.ZodString;
|
|
2416
2416
|
}, "strip", z.ZodTypeAny, {
|
|
2417
2417
|
command: string;
|
|
2418
|
-
startedAt: string;
|
|
2419
|
-
completedAt: string;
|
|
2420
2418
|
exitCode: number;
|
|
2421
2419
|
passed: boolean;
|
|
2422
2420
|
stdout: string;
|
|
2423
2421
|
stderr: string;
|
|
2424
|
-
}, {
|
|
2425
|
-
command: string;
|
|
2426
2422
|
startedAt: string;
|
|
2427
2423
|
completedAt: string;
|
|
2424
|
+
}, {
|
|
2425
|
+
command: string;
|
|
2428
2426
|
exitCode: number;
|
|
2429
2427
|
passed: boolean;
|
|
2430
2428
|
stdout: string;
|
|
2431
2429
|
stderr: string;
|
|
2430
|
+
startedAt: string;
|
|
2431
|
+
completedAt: string;
|
|
2432
2432
|
}>, "many">;
|
|
2433
2433
|
verifyPrompt: z.ZodNullable<z.ZodObject<{
|
|
2434
2434
|
passed: z.ZodBoolean;
|
|
@@ -2438,67 +2438,67 @@ export declare const LoopStopResponseSchema: z.ZodObject<{
|
|
|
2438
2438
|
completedAt: z.ZodString;
|
|
2439
2439
|
}, "strip", z.ZodTypeAny, {
|
|
2440
2440
|
reason: string;
|
|
2441
|
+
passed: boolean;
|
|
2441
2442
|
startedAt: string;
|
|
2442
2443
|
completedAt: string;
|
|
2443
2444
|
verifierAgentId: string | null;
|
|
2444
|
-
passed: boolean;
|
|
2445
2445
|
}, {
|
|
2446
2446
|
reason: string;
|
|
2447
|
+
passed: boolean;
|
|
2447
2448
|
startedAt: string;
|
|
2448
2449
|
completedAt: string;
|
|
2449
2450
|
verifierAgentId: string | null;
|
|
2450
|
-
passed: boolean;
|
|
2451
2451
|
}>>;
|
|
2452
2452
|
}, "strip", z.ZodTypeAny, {
|
|
2453
2453
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2454
|
+
verifierAgentId: string | null;
|
|
2454
2455
|
index: number;
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
passed: boolean;
|
|
2461
|
-
} | null;
|
|
2456
|
+
workerAgentId: string | null;
|
|
2457
|
+
workerStartedAt: string;
|
|
2458
|
+
workerCompletedAt: string | null;
|
|
2459
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2460
|
+
failureReason: string | null;
|
|
2462
2461
|
verifyChecks: {
|
|
2463
2462
|
command: string;
|
|
2464
|
-
startedAt: string;
|
|
2465
|
-
completedAt: string;
|
|
2466
2463
|
exitCode: number;
|
|
2467
2464
|
passed: boolean;
|
|
2468
2465
|
stdout: string;
|
|
2469
2466
|
stderr: string;
|
|
2467
|
+
startedAt: string;
|
|
2468
|
+
completedAt: string;
|
|
2470
2469
|
}[];
|
|
2471
|
-
workerAgentId: string | null;
|
|
2472
|
-
workerStartedAt: string;
|
|
2473
|
-
workerCompletedAt: string | null;
|
|
2474
|
-
verifierAgentId: string | null;
|
|
2475
|
-
workerOutcome: "failed" | "completed" | "canceled" | null;
|
|
2476
|
-
failureReason: string | null;
|
|
2477
|
-
}, {
|
|
2478
|
-
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2479
|
-
index: number;
|
|
2480
2470
|
verifyPrompt: {
|
|
2481
2471
|
reason: string;
|
|
2472
|
+
passed: boolean;
|
|
2482
2473
|
startedAt: string;
|
|
2483
2474
|
completedAt: string;
|
|
2484
2475
|
verifierAgentId: string | null;
|
|
2485
|
-
passed: boolean;
|
|
2486
2476
|
} | null;
|
|
2477
|
+
}, {
|
|
2478
|
+
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2479
|
+
verifierAgentId: string | null;
|
|
2480
|
+
index: number;
|
|
2481
|
+
workerAgentId: string | null;
|
|
2482
|
+
workerStartedAt: string;
|
|
2483
|
+
workerCompletedAt: string | null;
|
|
2484
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2485
|
+
failureReason: string | null;
|
|
2487
2486
|
verifyChecks: {
|
|
2488
2487
|
command: string;
|
|
2489
|
-
startedAt: string;
|
|
2490
|
-
completedAt: string;
|
|
2491
2488
|
exitCode: number;
|
|
2492
2489
|
passed: boolean;
|
|
2493
2490
|
stdout: string;
|
|
2494
2491
|
stderr: string;
|
|
2492
|
+
startedAt: string;
|
|
2493
|
+
completedAt: string;
|
|
2495
2494
|
}[];
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2495
|
+
verifyPrompt: {
|
|
2496
|
+
reason: string;
|
|
2497
|
+
passed: boolean;
|
|
2498
|
+
startedAt: string;
|
|
2499
|
+
completedAt: string;
|
|
2500
|
+
verifierAgentId: string | null;
|
|
2501
|
+
} | null;
|
|
2502
2502
|
}>, "many">;
|
|
2503
2503
|
logs: z.ZodArray<z.ZodObject<{
|
|
2504
2504
|
seq: z.ZodNumber;
|
|
@@ -2508,18 +2508,18 @@ export declare const LoopStopResponseSchema: z.ZodObject<{
|
|
|
2508
2508
|
level: z.ZodEnum<["info", "error"]>;
|
|
2509
2509
|
text: z.ZodString;
|
|
2510
2510
|
}, "strip", z.ZodTypeAny, {
|
|
2511
|
-
timestamp: string;
|
|
2512
2511
|
text: string;
|
|
2513
2512
|
seq: number;
|
|
2514
|
-
|
|
2513
|
+
timestamp: string;
|
|
2515
2514
|
iteration: number | null;
|
|
2515
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2516
2516
|
level: "error" | "info";
|
|
2517
2517
|
}, {
|
|
2518
|
-
timestamp: string;
|
|
2519
2518
|
text: string;
|
|
2520
2519
|
seq: number;
|
|
2521
|
-
|
|
2520
|
+
timestamp: string;
|
|
2522
2521
|
iteration: number | null;
|
|
2522
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2523
2523
|
level: "error" | "info";
|
|
2524
2524
|
}>, "many">;
|
|
2525
2525
|
nextLogSeq: z.ZodNumber;
|
|
@@ -2530,57 +2530,57 @@ export declare const LoopStopResponseSchema: z.ZodObject<{
|
|
|
2530
2530
|
name: string | null;
|
|
2531
2531
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2532
2532
|
id: string;
|
|
2533
|
-
provider: string;
|
|
2534
|
-
cwd: string;
|
|
2535
|
-
model: string | null;
|
|
2536
2533
|
createdAt: string;
|
|
2537
2534
|
updatedAt: string;
|
|
2538
|
-
prompt: string;
|
|
2539
2535
|
startedAt: string;
|
|
2536
|
+
completedAt: string | null;
|
|
2537
|
+
verifyChecks: string[];
|
|
2538
|
+
verifyPrompt: string | null;
|
|
2539
|
+
prompt: string;
|
|
2540
|
+
cwd: string;
|
|
2541
|
+
provider: string;
|
|
2542
|
+
model: string | null;
|
|
2540
2543
|
workerProvider: string | null;
|
|
2541
2544
|
workerModel: string | null;
|
|
2542
2545
|
verifierProvider: string | null;
|
|
2543
2546
|
verifierModel: string | null;
|
|
2544
|
-
verifyPrompt: string | null;
|
|
2545
|
-
verifyChecks: string[];
|
|
2546
2547
|
archive: boolean;
|
|
2547
2548
|
sleepMs: number;
|
|
2548
2549
|
maxIterations: number | null;
|
|
2549
2550
|
maxTimeMs: number | null;
|
|
2550
|
-
completedAt: string | null;
|
|
2551
2551
|
stopRequestedAt: string | null;
|
|
2552
2552
|
iterations: {
|
|
2553
2553
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2554
|
+
verifierAgentId: string | null;
|
|
2554
2555
|
index: number;
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
passed: boolean;
|
|
2561
|
-
} | null;
|
|
2556
|
+
workerAgentId: string | null;
|
|
2557
|
+
workerStartedAt: string;
|
|
2558
|
+
workerCompletedAt: string | null;
|
|
2559
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2560
|
+
failureReason: string | null;
|
|
2562
2561
|
verifyChecks: {
|
|
2563
2562
|
command: string;
|
|
2564
|
-
startedAt: string;
|
|
2565
|
-
completedAt: string;
|
|
2566
2563
|
exitCode: number;
|
|
2567
2564
|
passed: boolean;
|
|
2568
2565
|
stdout: string;
|
|
2569
2566
|
stderr: string;
|
|
2567
|
+
startedAt: string;
|
|
2568
|
+
completedAt: string;
|
|
2570
2569
|
}[];
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2570
|
+
verifyPrompt: {
|
|
2571
|
+
reason: string;
|
|
2572
|
+
passed: boolean;
|
|
2573
|
+
startedAt: string;
|
|
2574
|
+
completedAt: string;
|
|
2575
|
+
verifierAgentId: string | null;
|
|
2576
|
+
} | null;
|
|
2577
2577
|
}[];
|
|
2578
2578
|
logs: {
|
|
2579
|
-
timestamp: string;
|
|
2580
2579
|
text: string;
|
|
2581
2580
|
seq: number;
|
|
2582
|
-
|
|
2581
|
+
timestamp: string;
|
|
2583
2582
|
iteration: number | null;
|
|
2583
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2584
2584
|
level: "error" | "info";
|
|
2585
2585
|
}[];
|
|
2586
2586
|
nextLogSeq: number;
|
|
@@ -2591,57 +2591,57 @@ export declare const LoopStopResponseSchema: z.ZodObject<{
|
|
|
2591
2591
|
name: string | null;
|
|
2592
2592
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2593
2593
|
id: string;
|
|
2594
|
-
provider: string;
|
|
2595
|
-
cwd: string;
|
|
2596
|
-
model: string | null;
|
|
2597
2594
|
createdAt: string;
|
|
2598
2595
|
updatedAt: string;
|
|
2599
|
-
prompt: string;
|
|
2600
2596
|
startedAt: string;
|
|
2597
|
+
completedAt: string | null;
|
|
2598
|
+
verifyChecks: string[];
|
|
2599
|
+
verifyPrompt: string | null;
|
|
2600
|
+
prompt: string;
|
|
2601
|
+
cwd: string;
|
|
2602
|
+
provider: string;
|
|
2603
|
+
model: string | null;
|
|
2601
2604
|
workerProvider: string | null;
|
|
2602
2605
|
workerModel: string | null;
|
|
2603
2606
|
verifierProvider: string | null;
|
|
2604
2607
|
verifierModel: string | null;
|
|
2605
|
-
verifyPrompt: string | null;
|
|
2606
|
-
verifyChecks: string[];
|
|
2607
2608
|
archive: boolean;
|
|
2608
2609
|
sleepMs: number;
|
|
2609
2610
|
maxIterations: number | null;
|
|
2610
2611
|
maxTimeMs: number | null;
|
|
2611
|
-
completedAt: string | null;
|
|
2612
2612
|
stopRequestedAt: string | null;
|
|
2613
2613
|
iterations: {
|
|
2614
2614
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2615
|
+
verifierAgentId: string | null;
|
|
2615
2616
|
index: number;
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
passed: boolean;
|
|
2622
|
-
} | null;
|
|
2617
|
+
workerAgentId: string | null;
|
|
2618
|
+
workerStartedAt: string;
|
|
2619
|
+
workerCompletedAt: string | null;
|
|
2620
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2621
|
+
failureReason: string | null;
|
|
2623
2622
|
verifyChecks: {
|
|
2624
2623
|
command: string;
|
|
2625
|
-
startedAt: string;
|
|
2626
|
-
completedAt: string;
|
|
2627
2624
|
exitCode: number;
|
|
2628
2625
|
passed: boolean;
|
|
2629
2626
|
stdout: string;
|
|
2630
2627
|
stderr: string;
|
|
2628
|
+
startedAt: string;
|
|
2629
|
+
completedAt: string;
|
|
2631
2630
|
}[];
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2631
|
+
verifyPrompt: {
|
|
2632
|
+
reason: string;
|
|
2633
|
+
passed: boolean;
|
|
2634
|
+
startedAt: string;
|
|
2635
|
+
completedAt: string;
|
|
2636
|
+
verifierAgentId: string | null;
|
|
2637
|
+
} | null;
|
|
2638
2638
|
}[];
|
|
2639
2639
|
logs: {
|
|
2640
|
-
timestamp: string;
|
|
2641
2640
|
text: string;
|
|
2642
2641
|
seq: number;
|
|
2643
|
-
|
|
2642
|
+
timestamp: string;
|
|
2644
2643
|
iteration: number | null;
|
|
2644
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2645
2645
|
level: "error" | "info";
|
|
2646
2646
|
}[];
|
|
2647
2647
|
nextLogSeq: number;
|
|
@@ -2657,57 +2657,57 @@ export declare const LoopStopResponseSchema: z.ZodObject<{
|
|
|
2657
2657
|
name: string | null;
|
|
2658
2658
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2659
2659
|
id: string;
|
|
2660
|
-
provider: string;
|
|
2661
|
-
cwd: string;
|
|
2662
|
-
model: string | null;
|
|
2663
2660
|
createdAt: string;
|
|
2664
2661
|
updatedAt: string;
|
|
2665
|
-
prompt: string;
|
|
2666
2662
|
startedAt: string;
|
|
2663
|
+
completedAt: string | null;
|
|
2664
|
+
verifyChecks: string[];
|
|
2665
|
+
verifyPrompt: string | null;
|
|
2666
|
+
prompt: string;
|
|
2667
|
+
cwd: string;
|
|
2668
|
+
provider: string;
|
|
2669
|
+
model: string | null;
|
|
2667
2670
|
workerProvider: string | null;
|
|
2668
2671
|
workerModel: string | null;
|
|
2669
2672
|
verifierProvider: string | null;
|
|
2670
2673
|
verifierModel: string | null;
|
|
2671
|
-
verifyPrompt: string | null;
|
|
2672
|
-
verifyChecks: string[];
|
|
2673
2674
|
archive: boolean;
|
|
2674
2675
|
sleepMs: number;
|
|
2675
2676
|
maxIterations: number | null;
|
|
2676
2677
|
maxTimeMs: number | null;
|
|
2677
|
-
completedAt: string | null;
|
|
2678
2678
|
stopRequestedAt: string | null;
|
|
2679
2679
|
iterations: {
|
|
2680
2680
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2681
|
+
verifierAgentId: string | null;
|
|
2681
2682
|
index: number;
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
passed: boolean;
|
|
2688
|
-
} | null;
|
|
2683
|
+
workerAgentId: string | null;
|
|
2684
|
+
workerStartedAt: string;
|
|
2685
|
+
workerCompletedAt: string | null;
|
|
2686
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2687
|
+
failureReason: string | null;
|
|
2689
2688
|
verifyChecks: {
|
|
2690
2689
|
command: string;
|
|
2691
|
-
startedAt: string;
|
|
2692
|
-
completedAt: string;
|
|
2693
2690
|
exitCode: number;
|
|
2694
2691
|
passed: boolean;
|
|
2695
2692
|
stdout: string;
|
|
2696
2693
|
stderr: string;
|
|
2694
|
+
startedAt: string;
|
|
2695
|
+
completedAt: string;
|
|
2697
2696
|
}[];
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2697
|
+
verifyPrompt: {
|
|
2698
|
+
reason: string;
|
|
2699
|
+
passed: boolean;
|
|
2700
|
+
startedAt: string;
|
|
2701
|
+
completedAt: string;
|
|
2702
|
+
verifierAgentId: string | null;
|
|
2703
|
+
} | null;
|
|
2704
2704
|
}[];
|
|
2705
2705
|
logs: {
|
|
2706
|
-
timestamp: string;
|
|
2707
2706
|
text: string;
|
|
2708
2707
|
seq: number;
|
|
2709
|
-
|
|
2708
|
+
timestamp: string;
|
|
2710
2709
|
iteration: number | null;
|
|
2710
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2711
2711
|
level: "error" | "info";
|
|
2712
2712
|
}[];
|
|
2713
2713
|
nextLogSeq: number;
|
|
@@ -2722,57 +2722,57 @@ export declare const LoopStopResponseSchema: z.ZodObject<{
|
|
|
2722
2722
|
name: string | null;
|
|
2723
2723
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2724
2724
|
id: string;
|
|
2725
|
-
provider: string;
|
|
2726
|
-
cwd: string;
|
|
2727
|
-
model: string | null;
|
|
2728
2725
|
createdAt: string;
|
|
2729
2726
|
updatedAt: string;
|
|
2730
|
-
prompt: string;
|
|
2731
2727
|
startedAt: string;
|
|
2728
|
+
completedAt: string | null;
|
|
2729
|
+
verifyChecks: string[];
|
|
2730
|
+
verifyPrompt: string | null;
|
|
2731
|
+
prompt: string;
|
|
2732
|
+
cwd: string;
|
|
2733
|
+
provider: string;
|
|
2734
|
+
model: string | null;
|
|
2732
2735
|
workerProvider: string | null;
|
|
2733
2736
|
workerModel: string | null;
|
|
2734
2737
|
verifierProvider: string | null;
|
|
2735
2738
|
verifierModel: string | null;
|
|
2736
|
-
verifyPrompt: string | null;
|
|
2737
|
-
verifyChecks: string[];
|
|
2738
2739
|
archive: boolean;
|
|
2739
2740
|
sleepMs: number;
|
|
2740
2741
|
maxIterations: number | null;
|
|
2741
2742
|
maxTimeMs: number | null;
|
|
2742
|
-
completedAt: string | null;
|
|
2743
2743
|
stopRequestedAt: string | null;
|
|
2744
2744
|
iterations: {
|
|
2745
2745
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2746
|
+
verifierAgentId: string | null;
|
|
2746
2747
|
index: number;
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
passed: boolean;
|
|
2753
|
-
} | null;
|
|
2748
|
+
workerAgentId: string | null;
|
|
2749
|
+
workerStartedAt: string;
|
|
2750
|
+
workerCompletedAt: string | null;
|
|
2751
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2752
|
+
failureReason: string | null;
|
|
2754
2753
|
verifyChecks: {
|
|
2755
2754
|
command: string;
|
|
2756
|
-
startedAt: string;
|
|
2757
|
-
completedAt: string;
|
|
2758
2755
|
exitCode: number;
|
|
2759
2756
|
passed: boolean;
|
|
2760
2757
|
stdout: string;
|
|
2761
2758
|
stderr: string;
|
|
2759
|
+
startedAt: string;
|
|
2760
|
+
completedAt: string;
|
|
2762
2761
|
}[];
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2762
|
+
verifyPrompt: {
|
|
2763
|
+
reason: string;
|
|
2764
|
+
passed: boolean;
|
|
2765
|
+
startedAt: string;
|
|
2766
|
+
completedAt: string;
|
|
2767
|
+
verifierAgentId: string | null;
|
|
2768
|
+
} | null;
|
|
2769
2769
|
}[];
|
|
2770
2770
|
logs: {
|
|
2771
|
-
timestamp: string;
|
|
2772
2771
|
text: string;
|
|
2773
2772
|
seq: number;
|
|
2774
|
-
|
|
2773
|
+
timestamp: string;
|
|
2775
2774
|
iteration: number | null;
|
|
2775
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2776
2776
|
level: "error" | "info";
|
|
2777
2777
|
}[];
|
|
2778
2778
|
nextLogSeq: number;
|
|
@@ -2790,57 +2790,57 @@ export declare const LoopStopResponseSchema: z.ZodObject<{
|
|
|
2790
2790
|
name: string | null;
|
|
2791
2791
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2792
2792
|
id: string;
|
|
2793
|
-
provider: string;
|
|
2794
|
-
cwd: string;
|
|
2795
|
-
model: string | null;
|
|
2796
2793
|
createdAt: string;
|
|
2797
2794
|
updatedAt: string;
|
|
2798
|
-
prompt: string;
|
|
2799
2795
|
startedAt: string;
|
|
2796
|
+
completedAt: string | null;
|
|
2797
|
+
verifyChecks: string[];
|
|
2798
|
+
verifyPrompt: string | null;
|
|
2799
|
+
prompt: string;
|
|
2800
|
+
cwd: string;
|
|
2801
|
+
provider: string;
|
|
2802
|
+
model: string | null;
|
|
2800
2803
|
workerProvider: string | null;
|
|
2801
2804
|
workerModel: string | null;
|
|
2802
2805
|
verifierProvider: string | null;
|
|
2803
2806
|
verifierModel: string | null;
|
|
2804
|
-
verifyPrompt: string | null;
|
|
2805
|
-
verifyChecks: string[];
|
|
2806
2807
|
archive: boolean;
|
|
2807
2808
|
sleepMs: number;
|
|
2808
2809
|
maxIterations: number | null;
|
|
2809
2810
|
maxTimeMs: number | null;
|
|
2810
|
-
completedAt: string | null;
|
|
2811
2811
|
stopRequestedAt: string | null;
|
|
2812
2812
|
iterations: {
|
|
2813
2813
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2814
|
+
verifierAgentId: string | null;
|
|
2814
2815
|
index: number;
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
passed: boolean;
|
|
2821
|
-
} | null;
|
|
2816
|
+
workerAgentId: string | null;
|
|
2817
|
+
workerStartedAt: string;
|
|
2818
|
+
workerCompletedAt: string | null;
|
|
2819
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2820
|
+
failureReason: string | null;
|
|
2822
2821
|
verifyChecks: {
|
|
2823
2822
|
command: string;
|
|
2824
|
-
startedAt: string;
|
|
2825
|
-
completedAt: string;
|
|
2826
2823
|
exitCode: number;
|
|
2827
2824
|
passed: boolean;
|
|
2828
2825
|
stdout: string;
|
|
2829
2826
|
stderr: string;
|
|
2827
|
+
startedAt: string;
|
|
2828
|
+
completedAt: string;
|
|
2830
2829
|
}[];
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2830
|
+
verifyPrompt: {
|
|
2831
|
+
reason: string;
|
|
2832
|
+
passed: boolean;
|
|
2833
|
+
startedAt: string;
|
|
2834
|
+
completedAt: string;
|
|
2835
|
+
verifierAgentId: string | null;
|
|
2836
|
+
} | null;
|
|
2837
2837
|
}[];
|
|
2838
2838
|
logs: {
|
|
2839
|
-
timestamp: string;
|
|
2840
2839
|
text: string;
|
|
2841
2840
|
seq: number;
|
|
2842
|
-
|
|
2841
|
+
timestamp: string;
|
|
2843
2842
|
iteration: number | null;
|
|
2843
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2844
2844
|
level: "error" | "info";
|
|
2845
2845
|
}[];
|
|
2846
2846
|
nextLogSeq: number;
|
|
@@ -2858,57 +2858,57 @@ export declare const LoopStopResponseSchema: z.ZodObject<{
|
|
|
2858
2858
|
name: string | null;
|
|
2859
2859
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2860
2860
|
id: string;
|
|
2861
|
-
provider: string;
|
|
2862
|
-
cwd: string;
|
|
2863
|
-
model: string | null;
|
|
2864
2861
|
createdAt: string;
|
|
2865
2862
|
updatedAt: string;
|
|
2866
|
-
prompt: string;
|
|
2867
2863
|
startedAt: string;
|
|
2864
|
+
completedAt: string | null;
|
|
2865
|
+
verifyChecks: string[];
|
|
2866
|
+
verifyPrompt: string | null;
|
|
2867
|
+
prompt: string;
|
|
2868
|
+
cwd: string;
|
|
2869
|
+
provider: string;
|
|
2870
|
+
model: string | null;
|
|
2868
2871
|
workerProvider: string | null;
|
|
2869
2872
|
workerModel: string | null;
|
|
2870
2873
|
verifierProvider: string | null;
|
|
2871
2874
|
verifierModel: string | null;
|
|
2872
|
-
verifyPrompt: string | null;
|
|
2873
|
-
verifyChecks: string[];
|
|
2874
2875
|
archive: boolean;
|
|
2875
2876
|
sleepMs: number;
|
|
2876
2877
|
maxIterations: number | null;
|
|
2877
2878
|
maxTimeMs: number | null;
|
|
2878
|
-
completedAt: string | null;
|
|
2879
2879
|
stopRequestedAt: string | null;
|
|
2880
2880
|
iterations: {
|
|
2881
2881
|
status: "running" | "failed" | "succeeded" | "stopped";
|
|
2882
|
+
verifierAgentId: string | null;
|
|
2882
2883
|
index: number;
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
passed: boolean;
|
|
2889
|
-
} | null;
|
|
2884
|
+
workerAgentId: string | null;
|
|
2885
|
+
workerStartedAt: string;
|
|
2886
|
+
workerCompletedAt: string | null;
|
|
2887
|
+
workerOutcome: "completed" | "failed" | "canceled" | null;
|
|
2888
|
+
failureReason: string | null;
|
|
2890
2889
|
verifyChecks: {
|
|
2891
2890
|
command: string;
|
|
2892
|
-
startedAt: string;
|
|
2893
|
-
completedAt: string;
|
|
2894
2891
|
exitCode: number;
|
|
2895
2892
|
passed: boolean;
|
|
2896
2893
|
stdout: string;
|
|
2897
2894
|
stderr: string;
|
|
2895
|
+
startedAt: string;
|
|
2896
|
+
completedAt: string;
|
|
2898
2897
|
}[];
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2898
|
+
verifyPrompt: {
|
|
2899
|
+
reason: string;
|
|
2900
|
+
passed: boolean;
|
|
2901
|
+
startedAt: string;
|
|
2902
|
+
completedAt: string;
|
|
2903
|
+
verifierAgentId: string | null;
|
|
2904
|
+
} | null;
|
|
2905
2905
|
}[];
|
|
2906
2906
|
logs: {
|
|
2907
|
-
timestamp: string;
|
|
2908
2907
|
text: string;
|
|
2909
2908
|
seq: number;
|
|
2910
|
-
|
|
2909
|
+
timestamp: string;
|
|
2911
2910
|
iteration: number | null;
|
|
2911
|
+
source: "loop" | "worker" | "verifier" | "verify-check";
|
|
2912
2912
|
level: "error" | "info";
|
|
2913
2913
|
}[];
|
|
2914
2914
|
nextLogSeq: number;
|