@myagentroam/protocol 0.1.4 → 0.1.6
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/enterprise.d.ts +256 -0
- package/dist/enterprise.js +122 -0
- package/dist/index.d.ts +568 -256
- package/dist/index.js +81 -7
- package/package.json +1 -1
- package/dist/index.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export * from './enterprise.js';
|
|
2
3
|
export declare const healthStatusSchema: z.ZodObject<{
|
|
3
4
|
status: z.ZodLiteral<"ok">;
|
|
4
5
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -21,6 +22,26 @@ export declare const runnerAvailabilitySchema: z.ZodObject<{
|
|
|
21
22
|
available: boolean;
|
|
22
23
|
version?: string | undefined;
|
|
23
24
|
}>;
|
|
25
|
+
export declare const nodeUpgradeStatusSchema: z.ZodObject<{
|
|
26
|
+
state: z.ZodEnum<["IDLE", "WAITING_FOR_RUNS", "READY_TO_RESTART", "FAILED"]>;
|
|
27
|
+
targetVersion: z.ZodOptional<z.ZodString>;
|
|
28
|
+
activeRunCount: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
30
|
+
updatedAt: z.ZodNumber;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
updatedAt: number;
|
|
33
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
34
|
+
errorCode?: string | undefined;
|
|
35
|
+
targetVersion?: string | undefined;
|
|
36
|
+
activeRunCount?: number | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
updatedAt: number;
|
|
39
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
40
|
+
errorCode?: string | undefined;
|
|
41
|
+
targetVersion?: string | undefined;
|
|
42
|
+
activeRunCount?: number | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
export type NodeUpgradeStatus = z.infer<typeof nodeUpgradeStatusSchema>;
|
|
24
45
|
export declare const nodeMetadataSchema: z.ZodOptional<z.ZodObject<{
|
|
25
46
|
platform: z.ZodOptional<z.ZodOptional<z.ZodEnum<["windows", "linux"]>>>;
|
|
26
47
|
architecture: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -48,6 +69,36 @@ export declare const nodeMetadataSchema: z.ZodOptional<z.ZodObject<{
|
|
|
48
69
|
available: boolean;
|
|
49
70
|
version?: string | undefined;
|
|
50
71
|
}>>>;
|
|
72
|
+
openCode: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
73
|
+
available: z.ZodBoolean;
|
|
74
|
+
version: z.ZodOptional<z.ZodString>;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
available: boolean;
|
|
77
|
+
version?: string | undefined;
|
|
78
|
+
}, {
|
|
79
|
+
available: boolean;
|
|
80
|
+
version?: string | undefined;
|
|
81
|
+
}>>>;
|
|
82
|
+
supervisedUpgrade: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
83
|
+
upgrade: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
84
|
+
state: z.ZodEnum<["IDLE", "WAITING_FOR_RUNS", "READY_TO_RESTART", "FAILED"]>;
|
|
85
|
+
targetVersion: z.ZodOptional<z.ZodString>;
|
|
86
|
+
activeRunCount: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
88
|
+
updatedAt: z.ZodNumber;
|
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
|
+
updatedAt: number;
|
|
91
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
92
|
+
errorCode?: string | undefined;
|
|
93
|
+
targetVersion?: string | undefined;
|
|
94
|
+
activeRunCount?: number | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
updatedAt: number;
|
|
97
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
98
|
+
errorCode?: string | undefined;
|
|
99
|
+
targetVersion?: string | undefined;
|
|
100
|
+
activeRunCount?: number | undefined;
|
|
101
|
+
}>>>;
|
|
51
102
|
}, "strict", z.ZodTypeAny, {
|
|
52
103
|
platform?: "windows" | "linux" | undefined;
|
|
53
104
|
architecture?: string | undefined;
|
|
@@ -63,6 +114,18 @@ export declare const nodeMetadataSchema: z.ZodOptional<z.ZodObject<{
|
|
|
63
114
|
available: boolean;
|
|
64
115
|
version?: string | undefined;
|
|
65
116
|
} | undefined;
|
|
117
|
+
openCode?: {
|
|
118
|
+
available: boolean;
|
|
119
|
+
version?: string | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
supervisedUpgrade?: boolean | undefined;
|
|
122
|
+
upgrade?: {
|
|
123
|
+
updatedAt: number;
|
|
124
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
125
|
+
errorCode?: string | undefined;
|
|
126
|
+
targetVersion?: string | undefined;
|
|
127
|
+
activeRunCount?: number | undefined;
|
|
128
|
+
} | undefined;
|
|
66
129
|
}, {
|
|
67
130
|
platform?: "windows" | "linux" | undefined;
|
|
68
131
|
architecture?: string | undefined;
|
|
@@ -78,6 +141,18 @@ export declare const nodeMetadataSchema: z.ZodOptional<z.ZodObject<{
|
|
|
78
141
|
available: boolean;
|
|
79
142
|
version?: string | undefined;
|
|
80
143
|
} | undefined;
|
|
144
|
+
openCode?: {
|
|
145
|
+
available: boolean;
|
|
146
|
+
version?: string | undefined;
|
|
147
|
+
} | undefined;
|
|
148
|
+
supervisedUpgrade?: boolean | undefined;
|
|
149
|
+
upgrade?: {
|
|
150
|
+
updatedAt: number;
|
|
151
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
152
|
+
errorCode?: string | undefined;
|
|
153
|
+
targetVersion?: string | undefined;
|
|
154
|
+
activeRunCount?: number | undefined;
|
|
155
|
+
} | undefined;
|
|
81
156
|
}>>;
|
|
82
157
|
export declare const nodeCapabilitiesSchema: z.ZodObject<{
|
|
83
158
|
platform: z.ZodEnum<["windows", "linux"]>;
|
|
@@ -111,6 +186,36 @@ export declare const nodeCapabilitiesSchema: z.ZodObject<{
|
|
|
111
186
|
available: boolean;
|
|
112
187
|
version?: string | undefined;
|
|
113
188
|
}>>>;
|
|
189
|
+
openCode: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
190
|
+
available: z.ZodBoolean;
|
|
191
|
+
version: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
available: boolean;
|
|
194
|
+
version?: string | undefined;
|
|
195
|
+
}, {
|
|
196
|
+
available: boolean;
|
|
197
|
+
version?: string | undefined;
|
|
198
|
+
}>>>;
|
|
199
|
+
supervisedUpgrade: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
200
|
+
upgrade: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
201
|
+
state: z.ZodEnum<["IDLE", "WAITING_FOR_RUNS", "READY_TO_RESTART", "FAILED"]>;
|
|
202
|
+
targetVersion: z.ZodOptional<z.ZodString>;
|
|
203
|
+
activeRunCount: z.ZodOptional<z.ZodNumber>;
|
|
204
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
205
|
+
updatedAt: z.ZodNumber;
|
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
|
207
|
+
updatedAt: number;
|
|
208
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
209
|
+
errorCode?: string | undefined;
|
|
210
|
+
targetVersion?: string | undefined;
|
|
211
|
+
activeRunCount?: number | undefined;
|
|
212
|
+
}, {
|
|
213
|
+
updatedAt: number;
|
|
214
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
215
|
+
errorCode?: string | undefined;
|
|
216
|
+
targetVersion?: string | undefined;
|
|
217
|
+
activeRunCount?: number | undefined;
|
|
218
|
+
}>>>;
|
|
114
219
|
}, "strict", z.ZodTypeAny, {
|
|
115
220
|
platform?: "windows" | "linux" | undefined;
|
|
116
221
|
architecture?: string | undefined;
|
|
@@ -126,6 +231,18 @@ export declare const nodeCapabilitiesSchema: z.ZodObject<{
|
|
|
126
231
|
available: boolean;
|
|
127
232
|
version?: string | undefined;
|
|
128
233
|
} | undefined;
|
|
234
|
+
openCode?: {
|
|
235
|
+
available: boolean;
|
|
236
|
+
version?: string | undefined;
|
|
237
|
+
} | undefined;
|
|
238
|
+
supervisedUpgrade?: boolean | undefined;
|
|
239
|
+
upgrade?: {
|
|
240
|
+
updatedAt: number;
|
|
241
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
242
|
+
errorCode?: string | undefined;
|
|
243
|
+
targetVersion?: string | undefined;
|
|
244
|
+
activeRunCount?: number | undefined;
|
|
245
|
+
} | undefined;
|
|
129
246
|
}, {
|
|
130
247
|
platform?: "windows" | "linux" | undefined;
|
|
131
248
|
architecture?: string | undefined;
|
|
@@ -141,6 +258,18 @@ export declare const nodeCapabilitiesSchema: z.ZodObject<{
|
|
|
141
258
|
available: boolean;
|
|
142
259
|
version?: string | undefined;
|
|
143
260
|
} | undefined;
|
|
261
|
+
openCode?: {
|
|
262
|
+
available: boolean;
|
|
263
|
+
version?: string | undefined;
|
|
264
|
+
} | undefined;
|
|
265
|
+
supervisedUpgrade?: boolean | undefined;
|
|
266
|
+
upgrade?: {
|
|
267
|
+
updatedAt: number;
|
|
268
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
269
|
+
errorCode?: string | undefined;
|
|
270
|
+
targetVersion?: string | undefined;
|
|
271
|
+
activeRunCount?: number | undefined;
|
|
272
|
+
} | undefined;
|
|
144
273
|
}>>;
|
|
145
274
|
codex: z.ZodObject<{
|
|
146
275
|
available: z.ZodBoolean;
|
|
@@ -162,6 +291,16 @@ export declare const nodeCapabilitiesSchema: z.ZodObject<{
|
|
|
162
291
|
available: boolean;
|
|
163
292
|
version?: string | undefined;
|
|
164
293
|
}>;
|
|
294
|
+
openCode: z.ZodOptional<z.ZodObject<{
|
|
295
|
+
available: z.ZodBoolean;
|
|
296
|
+
version: z.ZodOptional<z.ZodString>;
|
|
297
|
+
}, "strip", z.ZodTypeAny, {
|
|
298
|
+
available: boolean;
|
|
299
|
+
version?: string | undefined;
|
|
300
|
+
}, {
|
|
301
|
+
available: boolean;
|
|
302
|
+
version?: string | undefined;
|
|
303
|
+
}>>;
|
|
165
304
|
}, "strip", z.ZodTypeAny, {
|
|
166
305
|
platform: "windows" | "linux";
|
|
167
306
|
architecture: string;
|
|
@@ -174,7 +313,6 @@ export declare const nodeCapabilitiesSchema: z.ZodObject<{
|
|
|
174
313
|
available: boolean;
|
|
175
314
|
version?: string | undefined;
|
|
176
315
|
};
|
|
177
|
-
nodeAppVersion?: string | undefined;
|
|
178
316
|
metadata?: {
|
|
179
317
|
platform?: "windows" | "linux" | undefined;
|
|
180
318
|
architecture?: string | undefined;
|
|
@@ -190,6 +328,23 @@ export declare const nodeCapabilitiesSchema: z.ZodObject<{
|
|
|
190
328
|
available: boolean;
|
|
191
329
|
version?: string | undefined;
|
|
192
330
|
} | undefined;
|
|
331
|
+
openCode?: {
|
|
332
|
+
available: boolean;
|
|
333
|
+
version?: string | undefined;
|
|
334
|
+
} | undefined;
|
|
335
|
+
supervisedUpgrade?: boolean | undefined;
|
|
336
|
+
upgrade?: {
|
|
337
|
+
updatedAt: number;
|
|
338
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
339
|
+
errorCode?: string | undefined;
|
|
340
|
+
targetVersion?: string | undefined;
|
|
341
|
+
activeRunCount?: number | undefined;
|
|
342
|
+
} | undefined;
|
|
343
|
+
} | undefined;
|
|
344
|
+
nodeAppVersion?: string | undefined;
|
|
345
|
+
openCode?: {
|
|
346
|
+
available: boolean;
|
|
347
|
+
version?: string | undefined;
|
|
193
348
|
} | undefined;
|
|
194
349
|
}, {
|
|
195
350
|
platform: "windows" | "linux";
|
|
@@ -203,7 +358,6 @@ export declare const nodeCapabilitiesSchema: z.ZodObject<{
|
|
|
203
358
|
available: boolean;
|
|
204
359
|
version?: string | undefined;
|
|
205
360
|
};
|
|
206
|
-
nodeAppVersion?: string | undefined;
|
|
207
361
|
metadata?: {
|
|
208
362
|
platform?: "windows" | "linux" | undefined;
|
|
209
363
|
architecture?: string | undefined;
|
|
@@ -219,6 +373,23 @@ export declare const nodeCapabilitiesSchema: z.ZodObject<{
|
|
|
219
373
|
available: boolean;
|
|
220
374
|
version?: string | undefined;
|
|
221
375
|
} | undefined;
|
|
376
|
+
openCode?: {
|
|
377
|
+
available: boolean;
|
|
378
|
+
version?: string | undefined;
|
|
379
|
+
} | undefined;
|
|
380
|
+
supervisedUpgrade?: boolean | undefined;
|
|
381
|
+
upgrade?: {
|
|
382
|
+
updatedAt: number;
|
|
383
|
+
state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
|
|
384
|
+
errorCode?: string | undefined;
|
|
385
|
+
targetVersion?: string | undefined;
|
|
386
|
+
activeRunCount?: number | undefined;
|
|
387
|
+
} | undefined;
|
|
388
|
+
} | undefined;
|
|
389
|
+
nodeAppVersion?: string | undefined;
|
|
390
|
+
openCode?: {
|
|
391
|
+
available: boolean;
|
|
392
|
+
version?: string | undefined;
|
|
222
393
|
} | undefined;
|
|
223
394
|
}>;
|
|
224
395
|
export type NodeCapabilities = z.infer<typeof nodeCapabilitiesSchema>;
|
|
@@ -245,20 +416,20 @@ export declare const gitSummarySchema: z.ZodObject<{
|
|
|
245
416
|
}>;
|
|
246
417
|
export type GitSummary = z.infer<typeof gitSummarySchema>;
|
|
247
418
|
/** Runner names are deliberately closed in the first implementation. */
|
|
248
|
-
export declare const runnerNameSchema: z.ZodEnum<["codex", "claude-code"]>;
|
|
419
|
+
export declare const runnerNameSchema: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
249
420
|
export type RunnerName = z.infer<typeof runnerNameSchema>;
|
|
250
421
|
/** Account-level quota visibility is intentionally separate from a Runner's execution availability. */
|
|
251
422
|
export declare const runnerUsageStatusSchema: z.ZodObject<{
|
|
252
|
-
runner: z.ZodEnum<["codex", "claude-code"]>;
|
|
423
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
253
424
|
available: z.ZodBoolean;
|
|
254
425
|
reasonCode: z.ZodNullable<z.ZodString>;
|
|
255
426
|
}, "strip", z.ZodTypeAny, {
|
|
256
427
|
available: boolean;
|
|
257
|
-
runner: "codex" | "claude-code";
|
|
428
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
258
429
|
reasonCode: string | null;
|
|
259
430
|
}, {
|
|
260
431
|
available: boolean;
|
|
261
|
-
runner: "codex" | "claude-code";
|
|
432
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
262
433
|
reasonCode: string | null;
|
|
263
434
|
}>;
|
|
264
435
|
export type RunnerUsageStatus = z.infer<typeof runnerUsageStatusSchema>;
|
|
@@ -280,7 +451,7 @@ export declare const runnerUsageWindowSchema: z.ZodObject<{
|
|
|
280
451
|
}>;
|
|
281
452
|
export type RunnerUsageWindow = z.infer<typeof runnerUsageWindowSchema>;
|
|
282
453
|
export declare const runnerUsageSchema: z.ZodObject<{
|
|
283
|
-
runner: z.ZodEnum<["codex", "claude-code"]>;
|
|
454
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
284
455
|
windows: z.ZodArray<z.ZodObject<{
|
|
285
456
|
id: z.ZodString;
|
|
286
457
|
label: z.ZodString;
|
|
@@ -306,7 +477,7 @@ export declare const runnerUsageSchema: z.ZodObject<{
|
|
|
306
477
|
usedPercentage: number;
|
|
307
478
|
resetsAt: number | null;
|
|
308
479
|
}[];
|
|
309
|
-
runner: "codex" | "claude-code";
|
|
480
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
310
481
|
fetchedAt: number;
|
|
311
482
|
cached: boolean;
|
|
312
483
|
}, {
|
|
@@ -316,7 +487,7 @@ export declare const runnerUsageSchema: z.ZodObject<{
|
|
|
316
487
|
usedPercentage: number;
|
|
317
488
|
resetsAt: number | null;
|
|
318
489
|
}[];
|
|
319
|
-
runner: "codex" | "claude-code";
|
|
490
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
320
491
|
fetchedAt: number;
|
|
321
492
|
cached: boolean;
|
|
322
493
|
}>;
|
|
@@ -346,7 +517,7 @@ export declare const runnerCapabilitiesSchema: z.ZodObject<{
|
|
|
346
517
|
export type RunnerCapabilities = z.infer<typeof runnerCapabilitiesSchema>;
|
|
347
518
|
/** Fixed runner contracts; implementations are supplied by later runner tasks. */
|
|
348
519
|
export declare const runnerDefinitionSchema: z.ZodObject<{
|
|
349
|
-
name: z.ZodEnum<["codex", "claude-code"]>;
|
|
520
|
+
name: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
350
521
|
capabilities: z.ZodObject<{
|
|
351
522
|
available: z.ZodBoolean;
|
|
352
523
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -367,7 +538,7 @@ export declare const runnerDefinitionSchema: z.ZodObject<{
|
|
|
367
538
|
version?: string | undefined;
|
|
368
539
|
}>;
|
|
369
540
|
}, "strip", z.ZodTypeAny, {
|
|
370
|
-
name: "codex" | "claude-code";
|
|
541
|
+
name: "codex" | "claude-code" | "opencode";
|
|
371
542
|
capabilities: {
|
|
372
543
|
available: boolean;
|
|
373
544
|
controlLevel: "OBSERVE" | "MESSAGE" | "INTERRUPT";
|
|
@@ -376,7 +547,7 @@ export declare const runnerDefinitionSchema: z.ZodObject<{
|
|
|
376
547
|
version?: string | undefined;
|
|
377
548
|
};
|
|
378
549
|
}, {
|
|
379
|
-
name: "codex" | "claude-code";
|
|
550
|
+
name: "codex" | "claude-code" | "opencode";
|
|
380
551
|
capabilities: {
|
|
381
552
|
available: boolean;
|
|
382
553
|
controlLevel: "OBSERVE" | "MESSAGE" | "INTERRUPT";
|
|
@@ -395,26 +566,26 @@ export declare const workspaceQueueItemSchema: z.ZodObject<{
|
|
|
395
566
|
id: z.ZodString;
|
|
396
567
|
sessionId: z.ZodString;
|
|
397
568
|
workspaceId: z.ZodString;
|
|
398
|
-
runner: z.ZodEnum<["codex", "claude-code"]>;
|
|
569
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
399
570
|
status: z.ZodLiteral<"QUEUED">;
|
|
400
571
|
clientMessageId: z.ZodString;
|
|
401
572
|
createdAt: z.ZodNumber;
|
|
402
573
|
}, "strip", z.ZodTypeAny, {
|
|
403
574
|
status: "QUEUED";
|
|
404
|
-
runner: "codex" | "claude-code";
|
|
405
575
|
id: string;
|
|
406
|
-
|
|
576
|
+
createdAt: number;
|
|
407
577
|
workspaceId: string;
|
|
408
578
|
clientMessageId: string;
|
|
409
|
-
|
|
579
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
580
|
+
sessionId: string;
|
|
410
581
|
}, {
|
|
411
582
|
status: "QUEUED";
|
|
412
|
-
runner: "codex" | "claude-code";
|
|
413
583
|
id: string;
|
|
414
|
-
|
|
584
|
+
createdAt: number;
|
|
415
585
|
workspaceId: string;
|
|
416
586
|
clientMessageId: string;
|
|
417
|
-
|
|
587
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
588
|
+
sessionId: string;
|
|
418
589
|
}>;
|
|
419
590
|
sessionId: z.ZodString;
|
|
420
591
|
sessionTitle: z.ZodString;
|
|
@@ -422,12 +593,12 @@ export declare const workspaceQueueItemSchema: z.ZodObject<{
|
|
|
422
593
|
}, "strip", z.ZodTypeAny, {
|
|
423
594
|
run: {
|
|
424
595
|
status: "QUEUED";
|
|
425
|
-
runner: "codex" | "claude-code";
|
|
426
596
|
id: string;
|
|
427
|
-
|
|
597
|
+
createdAt: number;
|
|
428
598
|
workspaceId: string;
|
|
429
599
|
clientMessageId: string;
|
|
430
|
-
|
|
600
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
601
|
+
sessionId: string;
|
|
431
602
|
};
|
|
432
603
|
sessionId: string;
|
|
433
604
|
sessionTitle: string;
|
|
@@ -435,12 +606,12 @@ export declare const workspaceQueueItemSchema: z.ZodObject<{
|
|
|
435
606
|
}, {
|
|
436
607
|
run: {
|
|
437
608
|
status: "QUEUED";
|
|
438
|
-
runner: "codex" | "claude-code";
|
|
439
609
|
id: string;
|
|
440
|
-
|
|
610
|
+
createdAt: number;
|
|
441
611
|
workspaceId: string;
|
|
442
612
|
clientMessageId: string;
|
|
443
|
-
|
|
613
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
614
|
+
sessionId: string;
|
|
444
615
|
};
|
|
445
616
|
sessionId: string;
|
|
446
617
|
sessionTitle: string;
|
|
@@ -454,26 +625,26 @@ export declare const workspaceQueueSchema: z.ZodObject<{
|
|
|
454
625
|
id: z.ZodString;
|
|
455
626
|
sessionId: z.ZodString;
|
|
456
627
|
workspaceId: z.ZodString;
|
|
457
|
-
runner: z.ZodEnum<["codex", "claude-code"]>;
|
|
628
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
458
629
|
status: z.ZodLiteral<"QUEUED">;
|
|
459
630
|
clientMessageId: z.ZodString;
|
|
460
631
|
createdAt: z.ZodNumber;
|
|
461
632
|
}, "strip", z.ZodTypeAny, {
|
|
462
633
|
status: "QUEUED";
|
|
463
|
-
runner: "codex" | "claude-code";
|
|
464
634
|
id: string;
|
|
465
|
-
|
|
635
|
+
createdAt: number;
|
|
466
636
|
workspaceId: string;
|
|
467
637
|
clientMessageId: string;
|
|
468
|
-
|
|
638
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
639
|
+
sessionId: string;
|
|
469
640
|
}, {
|
|
470
641
|
status: "QUEUED";
|
|
471
|
-
runner: "codex" | "claude-code";
|
|
472
642
|
id: string;
|
|
473
|
-
|
|
643
|
+
createdAt: number;
|
|
474
644
|
workspaceId: string;
|
|
475
645
|
clientMessageId: string;
|
|
476
|
-
|
|
646
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
647
|
+
sessionId: string;
|
|
477
648
|
}>;
|
|
478
649
|
sessionId: z.ZodString;
|
|
479
650
|
sessionTitle: z.ZodString;
|
|
@@ -481,12 +652,12 @@ export declare const workspaceQueueSchema: z.ZodObject<{
|
|
|
481
652
|
}, "strip", z.ZodTypeAny, {
|
|
482
653
|
run: {
|
|
483
654
|
status: "QUEUED";
|
|
484
|
-
runner: "codex" | "claude-code";
|
|
485
655
|
id: string;
|
|
486
|
-
|
|
656
|
+
createdAt: number;
|
|
487
657
|
workspaceId: string;
|
|
488
658
|
clientMessageId: string;
|
|
489
|
-
|
|
659
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
660
|
+
sessionId: string;
|
|
490
661
|
};
|
|
491
662
|
sessionId: string;
|
|
492
663
|
sessionTitle: string;
|
|
@@ -494,12 +665,12 @@ export declare const workspaceQueueSchema: z.ZodObject<{
|
|
|
494
665
|
}, {
|
|
495
666
|
run: {
|
|
496
667
|
status: "QUEUED";
|
|
497
|
-
runner: "codex" | "claude-code";
|
|
498
668
|
id: string;
|
|
499
|
-
|
|
669
|
+
createdAt: number;
|
|
500
670
|
workspaceId: string;
|
|
501
671
|
clientMessageId: string;
|
|
502
|
-
|
|
672
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
673
|
+
sessionId: string;
|
|
503
674
|
};
|
|
504
675
|
sessionId: string;
|
|
505
676
|
sessionTitle: string;
|
|
@@ -511,12 +682,12 @@ export declare const workspaceQueueSchema: z.ZodObject<{
|
|
|
511
682
|
items: {
|
|
512
683
|
run: {
|
|
513
684
|
status: "QUEUED";
|
|
514
|
-
runner: "codex" | "claude-code";
|
|
515
685
|
id: string;
|
|
516
|
-
|
|
686
|
+
createdAt: number;
|
|
517
687
|
workspaceId: string;
|
|
518
688
|
clientMessageId: string;
|
|
519
|
-
|
|
689
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
690
|
+
sessionId: string;
|
|
520
691
|
};
|
|
521
692
|
sessionId: string;
|
|
522
693
|
sessionTitle: string;
|
|
@@ -528,12 +699,12 @@ export declare const workspaceQueueSchema: z.ZodObject<{
|
|
|
528
699
|
items: {
|
|
529
700
|
run: {
|
|
530
701
|
status: "QUEUED";
|
|
531
|
-
runner: "codex" | "claude-code";
|
|
532
702
|
id: string;
|
|
533
|
-
|
|
703
|
+
createdAt: number;
|
|
534
704
|
workspaceId: string;
|
|
535
705
|
clientMessageId: string;
|
|
536
|
-
|
|
706
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
707
|
+
sessionId: string;
|
|
537
708
|
};
|
|
538
709
|
sessionId: string;
|
|
539
710
|
sessionTitle: string;
|
|
@@ -549,17 +720,17 @@ export declare const runEventSchema: z.ZodObject<{
|
|
|
549
720
|
status: z.ZodOptional<z.ZodEnum<["QUEUED", "STARTING", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED", "INTERRUPTED"]>>;
|
|
550
721
|
version: z.ZodOptional<z.ZodNumber>;
|
|
551
722
|
}, "strip", z.ZodTypeAny, {
|
|
723
|
+
eventType: string;
|
|
552
724
|
runId: string;
|
|
553
725
|
sequence: number;
|
|
554
|
-
|
|
555
|
-
status?: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "FAILED" | "CANCELLED" | "INTERRUPTED" | undefined;
|
|
726
|
+
status?: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED" | undefined;
|
|
556
727
|
version?: number | undefined;
|
|
557
728
|
payload?: unknown;
|
|
558
729
|
}, {
|
|
730
|
+
eventType: string;
|
|
559
731
|
runId: string;
|
|
560
732
|
sequence: number;
|
|
561
|
-
|
|
562
|
-
status?: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "FAILED" | "CANCELLED" | "INTERRUPTED" | undefined;
|
|
733
|
+
status?: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED" | undefined;
|
|
563
734
|
version?: number | undefined;
|
|
564
735
|
payload?: unknown;
|
|
565
736
|
}>;
|
|
@@ -602,58 +773,58 @@ export declare const capabilityAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
602
773
|
export type CapabilityAvailability = z.infer<typeof capabilityAvailabilitySchema>;
|
|
603
774
|
export declare const runnerCommandDescriptorSchema: z.ZodEffects<z.ZodObject<{
|
|
604
775
|
id: z.ZodString;
|
|
605
|
-
runner: z.ZodEnum<["codex", "claude-code"]>;
|
|
776
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
606
777
|
label: z.ZodString;
|
|
607
778
|
stateLabel: z.ZodOptional<z.ZodString>;
|
|
608
779
|
description: z.ZodString;
|
|
609
780
|
/** Commands are entered exactly as the Runner documents them: `/name args`. */
|
|
610
781
|
inputHint: z.ZodString;
|
|
611
|
-
source: z.ZodEnum<["CODEX_APP_SERVER", "CLAUDE_AGENT_SDK"]>;
|
|
782
|
+
source: z.ZodEnum<["CODEX_APP_SERVER", "CLAUDE_AGENT_SDK", "OPENCODE_SERVER"]>;
|
|
612
783
|
interaction: z.ZodEnum<["RUNNER_TEXT", "IMMEDIATE_ACTION", "TOGGLE", "VALUE"]>;
|
|
613
784
|
available: z.ZodBoolean;
|
|
614
785
|
reasonCode: z.ZodNullable<z.ZodString>;
|
|
615
786
|
}, "strip", z.ZodTypeAny, {
|
|
787
|
+
id: string;
|
|
616
788
|
available: boolean;
|
|
617
|
-
runner: "codex" | "claude-code";
|
|
789
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
618
790
|
reasonCode: string | null;
|
|
619
|
-
id: string;
|
|
620
791
|
label: string;
|
|
621
792
|
description: string;
|
|
622
793
|
inputHint: string;
|
|
623
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
794
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
624
795
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
625
796
|
stateLabel?: string | undefined;
|
|
626
797
|
}, {
|
|
798
|
+
id: string;
|
|
627
799
|
available: boolean;
|
|
628
|
-
runner: "codex" | "claude-code";
|
|
800
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
629
801
|
reasonCode: string | null;
|
|
630
|
-
id: string;
|
|
631
802
|
label: string;
|
|
632
803
|
description: string;
|
|
633
804
|
inputHint: string;
|
|
634
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
805
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
635
806
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
636
807
|
stateLabel?: string | undefined;
|
|
637
808
|
}>, {
|
|
809
|
+
id: string;
|
|
638
810
|
available: boolean;
|
|
639
|
-
runner: "codex" | "claude-code";
|
|
811
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
640
812
|
reasonCode: string | null;
|
|
641
|
-
id: string;
|
|
642
813
|
label: string;
|
|
643
814
|
description: string;
|
|
644
815
|
inputHint: string;
|
|
645
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
816
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
646
817
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
647
818
|
stateLabel?: string | undefined;
|
|
648
819
|
}, {
|
|
820
|
+
id: string;
|
|
649
821
|
available: boolean;
|
|
650
|
-
runner: "codex" | "claude-code";
|
|
822
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
651
823
|
reasonCode: string | null;
|
|
652
|
-
id: string;
|
|
653
824
|
label: string;
|
|
654
825
|
description: string;
|
|
655
826
|
inputHint: string;
|
|
656
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
827
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
657
828
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
658
829
|
stateLabel?: string | undefined;
|
|
659
830
|
}>;
|
|
@@ -701,7 +872,7 @@ export declare const runnerCommandStateSchema: z.ZodObject<{
|
|
|
701
872
|
}>;
|
|
702
873
|
export type RunnerCommandState = z.infer<typeof runnerCommandStateSchema>;
|
|
703
874
|
export declare const runnerProfileSchema: z.ZodObject<{
|
|
704
|
-
runner: z.ZodEnum<["codex", "claude-code"]>;
|
|
875
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
705
876
|
models: z.ZodArray<z.ZodObject<{
|
|
706
877
|
id: z.ZodString;
|
|
707
878
|
label: z.ZodString;
|
|
@@ -730,64 +901,64 @@ export declare const runnerProfileSchema: z.ZodObject<{
|
|
|
730
901
|
}>, "many">;
|
|
731
902
|
commands: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
732
903
|
id: z.ZodString;
|
|
733
|
-
runner: z.ZodEnum<["codex", "claude-code"]>;
|
|
904
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
734
905
|
label: z.ZodString;
|
|
735
906
|
stateLabel: z.ZodOptional<z.ZodString>;
|
|
736
907
|
description: z.ZodString;
|
|
737
908
|
/** Commands are entered exactly as the Runner documents them: `/name args`. */
|
|
738
909
|
inputHint: z.ZodString;
|
|
739
|
-
source: z.ZodEnum<["CODEX_APP_SERVER", "CLAUDE_AGENT_SDK"]>;
|
|
910
|
+
source: z.ZodEnum<["CODEX_APP_SERVER", "CLAUDE_AGENT_SDK", "OPENCODE_SERVER"]>;
|
|
740
911
|
interaction: z.ZodEnum<["RUNNER_TEXT", "IMMEDIATE_ACTION", "TOGGLE", "VALUE"]>;
|
|
741
912
|
available: z.ZodBoolean;
|
|
742
913
|
reasonCode: z.ZodNullable<z.ZodString>;
|
|
743
914
|
}, "strip", z.ZodTypeAny, {
|
|
915
|
+
id: string;
|
|
744
916
|
available: boolean;
|
|
745
|
-
runner: "codex" | "claude-code";
|
|
917
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
746
918
|
reasonCode: string | null;
|
|
747
|
-
id: string;
|
|
748
919
|
label: string;
|
|
749
920
|
description: string;
|
|
750
921
|
inputHint: string;
|
|
751
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
922
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
752
923
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
753
924
|
stateLabel?: string | undefined;
|
|
754
925
|
}, {
|
|
926
|
+
id: string;
|
|
755
927
|
available: boolean;
|
|
756
|
-
runner: "codex" | "claude-code";
|
|
928
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
757
929
|
reasonCode: string | null;
|
|
758
|
-
id: string;
|
|
759
930
|
label: string;
|
|
760
931
|
description: string;
|
|
761
932
|
inputHint: string;
|
|
762
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
933
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
763
934
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
764
935
|
stateLabel?: string | undefined;
|
|
765
936
|
}>, {
|
|
937
|
+
id: string;
|
|
766
938
|
available: boolean;
|
|
767
|
-
runner: "codex" | "claude-code";
|
|
939
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
768
940
|
reasonCode: string | null;
|
|
769
|
-
id: string;
|
|
770
941
|
label: string;
|
|
771
942
|
description: string;
|
|
772
943
|
inputHint: string;
|
|
773
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
944
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
774
945
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
775
946
|
stateLabel?: string | undefined;
|
|
776
947
|
}, {
|
|
948
|
+
id: string;
|
|
777
949
|
available: boolean;
|
|
778
|
-
runner: "codex" | "claude-code";
|
|
950
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
779
951
|
reasonCode: string | null;
|
|
780
|
-
id: string;
|
|
781
952
|
label: string;
|
|
782
953
|
description: string;
|
|
783
954
|
inputHint: string;
|
|
784
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
955
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
785
956
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
786
957
|
stateLabel?: string | undefined;
|
|
787
958
|
}>, "many">;
|
|
788
959
|
capabilities: z.ZodArray<z.ZodString, "many">;
|
|
789
960
|
}, "strip", z.ZodTypeAny, {
|
|
790
|
-
runner: "codex" | "claude-code";
|
|
961
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
791
962
|
capabilities: string[];
|
|
792
963
|
models: {
|
|
793
964
|
id: string;
|
|
@@ -800,19 +971,19 @@ export declare const runnerProfileSchema: z.ZodObject<{
|
|
|
800
971
|
description: string;
|
|
801
972
|
}[];
|
|
802
973
|
commands: {
|
|
974
|
+
id: string;
|
|
803
975
|
available: boolean;
|
|
804
|
-
runner: "codex" | "claude-code";
|
|
976
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
805
977
|
reasonCode: string | null;
|
|
806
|
-
id: string;
|
|
807
978
|
label: string;
|
|
808
979
|
description: string;
|
|
809
980
|
inputHint: string;
|
|
810
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
981
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
811
982
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
812
983
|
stateLabel?: string | undefined;
|
|
813
984
|
}[];
|
|
814
985
|
}, {
|
|
815
|
-
runner: "codex" | "claude-code";
|
|
986
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
816
987
|
capabilities: string[];
|
|
817
988
|
models: {
|
|
818
989
|
id: string;
|
|
@@ -825,14 +996,14 @@ export declare const runnerProfileSchema: z.ZodObject<{
|
|
|
825
996
|
description: string;
|
|
826
997
|
}[];
|
|
827
998
|
commands: {
|
|
999
|
+
id: string;
|
|
828
1000
|
available: boolean;
|
|
829
|
-
runner: "codex" | "claude-code";
|
|
1001
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
830
1002
|
reasonCode: string | null;
|
|
831
|
-
id: string;
|
|
832
1003
|
label: string;
|
|
833
1004
|
description: string;
|
|
834
1005
|
inputHint: string;
|
|
835
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
1006
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
836
1007
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
837
1008
|
stateLabel?: string | undefined;
|
|
838
1009
|
}[];
|
|
@@ -840,17 +1011,18 @@ export declare const runnerProfileSchema: z.ZodObject<{
|
|
|
840
1011
|
export type RunnerProfile = z.infer<typeof runnerProfileSchema>;
|
|
841
1012
|
/** The last explicitly chosen Composer configuration belongs to one Node Runner. */
|
|
842
1013
|
export declare const runnerDefaultConfigurationSchema: z.ZodObject<{
|
|
843
|
-
runner: z.ZodEnum<["codex", "claude-code"]>;
|
|
1014
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
844
1015
|
model: z.ZodString;
|
|
1016
|
+
/** Runners without a reasoning-variant dimension persist an empty effort value. */
|
|
845
1017
|
effort: z.ZodString;
|
|
846
1018
|
access: z.ZodString;
|
|
847
1019
|
}, "strip", z.ZodTypeAny, {
|
|
848
|
-
runner: "codex" | "claude-code";
|
|
1020
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
849
1021
|
model: string;
|
|
850
1022
|
effort: string;
|
|
851
1023
|
access: string;
|
|
852
1024
|
}, {
|
|
853
|
-
runner: "codex" | "claude-code";
|
|
1025
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
854
1026
|
model: string;
|
|
855
1027
|
effort: string;
|
|
856
1028
|
access: string;
|
|
@@ -940,7 +1112,7 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
940
1112
|
[x: string]: any;
|
|
941
1113
|
}>;
|
|
942
1114
|
runners: z.ZodArray<z.ZodObject<{
|
|
943
|
-
runner: z.ZodEnum<["codex", "claude-code"]>;
|
|
1115
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
944
1116
|
models: z.ZodArray<z.ZodObject<{
|
|
945
1117
|
id: z.ZodString;
|
|
946
1118
|
label: z.ZodString;
|
|
@@ -969,64 +1141,64 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
969
1141
|
}>, "many">;
|
|
970
1142
|
commands: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
971
1143
|
id: z.ZodString;
|
|
972
|
-
runner: z.ZodEnum<["codex", "claude-code"]>;
|
|
1144
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
973
1145
|
label: z.ZodString;
|
|
974
1146
|
stateLabel: z.ZodOptional<z.ZodString>;
|
|
975
1147
|
description: z.ZodString;
|
|
976
1148
|
/** Commands are entered exactly as the Runner documents them: `/name args`. */
|
|
977
1149
|
inputHint: z.ZodString;
|
|
978
|
-
source: z.ZodEnum<["CODEX_APP_SERVER", "CLAUDE_AGENT_SDK"]>;
|
|
1150
|
+
source: z.ZodEnum<["CODEX_APP_SERVER", "CLAUDE_AGENT_SDK", "OPENCODE_SERVER"]>;
|
|
979
1151
|
interaction: z.ZodEnum<["RUNNER_TEXT", "IMMEDIATE_ACTION", "TOGGLE", "VALUE"]>;
|
|
980
1152
|
available: z.ZodBoolean;
|
|
981
1153
|
reasonCode: z.ZodNullable<z.ZodString>;
|
|
982
1154
|
}, "strip", z.ZodTypeAny, {
|
|
1155
|
+
id: string;
|
|
983
1156
|
available: boolean;
|
|
984
|
-
runner: "codex" | "claude-code";
|
|
1157
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
985
1158
|
reasonCode: string | null;
|
|
986
|
-
id: string;
|
|
987
1159
|
label: string;
|
|
988
1160
|
description: string;
|
|
989
1161
|
inputHint: string;
|
|
990
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
1162
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
991
1163
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
992
1164
|
stateLabel?: string | undefined;
|
|
993
1165
|
}, {
|
|
1166
|
+
id: string;
|
|
994
1167
|
available: boolean;
|
|
995
|
-
runner: "codex" | "claude-code";
|
|
1168
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
996
1169
|
reasonCode: string | null;
|
|
997
|
-
id: string;
|
|
998
1170
|
label: string;
|
|
999
1171
|
description: string;
|
|
1000
1172
|
inputHint: string;
|
|
1001
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
1173
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1002
1174
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
1003
1175
|
stateLabel?: string | undefined;
|
|
1004
1176
|
}>, {
|
|
1177
|
+
id: string;
|
|
1005
1178
|
available: boolean;
|
|
1006
|
-
runner: "codex" | "claude-code";
|
|
1179
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
1007
1180
|
reasonCode: string | null;
|
|
1008
|
-
id: string;
|
|
1009
1181
|
label: string;
|
|
1010
1182
|
description: string;
|
|
1011
1183
|
inputHint: string;
|
|
1012
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
1184
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1013
1185
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
1014
1186
|
stateLabel?: string | undefined;
|
|
1015
1187
|
}, {
|
|
1188
|
+
id: string;
|
|
1016
1189
|
available: boolean;
|
|
1017
|
-
runner: "codex" | "claude-code";
|
|
1190
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
1018
1191
|
reasonCode: string | null;
|
|
1019
|
-
id: string;
|
|
1020
1192
|
label: string;
|
|
1021
1193
|
description: string;
|
|
1022
1194
|
inputHint: string;
|
|
1023
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
1195
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1024
1196
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
1025
1197
|
stateLabel?: string | undefined;
|
|
1026
1198
|
}>, "many">;
|
|
1027
1199
|
capabilities: z.ZodArray<z.ZodString, "many">;
|
|
1028
1200
|
}, "strip", z.ZodTypeAny, {
|
|
1029
|
-
runner: "codex" | "claude-code";
|
|
1201
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
1030
1202
|
capabilities: string[];
|
|
1031
1203
|
models: {
|
|
1032
1204
|
id: string;
|
|
@@ -1039,19 +1211,19 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1039
1211
|
description: string;
|
|
1040
1212
|
}[];
|
|
1041
1213
|
commands: {
|
|
1214
|
+
id: string;
|
|
1042
1215
|
available: boolean;
|
|
1043
|
-
runner: "codex" | "claude-code";
|
|
1216
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
1044
1217
|
reasonCode: string | null;
|
|
1045
|
-
id: string;
|
|
1046
1218
|
label: string;
|
|
1047
1219
|
description: string;
|
|
1048
1220
|
inputHint: string;
|
|
1049
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
1221
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1050
1222
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
1051
1223
|
stateLabel?: string | undefined;
|
|
1052
1224
|
}[];
|
|
1053
1225
|
}, {
|
|
1054
|
-
runner: "codex" | "claude-code";
|
|
1226
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
1055
1227
|
capabilities: string[];
|
|
1056
1228
|
models: {
|
|
1057
1229
|
id: string;
|
|
@@ -1064,14 +1236,14 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1064
1236
|
description: string;
|
|
1065
1237
|
}[];
|
|
1066
1238
|
commands: {
|
|
1239
|
+
id: string;
|
|
1067
1240
|
available: boolean;
|
|
1068
|
-
runner: "codex" | "claude-code";
|
|
1241
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
1069
1242
|
reasonCode: string | null;
|
|
1070
|
-
id: string;
|
|
1071
1243
|
label: string;
|
|
1072
1244
|
description: string;
|
|
1073
1245
|
inputHint: string;
|
|
1074
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
1246
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1075
1247
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
1076
1248
|
stateLabel?: string | undefined;
|
|
1077
1249
|
}[];
|
|
@@ -1115,6 +1287,7 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1115
1287
|
} & {
|
|
1116
1288
|
supportsCurrentChanges: z.ZodBoolean;
|
|
1117
1289
|
supportsTurnChanges: z.ZodBoolean;
|
|
1290
|
+
supportsHistory: z.ZodOptional<z.ZodBoolean>;
|
|
1118
1291
|
maxDiffBytes: z.ZodNumber;
|
|
1119
1292
|
}, "strip", z.ZodTypeAny, {
|
|
1120
1293
|
available: boolean;
|
|
@@ -1122,12 +1295,14 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1122
1295
|
supportsCurrentChanges: boolean;
|
|
1123
1296
|
supportsTurnChanges: boolean;
|
|
1124
1297
|
maxDiffBytes: number;
|
|
1298
|
+
supportsHistory?: boolean | undefined;
|
|
1125
1299
|
}, {
|
|
1126
1300
|
available: boolean;
|
|
1127
1301
|
reasonCode: string | null;
|
|
1128
1302
|
supportsCurrentChanges: boolean;
|
|
1129
1303
|
supportsTurnChanges: boolean;
|
|
1130
1304
|
maxDiffBytes: number;
|
|
1305
|
+
supportsHistory?: boolean | undefined;
|
|
1131
1306
|
}>, {
|
|
1132
1307
|
[x: string]: any;
|
|
1133
1308
|
}, {
|
|
@@ -1205,7 +1380,7 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1205
1380
|
revision: number;
|
|
1206
1381
|
observedAt: number;
|
|
1207
1382
|
runners: {
|
|
1208
|
-
runner: "codex" | "claude-code";
|
|
1383
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
1209
1384
|
capabilities: string[];
|
|
1210
1385
|
models: {
|
|
1211
1386
|
id: string;
|
|
@@ -1218,14 +1393,14 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1218
1393
|
description: string;
|
|
1219
1394
|
}[];
|
|
1220
1395
|
commands: {
|
|
1396
|
+
id: string;
|
|
1221
1397
|
available: boolean;
|
|
1222
|
-
runner: "codex" | "claude-code";
|
|
1398
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
1223
1399
|
reasonCode: string | null;
|
|
1224
|
-
id: string;
|
|
1225
1400
|
label: string;
|
|
1226
1401
|
description: string;
|
|
1227
1402
|
inputHint: string;
|
|
1228
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
1403
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1229
1404
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
1230
1405
|
stateLabel?: string | undefined;
|
|
1231
1406
|
}[];
|
|
@@ -1249,7 +1424,7 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1249
1424
|
revision: number;
|
|
1250
1425
|
observedAt: number;
|
|
1251
1426
|
runners: {
|
|
1252
|
-
runner: "codex" | "claude-code";
|
|
1427
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
1253
1428
|
capabilities: string[];
|
|
1254
1429
|
models: {
|
|
1255
1430
|
id: string;
|
|
@@ -1262,14 +1437,14 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1262
1437
|
description: string;
|
|
1263
1438
|
}[];
|
|
1264
1439
|
commands: {
|
|
1440
|
+
id: string;
|
|
1265
1441
|
available: boolean;
|
|
1266
|
-
runner: "codex" | "claude-code";
|
|
1442
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
1267
1443
|
reasonCode: string | null;
|
|
1268
|
-
id: string;
|
|
1269
1444
|
label: string;
|
|
1270
1445
|
description: string;
|
|
1271
1446
|
inputHint: string;
|
|
1272
|
-
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK";
|
|
1447
|
+
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1273
1448
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
1274
1449
|
stateLabel?: string | undefined;
|
|
1275
1450
|
}[];
|
|
@@ -1285,18 +1460,18 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1285
1460
|
};
|
|
1286
1461
|
}>;
|
|
1287
1462
|
export type NodeWorkbenchCapabilities = z.infer<typeof nodeWorkbenchCapabilitiesSchema>;
|
|
1288
|
-
export declare const sessionRuntimeCapabilitySchema: z.ZodEnum<["history.read", "events.live", "turn.start", "turn.queue", "turn.interrupt", "run.cancel", "approval.respond", "user-input.respond", "session.rename", "session.remove", "session.pin"]>;
|
|
1463
|
+
export declare const sessionRuntimeCapabilitySchema: z.ZodEnum<["history.read", "events.live", "turn.start", "turn.queue", "turn.interrupt", "run.cancel", "approval.respond", "user-input.respond", "session.rename", "session.rewind", "session.remove", "session.pin"]>;
|
|
1289
1464
|
export declare const sessionRuntimeCapabilitiesSchema: z.ZodObject<{
|
|
1290
1465
|
level: z.ZodEnum<["MANAGED", "SHARED_CONTROL", "OBSERVE_ONLY", "RESUMABLE", "UNAVAILABLE"]>;
|
|
1291
|
-
capabilities: z.ZodArray<z.ZodEnum<["history.read", "events.live", "turn.start", "turn.queue", "turn.interrupt", "run.cancel", "approval.respond", "user-input.respond", "session.rename", "session.remove", "session.pin"]>, "many">;
|
|
1466
|
+
capabilities: z.ZodArray<z.ZodEnum<["history.read", "events.live", "turn.start", "turn.queue", "turn.interrupt", "run.cancel", "approval.respond", "user-input.respond", "session.rename", "session.rewind", "session.remove", "session.pin"]>, "many">;
|
|
1292
1467
|
reasonCode: z.ZodNullable<z.ZodString>;
|
|
1293
1468
|
}, "strip", z.ZodTypeAny, {
|
|
1294
1469
|
reasonCode: string | null;
|
|
1295
|
-
capabilities: ("history.read" | "events.live" | "turn.start" | "turn.queue" | "turn.interrupt" | "run.cancel" | "approval.respond" | "user-input.respond" | "session.rename" | "session.remove" | "session.pin")[];
|
|
1470
|
+
capabilities: ("history.read" | "events.live" | "turn.start" | "turn.queue" | "turn.interrupt" | "run.cancel" | "approval.respond" | "user-input.respond" | "session.rename" | "session.rewind" | "session.remove" | "session.pin")[];
|
|
1296
1471
|
level: "MANAGED" | "SHARED_CONTROL" | "OBSERVE_ONLY" | "RESUMABLE" | "UNAVAILABLE";
|
|
1297
1472
|
}, {
|
|
1298
1473
|
reasonCode: string | null;
|
|
1299
|
-
capabilities: ("history.read" | "events.live" | "turn.start" | "turn.queue" | "turn.interrupt" | "run.cancel" | "approval.respond" | "user-input.respond" | "session.rename" | "session.remove" | "session.pin")[];
|
|
1474
|
+
capabilities: ("history.read" | "events.live" | "turn.start" | "turn.queue" | "turn.interrupt" | "run.cancel" | "approval.respond" | "user-input.respond" | "session.rename" | "session.rewind" | "session.remove" | "session.pin")[];
|
|
1300
1475
|
level: "MANAGED" | "SHARED_CONTROL" | "OBSERVE_ONLY" | "RESUMABLE" | "UNAVAILABLE";
|
|
1301
1476
|
}>;
|
|
1302
1477
|
export type SessionRuntimeCapabilities = z.infer<typeof sessionRuntimeCapabilitiesSchema>;
|
|
@@ -1368,8 +1543,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1368
1543
|
}, "strip", z.ZodTypeAny, {
|
|
1369
1544
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1370
1545
|
id: string;
|
|
1371
|
-
sessionId: string;
|
|
1372
1546
|
runId: string | null;
|
|
1547
|
+
sessionId: string;
|
|
1373
1548
|
payload: {
|
|
1374
1549
|
model: string | null;
|
|
1375
1550
|
text: string;
|
|
@@ -1385,8 +1560,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1385
1560
|
}, {
|
|
1386
1561
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1387
1562
|
id: string;
|
|
1388
|
-
sessionId: string;
|
|
1389
1563
|
runId: string | null;
|
|
1564
|
+
sessionId: string;
|
|
1390
1565
|
payload: {
|
|
1391
1566
|
model: string | null;
|
|
1392
1567
|
text: string;
|
|
@@ -1466,8 +1641,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1466
1641
|
}, "strip", z.ZodTypeAny, {
|
|
1467
1642
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1468
1643
|
id: string;
|
|
1469
|
-
sessionId: string;
|
|
1470
1644
|
runId: string | null;
|
|
1645
|
+
sessionId: string;
|
|
1471
1646
|
payload: {
|
|
1472
1647
|
clientMessageId: string | null;
|
|
1473
1648
|
text: string;
|
|
@@ -1491,8 +1666,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1491
1666
|
}, {
|
|
1492
1667
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1493
1668
|
id: string;
|
|
1494
|
-
sessionId: string;
|
|
1495
1669
|
runId: string | null;
|
|
1670
|
+
sessionId: string;
|
|
1496
1671
|
payload: {
|
|
1497
1672
|
clientMessageId: string | null;
|
|
1498
1673
|
text: string;
|
|
@@ -1551,8 +1726,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1551
1726
|
}, "strip", z.ZodTypeAny, {
|
|
1552
1727
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1553
1728
|
id: string;
|
|
1554
|
-
sessionId: string;
|
|
1555
1729
|
runId: string | null;
|
|
1730
|
+
sessionId: string;
|
|
1556
1731
|
payload: {
|
|
1557
1732
|
sections: {
|
|
1558
1733
|
text: string;
|
|
@@ -1569,8 +1744,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1569
1744
|
}, {
|
|
1570
1745
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1571
1746
|
id: string;
|
|
1572
|
-
sessionId: string;
|
|
1573
1747
|
runId: string | null;
|
|
1748
|
+
sessionId: string;
|
|
1574
1749
|
payload: {
|
|
1575
1750
|
sections: {
|
|
1576
1751
|
text: string;
|
|
@@ -1630,8 +1805,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1630
1805
|
}, "strip", z.ZodTypeAny, {
|
|
1631
1806
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1632
1807
|
id: string;
|
|
1633
|
-
sessionId: string;
|
|
1634
1808
|
runId: string | null;
|
|
1809
|
+
sessionId: string;
|
|
1635
1810
|
payload: {
|
|
1636
1811
|
explanation: string | null;
|
|
1637
1812
|
steps: {
|
|
@@ -1650,8 +1825,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1650
1825
|
}, {
|
|
1651
1826
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1652
1827
|
id: string;
|
|
1653
|
-
sessionId: string;
|
|
1654
1828
|
runId: string | null;
|
|
1829
|
+
sessionId: string;
|
|
1655
1830
|
payload: {
|
|
1656
1831
|
explanation: string | null;
|
|
1657
1832
|
steps: {
|
|
@@ -1690,37 +1865,37 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1690
1865
|
errorCode: z.ZodNullable<z.ZodString>;
|
|
1691
1866
|
truncated: z.ZodBoolean;
|
|
1692
1867
|
}, "strip", z.ZodTypeAny, {
|
|
1868
|
+
errorCode: string | null;
|
|
1693
1869
|
namespace: string;
|
|
1694
1870
|
toolName: string;
|
|
1695
1871
|
title: string;
|
|
1696
1872
|
inputSummary: string | null;
|
|
1697
1873
|
outputSummary: string | null;
|
|
1698
1874
|
progressLabel: string | null;
|
|
1699
|
-
errorCode: string | null;
|
|
1700
1875
|
truncated: boolean;
|
|
1701
1876
|
}, {
|
|
1877
|
+
errorCode: string | null;
|
|
1702
1878
|
namespace: string;
|
|
1703
1879
|
toolName: string;
|
|
1704
1880
|
title: string;
|
|
1705
1881
|
inputSummary: string | null;
|
|
1706
1882
|
outputSummary: string | null;
|
|
1707
1883
|
progressLabel: string | null;
|
|
1708
|
-
errorCode: string | null;
|
|
1709
1884
|
truncated: boolean;
|
|
1710
1885
|
}>;
|
|
1711
1886
|
}, "strip", z.ZodTypeAny, {
|
|
1712
1887
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1713
1888
|
id: string;
|
|
1714
|
-
sessionId: string;
|
|
1715
1889
|
runId: string | null;
|
|
1890
|
+
sessionId: string;
|
|
1716
1891
|
payload: {
|
|
1892
|
+
errorCode: string | null;
|
|
1717
1893
|
namespace: string;
|
|
1718
1894
|
toolName: string;
|
|
1719
1895
|
title: string;
|
|
1720
1896
|
inputSummary: string | null;
|
|
1721
1897
|
outputSummary: string | null;
|
|
1722
1898
|
progressLabel: string | null;
|
|
1723
|
-
errorCode: string | null;
|
|
1724
1899
|
truncated: boolean;
|
|
1725
1900
|
};
|
|
1726
1901
|
revision: number;
|
|
@@ -1733,16 +1908,16 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1733
1908
|
}, {
|
|
1734
1909
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1735
1910
|
id: string;
|
|
1736
|
-
sessionId: string;
|
|
1737
1911
|
runId: string | null;
|
|
1912
|
+
sessionId: string;
|
|
1738
1913
|
payload: {
|
|
1914
|
+
errorCode: string | null;
|
|
1739
1915
|
namespace: string;
|
|
1740
1916
|
toolName: string;
|
|
1741
1917
|
title: string;
|
|
1742
1918
|
inputSummary: string | null;
|
|
1743
1919
|
outputSummary: string | null;
|
|
1744
1920
|
progressLabel: string | null;
|
|
1745
|
-
errorCode: string | null;
|
|
1746
1921
|
truncated: boolean;
|
|
1747
1922
|
};
|
|
1748
1923
|
revision: number;
|
|
@@ -1793,8 +1968,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1793
1968
|
}, "strip", z.ZodTypeAny, {
|
|
1794
1969
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1795
1970
|
id: string;
|
|
1796
|
-
sessionId: string;
|
|
1797
1971
|
runId: string | null;
|
|
1972
|
+
sessionId: string;
|
|
1798
1973
|
payload: {
|
|
1799
1974
|
durationMs: number | null;
|
|
1800
1975
|
truncated: boolean;
|
|
@@ -1814,8 +1989,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1814
1989
|
}, {
|
|
1815
1990
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1816
1991
|
id: string;
|
|
1817
|
-
sessionId: string;
|
|
1818
1992
|
runId: string | null;
|
|
1993
|
+
sessionId: string;
|
|
1819
1994
|
payload: {
|
|
1820
1995
|
durationMs: number | null;
|
|
1821
1996
|
truncated: boolean;
|
|
@@ -1885,8 +2060,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1885
2060
|
}, "strip", z.ZodTypeAny, {
|
|
1886
2061
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1887
2062
|
id: string;
|
|
1888
|
-
sessionId: string;
|
|
1889
2063
|
runId: string | null;
|
|
2064
|
+
sessionId: string;
|
|
1890
2065
|
payload: {
|
|
1891
2066
|
changes: {
|
|
1892
2067
|
path: string;
|
|
@@ -1906,8 +2081,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1906
2081
|
}, {
|
|
1907
2082
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1908
2083
|
id: string;
|
|
1909
|
-
sessionId: string;
|
|
1910
2084
|
runId: string | null;
|
|
2085
|
+
sessionId: string;
|
|
1911
2086
|
payload: {
|
|
1912
2087
|
changes: {
|
|
1913
2088
|
path: string;
|
|
@@ -1959,8 +2134,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1959
2134
|
}, "strip", z.ZodTypeAny, {
|
|
1960
2135
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1961
2136
|
id: string;
|
|
1962
|
-
sessionId: string;
|
|
1963
2137
|
runId: string | null;
|
|
2138
|
+
sessionId: string;
|
|
1964
2139
|
payload: {
|
|
1965
2140
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
1966
2141
|
approvalId: string;
|
|
@@ -1978,8 +2153,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1978
2153
|
}, {
|
|
1979
2154
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1980
2155
|
id: string;
|
|
1981
|
-
sessionId: string;
|
|
1982
2156
|
runId: string | null;
|
|
2157
|
+
sessionId: string;
|
|
1983
2158
|
payload: {
|
|
1984
2159
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
1985
2160
|
approvalId: string;
|
|
@@ -2083,8 +2258,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2083
2258
|
}, "strip", z.ZodTypeAny, {
|
|
2084
2259
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2085
2260
|
id: string;
|
|
2086
|
-
sessionId: string;
|
|
2087
2261
|
runId: string | null;
|
|
2262
|
+
sessionId: string;
|
|
2088
2263
|
payload: {
|
|
2089
2264
|
requestId: string;
|
|
2090
2265
|
questions: {
|
|
@@ -2110,8 +2285,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2110
2285
|
}, {
|
|
2111
2286
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2112
2287
|
id: string;
|
|
2113
|
-
sessionId: string;
|
|
2114
2288
|
runId: string | null;
|
|
2289
|
+
sessionId: string;
|
|
2115
2290
|
payload: {
|
|
2116
2291
|
requestId: string;
|
|
2117
2292
|
questions: {
|
|
@@ -2160,8 +2335,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2160
2335
|
}, "strip", z.ZodTypeAny, {
|
|
2161
2336
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2162
2337
|
id: string;
|
|
2163
|
-
sessionId: string;
|
|
2164
2338
|
runId: string | null;
|
|
2339
|
+
sessionId: string;
|
|
2165
2340
|
payload: {
|
|
2166
2341
|
phase: "COMPLETED" | "STARTED";
|
|
2167
2342
|
summary: string | null;
|
|
@@ -2176,8 +2351,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2176
2351
|
}, {
|
|
2177
2352
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2178
2353
|
id: string;
|
|
2179
|
-
sessionId: string;
|
|
2180
2354
|
runId: string | null;
|
|
2355
|
+
sessionId: string;
|
|
2181
2356
|
payload: {
|
|
2182
2357
|
phase: "COMPLETED" | "STARTED";
|
|
2183
2358
|
summary: string | null;
|
|
@@ -2218,8 +2393,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2218
2393
|
}, "strip", z.ZodTypeAny, {
|
|
2219
2394
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2220
2395
|
id: string;
|
|
2221
|
-
sessionId: string;
|
|
2222
2396
|
runId: string | null;
|
|
2397
|
+
sessionId: string;
|
|
2223
2398
|
payload: {
|
|
2224
2399
|
code: string;
|
|
2225
2400
|
message: string;
|
|
@@ -2235,8 +2410,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2235
2410
|
}, {
|
|
2236
2411
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2237
2412
|
id: string;
|
|
2238
|
-
sessionId: string;
|
|
2239
2413
|
runId: string | null;
|
|
2414
|
+
sessionId: string;
|
|
2240
2415
|
payload: {
|
|
2241
2416
|
code: string;
|
|
2242
2417
|
message: string;
|
|
@@ -2281,8 +2456,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2281
2456
|
}, "strip", z.ZodTypeAny, {
|
|
2282
2457
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2283
2458
|
id: string;
|
|
2284
|
-
sessionId: string;
|
|
2285
2459
|
runId: string | null;
|
|
2460
|
+
sessionId: string;
|
|
2286
2461
|
payload: {
|
|
2287
2462
|
code: string;
|
|
2288
2463
|
message: string;
|
|
@@ -2299,8 +2474,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2299
2474
|
}, {
|
|
2300
2475
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2301
2476
|
id: string;
|
|
2302
|
-
sessionId: string;
|
|
2303
2477
|
runId: string | null;
|
|
2478
|
+
sessionId: string;
|
|
2304
2479
|
payload: {
|
|
2305
2480
|
code: string;
|
|
2306
2481
|
message: string;
|
|
@@ -2331,19 +2506,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2331
2506
|
status: z.ZodEnum<["QUEUED", "STARTING", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED", "INTERRUPTED"]>;
|
|
2332
2507
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
2333
2508
|
}, "strip", z.ZodTypeAny, {
|
|
2334
|
-
status: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "
|
|
2509
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
2335
2510
|
durationMs: number | null;
|
|
2336
2511
|
}, {
|
|
2337
|
-
status: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "
|
|
2512
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
2338
2513
|
durationMs: number | null;
|
|
2339
2514
|
}>;
|
|
2340
2515
|
}, "strip", z.ZodTypeAny, {
|
|
2341
2516
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2342
2517
|
id: string;
|
|
2343
|
-
sessionId: string;
|
|
2344
2518
|
runId: string | null;
|
|
2519
|
+
sessionId: string;
|
|
2345
2520
|
payload: {
|
|
2346
|
-
status: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "
|
|
2521
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
2347
2522
|
durationMs: number | null;
|
|
2348
2523
|
};
|
|
2349
2524
|
revision: number;
|
|
@@ -2356,10 +2531,10 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2356
2531
|
}, {
|
|
2357
2532
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2358
2533
|
id: string;
|
|
2359
|
-
sessionId: string;
|
|
2360
2534
|
runId: string | null;
|
|
2535
|
+
sessionId: string;
|
|
2361
2536
|
payload: {
|
|
2362
|
-
status: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "
|
|
2537
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
2363
2538
|
durationMs: number | null;
|
|
2364
2539
|
};
|
|
2365
2540
|
revision: number;
|
|
@@ -2395,8 +2570,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2395
2570
|
}, "strip", z.ZodTypeAny, {
|
|
2396
2571
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2397
2572
|
id: string;
|
|
2398
|
-
sessionId: string;
|
|
2399
2573
|
runId: string | null;
|
|
2574
|
+
sessionId: string;
|
|
2400
2575
|
payload: {
|
|
2401
2576
|
label: string;
|
|
2402
2577
|
sourceEventType: string;
|
|
@@ -2411,8 +2586,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2411
2586
|
}, {
|
|
2412
2587
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2413
2588
|
id: string;
|
|
2414
|
-
sessionId: string;
|
|
2415
2589
|
runId: string | null;
|
|
2590
|
+
sessionId: string;
|
|
2416
2591
|
payload: {
|
|
2417
2592
|
label: string;
|
|
2418
2593
|
sourceEventType: string;
|
|
@@ -2435,6 +2610,16 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2435
2610
|
model: z.ZodNullable<z.ZodString>;
|
|
2436
2611
|
effort: z.ZodNullable<z.ZodString>;
|
|
2437
2612
|
access: z.ZodNullable<z.ZodString>;
|
|
2613
|
+
rewind: z.ZodOptional<z.ZodObject<{
|
|
2614
|
+
before: z.ZodNullable<z.ZodString>;
|
|
2615
|
+
after: z.ZodString;
|
|
2616
|
+
}, "strip", z.ZodTypeAny, {
|
|
2617
|
+
before: string | null;
|
|
2618
|
+
after: string;
|
|
2619
|
+
}, {
|
|
2620
|
+
before: string | null;
|
|
2621
|
+
after: string;
|
|
2622
|
+
}>>;
|
|
2438
2623
|
items: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2439
2624
|
id: z.ZodString;
|
|
2440
2625
|
sessionId: z.ZodString;
|
|
@@ -2464,8 +2649,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2464
2649
|
}, "strip", z.ZodTypeAny, {
|
|
2465
2650
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2466
2651
|
id: string;
|
|
2467
|
-
sessionId: string;
|
|
2468
2652
|
runId: string | null;
|
|
2653
|
+
sessionId: string;
|
|
2469
2654
|
payload: {
|
|
2470
2655
|
model: string | null;
|
|
2471
2656
|
text: string;
|
|
@@ -2481,8 +2666,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2481
2666
|
}, {
|
|
2482
2667
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2483
2668
|
id: string;
|
|
2484
|
-
sessionId: string;
|
|
2485
2669
|
runId: string | null;
|
|
2670
|
+
sessionId: string;
|
|
2486
2671
|
payload: {
|
|
2487
2672
|
model: string | null;
|
|
2488
2673
|
text: string;
|
|
@@ -2562,8 +2747,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2562
2747
|
}, "strip", z.ZodTypeAny, {
|
|
2563
2748
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2564
2749
|
id: string;
|
|
2565
|
-
sessionId: string;
|
|
2566
2750
|
runId: string | null;
|
|
2751
|
+
sessionId: string;
|
|
2567
2752
|
payload: {
|
|
2568
2753
|
clientMessageId: string | null;
|
|
2569
2754
|
text: string;
|
|
@@ -2587,8 +2772,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2587
2772
|
}, {
|
|
2588
2773
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2589
2774
|
id: string;
|
|
2590
|
-
sessionId: string;
|
|
2591
2775
|
runId: string | null;
|
|
2776
|
+
sessionId: string;
|
|
2592
2777
|
payload: {
|
|
2593
2778
|
clientMessageId: string | null;
|
|
2594
2779
|
text: string;
|
|
@@ -2647,8 +2832,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2647
2832
|
}, "strip", z.ZodTypeAny, {
|
|
2648
2833
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2649
2834
|
id: string;
|
|
2650
|
-
sessionId: string;
|
|
2651
2835
|
runId: string | null;
|
|
2836
|
+
sessionId: string;
|
|
2652
2837
|
payload: {
|
|
2653
2838
|
sections: {
|
|
2654
2839
|
text: string;
|
|
@@ -2665,8 +2850,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2665
2850
|
}, {
|
|
2666
2851
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2667
2852
|
id: string;
|
|
2668
|
-
sessionId: string;
|
|
2669
2853
|
runId: string | null;
|
|
2854
|
+
sessionId: string;
|
|
2670
2855
|
payload: {
|
|
2671
2856
|
sections: {
|
|
2672
2857
|
text: string;
|
|
@@ -2726,8 +2911,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2726
2911
|
}, "strip", z.ZodTypeAny, {
|
|
2727
2912
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2728
2913
|
id: string;
|
|
2729
|
-
sessionId: string;
|
|
2730
2914
|
runId: string | null;
|
|
2915
|
+
sessionId: string;
|
|
2731
2916
|
payload: {
|
|
2732
2917
|
explanation: string | null;
|
|
2733
2918
|
steps: {
|
|
@@ -2746,8 +2931,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2746
2931
|
}, {
|
|
2747
2932
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2748
2933
|
id: string;
|
|
2749
|
-
sessionId: string;
|
|
2750
2934
|
runId: string | null;
|
|
2935
|
+
sessionId: string;
|
|
2751
2936
|
payload: {
|
|
2752
2937
|
explanation: string | null;
|
|
2753
2938
|
steps: {
|
|
@@ -2786,37 +2971,37 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2786
2971
|
errorCode: z.ZodNullable<z.ZodString>;
|
|
2787
2972
|
truncated: z.ZodBoolean;
|
|
2788
2973
|
}, "strip", z.ZodTypeAny, {
|
|
2974
|
+
errorCode: string | null;
|
|
2789
2975
|
namespace: string;
|
|
2790
2976
|
toolName: string;
|
|
2791
2977
|
title: string;
|
|
2792
2978
|
inputSummary: string | null;
|
|
2793
2979
|
outputSummary: string | null;
|
|
2794
2980
|
progressLabel: string | null;
|
|
2795
|
-
errorCode: string | null;
|
|
2796
2981
|
truncated: boolean;
|
|
2797
2982
|
}, {
|
|
2983
|
+
errorCode: string | null;
|
|
2798
2984
|
namespace: string;
|
|
2799
2985
|
toolName: string;
|
|
2800
2986
|
title: string;
|
|
2801
2987
|
inputSummary: string | null;
|
|
2802
2988
|
outputSummary: string | null;
|
|
2803
2989
|
progressLabel: string | null;
|
|
2804
|
-
errorCode: string | null;
|
|
2805
2990
|
truncated: boolean;
|
|
2806
2991
|
}>;
|
|
2807
2992
|
}, "strip", z.ZodTypeAny, {
|
|
2808
2993
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2809
2994
|
id: string;
|
|
2810
|
-
sessionId: string;
|
|
2811
2995
|
runId: string | null;
|
|
2996
|
+
sessionId: string;
|
|
2812
2997
|
payload: {
|
|
2998
|
+
errorCode: string | null;
|
|
2813
2999
|
namespace: string;
|
|
2814
3000
|
toolName: string;
|
|
2815
3001
|
title: string;
|
|
2816
3002
|
inputSummary: string | null;
|
|
2817
3003
|
outputSummary: string | null;
|
|
2818
3004
|
progressLabel: string | null;
|
|
2819
|
-
errorCode: string | null;
|
|
2820
3005
|
truncated: boolean;
|
|
2821
3006
|
};
|
|
2822
3007
|
revision: number;
|
|
@@ -2829,16 +3014,16 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2829
3014
|
}, {
|
|
2830
3015
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2831
3016
|
id: string;
|
|
2832
|
-
sessionId: string;
|
|
2833
3017
|
runId: string | null;
|
|
3018
|
+
sessionId: string;
|
|
2834
3019
|
payload: {
|
|
3020
|
+
errorCode: string | null;
|
|
2835
3021
|
namespace: string;
|
|
2836
3022
|
toolName: string;
|
|
2837
3023
|
title: string;
|
|
2838
3024
|
inputSummary: string | null;
|
|
2839
3025
|
outputSummary: string | null;
|
|
2840
3026
|
progressLabel: string | null;
|
|
2841
|
-
errorCode: string | null;
|
|
2842
3027
|
truncated: boolean;
|
|
2843
3028
|
};
|
|
2844
3029
|
revision: number;
|
|
@@ -2889,8 +3074,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2889
3074
|
}, "strip", z.ZodTypeAny, {
|
|
2890
3075
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2891
3076
|
id: string;
|
|
2892
|
-
sessionId: string;
|
|
2893
3077
|
runId: string | null;
|
|
3078
|
+
sessionId: string;
|
|
2894
3079
|
payload: {
|
|
2895
3080
|
durationMs: number | null;
|
|
2896
3081
|
truncated: boolean;
|
|
@@ -2910,8 +3095,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2910
3095
|
}, {
|
|
2911
3096
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2912
3097
|
id: string;
|
|
2913
|
-
sessionId: string;
|
|
2914
3098
|
runId: string | null;
|
|
3099
|
+
sessionId: string;
|
|
2915
3100
|
payload: {
|
|
2916
3101
|
durationMs: number | null;
|
|
2917
3102
|
truncated: boolean;
|
|
@@ -2981,8 +3166,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2981
3166
|
}, "strip", z.ZodTypeAny, {
|
|
2982
3167
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2983
3168
|
id: string;
|
|
2984
|
-
sessionId: string;
|
|
2985
3169
|
runId: string | null;
|
|
3170
|
+
sessionId: string;
|
|
2986
3171
|
payload: {
|
|
2987
3172
|
changes: {
|
|
2988
3173
|
path: string;
|
|
@@ -3002,8 +3187,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3002
3187
|
}, {
|
|
3003
3188
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3004
3189
|
id: string;
|
|
3005
|
-
sessionId: string;
|
|
3006
3190
|
runId: string | null;
|
|
3191
|
+
sessionId: string;
|
|
3007
3192
|
payload: {
|
|
3008
3193
|
changes: {
|
|
3009
3194
|
path: string;
|
|
@@ -3055,8 +3240,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3055
3240
|
}, "strip", z.ZodTypeAny, {
|
|
3056
3241
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3057
3242
|
id: string;
|
|
3058
|
-
sessionId: string;
|
|
3059
3243
|
runId: string | null;
|
|
3244
|
+
sessionId: string;
|
|
3060
3245
|
payload: {
|
|
3061
3246
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
3062
3247
|
approvalId: string;
|
|
@@ -3074,8 +3259,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3074
3259
|
}, {
|
|
3075
3260
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3076
3261
|
id: string;
|
|
3077
|
-
sessionId: string;
|
|
3078
3262
|
runId: string | null;
|
|
3263
|
+
sessionId: string;
|
|
3079
3264
|
payload: {
|
|
3080
3265
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
3081
3266
|
approvalId: string;
|
|
@@ -3179,8 +3364,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3179
3364
|
}, "strip", z.ZodTypeAny, {
|
|
3180
3365
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3181
3366
|
id: string;
|
|
3182
|
-
sessionId: string;
|
|
3183
3367
|
runId: string | null;
|
|
3368
|
+
sessionId: string;
|
|
3184
3369
|
payload: {
|
|
3185
3370
|
requestId: string;
|
|
3186
3371
|
questions: {
|
|
@@ -3206,8 +3391,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3206
3391
|
}, {
|
|
3207
3392
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3208
3393
|
id: string;
|
|
3209
|
-
sessionId: string;
|
|
3210
3394
|
runId: string | null;
|
|
3395
|
+
sessionId: string;
|
|
3211
3396
|
payload: {
|
|
3212
3397
|
requestId: string;
|
|
3213
3398
|
questions: {
|
|
@@ -3256,8 +3441,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3256
3441
|
}, "strip", z.ZodTypeAny, {
|
|
3257
3442
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3258
3443
|
id: string;
|
|
3259
|
-
sessionId: string;
|
|
3260
3444
|
runId: string | null;
|
|
3445
|
+
sessionId: string;
|
|
3261
3446
|
payload: {
|
|
3262
3447
|
phase: "COMPLETED" | "STARTED";
|
|
3263
3448
|
summary: string | null;
|
|
@@ -3272,8 +3457,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3272
3457
|
}, {
|
|
3273
3458
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3274
3459
|
id: string;
|
|
3275
|
-
sessionId: string;
|
|
3276
3460
|
runId: string | null;
|
|
3461
|
+
sessionId: string;
|
|
3277
3462
|
payload: {
|
|
3278
3463
|
phase: "COMPLETED" | "STARTED";
|
|
3279
3464
|
summary: string | null;
|
|
@@ -3314,8 +3499,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3314
3499
|
}, "strip", z.ZodTypeAny, {
|
|
3315
3500
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3316
3501
|
id: string;
|
|
3317
|
-
sessionId: string;
|
|
3318
3502
|
runId: string | null;
|
|
3503
|
+
sessionId: string;
|
|
3319
3504
|
payload: {
|
|
3320
3505
|
code: string;
|
|
3321
3506
|
message: string;
|
|
@@ -3331,8 +3516,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3331
3516
|
}, {
|
|
3332
3517
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3333
3518
|
id: string;
|
|
3334
|
-
sessionId: string;
|
|
3335
3519
|
runId: string | null;
|
|
3520
|
+
sessionId: string;
|
|
3336
3521
|
payload: {
|
|
3337
3522
|
code: string;
|
|
3338
3523
|
message: string;
|
|
@@ -3377,8 +3562,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3377
3562
|
}, "strip", z.ZodTypeAny, {
|
|
3378
3563
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3379
3564
|
id: string;
|
|
3380
|
-
sessionId: string;
|
|
3381
3565
|
runId: string | null;
|
|
3566
|
+
sessionId: string;
|
|
3382
3567
|
payload: {
|
|
3383
3568
|
code: string;
|
|
3384
3569
|
message: string;
|
|
@@ -3395,8 +3580,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3395
3580
|
}, {
|
|
3396
3581
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3397
3582
|
id: string;
|
|
3398
|
-
sessionId: string;
|
|
3399
3583
|
runId: string | null;
|
|
3584
|
+
sessionId: string;
|
|
3400
3585
|
payload: {
|
|
3401
3586
|
code: string;
|
|
3402
3587
|
message: string;
|
|
@@ -3427,19 +3612,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3427
3612
|
status: z.ZodEnum<["QUEUED", "STARTING", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED", "INTERRUPTED"]>;
|
|
3428
3613
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
3429
3614
|
}, "strip", z.ZodTypeAny, {
|
|
3430
|
-
status: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "
|
|
3615
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
3431
3616
|
durationMs: number | null;
|
|
3432
3617
|
}, {
|
|
3433
|
-
status: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "
|
|
3618
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
3434
3619
|
durationMs: number | null;
|
|
3435
3620
|
}>;
|
|
3436
3621
|
}, "strip", z.ZodTypeAny, {
|
|
3437
3622
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3438
3623
|
id: string;
|
|
3439
|
-
sessionId: string;
|
|
3440
3624
|
runId: string | null;
|
|
3625
|
+
sessionId: string;
|
|
3441
3626
|
payload: {
|
|
3442
|
-
status: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "
|
|
3627
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
3443
3628
|
durationMs: number | null;
|
|
3444
3629
|
};
|
|
3445
3630
|
revision: number;
|
|
@@ -3452,10 +3637,10 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3452
3637
|
}, {
|
|
3453
3638
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3454
3639
|
id: string;
|
|
3455
|
-
sessionId: string;
|
|
3456
3640
|
runId: string | null;
|
|
3641
|
+
sessionId: string;
|
|
3457
3642
|
payload: {
|
|
3458
|
-
status: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "
|
|
3643
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
3459
3644
|
durationMs: number | null;
|
|
3460
3645
|
};
|
|
3461
3646
|
revision: number;
|
|
@@ -3491,8 +3676,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3491
3676
|
}, "strip", z.ZodTypeAny, {
|
|
3492
3677
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3493
3678
|
id: string;
|
|
3494
|
-
sessionId: string;
|
|
3495
3679
|
runId: string | null;
|
|
3680
|
+
sessionId: string;
|
|
3496
3681
|
payload: {
|
|
3497
3682
|
label: string;
|
|
3498
3683
|
sourceEventType: string;
|
|
@@ -3507,8 +3692,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3507
3692
|
}, {
|
|
3508
3693
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3509
3694
|
id: string;
|
|
3510
|
-
sessionId: string;
|
|
3511
3695
|
runId: string | null;
|
|
3696
|
+
sessionId: string;
|
|
3512
3697
|
payload: {
|
|
3513
3698
|
label: string;
|
|
3514
3699
|
sourceEventType: string;
|
|
@@ -3524,14 +3709,15 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3524
3709
|
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
3525
3710
|
completedAt: z.ZodNullable<z.ZodNumber>;
|
|
3526
3711
|
}, "strip", z.ZodTypeAny, {
|
|
3527
|
-
status: "
|
|
3712
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED" | "WAITING_INPUT" | "WAITING_APPROVAL" | "LOST";
|
|
3528
3713
|
id: string;
|
|
3714
|
+
runId: string | null;
|
|
3529
3715
|
sessionId: string;
|
|
3530
3716
|
items: ({
|
|
3531
3717
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3532
3718
|
id: string;
|
|
3533
|
-
sessionId: string;
|
|
3534
3719
|
runId: string | null;
|
|
3720
|
+
sessionId: string;
|
|
3535
3721
|
payload: {
|
|
3536
3722
|
model: string | null;
|
|
3537
3723
|
text: string;
|
|
@@ -3547,8 +3733,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3547
3733
|
} | {
|
|
3548
3734
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3549
3735
|
id: string;
|
|
3550
|
-
sessionId: string;
|
|
3551
3736
|
runId: string | null;
|
|
3737
|
+
sessionId: string;
|
|
3552
3738
|
payload: {
|
|
3553
3739
|
clientMessageId: string | null;
|
|
3554
3740
|
text: string;
|
|
@@ -3572,8 +3758,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3572
3758
|
} | {
|
|
3573
3759
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3574
3760
|
id: string;
|
|
3575
|
-
sessionId: string;
|
|
3576
3761
|
runId: string | null;
|
|
3762
|
+
sessionId: string;
|
|
3577
3763
|
payload: {
|
|
3578
3764
|
explanation: string | null;
|
|
3579
3765
|
steps: {
|
|
@@ -3592,8 +3778,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3592
3778
|
} | {
|
|
3593
3779
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3594
3780
|
id: string;
|
|
3595
|
-
sessionId: string;
|
|
3596
3781
|
runId: string | null;
|
|
3782
|
+
sessionId: string;
|
|
3597
3783
|
payload: {
|
|
3598
3784
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
3599
3785
|
approvalId: string;
|
|
@@ -3611,10 +3797,10 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3611
3797
|
} | {
|
|
3612
3798
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3613
3799
|
id: string;
|
|
3614
|
-
sessionId: string;
|
|
3615
3800
|
runId: string | null;
|
|
3801
|
+
sessionId: string;
|
|
3616
3802
|
payload: {
|
|
3617
|
-
status: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "
|
|
3803
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
3618
3804
|
durationMs: number | null;
|
|
3619
3805
|
};
|
|
3620
3806
|
revision: number;
|
|
@@ -3627,8 +3813,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3627
3813
|
} | {
|
|
3628
3814
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3629
3815
|
id: string;
|
|
3630
|
-
sessionId: string;
|
|
3631
3816
|
runId: string | null;
|
|
3817
|
+
sessionId: string;
|
|
3632
3818
|
payload: {
|
|
3633
3819
|
sections: {
|
|
3634
3820
|
text: string;
|
|
@@ -3645,16 +3831,16 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3645
3831
|
} | {
|
|
3646
3832
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3647
3833
|
id: string;
|
|
3648
|
-
sessionId: string;
|
|
3649
3834
|
runId: string | null;
|
|
3835
|
+
sessionId: string;
|
|
3650
3836
|
payload: {
|
|
3837
|
+
errorCode: string | null;
|
|
3651
3838
|
namespace: string;
|
|
3652
3839
|
toolName: string;
|
|
3653
3840
|
title: string;
|
|
3654
3841
|
inputSummary: string | null;
|
|
3655
3842
|
outputSummary: string | null;
|
|
3656
3843
|
progressLabel: string | null;
|
|
3657
|
-
errorCode: string | null;
|
|
3658
3844
|
truncated: boolean;
|
|
3659
3845
|
};
|
|
3660
3846
|
revision: number;
|
|
@@ -3667,8 +3853,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3667
3853
|
} | {
|
|
3668
3854
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3669
3855
|
id: string;
|
|
3670
|
-
sessionId: string;
|
|
3671
3856
|
runId: string | null;
|
|
3857
|
+
sessionId: string;
|
|
3672
3858
|
payload: {
|
|
3673
3859
|
durationMs: number | null;
|
|
3674
3860
|
truncated: boolean;
|
|
@@ -3688,8 +3874,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3688
3874
|
} | {
|
|
3689
3875
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3690
3876
|
id: string;
|
|
3691
|
-
sessionId: string;
|
|
3692
3877
|
runId: string | null;
|
|
3878
|
+
sessionId: string;
|
|
3693
3879
|
payload: {
|
|
3694
3880
|
changes: {
|
|
3695
3881
|
path: string;
|
|
@@ -3709,8 +3895,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3709
3895
|
} | {
|
|
3710
3896
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3711
3897
|
id: string;
|
|
3712
|
-
sessionId: string;
|
|
3713
3898
|
runId: string | null;
|
|
3899
|
+
sessionId: string;
|
|
3714
3900
|
payload: {
|
|
3715
3901
|
requestId: string;
|
|
3716
3902
|
questions: {
|
|
@@ -3736,8 +3922,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3736
3922
|
} | {
|
|
3737
3923
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3738
3924
|
id: string;
|
|
3739
|
-
sessionId: string;
|
|
3740
3925
|
runId: string | null;
|
|
3926
|
+
sessionId: string;
|
|
3741
3927
|
payload: {
|
|
3742
3928
|
phase: "COMPLETED" | "STARTED";
|
|
3743
3929
|
summary: string | null;
|
|
@@ -3752,8 +3938,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3752
3938
|
} | {
|
|
3753
3939
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3754
3940
|
id: string;
|
|
3755
|
-
sessionId: string;
|
|
3756
3941
|
runId: string | null;
|
|
3942
|
+
sessionId: string;
|
|
3757
3943
|
payload: {
|
|
3758
3944
|
code: string;
|
|
3759
3945
|
message: string;
|
|
@@ -3769,8 +3955,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3769
3955
|
} | {
|
|
3770
3956
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3771
3957
|
id: string;
|
|
3772
|
-
sessionId: string;
|
|
3773
3958
|
runId: string | null;
|
|
3959
|
+
sessionId: string;
|
|
3774
3960
|
payload: {
|
|
3775
3961
|
code: string;
|
|
3776
3962
|
message: string;
|
|
@@ -3787,8 +3973,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3787
3973
|
} | {
|
|
3788
3974
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3789
3975
|
id: string;
|
|
3790
|
-
sessionId: string;
|
|
3791
3976
|
runId: string | null;
|
|
3977
|
+
sessionId: string;
|
|
3792
3978
|
payload: {
|
|
3793
3979
|
label: string;
|
|
3794
3980
|
sourceEventType: string;
|
|
@@ -3801,22 +3987,26 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3801
3987
|
completedAt: number | null;
|
|
3802
3988
|
kind: "unknown";
|
|
3803
3989
|
})[];
|
|
3804
|
-
runId: string | null;
|
|
3805
3990
|
model: string | null;
|
|
3806
3991
|
effort: string | null;
|
|
3807
3992
|
access: string | null;
|
|
3808
3993
|
startedAt: number | null;
|
|
3809
3994
|
completedAt: number | null;
|
|
3810
3995
|
userItemId: string | null;
|
|
3996
|
+
rewind?: {
|
|
3997
|
+
before: string | null;
|
|
3998
|
+
after: string;
|
|
3999
|
+
} | undefined;
|
|
3811
4000
|
}, {
|
|
3812
|
-
status: "
|
|
4001
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED" | "WAITING_INPUT" | "WAITING_APPROVAL" | "LOST";
|
|
3813
4002
|
id: string;
|
|
4003
|
+
runId: string | null;
|
|
3814
4004
|
sessionId: string;
|
|
3815
4005
|
items: ({
|
|
3816
4006
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3817
4007
|
id: string;
|
|
3818
|
-
sessionId: string;
|
|
3819
4008
|
runId: string | null;
|
|
4009
|
+
sessionId: string;
|
|
3820
4010
|
payload: {
|
|
3821
4011
|
model: string | null;
|
|
3822
4012
|
text: string;
|
|
@@ -3832,8 +4022,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3832
4022
|
} | {
|
|
3833
4023
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3834
4024
|
id: string;
|
|
3835
|
-
sessionId: string;
|
|
3836
4025
|
runId: string | null;
|
|
4026
|
+
sessionId: string;
|
|
3837
4027
|
payload: {
|
|
3838
4028
|
clientMessageId: string | null;
|
|
3839
4029
|
text: string;
|
|
@@ -3857,8 +4047,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3857
4047
|
} | {
|
|
3858
4048
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3859
4049
|
id: string;
|
|
3860
|
-
sessionId: string;
|
|
3861
4050
|
runId: string | null;
|
|
4051
|
+
sessionId: string;
|
|
3862
4052
|
payload: {
|
|
3863
4053
|
explanation: string | null;
|
|
3864
4054
|
steps: {
|
|
@@ -3877,8 +4067,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3877
4067
|
} | {
|
|
3878
4068
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3879
4069
|
id: string;
|
|
3880
|
-
sessionId: string;
|
|
3881
4070
|
runId: string | null;
|
|
4071
|
+
sessionId: string;
|
|
3882
4072
|
payload: {
|
|
3883
4073
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
3884
4074
|
approvalId: string;
|
|
@@ -3896,10 +4086,10 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3896
4086
|
} | {
|
|
3897
4087
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3898
4088
|
id: string;
|
|
3899
|
-
sessionId: string;
|
|
3900
4089
|
runId: string | null;
|
|
4090
|
+
sessionId: string;
|
|
3901
4091
|
payload: {
|
|
3902
|
-
status: "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "
|
|
4092
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
3903
4093
|
durationMs: number | null;
|
|
3904
4094
|
};
|
|
3905
4095
|
revision: number;
|
|
@@ -3912,8 +4102,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3912
4102
|
} | {
|
|
3913
4103
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3914
4104
|
id: string;
|
|
3915
|
-
sessionId: string;
|
|
3916
4105
|
runId: string | null;
|
|
4106
|
+
sessionId: string;
|
|
3917
4107
|
payload: {
|
|
3918
4108
|
sections: {
|
|
3919
4109
|
text: string;
|
|
@@ -3930,16 +4120,16 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3930
4120
|
} | {
|
|
3931
4121
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3932
4122
|
id: string;
|
|
3933
|
-
sessionId: string;
|
|
3934
4123
|
runId: string | null;
|
|
4124
|
+
sessionId: string;
|
|
3935
4125
|
payload: {
|
|
4126
|
+
errorCode: string | null;
|
|
3936
4127
|
namespace: string;
|
|
3937
4128
|
toolName: string;
|
|
3938
4129
|
title: string;
|
|
3939
4130
|
inputSummary: string | null;
|
|
3940
4131
|
outputSummary: string | null;
|
|
3941
4132
|
progressLabel: string | null;
|
|
3942
|
-
errorCode: string | null;
|
|
3943
4133
|
truncated: boolean;
|
|
3944
4134
|
};
|
|
3945
4135
|
revision: number;
|
|
@@ -3952,8 +4142,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3952
4142
|
} | {
|
|
3953
4143
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3954
4144
|
id: string;
|
|
3955
|
-
sessionId: string;
|
|
3956
4145
|
runId: string | null;
|
|
4146
|
+
sessionId: string;
|
|
3957
4147
|
payload: {
|
|
3958
4148
|
durationMs: number | null;
|
|
3959
4149
|
truncated: boolean;
|
|
@@ -3973,8 +4163,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3973
4163
|
} | {
|
|
3974
4164
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3975
4165
|
id: string;
|
|
3976
|
-
sessionId: string;
|
|
3977
4166
|
runId: string | null;
|
|
4167
|
+
sessionId: string;
|
|
3978
4168
|
payload: {
|
|
3979
4169
|
changes: {
|
|
3980
4170
|
path: string;
|
|
@@ -3994,8 +4184,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3994
4184
|
} | {
|
|
3995
4185
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3996
4186
|
id: string;
|
|
3997
|
-
sessionId: string;
|
|
3998
4187
|
runId: string | null;
|
|
4188
|
+
sessionId: string;
|
|
3999
4189
|
payload: {
|
|
4000
4190
|
requestId: string;
|
|
4001
4191
|
questions: {
|
|
@@ -4021,8 +4211,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4021
4211
|
} | {
|
|
4022
4212
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4023
4213
|
id: string;
|
|
4024
|
-
sessionId: string;
|
|
4025
4214
|
runId: string | null;
|
|
4215
|
+
sessionId: string;
|
|
4026
4216
|
payload: {
|
|
4027
4217
|
phase: "COMPLETED" | "STARTED";
|
|
4028
4218
|
summary: string | null;
|
|
@@ -4037,8 +4227,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4037
4227
|
} | {
|
|
4038
4228
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4039
4229
|
id: string;
|
|
4040
|
-
sessionId: string;
|
|
4041
4230
|
runId: string | null;
|
|
4231
|
+
sessionId: string;
|
|
4042
4232
|
payload: {
|
|
4043
4233
|
code: string;
|
|
4044
4234
|
message: string;
|
|
@@ -4054,8 +4244,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4054
4244
|
} | {
|
|
4055
4245
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4056
4246
|
id: string;
|
|
4057
|
-
sessionId: string;
|
|
4058
4247
|
runId: string | null;
|
|
4248
|
+
sessionId: string;
|
|
4059
4249
|
payload: {
|
|
4060
4250
|
code: string;
|
|
4061
4251
|
message: string;
|
|
@@ -4072,8 +4262,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4072
4262
|
} | {
|
|
4073
4263
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4074
4264
|
id: string;
|
|
4075
|
-
sessionId: string;
|
|
4076
4265
|
runId: string | null;
|
|
4266
|
+
sessionId: string;
|
|
4077
4267
|
payload: {
|
|
4078
4268
|
label: string;
|
|
4079
4269
|
sourceEventType: string;
|
|
@@ -4086,13 +4276,16 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4086
4276
|
completedAt: number | null;
|
|
4087
4277
|
kind: "unknown";
|
|
4088
4278
|
})[];
|
|
4089
|
-
runId: string | null;
|
|
4090
4279
|
model: string | null;
|
|
4091
4280
|
effort: string | null;
|
|
4092
4281
|
access: string | null;
|
|
4093
4282
|
startedAt: number | null;
|
|
4094
4283
|
completedAt: number | null;
|
|
4095
4284
|
userItemId: string | null;
|
|
4285
|
+
rewind?: {
|
|
4286
|
+
before: string | null;
|
|
4287
|
+
after: string;
|
|
4288
|
+
} | undefined;
|
|
4096
4289
|
}>;
|
|
4097
4290
|
export type ConversationTurn = z.infer<typeof conversationTurnSchema>;
|
|
4098
4291
|
export declare const conversationItemDeltaSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
@@ -4259,31 +4452,31 @@ export declare const terminalAttachTicketSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4259
4452
|
issuedAt: z.ZodNumber;
|
|
4260
4453
|
expiresAt: z.ZodNumber;
|
|
4261
4454
|
}, "strip", z.ZodTypeAny, {
|
|
4455
|
+
nodeId: string;
|
|
4262
4456
|
expiresAt: number;
|
|
4263
4457
|
terminalId: string;
|
|
4264
4458
|
ticket: string;
|
|
4265
|
-
nodeId: string;
|
|
4266
4459
|
userSessionFingerprint: string;
|
|
4267
4460
|
issuedAt: number;
|
|
4268
4461
|
}, {
|
|
4462
|
+
nodeId: string;
|
|
4269
4463
|
expiresAt: number;
|
|
4270
4464
|
terminalId: string;
|
|
4271
4465
|
ticket: string;
|
|
4272
|
-
nodeId: string;
|
|
4273
4466
|
userSessionFingerprint: string;
|
|
4274
4467
|
issuedAt: number;
|
|
4275
4468
|
}>, {
|
|
4469
|
+
nodeId: string;
|
|
4276
4470
|
expiresAt: number;
|
|
4277
4471
|
terminalId: string;
|
|
4278
4472
|
ticket: string;
|
|
4279
|
-
nodeId: string;
|
|
4280
4473
|
userSessionFingerprint: string;
|
|
4281
4474
|
issuedAt: number;
|
|
4282
4475
|
}, {
|
|
4476
|
+
nodeId: string;
|
|
4283
4477
|
expiresAt: number;
|
|
4284
4478
|
terminalId: string;
|
|
4285
4479
|
ticket: string;
|
|
4286
|
-
nodeId: string;
|
|
4287
4480
|
userSessionFingerprint: string;
|
|
4288
4481
|
issuedAt: number;
|
|
4289
4482
|
}>;
|
|
@@ -4350,6 +4543,65 @@ export declare const workspaceFileListSchema: z.ZodObject<{
|
|
|
4350
4543
|
truncated: boolean;
|
|
4351
4544
|
nextCursor: string | null;
|
|
4352
4545
|
}>;
|
|
4546
|
+
export declare const workspaceContentMatchSchema: z.ZodObject<{
|
|
4547
|
+
path: z.ZodString;
|
|
4548
|
+
line: z.ZodNumber;
|
|
4549
|
+
column: z.ZodNumber;
|
|
4550
|
+
preview: z.ZodString;
|
|
4551
|
+
}, "strip", z.ZodTypeAny, {
|
|
4552
|
+
path: string;
|
|
4553
|
+
line: number;
|
|
4554
|
+
column: number;
|
|
4555
|
+
preview: string;
|
|
4556
|
+
}, {
|
|
4557
|
+
path: string;
|
|
4558
|
+
line: number;
|
|
4559
|
+
column: number;
|
|
4560
|
+
preview: string;
|
|
4561
|
+
}>;
|
|
4562
|
+
export declare const workspaceContentSearchSchema: z.ZodObject<{
|
|
4563
|
+
matches: z.ZodArray<z.ZodObject<{
|
|
4564
|
+
path: z.ZodString;
|
|
4565
|
+
line: z.ZodNumber;
|
|
4566
|
+
column: z.ZodNumber;
|
|
4567
|
+
preview: z.ZodString;
|
|
4568
|
+
}, "strip", z.ZodTypeAny, {
|
|
4569
|
+
path: string;
|
|
4570
|
+
line: number;
|
|
4571
|
+
column: number;
|
|
4572
|
+
preview: string;
|
|
4573
|
+
}, {
|
|
4574
|
+
path: string;
|
|
4575
|
+
line: number;
|
|
4576
|
+
column: number;
|
|
4577
|
+
preview: string;
|
|
4578
|
+
}>, "many">;
|
|
4579
|
+
engine: z.ZodEnum<["RIPGREP", "GREP", "POWERSHELL", "NODE"]>;
|
|
4580
|
+
truncated: z.ZodBoolean;
|
|
4581
|
+
skippedFiles: z.ZodNumber;
|
|
4582
|
+
}, "strip", z.ZodTypeAny, {
|
|
4583
|
+
truncated: boolean;
|
|
4584
|
+
matches: {
|
|
4585
|
+
path: string;
|
|
4586
|
+
line: number;
|
|
4587
|
+
column: number;
|
|
4588
|
+
preview: string;
|
|
4589
|
+
}[];
|
|
4590
|
+
engine: "NODE" | "RIPGREP" | "GREP" | "POWERSHELL";
|
|
4591
|
+
skippedFiles: number;
|
|
4592
|
+
}, {
|
|
4593
|
+
truncated: boolean;
|
|
4594
|
+
matches: {
|
|
4595
|
+
path: string;
|
|
4596
|
+
line: number;
|
|
4597
|
+
column: number;
|
|
4598
|
+
preview: string;
|
|
4599
|
+
}[];
|
|
4600
|
+
engine: "NODE" | "RIPGREP" | "GREP" | "POWERSHELL";
|
|
4601
|
+
skippedFiles: number;
|
|
4602
|
+
}>;
|
|
4603
|
+
export type WorkspaceContentMatch = z.infer<typeof workspaceContentMatchSchema>;
|
|
4604
|
+
export type WorkspaceContentSearch = z.infer<typeof workspaceContentSearchSchema>;
|
|
4353
4605
|
export declare const workspaceFileReadSchema: z.ZodObject<{
|
|
4354
4606
|
path: z.ZodString;
|
|
4355
4607
|
encoding: z.ZodEnum<["utf-8", "base64"]>;
|
|
@@ -4377,12 +4629,12 @@ export declare const workspaceUploadPreflightSchema: z.ZodObject<{
|
|
|
4377
4629
|
status: z.ZodEnum<["READY", "EXISTS_FILE", "EXISTS_DIRECTORY", "INVALID_NAME"]>;
|
|
4378
4630
|
path: z.ZodNullable<z.ZodString>;
|
|
4379
4631
|
}, "strip", z.ZodTypeAny, {
|
|
4380
|
-
status: "READY" | "EXISTS_FILE" | "EXISTS_DIRECTORY" | "INVALID_NAME";
|
|
4381
4632
|
path: string | null;
|
|
4633
|
+
status: "READY" | "EXISTS_FILE" | "EXISTS_DIRECTORY" | "INVALID_NAME";
|
|
4382
4634
|
name: string;
|
|
4383
4635
|
}, {
|
|
4384
|
-
status: "READY" | "EXISTS_FILE" | "EXISTS_DIRECTORY" | "INVALID_NAME";
|
|
4385
4636
|
path: string | null;
|
|
4637
|
+
status: "READY" | "EXISTS_FILE" | "EXISTS_DIRECTORY" | "INVALID_NAME";
|
|
4386
4638
|
name: string;
|
|
4387
4639
|
}>;
|
|
4388
4640
|
export declare const workspaceUploadSchema: z.ZodObject<{
|
|
@@ -4411,19 +4663,19 @@ export declare const workspaceChangeSchema: z.ZodObject<{
|
|
|
4411
4663
|
diffAvailable: z.ZodBoolean;
|
|
4412
4664
|
}, "strip", z.ZodTypeAny, {
|
|
4413
4665
|
path: string;
|
|
4666
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4414
4667
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4415
4668
|
additions: number | null;
|
|
4416
4669
|
deletions: number | null;
|
|
4417
4670
|
diffAvailable: boolean;
|
|
4418
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4419
4671
|
binary: boolean;
|
|
4420
4672
|
}, {
|
|
4421
4673
|
path: string;
|
|
4674
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4422
4675
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4423
4676
|
additions: number | null;
|
|
4424
4677
|
deletions: number | null;
|
|
4425
4678
|
diffAvailable: boolean;
|
|
4426
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4427
4679
|
binary: boolean;
|
|
4428
4680
|
}>;
|
|
4429
4681
|
export type WorkspaceFileEntry = z.infer<typeof workspaceFileEntrySchema>;
|
|
@@ -4446,30 +4698,30 @@ export declare const workspaceChangesRepositorySchema: z.ZodObject<{
|
|
|
4446
4698
|
diffAvailable: z.ZodBoolean;
|
|
4447
4699
|
}, "strip", z.ZodTypeAny, {
|
|
4448
4700
|
path: string;
|
|
4701
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4449
4702
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4450
4703
|
additions: number | null;
|
|
4451
4704
|
deletions: number | null;
|
|
4452
4705
|
diffAvailable: boolean;
|
|
4453
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4454
4706
|
binary: boolean;
|
|
4455
4707
|
}, {
|
|
4456
4708
|
path: string;
|
|
4709
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4457
4710
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4458
4711
|
additions: number | null;
|
|
4459
4712
|
deletions: number | null;
|
|
4460
4713
|
diffAvailable: boolean;
|
|
4461
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4462
4714
|
binary: boolean;
|
|
4463
4715
|
}>, "many">;
|
|
4464
4716
|
}, "strip", z.ZodTypeAny, {
|
|
4465
4717
|
branch: string | null;
|
|
4466
4718
|
changes: {
|
|
4467
4719
|
path: string;
|
|
4720
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4468
4721
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4469
4722
|
additions: number | null;
|
|
4470
4723
|
deletions: number | null;
|
|
4471
4724
|
diffAvailable: boolean;
|
|
4472
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4473
4725
|
binary: boolean;
|
|
4474
4726
|
}[];
|
|
4475
4727
|
repositoryPath: string;
|
|
@@ -4478,11 +4730,11 @@ export declare const workspaceChangesRepositorySchema: z.ZodObject<{
|
|
|
4478
4730
|
branch: string | null;
|
|
4479
4731
|
changes: {
|
|
4480
4732
|
path: string;
|
|
4733
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4481
4734
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4482
4735
|
additions: number | null;
|
|
4483
4736
|
deletions: number | null;
|
|
4484
4737
|
diffAvailable: boolean;
|
|
4485
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4486
4738
|
binary: boolean;
|
|
4487
4739
|
}[];
|
|
4488
4740
|
repositoryPath: string;
|
|
@@ -4501,19 +4753,19 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
4501
4753
|
diffAvailable: z.ZodBoolean;
|
|
4502
4754
|
}, "strip", z.ZodTypeAny, {
|
|
4503
4755
|
path: string;
|
|
4756
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4504
4757
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4505
4758
|
additions: number | null;
|
|
4506
4759
|
deletions: number | null;
|
|
4507
4760
|
diffAvailable: boolean;
|
|
4508
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4509
4761
|
binary: boolean;
|
|
4510
4762
|
}, {
|
|
4511
4763
|
path: string;
|
|
4764
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4512
4765
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4513
4766
|
additions: number | null;
|
|
4514
4767
|
deletions: number | null;
|
|
4515
4768
|
diffAvailable: boolean;
|
|
4516
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4517
4769
|
binary: boolean;
|
|
4518
4770
|
}>, "many">;
|
|
4519
4771
|
repositories: z.ZodArray<z.ZodObject<{
|
|
@@ -4530,30 +4782,30 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
4530
4782
|
diffAvailable: z.ZodBoolean;
|
|
4531
4783
|
}, "strip", z.ZodTypeAny, {
|
|
4532
4784
|
path: string;
|
|
4785
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4533
4786
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4534
4787
|
additions: number | null;
|
|
4535
4788
|
deletions: number | null;
|
|
4536
4789
|
diffAvailable: boolean;
|
|
4537
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4538
4790
|
binary: boolean;
|
|
4539
4791
|
}, {
|
|
4540
4792
|
path: string;
|
|
4793
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4541
4794
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4542
4795
|
additions: number | null;
|
|
4543
4796
|
deletions: number | null;
|
|
4544
4797
|
diffAvailable: boolean;
|
|
4545
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4546
4798
|
binary: boolean;
|
|
4547
4799
|
}>, "many">;
|
|
4548
4800
|
}, "strip", z.ZodTypeAny, {
|
|
4549
4801
|
branch: string | null;
|
|
4550
4802
|
changes: {
|
|
4551
4803
|
path: string;
|
|
4804
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4552
4805
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4553
4806
|
additions: number | null;
|
|
4554
4807
|
deletions: number | null;
|
|
4555
4808
|
diffAvailable: boolean;
|
|
4556
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4557
4809
|
binary: boolean;
|
|
4558
4810
|
}[];
|
|
4559
4811
|
repositoryPath: string;
|
|
@@ -4562,11 +4814,11 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
4562
4814
|
branch: string | null;
|
|
4563
4815
|
changes: {
|
|
4564
4816
|
path: string;
|
|
4817
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4565
4818
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4566
4819
|
additions: number | null;
|
|
4567
4820
|
deletions: number | null;
|
|
4568
4821
|
diffAvailable: boolean;
|
|
4569
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4570
4822
|
binary: boolean;
|
|
4571
4823
|
}[];
|
|
4572
4824
|
repositoryPath: string;
|
|
@@ -4576,22 +4828,22 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
4576
4828
|
branch: string | null;
|
|
4577
4829
|
changes: {
|
|
4578
4830
|
path: string;
|
|
4831
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4579
4832
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4580
4833
|
additions: number | null;
|
|
4581
4834
|
deletions: number | null;
|
|
4582
4835
|
diffAvailable: boolean;
|
|
4583
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4584
4836
|
binary: boolean;
|
|
4585
4837
|
}[];
|
|
4586
4838
|
repositories: {
|
|
4587
4839
|
branch: string | null;
|
|
4588
4840
|
changes: {
|
|
4589
4841
|
path: string;
|
|
4842
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4590
4843
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4591
4844
|
additions: number | null;
|
|
4592
4845
|
deletions: number | null;
|
|
4593
4846
|
diffAvailable: boolean;
|
|
4594
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4595
4847
|
binary: boolean;
|
|
4596
4848
|
}[];
|
|
4597
4849
|
repositoryPath: string;
|
|
@@ -4601,22 +4853,22 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
4601
4853
|
branch: string | null;
|
|
4602
4854
|
changes: {
|
|
4603
4855
|
path: string;
|
|
4856
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4604
4857
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4605
4858
|
additions: number | null;
|
|
4606
4859
|
deletions: number | null;
|
|
4607
4860
|
diffAvailable: boolean;
|
|
4608
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4609
4861
|
binary: boolean;
|
|
4610
4862
|
}[];
|
|
4611
4863
|
repositories: {
|
|
4612
4864
|
branch: string | null;
|
|
4613
4865
|
changes: {
|
|
4614
4866
|
path: string;
|
|
4867
|
+
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4615
4868
|
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4616
4869
|
additions: number | null;
|
|
4617
4870
|
deletions: number | null;
|
|
4618
4871
|
diffAvailable: boolean;
|
|
4619
|
-
state: "STAGED" | "UNSTAGED" | "UNTRACKED";
|
|
4620
4872
|
binary: boolean;
|
|
4621
4873
|
}[];
|
|
4622
4874
|
repositoryPath: string;
|
|
@@ -4624,7 +4876,67 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
4624
4876
|
}[];
|
|
4625
4877
|
}>;
|
|
4626
4878
|
export type WorkspaceChangesSummary = z.infer<typeof workspaceChangesSummarySchema>;
|
|
4627
|
-
export declare const
|
|
4879
|
+
export declare const gitHistoryRefSchema: z.ZodObject<{
|
|
4880
|
+
name: z.ZodString;
|
|
4881
|
+
displayName: z.ZodString;
|
|
4882
|
+
kind: z.ZodEnum<["LOCAL", "REMOTE"]>;
|
|
4883
|
+
hash: z.ZodString;
|
|
4884
|
+
current: z.ZodBoolean;
|
|
4885
|
+
}, "strip", z.ZodTypeAny, {
|
|
4886
|
+
name: string;
|
|
4887
|
+
displayName: string;
|
|
4888
|
+
kind: "LOCAL" | "REMOTE";
|
|
4889
|
+
hash: string;
|
|
4890
|
+
current: boolean;
|
|
4891
|
+
}, {
|
|
4892
|
+
name: string;
|
|
4893
|
+
displayName: string;
|
|
4894
|
+
kind: "LOCAL" | "REMOTE";
|
|
4895
|
+
hash: string;
|
|
4896
|
+
current: boolean;
|
|
4897
|
+
}>;
|
|
4898
|
+
export type GitHistoryRef = z.infer<typeof gitHistoryRefSchema>;
|
|
4899
|
+
export declare const gitHistoryCommitSchema: z.ZodObject<{
|
|
4900
|
+
hash: z.ZodString;
|
|
4901
|
+
parents: z.ZodArray<z.ZodString, "many">;
|
|
4902
|
+
subject: z.ZodString;
|
|
4903
|
+
authorName: z.ZodString;
|
|
4904
|
+
authorEmail: z.ZodString;
|
|
4905
|
+
committedAt: z.ZodNumber;
|
|
4906
|
+
refs: z.ZodArray<z.ZodString, "many">;
|
|
4907
|
+
}, "strip", z.ZodTypeAny, {
|
|
4908
|
+
hash: string;
|
|
4909
|
+
parents: string[];
|
|
4910
|
+
subject: string;
|
|
4911
|
+
authorName: string;
|
|
4912
|
+
authorEmail: string;
|
|
4913
|
+
committedAt: number;
|
|
4914
|
+
refs: string[];
|
|
4915
|
+
}, {
|
|
4916
|
+
hash: string;
|
|
4917
|
+
parents: string[];
|
|
4918
|
+
subject: string;
|
|
4919
|
+
authorName: string;
|
|
4920
|
+
authorEmail: string;
|
|
4921
|
+
committedAt: number;
|
|
4922
|
+
refs: string[];
|
|
4923
|
+
}>;
|
|
4924
|
+
export type GitHistoryCommit = z.infer<typeof gitHistoryCommitSchema>;
|
|
4925
|
+
export declare const gitHistoryFileSchema: z.ZodObject<{
|
|
4926
|
+
path: z.ZodString;
|
|
4927
|
+
previousPath: z.ZodOptional<z.ZodString>;
|
|
4928
|
+
change: z.ZodEnum<["ADDED", "MODIFIED", "DELETED", "RENAMED", "COPIED", "TYPE_CHANGED"]>;
|
|
4929
|
+
}, "strip", z.ZodTypeAny, {
|
|
4930
|
+
path: string;
|
|
4931
|
+
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4932
|
+
previousPath?: string | undefined;
|
|
4933
|
+
}, {
|
|
4934
|
+
path: string;
|
|
4935
|
+
change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
|
|
4936
|
+
previousPath?: string | undefined;
|
|
4937
|
+
}>;
|
|
4938
|
+
export type GitHistoryFile = z.infer<typeof gitHistoryFileSchema>;
|
|
4939
|
+
export declare const workbenchNodeOperationSchema: z.ZodEnum<["node.workbench.capabilities", "runner.usage.status", "runner.usage.read", "workspace.directories.list", "workspace.remove", "workspace.watch", "workspace.unwatch", "session.metadata.update", "session.pin.move", "session.rewind", "session.remove", "session.config.update", "session.turns.list", "session.events.read", "session.context.read", "session.command.execute", "runner.command.execute", "workspace.activity.read", "runner.profiles.list", "runner.defaults.save", "workspace.files.list", "workspace.file.read", "workspace.files.search", "workspace.files.mutate", "workspace.content.search", "workspace.files.upload.preflight", "workspace.files.upload.create", "workspace.files.upload.chunk", "workspace.files.upload.status", "workspace.files.upload.complete", "workspace.files.upload.cancel", "workspace.changes.current", "workspace.change.diff", "workspace.change.restore", "workspace.git.refs.list", "workspace.git.history.list", "workspace.git.commit.files", "workspace.git.commit.file.diff", "run.image.read", "terminal.open", "terminal.list", "terminal.close", "terminal.attach.authorize", "node.upgrade.request", "node.upgrade.cancel"]>;
|
|
4628
4940
|
export type WorkbenchNodeOperation = z.infer<typeof workbenchNodeOperationSchema>;
|
|
4629
4941
|
/**
|
|
4630
4942
|
* A small, explicit envelope keeps WebSocket messages independently parseable
|
|
@@ -4638,14 +4950,14 @@ export declare const nodeEnvelopeSchema: z.ZodObject<{
|
|
|
4638
4950
|
payload: z.ZodUnknown;
|
|
4639
4951
|
}, "strip", z.ZodTypeAny, {
|
|
4640
4952
|
type: string;
|
|
4641
|
-
version: 2;
|
|
4642
4953
|
id: string;
|
|
4954
|
+
version: 2;
|
|
4643
4955
|
payload?: unknown;
|
|
4644
4956
|
replyTo?: string | undefined;
|
|
4645
4957
|
}, {
|
|
4646
4958
|
type: string;
|
|
4647
|
-
version: 2;
|
|
4648
4959
|
id: string;
|
|
4960
|
+
version: 2;
|
|
4649
4961
|
payload?: unknown;
|
|
4650
4962
|
replyTo?: string | undefined;
|
|
4651
4963
|
}>;
|