@hyperdrive.bot/paseo-protocol 0.3.41 → 0.3.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-state-bucket.d.ts +28 -4
- package/dist/agent-state-bucket.js +28 -4
- package/dist/generated/validation/ws-outbound.aot.js +26832 -26599
- package/dist/messages.d.ts +401 -84
- package/dist/messages.js +65 -2
- package/dist/validation/ws-outbound-schema-metadata.d.ts +58 -20
- package/dist/workflow/compile.d.ts +33 -0
- package/dist/workflow/compile.js +172 -0
- package/dist/workflow/definition.d.ts +134 -0
- package/dist/workflow/definition.js +362 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -167,6 +167,37 @@ export declare const WorkflowPhaseSchema: z.ZodObject<{
|
|
|
167
167
|
storyCount: z.ZodOptional<z.ZodNumber>;
|
|
168
168
|
completedStoryCount: z.ZodOptional<z.ZodNumber>;
|
|
169
169
|
}, z.core.$strip>;
|
|
170
|
+
/**
|
|
171
|
+
* Per-step agent config (Epic 2, Story 2.1). A CLOSED subset of the daemon's
|
|
172
|
+
* `AgentSessionConfig`: every key optional, and `.strict()` so an unknown key is a
|
|
173
|
+
* parse ERROR rather than a silent strip. Silent-strip is the failure this schema
|
|
174
|
+
* exists to prevent: a typo'd `provider:` would otherwise spawn the default agent
|
|
175
|
+
* with no signal, which is exactly the "silent fallback to the default" the epic forbids.
|
|
176
|
+
*
|
|
177
|
+
* Deliberately excluded, each for a reason:
|
|
178
|
+
* - `cwd`: workflow-owned. A step must not relocate its child. Also forced at merge time.
|
|
179
|
+
* - `extra` / `mcpServers` / `featureValues`: arbitrary nested structure, i.e. the
|
|
180
|
+
* "deterministic via code" escape hatch this PRD exists to close.
|
|
181
|
+
* - `title`: owned by `initialTitle`, which the manager sets from `node.title`.
|
|
182
|
+
* - `daemonAppendSystemPrompt`: runtime-only, never persisted (`agent-sdk-types.ts:565-568`).
|
|
183
|
+
* - `internal`: workflow children must stay listable (`AgentManager.listAgents` filters
|
|
184
|
+
* on `!agent.internal`, `agent-manager.ts:810-813`).
|
|
185
|
+
*
|
|
186
|
+
* Widening this vocabulary requires a schema edit AND a new test. It must never widen
|
|
187
|
+
* by accident from a config file.
|
|
188
|
+
*/
|
|
189
|
+
export declare const WorkflowAgentPresetSchema: z.ZodObject<{
|
|
190
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
191
|
+
model: z.ZodOptional<z.ZodString>;
|
|
192
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
193
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
194
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
195
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
196
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
197
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
198
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
+
}, z.core.$strict>;
|
|
200
|
+
export type WorkflowAgentPreset = z.infer<typeof WorkflowAgentPresetSchema>;
|
|
170
201
|
export declare const WorkflowSnapshotSchema: z.ZodObject<{
|
|
171
202
|
id: z.ZodString;
|
|
172
203
|
cwd: z.ZodString;
|
|
@@ -179,6 +210,17 @@ export declare const WorkflowSnapshotSchema: z.ZodObject<{
|
|
|
179
210
|
}>;
|
|
180
211
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
212
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
213
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
214
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
215
|
+
model: z.ZodOptional<z.ZodString>;
|
|
216
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
217
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
218
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
219
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
220
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
221
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
223
|
+
}, z.core.$strict>>>;
|
|
182
224
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
183
225
|
id: z.ZodString;
|
|
184
226
|
title: z.ZodString;
|
|
@@ -213,6 +255,17 @@ export declare const STORED_WORKFLOW_SCHEMA: z.ZodObject<{
|
|
|
213
255
|
}>;
|
|
214
256
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
215
257
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
258
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
259
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
260
|
+
model: z.ZodOptional<z.ZodString>;
|
|
261
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
262
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
263
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
264
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
265
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
266
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
267
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
}, z.core.$strict>>>;
|
|
216
269
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
217
270
|
id: z.ZodString;
|
|
218
271
|
title: z.ZodString;
|
|
@@ -286,6 +339,17 @@ export declare const WorkflowListResponseSchema: z.ZodObject<{
|
|
|
286
339
|
}>;
|
|
287
340
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
288
341
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
342
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
343
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
344
|
+
model: z.ZodOptional<z.ZodString>;
|
|
345
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
346
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
347
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
348
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
349
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
350
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
351
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
352
|
+
}, z.core.$strict>>>;
|
|
289
353
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
290
354
|
id: z.ZodString;
|
|
291
355
|
title: z.ZodString;
|
|
@@ -331,6 +395,17 @@ export declare const WorkflowGetResponseSchema: z.ZodObject<{
|
|
|
331
395
|
}>;
|
|
332
396
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
333
397
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
398
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
399
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
400
|
+
model: z.ZodOptional<z.ZodString>;
|
|
401
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
402
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
403
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
404
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
405
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
406
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
407
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
408
|
+
}, z.core.$strict>>>;
|
|
334
409
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
335
410
|
id: z.ZodString;
|
|
336
411
|
title: z.ZodString;
|
|
@@ -376,6 +451,17 @@ export declare const WorkflowCancelResponseSchema: z.ZodObject<{
|
|
|
376
451
|
}>;
|
|
377
452
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
378
453
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
454
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
455
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
456
|
+
model: z.ZodOptional<z.ZodString>;
|
|
457
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
458
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
459
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
460
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
461
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
462
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
463
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
464
|
+
}, z.core.$strict>>>;
|
|
379
465
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
380
466
|
id: z.ZodString;
|
|
381
467
|
title: z.ZodString;
|
|
@@ -450,6 +536,17 @@ export declare const WorkflowTaskNodeSchema: z.ZodObject<{
|
|
|
450
536
|
parallelizable: z.ZodBoolean;
|
|
451
537
|
estimatedMinutes: z.ZodNumber;
|
|
452
538
|
agentType: z.ZodOptional<z.ZodString>;
|
|
539
|
+
agentConfig: z.ZodOptional<z.ZodObject<{
|
|
540
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
541
|
+
model: z.ZodOptional<z.ZodString>;
|
|
542
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
543
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
544
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
545
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
546
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
547
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
548
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
549
|
+
}, z.core.$strict>>;
|
|
453
550
|
targetFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
454
551
|
}, z.core.$strip>;
|
|
455
552
|
/** Decomposed task graph driving child-agent spawning. */
|
|
@@ -480,6 +577,17 @@ export declare const WorkflowTaskGraphSchema: z.ZodObject<{
|
|
|
480
577
|
parallelizable: z.ZodBoolean;
|
|
481
578
|
estimatedMinutes: z.ZodNumber;
|
|
482
579
|
agentType: z.ZodOptional<z.ZodString>;
|
|
580
|
+
agentConfig: z.ZodOptional<z.ZodObject<{
|
|
581
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
582
|
+
model: z.ZodOptional<z.ZodString>;
|
|
583
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
584
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
585
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
586
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
587
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
588
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
589
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
590
|
+
}, z.core.$strict>>;
|
|
483
591
|
targetFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
484
592
|
}, z.core.$strip>>;
|
|
485
593
|
}, z.core.$strip>;
|
|
@@ -515,6 +623,17 @@ export declare const WorkflowStartRequestSchema: z.ZodObject<{
|
|
|
515
623
|
parallelizable: z.ZodBoolean;
|
|
516
624
|
estimatedMinutes: z.ZodNumber;
|
|
517
625
|
agentType: z.ZodOptional<z.ZodString>;
|
|
626
|
+
agentConfig: z.ZodOptional<z.ZodObject<{
|
|
627
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
628
|
+
model: z.ZodOptional<z.ZodString>;
|
|
629
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
630
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
631
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
632
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
633
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
634
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
635
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
636
|
+
}, z.core.$strict>>;
|
|
518
637
|
targetFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
519
638
|
}, z.core.$strip>>;
|
|
520
639
|
}, z.core.$strip>;
|
|
@@ -523,6 +642,17 @@ export declare const WorkflowStartRequestSchema: z.ZodObject<{
|
|
|
523
642
|
model: z.ZodOptional<z.ZodString>;
|
|
524
643
|
title: z.ZodOptional<z.ZodString>;
|
|
525
644
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
645
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
646
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
647
|
+
model: z.ZodOptional<z.ZodString>;
|
|
648
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
649
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
650
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
651
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
652
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
653
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
654
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
655
|
+
}, z.core.$strict>>>;
|
|
526
656
|
}, z.core.$strip>;
|
|
527
657
|
export declare const WorkflowStartResponseSchema: z.ZodObject<{
|
|
528
658
|
type: z.ZodLiteral<"workflow.start.response">;
|
|
@@ -1404,6 +1534,7 @@ declare const WorkspaceStateBucketSchema: z.ZodEnum<{
|
|
|
1404
1534
|
attention: "attention";
|
|
1405
1535
|
needs_input: "needs_input";
|
|
1406
1536
|
failed: "failed";
|
|
1537
|
+
pending: "pending";
|
|
1407
1538
|
done: "done";
|
|
1408
1539
|
}>;
|
|
1409
1540
|
export declare const FetchWorkspacesRequestMessageSchema: z.ZodObject<{
|
|
@@ -3803,6 +3934,17 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
3803
3934
|
parallelizable: z.ZodBoolean;
|
|
3804
3935
|
estimatedMinutes: z.ZodNumber;
|
|
3805
3936
|
agentType: z.ZodOptional<z.ZodString>;
|
|
3937
|
+
agentConfig: z.ZodOptional<z.ZodObject<{
|
|
3938
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
3939
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3940
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
3941
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
3942
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
3943
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
3944
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
3945
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
3946
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
3947
|
+
}, z.core.$strict>>;
|
|
3806
3948
|
targetFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3807
3949
|
}, z.core.$strip>>;
|
|
3808
3950
|
}, z.core.$strip>;
|
|
@@ -3811,6 +3953,17 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
3811
3953
|
model: z.ZodOptional<z.ZodString>;
|
|
3812
3954
|
title: z.ZodOptional<z.ZodString>;
|
|
3813
3955
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3956
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3957
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
3958
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3959
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
3960
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
3961
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
3962
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
3963
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
3964
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
3965
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
3966
|
+
}, z.core.$strict>>>;
|
|
3814
3967
|
}, z.core.$strip>, z.ZodObject<{
|
|
3815
3968
|
type: z.ZodLiteral<"diagnostics.request">;
|
|
3816
3969
|
requestId: z.ZodString;
|
|
@@ -6317,13 +6470,14 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
6317
6470
|
name: z.ZodString;
|
|
6318
6471
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6319
6472
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6320
|
-
status: z.ZodEnum<{
|
|
6473
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
6321
6474
|
running: "running";
|
|
6322
6475
|
attention: "attention";
|
|
6323
6476
|
needs_input: "needs_input";
|
|
6324
6477
|
failed: "failed";
|
|
6478
|
+
pending: "pending";
|
|
6325
6479
|
done: "done";
|
|
6326
|
-
}
|
|
6480
|
+
}>>;
|
|
6327
6481
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
6328
6482
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
6329
6483
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -6501,7 +6655,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
6501
6655
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
6502
6656
|
name: string;
|
|
6503
6657
|
archivingAt: string | null;
|
|
6504
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
6658
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
6505
6659
|
statusEnteredAt: string | null;
|
|
6506
6660
|
activityAt: string | null;
|
|
6507
6661
|
scripts: {
|
|
@@ -6604,7 +6758,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
6604
6758
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
6605
6759
|
name: string;
|
|
6606
6760
|
archivingAt: string | null;
|
|
6607
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
6761
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
6608
6762
|
statusEnteredAt: string | null;
|
|
6609
6763
|
activityAt: string | null;
|
|
6610
6764
|
scripts: {
|
|
@@ -7592,13 +7746,14 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
|
|
|
7592
7746
|
name: z.ZodString;
|
|
7593
7747
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7594
7748
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
7595
|
-
status: z.ZodEnum<{
|
|
7749
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
7596
7750
|
running: "running";
|
|
7597
7751
|
attention: "attention";
|
|
7598
7752
|
needs_input: "needs_input";
|
|
7599
7753
|
failed: "failed";
|
|
7754
|
+
pending: "pending";
|
|
7600
7755
|
done: "done";
|
|
7601
|
-
}
|
|
7756
|
+
}>>;
|
|
7602
7757
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
7603
7758
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
7604
7759
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -7776,7 +7931,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
|
|
|
7776
7931
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
7777
7932
|
name: string;
|
|
7778
7933
|
archivingAt: string | null;
|
|
7779
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
7934
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
7780
7935
|
statusEnteredAt: string | null;
|
|
7781
7936
|
activityAt: string | null;
|
|
7782
7937
|
scripts: {
|
|
@@ -7879,7 +8034,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
|
|
|
7879
8034
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
7880
8035
|
name: string;
|
|
7881
8036
|
archivingAt: string | null;
|
|
7882
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
8037
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
7883
8038
|
statusEnteredAt: string | null;
|
|
7884
8039
|
activityAt: string | null;
|
|
7885
8040
|
scripts: {
|
|
@@ -8018,13 +8173,14 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
|
|
|
8018
8173
|
name: z.ZodString;
|
|
8019
8174
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8020
8175
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8021
|
-
status: z.ZodEnum<{
|
|
8176
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
8022
8177
|
running: "running";
|
|
8023
8178
|
attention: "attention";
|
|
8024
8179
|
needs_input: "needs_input";
|
|
8025
8180
|
failed: "failed";
|
|
8181
|
+
pending: "pending";
|
|
8026
8182
|
done: "done";
|
|
8027
|
-
}
|
|
8183
|
+
}>>;
|
|
8028
8184
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
8029
8185
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
8030
8186
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -8202,7 +8358,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
|
|
|
8202
8358
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
8203
8359
|
name: string;
|
|
8204
8360
|
archivingAt: string | null;
|
|
8205
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
8361
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
8206
8362
|
statusEnteredAt: string | null;
|
|
8207
8363
|
activityAt: string | null;
|
|
8208
8364
|
scripts: {
|
|
@@ -8305,7 +8461,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
|
|
|
8305
8461
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
8306
8462
|
name: string;
|
|
8307
8463
|
archivingAt: string | null;
|
|
8308
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
8464
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
8309
8465
|
statusEnteredAt: string | null;
|
|
8310
8466
|
activityAt: string | null;
|
|
8311
8467
|
scripts: {
|
|
@@ -8566,13 +8722,14 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
|
|
|
8566
8722
|
name: z.ZodString;
|
|
8567
8723
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8568
8724
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8569
|
-
status: z.ZodEnum<{
|
|
8725
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
8570
8726
|
running: "running";
|
|
8571
8727
|
attention: "attention";
|
|
8572
8728
|
needs_input: "needs_input";
|
|
8573
8729
|
failed: "failed";
|
|
8730
|
+
pending: "pending";
|
|
8574
8731
|
done: "done";
|
|
8575
|
-
}
|
|
8732
|
+
}>>;
|
|
8576
8733
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
8577
8734
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
8578
8735
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -8750,7 +8907,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
|
|
|
8750
8907
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
8751
8908
|
name: string;
|
|
8752
8909
|
archivingAt: string | null;
|
|
8753
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
8910
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
8754
8911
|
statusEnteredAt: string | null;
|
|
8755
8912
|
activityAt: string | null;
|
|
8756
8913
|
scripts: {
|
|
@@ -8853,7 +9010,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
|
|
|
8853
9010
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
8854
9011
|
name: string;
|
|
8855
9012
|
archivingAt: string | null;
|
|
8856
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
9013
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
8857
9014
|
statusEnteredAt: string | null;
|
|
8858
9015
|
activityAt: string | null;
|
|
8859
9016
|
scripts: {
|
|
@@ -9613,13 +9770,14 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
|
|
|
9613
9770
|
name: z.ZodString;
|
|
9614
9771
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9615
9772
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9616
|
-
status: z.ZodEnum<{
|
|
9773
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
9617
9774
|
running: "running";
|
|
9618
9775
|
attention: "attention";
|
|
9619
9776
|
needs_input: "needs_input";
|
|
9620
9777
|
failed: "failed";
|
|
9778
|
+
pending: "pending";
|
|
9621
9779
|
done: "done";
|
|
9622
|
-
}
|
|
9780
|
+
}>>;
|
|
9623
9781
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
9624
9782
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
9625
9783
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -9797,7 +9955,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
|
|
|
9797
9955
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
9798
9956
|
name: string;
|
|
9799
9957
|
archivingAt: string | null;
|
|
9800
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
9958
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
9801
9959
|
statusEnteredAt: string | null;
|
|
9802
9960
|
activityAt: string | null;
|
|
9803
9961
|
scripts: {
|
|
@@ -9900,7 +10058,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
|
|
|
9900
10058
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
9901
10059
|
name: string;
|
|
9902
10060
|
archivingAt: string | null;
|
|
9903
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
10061
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
9904
10062
|
statusEnteredAt: string | null;
|
|
9905
10063
|
activityAt: string | null;
|
|
9906
10064
|
scripts: {
|
|
@@ -11506,13 +11664,14 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
|
|
|
11506
11664
|
name: z.ZodString;
|
|
11507
11665
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11508
11666
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
11509
|
-
status: z.ZodEnum<{
|
|
11667
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
11510
11668
|
running: "running";
|
|
11511
11669
|
attention: "attention";
|
|
11512
11670
|
needs_input: "needs_input";
|
|
11513
11671
|
failed: "failed";
|
|
11672
|
+
pending: "pending";
|
|
11514
11673
|
done: "done";
|
|
11515
|
-
}
|
|
11674
|
+
}>>;
|
|
11516
11675
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
11517
11676
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
11518
11677
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -11690,7 +11849,7 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
|
|
|
11690
11849
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
11691
11850
|
name: string;
|
|
11692
11851
|
archivingAt: string | null;
|
|
11693
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
11852
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
11694
11853
|
statusEnteredAt: string | null;
|
|
11695
11854
|
activityAt: string | null;
|
|
11696
11855
|
scripts: {
|
|
@@ -11793,7 +11952,7 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
|
|
|
11793
11952
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
11794
11953
|
name: string;
|
|
11795
11954
|
archivingAt: string | null;
|
|
11796
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
11955
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
11797
11956
|
statusEnteredAt: string | null;
|
|
11798
11957
|
activityAt: string | null;
|
|
11799
11958
|
scripts: {
|
|
@@ -13051,13 +13210,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13051
13210
|
name: z.ZodString;
|
|
13052
13211
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13053
13212
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13054
|
-
status: z.ZodEnum<{
|
|
13213
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
13055
13214
|
running: "running";
|
|
13056
13215
|
attention: "attention";
|
|
13057
13216
|
needs_input: "needs_input";
|
|
13058
13217
|
failed: "failed";
|
|
13218
|
+
pending: "pending";
|
|
13059
13219
|
done: "done";
|
|
13060
|
-
}
|
|
13220
|
+
}>>;
|
|
13061
13221
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
13062
13222
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
13063
13223
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -13235,7 +13395,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13235
13395
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
13236
13396
|
name: string;
|
|
13237
13397
|
archivingAt: string | null;
|
|
13238
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
13398
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
13239
13399
|
statusEnteredAt: string | null;
|
|
13240
13400
|
activityAt: string | null;
|
|
13241
13401
|
scripts: {
|
|
@@ -13338,7 +13498,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13338
13498
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
13339
13499
|
name: string;
|
|
13340
13500
|
archivingAt: string | null;
|
|
13341
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
13501
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
13342
13502
|
statusEnteredAt: string | null;
|
|
13343
13503
|
activityAt: string | null;
|
|
13344
13504
|
scripts: {
|
|
@@ -14122,13 +14282,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14122
14282
|
name: z.ZodString;
|
|
14123
14283
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14124
14284
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
14125
|
-
status: z.ZodEnum<{
|
|
14285
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
14126
14286
|
running: "running";
|
|
14127
14287
|
attention: "attention";
|
|
14128
14288
|
needs_input: "needs_input";
|
|
14129
14289
|
failed: "failed";
|
|
14290
|
+
pending: "pending";
|
|
14130
14291
|
done: "done";
|
|
14131
|
-
}
|
|
14292
|
+
}>>;
|
|
14132
14293
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
14133
14294
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
14134
14295
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -14306,7 +14467,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14306
14467
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
14307
14468
|
name: string;
|
|
14308
14469
|
archivingAt: string | null;
|
|
14309
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
14470
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
14310
14471
|
statusEnteredAt: string | null;
|
|
14311
14472
|
activityAt: string | null;
|
|
14312
14473
|
scripts: {
|
|
@@ -14409,7 +14570,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14409
14570
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
14410
14571
|
name: string;
|
|
14411
14572
|
archivingAt: string | null;
|
|
14412
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
14573
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
14413
14574
|
statusEnteredAt: string | null;
|
|
14414
14575
|
activityAt: string | null;
|
|
14415
14576
|
scripts: {
|
|
@@ -14567,13 +14728,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14567
14728
|
name: z.ZodString;
|
|
14568
14729
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14569
14730
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
14570
|
-
status: z.ZodEnum<{
|
|
14731
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
14571
14732
|
running: "running";
|
|
14572
14733
|
attention: "attention";
|
|
14573
14734
|
needs_input: "needs_input";
|
|
14574
14735
|
failed: "failed";
|
|
14736
|
+
pending: "pending";
|
|
14575
14737
|
done: "done";
|
|
14576
|
-
}
|
|
14738
|
+
}>>;
|
|
14577
14739
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
14578
14740
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
14579
14741
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -14751,7 +14913,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14751
14913
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
14752
14914
|
name: string;
|
|
14753
14915
|
archivingAt: string | null;
|
|
14754
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
14916
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
14755
14917
|
statusEnteredAt: string | null;
|
|
14756
14918
|
activityAt: string | null;
|
|
14757
14919
|
scripts: {
|
|
@@ -14854,7 +15016,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14854
15016
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
14855
15017
|
name: string;
|
|
14856
15018
|
archivingAt: string | null;
|
|
14857
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
15019
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
14858
15020
|
statusEnteredAt: string | null;
|
|
14859
15021
|
activityAt: string | null;
|
|
14860
15022
|
scripts: {
|
|
@@ -15567,13 +15729,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
15567
15729
|
name: z.ZodString;
|
|
15568
15730
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15569
15731
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15570
|
-
status: z.ZodEnum<{
|
|
15732
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
15571
15733
|
running: "running";
|
|
15572
15734
|
attention: "attention";
|
|
15573
15735
|
needs_input: "needs_input";
|
|
15574
15736
|
failed: "failed";
|
|
15737
|
+
pending: "pending";
|
|
15575
15738
|
done: "done";
|
|
15576
|
-
}
|
|
15739
|
+
}>>;
|
|
15577
15740
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
15578
15741
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
15579
15742
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -15751,7 +15914,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
15751
15914
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
15752
15915
|
name: string;
|
|
15753
15916
|
archivingAt: string | null;
|
|
15754
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
15917
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
15755
15918
|
statusEnteredAt: string | null;
|
|
15756
15919
|
activityAt: string | null;
|
|
15757
15920
|
scripts: {
|
|
@@ -15854,7 +16017,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
15854
16017
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
15855
16018
|
name: string;
|
|
15856
16019
|
archivingAt: string | null;
|
|
15857
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
16020
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
15858
16021
|
statusEnteredAt: string | null;
|
|
15859
16022
|
activityAt: string | null;
|
|
15860
16023
|
scripts: {
|
|
@@ -16037,6 +16200,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
16037
16200
|
}>;
|
|
16038
16201
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16039
16202
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16203
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
16204
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
16205
|
+
model: z.ZodOptional<z.ZodString>;
|
|
16206
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
16207
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
16208
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
16209
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
16210
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
16211
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
16212
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
16213
|
+
}, z.core.$strict>>>;
|
|
16040
16214
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
16041
16215
|
id: z.ZodString;
|
|
16042
16216
|
title: z.ZodString;
|
|
@@ -16076,6 +16250,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
16076
16250
|
}>;
|
|
16077
16251
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16078
16252
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16253
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
16254
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
16255
|
+
model: z.ZodOptional<z.ZodString>;
|
|
16256
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
16257
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
16258
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
16259
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
16260
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
16261
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
16262
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
16263
|
+
}, z.core.$strict>>>;
|
|
16079
16264
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
16080
16265
|
id: z.ZodString;
|
|
16081
16266
|
title: z.ZodString;
|
|
@@ -16115,6 +16300,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
16115
16300
|
}>;
|
|
16116
16301
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16117
16302
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16303
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
16304
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
16305
|
+
model: z.ZodOptional<z.ZodString>;
|
|
16306
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
16307
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
16308
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
16309
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
16310
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
16311
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
16312
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
16313
|
+
}, z.core.$strict>>>;
|
|
16118
16314
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
16119
16315
|
id: z.ZodString;
|
|
16120
16316
|
title: z.ZodString;
|
|
@@ -17571,13 +17767,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17571
17767
|
name: z.ZodString;
|
|
17572
17768
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17573
17769
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17574
|
-
status: z.ZodEnum<{
|
|
17770
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
17575
17771
|
running: "running";
|
|
17576
17772
|
attention: "attention";
|
|
17577
17773
|
needs_input: "needs_input";
|
|
17578
17774
|
failed: "failed";
|
|
17775
|
+
pending: "pending";
|
|
17579
17776
|
done: "done";
|
|
17580
|
-
}
|
|
17777
|
+
}>>;
|
|
17581
17778
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
17582
17779
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
17583
17780
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -17755,7 +17952,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17755
17952
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
17756
17953
|
name: string;
|
|
17757
17954
|
archivingAt: string | null;
|
|
17758
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
17955
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
17759
17956
|
statusEnteredAt: string | null;
|
|
17760
17957
|
activityAt: string | null;
|
|
17761
17958
|
scripts: {
|
|
@@ -17858,7 +18055,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17858
18055
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
17859
18056
|
name: string;
|
|
17860
18057
|
archivingAt: string | null;
|
|
17861
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
18058
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
17862
18059
|
statusEnteredAt: string | null;
|
|
17863
18060
|
activityAt: string | null;
|
|
17864
18061
|
scripts: {
|
|
@@ -21073,6 +21270,17 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
21073
21270
|
parallelizable: z.ZodBoolean;
|
|
21074
21271
|
estimatedMinutes: z.ZodNumber;
|
|
21075
21272
|
agentType: z.ZodOptional<z.ZodString>;
|
|
21273
|
+
agentConfig: z.ZodOptional<z.ZodObject<{
|
|
21274
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
21275
|
+
model: z.ZodOptional<z.ZodString>;
|
|
21276
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
21277
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
21278
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
21279
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
21280
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
21281
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
21282
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
21283
|
+
}, z.core.$strict>>;
|
|
21076
21284
|
targetFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21077
21285
|
}, z.core.$strip>>;
|
|
21078
21286
|
}, z.core.$strip>;
|
|
@@ -21081,6 +21289,17 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
21081
21289
|
model: z.ZodOptional<z.ZodString>;
|
|
21082
21290
|
title: z.ZodOptional<z.ZodString>;
|
|
21083
21291
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
21292
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
21293
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
21294
|
+
model: z.ZodOptional<z.ZodString>;
|
|
21295
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
21296
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
21297
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
21298
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
21299
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
21300
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
21301
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
21302
|
+
}, z.core.$strict>>>;
|
|
21084
21303
|
}, z.core.$strip>, z.ZodObject<{
|
|
21085
21304
|
type: z.ZodLiteral<"diagnostics.request">;
|
|
21086
21305
|
requestId: z.ZodString;
|
|
@@ -22954,13 +23173,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22954
23173
|
name: z.ZodString;
|
|
22955
23174
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22956
23175
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
22957
|
-
status: z.ZodEnum<{
|
|
23176
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
22958
23177
|
running: "running";
|
|
22959
23178
|
attention: "attention";
|
|
22960
23179
|
needs_input: "needs_input";
|
|
22961
23180
|
failed: "failed";
|
|
23181
|
+
pending: "pending";
|
|
22962
23182
|
done: "done";
|
|
22963
|
-
}
|
|
23183
|
+
}>>;
|
|
22964
23184
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
22965
23185
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
22966
23186
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -23138,7 +23358,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23138
23358
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
23139
23359
|
name: string;
|
|
23140
23360
|
archivingAt: string | null;
|
|
23141
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
23361
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
23142
23362
|
statusEnteredAt: string | null;
|
|
23143
23363
|
activityAt: string | null;
|
|
23144
23364
|
scripts: {
|
|
@@ -23241,7 +23461,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23241
23461
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
23242
23462
|
name: string;
|
|
23243
23463
|
archivingAt: string | null;
|
|
23244
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
23464
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
23245
23465
|
statusEnteredAt: string | null;
|
|
23246
23466
|
activityAt: string | null;
|
|
23247
23467
|
scripts: {
|
|
@@ -24025,13 +24245,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
24025
24245
|
name: z.ZodString;
|
|
24026
24246
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24027
24247
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
24028
|
-
status: z.ZodEnum<{
|
|
24248
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
24029
24249
|
running: "running";
|
|
24030
24250
|
attention: "attention";
|
|
24031
24251
|
needs_input: "needs_input";
|
|
24032
24252
|
failed: "failed";
|
|
24253
|
+
pending: "pending";
|
|
24033
24254
|
done: "done";
|
|
24034
|
-
}
|
|
24255
|
+
}>>;
|
|
24035
24256
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
24036
24257
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
24037
24258
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -24209,7 +24430,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
24209
24430
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
24210
24431
|
name: string;
|
|
24211
24432
|
archivingAt: string | null;
|
|
24212
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
24433
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
24213
24434
|
statusEnteredAt: string | null;
|
|
24214
24435
|
activityAt: string | null;
|
|
24215
24436
|
scripts: {
|
|
@@ -24312,7 +24533,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
24312
24533
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
24313
24534
|
name: string;
|
|
24314
24535
|
archivingAt: string | null;
|
|
24315
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
24536
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
24316
24537
|
statusEnteredAt: string | null;
|
|
24317
24538
|
activityAt: string | null;
|
|
24318
24539
|
scripts: {
|
|
@@ -24470,13 +24691,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
24470
24691
|
name: z.ZodString;
|
|
24471
24692
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24472
24693
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
24473
|
-
status: z.ZodEnum<{
|
|
24694
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
24474
24695
|
running: "running";
|
|
24475
24696
|
attention: "attention";
|
|
24476
24697
|
needs_input: "needs_input";
|
|
24477
24698
|
failed: "failed";
|
|
24699
|
+
pending: "pending";
|
|
24478
24700
|
done: "done";
|
|
24479
|
-
}
|
|
24701
|
+
}>>;
|
|
24480
24702
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
24481
24703
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
24482
24704
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -24654,7 +24876,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
24654
24876
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
24655
24877
|
name: string;
|
|
24656
24878
|
archivingAt: string | null;
|
|
24657
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
24879
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
24658
24880
|
statusEnteredAt: string | null;
|
|
24659
24881
|
activityAt: string | null;
|
|
24660
24882
|
scripts: {
|
|
@@ -24757,7 +24979,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
24757
24979
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
24758
24980
|
name: string;
|
|
24759
24981
|
archivingAt: string | null;
|
|
24760
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
24982
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
24761
24983
|
statusEnteredAt: string | null;
|
|
24762
24984
|
activityAt: string | null;
|
|
24763
24985
|
scripts: {
|
|
@@ -25470,13 +25692,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25470
25692
|
name: z.ZodString;
|
|
25471
25693
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25472
25694
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25473
|
-
status: z.ZodEnum<{
|
|
25695
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
25474
25696
|
running: "running";
|
|
25475
25697
|
attention: "attention";
|
|
25476
25698
|
needs_input: "needs_input";
|
|
25477
25699
|
failed: "failed";
|
|
25700
|
+
pending: "pending";
|
|
25478
25701
|
done: "done";
|
|
25479
|
-
}
|
|
25702
|
+
}>>;
|
|
25480
25703
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
25481
25704
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
25482
25705
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -25654,7 +25877,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25654
25877
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
25655
25878
|
name: string;
|
|
25656
25879
|
archivingAt: string | null;
|
|
25657
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
25880
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
25658
25881
|
statusEnteredAt: string | null;
|
|
25659
25882
|
activityAt: string | null;
|
|
25660
25883
|
scripts: {
|
|
@@ -25757,7 +25980,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25757
25980
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
25758
25981
|
name: string;
|
|
25759
25982
|
archivingAt: string | null;
|
|
25760
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
25983
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
25761
25984
|
statusEnteredAt: string | null;
|
|
25762
25985
|
activityAt: string | null;
|
|
25763
25986
|
scripts: {
|
|
@@ -25940,6 +26163,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25940
26163
|
}>;
|
|
25941
26164
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25942
26165
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26166
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
26167
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
26168
|
+
model: z.ZodOptional<z.ZodString>;
|
|
26169
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
26170
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
26171
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
26172
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
26173
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
26174
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
26175
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
26176
|
+
}, z.core.$strict>>>;
|
|
25943
26177
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
25944
26178
|
id: z.ZodString;
|
|
25945
26179
|
title: z.ZodString;
|
|
@@ -25979,6 +26213,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25979
26213
|
}>;
|
|
25980
26214
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25981
26215
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26216
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
26217
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
26218
|
+
model: z.ZodOptional<z.ZodString>;
|
|
26219
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
26220
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
26221
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
26222
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
26223
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
26224
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
26225
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
26226
|
+
}, z.core.$strict>>>;
|
|
25982
26227
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
25983
26228
|
id: z.ZodString;
|
|
25984
26229
|
title: z.ZodString;
|
|
@@ -26018,6 +26263,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26018
26263
|
}>;
|
|
26019
26264
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26020
26265
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26266
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
26267
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
26268
|
+
model: z.ZodOptional<z.ZodString>;
|
|
26269
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
26270
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
26271
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
26272
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
26273
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
26274
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
26275
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
26276
|
+
}, z.core.$strict>>>;
|
|
26021
26277
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
26022
26278
|
id: z.ZodString;
|
|
26023
26279
|
title: z.ZodString;
|
|
@@ -27474,13 +27730,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27474
27730
|
name: z.ZodString;
|
|
27475
27731
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27476
27732
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
27477
|
-
status: z.ZodEnum<{
|
|
27733
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
27478
27734
|
running: "running";
|
|
27479
27735
|
attention: "attention";
|
|
27480
27736
|
needs_input: "needs_input";
|
|
27481
27737
|
failed: "failed";
|
|
27738
|
+
pending: "pending";
|
|
27482
27739
|
done: "done";
|
|
27483
|
-
}
|
|
27740
|
+
}>>;
|
|
27484
27741
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
27485
27742
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
27486
27743
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -27658,7 +27915,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27658
27915
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
27659
27916
|
name: string;
|
|
27660
27917
|
archivingAt: string | null;
|
|
27661
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
27918
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
27662
27919
|
statusEnteredAt: string | null;
|
|
27663
27920
|
activityAt: string | null;
|
|
27664
27921
|
scripts: {
|
|
@@ -27761,7 +28018,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27761
28018
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
27762
28019
|
name: string;
|
|
27763
28020
|
archivingAt: string | null;
|
|
27764
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
28021
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
27765
28022
|
statusEnteredAt: string | null;
|
|
27766
28023
|
activityAt: string | null;
|
|
27767
28024
|
scripts: {
|
|
@@ -30639,6 +30896,17 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
30639
30896
|
parallelizable: z.ZodBoolean;
|
|
30640
30897
|
estimatedMinutes: z.ZodNumber;
|
|
30641
30898
|
agentType: z.ZodOptional<z.ZodString>;
|
|
30899
|
+
agentConfig: z.ZodOptional<z.ZodObject<{
|
|
30900
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
30901
|
+
model: z.ZodOptional<z.ZodString>;
|
|
30902
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
30903
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
30904
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
30905
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
30906
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
30907
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
30908
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
30909
|
+
}, z.core.$strict>>;
|
|
30642
30910
|
targetFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30643
30911
|
}, z.core.$strip>>;
|
|
30644
30912
|
}, z.core.$strip>;
|
|
@@ -30647,6 +30915,17 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
30647
30915
|
model: z.ZodOptional<z.ZodString>;
|
|
30648
30916
|
title: z.ZodOptional<z.ZodString>;
|
|
30649
30917
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
30918
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
30919
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
30920
|
+
model: z.ZodOptional<z.ZodString>;
|
|
30921
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
30922
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
30923
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
30924
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
30925
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
30926
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
30927
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
30928
|
+
}, z.core.$strict>>>;
|
|
30650
30929
|
}, z.core.$strip>, z.ZodObject<{
|
|
30651
30930
|
type: z.ZodLiteral<"diagnostics.request">;
|
|
30652
30931
|
requestId: z.ZodString;
|
|
@@ -32522,13 +32801,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
32522
32801
|
name: z.ZodString;
|
|
32523
32802
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32524
32803
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
32525
|
-
status: z.ZodEnum<{
|
|
32804
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
32526
32805
|
running: "running";
|
|
32527
32806
|
attention: "attention";
|
|
32528
32807
|
needs_input: "needs_input";
|
|
32529
32808
|
failed: "failed";
|
|
32809
|
+
pending: "pending";
|
|
32530
32810
|
done: "done";
|
|
32531
|
-
}
|
|
32811
|
+
}>>;
|
|
32532
32812
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
32533
32813
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
32534
32814
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -32706,7 +32986,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
32706
32986
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
32707
32987
|
name: string;
|
|
32708
32988
|
archivingAt: string | null;
|
|
32709
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
32989
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
32710
32990
|
statusEnteredAt: string | null;
|
|
32711
32991
|
activityAt: string | null;
|
|
32712
32992
|
scripts: {
|
|
@@ -32809,7 +33089,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
32809
33089
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
32810
33090
|
name: string;
|
|
32811
33091
|
archivingAt: string | null;
|
|
32812
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
33092
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
32813
33093
|
statusEnteredAt: string | null;
|
|
32814
33094
|
activityAt: string | null;
|
|
32815
33095
|
scripts: {
|
|
@@ -33593,13 +33873,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
33593
33873
|
name: z.ZodString;
|
|
33594
33874
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33595
33875
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
33596
|
-
status: z.ZodEnum<{
|
|
33876
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
33597
33877
|
running: "running";
|
|
33598
33878
|
attention: "attention";
|
|
33599
33879
|
needs_input: "needs_input";
|
|
33600
33880
|
failed: "failed";
|
|
33881
|
+
pending: "pending";
|
|
33601
33882
|
done: "done";
|
|
33602
|
-
}
|
|
33883
|
+
}>>;
|
|
33603
33884
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
33604
33885
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
33605
33886
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -33777,7 +34058,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
33777
34058
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
33778
34059
|
name: string;
|
|
33779
34060
|
archivingAt: string | null;
|
|
33780
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
34061
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
33781
34062
|
statusEnteredAt: string | null;
|
|
33782
34063
|
activityAt: string | null;
|
|
33783
34064
|
scripts: {
|
|
@@ -33880,7 +34161,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
33880
34161
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
33881
34162
|
name: string;
|
|
33882
34163
|
archivingAt: string | null;
|
|
33883
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
34164
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
33884
34165
|
statusEnteredAt: string | null;
|
|
33885
34166
|
activityAt: string | null;
|
|
33886
34167
|
scripts: {
|
|
@@ -34038,13 +34319,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
34038
34319
|
name: z.ZodString;
|
|
34039
34320
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34040
34321
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
34041
|
-
status: z.ZodEnum<{
|
|
34322
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
34042
34323
|
running: "running";
|
|
34043
34324
|
attention: "attention";
|
|
34044
34325
|
needs_input: "needs_input";
|
|
34045
34326
|
failed: "failed";
|
|
34327
|
+
pending: "pending";
|
|
34046
34328
|
done: "done";
|
|
34047
|
-
}
|
|
34329
|
+
}>>;
|
|
34048
34330
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
34049
34331
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
34050
34332
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -34222,7 +34504,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
34222
34504
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
34223
34505
|
name: string;
|
|
34224
34506
|
archivingAt: string | null;
|
|
34225
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
34507
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
34226
34508
|
statusEnteredAt: string | null;
|
|
34227
34509
|
activityAt: string | null;
|
|
34228
34510
|
scripts: {
|
|
@@ -34325,7 +34607,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
34325
34607
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
34326
34608
|
name: string;
|
|
34327
34609
|
archivingAt: string | null;
|
|
34328
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
34610
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
34329
34611
|
statusEnteredAt: string | null;
|
|
34330
34612
|
activityAt: string | null;
|
|
34331
34613
|
scripts: {
|
|
@@ -35038,13 +35320,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
35038
35320
|
name: z.ZodString;
|
|
35039
35321
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35040
35322
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
35041
|
-
status: z.ZodEnum<{
|
|
35323
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
35042
35324
|
running: "running";
|
|
35043
35325
|
attention: "attention";
|
|
35044
35326
|
needs_input: "needs_input";
|
|
35045
35327
|
failed: "failed";
|
|
35328
|
+
pending: "pending";
|
|
35046
35329
|
done: "done";
|
|
35047
|
-
}
|
|
35330
|
+
}>>;
|
|
35048
35331
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
35049
35332
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
35050
35333
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -35222,7 +35505,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
35222
35505
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
35223
35506
|
name: string;
|
|
35224
35507
|
archivingAt: string | null;
|
|
35225
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
35508
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
35226
35509
|
statusEnteredAt: string | null;
|
|
35227
35510
|
activityAt: string | null;
|
|
35228
35511
|
scripts: {
|
|
@@ -35325,7 +35608,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
35325
35608
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
35326
35609
|
name: string;
|
|
35327
35610
|
archivingAt: string | null;
|
|
35328
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
35611
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
35329
35612
|
statusEnteredAt: string | null;
|
|
35330
35613
|
activityAt: string | null;
|
|
35331
35614
|
scripts: {
|
|
@@ -35508,6 +35791,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
35508
35791
|
}>;
|
|
35509
35792
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35510
35793
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
35794
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
35795
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
35796
|
+
model: z.ZodOptional<z.ZodString>;
|
|
35797
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
35798
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
35799
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
35800
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
35801
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
35802
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
35803
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
35804
|
+
}, z.core.$strict>>>;
|
|
35511
35805
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
35512
35806
|
id: z.ZodString;
|
|
35513
35807
|
title: z.ZodString;
|
|
@@ -35547,6 +35841,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
35547
35841
|
}>;
|
|
35548
35842
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35549
35843
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
35844
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
35845
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
35846
|
+
model: z.ZodOptional<z.ZodString>;
|
|
35847
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
35848
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
35849
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
35850
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
35851
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
35852
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
35853
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
35854
|
+
}, z.core.$strict>>>;
|
|
35550
35855
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
35551
35856
|
id: z.ZodString;
|
|
35552
35857
|
title: z.ZodString;
|
|
@@ -35586,6 +35891,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
35586
35891
|
}>;
|
|
35587
35892
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35588
35893
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
35894
|
+
agentPresets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
35895
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
35896
|
+
model: z.ZodOptional<z.ZodString>;
|
|
35897
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
35898
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
35899
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
35900
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
35901
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
35902
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
35903
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
35904
|
+
}, z.core.$strict>>>;
|
|
35589
35905
|
phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
35590
35906
|
id: z.ZodString;
|
|
35591
35907
|
title: z.ZodString;
|
|
@@ -37042,13 +37358,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37042
37358
|
name: z.ZodString;
|
|
37043
37359
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37044
37360
|
archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
37045
|
-
status: z.ZodEnum<{
|
|
37361
|
+
status: z.ZodCatch<z.ZodEnum<{
|
|
37046
37362
|
running: "running";
|
|
37047
37363
|
attention: "attention";
|
|
37048
37364
|
needs_input: "needs_input";
|
|
37049
37365
|
failed: "failed";
|
|
37366
|
+
pending: "pending";
|
|
37050
37367
|
done: "done";
|
|
37051
|
-
}
|
|
37368
|
+
}>>;
|
|
37052
37369
|
statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
37053
37370
|
activityAt: z.ZodNullable<z.ZodString>;
|
|
37054
37371
|
diffStat: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -37226,7 +37543,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37226
37543
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
37227
37544
|
name: string;
|
|
37228
37545
|
archivingAt: string | null;
|
|
37229
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
37546
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
37230
37547
|
statusEnteredAt: string | null;
|
|
37231
37548
|
activityAt: string | null;
|
|
37232
37549
|
scripts: {
|
|
@@ -37329,7 +37646,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37329
37646
|
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
37330
37647
|
name: string;
|
|
37331
37648
|
archivingAt: string | null;
|
|
37332
|
-
status: "running" | "attention" | "needs_input" | "failed" | "done";
|
|
37649
|
+
status: "running" | "attention" | "needs_input" | "failed" | "pending" | "done";
|
|
37333
37650
|
statusEnteredAt: string | null;
|
|
37334
37651
|
activityAt: string | null;
|
|
37335
37652
|
scripts: {
|