@agentuity/core 2.0.11 → 2.0.13
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/services/api.d.ts +1 -1
- package/dist/services/api.d.ts.map +1 -1
- package/dist/services/api.js +4 -6
- package/dist/services/api.js.map +1 -1
- package/dist/services/coder/agents.d.ts +6 -4
- package/dist/services/coder/agents.d.ts.map +1 -1
- package/dist/services/coder/api-reference.d.ts.map +1 -1
- package/dist/services/coder/api-reference.js +78 -10
- package/dist/services/coder/api-reference.js.map +1 -1
- package/dist/services/coder/client.d.ts +17 -1
- package/dist/services/coder/client.d.ts.map +1 -1
- package/dist/services/coder/client.js +30 -2
- package/dist/services/coder/client.js.map +1 -1
- package/dist/services/coder/index.d.ts +2 -2
- package/dist/services/coder/index.d.ts.map +1 -1
- package/dist/services/coder/index.js +1 -1
- package/dist/services/coder/index.js.map +1 -1
- package/dist/services/coder/protocol.d.ts +385 -15
- package/dist/services/coder/protocol.d.ts.map +1 -1
- package/dist/services/coder/protocol.js +148 -2
- package/dist/services/coder/protocol.js.map +1 -1
- package/dist/services/coder/sessions.d.ts +24 -2
- package/dist/services/coder/sessions.d.ts.map +1 -1
- package/dist/services/coder/sessions.js +10 -1
- package/dist/services/coder/sessions.js.map +1 -1
- package/dist/services/coder/sse.d.ts +2 -2
- package/dist/services/coder/sse.d.ts.map +1 -1
- package/dist/services/coder/sse.js +290 -178
- package/dist/services/coder/sse.js.map +1 -1
- package/dist/services/coder/types.d.ts +680 -42
- package/dist/services/coder/types.d.ts.map +1 -1
- package/dist/services/coder/types.js +284 -40
- package/dist/services/coder/types.js.map +1 -1
- package/dist/services/coder/websocket.d.ts +13 -1
- package/dist/services/coder/websocket.d.ts.map +1 -1
- package/dist/services/coder/websocket.js +91 -19
- package/dist/services/coder/websocket.js.map +1 -1
- package/dist/services/coder/workspaces.d.ts +11 -1
- package/dist/services/coder/workspaces.d.ts.map +1 -1
- package/dist/services/coder/workspaces.js +34 -1
- package/dist/services/coder/workspaces.js.map +1 -1
- package/dist/services/sandbox/api-reference.js +8 -8
- package/dist/services/sandbox/api-reference.js.map +1 -1
- package/dist/services/sandbox/client.d.ts +3 -2
- package/dist/services/sandbox/client.d.ts.map +1 -1
- package/dist/services/sandbox/client.js.map +1 -1
- package/dist/services/sandbox/create.d.ts +5 -0
- package/dist/services/sandbox/create.d.ts.map +1 -1
- package/dist/services/sandbox/create.js +8 -0
- package/dist/services/sandbox/create.js.map +1 -1
- package/dist/services/sandbox/get.d.ts +8 -4
- package/dist/services/sandbox/get.d.ts.map +1 -1
- package/dist/services/sandbox/get.js +28 -3
- package/dist/services/sandbox/get.js.map +1 -1
- package/dist/services/sandbox/getStatus.d.ts +2 -0
- package/dist/services/sandbox/getStatus.d.ts.map +1 -1
- package/dist/services/sandbox/getStatus.js +17 -1
- package/dist/services/sandbox/getStatus.js.map +1 -1
- package/dist/services/sandbox/index.d.ts +1 -1
- package/dist/services/sandbox/index.d.ts.map +1 -1
- package/dist/services/sandbox/list.d.ts +3 -0
- package/dist/services/sandbox/list.d.ts.map +1 -1
- package/dist/services/sandbox/list.js +5 -0
- package/dist/services/sandbox/list.js.map +1 -1
- package/dist/services/sandbox/pause.d.ts +17 -1
- package/dist/services/sandbox/pause.d.ts.map +1 -1
- package/dist/services/sandbox/pause.js +21 -3
- package/dist/services/sandbox/pause.js.map +1 -1
- package/dist/services/sandbox/run.d.ts +3 -2
- package/dist/services/sandbox/run.d.ts.map +1 -1
- package/dist/services/sandbox/run.js +145 -85
- package/dist/services/sandbox/run.js.map +1 -1
- package/dist/services/sandbox/types.d.ts +11 -4
- package/dist/services/sandbox/types.d.ts.map +1 -1
- package/dist/services/sandbox/types.js +12 -0
- package/dist/services/sandbox/types.js.map +1 -1
- package/dist/services/stream/namespaces.d.ts +2 -2
- package/dist/services/stream/namespaces.js +2 -2
- package/dist/services/stream/namespaces.js.map +1 -1
- package/package.json +2 -2
- package/src/services/api.ts +6 -7
- package/src/services/coder/api-reference.ts +79 -9
- package/src/services/coder/client.ts +46 -0
- package/src/services/coder/index.ts +3 -0
- package/src/services/coder/protocol.ts +166 -2
- package/src/services/coder/sessions.ts +26 -0
- package/src/services/coder/sse.ts +343 -184
- package/src/services/coder/types.ts +350 -44
- package/src/services/coder/websocket.ts +120 -21
- package/src/services/coder/workspaces.ts +74 -0
- package/src/services/sandbox/api-reference.ts +8 -8
- package/src/services/sandbox/client.ts +4 -4
- package/src/services/sandbox/create.ts +10 -0
- package/src/services/sandbox/get.ts +32 -3
- package/src/services/sandbox/getStatus.ts +20 -1
- package/src/services/sandbox/index.ts +1 -1
- package/src/services/sandbox/list.ts +5 -0
- package/src/services/sandbox/pause.ts +38 -4
- package/src/services/sandbox/run.ts +202 -108
- package/src/services/sandbox/types.ts +17 -2
- package/src/services/stream/namespaces.ts +2 -2
|
@@ -108,9 +108,24 @@ export declare const CoderWorkspaceDetailSchema: z.ZodObject<{
|
|
|
108
108
|
rootPath: z.ZodOptional<z.ZodString>;
|
|
109
109
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
110
110
|
repoCount: z.ZodNumber;
|
|
111
|
+
dependencies: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
112
|
+
setupScript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
113
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
114
|
+
status: z.ZodString;
|
|
115
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
116
|
+
snapshotRef: z.ZodOptional<z.ZodString>;
|
|
117
|
+
baseSnapshotRef: z.ZodOptional<z.ZodString>;
|
|
118
|
+
baseDriverVersion: z.ZodOptional<z.ZodString>;
|
|
119
|
+
configHash: z.ZodOptional<z.ZodString>;
|
|
120
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
121
|
+
requestedAt: z.ZodOptional<z.ZodString>;
|
|
122
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
123
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
124
|
+
error: z.ZodOptional<z.ZodString>;
|
|
125
|
+
}, z.core.$loose>>;
|
|
111
126
|
savedSkillIds: z.ZodArray<z.ZodString>;
|
|
112
127
|
skillBucketIds: z.ZodArray<z.ZodString>;
|
|
113
|
-
|
|
128
|
+
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
114
129
|
selectionCount: z.ZodNumber;
|
|
115
130
|
createdAt: z.ZodString;
|
|
116
131
|
updatedAt: z.ZodString;
|
|
@@ -125,8 +140,8 @@ export declare const CoderCustomAgentThinkingLevelSchema: z.ZodEnum<{
|
|
|
125
140
|
xhigh: "xhigh";
|
|
126
141
|
}>;
|
|
127
142
|
export type CoderCustomAgentThinkingLevel = z.infer<typeof CoderCustomAgentThinkingLevelSchema>;
|
|
128
|
-
export declare const
|
|
129
|
-
export declare const
|
|
143
|
+
export declare const CODER_CUSTOM_AGENT_TOOLS: readonly ["read", "ls", "find", "grep", "bash", "write", "edit"];
|
|
144
|
+
export declare const CoderCustomAgentToolSchema: z.ZodEnum<{
|
|
130
145
|
find: "find";
|
|
131
146
|
read: "read";
|
|
132
147
|
ls: "ls";
|
|
@@ -135,8 +150,8 @@ export declare const CoderCustomAgentPiToolSchema: z.ZodEnum<{
|
|
|
135
150
|
write: "write";
|
|
136
151
|
edit: "edit";
|
|
137
152
|
}>;
|
|
138
|
-
export type
|
|
139
|
-
export declare const
|
|
153
|
+
export type CoderCustomAgentTool = z.infer<typeof CoderCustomAgentToolSchema>;
|
|
154
|
+
export declare const CoderCustomAgentToolResponseSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
140
155
|
find: "find";
|
|
141
156
|
read: "read";
|
|
142
157
|
ls: "ls";
|
|
@@ -145,9 +160,9 @@ export declare const CoderCustomAgentPiToolResponseSchema: z.ZodUnion<readonly [
|
|
|
145
160
|
write: "write";
|
|
146
161
|
edit: "edit";
|
|
147
162
|
}>, z.ZodString]>;
|
|
148
|
-
export type
|
|
149
|
-
export declare const
|
|
150
|
-
export declare const
|
|
163
|
+
export type CoderCustomAgentToolResponse = z.infer<typeof CoderCustomAgentToolResponseSchema>;
|
|
164
|
+
export declare const CODER_CUSTOM_AGENT_SERVICE_TOOLS: readonly ["session_dashboard", "memory_service_search", "memory_service_store", "memory_service_get", "memory_service_update", "memory_service_delete", "memory_service_list", "memory_service_schema", "memory_service_facets", "context7_search", "grep_app_search", "web_search", "fetch_content", "product_prd_create", "product_prd_get", "product_prd_update", "product_prd_list", "product_task_comment", "session_todo_create", "session_todo_update", "session_todo_list", "session_todo_comment", "session_todo_attach", "product_generate_deck", "sandbox_exec", "loop_get_state", "loop_update_state", "coord_create_job", "coord_add_task", "coord_claim_task", "coord_complete_task", "coord_fail_task", "coord_list_tasks", "coord_job_status", "coord_reserve_file", "coord_release_file", "coord_provide_contract", "coord_check_contract", "coord_send_message", "coord_read_messages", "coord_heartbeat", "coord_spawn_workers"];
|
|
165
|
+
export declare const CoderCustomAgentServiceToolSchema: z.ZodEnum<{
|
|
151
166
|
session_dashboard: "session_dashboard";
|
|
152
167
|
memory_service_search: "memory_service_search";
|
|
153
168
|
memory_service_store: "memory_service_store";
|
|
@@ -191,8 +206,8 @@ export declare const CoderCustomAgentHubToolSchema: z.ZodEnum<{
|
|
|
191
206
|
coord_heartbeat: "coord_heartbeat";
|
|
192
207
|
coord_spawn_workers: "coord_spawn_workers";
|
|
193
208
|
}>;
|
|
194
|
-
export type
|
|
195
|
-
export declare const
|
|
209
|
+
export type CoderCustomAgentServiceTool = z.infer<typeof CoderCustomAgentServiceToolSchema>;
|
|
210
|
+
export declare const CoderCustomAgentServiceToolResponseSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
196
211
|
session_dashboard: "session_dashboard";
|
|
197
212
|
memory_service_search: "memory_service_search";
|
|
198
213
|
memory_service_store: "memory_service_store";
|
|
@@ -236,7 +251,7 @@ export declare const CoderCustomAgentHubToolResponseSchema: z.ZodUnion<readonly
|
|
|
236
251
|
coord_heartbeat: "coord_heartbeat";
|
|
237
252
|
coord_spawn_workers: "coord_spawn_workers";
|
|
238
253
|
}>, z.ZodString]>;
|
|
239
|
-
export type
|
|
254
|
+
export type CoderCustomAgentServiceToolResponse = z.infer<typeof CoderCustomAgentServiceToolResponseSchema>;
|
|
240
255
|
export declare const CoderCustomAgentSnapshotSchema: z.ZodObject<{
|
|
241
256
|
slug: z.ZodString;
|
|
242
257
|
displayName: z.ZodString;
|
|
@@ -252,7 +267,7 @@ export declare const CoderCustomAgentSnapshotSchema: z.ZodObject<{
|
|
|
252
267
|
xhigh: "xhigh";
|
|
253
268
|
}>>;
|
|
254
269
|
headlessCompatible: z.ZodBoolean;
|
|
255
|
-
|
|
270
|
+
tools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
256
271
|
find: "find";
|
|
257
272
|
read: "read";
|
|
258
273
|
ls: "ls";
|
|
@@ -261,7 +276,7 @@ export declare const CoderCustomAgentSnapshotSchema: z.ZodObject<{
|
|
|
261
276
|
write: "write";
|
|
262
277
|
edit: "edit";
|
|
263
278
|
}>, z.ZodString]>>;
|
|
264
|
-
|
|
279
|
+
serviceTools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
265
280
|
session_dashboard: "session_dashboard";
|
|
266
281
|
memory_service_search: "memory_service_search";
|
|
267
282
|
memory_service_store: "memory_service_store";
|
|
@@ -311,6 +326,7 @@ export declare const CoderCustomAgentSnapshotSchema: z.ZodObject<{
|
|
|
311
326
|
name: z.ZodOptional<z.ZodString>;
|
|
312
327
|
url: z.ZodOptional<z.ZodString>;
|
|
313
328
|
}, z.core.$strip>>;
|
|
329
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
314
330
|
}, z.core.$loose>;
|
|
315
331
|
export type CoderCustomAgentSnapshot = z.infer<typeof CoderCustomAgentSnapshotSchema>;
|
|
316
332
|
export declare const CoderCustomAgentVersionSchema: z.ZodObject<{
|
|
@@ -328,7 +344,7 @@ export declare const CoderCustomAgentVersionSchema: z.ZodObject<{
|
|
|
328
344
|
xhigh: "xhigh";
|
|
329
345
|
}>>;
|
|
330
346
|
headlessCompatible: z.ZodBoolean;
|
|
331
|
-
|
|
347
|
+
tools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
332
348
|
find: "find";
|
|
333
349
|
read: "read";
|
|
334
350
|
ls: "ls";
|
|
@@ -337,7 +353,7 @@ export declare const CoderCustomAgentVersionSchema: z.ZodObject<{
|
|
|
337
353
|
write: "write";
|
|
338
354
|
edit: "edit";
|
|
339
355
|
}>, z.ZodString]>>;
|
|
340
|
-
|
|
356
|
+
serviceTools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
341
357
|
session_dashboard: "session_dashboard";
|
|
342
358
|
memory_service_search: "memory_service_search";
|
|
343
359
|
memory_service_store: "memory_service_store";
|
|
@@ -387,6 +403,7 @@ export declare const CoderCustomAgentVersionSchema: z.ZodObject<{
|
|
|
387
403
|
name: z.ZodOptional<z.ZodString>;
|
|
388
404
|
url: z.ZodOptional<z.ZodString>;
|
|
389
405
|
}, z.core.$strip>>;
|
|
406
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
390
407
|
id: z.ZodString;
|
|
391
408
|
agentId: z.ZodString;
|
|
392
409
|
version: z.ZodNumber;
|
|
@@ -409,7 +426,7 @@ export declare const CoderCustomAgentSchema: z.ZodObject<{
|
|
|
409
426
|
xhigh: "xhigh";
|
|
410
427
|
}>>;
|
|
411
428
|
headlessCompatible: z.ZodBoolean;
|
|
412
|
-
|
|
429
|
+
tools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
413
430
|
find: "find";
|
|
414
431
|
read: "read";
|
|
415
432
|
ls: "ls";
|
|
@@ -418,7 +435,7 @@ export declare const CoderCustomAgentSchema: z.ZodObject<{
|
|
|
418
435
|
write: "write";
|
|
419
436
|
edit: "edit";
|
|
420
437
|
}>, z.ZodString]>>;
|
|
421
|
-
|
|
438
|
+
serviceTools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
422
439
|
session_dashboard: "session_dashboard";
|
|
423
440
|
memory_service_search: "memory_service_search";
|
|
424
441
|
memory_service_store: "memory_service_store";
|
|
@@ -468,6 +485,7 @@ export declare const CoderCustomAgentSchema: z.ZodObject<{
|
|
|
468
485
|
name: z.ZodOptional<z.ZodString>;
|
|
469
486
|
url: z.ZodOptional<z.ZodString>;
|
|
470
487
|
}, z.core.$strip>>;
|
|
488
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
471
489
|
id: z.ZodString;
|
|
472
490
|
ownerUserId: z.ZodString;
|
|
473
491
|
lifecycle: z.ZodEnum<{
|
|
@@ -500,7 +518,7 @@ export declare const CoderCustomAgentSchema: z.ZodObject<{
|
|
|
500
518
|
xhigh: "xhigh";
|
|
501
519
|
}>>;
|
|
502
520
|
headlessCompatible: z.ZodBoolean;
|
|
503
|
-
|
|
521
|
+
tools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
504
522
|
find: "find";
|
|
505
523
|
read: "read";
|
|
506
524
|
ls: "ls";
|
|
@@ -509,7 +527,7 @@ export declare const CoderCustomAgentSchema: z.ZodObject<{
|
|
|
509
527
|
write: "write";
|
|
510
528
|
edit: "edit";
|
|
511
529
|
}>, z.ZodString]>>;
|
|
512
|
-
|
|
530
|
+
serviceTools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
513
531
|
session_dashboard: "session_dashboard";
|
|
514
532
|
memory_service_search: "memory_service_search";
|
|
515
533
|
memory_service_store: "memory_service_store";
|
|
@@ -559,6 +577,7 @@ export declare const CoderCustomAgentSchema: z.ZodObject<{
|
|
|
559
577
|
name: z.ZodOptional<z.ZodString>;
|
|
560
578
|
url: z.ZodOptional<z.ZodString>;
|
|
561
579
|
}, z.core.$strip>>;
|
|
580
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
562
581
|
id: z.ZodString;
|
|
563
582
|
agentId: z.ZodString;
|
|
564
583
|
version: z.ZodNumber;
|
|
@@ -580,7 +599,7 @@ export declare const CoderCustomAgentSchema: z.ZodObject<{
|
|
|
580
599
|
xhigh: "xhigh";
|
|
581
600
|
}>>;
|
|
582
601
|
headlessCompatible: z.ZodBoolean;
|
|
583
|
-
|
|
602
|
+
tools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
584
603
|
find: "find";
|
|
585
604
|
read: "read";
|
|
586
605
|
ls: "ls";
|
|
@@ -589,7 +608,7 @@ export declare const CoderCustomAgentSchema: z.ZodObject<{
|
|
|
589
608
|
write: "write";
|
|
590
609
|
edit: "edit";
|
|
591
610
|
}>, z.ZodString]>>;
|
|
592
|
-
|
|
611
|
+
serviceTools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
593
612
|
session_dashboard: "session_dashboard";
|
|
594
613
|
memory_service_search: "memory_service_search";
|
|
595
614
|
memory_service_store: "memory_service_store";
|
|
@@ -639,6 +658,7 @@ export declare const CoderCustomAgentSchema: z.ZodObject<{
|
|
|
639
658
|
name: z.ZodOptional<z.ZodString>;
|
|
640
659
|
url: z.ZodOptional<z.ZodString>;
|
|
641
660
|
}, z.core.$strip>>;
|
|
661
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
642
662
|
}, z.core.$loose>>;
|
|
643
663
|
}, z.core.$loose>;
|
|
644
664
|
export type CoderCustomAgent = z.infer<typeof CoderCustomAgentSchema>;
|
|
@@ -658,7 +678,7 @@ export declare const CoderCustomAgentListResponseSchema: z.ZodObject<{
|
|
|
658
678
|
xhigh: "xhigh";
|
|
659
679
|
}>>;
|
|
660
680
|
headlessCompatible: z.ZodBoolean;
|
|
661
|
-
|
|
681
|
+
tools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
662
682
|
find: "find";
|
|
663
683
|
read: "read";
|
|
664
684
|
ls: "ls";
|
|
@@ -667,7 +687,7 @@ export declare const CoderCustomAgentListResponseSchema: z.ZodObject<{
|
|
|
667
687
|
write: "write";
|
|
668
688
|
edit: "edit";
|
|
669
689
|
}>, z.ZodString]>>;
|
|
670
|
-
|
|
690
|
+
serviceTools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
671
691
|
session_dashboard: "session_dashboard";
|
|
672
692
|
memory_service_search: "memory_service_search";
|
|
673
693
|
memory_service_store: "memory_service_store";
|
|
@@ -717,6 +737,7 @@ export declare const CoderCustomAgentListResponseSchema: z.ZodObject<{
|
|
|
717
737
|
name: z.ZodOptional<z.ZodString>;
|
|
718
738
|
url: z.ZodOptional<z.ZodString>;
|
|
719
739
|
}, z.core.$strip>>;
|
|
740
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
720
741
|
id: z.ZodString;
|
|
721
742
|
ownerUserId: z.ZodString;
|
|
722
743
|
lifecycle: z.ZodEnum<{
|
|
@@ -749,7 +770,7 @@ export declare const CoderCustomAgentListResponseSchema: z.ZodObject<{
|
|
|
749
770
|
xhigh: "xhigh";
|
|
750
771
|
}>>;
|
|
751
772
|
headlessCompatible: z.ZodBoolean;
|
|
752
|
-
|
|
773
|
+
tools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
753
774
|
find: "find";
|
|
754
775
|
read: "read";
|
|
755
776
|
ls: "ls";
|
|
@@ -758,7 +779,7 @@ export declare const CoderCustomAgentListResponseSchema: z.ZodObject<{
|
|
|
758
779
|
write: "write";
|
|
759
780
|
edit: "edit";
|
|
760
781
|
}>, z.ZodString]>>;
|
|
761
|
-
|
|
782
|
+
serviceTools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
762
783
|
session_dashboard: "session_dashboard";
|
|
763
784
|
memory_service_search: "memory_service_search";
|
|
764
785
|
memory_service_store: "memory_service_store";
|
|
@@ -808,6 +829,7 @@ export declare const CoderCustomAgentListResponseSchema: z.ZodObject<{
|
|
|
808
829
|
name: z.ZodOptional<z.ZodString>;
|
|
809
830
|
url: z.ZodOptional<z.ZodString>;
|
|
810
831
|
}, z.core.$strip>>;
|
|
832
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
811
833
|
id: z.ZodString;
|
|
812
834
|
agentId: z.ZodString;
|
|
813
835
|
version: z.ZodNumber;
|
|
@@ -829,7 +851,7 @@ export declare const CoderCustomAgentListResponseSchema: z.ZodObject<{
|
|
|
829
851
|
xhigh: "xhigh";
|
|
830
852
|
}>>;
|
|
831
853
|
headlessCompatible: z.ZodBoolean;
|
|
832
|
-
|
|
854
|
+
tools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
833
855
|
find: "find";
|
|
834
856
|
read: "read";
|
|
835
857
|
ls: "ls";
|
|
@@ -838,7 +860,7 @@ export declare const CoderCustomAgentListResponseSchema: z.ZodObject<{
|
|
|
838
860
|
write: "write";
|
|
839
861
|
edit: "edit";
|
|
840
862
|
}>, z.ZodString]>>;
|
|
841
|
-
|
|
863
|
+
serviceTools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
842
864
|
session_dashboard: "session_dashboard";
|
|
843
865
|
memory_service_search: "memory_service_search";
|
|
844
866
|
memory_service_store: "memory_service_store";
|
|
@@ -888,6 +910,7 @@ export declare const CoderCustomAgentListResponseSchema: z.ZodObject<{
|
|
|
888
910
|
name: z.ZodOptional<z.ZodString>;
|
|
889
911
|
url: z.ZodOptional<z.ZodString>;
|
|
890
912
|
}, z.core.$strip>>;
|
|
913
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
891
914
|
}, z.core.$loose>>;
|
|
892
915
|
}, z.core.$loose>>;
|
|
893
916
|
}, z.core.$loose>;
|
|
@@ -908,7 +931,7 @@ export declare const CoderCustomAgentVersionListResponseSchema: z.ZodObject<{
|
|
|
908
931
|
xhigh: "xhigh";
|
|
909
932
|
}>>;
|
|
910
933
|
headlessCompatible: z.ZodBoolean;
|
|
911
|
-
|
|
934
|
+
tools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
912
935
|
find: "find";
|
|
913
936
|
read: "read";
|
|
914
937
|
ls: "ls";
|
|
@@ -917,7 +940,7 @@ export declare const CoderCustomAgentVersionListResponseSchema: z.ZodObject<{
|
|
|
917
940
|
write: "write";
|
|
918
941
|
edit: "edit";
|
|
919
942
|
}>, z.ZodString]>>;
|
|
920
|
-
|
|
943
|
+
serviceTools: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
921
944
|
session_dashboard: "session_dashboard";
|
|
922
945
|
memory_service_search: "memory_service_search";
|
|
923
946
|
memory_service_store: "memory_service_store";
|
|
@@ -967,6 +990,7 @@ export declare const CoderCustomAgentVersionListResponseSchema: z.ZodObject<{
|
|
|
967
990
|
name: z.ZodOptional<z.ZodString>;
|
|
968
991
|
url: z.ZodOptional<z.ZodString>;
|
|
969
992
|
}, z.core.$strip>>;
|
|
993
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
970
994
|
id: z.ZodString;
|
|
971
995
|
agentId: z.ZodString;
|
|
972
996
|
version: z.ZodNumber;
|
|
@@ -1037,9 +1061,24 @@ export declare const CoderWorkspaceListResponseSchema: z.ZodObject<{
|
|
|
1037
1061
|
rootPath: z.ZodOptional<z.ZodString>;
|
|
1038
1062
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1039
1063
|
repoCount: z.ZodNumber;
|
|
1064
|
+
dependencies: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1065
|
+
setupScript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1066
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1067
|
+
status: z.ZodString;
|
|
1068
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
snapshotRef: z.ZodOptional<z.ZodString>;
|
|
1070
|
+
baseSnapshotRef: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
baseDriverVersion: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
configHash: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
requestedAt: z.ZodOptional<z.ZodString>;
|
|
1075
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1076
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1077
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1078
|
+
}, z.core.$loose>>;
|
|
1040
1079
|
savedSkillIds: z.ZodArray<z.ZodString>;
|
|
1041
1080
|
skillBucketIds: z.ZodArray<z.ZodString>;
|
|
1042
|
-
|
|
1081
|
+
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1043
1082
|
selectionCount: z.ZodNumber;
|
|
1044
1083
|
createdAt: z.ZodString;
|
|
1045
1084
|
updatedAt: z.ZodString;
|
|
@@ -1069,11 +1108,54 @@ export declare const CoderCreateWorkspaceRequestSchema: z.ZodObject<{
|
|
|
1069
1108
|
path: z.ZodOptional<z.ZodString>;
|
|
1070
1109
|
rootPath: z.ZodOptional<z.ZodString>;
|
|
1071
1110
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
1111
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1112
|
+
setupScript: z.ZodOptional<z.ZodString>;
|
|
1072
1113
|
savedSkillIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1073
1114
|
skillBucketIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1074
|
-
|
|
1115
|
+
enabledAgents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1075
1116
|
}, z.core.$strip>;
|
|
1076
1117
|
export type CoderCreateWorkspaceRequest = z.infer<typeof CoderCreateWorkspaceRequestSchema>;
|
|
1118
|
+
export declare const CoderUpdateWorkspaceRequestSchema: z.ZodObject<{
|
|
1119
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1122
|
+
org: "org";
|
|
1123
|
+
user: "user";
|
|
1124
|
+
}>>;
|
|
1125
|
+
repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1126
|
+
repoId: z.ZodOptional<z.ZodString>;
|
|
1127
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1129
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
cloneUrl: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
1135
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
1136
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
rootPath: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
1141
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1142
|
+
setupScript: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
savedSkillIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1144
|
+
skillBucketIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1145
|
+
enabledAgents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1146
|
+
}, z.core.$strip>;
|
|
1147
|
+
export type CoderUpdateWorkspaceRequest = z.infer<typeof CoderUpdateWorkspaceRequestSchema>;
|
|
1148
|
+
export declare const CoderWorkspaceDependencyValidationResponseSchema: z.ZodObject<{
|
|
1149
|
+
valid: z.ZodArray<z.ZodString>;
|
|
1150
|
+
invalid: z.ZodArray<z.ZodObject<{
|
|
1151
|
+
package: z.ZodString;
|
|
1152
|
+
error: z.ZodString;
|
|
1153
|
+
requestedVersion: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1155
|
+
searchUrl: z.ZodString;
|
|
1156
|
+
}, z.core.$loose>>;
|
|
1157
|
+
}, z.core.$loose>;
|
|
1158
|
+
export type CoderWorkspaceDependencyValidationResponse = z.infer<typeof CoderWorkspaceDependencyValidationResponseSchema>;
|
|
1077
1159
|
export declare const CoderCreateCustomAgentRequestSchema: z.ZodObject<{
|
|
1078
1160
|
slug: z.ZodString;
|
|
1079
1161
|
displayName: z.ZodString;
|
|
@@ -1089,7 +1171,7 @@ export declare const CoderCreateCustomAgentRequestSchema: z.ZodObject<{
|
|
|
1089
1171
|
xhigh: "xhigh";
|
|
1090
1172
|
}>>;
|
|
1091
1173
|
headlessCompatible: z.ZodOptional<z.ZodBoolean>;
|
|
1092
|
-
|
|
1174
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1093
1175
|
find: "find";
|
|
1094
1176
|
read: "read";
|
|
1095
1177
|
ls: "ls";
|
|
@@ -1098,7 +1180,7 @@ export declare const CoderCreateCustomAgentRequestSchema: z.ZodObject<{
|
|
|
1098
1180
|
write: "write";
|
|
1099
1181
|
edit: "edit";
|
|
1100
1182
|
}>>>;
|
|
1101
|
-
|
|
1183
|
+
serviceTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1102
1184
|
session_dashboard: "session_dashboard";
|
|
1103
1185
|
memory_service_search: "memory_service_search";
|
|
1104
1186
|
memory_service_store: "memory_service_store";
|
|
@@ -1143,6 +1225,7 @@ export declare const CoderCreateCustomAgentRequestSchema: z.ZodObject<{
|
|
|
1143
1225
|
coord_spawn_workers: "coord_spawn_workers";
|
|
1144
1226
|
}>>>;
|
|
1145
1227
|
savedSkillIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1228
|
+
companionAgents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1146
1229
|
}, z.core.$strip>;
|
|
1147
1230
|
export type CoderCreateCustomAgentRequest = z.infer<typeof CoderCreateCustomAgentRequestSchema>;
|
|
1148
1231
|
export declare const CoderUpdateCustomAgentRequestSchema: z.ZodObject<{
|
|
@@ -1160,7 +1243,7 @@ export declare const CoderUpdateCustomAgentRequestSchema: z.ZodObject<{
|
|
|
1160
1243
|
xhigh: "xhigh";
|
|
1161
1244
|
}>>>;
|
|
1162
1245
|
headlessCompatible: z.ZodOptional<z.ZodBoolean>;
|
|
1163
|
-
|
|
1246
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1164
1247
|
find: "find";
|
|
1165
1248
|
read: "read";
|
|
1166
1249
|
ls: "ls";
|
|
@@ -1169,7 +1252,7 @@ export declare const CoderUpdateCustomAgentRequestSchema: z.ZodObject<{
|
|
|
1169
1252
|
write: "write";
|
|
1170
1253
|
edit: "edit";
|
|
1171
1254
|
}>>>;
|
|
1172
|
-
|
|
1255
|
+
serviceTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1173
1256
|
session_dashboard: "session_dashboard";
|
|
1174
1257
|
memory_service_search: "memory_service_search";
|
|
1175
1258
|
memory_service_store: "memory_service_store";
|
|
@@ -1214,6 +1297,7 @@ export declare const CoderUpdateCustomAgentRequestSchema: z.ZodObject<{
|
|
|
1214
1297
|
coord_spawn_workers: "coord_spawn_workers";
|
|
1215
1298
|
}>>>;
|
|
1216
1299
|
savedSkillIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1300
|
+
companionAgents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1217
1301
|
}, z.core.$strip>;
|
|
1218
1302
|
export type CoderUpdateCustomAgentRequest = z.infer<typeof CoderUpdateCustomAgentRequestSchema>;
|
|
1219
1303
|
export declare const CoderSaveSkillRequestSchema: z.ZodObject<{
|
|
@@ -1260,7 +1344,7 @@ export declare const CoderCreateSessionRequestSchema: z.ZodObject<{
|
|
|
1260
1344
|
allowDetached: z.ZodOptional<z.ZodBoolean>;
|
|
1261
1345
|
}, z.core.$strip>>;
|
|
1262
1346
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1263
|
-
|
|
1347
|
+
enabledAgents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1264
1348
|
savedSkillIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1265
1349
|
skillBucketIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1266
1350
|
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1306,6 +1390,24 @@ export declare const CoderCreateSessionRequestSchema: z.ZodObject<{
|
|
|
1306
1390
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1307
1391
|
}, z.core.$strip>;
|
|
1308
1392
|
export type CoderCreateSessionRequest = z.infer<typeof CoderCreateSessionRequestSchema>;
|
|
1393
|
+
export declare const CoderCreateAgentBuilderSessionRequestSchema: z.ZodObject<{
|
|
1394
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1395
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1396
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1397
|
+
edit: "edit";
|
|
1398
|
+
new: "new";
|
|
1399
|
+
from_session: "from_session";
|
|
1400
|
+
}>>;
|
|
1401
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1402
|
+
private: "private";
|
|
1403
|
+
organization: "organization";
|
|
1404
|
+
collaborate: "collaborate";
|
|
1405
|
+
}>>;
|
|
1406
|
+
sourceSessionId: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
targetAgentId: z.ZodOptional<z.ZodString>;
|
|
1408
|
+
targetAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1409
|
+
}, z.core.$strip>;
|
|
1410
|
+
export type CoderCreateAgentBuilderSessionRequest = z.infer<typeof CoderCreateAgentBuilderSessionRequestSchema>;
|
|
1309
1411
|
export declare const CoderUpdateSessionRequestSchema: z.ZodObject<{
|
|
1310
1412
|
label: z.ZodOptional<z.ZodString>;
|
|
1311
1413
|
agent: z.ZodOptional<z.ZodString>;
|
|
@@ -1326,7 +1428,7 @@ export declare const CoderUpdateSessionRequestSchema: z.ZodObject<{
|
|
|
1326
1428
|
allowDetached: z.ZodOptional<z.ZodBoolean>;
|
|
1327
1429
|
}, z.core.$strip>>;
|
|
1328
1430
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1329
|
-
|
|
1431
|
+
enabledAgents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1330
1432
|
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1331
1433
|
skillId: z.ZodString;
|
|
1332
1434
|
repo: z.ZodString;
|
|
@@ -1354,6 +1456,281 @@ export declare const CoderSessionWorkspaceSchema: z.ZodObject<{
|
|
|
1354
1456
|
}>;
|
|
1355
1457
|
}, z.core.$strip>;
|
|
1356
1458
|
export type CoderSessionWorkspace = z.infer<typeof CoderSessionWorkspaceSchema>;
|
|
1459
|
+
export declare const CoderAgentBuilderSessionModeSchema: z.ZodEnum<{
|
|
1460
|
+
edit: "edit";
|
|
1461
|
+
new: "new";
|
|
1462
|
+
from_session: "from_session";
|
|
1463
|
+
}>;
|
|
1464
|
+
export type CoderAgentBuilderSessionMode = z.infer<typeof CoderAgentBuilderSessionModeSchema>;
|
|
1465
|
+
export declare const CoderAgentBuilderActionKindSchema: z.ZodEnum<{
|
|
1466
|
+
create_draft: "create_draft";
|
|
1467
|
+
update_draft: "update_draft";
|
|
1468
|
+
publish: "publish";
|
|
1469
|
+
}>;
|
|
1470
|
+
export type CoderAgentBuilderActionKind = z.infer<typeof CoderAgentBuilderActionKindSchema>;
|
|
1471
|
+
export declare const CoderAgentBuilderSourceSessionSchema: z.ZodObject<{
|
|
1472
|
+
sessionId: z.ZodString;
|
|
1473
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
}, z.core.$strip>;
|
|
1475
|
+
export type CoderAgentBuilderSourceSession = z.infer<typeof CoderAgentBuilderSourceSessionSchema>;
|
|
1476
|
+
export declare const CoderAgentBuilderTargetAgentSchema: z.ZodObject<{
|
|
1477
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
slug: z.ZodString;
|
|
1479
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
}, z.core.$strip>;
|
|
1481
|
+
export type CoderAgentBuilderTargetAgent = z.infer<typeof CoderAgentBuilderTargetAgentSchema>;
|
|
1482
|
+
export declare const CoderAgentBuilderProposalSchema: z.ZodObject<{
|
|
1483
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1486
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
1489
|
+
high: "high";
|
|
1490
|
+
medium: "medium";
|
|
1491
|
+
low: "low";
|
|
1492
|
+
off: "off";
|
|
1493
|
+
minimal: "minimal";
|
|
1494
|
+
xhigh: "xhigh";
|
|
1495
|
+
}>>;
|
|
1496
|
+
headlessCompatible: z.ZodOptional<z.ZodBoolean>;
|
|
1497
|
+
tools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1498
|
+
find: "find";
|
|
1499
|
+
read: "read";
|
|
1500
|
+
ls: "ls";
|
|
1501
|
+
grep: "grep";
|
|
1502
|
+
bash: "bash";
|
|
1503
|
+
write: "write";
|
|
1504
|
+
edit: "edit";
|
|
1505
|
+
}>, z.ZodString]>>>;
|
|
1506
|
+
serviceTools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1507
|
+
session_dashboard: "session_dashboard";
|
|
1508
|
+
memory_service_search: "memory_service_search";
|
|
1509
|
+
memory_service_store: "memory_service_store";
|
|
1510
|
+
memory_service_get: "memory_service_get";
|
|
1511
|
+
memory_service_update: "memory_service_update";
|
|
1512
|
+
memory_service_delete: "memory_service_delete";
|
|
1513
|
+
memory_service_list: "memory_service_list";
|
|
1514
|
+
memory_service_schema: "memory_service_schema";
|
|
1515
|
+
memory_service_facets: "memory_service_facets";
|
|
1516
|
+
context7_search: "context7_search";
|
|
1517
|
+
grep_app_search: "grep_app_search";
|
|
1518
|
+
web_search: "web_search";
|
|
1519
|
+
fetch_content: "fetch_content";
|
|
1520
|
+
product_prd_create: "product_prd_create";
|
|
1521
|
+
product_prd_get: "product_prd_get";
|
|
1522
|
+
product_prd_update: "product_prd_update";
|
|
1523
|
+
product_prd_list: "product_prd_list";
|
|
1524
|
+
product_task_comment: "product_task_comment";
|
|
1525
|
+
session_todo_create: "session_todo_create";
|
|
1526
|
+
session_todo_update: "session_todo_update";
|
|
1527
|
+
session_todo_list: "session_todo_list";
|
|
1528
|
+
session_todo_comment: "session_todo_comment";
|
|
1529
|
+
session_todo_attach: "session_todo_attach";
|
|
1530
|
+
product_generate_deck: "product_generate_deck";
|
|
1531
|
+
sandbox_exec: "sandbox_exec";
|
|
1532
|
+
loop_get_state: "loop_get_state";
|
|
1533
|
+
loop_update_state: "loop_update_state";
|
|
1534
|
+
coord_create_job: "coord_create_job";
|
|
1535
|
+
coord_add_task: "coord_add_task";
|
|
1536
|
+
coord_claim_task: "coord_claim_task";
|
|
1537
|
+
coord_complete_task: "coord_complete_task";
|
|
1538
|
+
coord_fail_task: "coord_fail_task";
|
|
1539
|
+
coord_list_tasks: "coord_list_tasks";
|
|
1540
|
+
coord_job_status: "coord_job_status";
|
|
1541
|
+
coord_reserve_file: "coord_reserve_file";
|
|
1542
|
+
coord_release_file: "coord_release_file";
|
|
1543
|
+
coord_provide_contract: "coord_provide_contract";
|
|
1544
|
+
coord_check_contract: "coord_check_contract";
|
|
1545
|
+
coord_send_message: "coord_send_message";
|
|
1546
|
+
coord_read_messages: "coord_read_messages";
|
|
1547
|
+
coord_heartbeat: "coord_heartbeat";
|
|
1548
|
+
coord_spawn_workers: "coord_spawn_workers";
|
|
1549
|
+
}>, z.ZodString]>>>;
|
|
1550
|
+
savedSkills: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1551
|
+
skillId: z.ZodString;
|
|
1552
|
+
repo: z.ZodString;
|
|
1553
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1554
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1555
|
+
}, z.core.$strip>>>;
|
|
1556
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1557
|
+
}, z.core.$loose>;
|
|
1558
|
+
export type CoderAgentBuilderProposal = z.infer<typeof CoderAgentBuilderProposalSchema>;
|
|
1559
|
+
export declare const CoderAgentBuilderDurableStateSchema: z.ZodObject<{
|
|
1560
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
1561
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1563
|
+
}, z.core.$strip>;
|
|
1564
|
+
export type CoderAgentBuilderDurableState = z.infer<typeof CoderAgentBuilderDurableStateSchema>;
|
|
1565
|
+
export declare const CoderAgentBuilderActionStateSchema: z.ZodObject<{
|
|
1566
|
+
kind: z.ZodEnum<{
|
|
1567
|
+
create_draft: "create_draft";
|
|
1568
|
+
update_draft: "update_draft";
|
|
1569
|
+
publish: "publish";
|
|
1570
|
+
}>;
|
|
1571
|
+
status: z.ZodEnum<{
|
|
1572
|
+
failed: "failed";
|
|
1573
|
+
completed: "completed";
|
|
1574
|
+
}>;
|
|
1575
|
+
occurredAt: z.ZodString;
|
|
1576
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1580
|
+
}, z.core.$strip>;
|
|
1581
|
+
export type CoderAgentBuilderActionState = z.infer<typeof CoderAgentBuilderActionStateSchema>;
|
|
1582
|
+
export declare const CoderAgentBuilderSessionSummarySchema: z.ZodObject<{
|
|
1583
|
+
mode: z.ZodEnum<{
|
|
1584
|
+
edit: "edit";
|
|
1585
|
+
new: "new";
|
|
1586
|
+
from_session: "from_session";
|
|
1587
|
+
}>;
|
|
1588
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
1589
|
+
sessionId: z.ZodString;
|
|
1590
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
}, z.core.$strip>>;
|
|
1592
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
1593
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1594
|
+
slug: z.ZodString;
|
|
1595
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1596
|
+
}, z.core.$strip>>;
|
|
1597
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
1598
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
1599
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1600
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1601
|
+
}, z.core.$strip>>;
|
|
1602
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
1603
|
+
kind: z.ZodEnum<{
|
|
1604
|
+
create_draft: "create_draft";
|
|
1605
|
+
update_draft: "update_draft";
|
|
1606
|
+
publish: "publish";
|
|
1607
|
+
}>;
|
|
1608
|
+
status: z.ZodEnum<{
|
|
1609
|
+
failed: "failed";
|
|
1610
|
+
completed: "completed";
|
|
1611
|
+
}>;
|
|
1612
|
+
occurredAt: z.ZodString;
|
|
1613
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1615
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
1616
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1617
|
+
}, z.core.$strip>>;
|
|
1618
|
+
}, z.core.$strip>;
|
|
1619
|
+
export type CoderAgentBuilderSessionSummary = z.infer<typeof CoderAgentBuilderSessionSummarySchema>;
|
|
1620
|
+
export declare const CoderAgentBuilderSessionStateSchema: z.ZodObject<{
|
|
1621
|
+
mode: z.ZodEnum<{
|
|
1622
|
+
edit: "edit";
|
|
1623
|
+
new: "new";
|
|
1624
|
+
from_session: "from_session";
|
|
1625
|
+
}>;
|
|
1626
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
1627
|
+
sessionId: z.ZodString;
|
|
1628
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1629
|
+
}, z.core.$strip>>;
|
|
1630
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
1631
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1632
|
+
slug: z.ZodString;
|
|
1633
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1634
|
+
}, z.core.$strip>>;
|
|
1635
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
1636
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
1637
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1638
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1639
|
+
}, z.core.$strip>>;
|
|
1640
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
1641
|
+
kind: z.ZodEnum<{
|
|
1642
|
+
create_draft: "create_draft";
|
|
1643
|
+
update_draft: "update_draft";
|
|
1644
|
+
publish: "publish";
|
|
1645
|
+
}>;
|
|
1646
|
+
status: z.ZodEnum<{
|
|
1647
|
+
failed: "failed";
|
|
1648
|
+
completed: "completed";
|
|
1649
|
+
}>;
|
|
1650
|
+
occurredAt: z.ZodString;
|
|
1651
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1652
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1653
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
1654
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1655
|
+
}, z.core.$strip>>;
|
|
1656
|
+
proposal: z.ZodOptional<z.ZodObject<{
|
|
1657
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1658
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1659
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1660
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1661
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1662
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
1663
|
+
high: "high";
|
|
1664
|
+
medium: "medium";
|
|
1665
|
+
low: "low";
|
|
1666
|
+
off: "off";
|
|
1667
|
+
minimal: "minimal";
|
|
1668
|
+
xhigh: "xhigh";
|
|
1669
|
+
}>>;
|
|
1670
|
+
headlessCompatible: z.ZodOptional<z.ZodBoolean>;
|
|
1671
|
+
tools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1672
|
+
find: "find";
|
|
1673
|
+
read: "read";
|
|
1674
|
+
ls: "ls";
|
|
1675
|
+
grep: "grep";
|
|
1676
|
+
bash: "bash";
|
|
1677
|
+
write: "write";
|
|
1678
|
+
edit: "edit";
|
|
1679
|
+
}>, z.ZodString]>>>;
|
|
1680
|
+
serviceTools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1681
|
+
session_dashboard: "session_dashboard";
|
|
1682
|
+
memory_service_search: "memory_service_search";
|
|
1683
|
+
memory_service_store: "memory_service_store";
|
|
1684
|
+
memory_service_get: "memory_service_get";
|
|
1685
|
+
memory_service_update: "memory_service_update";
|
|
1686
|
+
memory_service_delete: "memory_service_delete";
|
|
1687
|
+
memory_service_list: "memory_service_list";
|
|
1688
|
+
memory_service_schema: "memory_service_schema";
|
|
1689
|
+
memory_service_facets: "memory_service_facets";
|
|
1690
|
+
context7_search: "context7_search";
|
|
1691
|
+
grep_app_search: "grep_app_search";
|
|
1692
|
+
web_search: "web_search";
|
|
1693
|
+
fetch_content: "fetch_content";
|
|
1694
|
+
product_prd_create: "product_prd_create";
|
|
1695
|
+
product_prd_get: "product_prd_get";
|
|
1696
|
+
product_prd_update: "product_prd_update";
|
|
1697
|
+
product_prd_list: "product_prd_list";
|
|
1698
|
+
product_task_comment: "product_task_comment";
|
|
1699
|
+
session_todo_create: "session_todo_create";
|
|
1700
|
+
session_todo_update: "session_todo_update";
|
|
1701
|
+
session_todo_list: "session_todo_list";
|
|
1702
|
+
session_todo_comment: "session_todo_comment";
|
|
1703
|
+
session_todo_attach: "session_todo_attach";
|
|
1704
|
+
product_generate_deck: "product_generate_deck";
|
|
1705
|
+
sandbox_exec: "sandbox_exec";
|
|
1706
|
+
loop_get_state: "loop_get_state";
|
|
1707
|
+
loop_update_state: "loop_update_state";
|
|
1708
|
+
coord_create_job: "coord_create_job";
|
|
1709
|
+
coord_add_task: "coord_add_task";
|
|
1710
|
+
coord_claim_task: "coord_claim_task";
|
|
1711
|
+
coord_complete_task: "coord_complete_task";
|
|
1712
|
+
coord_fail_task: "coord_fail_task";
|
|
1713
|
+
coord_list_tasks: "coord_list_tasks";
|
|
1714
|
+
coord_job_status: "coord_job_status";
|
|
1715
|
+
coord_reserve_file: "coord_reserve_file";
|
|
1716
|
+
coord_release_file: "coord_release_file";
|
|
1717
|
+
coord_provide_contract: "coord_provide_contract";
|
|
1718
|
+
coord_check_contract: "coord_check_contract";
|
|
1719
|
+
coord_send_message: "coord_send_message";
|
|
1720
|
+
coord_read_messages: "coord_read_messages";
|
|
1721
|
+
coord_heartbeat: "coord_heartbeat";
|
|
1722
|
+
coord_spawn_workers: "coord_spawn_workers";
|
|
1723
|
+
}>, z.ZodString]>>>;
|
|
1724
|
+
savedSkills: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1725
|
+
skillId: z.ZodString;
|
|
1726
|
+
repo: z.ZodString;
|
|
1727
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
}, z.core.$strip>>>;
|
|
1730
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1731
|
+
}, z.core.$loose>>;
|
|
1732
|
+
}, z.core.$loose>;
|
|
1733
|
+
export type CoderAgentBuilderSessionState = z.infer<typeof CoderAgentBuilderSessionStateSchema>;
|
|
1357
1734
|
export declare const CoderSessionListItemSchema: z.ZodObject<{
|
|
1358
1735
|
sessionId: z.ZodString;
|
|
1359
1736
|
label: z.ZodString;
|
|
@@ -1432,7 +1809,44 @@ export declare const CoderSessionListItemSchema: z.ZodObject<{
|
|
|
1432
1809
|
name: z.ZodOptional<z.ZodString>;
|
|
1433
1810
|
url: z.ZodOptional<z.ZodString>;
|
|
1434
1811
|
}, z.core.$strip>>;
|
|
1435
|
-
|
|
1812
|
+
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1813
|
+
builder: z.ZodOptional<z.ZodObject<{
|
|
1814
|
+
mode: z.ZodEnum<{
|
|
1815
|
+
edit: "edit";
|
|
1816
|
+
new: "new";
|
|
1817
|
+
from_session: "from_session";
|
|
1818
|
+
}>;
|
|
1819
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
1820
|
+
sessionId: z.ZodString;
|
|
1821
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1822
|
+
}, z.core.$strip>>;
|
|
1823
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
1824
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1825
|
+
slug: z.ZodString;
|
|
1826
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1827
|
+
}, z.core.$strip>>;
|
|
1828
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
1829
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
1830
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1831
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1832
|
+
}, z.core.$strip>>;
|
|
1833
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
1834
|
+
kind: z.ZodEnum<{
|
|
1835
|
+
create_draft: "create_draft";
|
|
1836
|
+
update_draft: "update_draft";
|
|
1837
|
+
publish: "publish";
|
|
1838
|
+
}>;
|
|
1839
|
+
status: z.ZodEnum<{
|
|
1840
|
+
failed: "failed";
|
|
1841
|
+
completed: "completed";
|
|
1842
|
+
}>;
|
|
1843
|
+
occurredAt: z.ZodString;
|
|
1844
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1845
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1846
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
1847
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1848
|
+
}, z.core.$strip>>;
|
|
1849
|
+
}, z.core.$strip>>;
|
|
1436
1850
|
defaultAgent: z.ZodOptional<z.ZodString>;
|
|
1437
1851
|
bucket: z.ZodEnum<{
|
|
1438
1852
|
running: "running";
|
|
@@ -1521,7 +1935,7 @@ export declare const CoderSessionSchema: z.ZodObject<{
|
|
|
1521
1935
|
name: z.ZodOptional<z.ZodString>;
|
|
1522
1936
|
url: z.ZodOptional<z.ZodString>;
|
|
1523
1937
|
}, z.core.$strip>>;
|
|
1524
|
-
|
|
1938
|
+
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1525
1939
|
defaultAgent: z.ZodOptional<z.ZodString>;
|
|
1526
1940
|
bucket: z.ZodEnum<{
|
|
1527
1941
|
running: "running";
|
|
@@ -1539,6 +1953,119 @@ export declare const CoderSessionSchema: z.ZodObject<{
|
|
|
1539
1953
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1540
1954
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1541
1955
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1956
|
+
builder: z.ZodOptional<z.ZodObject<{
|
|
1957
|
+
mode: z.ZodEnum<{
|
|
1958
|
+
edit: "edit";
|
|
1959
|
+
new: "new";
|
|
1960
|
+
from_session: "from_session";
|
|
1961
|
+
}>;
|
|
1962
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
1963
|
+
sessionId: z.ZodString;
|
|
1964
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1965
|
+
}, z.core.$strip>>;
|
|
1966
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
1967
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1968
|
+
slug: z.ZodString;
|
|
1969
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1970
|
+
}, z.core.$strip>>;
|
|
1971
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
1972
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
1973
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1974
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1975
|
+
}, z.core.$strip>>;
|
|
1976
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
1977
|
+
kind: z.ZodEnum<{
|
|
1978
|
+
create_draft: "create_draft";
|
|
1979
|
+
update_draft: "update_draft";
|
|
1980
|
+
publish: "publish";
|
|
1981
|
+
}>;
|
|
1982
|
+
status: z.ZodEnum<{
|
|
1983
|
+
failed: "failed";
|
|
1984
|
+
completed: "completed";
|
|
1985
|
+
}>;
|
|
1986
|
+
occurredAt: z.ZodString;
|
|
1987
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1988
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1989
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1991
|
+
}, z.core.$strip>>;
|
|
1992
|
+
proposal: z.ZodOptional<z.ZodObject<{
|
|
1993
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1994
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1995
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1996
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1997
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1998
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
1999
|
+
high: "high";
|
|
2000
|
+
medium: "medium";
|
|
2001
|
+
low: "low";
|
|
2002
|
+
off: "off";
|
|
2003
|
+
minimal: "minimal";
|
|
2004
|
+
xhigh: "xhigh";
|
|
2005
|
+
}>>;
|
|
2006
|
+
headlessCompatible: z.ZodOptional<z.ZodBoolean>;
|
|
2007
|
+
tools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2008
|
+
find: "find";
|
|
2009
|
+
read: "read";
|
|
2010
|
+
ls: "ls";
|
|
2011
|
+
grep: "grep";
|
|
2012
|
+
bash: "bash";
|
|
2013
|
+
write: "write";
|
|
2014
|
+
edit: "edit";
|
|
2015
|
+
}>, z.ZodString]>>>;
|
|
2016
|
+
serviceTools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2017
|
+
session_dashboard: "session_dashboard";
|
|
2018
|
+
memory_service_search: "memory_service_search";
|
|
2019
|
+
memory_service_store: "memory_service_store";
|
|
2020
|
+
memory_service_get: "memory_service_get";
|
|
2021
|
+
memory_service_update: "memory_service_update";
|
|
2022
|
+
memory_service_delete: "memory_service_delete";
|
|
2023
|
+
memory_service_list: "memory_service_list";
|
|
2024
|
+
memory_service_schema: "memory_service_schema";
|
|
2025
|
+
memory_service_facets: "memory_service_facets";
|
|
2026
|
+
context7_search: "context7_search";
|
|
2027
|
+
grep_app_search: "grep_app_search";
|
|
2028
|
+
web_search: "web_search";
|
|
2029
|
+
fetch_content: "fetch_content";
|
|
2030
|
+
product_prd_create: "product_prd_create";
|
|
2031
|
+
product_prd_get: "product_prd_get";
|
|
2032
|
+
product_prd_update: "product_prd_update";
|
|
2033
|
+
product_prd_list: "product_prd_list";
|
|
2034
|
+
product_task_comment: "product_task_comment";
|
|
2035
|
+
session_todo_create: "session_todo_create";
|
|
2036
|
+
session_todo_update: "session_todo_update";
|
|
2037
|
+
session_todo_list: "session_todo_list";
|
|
2038
|
+
session_todo_comment: "session_todo_comment";
|
|
2039
|
+
session_todo_attach: "session_todo_attach";
|
|
2040
|
+
product_generate_deck: "product_generate_deck";
|
|
2041
|
+
sandbox_exec: "sandbox_exec";
|
|
2042
|
+
loop_get_state: "loop_get_state";
|
|
2043
|
+
loop_update_state: "loop_update_state";
|
|
2044
|
+
coord_create_job: "coord_create_job";
|
|
2045
|
+
coord_add_task: "coord_add_task";
|
|
2046
|
+
coord_claim_task: "coord_claim_task";
|
|
2047
|
+
coord_complete_task: "coord_complete_task";
|
|
2048
|
+
coord_fail_task: "coord_fail_task";
|
|
2049
|
+
coord_list_tasks: "coord_list_tasks";
|
|
2050
|
+
coord_job_status: "coord_job_status";
|
|
2051
|
+
coord_reserve_file: "coord_reserve_file";
|
|
2052
|
+
coord_release_file: "coord_release_file";
|
|
2053
|
+
coord_provide_contract: "coord_provide_contract";
|
|
2054
|
+
coord_check_contract: "coord_check_contract";
|
|
2055
|
+
coord_send_message: "coord_send_message";
|
|
2056
|
+
coord_read_messages: "coord_read_messages";
|
|
2057
|
+
coord_heartbeat: "coord_heartbeat";
|
|
2058
|
+
coord_spawn_workers: "coord_spawn_workers";
|
|
2059
|
+
}>, z.ZodString]>>>;
|
|
2060
|
+
savedSkills: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2061
|
+
skillId: z.ZodString;
|
|
2062
|
+
repo: z.ZodString;
|
|
2063
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2064
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
}, z.core.$strip>>>;
|
|
2066
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2067
|
+
}, z.core.$loose>>;
|
|
2068
|
+
}, z.core.$loose>>;
|
|
1542
2069
|
lastActivityAt: z.ZodOptional<z.ZodString>;
|
|
1543
2070
|
taskCount: z.ZodOptional<z.ZodNumber>;
|
|
1544
2071
|
subAgentCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1633,7 +2160,44 @@ export declare const CoderSessionListResponseSchema: z.ZodObject<{
|
|
|
1633
2160
|
name: z.ZodOptional<z.ZodString>;
|
|
1634
2161
|
url: z.ZodOptional<z.ZodString>;
|
|
1635
2162
|
}, z.core.$strip>>;
|
|
1636
|
-
|
|
2163
|
+
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2164
|
+
builder: z.ZodOptional<z.ZodObject<{
|
|
2165
|
+
mode: z.ZodEnum<{
|
|
2166
|
+
edit: "edit";
|
|
2167
|
+
new: "new";
|
|
2168
|
+
from_session: "from_session";
|
|
2169
|
+
}>;
|
|
2170
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
2171
|
+
sessionId: z.ZodString;
|
|
2172
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2173
|
+
}, z.core.$strip>>;
|
|
2174
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
2175
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
slug: z.ZodString;
|
|
2177
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2178
|
+
}, z.core.$strip>>;
|
|
2179
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
2180
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
2181
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
2182
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2183
|
+
}, z.core.$strip>>;
|
|
2184
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
2185
|
+
kind: z.ZodEnum<{
|
|
2186
|
+
create_draft: "create_draft";
|
|
2187
|
+
update_draft: "update_draft";
|
|
2188
|
+
publish: "publish";
|
|
2189
|
+
}>;
|
|
2190
|
+
status: z.ZodEnum<{
|
|
2191
|
+
failed: "failed";
|
|
2192
|
+
completed: "completed";
|
|
2193
|
+
}>;
|
|
2194
|
+
occurredAt: z.ZodString;
|
|
2195
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2196
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2197
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
2198
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2199
|
+
}, z.core.$strip>>;
|
|
2200
|
+
}, z.core.$strip>>;
|
|
1637
2201
|
defaultAgent: z.ZodOptional<z.ZodString>;
|
|
1638
2202
|
bucket: z.ZodEnum<{
|
|
1639
2203
|
running: "running";
|
|
@@ -1731,7 +2295,44 @@ export declare const CoderSessionListPayloadSchema: z.ZodUnion<readonly [z.ZodAr
|
|
|
1731
2295
|
name: z.ZodOptional<z.ZodString>;
|
|
1732
2296
|
url: z.ZodOptional<z.ZodString>;
|
|
1733
2297
|
}, z.core.$strip>>;
|
|
1734
|
-
|
|
2298
|
+
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2299
|
+
builder: z.ZodOptional<z.ZodObject<{
|
|
2300
|
+
mode: z.ZodEnum<{
|
|
2301
|
+
edit: "edit";
|
|
2302
|
+
new: "new";
|
|
2303
|
+
from_session: "from_session";
|
|
2304
|
+
}>;
|
|
2305
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
2306
|
+
sessionId: z.ZodString;
|
|
2307
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2308
|
+
}, z.core.$strip>>;
|
|
2309
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
2310
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2311
|
+
slug: z.ZodString;
|
|
2312
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2313
|
+
}, z.core.$strip>>;
|
|
2314
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
2315
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
2316
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
2317
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2318
|
+
}, z.core.$strip>>;
|
|
2319
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
2320
|
+
kind: z.ZodEnum<{
|
|
2321
|
+
create_draft: "create_draft";
|
|
2322
|
+
update_draft: "update_draft";
|
|
2323
|
+
publish: "publish";
|
|
2324
|
+
}>;
|
|
2325
|
+
status: z.ZodEnum<{
|
|
2326
|
+
failed: "failed";
|
|
2327
|
+
completed: "completed";
|
|
2328
|
+
}>;
|
|
2329
|
+
occurredAt: z.ZodString;
|
|
2330
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2331
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2332
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
2333
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2334
|
+
}, z.core.$strip>>;
|
|
2335
|
+
}, z.core.$strip>>;
|
|
1735
2336
|
defaultAgent: z.ZodOptional<z.ZodString>;
|
|
1736
2337
|
bucket: z.ZodEnum<{
|
|
1737
2338
|
running: "running";
|
|
@@ -1824,7 +2425,44 @@ export declare const CoderSessionListPayloadSchema: z.ZodUnion<readonly [z.ZodAr
|
|
|
1824
2425
|
name: z.ZodOptional<z.ZodString>;
|
|
1825
2426
|
url: z.ZodOptional<z.ZodString>;
|
|
1826
2427
|
}, z.core.$strip>>;
|
|
1827
|
-
|
|
2428
|
+
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2429
|
+
builder: z.ZodOptional<z.ZodObject<{
|
|
2430
|
+
mode: z.ZodEnum<{
|
|
2431
|
+
edit: "edit";
|
|
2432
|
+
new: "new";
|
|
2433
|
+
from_session: "from_session";
|
|
2434
|
+
}>;
|
|
2435
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
2436
|
+
sessionId: z.ZodString;
|
|
2437
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2438
|
+
}, z.core.$strip>>;
|
|
2439
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
2440
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2441
|
+
slug: z.ZodString;
|
|
2442
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2443
|
+
}, z.core.$strip>>;
|
|
2444
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
2445
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
2446
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
2447
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2448
|
+
}, z.core.$strip>>;
|
|
2449
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
2450
|
+
kind: z.ZodEnum<{
|
|
2451
|
+
create_draft: "create_draft";
|
|
2452
|
+
update_draft: "update_draft";
|
|
2453
|
+
publish: "publish";
|
|
2454
|
+
}>;
|
|
2455
|
+
status: z.ZodEnum<{
|
|
2456
|
+
failed: "failed";
|
|
2457
|
+
completed: "completed";
|
|
2458
|
+
}>;
|
|
2459
|
+
occurredAt: z.ZodString;
|
|
2460
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2461
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2462
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
2463
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2464
|
+
}, z.core.$strip>>;
|
|
2465
|
+
}, z.core.$strip>>;
|
|
1828
2466
|
defaultAgent: z.ZodOptional<z.ZodString>;
|
|
1829
2467
|
bucket: z.ZodEnum<{
|
|
1830
2468
|
running: "running";
|