agent-dealer 0.1.2 → 0.1.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/bundle/server/dist/queue/answers.test.js +117 -0
- package/bundle/server/dist/queue/dispatcher.js +164 -2
- package/bundle/server/dist/queue/plan-gate.test.js +55 -0
- package/bundle/server/dist/repository/runs.js +17 -1
- package/bundle/server/dist/routes/index.js +34 -8
- package/bundle/server/dist/runners/claude.js +9 -8
- package/bundle/server/dist/runners/persist.js +17 -4
- package/bundle/server/dist/runners/prompts.js +52 -1
- package/bundle/server/dist/runners/prompts.test.js +63 -0
- package/bundle/server/dist/runners/reflect.js +1 -1
- package/bundle/server/dist/runners/stream-json.js +28 -0
- package/bundle/server/dist/runners/stream-json.test.js +57 -0
- package/bundle/server/dist/usage-summary.js +9 -4
- package/bundle/server/package.json +1 -1
- package/bundle/server/static-ui/assets/index-CH7u5bXC.js +78 -0
- package/bundle/server/static-ui/assets/index-CKuYOeDN.css +1 -0
- package/bundle/server/static-ui/index.html +2 -2
- package/bundle/shared/dist/budget.d.ts +1 -1
- package/bundle/shared/dist/budget.js +3 -3
- package/bundle/shared/dist/index.d.ts +306 -91
- package/bundle/shared/dist/index.js +15 -0
- package/bundle/shared/dist/plan-triage.d.ts +317 -0
- package/bundle/shared/dist/plan-triage.js +65 -0
- package/bundle/shared/dist/plan-triage.test.d.ts +1 -0
- package/bundle/shared/dist/plan-triage.test.js +66 -0
- package/bundle/shared/package.json +1 -1
- package/package.json +1 -1
- package/bundle/server/static-ui/assets/index-ChdPKYDd.css +0 -1
- package/bundle/server/static-ui/assets/index-hIzZ8TM8.js +0 -77
|
@@ -3,11 +3,12 @@ export * from "./runtime.js";
|
|
|
3
3
|
export * from "./agents.js";
|
|
4
4
|
export * from "./budget.js";
|
|
5
5
|
export * from "./execution.js";
|
|
6
|
+
export * from "./plan-triage.js";
|
|
6
7
|
export declare const RunStatus: z.ZodEnum<["queued", "plan_pending", "plan_approved", "running", "review", "done", "failed", "cancelled"]>;
|
|
7
8
|
export type RunStatus = z.infer<typeof RunStatus>;
|
|
8
9
|
export declare const TaskCategory: z.ZodEnum<["code", "communication", "email", "research", "content", "other"]>;
|
|
9
10
|
export type TaskCategory = z.infer<typeof TaskCategory>;
|
|
10
|
-
export declare const ArtifactKind: z.ZodEnum<["task_snapshot", "draft_plan", "approved_plan", "acceptance_criteria", "transcript", "stream_trace", "usage", "agent_session", "execution_result", "diff", "pr", "email_draft", "slack_draft", "document", "research_brief", "deliverable", "feedback", "playbook_patch", "reflect_status", "linear_sync"]>;
|
|
11
|
+
export declare const ArtifactKind: z.ZodEnum<["task_snapshot", "draft_plan", "approved_plan", "plan_triage", "plan_answers", "acceptance_criteria", "transcript", "stream_trace", "usage", "agent_session", "execution_result", "diff", "pr", "email_draft", "slack_draft", "document", "research_brief", "deliverable", "feedback", "playbook_patch", "reflect_status", "linear_sync"]>;
|
|
11
12
|
export type ArtifactKind = z.infer<typeof ArtifactKind>;
|
|
12
13
|
export declare const RunPhase: z.ZodEnum<["plan", "execute", "reflect"]>;
|
|
13
14
|
export type RunPhase = z.infer<typeof RunPhase>;
|
|
@@ -27,18 +28,18 @@ export declare const PlaybookPatchContent: z.ZodObject<{
|
|
|
27
28
|
}, "strip", z.ZodTypeAny, {
|
|
28
29
|
status: "proposed" | "applied" | "dismissed";
|
|
29
30
|
playbookId: string;
|
|
31
|
+
rationale: string;
|
|
30
32
|
previousBody: string;
|
|
31
33
|
proposedBody: string;
|
|
32
|
-
rationale: string;
|
|
33
34
|
trigger: "retry" | "approve";
|
|
34
35
|
playbookTitle?: string | undefined;
|
|
35
36
|
appliedAt?: string | undefined;
|
|
36
37
|
}, {
|
|
37
38
|
status: "proposed" | "applied" | "dismissed";
|
|
38
39
|
playbookId: string;
|
|
40
|
+
rationale: string;
|
|
39
41
|
previousBody: string;
|
|
40
42
|
proposedBody: string;
|
|
41
|
-
rationale: string;
|
|
42
43
|
trigger: "retry" | "approve";
|
|
43
44
|
playbookTitle?: string | undefined;
|
|
44
45
|
appliedAt?: string | undefined;
|
|
@@ -118,9 +119,15 @@ export declare const UsageContent: z.ZodObject<{
|
|
|
118
119
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
119
120
|
model: z.ZodOptional<z.ZodString>;
|
|
120
121
|
numTurns: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
/** Resolved --max-turns cap enforced when this phase ran (snapshot at persist time). */
|
|
123
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
/** Resolved --max-budget-usd cap enforced when this phase ran (snapshot at persist time). */
|
|
125
|
+
maxBudgetUsd: z.ZodOptional<z.ZodNumber>;
|
|
121
126
|
}, "strip", z.ZodTypeAny, {
|
|
122
127
|
runtime: "claude_code" | "cursor_local";
|
|
123
128
|
phase: "plan" | "execute" | "reflect";
|
|
129
|
+
maxTurns?: number | undefined;
|
|
130
|
+
maxBudgetUsd?: number | undefined;
|
|
124
131
|
totalCostUsd?: number | undefined;
|
|
125
132
|
inputTokens?: number | undefined;
|
|
126
133
|
outputTokens?: number | undefined;
|
|
@@ -132,6 +139,8 @@ export declare const UsageContent: z.ZodObject<{
|
|
|
132
139
|
}, {
|
|
133
140
|
runtime: "claude_code" | "cursor_local";
|
|
134
141
|
phase: "plan" | "execute" | "reflect";
|
|
142
|
+
maxTurns?: number | undefined;
|
|
143
|
+
maxBudgetUsd?: number | undefined;
|
|
135
144
|
totalCostUsd?: number | undefined;
|
|
136
145
|
inputTokens?: number | undefined;
|
|
137
146
|
outputTokens?: number | undefined;
|
|
@@ -155,9 +164,15 @@ export declare const UsageLineItem: z.ZodObject<{
|
|
|
155
164
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
156
165
|
model: z.ZodOptional<z.ZodString>;
|
|
157
166
|
numTurns: z.ZodOptional<z.ZodNumber>;
|
|
167
|
+
/** Resolved --max-turns cap enforced when this phase ran (snapshot at persist time). */
|
|
168
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
169
|
+
/** Resolved --max-budget-usd cap enforced when this phase ran (snapshot at persist time). */
|
|
170
|
+
maxBudgetUsd: z.ZodOptional<z.ZodNumber>;
|
|
158
171
|
}, "strip", z.ZodTypeAny, {
|
|
159
172
|
runtime: "claude_code" | "cursor_local";
|
|
160
173
|
phase: "plan" | "execute" | "reflect";
|
|
174
|
+
maxTurns?: number | undefined;
|
|
175
|
+
maxBudgetUsd?: number | undefined;
|
|
161
176
|
totalCostUsd?: number | undefined;
|
|
162
177
|
inputTokens?: number | undefined;
|
|
163
178
|
outputTokens?: number | undefined;
|
|
@@ -169,6 +184,8 @@ export declare const UsageLineItem: z.ZodObject<{
|
|
|
169
184
|
}, {
|
|
170
185
|
runtime: "claude_code" | "cursor_local";
|
|
171
186
|
phase: "plan" | "execute" | "reflect";
|
|
187
|
+
maxTurns?: number | undefined;
|
|
188
|
+
maxBudgetUsd?: number | undefined;
|
|
172
189
|
totalCostUsd?: number | undefined;
|
|
173
190
|
inputTokens?: number | undefined;
|
|
174
191
|
outputTokens?: number | undefined;
|
|
@@ -178,10 +195,16 @@ export declare const UsageLineItem: z.ZodObject<{
|
|
|
178
195
|
model?: string | undefined;
|
|
179
196
|
numTurns?: number | undefined;
|
|
180
197
|
}>;
|
|
198
|
+
/** From usage artifact snapshot; falls back to current resolve for legacy rows. */
|
|
199
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
200
|
+
maxBudgetUsd: z.ZodOptional<z.ZodNumber>;
|
|
181
201
|
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
label: string;
|
|
182
203
|
usage: {
|
|
183
204
|
runtime: "claude_code" | "cursor_local";
|
|
184
205
|
phase: "plan" | "execute" | "reflect";
|
|
206
|
+
maxTurns?: number | undefined;
|
|
207
|
+
maxBudgetUsd?: number | undefined;
|
|
185
208
|
totalCostUsd?: number | undefined;
|
|
186
209
|
inputTokens?: number | undefined;
|
|
187
210
|
outputTokens?: number | undefined;
|
|
@@ -191,11 +214,15 @@ export declare const UsageLineItem: z.ZodObject<{
|
|
|
191
214
|
model?: string | undefined;
|
|
192
215
|
numTurns?: number | undefined;
|
|
193
216
|
};
|
|
194
|
-
|
|
217
|
+
maxTurns?: number | undefined;
|
|
218
|
+
maxBudgetUsd?: number | undefined;
|
|
195
219
|
}, {
|
|
220
|
+
label: string;
|
|
196
221
|
usage: {
|
|
197
222
|
runtime: "claude_code" | "cursor_local";
|
|
198
223
|
phase: "plan" | "execute" | "reflect";
|
|
224
|
+
maxTurns?: number | undefined;
|
|
225
|
+
maxBudgetUsd?: number | undefined;
|
|
199
226
|
totalCostUsd?: number | undefined;
|
|
200
227
|
inputTokens?: number | undefined;
|
|
201
228
|
outputTokens?: number | undefined;
|
|
@@ -205,7 +232,8 @@ export declare const UsageLineItem: z.ZodObject<{
|
|
|
205
232
|
model?: string | undefined;
|
|
206
233
|
numTurns?: number | undefined;
|
|
207
234
|
};
|
|
208
|
-
|
|
235
|
+
maxTurns?: number | undefined;
|
|
236
|
+
maxBudgetUsd?: number | undefined;
|
|
209
237
|
}>;
|
|
210
238
|
export type UsageLineItem = z.infer<typeof UsageLineItem>;
|
|
211
239
|
export declare const UsageSummary: z.ZodObject<{
|
|
@@ -222,9 +250,15 @@ export declare const UsageSummary: z.ZodObject<{
|
|
|
222
250
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
223
251
|
model: z.ZodOptional<z.ZodString>;
|
|
224
252
|
numTurns: z.ZodOptional<z.ZodNumber>;
|
|
253
|
+
/** Resolved --max-turns cap enforced when this phase ran (snapshot at persist time). */
|
|
254
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
255
|
+
/** Resolved --max-budget-usd cap enforced when this phase ran (snapshot at persist time). */
|
|
256
|
+
maxBudgetUsd: z.ZodOptional<z.ZodNumber>;
|
|
225
257
|
}, "strip", z.ZodTypeAny, {
|
|
226
258
|
runtime: "claude_code" | "cursor_local";
|
|
227
259
|
phase: "plan" | "execute" | "reflect";
|
|
260
|
+
maxTurns?: number | undefined;
|
|
261
|
+
maxBudgetUsd?: number | undefined;
|
|
228
262
|
totalCostUsd?: number | undefined;
|
|
229
263
|
inputTokens?: number | undefined;
|
|
230
264
|
outputTokens?: number | undefined;
|
|
@@ -236,6 +270,8 @@ export declare const UsageSummary: z.ZodObject<{
|
|
|
236
270
|
}, {
|
|
237
271
|
runtime: "claude_code" | "cursor_local";
|
|
238
272
|
phase: "plan" | "execute" | "reflect";
|
|
273
|
+
maxTurns?: number | undefined;
|
|
274
|
+
maxBudgetUsd?: number | undefined;
|
|
239
275
|
totalCostUsd?: number | undefined;
|
|
240
276
|
inputTokens?: number | undefined;
|
|
241
277
|
outputTokens?: number | undefined;
|
|
@@ -245,10 +281,16 @@ export declare const UsageSummary: z.ZodObject<{
|
|
|
245
281
|
model?: string | undefined;
|
|
246
282
|
numTurns?: number | undefined;
|
|
247
283
|
}>;
|
|
284
|
+
/** From usage artifact snapshot; falls back to current resolve for legacy rows. */
|
|
285
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
286
|
+
maxBudgetUsd: z.ZodOptional<z.ZodNumber>;
|
|
248
287
|
}, "strip", z.ZodTypeAny, {
|
|
288
|
+
label: string;
|
|
249
289
|
usage: {
|
|
250
290
|
runtime: "claude_code" | "cursor_local";
|
|
251
291
|
phase: "plan" | "execute" | "reflect";
|
|
292
|
+
maxTurns?: number | undefined;
|
|
293
|
+
maxBudgetUsd?: number | undefined;
|
|
252
294
|
totalCostUsd?: number | undefined;
|
|
253
295
|
inputTokens?: number | undefined;
|
|
254
296
|
outputTokens?: number | undefined;
|
|
@@ -258,11 +300,15 @@ export declare const UsageSummary: z.ZodObject<{
|
|
|
258
300
|
model?: string | undefined;
|
|
259
301
|
numTurns?: number | undefined;
|
|
260
302
|
};
|
|
261
|
-
|
|
303
|
+
maxTurns?: number | undefined;
|
|
304
|
+
maxBudgetUsd?: number | undefined;
|
|
262
305
|
}, {
|
|
306
|
+
label: string;
|
|
263
307
|
usage: {
|
|
264
308
|
runtime: "claude_code" | "cursor_local";
|
|
265
309
|
phase: "plan" | "execute" | "reflect";
|
|
310
|
+
maxTurns?: number | undefined;
|
|
311
|
+
maxBudgetUsd?: number | undefined;
|
|
266
312
|
totalCostUsd?: number | undefined;
|
|
267
313
|
inputTokens?: number | undefined;
|
|
268
314
|
outputTokens?: number | undefined;
|
|
@@ -272,29 +318,36 @@ export declare const UsageSummary: z.ZodObject<{
|
|
|
272
318
|
model?: string | undefined;
|
|
273
319
|
numTurns?: number | undefined;
|
|
274
320
|
};
|
|
275
|
-
|
|
321
|
+
maxTurns?: number | undefined;
|
|
322
|
+
maxBudgetUsd?: number | undefined;
|
|
276
323
|
}>, "many">;
|
|
277
324
|
total: z.ZodObject<{
|
|
278
325
|
totalCostUsd: z.ZodNumber;
|
|
279
326
|
inputTokens: z.ZodNumber;
|
|
280
327
|
outputTokens: z.ZodNumber;
|
|
281
328
|
durationMs: z.ZodNumber;
|
|
329
|
+
numTurns: z.ZodNumber;
|
|
282
330
|
}, "strip", z.ZodTypeAny, {
|
|
283
331
|
totalCostUsd: number;
|
|
284
332
|
inputTokens: number;
|
|
285
333
|
outputTokens: number;
|
|
286
334
|
durationMs: number;
|
|
335
|
+
numTurns: number;
|
|
287
336
|
}, {
|
|
288
337
|
totalCostUsd: number;
|
|
289
338
|
inputTokens: number;
|
|
290
339
|
outputTokens: number;
|
|
291
340
|
durationMs: number;
|
|
341
|
+
numTurns: number;
|
|
292
342
|
}>;
|
|
293
343
|
}, "strip", z.ZodTypeAny, {
|
|
294
344
|
lines: {
|
|
345
|
+
label: string;
|
|
295
346
|
usage: {
|
|
296
347
|
runtime: "claude_code" | "cursor_local";
|
|
297
348
|
phase: "plan" | "execute" | "reflect";
|
|
349
|
+
maxTurns?: number | undefined;
|
|
350
|
+
maxBudgetUsd?: number | undefined;
|
|
298
351
|
totalCostUsd?: number | undefined;
|
|
299
352
|
inputTokens?: number | undefined;
|
|
300
353
|
outputTokens?: number | undefined;
|
|
@@ -304,19 +357,24 @@ export declare const UsageSummary: z.ZodObject<{
|
|
|
304
357
|
model?: string | undefined;
|
|
305
358
|
numTurns?: number | undefined;
|
|
306
359
|
};
|
|
307
|
-
|
|
360
|
+
maxTurns?: number | undefined;
|
|
361
|
+
maxBudgetUsd?: number | undefined;
|
|
308
362
|
}[];
|
|
309
363
|
total: {
|
|
310
364
|
totalCostUsd: number;
|
|
311
365
|
inputTokens: number;
|
|
312
366
|
outputTokens: number;
|
|
313
367
|
durationMs: number;
|
|
368
|
+
numTurns: number;
|
|
314
369
|
};
|
|
315
370
|
}, {
|
|
316
371
|
lines: {
|
|
372
|
+
label: string;
|
|
317
373
|
usage: {
|
|
318
374
|
runtime: "claude_code" | "cursor_local";
|
|
319
375
|
phase: "plan" | "execute" | "reflect";
|
|
376
|
+
maxTurns?: number | undefined;
|
|
377
|
+
maxBudgetUsd?: number | undefined;
|
|
320
378
|
totalCostUsd?: number | undefined;
|
|
321
379
|
inputTokens?: number | undefined;
|
|
322
380
|
outputTokens?: number | undefined;
|
|
@@ -326,13 +384,15 @@ export declare const UsageSummary: z.ZodObject<{
|
|
|
326
384
|
model?: string | undefined;
|
|
327
385
|
numTurns?: number | undefined;
|
|
328
386
|
};
|
|
329
|
-
|
|
387
|
+
maxTurns?: number | undefined;
|
|
388
|
+
maxBudgetUsd?: number | undefined;
|
|
330
389
|
}[];
|
|
331
390
|
total: {
|
|
332
391
|
totalCostUsd: number;
|
|
333
392
|
inputTokens: number;
|
|
334
393
|
outputTokens: number;
|
|
335
394
|
durationMs: number;
|
|
395
|
+
numTurns: number;
|
|
336
396
|
};
|
|
337
397
|
}>;
|
|
338
398
|
export type UsageSummary = z.infer<typeof UsageSummary>;
|
|
@@ -342,12 +402,12 @@ export declare const AgentSessionContent: z.ZodObject<{
|
|
|
342
402
|
sessionId: z.ZodString;
|
|
343
403
|
}, "strip", z.ZodTypeAny, {
|
|
344
404
|
runtime: "claude_code" | "cursor_local";
|
|
345
|
-
phase: "plan" | "execute" | "reflect";
|
|
346
405
|
sessionId: string;
|
|
406
|
+
phase: "plan" | "execute" | "reflect";
|
|
347
407
|
}, {
|
|
348
408
|
runtime: "claude_code" | "cursor_local";
|
|
349
|
-
phase: "plan" | "execute" | "reflect";
|
|
350
409
|
sessionId: string;
|
|
410
|
+
phase: "plan" | "execute" | "reflect";
|
|
351
411
|
}>;
|
|
352
412
|
export type AgentSessionContent = z.infer<typeof AgentSessionContent>;
|
|
353
413
|
export declare const ExecutionResultContent: z.ZodObject<{
|
|
@@ -461,8 +521,9 @@ export declare const Run: z.ZodObject<{
|
|
|
461
521
|
playbookId: string | null;
|
|
462
522
|
createdAt: string;
|
|
463
523
|
updatedAt: string;
|
|
464
|
-
title: string;
|
|
465
524
|
description: string | null;
|
|
525
|
+
executeModel: string | null;
|
|
526
|
+
title: string;
|
|
466
527
|
source: "manual" | "linear";
|
|
467
528
|
externalId: string | null;
|
|
468
529
|
externalLabel: string | null;
|
|
@@ -472,7 +533,6 @@ export declare const Run: z.ZodObject<{
|
|
|
472
533
|
agentId: string | null;
|
|
473
534
|
agentName: string | null;
|
|
474
535
|
planModel: string | null;
|
|
475
|
-
executeModel: string | null;
|
|
476
536
|
lineageId: string | null;
|
|
477
537
|
acceptanceCriteria: string | null;
|
|
478
538
|
approvalGatesJson: string | null;
|
|
@@ -486,8 +546,9 @@ export declare const Run: z.ZodObject<{
|
|
|
486
546
|
playbookId: string | null;
|
|
487
547
|
createdAt: string;
|
|
488
548
|
updatedAt: string;
|
|
489
|
-
title: string;
|
|
490
549
|
description: string | null;
|
|
550
|
+
executeModel: string | null;
|
|
551
|
+
title: string;
|
|
491
552
|
source: "manual" | "linear";
|
|
492
553
|
externalId: string | null;
|
|
493
554
|
externalLabel: string | null;
|
|
@@ -497,7 +558,6 @@ export declare const Run: z.ZodObject<{
|
|
|
497
558
|
agentId: string | null;
|
|
498
559
|
agentName: string | null;
|
|
499
560
|
planModel: string | null;
|
|
500
|
-
executeModel: string | null;
|
|
501
561
|
lineageId: string | null;
|
|
502
562
|
acceptanceCriteria: string | null;
|
|
503
563
|
approvalGatesJson: string | null;
|
|
@@ -507,7 +567,7 @@ export type Run = z.infer<typeof Run>;
|
|
|
507
567
|
export declare const Artifact: z.ZodObject<{
|
|
508
568
|
id: z.ZodString;
|
|
509
569
|
runId: z.ZodString;
|
|
510
|
-
kind: z.ZodEnum<["task_snapshot", "draft_plan", "approved_plan", "acceptance_criteria", "transcript", "stream_trace", "usage", "agent_session", "execution_result", "diff", "pr", "email_draft", "slack_draft", "document", "research_brief", "deliverable", "feedback", "playbook_patch", "reflect_status", "linear_sync"]>;
|
|
570
|
+
kind: z.ZodEnum<["task_snapshot", "draft_plan", "approved_plan", "plan_triage", "plan_answers", "acceptance_criteria", "transcript", "stream_trace", "usage", "agent_session", "execution_result", "diff", "pr", "email_draft", "slack_draft", "document", "research_brief", "deliverable", "feedback", "playbook_patch", "reflect_status", "linear_sync"]>;
|
|
511
571
|
contentJson: z.ZodNullable<z.ZodString>;
|
|
512
572
|
blobPath: z.ZodNullable<z.ZodString>;
|
|
513
573
|
author: z.ZodEnum<["human", "agent", "system"]>;
|
|
@@ -516,7 +576,7 @@ export declare const Artifact: z.ZodObject<{
|
|
|
516
576
|
id: string;
|
|
517
577
|
createdAt: string;
|
|
518
578
|
runId: string;
|
|
519
|
-
kind: "task_snapshot" | "draft_plan" | "approved_plan" | "acceptance_criteria" | "transcript" | "stream_trace" | "usage" | "agent_session" | "execution_result" | "diff" | "pr" | "email_draft" | "slack_draft" | "document" | "research_brief" | "deliverable" | "feedback" | "playbook_patch" | "reflect_status" | "linear_sync";
|
|
579
|
+
kind: "task_snapshot" | "draft_plan" | "approved_plan" | "plan_triage" | "plan_answers" | "acceptance_criteria" | "transcript" | "stream_trace" | "usage" | "agent_session" | "execution_result" | "diff" | "pr" | "email_draft" | "slack_draft" | "document" | "research_brief" | "deliverable" | "feedback" | "playbook_patch" | "reflect_status" | "linear_sync";
|
|
520
580
|
contentJson: string | null;
|
|
521
581
|
blobPath: string | null;
|
|
522
582
|
author: "system" | "human" | "agent";
|
|
@@ -524,7 +584,7 @@ export declare const Artifact: z.ZodObject<{
|
|
|
524
584
|
id: string;
|
|
525
585
|
createdAt: string;
|
|
526
586
|
runId: string;
|
|
527
|
-
kind: "task_snapshot" | "draft_plan" | "approved_plan" | "acceptance_criteria" | "transcript" | "stream_trace" | "usage" | "agent_session" | "execution_result" | "diff" | "pr" | "email_draft" | "slack_draft" | "document" | "research_brief" | "deliverable" | "feedback" | "playbook_patch" | "reflect_status" | "linear_sync";
|
|
587
|
+
kind: "task_snapshot" | "draft_plan" | "approved_plan" | "plan_triage" | "plan_answers" | "acceptance_criteria" | "transcript" | "stream_trace" | "usage" | "agent_session" | "execution_result" | "diff" | "pr" | "email_draft" | "slack_draft" | "document" | "research_brief" | "deliverable" | "feedback" | "playbook_patch" | "reflect_status" | "linear_sync";
|
|
528
588
|
contentJson: string | null;
|
|
529
589
|
blobPath: string | null;
|
|
530
590
|
author: "system" | "human" | "agent";
|
|
@@ -626,10 +686,10 @@ export declare const CreateRunInput: z.ZodObject<{
|
|
|
626
686
|
taskCategory: "code" | "communication" | "email" | "research" | "content" | "other";
|
|
627
687
|
agentId: string;
|
|
628
688
|
description?: string | undefined;
|
|
689
|
+
executeModel?: string | null | undefined;
|
|
629
690
|
repo?: string | undefined;
|
|
630
691
|
artifactWorkspace?: string | undefined;
|
|
631
692
|
planModel?: string | null | undefined;
|
|
632
|
-
executeModel?: string | null | undefined;
|
|
633
693
|
acceptanceCriteria?: string | undefined;
|
|
634
694
|
budget?: {
|
|
635
695
|
plan?: {
|
|
@@ -650,11 +710,11 @@ export declare const CreateRunInput: z.ZodObject<{
|
|
|
650
710
|
agentId: string;
|
|
651
711
|
status?: "queued" | "plan_pending" | "plan_approved" | undefined;
|
|
652
712
|
description?: string | undefined;
|
|
713
|
+
executeModel?: string | null | undefined;
|
|
653
714
|
taskCategory?: "code" | "communication" | "email" | "research" | "content" | "other" | undefined;
|
|
654
715
|
repo?: string | undefined;
|
|
655
716
|
artifactWorkspace?: string | undefined;
|
|
656
717
|
planModel?: string | null | undefined;
|
|
657
|
-
executeModel?: string | null | undefined;
|
|
658
718
|
acceptanceCriteria?: string | undefined;
|
|
659
719
|
budget?: {
|
|
660
720
|
plan?: {
|
|
@@ -740,8 +800,8 @@ export declare const AgentConfigInput: z.ZodObject<{
|
|
|
740
800
|
runtime: "claude_code" | "cursor_local";
|
|
741
801
|
deckId?: string | undefined;
|
|
742
802
|
playbookId?: string | undefined;
|
|
743
|
-
planModel?: string | null | undefined;
|
|
744
803
|
executeModel?: string | null | undefined;
|
|
804
|
+
planModel?: string | null | undefined;
|
|
745
805
|
budget?: {
|
|
746
806
|
plan?: {
|
|
747
807
|
maxTurns?: number | null | undefined;
|
|
@@ -760,8 +820,8 @@ export declare const AgentConfigInput: z.ZodObject<{
|
|
|
760
820
|
runtime: "claude_code" | "cursor_local";
|
|
761
821
|
deckId?: string | undefined;
|
|
762
822
|
playbookId?: string | undefined;
|
|
763
|
-
planModel?: string | null | undefined;
|
|
764
823
|
executeModel?: string | null | undefined;
|
|
824
|
+
planModel?: string | null | undefined;
|
|
765
825
|
budget?: {
|
|
766
826
|
plan?: {
|
|
767
827
|
maxTurns?: number | null | undefined;
|
|
@@ -806,26 +866,26 @@ export declare const UpdatePlanInput: z.ZodObject<{
|
|
|
806
866
|
}, "strip", z.ZodTypeAny, {
|
|
807
867
|
approve: boolean;
|
|
808
868
|
planMarkdown: string;
|
|
809
|
-
planModel?: string | null | undefined;
|
|
810
869
|
executeModel?: string | null | undefined;
|
|
811
|
-
|
|
870
|
+
executeBudget?: {
|
|
812
871
|
maxTurns?: number | null | undefined;
|
|
813
872
|
maxBudgetUsd?: number | null | undefined;
|
|
814
873
|
} | null | undefined;
|
|
815
|
-
|
|
874
|
+
planModel?: string | null | undefined;
|
|
875
|
+
planBudget?: {
|
|
816
876
|
maxTurns?: number | null | undefined;
|
|
817
877
|
maxBudgetUsd?: number | null | undefined;
|
|
818
878
|
} | null | undefined;
|
|
819
879
|
}, {
|
|
820
880
|
planMarkdown: string;
|
|
821
|
-
approve?: boolean | undefined;
|
|
822
|
-
planModel?: string | null | undefined;
|
|
823
881
|
executeModel?: string | null | undefined;
|
|
824
|
-
|
|
882
|
+
executeBudget?: {
|
|
825
883
|
maxTurns?: number | null | undefined;
|
|
826
884
|
maxBudgetUsd?: number | null | undefined;
|
|
827
885
|
} | null | undefined;
|
|
828
|
-
|
|
886
|
+
approve?: boolean | undefined;
|
|
887
|
+
planModel?: string | null | undefined;
|
|
888
|
+
planBudget?: {
|
|
829
889
|
maxTurns?: number | null | undefined;
|
|
830
890
|
maxBudgetUsd?: number | null | undefined;
|
|
831
891
|
} | null | undefined;
|
|
@@ -872,14 +932,32 @@ export declare const RetryRunInput: z.ZodObject<{
|
|
|
872
932
|
/** @deprecated execution retry uses executeModel */
|
|
873
933
|
planModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
874
934
|
executeModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
935
|
+
executeBudget: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
936
|
+
maxTurns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
937
|
+
maxBudgetUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
938
|
+
}, "strip", z.ZodTypeAny, {
|
|
939
|
+
maxTurns?: number | null | undefined;
|
|
940
|
+
maxBudgetUsd?: number | null | undefined;
|
|
941
|
+
}, {
|
|
942
|
+
maxTurns?: number | null | undefined;
|
|
943
|
+
maxBudgetUsd?: number | null | undefined;
|
|
944
|
+
}>>>;
|
|
875
945
|
}, "strip", z.ZodTypeAny, {
|
|
876
946
|
feedback: string;
|
|
877
|
-
planModel?: string | null | undefined;
|
|
878
947
|
executeModel?: string | null | undefined;
|
|
948
|
+
executeBudget?: {
|
|
949
|
+
maxTurns?: number | null | undefined;
|
|
950
|
+
maxBudgetUsd?: number | null | undefined;
|
|
951
|
+
} | null | undefined;
|
|
952
|
+
planModel?: string | null | undefined;
|
|
879
953
|
}, {
|
|
880
954
|
feedback: string;
|
|
881
|
-
planModel?: string | null | undefined;
|
|
882
955
|
executeModel?: string | null | undefined;
|
|
956
|
+
executeBudget?: {
|
|
957
|
+
maxTurns?: number | null | undefined;
|
|
958
|
+
maxBudgetUsd?: number | null | undefined;
|
|
959
|
+
} | null | undefined;
|
|
960
|
+
planModel?: string | null | undefined;
|
|
883
961
|
}>;
|
|
884
962
|
export type RetryRunInput = z.infer<typeof RetryRunInput>;
|
|
885
963
|
export declare const LinearCandidate: z.ZodObject<{
|
|
@@ -1337,8 +1415,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1337
1415
|
playbookId: string | null;
|
|
1338
1416
|
createdAt: string;
|
|
1339
1417
|
updatedAt: string;
|
|
1340
|
-
title: string;
|
|
1341
1418
|
description: string | null;
|
|
1419
|
+
executeModel: string | null;
|
|
1420
|
+
title: string;
|
|
1342
1421
|
source: "manual" | "linear";
|
|
1343
1422
|
externalId: string | null;
|
|
1344
1423
|
externalLabel: string | null;
|
|
@@ -1348,7 +1427,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1348
1427
|
agentId: string | null;
|
|
1349
1428
|
agentName: string | null;
|
|
1350
1429
|
planModel: string | null;
|
|
1351
|
-
executeModel: string | null;
|
|
1352
1430
|
lineageId: string | null;
|
|
1353
1431
|
acceptanceCriteria: string | null;
|
|
1354
1432
|
approvalGatesJson: string | null;
|
|
@@ -1362,8 +1440,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1362
1440
|
playbookId: string | null;
|
|
1363
1441
|
createdAt: string;
|
|
1364
1442
|
updatedAt: string;
|
|
1365
|
-
title: string;
|
|
1366
1443
|
description: string | null;
|
|
1444
|
+
executeModel: string | null;
|
|
1445
|
+
title: string;
|
|
1367
1446
|
source: "manual" | "linear";
|
|
1368
1447
|
externalId: string | null;
|
|
1369
1448
|
externalLabel: string | null;
|
|
@@ -1373,7 +1452,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1373
1452
|
agentId: string | null;
|
|
1374
1453
|
agentName: string | null;
|
|
1375
1454
|
planModel: string | null;
|
|
1376
|
-
executeModel: string | null;
|
|
1377
1455
|
lineageId: string | null;
|
|
1378
1456
|
acceptanceCriteria: string | null;
|
|
1379
1457
|
approvalGatesJson: string | null;
|
|
@@ -1416,8 +1494,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1416
1494
|
playbookId: string | null;
|
|
1417
1495
|
createdAt: string;
|
|
1418
1496
|
updatedAt: string;
|
|
1419
|
-
title: string;
|
|
1420
1497
|
description: string | null;
|
|
1498
|
+
executeModel: string | null;
|
|
1499
|
+
title: string;
|
|
1421
1500
|
source: "manual" | "linear";
|
|
1422
1501
|
externalId: string | null;
|
|
1423
1502
|
externalLabel: string | null;
|
|
@@ -1427,7 +1506,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1427
1506
|
agentId: string | null;
|
|
1428
1507
|
agentName: string | null;
|
|
1429
1508
|
planModel: string | null;
|
|
1430
|
-
executeModel: string | null;
|
|
1431
1509
|
lineageId: string | null;
|
|
1432
1510
|
acceptanceCriteria: string | null;
|
|
1433
1511
|
approvalGatesJson: string | null;
|
|
@@ -1441,8 +1519,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1441
1519
|
playbookId: string | null;
|
|
1442
1520
|
createdAt: string;
|
|
1443
1521
|
updatedAt: string;
|
|
1444
|
-
title: string;
|
|
1445
1522
|
description: string | null;
|
|
1523
|
+
executeModel: string | null;
|
|
1524
|
+
title: string;
|
|
1446
1525
|
source: "manual" | "linear";
|
|
1447
1526
|
externalId: string | null;
|
|
1448
1527
|
externalLabel: string | null;
|
|
@@ -1452,7 +1531,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1452
1531
|
agentId: string | null;
|
|
1453
1532
|
agentName: string | null;
|
|
1454
1533
|
planModel: string | null;
|
|
1455
|
-
executeModel: string | null;
|
|
1456
1534
|
lineageId: string | null;
|
|
1457
1535
|
acceptanceCriteria: string | null;
|
|
1458
1536
|
approvalGatesJson: string | null;
|
|
@@ -1495,8 +1573,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1495
1573
|
playbookId: string | null;
|
|
1496
1574
|
createdAt: string;
|
|
1497
1575
|
updatedAt: string;
|
|
1498
|
-
title: string;
|
|
1499
1576
|
description: string | null;
|
|
1577
|
+
executeModel: string | null;
|
|
1578
|
+
title: string;
|
|
1500
1579
|
source: "manual" | "linear";
|
|
1501
1580
|
externalId: string | null;
|
|
1502
1581
|
externalLabel: string | null;
|
|
@@ -1506,7 +1585,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1506
1585
|
agentId: string | null;
|
|
1507
1586
|
agentName: string | null;
|
|
1508
1587
|
planModel: string | null;
|
|
1509
|
-
executeModel: string | null;
|
|
1510
1588
|
lineageId: string | null;
|
|
1511
1589
|
acceptanceCriteria: string | null;
|
|
1512
1590
|
approvalGatesJson: string | null;
|
|
@@ -1520,8 +1598,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1520
1598
|
playbookId: string | null;
|
|
1521
1599
|
createdAt: string;
|
|
1522
1600
|
updatedAt: string;
|
|
1523
|
-
title: string;
|
|
1524
1601
|
description: string | null;
|
|
1602
|
+
executeModel: string | null;
|
|
1603
|
+
title: string;
|
|
1525
1604
|
source: "manual" | "linear";
|
|
1526
1605
|
externalId: string | null;
|
|
1527
1606
|
externalLabel: string | null;
|
|
@@ -1531,7 +1610,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1531
1610
|
agentId: string | null;
|
|
1532
1611
|
agentName: string | null;
|
|
1533
1612
|
planModel: string | null;
|
|
1534
|
-
executeModel: string | null;
|
|
1535
1613
|
lineageId: string | null;
|
|
1536
1614
|
acceptanceCriteria: string | null;
|
|
1537
1615
|
approvalGatesJson: string | null;
|
|
@@ -1574,8 +1652,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1574
1652
|
playbookId: string | null;
|
|
1575
1653
|
createdAt: string;
|
|
1576
1654
|
updatedAt: string;
|
|
1577
|
-
title: string;
|
|
1578
1655
|
description: string | null;
|
|
1656
|
+
executeModel: string | null;
|
|
1657
|
+
title: string;
|
|
1579
1658
|
source: "manual" | "linear";
|
|
1580
1659
|
externalId: string | null;
|
|
1581
1660
|
externalLabel: string | null;
|
|
@@ -1585,7 +1664,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1585
1664
|
agentId: string | null;
|
|
1586
1665
|
agentName: string | null;
|
|
1587
1666
|
planModel: string | null;
|
|
1588
|
-
executeModel: string | null;
|
|
1589
1667
|
lineageId: string | null;
|
|
1590
1668
|
acceptanceCriteria: string | null;
|
|
1591
1669
|
approvalGatesJson: string | null;
|
|
@@ -1599,8 +1677,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1599
1677
|
playbookId: string | null;
|
|
1600
1678
|
createdAt: string;
|
|
1601
1679
|
updatedAt: string;
|
|
1602
|
-
title: string;
|
|
1603
1680
|
description: string | null;
|
|
1681
|
+
executeModel: string | null;
|
|
1682
|
+
title: string;
|
|
1604
1683
|
source: "manual" | "linear";
|
|
1605
1684
|
externalId: string | null;
|
|
1606
1685
|
externalLabel: string | null;
|
|
@@ -1610,7 +1689,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1610
1689
|
agentId: string | null;
|
|
1611
1690
|
agentName: string | null;
|
|
1612
1691
|
planModel: string | null;
|
|
1613
|
-
executeModel: string | null;
|
|
1614
1692
|
lineageId: string | null;
|
|
1615
1693
|
acceptanceCriteria: string | null;
|
|
1616
1694
|
approvalGatesJson: string | null;
|
|
@@ -1653,8 +1731,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1653
1731
|
playbookId: string | null;
|
|
1654
1732
|
createdAt: string;
|
|
1655
1733
|
updatedAt: string;
|
|
1656
|
-
title: string;
|
|
1657
1734
|
description: string | null;
|
|
1735
|
+
executeModel: string | null;
|
|
1736
|
+
title: string;
|
|
1658
1737
|
source: "manual" | "linear";
|
|
1659
1738
|
externalId: string | null;
|
|
1660
1739
|
externalLabel: string | null;
|
|
@@ -1664,7 +1743,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1664
1743
|
agentId: string | null;
|
|
1665
1744
|
agentName: string | null;
|
|
1666
1745
|
planModel: string | null;
|
|
1667
|
-
executeModel: string | null;
|
|
1668
1746
|
lineageId: string | null;
|
|
1669
1747
|
acceptanceCriteria: string | null;
|
|
1670
1748
|
approvalGatesJson: string | null;
|
|
@@ -1678,8 +1756,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1678
1756
|
playbookId: string | null;
|
|
1679
1757
|
createdAt: string;
|
|
1680
1758
|
updatedAt: string;
|
|
1681
|
-
title: string;
|
|
1682
1759
|
description: string | null;
|
|
1760
|
+
executeModel: string | null;
|
|
1761
|
+
title: string;
|
|
1683
1762
|
source: "manual" | "linear";
|
|
1684
1763
|
externalId: string | null;
|
|
1685
1764
|
externalLabel: string | null;
|
|
@@ -1689,7 +1768,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1689
1768
|
agentId: string | null;
|
|
1690
1769
|
agentName: string | null;
|
|
1691
1770
|
planModel: string | null;
|
|
1692
|
-
executeModel: string | null;
|
|
1693
1771
|
lineageId: string | null;
|
|
1694
1772
|
acceptanceCriteria: string | null;
|
|
1695
1773
|
approvalGatesJson: string | null;
|
|
@@ -1732,8 +1810,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1732
1810
|
playbookId: string | null;
|
|
1733
1811
|
createdAt: string;
|
|
1734
1812
|
updatedAt: string;
|
|
1735
|
-
title: string;
|
|
1736
1813
|
description: string | null;
|
|
1814
|
+
executeModel: string | null;
|
|
1815
|
+
title: string;
|
|
1737
1816
|
source: "manual" | "linear";
|
|
1738
1817
|
externalId: string | null;
|
|
1739
1818
|
externalLabel: string | null;
|
|
@@ -1743,7 +1822,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1743
1822
|
agentId: string | null;
|
|
1744
1823
|
agentName: string | null;
|
|
1745
1824
|
planModel: string | null;
|
|
1746
|
-
executeModel: string | null;
|
|
1747
1825
|
lineageId: string | null;
|
|
1748
1826
|
acceptanceCriteria: string | null;
|
|
1749
1827
|
approvalGatesJson: string | null;
|
|
@@ -1757,8 +1835,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1757
1835
|
playbookId: string | null;
|
|
1758
1836
|
createdAt: string;
|
|
1759
1837
|
updatedAt: string;
|
|
1760
|
-
title: string;
|
|
1761
1838
|
description: string | null;
|
|
1839
|
+
executeModel: string | null;
|
|
1840
|
+
title: string;
|
|
1762
1841
|
source: "manual" | "linear";
|
|
1763
1842
|
externalId: string | null;
|
|
1764
1843
|
externalLabel: string | null;
|
|
@@ -1768,7 +1847,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1768
1847
|
agentId: string | null;
|
|
1769
1848
|
agentName: string | null;
|
|
1770
1849
|
planModel: string | null;
|
|
1771
|
-
executeModel: string | null;
|
|
1772
1850
|
lineageId: string | null;
|
|
1773
1851
|
acceptanceCriteria: string | null;
|
|
1774
1852
|
approvalGatesJson: string | null;
|
|
@@ -1811,8 +1889,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1811
1889
|
playbookId: string | null;
|
|
1812
1890
|
createdAt: string;
|
|
1813
1891
|
updatedAt: string;
|
|
1814
|
-
title: string;
|
|
1815
1892
|
description: string | null;
|
|
1893
|
+
executeModel: string | null;
|
|
1894
|
+
title: string;
|
|
1816
1895
|
source: "manual" | "linear";
|
|
1817
1896
|
externalId: string | null;
|
|
1818
1897
|
externalLabel: string | null;
|
|
@@ -1822,7 +1901,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1822
1901
|
agentId: string | null;
|
|
1823
1902
|
agentName: string | null;
|
|
1824
1903
|
planModel: string | null;
|
|
1825
|
-
executeModel: string | null;
|
|
1826
1904
|
lineageId: string | null;
|
|
1827
1905
|
acceptanceCriteria: string | null;
|
|
1828
1906
|
approvalGatesJson: string | null;
|
|
@@ -1836,8 +1914,63 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1836
1914
|
playbookId: string | null;
|
|
1837
1915
|
createdAt: string;
|
|
1838
1916
|
updatedAt: string;
|
|
1917
|
+
description: string | null;
|
|
1918
|
+
executeModel: string | null;
|
|
1839
1919
|
title: string;
|
|
1920
|
+
source: "manual" | "linear";
|
|
1921
|
+
externalId: string | null;
|
|
1922
|
+
externalLabel: string | null;
|
|
1923
|
+
taskCategory: "code" | "communication" | "email" | "research" | "content" | "other";
|
|
1924
|
+
repo: string | null;
|
|
1925
|
+
artifactWorkspace: string | null;
|
|
1926
|
+
agentId: string | null;
|
|
1927
|
+
agentName: string | null;
|
|
1928
|
+
planModel: string | null;
|
|
1929
|
+
lineageId: string | null;
|
|
1930
|
+
acceptanceCriteria: string | null;
|
|
1931
|
+
approvalGatesJson: string | null;
|
|
1932
|
+
budgetJson: string | null;
|
|
1933
|
+
}>, "many">;
|
|
1934
|
+
awaitingAnswerRuns: z.ZodArray<z.ZodObject<{
|
|
1935
|
+
id: z.ZodString;
|
|
1936
|
+
source: z.ZodEnum<["manual", "linear"]>;
|
|
1937
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
1938
|
+
/** Human-readable external id, e.g. ENG-123 for Linear */
|
|
1939
|
+
externalLabel: z.ZodNullable<z.ZodString>;
|
|
1940
|
+
taskCategory: z.ZodEnum<["code", "communication", "email", "research", "content", "other"]>;
|
|
1941
|
+
title: z.ZodString;
|
|
1942
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1943
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
1944
|
+
artifactWorkspace: z.ZodNullable<z.ZodString>;
|
|
1945
|
+
agentId: z.ZodNullable<z.ZodString>;
|
|
1946
|
+
agentName: z.ZodNullable<z.ZodString>;
|
|
1947
|
+
deckId: z.ZodNullable<z.ZodString>;
|
|
1948
|
+
deckName: z.ZodNullable<z.ZodString>;
|
|
1949
|
+
playbookId: z.ZodNullable<z.ZodString>;
|
|
1950
|
+
runtime: z.ZodNullable<z.ZodEnum<["claude_code", "cursor_local"]>>;
|
|
1951
|
+
/** Task override for planning; null = agent default */
|
|
1952
|
+
planModel: z.ZodNullable<z.ZodString>;
|
|
1953
|
+
/** Task override for execution; null = agent default */
|
|
1954
|
+
executeModel: z.ZodNullable<z.ZodString>;
|
|
1955
|
+
status: z.ZodEnum<["queued", "plan_pending", "plan_approved", "running", "review", "done", "failed", "cancelled"]>;
|
|
1956
|
+
lineageId: z.ZodNullable<z.ZodString>;
|
|
1957
|
+
acceptanceCriteria: z.ZodNullable<z.ZodString>;
|
|
1958
|
+
approvalGatesJson: z.ZodNullable<z.ZodString>;
|
|
1959
|
+
budgetJson: z.ZodNullable<z.ZodString>;
|
|
1960
|
+
createdAt: z.ZodString;
|
|
1961
|
+
updatedAt: z.ZodString;
|
|
1962
|
+
}, "strip", z.ZodTypeAny, {
|
|
1963
|
+
status: "queued" | "plan_pending" | "plan_approved" | "running" | "review" | "done" | "failed" | "cancelled";
|
|
1964
|
+
id: string;
|
|
1965
|
+
runtime: "claude_code" | "cursor_local" | null;
|
|
1966
|
+
deckId: string | null;
|
|
1967
|
+
deckName: string | null;
|
|
1968
|
+
playbookId: string | null;
|
|
1969
|
+
createdAt: string;
|
|
1970
|
+
updatedAt: string;
|
|
1840
1971
|
description: string | null;
|
|
1972
|
+
executeModel: string | null;
|
|
1973
|
+
title: string;
|
|
1841
1974
|
source: "manual" | "linear";
|
|
1842
1975
|
externalId: string | null;
|
|
1843
1976
|
externalLabel: string | null;
|
|
@@ -1847,12 +1980,38 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1847
1980
|
agentId: string | null;
|
|
1848
1981
|
agentName: string | null;
|
|
1849
1982
|
planModel: string | null;
|
|
1983
|
+
lineageId: string | null;
|
|
1984
|
+
acceptanceCriteria: string | null;
|
|
1985
|
+
approvalGatesJson: string | null;
|
|
1986
|
+
budgetJson: string | null;
|
|
1987
|
+
}, {
|
|
1988
|
+
status: "queued" | "plan_pending" | "plan_approved" | "running" | "review" | "done" | "failed" | "cancelled";
|
|
1989
|
+
id: string;
|
|
1990
|
+
runtime: "claude_code" | "cursor_local" | null;
|
|
1991
|
+
deckId: string | null;
|
|
1992
|
+
deckName: string | null;
|
|
1993
|
+
playbookId: string | null;
|
|
1994
|
+
createdAt: string;
|
|
1995
|
+
updatedAt: string;
|
|
1996
|
+
description: string | null;
|
|
1850
1997
|
executeModel: string | null;
|
|
1998
|
+
title: string;
|
|
1999
|
+
source: "manual" | "linear";
|
|
2000
|
+
externalId: string | null;
|
|
2001
|
+
externalLabel: string | null;
|
|
2002
|
+
taskCategory: "code" | "communication" | "email" | "research" | "content" | "other";
|
|
2003
|
+
repo: string | null;
|
|
2004
|
+
artifactWorkspace: string | null;
|
|
2005
|
+
agentId: string | null;
|
|
2006
|
+
agentName: string | null;
|
|
2007
|
+
planModel: string | null;
|
|
1851
2008
|
lineageId: string | null;
|
|
1852
2009
|
acceptanceCriteria: string | null;
|
|
1853
2010
|
approvalGatesJson: string | null;
|
|
1854
2011
|
budgetJson: string | null;
|
|
1855
2012
|
}>, "many">;
|
|
2013
|
+
openQuestionCounts: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2014
|
+
autoApprovedRunIds: z.ZodArray<z.ZodString, "many">;
|
|
1856
2015
|
runs: z.ZodArray<z.ZodObject<{
|
|
1857
2016
|
id: z.ZodString;
|
|
1858
2017
|
source: z.ZodEnum<["manual", "linear"]>;
|
|
@@ -1890,8 +2049,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1890
2049
|
playbookId: string | null;
|
|
1891
2050
|
createdAt: string;
|
|
1892
2051
|
updatedAt: string;
|
|
1893
|
-
title: string;
|
|
1894
2052
|
description: string | null;
|
|
2053
|
+
executeModel: string | null;
|
|
2054
|
+
title: string;
|
|
1895
2055
|
source: "manual" | "linear";
|
|
1896
2056
|
externalId: string | null;
|
|
1897
2057
|
externalLabel: string | null;
|
|
@@ -1901,7 +2061,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1901
2061
|
agentId: string | null;
|
|
1902
2062
|
agentName: string | null;
|
|
1903
2063
|
planModel: string | null;
|
|
1904
|
-
executeModel: string | null;
|
|
1905
2064
|
lineageId: string | null;
|
|
1906
2065
|
acceptanceCriteria: string | null;
|
|
1907
2066
|
approvalGatesJson: string | null;
|
|
@@ -1915,8 +2074,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1915
2074
|
playbookId: string | null;
|
|
1916
2075
|
createdAt: string;
|
|
1917
2076
|
updatedAt: string;
|
|
1918
|
-
title: string;
|
|
1919
2077
|
description: string | null;
|
|
2078
|
+
executeModel: string | null;
|
|
2079
|
+
title: string;
|
|
1920
2080
|
source: "manual" | "linear";
|
|
1921
2081
|
externalId: string | null;
|
|
1922
2082
|
externalLabel: string | null;
|
|
@@ -1926,7 +2086,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
1926
2086
|
agentId: string | null;
|
|
1927
2087
|
agentName: string | null;
|
|
1928
2088
|
planModel: string | null;
|
|
1929
|
-
executeModel: string | null;
|
|
1930
2089
|
lineageId: string | null;
|
|
1931
2090
|
acceptanceCriteria: string | null;
|
|
1932
2091
|
approvalGatesJson: string | null;
|
|
@@ -2036,8 +2195,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2036
2195
|
playbookId: string | null;
|
|
2037
2196
|
createdAt: string;
|
|
2038
2197
|
updatedAt: string;
|
|
2039
|
-
title: string;
|
|
2040
2198
|
description: string | null;
|
|
2199
|
+
executeModel: string | null;
|
|
2200
|
+
title: string;
|
|
2041
2201
|
source: "manual" | "linear";
|
|
2042
2202
|
externalId: string | null;
|
|
2043
2203
|
externalLabel: string | null;
|
|
@@ -2047,7 +2207,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2047
2207
|
agentId: string | null;
|
|
2048
2208
|
agentName: string | null;
|
|
2049
2209
|
planModel: string | null;
|
|
2050
|
-
executeModel: string | null;
|
|
2051
2210
|
lineageId: string | null;
|
|
2052
2211
|
acceptanceCriteria: string | null;
|
|
2053
2212
|
approvalGatesJson: string | null;
|
|
@@ -2062,8 +2221,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2062
2221
|
playbookId: string | null;
|
|
2063
2222
|
createdAt: string;
|
|
2064
2223
|
updatedAt: string;
|
|
2065
|
-
title: string;
|
|
2066
2224
|
description: string | null;
|
|
2225
|
+
executeModel: string | null;
|
|
2226
|
+
title: string;
|
|
2067
2227
|
source: "manual" | "linear";
|
|
2068
2228
|
externalId: string | null;
|
|
2069
2229
|
externalLabel: string | null;
|
|
@@ -2073,7 +2233,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2073
2233
|
agentId: string | null;
|
|
2074
2234
|
agentName: string | null;
|
|
2075
2235
|
planModel: string | null;
|
|
2076
|
-
executeModel: string | null;
|
|
2077
2236
|
lineageId: string | null;
|
|
2078
2237
|
acceptanceCriteria: string | null;
|
|
2079
2238
|
approvalGatesJson: string | null;
|
|
@@ -2088,8 +2247,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2088
2247
|
playbookId: string | null;
|
|
2089
2248
|
createdAt: string;
|
|
2090
2249
|
updatedAt: string;
|
|
2091
|
-
title: string;
|
|
2092
2250
|
description: string | null;
|
|
2251
|
+
executeModel: string | null;
|
|
2252
|
+
title: string;
|
|
2093
2253
|
source: "manual" | "linear";
|
|
2094
2254
|
externalId: string | null;
|
|
2095
2255
|
externalLabel: string | null;
|
|
@@ -2099,7 +2259,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2099
2259
|
agentId: string | null;
|
|
2100
2260
|
agentName: string | null;
|
|
2101
2261
|
planModel: string | null;
|
|
2102
|
-
executeModel: string | null;
|
|
2103
2262
|
lineageId: string | null;
|
|
2104
2263
|
acceptanceCriteria: string | null;
|
|
2105
2264
|
approvalGatesJson: string | null;
|
|
@@ -2114,8 +2273,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2114
2273
|
playbookId: string | null;
|
|
2115
2274
|
createdAt: string;
|
|
2116
2275
|
updatedAt: string;
|
|
2117
|
-
title: string;
|
|
2118
2276
|
description: string | null;
|
|
2277
|
+
executeModel: string | null;
|
|
2278
|
+
title: string;
|
|
2119
2279
|
source: "manual" | "linear";
|
|
2120
2280
|
externalId: string | null;
|
|
2121
2281
|
externalLabel: string | null;
|
|
@@ -2125,7 +2285,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2125
2285
|
agentId: string | null;
|
|
2126
2286
|
agentName: string | null;
|
|
2127
2287
|
planModel: string | null;
|
|
2128
|
-
executeModel: string | null;
|
|
2129
2288
|
lineageId: string | null;
|
|
2130
2289
|
acceptanceCriteria: string | null;
|
|
2131
2290
|
approvalGatesJson: string | null;
|
|
@@ -2140,8 +2299,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2140
2299
|
playbookId: string | null;
|
|
2141
2300
|
createdAt: string;
|
|
2142
2301
|
updatedAt: string;
|
|
2143
|
-
title: string;
|
|
2144
2302
|
description: string | null;
|
|
2303
|
+
executeModel: string | null;
|
|
2304
|
+
title: string;
|
|
2145
2305
|
source: "manual" | "linear";
|
|
2146
2306
|
externalId: string | null;
|
|
2147
2307
|
externalLabel: string | null;
|
|
@@ -2151,7 +2311,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2151
2311
|
agentId: string | null;
|
|
2152
2312
|
agentName: string | null;
|
|
2153
2313
|
planModel: string | null;
|
|
2154
|
-
executeModel: string | null;
|
|
2155
2314
|
lineageId: string | null;
|
|
2156
2315
|
acceptanceCriteria: string | null;
|
|
2157
2316
|
approvalGatesJson: string | null;
|
|
@@ -2166,8 +2325,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2166
2325
|
playbookId: string | null;
|
|
2167
2326
|
createdAt: string;
|
|
2168
2327
|
updatedAt: string;
|
|
2169
|
-
title: string;
|
|
2170
2328
|
description: string | null;
|
|
2329
|
+
executeModel: string | null;
|
|
2330
|
+
title: string;
|
|
2171
2331
|
source: "manual" | "linear";
|
|
2172
2332
|
externalId: string | null;
|
|
2173
2333
|
externalLabel: string | null;
|
|
@@ -2177,7 +2337,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2177
2337
|
agentId: string | null;
|
|
2178
2338
|
agentName: string | null;
|
|
2179
2339
|
planModel: string | null;
|
|
2180
|
-
executeModel: string | null;
|
|
2181
2340
|
lineageId: string | null;
|
|
2182
2341
|
acceptanceCriteria: string | null;
|
|
2183
2342
|
approvalGatesJson: string | null;
|
|
@@ -2192,8 +2351,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2192
2351
|
playbookId: string | null;
|
|
2193
2352
|
createdAt: string;
|
|
2194
2353
|
updatedAt: string;
|
|
2195
|
-
title: string;
|
|
2196
2354
|
description: string | null;
|
|
2355
|
+
executeModel: string | null;
|
|
2356
|
+
title: string;
|
|
2197
2357
|
source: "manual" | "linear";
|
|
2198
2358
|
externalId: string | null;
|
|
2199
2359
|
externalLabel: string | null;
|
|
@@ -2203,12 +2363,39 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2203
2363
|
agentId: string | null;
|
|
2204
2364
|
agentName: string | null;
|
|
2205
2365
|
planModel: string | null;
|
|
2366
|
+
lineageId: string | null;
|
|
2367
|
+
acceptanceCriteria: string | null;
|
|
2368
|
+
approvalGatesJson: string | null;
|
|
2369
|
+
budgetJson: string | null;
|
|
2370
|
+
}[];
|
|
2371
|
+
awaitingAnswerRuns: {
|
|
2372
|
+
status: "queued" | "plan_pending" | "plan_approved" | "running" | "review" | "done" | "failed" | "cancelled";
|
|
2373
|
+
id: string;
|
|
2374
|
+
runtime: "claude_code" | "cursor_local" | null;
|
|
2375
|
+
deckId: string | null;
|
|
2376
|
+
deckName: string | null;
|
|
2377
|
+
playbookId: string | null;
|
|
2378
|
+
createdAt: string;
|
|
2379
|
+
updatedAt: string;
|
|
2380
|
+
description: string | null;
|
|
2206
2381
|
executeModel: string | null;
|
|
2382
|
+
title: string;
|
|
2383
|
+
source: "manual" | "linear";
|
|
2384
|
+
externalId: string | null;
|
|
2385
|
+
externalLabel: string | null;
|
|
2386
|
+
taskCategory: "code" | "communication" | "email" | "research" | "content" | "other";
|
|
2387
|
+
repo: string | null;
|
|
2388
|
+
artifactWorkspace: string | null;
|
|
2389
|
+
agentId: string | null;
|
|
2390
|
+
agentName: string | null;
|
|
2391
|
+
planModel: string | null;
|
|
2207
2392
|
lineageId: string | null;
|
|
2208
2393
|
acceptanceCriteria: string | null;
|
|
2209
2394
|
approvalGatesJson: string | null;
|
|
2210
2395
|
budgetJson: string | null;
|
|
2211
2396
|
}[];
|
|
2397
|
+
openQuestionCounts: Record<string, number>;
|
|
2398
|
+
autoApprovedRunIds: string[];
|
|
2212
2399
|
runs: {
|
|
2213
2400
|
status: "queued" | "plan_pending" | "plan_approved" | "running" | "review" | "done" | "failed" | "cancelled";
|
|
2214
2401
|
id: string;
|
|
@@ -2218,8 +2405,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2218
2405
|
playbookId: string | null;
|
|
2219
2406
|
createdAt: string;
|
|
2220
2407
|
updatedAt: string;
|
|
2221
|
-
title: string;
|
|
2222
2408
|
description: string | null;
|
|
2409
|
+
executeModel: string | null;
|
|
2410
|
+
title: string;
|
|
2223
2411
|
source: "manual" | "linear";
|
|
2224
2412
|
externalId: string | null;
|
|
2225
2413
|
externalLabel: string | null;
|
|
@@ -2229,7 +2417,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2229
2417
|
agentId: string | null;
|
|
2230
2418
|
agentName: string | null;
|
|
2231
2419
|
planModel: string | null;
|
|
2232
|
-
executeModel: string | null;
|
|
2233
2420
|
lineageId: string | null;
|
|
2234
2421
|
acceptanceCriteria: string | null;
|
|
2235
2422
|
approvalGatesJson: string | null;
|
|
@@ -2271,8 +2458,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2271
2458
|
playbookId: string | null;
|
|
2272
2459
|
createdAt: string;
|
|
2273
2460
|
updatedAt: string;
|
|
2274
|
-
title: string;
|
|
2275
2461
|
description: string | null;
|
|
2462
|
+
executeModel: string | null;
|
|
2463
|
+
title: string;
|
|
2276
2464
|
source: "manual" | "linear";
|
|
2277
2465
|
externalId: string | null;
|
|
2278
2466
|
externalLabel: string | null;
|
|
@@ -2282,7 +2470,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2282
2470
|
agentId: string | null;
|
|
2283
2471
|
agentName: string | null;
|
|
2284
2472
|
planModel: string | null;
|
|
2285
|
-
executeModel: string | null;
|
|
2286
2473
|
lineageId: string | null;
|
|
2287
2474
|
acceptanceCriteria: string | null;
|
|
2288
2475
|
approvalGatesJson: string | null;
|
|
@@ -2297,8 +2484,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2297
2484
|
playbookId: string | null;
|
|
2298
2485
|
createdAt: string;
|
|
2299
2486
|
updatedAt: string;
|
|
2300
|
-
title: string;
|
|
2301
2487
|
description: string | null;
|
|
2488
|
+
executeModel: string | null;
|
|
2489
|
+
title: string;
|
|
2302
2490
|
source: "manual" | "linear";
|
|
2303
2491
|
externalId: string | null;
|
|
2304
2492
|
externalLabel: string | null;
|
|
@@ -2308,7 +2496,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2308
2496
|
agentId: string | null;
|
|
2309
2497
|
agentName: string | null;
|
|
2310
2498
|
planModel: string | null;
|
|
2311
|
-
executeModel: string | null;
|
|
2312
2499
|
lineageId: string | null;
|
|
2313
2500
|
acceptanceCriteria: string | null;
|
|
2314
2501
|
approvalGatesJson: string | null;
|
|
@@ -2323,8 +2510,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2323
2510
|
playbookId: string | null;
|
|
2324
2511
|
createdAt: string;
|
|
2325
2512
|
updatedAt: string;
|
|
2326
|
-
title: string;
|
|
2327
2513
|
description: string | null;
|
|
2514
|
+
executeModel: string | null;
|
|
2515
|
+
title: string;
|
|
2328
2516
|
source: "manual" | "linear";
|
|
2329
2517
|
externalId: string | null;
|
|
2330
2518
|
externalLabel: string | null;
|
|
@@ -2334,7 +2522,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2334
2522
|
agentId: string | null;
|
|
2335
2523
|
agentName: string | null;
|
|
2336
2524
|
planModel: string | null;
|
|
2337
|
-
executeModel: string | null;
|
|
2338
2525
|
lineageId: string | null;
|
|
2339
2526
|
acceptanceCriteria: string | null;
|
|
2340
2527
|
approvalGatesJson: string | null;
|
|
@@ -2349,8 +2536,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2349
2536
|
playbookId: string | null;
|
|
2350
2537
|
createdAt: string;
|
|
2351
2538
|
updatedAt: string;
|
|
2352
|
-
title: string;
|
|
2353
2539
|
description: string | null;
|
|
2540
|
+
executeModel: string | null;
|
|
2541
|
+
title: string;
|
|
2354
2542
|
source: "manual" | "linear";
|
|
2355
2543
|
externalId: string | null;
|
|
2356
2544
|
externalLabel: string | null;
|
|
@@ -2360,7 +2548,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2360
2548
|
agentId: string | null;
|
|
2361
2549
|
agentName: string | null;
|
|
2362
2550
|
planModel: string | null;
|
|
2363
|
-
executeModel: string | null;
|
|
2364
2551
|
lineageId: string | null;
|
|
2365
2552
|
acceptanceCriteria: string | null;
|
|
2366
2553
|
approvalGatesJson: string | null;
|
|
@@ -2375,8 +2562,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2375
2562
|
playbookId: string | null;
|
|
2376
2563
|
createdAt: string;
|
|
2377
2564
|
updatedAt: string;
|
|
2378
|
-
title: string;
|
|
2379
2565
|
description: string | null;
|
|
2566
|
+
executeModel: string | null;
|
|
2567
|
+
title: string;
|
|
2380
2568
|
source: "manual" | "linear";
|
|
2381
2569
|
externalId: string | null;
|
|
2382
2570
|
externalLabel: string | null;
|
|
@@ -2386,7 +2574,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2386
2574
|
agentId: string | null;
|
|
2387
2575
|
agentName: string | null;
|
|
2388
2576
|
planModel: string | null;
|
|
2389
|
-
executeModel: string | null;
|
|
2390
2577
|
lineageId: string | null;
|
|
2391
2578
|
acceptanceCriteria: string | null;
|
|
2392
2579
|
approvalGatesJson: string | null;
|
|
@@ -2401,8 +2588,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2401
2588
|
playbookId: string | null;
|
|
2402
2589
|
createdAt: string;
|
|
2403
2590
|
updatedAt: string;
|
|
2404
|
-
title: string;
|
|
2405
2591
|
description: string | null;
|
|
2592
|
+
executeModel: string | null;
|
|
2593
|
+
title: string;
|
|
2406
2594
|
source: "manual" | "linear";
|
|
2407
2595
|
externalId: string | null;
|
|
2408
2596
|
externalLabel: string | null;
|
|
@@ -2412,7 +2600,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2412
2600
|
agentId: string | null;
|
|
2413
2601
|
agentName: string | null;
|
|
2414
2602
|
planModel: string | null;
|
|
2415
|
-
executeModel: string | null;
|
|
2416
2603
|
lineageId: string | null;
|
|
2417
2604
|
acceptanceCriteria: string | null;
|
|
2418
2605
|
approvalGatesJson: string | null;
|
|
@@ -2427,8 +2614,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2427
2614
|
playbookId: string | null;
|
|
2428
2615
|
createdAt: string;
|
|
2429
2616
|
updatedAt: string;
|
|
2430
|
-
title: string;
|
|
2431
2617
|
description: string | null;
|
|
2618
|
+
executeModel: string | null;
|
|
2619
|
+
title: string;
|
|
2432
2620
|
source: "manual" | "linear";
|
|
2433
2621
|
externalId: string | null;
|
|
2434
2622
|
externalLabel: string | null;
|
|
@@ -2438,12 +2626,39 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2438
2626
|
agentId: string | null;
|
|
2439
2627
|
agentName: string | null;
|
|
2440
2628
|
planModel: string | null;
|
|
2629
|
+
lineageId: string | null;
|
|
2630
|
+
acceptanceCriteria: string | null;
|
|
2631
|
+
approvalGatesJson: string | null;
|
|
2632
|
+
budgetJson: string | null;
|
|
2633
|
+
}[];
|
|
2634
|
+
awaitingAnswerRuns: {
|
|
2635
|
+
status: "queued" | "plan_pending" | "plan_approved" | "running" | "review" | "done" | "failed" | "cancelled";
|
|
2636
|
+
id: string;
|
|
2637
|
+
runtime: "claude_code" | "cursor_local" | null;
|
|
2638
|
+
deckId: string | null;
|
|
2639
|
+
deckName: string | null;
|
|
2640
|
+
playbookId: string | null;
|
|
2641
|
+
createdAt: string;
|
|
2642
|
+
updatedAt: string;
|
|
2643
|
+
description: string | null;
|
|
2441
2644
|
executeModel: string | null;
|
|
2645
|
+
title: string;
|
|
2646
|
+
source: "manual" | "linear";
|
|
2647
|
+
externalId: string | null;
|
|
2648
|
+
externalLabel: string | null;
|
|
2649
|
+
taskCategory: "code" | "communication" | "email" | "research" | "content" | "other";
|
|
2650
|
+
repo: string | null;
|
|
2651
|
+
artifactWorkspace: string | null;
|
|
2652
|
+
agentId: string | null;
|
|
2653
|
+
agentName: string | null;
|
|
2654
|
+
planModel: string | null;
|
|
2442
2655
|
lineageId: string | null;
|
|
2443
2656
|
acceptanceCriteria: string | null;
|
|
2444
2657
|
approvalGatesJson: string | null;
|
|
2445
2658
|
budgetJson: string | null;
|
|
2446
2659
|
}[];
|
|
2660
|
+
openQuestionCounts: Record<string, number>;
|
|
2661
|
+
autoApprovedRunIds: string[];
|
|
2447
2662
|
runs: {
|
|
2448
2663
|
status: "queued" | "plan_pending" | "plan_approved" | "running" | "review" | "done" | "failed" | "cancelled";
|
|
2449
2664
|
id: string;
|
|
@@ -2453,8 +2668,9 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2453
2668
|
playbookId: string | null;
|
|
2454
2669
|
createdAt: string;
|
|
2455
2670
|
updatedAt: string;
|
|
2456
|
-
title: string;
|
|
2457
2671
|
description: string | null;
|
|
2672
|
+
executeModel: string | null;
|
|
2673
|
+
title: string;
|
|
2458
2674
|
source: "manual" | "linear";
|
|
2459
2675
|
externalId: string | null;
|
|
2460
2676
|
externalLabel: string | null;
|
|
@@ -2464,7 +2680,6 @@ export declare const QueueSnapshot: z.ZodObject<{
|
|
|
2464
2680
|
agentId: string | null;
|
|
2465
2681
|
agentName: string | null;
|
|
2466
2682
|
planModel: string | null;
|
|
2467
|
-
executeModel: string | null;
|
|
2468
2683
|
lineageId: string | null;
|
|
2469
2684
|
acceptanceCriteria: string | null;
|
|
2470
2685
|
approvalGatesJson: string | null;
|