@ycodium-ai/plugin-api 0.2.3166 → 0.2.3180

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.
@@ -1,3 +1,7 @@
1
+ export type SchemaUtc = {
2
+ readonly _tag: "Utc";
3
+ readonly epochMilliseconds: number;
4
+ };
1
5
  type Objects_ = {
2
6
  readonly "sourceThreadId": string;
3
7
  readonly "sourceMessageId": string;
@@ -33,15 +37,21 @@ type Objects_9 = {
33
37
  readonly "displayName": string;
34
38
  };
35
39
  type Objects_11 = {
40
+ readonly "kind": "approval" | "userInput";
36
41
  readonly "requestId": string;
37
42
  readonly "startedAt": string;
43
+ readonly "completedAt": string | null;
38
44
  };
39
45
  type Objects_12 = {
46
+ readonly "requestId": string;
47
+ readonly "startedAt": string;
48
+ };
49
+ type Objects_13 = {
40
50
  readonly "source": "manual" | "generated";
41
51
  readonly "version": string;
42
52
  readonly "needsRefinement": boolean;
43
53
  };
44
- type Objects_13 = {
54
+ type Objects_14 = {
45
55
  readonly "threadId": string;
46
56
  readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error";
47
57
  readonly "providerName": string | null;
@@ -66,19 +76,24 @@ type Objects_13 = {
66
76
  readonly "endReason"?: "server-restart" | undefined;
67
77
  readonly "updatedAt": string;
68
78
  };
69
- type Union_1 = {
79
+ type Union_2 = {
80
+ readonly "sessionId"?: string;
81
+ readonly "turnId"?: string;
82
+ readonly "generationId"?: string;
83
+ } | null;
84
+ type Union_3 = {
70
85
  readonly "status": "committed" | "rolled-back" | "failed" | "unknown";
71
86
  readonly "targetVersion"?: string | undefined;
72
87
  readonly "fromVersion": string | null;
73
88
  readonly "reason": string | null;
74
89
  } | null;
75
- type Objects_15 = {
90
+ type Objects_16 = {
76
91
  readonly "_tag": "agent-artifact";
77
92
  readonly "sourcePath": string;
78
93
  readonly "linkBase"?: string | undefined;
79
94
  readonly "toolCallId"?: string | undefined;
80
95
  };
81
- type Objects_16 = {
96
+ type Objects_17 = {
82
97
  readonly "kind": "native-session";
83
98
  readonly "provider": "claude" | "codex";
84
99
  readonly "sessionId": string;
@@ -86,13 +101,22 @@ type Objects_16 = {
86
101
  readonly "turnId"?: string | undefined;
87
102
  readonly "order": number;
88
103
  };
89
- type Objects_17 = {
104
+ type Union_8 = {
105
+ readonly "totalTokens": number;
106
+ readonly "inputTokens"?: number | undefined;
107
+ readonly "cachedInputTokens"?: number | undefined;
108
+ readonly "outputTokens"?: number | undefined;
109
+ readonly "reasoningOutputTokens"?: number | undefined;
110
+ readonly "toolUses"?: number | undefined;
111
+ readonly "durationMs"?: number | undefined;
112
+ } | undefined;
113
+ type Objects_18 = {
90
114
  readonly "offset": number;
91
115
  readonly "returned": number;
92
116
  readonly "total": number;
93
117
  readonly "nextOffset": number | null;
94
118
  };
95
- type Union_6 = {
119
+ type Union_9 = {
96
120
  readonly "kind": "thread";
97
121
  readonly "environmentId"?: string | undefined;
98
122
  readonly "threadId": string;
@@ -113,7 +137,7 @@ type Union_6 = {
113
137
  readonly "principalId": string;
114
138
  readonly "displayName": string;
115
139
  };
116
- type Objects_18 = {
140
+ type Objects_19 = {
117
141
  readonly "persisted": string;
118
142
  readonly "handedOff": {
119
143
  readonly "certainty": "not-dispatched" | "confirmed" | "unknown";
@@ -128,63 +152,131 @@ type Objects_18 = {
128
152
  readonly "at": string;
129
153
  } | null;
130
154
  };
131
- type Union_10 = {
155
+ type Union_13 = {
132
156
  readonly "kind": "account";
133
157
  readonly "userId": string;
134
158
  } | {
135
159
  readonly "kind": "local-owner";
136
160
  readonly "environmentId": string;
137
161
  };
138
- type Union_11 = {
162
+ type Union_14 = {
139
163
  readonly "kind": "account";
140
164
  readonly "userId": string;
141
165
  } | {
142
166
  readonly "kind": "local-owner";
143
167
  readonly "environmentId": string;
144
168
  };
145
- type Objects_20 = {
169
+ type Objects_21 = {
146
170
  readonly "projectId": string;
147
171
  readonly "requestId"?: string;
148
172
  readonly "recordId": string;
149
173
  };
174
+ type Objects_22 = {
175
+ readonly "name": string;
176
+ readonly "value"?: string;
177
+ readonly "sensitive"?: boolean;
178
+ readonly "valueRedacted"?: boolean;
179
+ };
180
+ type Objects_23 = {
181
+ readonly [x: string]: boolean;
182
+ };
183
+ type Objects_24 = {
184
+ readonly "source": "none" | "custom" | "plugin";
185
+ readonly "customId": string | null;
186
+ readonly "pluginId": string | null;
187
+ readonly "dimLight": number;
188
+ readonly "dimDark": number;
189
+ readonly "blur": number;
190
+ };
191
+ type Objects_26 = {
192
+ readonly [x: string]: {
193
+ readonly "instanceId": string;
194
+ readonly "model": string;
195
+ };
196
+ };
197
+ type Objects_27 = {
198
+ readonly "source": "none" | "custom" | "plugin";
199
+ readonly "customId": string | null;
200
+ readonly "pluginId": string | null;
201
+ readonly "dimLight": number;
202
+ readonly "dimDark": number;
203
+ readonly "blur": number;
204
+ };
205
+ type Objects_28 = {
206
+ readonly [x: string]: boolean;
207
+ };
208
+ type Objects_29 = {
209
+ readonly "status": "none" | "required" | "authorized";
210
+ };
211
+ type Objects_30 = {
212
+ readonly "kind": "builtin";
213
+ readonly "id": string;
214
+ };
215
+ type Objects_31 = {
216
+ readonly "kind": "catalog";
217
+ readonly "catalogId": string;
218
+ readonly "version": string;
219
+ };
220
+ type Objects_32 = {
221
+ readonly [x: string]: boolean;
222
+ };
223
+ type Objects_33 = {
224
+ readonly "keybindings": ReadonlyArray<{
225
+ readonly "command": "sidebar.toggle" | "navigation.back" | "navigation.forward" | "terminal.toggle" | "terminal.split" | "terminal.splitVertical" | "terminal.new" | "terminal.close" | "rightPanel.toggle" | "rightPanel.toggleMaximized" | "rightPanel.close" | "diff.toggle" | "preview.toggle" | "preview.refresh" | "preview.focusUrl" | "preview.zoomIn" | "preview.zoomOut" | "preview.resetZoom" | "commandPalette.toggle" | "filePicker.toggle" | "projectSearch.toggle" | "theme.select" | "appearance.cycle" | "threadSearch.focus" | "themeEditor.toggle" | "composer.stash" | "chat.new" | "chat.newLocal" | "chat.toggleTrajectory" | "approval.approve" | "approval.decline" | "approval.cancel" | "modelPicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "runtimeMode.cycle" | "runtimeMode.cycleBack" | "thread.previous" | "thread.next" | "thread.copyReference" | "thread.settle" | "thread.pin" | "thread.undo" | "thread.interrupt" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | `${"script."}${string}${".run"}`;
226
+ readonly "shortcut": {
227
+ readonly "key": string;
228
+ readonly "metaKey": boolean;
229
+ readonly "ctrlKey": boolean;
230
+ readonly "shiftKey": boolean;
231
+ readonly "altKey": boolean;
232
+ readonly "modKey": boolean;
233
+ };
234
+ readonly "whenAst"?: Union_16 | undefined;
235
+ }>;
236
+ readonly "issues": ReadonlyArray<{
237
+ readonly "kind": "keybindings.malformed-config";
238
+ readonly "message": string;
239
+ } | {
240
+ readonly "kind": "keybindings.invalid-entry";
241
+ readonly "message": string;
242
+ readonly "index": number;
243
+ }>;
244
+ };
150
245
  type Arrays_3 = ReadonlyArray<{
151
246
  readonly "id": string;
152
247
  readonly "value": string | boolean;
153
248
  }>;
154
- type Objects_22 = {
249
+ type Objects_35 = {
155
250
  readonly [x: string]: unknown;
156
251
  };
157
252
  type Arrays_4 = ReadonlyArray<string>;
158
- type Objects_24 = {
159
- readonly "status": "none" | "required" | "authorized";
160
- };
161
- type Objects_25 = {
253
+ type Objects_37 = {
162
254
  readonly "kind": "inline";
163
255
  readonly "skillMd": string;
164
256
  };
165
- type Objects_26 = {
257
+ type Objects_38 = {
166
258
  readonly [x: string]: string | null;
167
259
  };
168
- type Objects_27 = {
260
+ type Objects_39 = {
169
261
  readonly [x: string]: boolean;
170
262
  };
171
- type Objects_28 = {
263
+ type Objects_40 = {
172
264
  readonly "ids": readonly [string, ...Array<string>];
173
265
  };
174
- type Union_13 = ReadonlyArray<{
266
+ type Union_18 = ReadonlyArray<{
175
267
  readonly "value": string;
176
268
  readonly "label"?: string | undefined;
177
269
  readonly "labelKey"?: string | undefined;
178
270
  readonly "icon"?: string | undefined;
179
271
  }> | undefined;
180
- type Objects_29 = {
272
+ type Objects_41 = {
181
273
  readonly "key": string;
182
274
  readonly "equals": ReadonlyArray<string>;
183
275
  };
184
- type Objects_30 = {
276
+ type Objects_42 = {
185
277
  readonly [x: string]: unknown;
186
278
  };
187
- type Union_15 = {
279
+ type Union_20 = {
188
280
  readonly "key": string;
189
281
  readonly "values"?: {
190
282
  readonly [x: string]: string | number;
@@ -192,77 +284,79 @@ type Union_15 = {
192
284
  } | {
193
285
  readonly "text": string;
194
286
  };
195
- type Objects_34 = {
287
+ type Objects_46 = {
196
288
  readonly "kind": "agent";
197
289
  readonly "threadId": string;
198
290
  };
199
- type Objects_35 = {
291
+ type Objects_47 = {
200
292
  readonly "kind": "remote-agent";
201
293
  readonly "principalId": string;
202
294
  };
203
295
  type Arrays_5 = ReadonlyArray<string>;
204
- type Objects_37 = {
296
+ type Objects_49 = {
205
297
  readonly "experienceId": string;
206
298
  readonly "revision": number;
207
299
  };
208
- type Objects_38 = {
300
+ type Objects_50 = {
209
301
  readonly "projectId": string;
210
302
  readonly "requestId"?: string;
211
303
  readonly "experienceId": string;
212
304
  };
213
- type Objects_39 = {
305
+ type Objects_51 = {
214
306
  readonly "sequence": number;
215
307
  readonly "result": {
216
308
  readonly "experienceId": string;
217
309
  readonly "status": "active" | "forgotten";
218
310
  };
311
+ readonly "replayed"?: boolean;
219
312
  };
220
- type Objects_41 = {
313
+ type Objects_53 = {
221
314
  readonly "pageId": string;
222
315
  readonly "revision": number;
223
316
  };
224
- type Objects_43 = {
317
+ type Objects_55 = {
225
318
  readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
226
319
  readonly "pageId": string;
227
320
  readonly "revision": number;
228
321
  };
229
- type Union_17 = {
322
+ type Union_22 = {
230
323
  readonly "experienceId": string;
231
324
  readonly "revision": number;
232
325
  } | null;
233
- type Objects_45 = {
326
+ type Objects_57 = {
234
327
  readonly "stateId": string;
235
328
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
236
329
  readonly "name": string;
237
330
  };
238
331
  type Arrays_8 = ReadonlyArray<string>;
239
332
  type Arrays_9 = ReadonlyArray<string>;
240
- type Objects_46 = {
333
+ type Objects_58 = {
241
334
  readonly "total": number;
242
335
  readonly "completed": number;
243
336
  readonly "cancelled": number;
244
337
  };
245
- type Objects_48 = {
338
+ type Objects_60 = {
246
339
  readonly "stateId": string;
247
340
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
248
341
  };
249
- type Objects_49 = {
342
+ type Objects_61 = {
250
343
  readonly "projectId": string;
251
344
  readonly "requestId"?: string;
252
345
  readonly "workItemId": string;
253
346
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
254
347
  readonly "relatedWorkItemId": string;
255
348
  };
256
- type Objects_50 = {
349
+ type Objects_62 = {
257
350
  readonly "workItemId": string;
258
351
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
259
352
  readonly "relatedWorkItemId": string;
260
353
  };
261
- type Objects_51 = {
354
+ type Objects_63 = {
262
355
  readonly "sequence": number;
356
+ readonly "replayed"?: boolean;
263
357
  readonly "status": "accepted" | "noop";
264
358
  };
265
- type Objects_52 = {
359
+ type Objects_64 = {
266
360
  readonly "_tag": "snap-shot";
267
361
  readonly "capturedAt": string;
268
362
  readonly "appName": string;
@@ -280,28 +374,28 @@ type Objects_52 = {
280
374
  readonly "height": number;
281
375
  };
282
376
  readonly "truncated": boolean;
283
- readonly "root": Objects_53;
377
+ readonly "root": Objects_65;
284
378
  };
285
379
  readonly "appIdentifier"?: string;
286
380
  readonly "appIconDataUrl"?: string;
287
381
  };
288
- type Objects_54 = {
382
+ type Objects_66 = {
289
383
  readonly "_tag": "agent-artifact";
290
384
  readonly "sourcePath": string;
291
385
  readonly "linkBase"?: string;
292
386
  readonly "toolCallId"?: string;
293
387
  };
294
- type Objects_56 = {
388
+ type Objects_68 = {
295
389
  readonly "_tag": "agent-artifact";
296
390
  readonly "sourcePath": string;
297
391
  readonly "linkBase"?: string;
298
392
  readonly "toolCallId"?: string;
299
393
  };
300
- type Objects_57 = {
394
+ type Objects_69 = {
301
395
  readonly "projectId": string;
302
396
  readonly "folderId": string;
303
397
  };
304
- type Objects_58 = {
398
+ type Objects_70 = {
305
399
  readonly "applied": boolean;
306
400
  };
307
401
  type Arrays_ = ReadonlyArray<Objects_2>;
@@ -315,8 +409,9 @@ type Objects_5 = {
315
409
  readonly "optionOverrides": Arrays_2;
316
410
  readonly "expectedRevisions": Objects_6;
317
411
  };
318
- type Union_3 = Objects_9 | null | undefined;
319
- type Objects_32 = {
412
+ type Union_5 = Objects_9 | null | undefined;
413
+ type Union_1 = ReadonlyArray<Objects_11> | undefined;
414
+ type Objects_44 = {
320
415
  readonly "wakeId": string;
321
416
  readonly "threadId": string;
322
417
  readonly "dueAt": string;
@@ -329,10 +424,10 @@ type Objects_32 = {
329
424
  readonly "requestedVersion": string;
330
425
  readonly "updateId": string | null;
331
426
  readonly "expectsVerdict"?: boolean | undefined;
332
- readonly "outcome": Union_1;
427
+ readonly "outcome": Union_3;
333
428
  };
334
429
  };
335
- type Union_2 = {
430
+ type Union_4 = {
336
431
  readonly "type": "image";
337
432
  readonly "id": string;
338
433
  readonly "name": string;
@@ -356,11 +451,11 @@ type Union_2 = {
356
451
  readonly "height": number;
357
452
  };
358
453
  readonly "truncated": boolean;
359
- readonly "root": Objects_14;
454
+ readonly "root": Objects_15;
360
455
  } | undefined;
361
456
  readonly "appIdentifier"?: string | undefined;
362
457
  readonly "appIconDataUrl"?: string | undefined;
363
- } | Objects_15 | undefined;
458
+ } | Objects_16 | undefined;
364
459
  } | {
365
460
  readonly "type": "file";
366
461
  readonly "id": string;
@@ -369,23 +464,23 @@ type Union_2 = {
369
464
  readonly "sizeBytes": number;
370
465
  readonly "source"?: {
371
466
  readonly "_tag": "pasted-text";
372
- } | Objects_15 | {
467
+ } | Objects_16 | {
373
468
  readonly "_tag": "thread-reference";
374
469
  readonly "environmentId": string;
375
470
  readonly "threadId": string;
376
471
  } | undefined;
377
472
  };
378
- type Union_5 = Objects_16 | undefined;
379
- type Union_7 = Union_6 | null;
380
- type Union_9 = {
473
+ type Union_7 = Objects_17 | undefined;
474
+ type Union_10 = Union_9 | null;
475
+ type Union_12 = {
381
476
  readonly "claimId": string;
382
- readonly "claimedBy": Union_6;
477
+ readonly "claimedBy": Union_9;
383
478
  readonly "turnId"?: string | undefined;
384
479
  readonly "at": string;
385
480
  } | null;
386
- type Union_18 = {
481
+ type Union_23 = {
387
482
  readonly "kind": "human";
388
- readonly "principal": Union_10;
483
+ readonly "principal": Union_13;
389
484
  } | {
390
485
  readonly "kind": "agent";
391
486
  readonly "threadId": string;
@@ -393,36 +488,14 @@ type Union_18 = {
393
488
  readonly "kind": "remote-agent";
394
489
  readonly "principalId": string;
395
490
  };
396
- type Objects_33 = {
491
+ type Objects_45 = {
397
492
  readonly "kind": "human";
398
- readonly "principal": Union_11;
399
- };
400
- type Union_12 = Arrays_3 | Objects_22;
401
- type Objects_23 = {
402
- readonly "name": string;
403
- readonly "transport": {
404
- readonly "type": "stdio";
405
- readonly "command": string;
406
- readonly "args"?: Arrays_4 | undefined;
407
- readonly "envNames": ReadonlyArray<string>;
408
- } | {
409
- readonly "type": "http";
410
- readonly "url": string;
411
- readonly "headerNames": ReadonlyArray<string>;
412
- } | {
413
- readonly "type": "sse";
414
- readonly "url": string;
415
- readonly "headerNames": ReadonlyArray<string>;
416
- };
417
- readonly "enabled": boolean;
418
- readonly "providers": {
419
- readonly [x: string]: boolean;
420
- };
421
- readonly "catalogId"?: string | undefined;
422
- readonly "oauth"?: Objects_24 | undefined;
493
+ readonly "principal": Union_14;
423
494
  };
424
- type Union_14 = Objects_29 | undefined;
425
- type Objects_31 = {
495
+ type Union_15 = Objects_29 | undefined;
496
+ type Union_17 = Arrays_3 | Objects_35;
497
+ type Union_19 = Objects_41 | undefined;
498
+ type Objects_43 = {
426
499
  readonly "instanceId": string;
427
500
  readonly "driver": string;
428
501
  readonly "pluginId": string | null;
@@ -439,7 +512,7 @@ type Objects_31 = {
439
512
  readonly "accountKey"?: string;
440
513
  readonly "windows": ReadonlyArray<{
441
514
  readonly "id": string;
442
- readonly "label": Union_15;
515
+ readonly "label": Union_20;
443
516
  readonly "usedPercent": number;
444
517
  readonly "resetsAt": string | null;
445
518
  readonly "windowMs"?: number;
@@ -447,7 +520,7 @@ type Objects_31 = {
447
520
  }>;
448
521
  readonly "balances": ReadonlyArray<{
449
522
  readonly "id": string;
450
- readonly "label": Union_15;
523
+ readonly "label": Union_20;
451
524
  readonly "remaining": number | null;
452
525
  readonly "used": number | null;
453
526
  readonly "limit": number | null;
@@ -467,106 +540,127 @@ type Objects_31 = {
467
540
  readonly "redeemable"?: true;
468
541
  readonly "redeeming"?: true;
469
542
  };
470
- type Arrays_6 = ReadonlyArray<Objects_43>;
471
- type Objects_44 = {
543
+ type Arrays_6 = ReadonlyArray<Objects_55>;
544
+ type Objects_56 = {
472
545
  readonly "changed": boolean;
473
546
  readonly "release": number;
474
- readonly "pages": ReadonlyArray<Objects_43>;
547
+ readonly "pages": ReadonlyArray<Objects_55>;
475
548
  };
476
549
  type Union_ = Arrays_ | Arrays_1;
477
- type Union_8 = ReadonlyArray<Union_2> | undefined;
478
- type Union_16 = Objects_33 | {
550
+ type Union_11 = ReadonlyArray<Union_4> | undefined;
551
+ type Union_21 = Objects_45 | {
479
552
  readonly "kind": "local-cli";
480
553
  readonly "environmentId": string;
481
554
  } | {
482
555
  readonly "kind": "seat";
483
556
  readonly "seatId": string;
484
- } | Objects_34 | Objects_35 | {
557
+ } | Objects_46 | Objects_47 | {
485
558
  readonly "kind": "plugin";
486
559
  readonly "pluginId": string;
487
560
  } | {
488
561
  readonly "kind": "system";
489
562
  };
490
- type Union_19 = Objects_33 | Objects_34 | Objects_35;
491
- type Objects_21 = {
563
+ type Union_24 = Objects_45 | Objects_46 | Objects_47;
564
+ type Objects_36 = {
565
+ readonly "name": string;
566
+ readonly "transport": {
567
+ readonly "type": "stdio";
568
+ readonly "command": string;
569
+ readonly "args"?: Arrays_4 | undefined;
570
+ readonly "envNames": ReadonlyArray<string>;
571
+ } | {
572
+ readonly "type": "http";
573
+ readonly "url": string;
574
+ readonly "headerNames": ReadonlyArray<string>;
575
+ } | {
576
+ readonly "type": "sse";
577
+ readonly "url": string;
578
+ readonly "headerNames": ReadonlyArray<string>;
579
+ };
580
+ readonly "enabled": boolean;
581
+ readonly "providers": Objects_28;
582
+ readonly "catalogId"?: string | undefined;
583
+ readonly "oauth"?: Union_15;
584
+ };
585
+ type Objects_34 = {
492
586
  readonly "instanceId": string;
493
587
  readonly "model": string;
494
- readonly "options"?: Union_12;
588
+ readonly "options"?: Union_17;
495
589
  };
496
590
  type Objects_1 = {
497
591
  readonly "instanceId": string;
498
592
  readonly "model": string;
499
593
  readonly "options"?: Union_;
500
594
  };
501
- type Objects_19 = {
595
+ type Objects_20 = {
502
596
  readonly "items": ReadonlyArray<{
503
597
  readonly "recordId": string;
504
- readonly "from": Union_6;
505
- readonly "to": Union_7;
598
+ readonly "from": Union_9;
599
+ readonly "to": Union_10;
506
600
  readonly "replyTo": string | null;
507
601
  readonly "delivery": "quiet" | "wake" | "steer";
508
602
  readonly "createdAt": string;
509
- readonly "stages": Objects_18;
603
+ readonly "stages": Objects_19;
510
604
  readonly "idempotencyKey"?: string | undefined;
511
605
  readonly "runId"?: string | undefined;
512
606
  readonly "toRole"?: string | undefined;
513
- readonly "attachments"?: Union_8;
607
+ readonly "attachments"?: Union_11;
514
608
  readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
515
609
  readonly "projectId": string | null;
516
610
  readonly "sequence": number;
517
- readonly "claim": Union_9;
611
+ readonly "claim": Union_12;
518
612
  readonly "textPreview": string | null;
519
613
  readonly "textTruncated": boolean;
520
614
  }>;
521
615
  readonly "nextCursor": string | null;
522
616
  readonly "snapshotSequence": number;
523
617
  };
524
- type Objects_36 = {
618
+ type Objects_48 = {
525
619
  readonly "experienceId": string;
526
620
  readonly "revision": number;
527
621
  readonly "baseRevision": number | null;
528
- readonly "author": Union_16;
622
+ readonly "author": Union_21;
529
623
  readonly "createdAt": string;
530
624
  readonly "body": string | null;
531
625
  readonly "bodyState": "present" | "erased" | "unavailable";
532
- readonly "bodyWindow"?: Objects_17;
626
+ readonly "bodyWindow"?: Objects_18;
533
627
  };
534
- type Objects_40 = {
628
+ type Objects_52 = {
535
629
  readonly "pageId": string;
536
630
  readonly "revision": number;
537
631
  readonly "baseRevision": number | null;
538
632
  readonly "restoredFromRevision": number | null;
539
- readonly "author": Union_16;
633
+ readonly "author": Union_21;
540
634
  readonly "createdAt": string;
541
635
  readonly "title": string | null;
542
636
  readonly "changeSummary": string | null;
543
637
  readonly "body": string | null;
544
638
  readonly "bodyState": "present" | "erased" | "unavailable";
545
- readonly "bodyWindow"?: Objects_17;
639
+ readonly "bodyWindow"?: Objects_18;
546
640
  };
547
- type Objects_42 = {
641
+ type Objects_54 = {
548
642
  readonly "release": number;
549
643
  readonly "pages": Arrays_6;
550
644
  readonly "itemCount": number;
551
645
  readonly "itemHighWater": number;
552
646
  readonly "requiresAck": boolean;
553
647
  readonly "restoredFromRelease": number | null;
554
- readonly "sourceExperience": Union_17;
555
- readonly "publishedBy": Union_16;
648
+ readonly "sourceExperience": Union_22;
649
+ readonly "publishedBy": Union_21;
556
650
  readonly "publishedAt": string;
557
651
  };
558
- type Arrays_7 = ReadonlyArray<Union_19>;
559
- type Objects_47 = {
652
+ type Arrays_7 = ReadonlyArray<Union_24>;
653
+ type Objects_59 = {
560
654
  readonly "commentId": string;
561
655
  readonly "workItemId": string;
562
656
  readonly "projectId": string;
563
657
  readonly "sequence": number;
564
658
  readonly "revision": number;
565
- readonly "author": Union_16;
659
+ readonly "author": Union_21;
566
660
  readonly "body": string | null;
567
- readonly "bodyWindow"?: Objects_17;
661
+ readonly "bodyWindow"?: Objects_18;
568
662
  readonly "bodyState": "present" | "erased" | "unavailable";
569
- readonly "mentions": ReadonlyArray<Union_19>;
663
+ readonly "mentions": ReadonlyArray<Union_24>;
570
664
  readonly "parentId": string | null;
571
665
  readonly "createdAt": string;
572
666
  readonly "editedAt": string | null;
@@ -644,14 +738,138 @@ type Objects_10 = {
644
738
  readonly "threadId": string;
645
739
  readonly "planId": string;
646
740
  } | undefined;
647
- readonly "waitSpans"?: ReadonlyArray<{
648
- readonly "kind": "approval" | "userInput";
649
- readonly "requestId": string;
650
- readonly "startedAt": string;
651
- readonly "completedAt": string | null;
652
- }> | undefined;
741
+ readonly "waitSpans"?: Union_1;
742
+ };
743
+ type Union_6 = Objects_1 | undefined;
744
+ type Objects_25 = {
745
+ readonly "enableLegacyTokenStreaming": boolean;
746
+ readonly "enableProviderUpdateChecks": boolean;
747
+ readonly "enableAgentBrowserAccess": boolean;
748
+ readonly "enableAgentThreadDelegation": boolean;
749
+ readonly "agentRouting": {
750
+ readonly "roles": Objects_26;
751
+ readonly "allowlistOnly": boolean;
752
+ };
753
+ readonly "enableAgentSelfDevelopment": boolean;
754
+ readonly "recordProviderWire": boolean;
755
+ readonly "enableHeapSnapshot": boolean;
756
+ readonly "agentThreadDelegationMaxDepth": number;
757
+ readonly "pluginUpdateCheck": boolean;
758
+ readonly "backgroundActivityProfile": "balanced" | "performance" | "battery-saver";
759
+ readonly "environmentIcon": "server" | "cloud" | "linux" | "desktop" | "laptop" | "mac-mini" | "mac-studio" | null;
760
+ readonly "defaultThreadEnvMode": "local" | "worktree";
761
+ readonly "defaultRuntimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
762
+ readonly "newWorktreesStartFromOrigin": boolean;
763
+ readonly "addProjectBaseDirectory": string;
764
+ readonly "textGenerationModelSelection": Objects_1 | null;
765
+ readonly "sourceControlWritingStyle": {
766
+ readonly "mode": "repo_conventions" | "conventional_commits" | "custom";
767
+ readonly "customInstructions": string;
768
+ readonly "followChangeRequestTemplates": boolean;
769
+ };
770
+ readonly "sourceControlWriterModelSelection": Objects_1 | null;
771
+ readonly "defaultProxyId": string | null;
772
+ readonly "wallpaper": {
773
+ readonly "base": Objects_27;
774
+ readonly "sidebar": Objects_27 | null;
775
+ readonly "workspace": Objects_27 | null;
776
+ readonly "chat": Objects_27 | null;
777
+ };
778
+ readonly "requireManualPairingForNewDevices": boolean;
779
+ readonly "tunnelForceTcp": boolean;
780
+ readonly "automaticGitFetchInterval": number;
781
+ readonly "providerHealthRefreshInterval": number;
782
+ readonly "backgroundActivity": {
783
+ readonly "schemaVersion": 1;
784
+ readonly "profile": "balanced" | "performance" | "battery-saver" | "custom";
785
+ readonly "baseProfile"?: "balanced" | "performance" | "battery-saver";
786
+ readonly "overrides": {
787
+ readonly "automaticGitFetchInterval"?: number;
788
+ readonly "providerHealthRefreshInterval"?: number;
789
+ readonly "hostPowerMonitorActiveInterval"?: number;
790
+ readonly "hostPowerMonitorIdleInterval"?: number;
791
+ readonly "idleClientTtl"?: number;
792
+ readonly "pauseWhenHostLocked"?: boolean;
793
+ readonly "pauseWhenHostLowPower"?: boolean;
794
+ readonly "pauseWhenClientLowPower"?: boolean;
795
+ readonly "pauseWhenOnBattery"?: boolean;
796
+ };
797
+ };
798
+ readonly "npmRegistry": string;
799
+ readonly "proxies": {
800
+ readonly [x: string]: {
801
+ readonly "displayName"?: string | undefined;
802
+ readonly "protocol": "http" | "https";
803
+ readonly "host": string;
804
+ readonly "port": number;
805
+ readonly "bypass"?: string;
806
+ };
807
+ };
808
+ readonly "plugins": {
809
+ readonly "mcpServers": {
810
+ readonly [x: string]: {
811
+ readonly "name": string;
812
+ readonly "transport": {
813
+ readonly "type": "stdio";
814
+ readonly "command": string;
815
+ readonly "argCount": number;
816
+ readonly "envNames": ReadonlyArray<string>;
817
+ } | {
818
+ readonly "type": "http";
819
+ readonly "url": string;
820
+ readonly "headerNames": ReadonlyArray<string>;
821
+ } | {
822
+ readonly "type": "sse";
823
+ readonly "url": string;
824
+ readonly "headerNames": ReadonlyArray<string>;
825
+ };
826
+ readonly "enabled": boolean;
827
+ readonly "providers": Objects_28;
828
+ readonly "catalogId"?: string | undefined;
829
+ readonly "oauth"?: Union_15;
830
+ };
831
+ };
832
+ readonly "skills": {
833
+ readonly [x: string]: {
834
+ readonly "name": string;
835
+ readonly "source": {
836
+ readonly "kind": "inline";
837
+ } | Objects_30 | Objects_31;
838
+ readonly "modelInvocable": boolean;
839
+ readonly "userInvocable": boolean;
840
+ readonly "providers": Objects_32;
841
+ };
842
+ };
843
+ };
844
+ readonly "triggers": {
845
+ readonly [x: string]: {
846
+ readonly "bindingId": string;
847
+ readonly "enabled": boolean;
848
+ readonly "projectId": string;
849
+ readonly "source": {
850
+ readonly "kind": "event";
851
+ readonly "eventKind": string;
852
+ };
853
+ readonly "target": {
854
+ readonly "kind": "thread";
855
+ readonly "presetId"?: string | undefined;
856
+ } | {
857
+ readonly "kind": "plugin";
858
+ readonly "pluginId": string;
859
+ readonly "command": string;
860
+ } | {
861
+ readonly "kind": "workflow";
862
+ readonly "pluginId": string;
863
+ readonly "workflowId": string;
864
+ };
865
+ };
866
+ };
867
+ readonly "observability": {
868
+ readonly "otlpTracesUrl": string;
869
+ readonly "otlpMetricsUrl": string;
870
+ readonly "otlpLogsUrl": string;
871
+ };
653
872
  };
654
- type Union_4 = Objects_1 | undefined;
655
873
  type Objects_4 = {
656
874
  readonly "id": string;
657
875
  readonly "projectId": string;
@@ -683,9 +901,9 @@ type Objects_4 = {
683
901
  readonly "pinnedAt"?: string | null | undefined;
684
902
  readonly "pinOrderKey"?: string | null | undefined;
685
903
  readonly "sortOrderKey"?: string | null | undefined;
686
- readonly "titleRegeneration"?: Objects_11 | null | undefined;
687
- readonly "titleState"?: Objects_12 | null | undefined;
688
- readonly "session": Objects_13 | null;
904
+ readonly "titleRegeneration"?: Objects_12 | null | undefined;
905
+ readonly "titleState"?: Objects_13 | null | undefined;
906
+ readonly "session": Objects_14 | null;
689
907
  readonly "latestUserMessageAt": string | null;
690
908
  readonly "userTurnCount"?: number | undefined;
691
909
  readonly "queuedMessageCount"?: number | undefined;
@@ -703,7 +921,7 @@ type Objects_4 = {
703
921
  readonly "totalSteps": number;
704
922
  } | null | undefined;
705
923
  };
706
- type Objects_14 = {
924
+ type Objects_15 = {
707
925
  readonly "role": string;
708
926
  readonly "name"?: string;
709
927
  readonly "value"?: string;
@@ -726,9 +944,24 @@ type Objects_14 = {
726
944
  readonly "visible"?: boolean | undefined;
727
945
  };
728
946
  readonly "actions"?: ReadonlyArray<string>;
729
- readonly "children": ReadonlyArray<Objects_14>;
947
+ readonly "children": ReadonlyArray<Objects_15>;
730
948
  };
731
- type Objects_53 = {
949
+ type Union_16 = {
950
+ readonly "type": "identifier";
951
+ readonly "name": string;
952
+ } | {
953
+ readonly "type": "not";
954
+ readonly "node": Union_16;
955
+ } | {
956
+ readonly "type": "and";
957
+ readonly "left": Union_16;
958
+ readonly "right": Union_16;
959
+ } | {
960
+ readonly "type": "or";
961
+ readonly "left": Union_16;
962
+ readonly "right": Union_16;
963
+ };
964
+ type Objects_65 = {
732
965
  readonly "role": string;
733
966
  readonly "name"?: string;
734
967
  readonly "value"?: string;
@@ -751,9 +984,9 @@ type Objects_53 = {
751
984
  readonly "visible"?: boolean;
752
985
  };
753
986
  readonly "actions"?: ReadonlyArray<string>;
754
- readonly "children": ReadonlyArray<Objects_53>;
987
+ readonly "children": ReadonlyArray<Objects_65>;
755
988
  };
756
- type Objects_55 = {
989
+ type Objects_67 = {
757
990
  readonly "role": string;
758
991
  readonly "name"?: string;
759
992
  readonly "value"?: string;
@@ -776,7 +1009,7 @@ type Objects_55 = {
776
1009
  readonly "visible"?: boolean;
777
1010
  };
778
1011
  readonly "actions"?: ReadonlyArray<string>;
779
- readonly "children": ReadonlyArray<Objects_55>;
1012
+ readonly "children": ReadonlyArray<Objects_67>;
780
1013
  };
781
1014
  export type AuthRemoteAgentsListInput = {
782
1015
  readonly "projectId": string;
@@ -964,11 +1197,7 @@ export type ThreadsHistoryOutput = {
964
1197
  readonly "workerEpoch": number;
965
1198
  readonly "sourceBindingId": string | null;
966
1199
  readonly "targetBindingId": string | null;
967
- readonly "nativeLocator": {
968
- readonly "sessionId"?: string;
969
- readonly "turnId"?: string;
970
- readonly "generationId"?: string;
971
- } | null;
1200
+ readonly "nativeLocator": Union_2;
972
1201
  readonly "stage": "preparing" | "dispatching" | "running" | "reconciling";
973
1202
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
974
1203
  readonly "createdAt": string;
@@ -1000,27 +1229,27 @@ export type ThreadsHistoryOutput = {
1000
1229
  readonly "requestedVersion": string;
1001
1230
  readonly "updateId": string | null;
1002
1231
  readonly "expectsVerdict"?: boolean | undefined;
1003
- readonly "outcome": Union_1;
1232
+ readonly "outcome": Union_3;
1004
1233
  } | undefined;
1005
1234
  readonly "createdAt": string;
1006
1235
  readonly "updatedAt": string;
1007
1236
  }> | undefined;
1008
1237
  readonly "turnQueuePaused"?: boolean | undefined;
1009
1238
  readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined;
1010
- readonly "titleRegeneration"?: Objects_11 | null | undefined;
1011
- readonly "titleState"?: Objects_12 | null | undefined;
1239
+ readonly "titleRegeneration"?: Objects_12 | null | undefined;
1240
+ readonly "titleState"?: Objects_13 | null | undefined;
1012
1241
  readonly "deletedAt": string | null;
1013
1242
  readonly "messages": ReadonlyArray<{
1014
1243
  readonly "id": string;
1015
1244
  readonly "role": "user" | "assistant" | "system";
1016
1245
  readonly "text": string;
1017
- readonly "attachments"?: ReadonlyArray<Union_2> | undefined;
1246
+ readonly "attachments"?: ReadonlyArray<Union_4> | undefined;
1018
1247
  readonly "turnId": string | null;
1019
1248
  readonly "streaming": boolean;
1020
- readonly "author"?: Union_3;
1249
+ readonly "author"?: Union_5;
1021
1250
  readonly "recordId"?: string | undefined;
1022
- readonly "modelSelection"?: Union_4;
1023
- readonly "source"?: Union_5;
1251
+ readonly "modelSelection"?: Union_6;
1252
+ readonly "source"?: Union_7;
1024
1253
  readonly "createdAt": string;
1025
1254
  readonly "updatedAt": string;
1026
1255
  }>;
@@ -1057,7 +1286,7 @@ export type ThreadsHistoryOutput = {
1057
1286
  readonly "assistantMessageId": string | null;
1058
1287
  readonly "completedAt": string;
1059
1288
  }>;
1060
- readonly "session": Objects_13 | null;
1289
+ readonly "session": Objects_14 | null;
1061
1290
  };
1062
1291
  readonly "page"?: {
1063
1292
  readonly "beforeCursor": string | null;
@@ -1104,6 +1333,100 @@ export type ThreadsAgentsCountInput = {
1104
1333
  export type ThreadsAgentsCountOutput = {
1105
1334
  readonly "count": number;
1106
1335
  };
1336
+ export type ThreadsAgentsListInput = {
1337
+ readonly "threadId": string;
1338
+ readonly "cursor"?: string | null;
1339
+ readonly "limit"?: number;
1340
+ };
1341
+ export type ThreadsAgentsListOutput = {
1342
+ readonly "agents": ReadonlyArray<{
1343
+ readonly "agentKey": string;
1344
+ readonly "source": "thread" | "task";
1345
+ readonly "provider": string;
1346
+ readonly "agentId": string;
1347
+ readonly "kind": "subagent" | "workflow" | "workflow_member" | "child_thread";
1348
+ readonly "status": "pending" | "running" | "waiting" | "idle" | "completed" | "failed" | "cancelled" | "interrupted" | "deleted";
1349
+ readonly "title": string;
1350
+ readonly "spawnedSequence": number;
1351
+ readonly "firstSeenAt": string;
1352
+ readonly "updatedAt": string;
1353
+ readonly "agentThreadId"?: string | undefined;
1354
+ readonly "parentAgentKey"?: string | undefined;
1355
+ readonly "role"?: string | undefined;
1356
+ readonly "model"?: string | undefined;
1357
+ readonly "effort"?: string | undefined;
1358
+ readonly "activationCount"?: number | undefined;
1359
+ readonly "lastToolName"?: string | undefined;
1360
+ readonly "usage"?: Union_8;
1361
+ readonly "startedAt"?: string | undefined;
1362
+ readonly "completedAt"?: string | undefined;
1363
+ readonly "statusInferred"?: boolean | undefined;
1364
+ readonly "agentThreadDeleted"?: boolean | undefined;
1365
+ readonly "workflow"?: {
1366
+ readonly "agentIndex"?: number | undefined;
1367
+ readonly "phaseIndex"?: number | undefined;
1368
+ readonly "attempt"?: number | undefined;
1369
+ } | undefined;
1370
+ }>;
1371
+ readonly "nextCursor": string | null;
1372
+ };
1373
+ export type ThreadsAgentsGetInput = {
1374
+ readonly "threadId": string;
1375
+ readonly "agentKey": string;
1376
+ readonly "part"?: "progress" | "result" | "error";
1377
+ readonly "textOffset"?: number;
1378
+ readonly "textLimit"?: number;
1379
+ };
1380
+ export type ThreadsAgentsGetOutput = {
1381
+ readonly "agent"?: {
1382
+ readonly "agentKey": string;
1383
+ readonly "source": "thread" | "task";
1384
+ readonly "provider": string;
1385
+ readonly "agentId": string;
1386
+ readonly "kind": "subagent" | "workflow" | "workflow_member" | "child_thread";
1387
+ readonly "status": "pending" | "running" | "waiting" | "idle" | "completed" | "failed" | "cancelled" | "interrupted" | "deleted";
1388
+ readonly "title": string;
1389
+ readonly "spawnedSequence": number;
1390
+ readonly "firstSeenAt": string;
1391
+ readonly "updatedAt": string;
1392
+ readonly "agentThreadId"?: string | undefined;
1393
+ readonly "parentAgentKey"?: string | undefined;
1394
+ readonly "role"?: string | undefined;
1395
+ readonly "model"?: string | undefined;
1396
+ readonly "effort"?: string | undefined;
1397
+ readonly "activationCount"?: number | undefined;
1398
+ readonly "progress"?: string | undefined;
1399
+ readonly "lastToolName"?: string | undefined;
1400
+ readonly "result"?: string | undefined;
1401
+ readonly "error"?: string | undefined;
1402
+ readonly "usage"?: Union_8;
1403
+ readonly "startedAt"?: string | undefined;
1404
+ readonly "completedAt"?: string | undefined;
1405
+ readonly "statusInferred"?: boolean | undefined;
1406
+ readonly "agentThreadDeleted"?: boolean | undefined;
1407
+ readonly "workflow"?: {
1408
+ readonly "name"?: string | undefined;
1409
+ readonly "agentIndex"?: number | undefined;
1410
+ readonly "phaseIndex"?: number | undefined;
1411
+ readonly "phaseTitle"?: string | undefined;
1412
+ readonly "phases"?: ReadonlyArray<{
1413
+ readonly "index": number;
1414
+ readonly "title": string;
1415
+ }> | undefined;
1416
+ readonly "attempt"?: number | undefined;
1417
+ readonly "runHandles"?: {
1418
+ readonly "runId"?: string | undefined;
1419
+ readonly "scriptPath"?: string | undefined;
1420
+ readonly "transcriptDir"?: string | undefined;
1421
+ readonly "sessionUrl"?: string | undefined;
1422
+ } | undefined;
1423
+ readonly "outputFile"?: string | undefined;
1424
+ } | undefined;
1425
+ readonly "progressWindow"?: Objects_18;
1426
+ readonly "resultWindow"?: Objects_18;
1427
+ readonly "errorWindow"?: Objects_18;
1428
+ };
1429
+ };
1107
1430
  export type ThreadsToolCallGetInput = {
1108
1431
  readonly "threadId": string;
1109
1432
  readonly "toolCallId": string;
@@ -1121,8 +1444,8 @@ export type ThreadsToolCallGetOutput = {
1121
1444
  readonly "outputSequence"?: number | undefined;
1122
1445
  readonly "outputTurnId"?: string | undefined;
1123
1446
  readonly "exitCode"?: number | undefined;
1124
- readonly "inputWindow"?: Objects_17;
1125
- readonly "outputWindow"?: Objects_17;
1447
+ readonly "inputWindow"?: Objects_18;
1448
+ readonly "outputWindow"?: Objects_18;
1126
1449
  };
1127
1450
  export type ThreadsPluginToolPresentationGetInput = {
1128
1451
  readonly "threadId": string;
@@ -1162,14 +1485,92 @@ export type ThreadsExecutionSummaryOutput = {
1162
1485
  readonly "intentId": string;
1163
1486
  readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
1164
1487
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
1165
- readonly "position": number;
1488
+ readonly "position": number;
1489
+ }>;
1490
+ readonly "truncated": boolean;
1491
+ readonly "queuePaused": boolean;
1492
+ readonly "pendingApprovalCount": number;
1493
+ readonly "pendingUserInputCount": number;
1494
+ readonly "continuation": "active" | "queued" | "blocked" | "paused" | "idle";
1495
+ };
1496
+ export type ThreadsExecutionGetInput = {
1497
+ readonly "threadId": string;
1498
+ };
1499
+ export type ThreadsExecutionGetOutput = {
1500
+ readonly "threadId": string;
1501
+ readonly "projectId": string;
1502
+ readonly "title": string;
1503
+ readonly "modelSelection": Objects_1;
1504
+ readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1505
+ readonly "interactionMode": "default" | "plan";
1506
+ readonly "branch": string | null;
1507
+ readonly "worktreePath": string | null;
1508
+ readonly "createdAt": string;
1509
+ readonly "updatedAt": string;
1510
+ readonly "archivedAt": string | null;
1511
+ readonly "origin": Objects_8 | null;
1512
+ readonly "forkedFrom": Objects_ | null;
1513
+ readonly "session": {
1514
+ readonly "activeTurnId": string | null;
1515
+ readonly "lastError": string | null;
1516
+ readonly "updatedAt": string;
1517
+ readonly "endReason"?: "server-restart";
1518
+ readonly "failureCategory"?: "quota" | "rate-limit" | "context-limit" | "auth" | "model-unavailable" | "transport" | "unknown";
1519
+ readonly "status": string;
1520
+ readonly "providerInstanceId": string | null;
1521
+ } | null;
1522
+ readonly "latestTurn": {
1523
+ readonly "turnId": string;
1524
+ readonly "state": "running" | "interrupted" | "completed" | "error";
1525
+ readonly "requestedAt": string;
1526
+ readonly "startedAt": string | null;
1527
+ readonly "completedAt": string | null;
1528
+ readonly "assistantMessageId": string | null;
1529
+ readonly "userMessageId"?: string | undefined;
1530
+ readonly "waitSpans"?: Union_1;
1531
+ } | null;
1532
+ readonly "turnIntents": ReadonlyArray<{
1533
+ readonly "intentId": string;
1534
+ readonly "threadId": string;
1535
+ readonly "sequence": number;
1536
+ readonly "commandId": string;
1537
+ readonly "messageId": string;
1538
+ readonly "createdAt": string;
1539
+ readonly "updatedAt": string;
1540
+ readonly "revision": number;
1541
+ readonly "turn": {
1542
+ readonly "turnId": string | null;
1543
+ readonly "userMessageId": string;
1544
+ readonly "state": "pending" | "running" | "interrupted" | "completed" | "error";
1545
+ readonly "requestedAt": string;
1546
+ readonly "startedAt": string | null;
1547
+ readonly "completedAt": string | null;
1548
+ readonly "waitSpans": ReadonlyArray<Objects_11>;
1549
+ } | null;
1550
+ readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
1551
+ readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
1552
+ readonly "attempt": {
1553
+ readonly "attemptId": string;
1554
+ readonly "workerEpoch": number;
1555
+ readonly "sourceBindingId": string | null;
1556
+ readonly "targetBindingId": string | null;
1557
+ readonly "nativeLocator": Union_2;
1558
+ readonly "stage": "preparing" | "dispatching" | "running" | "reconciling";
1559
+ readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
1560
+ readonly "createdAt": string;
1561
+ readonly "updatedAt": string;
1562
+ } | null;
1563
+ readonly "blockedReason": string | null;
1564
+ readonly "replacementIntentId": string | null;
1166
1565
  }>;
1167
- readonly "truncated": boolean;
1168
1566
  readonly "queuePaused": boolean;
1567
+ readonly "providerProcessLive": boolean;
1568
+ readonly "hasPendingApprovals": boolean;
1569
+ readonly "hasPendingUserInput": boolean;
1169
1570
  readonly "pendingApprovalCount": number;
1170
1571
  readonly "pendingUserInputCount": number;
1171
- readonly "continuation": "active" | "queued" | "blocked" | "paused" | "idle";
1172
- };
1572
+ readonly "turnStartCount": number;
1573
+ } | null;
1173
1574
  export type ThreadsTurnStartsCountInput = {
1174
1575
  readonly "threadIds": ReadonlyArray<string>;
1175
1576
  };
@@ -1184,8 +1585,8 @@ export type ThreadsMessagesGetOutput = {
1184
1585
  readonly "turnId": string | null;
1185
1586
  readonly "createdAt": string;
1186
1587
  readonly "modelSelection"?: Objects_1 | undefined;
1187
- readonly "source"?: Objects_16 | undefined;
1188
- readonly "attachments": ReadonlyArray<Union_2>;
1588
+ readonly "source"?: Objects_17 | undefined;
1589
+ readonly "attachments": ReadonlyArray<Union_4>;
1189
1590
  } | null;
1190
1591
  export type ThreadsUserInputPendingListInput = {
1191
1592
  readonly "threadId": string;
@@ -1281,14 +1682,14 @@ export type ThreadsMessagesListOutput = {
1281
1682
  }> | undefined;
1282
1683
  readonly "turnId": string | null;
1283
1684
  readonly "streaming": boolean;
1284
- readonly "author"?: Union_3;
1685
+ readonly "author"?: Union_5;
1285
1686
  readonly "recordId"?: string | undefined;
1286
- readonly "modelSelection"?: Union_4;
1287
- readonly "source"?: Union_5;
1687
+ readonly "modelSelection"?: Union_6;
1688
+ readonly "source"?: Union_7;
1288
1689
  readonly "createdAt": string;
1289
1690
  readonly "updatedAt": string;
1290
1691
  readonly "attachmentsTotal"?: number;
1291
- readonly "textWindow"?: Objects_17;
1692
+ readonly "textWindow"?: Objects_18;
1292
1693
  }>;
1293
1694
  readonly "nextCursor": string | null;
1294
1695
  readonly "snapshotSequence": number;
@@ -1358,22 +1759,22 @@ export type CommunicationRecordsGetInput = {
1358
1759
  };
1359
1760
  export type CommunicationRecordsGetOutput = ReadonlyArray<{
1360
1761
  readonly "recordId": string;
1361
- readonly "from": Union_6;
1362
- readonly "to": Union_7;
1762
+ readonly "from": Union_9;
1763
+ readonly "to": Union_10;
1363
1764
  readonly "replyTo": string | null;
1364
1765
  readonly "text": string | null;
1365
1766
  readonly "delivery": "quiet" | "wake" | "steer";
1366
1767
  readonly "createdAt": string;
1367
- readonly "stages": Objects_18;
1768
+ readonly "stages": Objects_19;
1368
1769
  readonly "idempotencyKey"?: string | undefined;
1369
1770
  readonly "runId"?: string | undefined;
1370
1771
  readonly "toRole"?: string | undefined;
1371
- readonly "attachments"?: Union_8;
1772
+ readonly "attachments"?: Union_11;
1372
1773
  readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
1373
1774
  readonly "projectId": string | null;
1374
1775
  readonly "sequence": number;
1375
- readonly "claim": Union_9;
1376
- readonly "textWindow"?: Objects_17;
1776
+ readonly "claim": Union_12;
1777
+ readonly "textWindow"?: Objects_18;
1377
1778
  }>;
1378
1779
  export type CommunicationRecordsListInput = {
1379
1780
  readonly "projectId": string;
@@ -1394,16 +1795,16 @@ export type CommunicationRecordsListInput = {
1394
1795
  readonly "until"?: string | null;
1395
1796
  readonly "cursor"?: string | null;
1396
1797
  readonly "limit"?: number;
1397
- readonly "person": Union_10;
1798
+ readonly "person": Union_13;
1398
1799
  };
1399
- export type CommunicationRecordsListOutput = Objects_19;
1800
+ export type CommunicationRecordsListOutput = Objects_20;
1400
1801
  export type CommunicationInboxListInput = {
1401
1802
  readonly "projectId"?: string;
1402
1803
  readonly "pendingOnly"?: boolean;
1403
1804
  readonly "cursor"?: string | null;
1404
1805
  readonly "limit"?: number;
1405
1806
  };
1406
- export type CommunicationInboxListOutput = Objects_19;
1807
+ export type CommunicationInboxListOutput = Objects_20;
1407
1808
  export type CommunicationPeopleListInput = {
1408
1809
  readonly "projectId": string;
1409
1810
  readonly "cursor"?: string | null;
@@ -1411,7 +1812,7 @@ export type CommunicationPeopleListInput = {
1411
1812
  };
1412
1813
  export type CommunicationPeopleListOutput = {
1413
1814
  readonly "items": ReadonlyArray<{
1414
- readonly "person": Union_11;
1815
+ readonly "person": Union_14;
1415
1816
  readonly "displayName": string;
1416
1817
  }>;
1417
1818
  readonly "nextCursor": string | null;
@@ -1423,7 +1824,7 @@ export type CommunicationRecordsSendInput = {
1423
1824
  readonly "to": {
1424
1825
  readonly "threadId": string;
1425
1826
  } | {
1426
- readonly "person": Union_10;
1827
+ readonly "person": Union_13;
1427
1828
  } | {
1428
1829
  readonly "principalId": string;
1429
1830
  };
@@ -1443,20 +1844,23 @@ export type CommunicationRecordsSendOutput = {
1443
1844
  readonly "threadId"?: string;
1444
1845
  }>;
1445
1846
  };
1847
+ readonly "replayed"?: boolean;
1446
1848
  };
1447
- export type CommunicationRecordsWithdrawInput = Objects_20;
1849
+ export type CommunicationRecordsWithdrawInput = Objects_21;
1448
1850
  export type CommunicationRecordsWithdrawOutput = {
1449
1851
  readonly "sequence": number;
1450
1852
  readonly "result": {
1451
1853
  readonly "recordId": string;
1452
1854
  };
1855
+ readonly "replayed"?: boolean;
1453
1856
  };
1454
- export type CommunicationRecordsDeleteInput = Objects_20;
1857
+ export type CommunicationRecordsDeleteInput = Objects_21;
1455
1858
  export type CommunicationRecordsDeleteOutput = {
1456
1859
  readonly "sequence": number;
1457
1860
  readonly "result": {
1458
1861
  readonly "recordId": string;
1459
1862
  };
1863
+ readonly "replayed"?: boolean;
1460
1864
  };
1461
1865
  export type CommunicationRecordsNotifyInput = {
1462
1866
  readonly "threadId": string;
@@ -1469,6 +1873,7 @@ export type CommunicationRecordsNotifyOutput = {
1469
1873
  readonly "result": {
1470
1874
  readonly "recordId": string;
1471
1875
  };
1876
+ readonly "replayed"?: boolean;
1472
1877
  };
1473
1878
  export type ApprovalsPendingListInput = {
1474
1879
  readonly "threadId": string;
@@ -1486,6 +1891,317 @@ export type ApprovalsPendingListOutput = ReadonlyArray<{
1486
1891
  }> | undefined;
1487
1892
  readonly "declineReasonRelay"?: "native" | "queued" | "none" | undefined;
1488
1893
  }>;
1894
+ export type MachineSettingsUpdateInput = {
1895
+ readonly "patch": {
1896
+ readonly "enableLegacyTokenStreaming"?: boolean;
1897
+ readonly "enableProviderUpdateChecks"?: boolean;
1898
+ readonly "enableAgentBrowserAccess"?: boolean;
1899
+ readonly "enableAgentThreadDelegation"?: boolean;
1900
+ readonly "agentThreadDelegationMaxDepth"?: number;
1901
+ readonly "enableAgentSelfDevelopment"?: boolean;
1902
+ readonly "triggers"?: {
1903
+ readonly [x: string]: {
1904
+ readonly "bindingId": string;
1905
+ readonly "enabled"?: boolean;
1906
+ readonly "projectId": string;
1907
+ readonly "source": {
1908
+ readonly "kind": "event";
1909
+ readonly "eventKind": string;
1910
+ };
1911
+ readonly "target": {
1912
+ readonly "kind": "thread";
1913
+ readonly "presetId"?: string;
1914
+ } | {
1915
+ readonly "kind": "plugin";
1916
+ readonly "pluginId": string;
1917
+ readonly "command": string;
1918
+ readonly "payload": {
1919
+ readonly [x: string]: unknown;
1920
+ };
1921
+ } | {
1922
+ readonly "kind": "workflow";
1923
+ readonly "pluginId": string;
1924
+ readonly "workflowId": string;
1925
+ };
1926
+ };
1927
+ };
1928
+ readonly "agentRouting"?: {
1929
+ readonly "roles"?: {
1930
+ readonly [x: string]: {
1931
+ readonly "instanceId": string;
1932
+ readonly "model": string;
1933
+ };
1934
+ };
1935
+ readonly "allowlistOnly"?: boolean;
1936
+ };
1937
+ readonly "backgroundActivity"?: {
1938
+ readonly "schemaVersion"?: 1;
1939
+ readonly "profile"?: "balanced" | "performance" | "battery-saver" | "custom";
1940
+ readonly "baseProfile"?: "balanced" | "performance" | "battery-saver";
1941
+ readonly "overrides"?: {
1942
+ readonly "automaticGitFetchInterval"?: number;
1943
+ readonly "providerHealthRefreshInterval"?: number;
1944
+ readonly "hostPowerMonitorActiveInterval"?: number;
1945
+ readonly "hostPowerMonitorIdleInterval"?: number;
1946
+ readonly "idleClientTtl"?: number;
1947
+ readonly "pauseWhenHostLocked"?: boolean;
1948
+ readonly "pauseWhenHostLowPower"?: boolean;
1949
+ readonly "pauseWhenClientLowPower"?: boolean;
1950
+ readonly "pauseWhenOnBattery"?: boolean;
1951
+ };
1952
+ };
1953
+ readonly "automaticGitFetchInterval"?: number;
1954
+ readonly "providerHealthRefreshInterval"?: number;
1955
+ readonly "npmRegistry"?: string;
1956
+ readonly "pluginUpdateCheck"?: boolean;
1957
+ readonly "backgroundActivityProfile"?: "balanced" | "performance" | "battery-saver";
1958
+ readonly "environmentIcon"?: "server" | "cloud" | "linux" | "desktop" | "laptop" | "mac-mini" | "mac-studio" | null;
1959
+ readonly "defaultThreadEnvMode"?: "local" | "worktree";
1960
+ readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1961
+ readonly "newWorktreesStartFromOrigin"?: boolean;
1962
+ readonly "addProjectBaseDirectory"?: string;
1963
+ readonly "textGenerationModelSelection"?: {
1964
+ readonly "instanceId"?: string;
1965
+ readonly "model"?: string;
1966
+ readonly "options"?: ReadonlyArray<{
1967
+ readonly "id": string;
1968
+ readonly "value": string | boolean;
1969
+ }> | {
1970
+ readonly [x: string]: unknown;
1971
+ };
1972
+ } | null;
1973
+ readonly "sourceControlWritingStyle"?: {
1974
+ readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom";
1975
+ readonly "customInstructions"?: string;
1976
+ readonly "followChangeRequestTemplates"?: boolean;
1977
+ };
1978
+ readonly "sourceControlWriterModelSelection"?: {
1979
+ readonly "provider"?: unknown;
1980
+ readonly "instanceId"?: unknown;
1981
+ readonly "model": unknown;
1982
+ readonly "options"?: unknown;
1983
+ } | null;
1984
+ readonly "observability"?: {
1985
+ readonly "otlpTracesUrl"?: string;
1986
+ readonly "otlpMetricsUrl"?: string;
1987
+ readonly "otlpLogsUrl"?: string;
1988
+ };
1989
+ readonly "providerInstances"?: {
1990
+ readonly [x: string]: {
1991
+ readonly "driver": string;
1992
+ readonly "displayName"?: string;
1993
+ readonly "accentColor"?: string;
1994
+ readonly "environment"?: ReadonlyArray<Objects_22>;
1995
+ readonly "proxyId"?: null | string | {
1996
+ readonly "required": string;
1997
+ };
1998
+ readonly "enabled"?: boolean;
1999
+ readonly "hiddenModels"?: ReadonlyArray<string>;
2000
+ readonly "modelOrder"?: ReadonlyArray<string>;
2001
+ readonly "defaultModel"?: string;
2002
+ readonly "config"?: unknown;
2003
+ readonly "configSecretFields"?: ReadonlyArray<string>;
2004
+ };
2005
+ };
2006
+ readonly "proxies"?: {
2007
+ readonly [x: string]: {
2008
+ readonly "displayName"?: string;
2009
+ readonly "protocol": "http" | "https";
2010
+ readonly "host": string;
2011
+ readonly "port": number;
2012
+ readonly "username"?: string;
2013
+ readonly "bypass"?: string;
2014
+ readonly "credentials"?: ReadonlyArray<Objects_22>;
2015
+ };
2016
+ };
2017
+ readonly "defaultProxyId"?: string | null;
2018
+ readonly "plugins"?: {
2019
+ readonly "mcpServers"?: {
2020
+ readonly [x: string]: {
2021
+ readonly "name": string;
2022
+ readonly "transport": {
2023
+ readonly "type": "stdio";
2024
+ readonly "command": string;
2025
+ readonly "args"?: ReadonlyArray<string>;
2026
+ readonly "env"?: {
2027
+ readonly [x: string]: string;
2028
+ };
2029
+ } | {
2030
+ readonly "type": "http";
2031
+ readonly "url": string;
2032
+ readonly "headers"?: {
2033
+ readonly [x: string]: string;
2034
+ };
2035
+ } | {
2036
+ readonly "type": "sse";
2037
+ readonly "url": string;
2038
+ readonly "headers"?: {
2039
+ readonly [x: string]: string;
2040
+ };
2041
+ };
2042
+ readonly "enabled"?: boolean;
2043
+ readonly "providers"?: Objects_23;
2044
+ readonly "catalogId"?: string;
2045
+ readonly "oauth"?: {
2046
+ readonly "status": "none" | "required" | "authorized";
2047
+ };
2048
+ };
2049
+ };
2050
+ readonly "skills"?: {
2051
+ readonly [x: string]: {
2052
+ readonly "name": string;
2053
+ readonly "source": {
2054
+ readonly "kind": "inline";
2055
+ readonly "skillMd": string;
2056
+ } | {
2057
+ readonly "kind": "builtin";
2058
+ readonly "id": string;
2059
+ } | {
2060
+ readonly "kind": "catalog";
2061
+ readonly "catalogId": string;
2062
+ readonly "version": string;
2063
+ };
2064
+ readonly "modelInvocable"?: boolean;
2065
+ readonly "userInvocable"?: boolean;
2066
+ readonly "providers"?: Objects_23;
2067
+ };
2068
+ };
2069
+ };
2070
+ readonly "requireManualPairingForNewDevices"?: boolean;
2071
+ readonly "tunnelForceTcp"?: boolean;
2072
+ readonly "wallpaper"?: {
2073
+ readonly "base": Objects_24;
2074
+ readonly "sidebar": Objects_24 | null;
2075
+ readonly "workspace": Objects_24 | null;
2076
+ readonly "chat": Objects_24 | null;
2077
+ };
2078
+ };
2079
+ };
2080
+ export type MachineSettingsUpdateOutput = Objects_25;
2081
+ export type MachineSettingsKeybindingsUpsertInput = {
2082
+ readonly "key": string;
2083
+ readonly "command": "sidebar.toggle" | "navigation.back" | "navigation.forward" | "terminal.toggle" | "terminal.split" | "terminal.splitVertical" | "terminal.new" | "terminal.close" | "rightPanel.toggle" | "rightPanel.toggleMaximized" | "rightPanel.close" | "diff.toggle" | "preview.toggle" | "preview.refresh" | "preview.focusUrl" | "preview.zoomIn" | "preview.zoomOut" | "preview.resetZoom" | "commandPalette.toggle" | "filePicker.toggle" | "projectSearch.toggle" | "theme.select" | "appearance.cycle" | "threadSearch.focus" | "themeEditor.toggle" | "composer.stash" | "chat.new" | "chat.newLocal" | "chat.toggleTrajectory" | "approval.approve" | "approval.decline" | "approval.cancel" | "modelPicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "runtimeMode.cycle" | "runtimeMode.cycleBack" | "thread.previous" | "thread.next" | "thread.copyReference" | "thread.settle" | "thread.pin" | "thread.undo" | "thread.interrupt" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | `${"script."}${string}${".run"}`;
2084
+ readonly "when"?: string;
2085
+ readonly "replace"?: {
2086
+ readonly "key": string;
2087
+ readonly "command": "sidebar.toggle" | "navigation.back" | "navigation.forward" | "terminal.toggle" | "terminal.split" | "terminal.splitVertical" | "terminal.new" | "terminal.close" | "rightPanel.toggle" | "rightPanel.toggleMaximized" | "rightPanel.close" | "diff.toggle" | "preview.toggle" | "preview.refresh" | "preview.focusUrl" | "preview.zoomIn" | "preview.zoomOut" | "preview.resetZoom" | "commandPalette.toggle" | "filePicker.toggle" | "projectSearch.toggle" | "theme.select" | "appearance.cycle" | "threadSearch.focus" | "themeEditor.toggle" | "composer.stash" | "chat.new" | "chat.newLocal" | "chat.toggleTrajectory" | "approval.approve" | "approval.decline" | "approval.cancel" | "modelPicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "runtimeMode.cycle" | "runtimeMode.cycleBack" | "thread.previous" | "thread.next" | "thread.copyReference" | "thread.settle" | "thread.pin" | "thread.undo" | "thread.interrupt" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | `${"script."}${string}${".run"}`;
2088
+ readonly "when"?: string;
2089
+ };
2090
+ };
2091
+ export type MachineSettingsKeybindingsUpsertOutput = Objects_33;
2092
+ export type MachineSettingsKeybindingsRemoveInput = {
2093
+ readonly "key": string;
2094
+ readonly "command": "sidebar.toggle" | "navigation.back" | "navigation.forward" | "terminal.toggle" | "terminal.split" | "terminal.splitVertical" | "terminal.new" | "terminal.close" | "rightPanel.toggle" | "rightPanel.toggleMaximized" | "rightPanel.close" | "diff.toggle" | "preview.toggle" | "preview.refresh" | "preview.focusUrl" | "preview.zoomIn" | "preview.zoomOut" | "preview.resetZoom" | "commandPalette.toggle" | "filePicker.toggle" | "projectSearch.toggle" | "theme.select" | "appearance.cycle" | "threadSearch.focus" | "themeEditor.toggle" | "composer.stash" | "chat.new" | "chat.newLocal" | "chat.toggleTrajectory" | "approval.approve" | "approval.decline" | "approval.cancel" | "modelPicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "runtimeMode.cycle" | "runtimeMode.cycleBack" | "thread.previous" | "thread.next" | "thread.copyReference" | "thread.settle" | "thread.pin" | "thread.undo" | "thread.interrupt" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | `${"script."}${string}${".run"}`;
2095
+ readonly "when"?: string;
2096
+ };
2097
+ export type MachineSettingsKeybindingsRemoveOutput = Objects_33;
2098
+ export type MachineSettingsWallpaperAdoptInput = {
2099
+ readonly "attachmentId": string;
2100
+ };
2101
+ export type MachineSettingsWallpaperAdoptOutput = {
2102
+ readonly "wallpaperId": string;
2103
+ };
2104
+ export type MachineSettingsConnectPreferencesUpdateInput = {
2105
+ readonly "publishAgentActivity": boolean;
2106
+ };
2107
+ export type MachineSettingsConnectPreferencesUpdateOutput = {
2108
+ readonly "linked": boolean;
2109
+ readonly "cloudUserId": string | null;
2110
+ readonly "relayUrl": string | null;
2111
+ readonly "relayIssuer": string | null;
2112
+ readonly "managedTunnelActive"?: boolean | undefined;
2113
+ readonly "publishAgentActivity": boolean;
2114
+ readonly "lastReconcileAttempt"?: {
2115
+ readonly "outcome": "ok" | "error";
2116
+ readonly "attemptedAt": SchemaUtc;
2117
+ readonly "message"?: string;
2118
+ } | undefined;
2119
+ };
2120
+ export type MachineSettingsGetInput = {};
2121
+ export type MachineSettingsGetOutput = Objects_25;
2122
+ export type MachineSettingsConfigGetInput = {};
2123
+ export type MachineSettingsConfigGetOutput = {
2124
+ readonly "environment": {
2125
+ readonly "environmentId": string;
2126
+ readonly "label": string;
2127
+ readonly "platform": {
2128
+ readonly "os": "darwin" | "linux" | "windows" | "unknown";
2129
+ readonly "arch": "arm64" | "x64" | "other";
2130
+ readonly "machine"?: "server" | "cloud" | "linux" | "desktop" | "laptop" | "mac-mini" | "mac-studio" | undefined;
2131
+ };
2132
+ readonly "serverVersion": string;
2133
+ readonly "wireProtocolVersion"?: number;
2134
+ readonly "minClientWireProtocolVersion"?: number;
2135
+ readonly "capabilities": {
2136
+ readonly "repositoryIdentity": boolean;
2137
+ readonly "connectionProbe"?: boolean;
2138
+ readonly "reviewDiffFiles"?: boolean;
2139
+ readonly "attachmentUploads"?: boolean;
2140
+ readonly "questionAttachments"?: boolean;
2141
+ readonly "threadSettlement"?: boolean;
2142
+ readonly "threadSnooze"?: boolean;
2143
+ readonly "threadPinning"?: boolean;
2144
+ readonly "threadPinReorder"?: boolean;
2145
+ readonly "manualOrdering"?: boolean;
2146
+ readonly "projectCopies"?: boolean;
2147
+ readonly "projectArchive"?: boolean;
2148
+ readonly "projectCloneInBackground"?: boolean;
2149
+ readonly "worktreeSetupProgress"?: boolean;
2150
+ readonly "threadTitleRegeneration"?: boolean;
2151
+ readonly "threadPullRequestLinking"?: boolean;
2152
+ readonly "environmentIcon"?: boolean;
2153
+ readonly "serverSelfUpdate"?: "boot-service" | "respawn" | "desktop-managed";
2154
+ readonly "serverSelfUpdateProgress"?: boolean;
2155
+ readonly "downloadBaseUrl"?: string;
2156
+ readonly "agentActivityPublishing"?: boolean;
2157
+ readonly "noiseIk"?: boolean;
2158
+ readonly "browserArtifactDelivery"?: boolean;
2159
+ readonly "pluginNotifications"?: boolean;
2160
+ readonly "pluginPurge"?: boolean;
2161
+ readonly "pluginUpdateAdvisories"?: boolean;
2162
+ };
2163
+ readonly "noiseStaticPublicKey"?: string;
2164
+ };
2165
+ readonly "auth": {
2166
+ readonly "policy": "desktop-managed-local" | "loopback-browser" | "remote-reachable" | "unsafe-no-auth";
2167
+ readonly "bootstrapMethods": ReadonlyArray<"desktop-bootstrap" | "one-time-token">;
2168
+ readonly "sessionMethods": ReadonlyArray<"browser-session-cookie" | "bearer-access-token" | "dpop-access-token">;
2169
+ readonly "sessionCookieName": string;
2170
+ };
2171
+ readonly "cwd": string;
2172
+ readonly "observability": {
2173
+ readonly "logsDirectoryPath": string;
2174
+ readonly "localTracingEnabled": boolean;
2175
+ readonly "otlpTracesUrl"?: string;
2176
+ readonly "otlpTracesEnabled": boolean;
2177
+ readonly "otlpMetricsUrl"?: string;
2178
+ readonly "otlpMetricsEnabled": boolean;
2179
+ readonly "otlpLogsUrl"?: string;
2180
+ readonly "otlpLogsEnabled": boolean;
2181
+ };
2182
+ };
2183
+ export type MachineSettingsPresetsListInput = {};
2184
+ export type MachineSettingsPresetsListOutput = {
2185
+ readonly "presets": ReadonlyArray<{
2186
+ readonly "presetId": string;
2187
+ readonly "displayName": string;
2188
+ readonly "description"?: string | undefined;
2189
+ readonly "mcpServers"?: ReadonlyArray<string> | undefined;
2190
+ readonly "skills"?: ReadonlyArray<string> | undefined;
2191
+ readonly "toolkits"?: ReadonlyArray<"preview" | "orchestration" | "team" | "selfdev" | "board" | "memory"> | undefined;
2192
+ readonly "promptPrefix"?: string | undefined;
2193
+ }>;
2194
+ };
2195
+ export type MachineSettingsProxiesListInput = {};
2196
+ export type MachineSettingsProxiesListOutput = ReadonlyArray<{
2197
+ readonly "id": string;
2198
+ readonly "displayName"?: string | undefined;
2199
+ readonly "protocol": "http" | "https";
2200
+ readonly "host": string;
2201
+ readonly "port": number;
2202
+ readonly "bypass"?: string;
2203
+ readonly "isDefault": boolean;
2204
+ }>;
1489
2205
  export type ProvidersInstancesListInput = {};
1490
2206
  export type ProvidersInstancesListOutput = ReadonlyArray<{
1491
2207
  readonly "instanceId": string;
@@ -1509,19 +2225,14 @@ export type ProvidersInstancesListOutput = ReadonlyArray<{
1509
2225
  }>;
1510
2226
  export type ProvidersRoutingGetInput = {};
1511
2227
  export type ProvidersRoutingGetOutput = {
1512
- readonly "roles": {
1513
- readonly [x: string]: {
1514
- readonly "instanceId": string;
1515
- readonly "model": string;
1516
- };
1517
- };
2228
+ readonly "roles": Objects_26;
1518
2229
  readonly "allowlistOnly": boolean;
1519
2230
  };
1520
2231
  export type ProvidersSelectionResolveInput = {
1521
- readonly "base": Objects_21 | null;
2232
+ readonly "base": Objects_34 | null;
1522
2233
  readonly "instanceId"?: string;
1523
2234
  readonly "model"?: string;
1524
- readonly "options"?: Arrays_3 | Objects_22;
2235
+ readonly "options"?: Arrays_3 | Objects_35;
1525
2236
  readonly "routingKey"?: string;
1526
2237
  };
1527
2238
  export type ProvidersSelectionResolveOutput = {
@@ -1731,24 +2442,15 @@ export type PluginsProjectConfigGetInput = {
1731
2442
  export type PluginsProjectConfigGetOutput = {
1732
2443
  readonly "config": {
1733
2444
  readonly "mcpServers"?: {
1734
- readonly [x: string]: Objects_23;
2445
+ readonly [x: string]: Objects_36;
1735
2446
  };
1736
2447
  readonly "skills"?: {
1737
2448
  readonly [x: string]: {
1738
2449
  readonly "name": string;
1739
- readonly "source": Objects_25 | {
1740
- readonly "kind": "builtin";
1741
- readonly "id": string;
1742
- } | {
1743
- readonly "kind": "catalog";
1744
- readonly "catalogId": string;
1745
- readonly "version": string;
1746
- };
2450
+ readonly "source": Objects_37 | Objects_30 | Objects_31;
1747
2451
  readonly "modelInvocable": boolean;
1748
2452
  readonly "userInvocable": boolean;
1749
- readonly "providers": {
1750
- readonly [x: string]: boolean;
1751
- };
2453
+ readonly "providers": Objects_32;
1752
2454
  };
1753
2455
  };
1754
2456
  };
@@ -1764,26 +2466,26 @@ export type PluginsProjectConfigUpdateInput = {
1764
2466
  readonly "type": "stdio";
1765
2467
  readonly "command": string;
1766
2468
  readonly "args"?: Arrays_4;
1767
- readonly "env"?: Objects_26;
2469
+ readonly "env"?: Objects_38;
1768
2470
  } | {
1769
2471
  readonly "type": "http";
1770
2472
  readonly "url": string;
1771
- readonly "headers"?: Objects_26;
2473
+ readonly "headers"?: Objects_38;
1772
2474
  } | {
1773
2475
  readonly "type": "sse";
1774
2476
  readonly "url": string;
1775
- readonly "headers"?: Objects_26;
2477
+ readonly "headers"?: Objects_38;
1776
2478
  };
1777
2479
  readonly "enabled"?: boolean;
1778
- readonly "providers"?: Objects_27;
2480
+ readonly "providers"?: Objects_39;
1779
2481
  readonly "catalogId"?: string;
1780
- readonly "oauth"?: Objects_24;
2482
+ readonly "oauth"?: Objects_29;
1781
2483
  };
1782
2484
  };
1783
2485
  readonly "skills"?: {
1784
2486
  readonly [x: string]: {
1785
2487
  readonly "name": string;
1786
- readonly "source": Objects_25 | {
2488
+ readonly "source": Objects_37 | {
1787
2489
  readonly "kind": "builtin";
1788
2490
  readonly "id": string;
1789
2491
  } | {
@@ -1793,7 +2495,7 @@ export type PluginsProjectConfigUpdateInput = {
1793
2495
  };
1794
2496
  readonly "modelInvocable"?: boolean;
1795
2497
  readonly "userInvocable"?: boolean;
1796
- readonly "providers"?: Objects_27;
2498
+ readonly "providers"?: Objects_39;
1797
2499
  };
1798
2500
  };
1799
2501
  };
@@ -2003,9 +2705,9 @@ export type PluginsNotificationsListOutput = {
2003
2705
  };
2004
2706
  }>;
2005
2707
  };
2006
- export type PluginsNotificationsMarkReadInput = Objects_28;
2708
+ export type PluginsNotificationsMarkReadInput = Objects_40;
2007
2709
  export type PluginsNotificationsMarkReadOutput = {};
2008
- export type PluginsNotificationsClearInput = Objects_28;
2710
+ export type PluginsNotificationsClearInput = Objects_40;
2009
2711
  export type PluginsNotificationsClearOutput = {};
2010
2712
  export type PluginsSettingsCardsListInput = {};
2011
2713
  export type PluginsSettingsCardsListOutput = {
@@ -2026,8 +2728,8 @@ export type PluginsSettingsCardsListOutput = {
2026
2728
  readonly "placeholder"?: string | undefined;
2027
2729
  readonly "placeholderKey"?: string | undefined;
2028
2730
  readonly "required"?: boolean | undefined;
2029
- readonly "options"?: Union_13;
2030
- readonly "showWhen"?: Union_14;
2731
+ readonly "options"?: Union_18;
2732
+ readonly "showWhen"?: Union_19;
2031
2733
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" | "table";
2032
2734
  readonly "columns"?: ReadonlyArray<{
2033
2735
  readonly "key": string;
@@ -2038,8 +2740,8 @@ export type PluginsSettingsCardsListOutput = {
2038
2740
  readonly "placeholder"?: string | undefined;
2039
2741
  readonly "placeholderKey"?: string | undefined;
2040
2742
  readonly "required"?: boolean | undefined;
2041
- readonly "options"?: Union_13;
2042
- readonly "showWhen"?: Union_14;
2743
+ readonly "options"?: Union_18;
2744
+ readonly "showWhen"?: Union_19;
2043
2745
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy";
2044
2746
  }> | undefined;
2045
2747
  readonly "rowIds"?: "client" | "plugin" | undefined;
@@ -2050,7 +2752,7 @@ export type PluginsSettingsCardsListOutput = {
2050
2752
  readonly "badgeKey"?: string | undefined;
2051
2753
  readonly "warningKey"?: string | undefined;
2052
2754
  readonly "command": string;
2053
- readonly "showWhen"?: Objects_29 | undefined;
2755
+ readonly "showWhen"?: Objects_41 | undefined;
2054
2756
  readonly "fills": ReadonlyArray<string>;
2055
2757
  }> | undefined;
2056
2758
  }>;
@@ -2062,7 +2764,7 @@ export type PluginsSettingsCardsListOutput = {
2062
2764
  readonly "warningKey"?: string | undefined;
2063
2765
  readonly "command": string;
2064
2766
  }> | undefined;
2065
- readonly "values": Objects_30;
2767
+ readonly "values": Objects_42;
2066
2768
  readonly "secretFields"?: ReadonlyArray<string> | undefined;
2067
2769
  readonly "secretCells"?: ReadonlyArray<{
2068
2770
  readonly "field": string;
@@ -2073,7 +2775,7 @@ export type PluginsSettingsCardsListOutput = {
2073
2775
  };
2074
2776
  export type PluginsSettingsCardsUpdateValuesInput = {
2075
2777
  readonly "entryId": string;
2076
- readonly "values": Objects_30;
2778
+ readonly "values": Objects_42;
2077
2779
  readonly "revision": string;
2078
2780
  };
2079
2781
  export type PluginsSettingsCardsUpdateValuesOutput = {
@@ -2085,7 +2787,7 @@ export type PluginsConnectorsInstallInput = {
2085
2787
  readonly "requestId"?: string;
2086
2788
  };
2087
2789
  export type PluginsConnectorsInstallOutput = {
2088
- readonly "entry": Objects_23;
2790
+ readonly "entry": Objects_36;
2089
2791
  };
2090
2792
  export type UsageQuotaGetInput = {
2091
2793
  readonly "instanceIds"?: ReadonlyArray<string>;
@@ -2094,7 +2796,7 @@ export type UsageQuotaGetInput = {
2094
2796
  export type UsageQuotaGetOutput = {
2095
2797
  readonly "contractVersion": number;
2096
2798
  readonly "hostId": string;
2097
- readonly "instances": ReadonlyArray<Objects_31>;
2799
+ readonly "instances": ReadonlyArray<Objects_43>;
2098
2800
  };
2099
2801
  export type UsageTokensGetInput = {
2100
2802
  readonly "sinceDay": string;
@@ -2159,21 +2861,21 @@ export type UsageQuotaRedeemResetInput = {
2159
2861
  };
2160
2862
  export type UsageQuotaRedeemResetOutput = {
2161
2863
  readonly "outcome": "reset" | "nothingToReset" | "noCredit" | "alreadyRedeemed";
2162
- readonly "instance": Objects_31;
2864
+ readonly "instance": Objects_43;
2163
2865
  };
2164
2866
  export type WakesCancelInput = {
2165
2867
  readonly "wakeId": string;
2166
2868
  readonly "requestId"?: string;
2167
2869
  };
2168
2870
  export type WakesCancelOutput = {
2169
- readonly "wake": Objects_32;
2871
+ readonly "wake": Objects_44;
2170
2872
  };
2171
2873
  export type WakesListInput = {
2172
2874
  readonly "threadId"?: string;
2173
2875
  readonly "state"?: "scheduled" | "fired" | "cancelled";
2174
2876
  };
2175
2877
  export type WakesListOutput = {
2176
- readonly "wakes": ReadonlyArray<Objects_32>;
2878
+ readonly "wakes": ReadonlyArray<Objects_44>;
2177
2879
  };
2178
2880
  export type SkillsListInput = {
2179
2881
  readonly "threadId"?: string;
@@ -2194,7 +2896,7 @@ export type SkillsReadOutput = {
2194
2896
  readonly "name": string;
2195
2897
  readonly "directory": string;
2196
2898
  readonly "content": string;
2197
- readonly "contentWindow"?: Objects_17;
2899
+ readonly "contentWindow"?: Objects_18;
2198
2900
  };
2199
2901
  export type MemoryExperiencesListInput = {
2200
2902
  readonly "projectId": string;
@@ -2206,7 +2908,7 @@ export type MemoryExperiencesListOutput = {
2206
2908
  readonly "items": ReadonlyArray<{
2207
2909
  readonly "experienceId": string;
2208
2910
  readonly "status": "active" | "forgotten" | "erased";
2209
- readonly "author": Union_16;
2911
+ readonly "author": Union_21;
2210
2912
  readonly "sourceThreadId": string | null;
2211
2913
  readonly "sourceTurnId": string | null;
2212
2914
  readonly "currentRevision": number;
@@ -2227,7 +2929,7 @@ export type MemoryExperiencesGetInput = {
2227
2929
  export type MemoryExperiencesGetOutput = {
2228
2930
  readonly "experienceId": string;
2229
2931
  readonly "status": "active" | "forgotten" | "erased";
2230
- readonly "author": Union_16;
2932
+ readonly "author": Union_21;
2231
2933
  readonly "sourceThreadId": string | null;
2232
2934
  readonly "sourceTurnId": string | null;
2233
2935
  readonly "currentRevision": number;
@@ -2236,11 +2938,11 @@ export type MemoryExperiencesGetOutput = {
2236
2938
  readonly "supersedes": Arrays_5;
2237
2939
  readonly "bodyState": "present" | "erased" | "unavailable";
2238
2940
  readonly "body": string | null;
2239
- readonly "bodyWindow"?: Objects_17;
2941
+ readonly "bodyWindow"?: Objects_18;
2240
2942
  readonly "forgottenAt": string | null;
2241
- readonly "forgottenBy": Union_16 | null;
2943
+ readonly "forgottenBy": Union_21 | null;
2242
2944
  readonly "erasedAt": string | null;
2243
- readonly "erasedBy": Union_16 | null;
2945
+ readonly "erasedBy": Union_21 | null;
2244
2946
  };
2245
2947
  export type MemoryExperiencesHistoryInput = {
2246
2948
  readonly "projectId": string;
@@ -2251,7 +2953,7 @@ export type MemoryExperiencesHistoryInput = {
2251
2953
  readonly "textLimit"?: number;
2252
2954
  };
2253
2955
  export type MemoryExperiencesHistoryOutput = {
2254
- readonly "items": ReadonlyArray<Objects_36>;
2956
+ readonly "items": ReadonlyArray<Objects_48>;
2255
2957
  readonly "nextCursor": string | null;
2256
2958
  };
2257
2959
  export type MemoryRevisionsGetInput = {
@@ -2261,7 +2963,7 @@ export type MemoryRevisionsGetInput = {
2261
2963
  readonly "textOffset"?: number;
2262
2964
  readonly "textLimit"?: number;
2263
2965
  };
2264
- export type MemoryRevisionsGetOutput = Objects_36;
2966
+ export type MemoryRevisionsGetOutput = Objects_48;
2265
2967
  export type MemorySearchInput = {
2266
2968
  readonly "projectId": string;
2267
2969
  readonly "text": string;
@@ -2297,7 +2999,8 @@ export type MemoryExperiencesRecordInput = {
2297
2999
  };
2298
3000
  export type MemoryExperiencesRecordOutput = {
2299
3001
  readonly "sequence": number;
2300
- readonly "result": Objects_37;
3002
+ readonly "result": Objects_49;
3003
+ readonly "replayed"?: boolean;
2301
3004
  };
2302
3005
  export type MemoryExperiencesReviseInput = {
2303
3006
  readonly "projectId": string;
@@ -2308,18 +3011,20 @@ export type MemoryExperiencesReviseInput = {
2308
3011
  };
2309
3012
  export type MemoryExperiencesReviseOutput = {
2310
3013
  readonly "sequence": number;
2311
- readonly "result": Objects_37;
2312
- };
2313
- export type MemoryExperiencesForgetInput = Objects_38;
2314
- export type MemoryExperiencesForgetOutput = Objects_39;
2315
- export type MemoryExperiencesRestoreInput = Objects_38;
2316
- export type MemoryExperiencesRestoreOutput = Objects_39;
2317
- export type MemoryExperiencesEraseInput = Objects_38;
3014
+ readonly "result": Objects_49;
3015
+ readonly "replayed"?: boolean;
3016
+ };
3017
+ export type MemoryExperiencesForgetInput = Objects_50;
3018
+ export type MemoryExperiencesForgetOutput = Objects_51;
3019
+ export type MemoryExperiencesRestoreInput = Objects_50;
3020
+ export type MemoryExperiencesRestoreOutput = Objects_51;
3021
+ export type MemoryExperiencesEraseInput = Objects_50;
2318
3022
  export type MemoryExperiencesEraseOutput = {
2319
3023
  readonly "sequence": number;
2320
3024
  readonly "result": {
2321
3025
  readonly "experienceId": string;
2322
3026
  };
3027
+ readonly "replayed"?: boolean;
2323
3028
  };
2324
3029
  export type MemoryPagesListInput = {
2325
3030
  readonly "projectId": string;
@@ -2364,10 +3069,10 @@ export type MemoryPagesGetOutput = {
2364
3069
  readonly "updatedAt": string;
2365
3070
  readonly "title": string | null;
2366
3071
  readonly "bodyState": "present" | "erased" | "unavailable";
2367
- readonly "createdBy": Union_16;
3072
+ readonly "createdBy": Union_21;
2368
3073
  readonly "body": string | null;
2369
- readonly "bodyWindow"?: Objects_17;
2370
- readonly "erasedBy": Union_16 | null;
3074
+ readonly "bodyWindow"?: Objects_18;
3075
+ readonly "erasedBy": Union_21 | null;
2371
3076
  };
2372
3077
  export type MemoryPagesHistoryInput = {
2373
3078
  readonly "projectId": string;
@@ -2378,7 +3083,7 @@ export type MemoryPagesHistoryInput = {
2378
3083
  readonly "textLimit"?: number;
2379
3084
  };
2380
3085
  export type MemoryPagesHistoryOutput = {
2381
- readonly "items": ReadonlyArray<Objects_40>;
3086
+ readonly "items": ReadonlyArray<Objects_52>;
2382
3087
  readonly "nextCursor": string | null;
2383
3088
  };
2384
3089
  export type MemoryPageRevisionsGetInput = {
@@ -2388,7 +3093,7 @@ export type MemoryPageRevisionsGetInput = {
2388
3093
  readonly "textOffset"?: number;
2389
3094
  readonly "textLimit"?: number;
2390
3095
  };
2391
- export type MemoryPageRevisionsGetOutput = Objects_40;
3096
+ export type MemoryPageRevisionsGetOutput = Objects_52;
2392
3097
  export type MemoryPagesCreateInput = {
2393
3098
  readonly "projectId": string;
2394
3099
  readonly "requestId"?: string;
@@ -2401,7 +3106,8 @@ export type MemoryPagesCreateInput = {
2401
3106
  };
2402
3107
  export type MemoryPagesCreateOutput = {
2403
3108
  readonly "sequence": number;
2404
- readonly "result": Objects_41;
3109
+ readonly "result": Objects_53;
3110
+ readonly "replayed"?: boolean;
2405
3111
  };
2406
3112
  export type MemoryPagesEditInput = {
2407
3113
  readonly "projectId": string;
@@ -2414,7 +3120,8 @@ export type MemoryPagesEditInput = {
2414
3120
  };
2415
3121
  export type MemoryPagesEditOutput = {
2416
3122
  readonly "sequence": number;
2417
- readonly "result": Objects_41;
3123
+ readonly "result": Objects_53;
3124
+ readonly "replayed"?: boolean;
2418
3125
  };
2419
3126
  export type MemoryPagesRestoreInput = {
2420
3127
  readonly "projectId": string;
@@ -2425,7 +3132,8 @@ export type MemoryPagesRestoreInput = {
2425
3132
  };
2426
3133
  export type MemoryPagesRestoreOutput = {
2427
3134
  readonly "sequence": number;
2428
- readonly "result": Objects_41;
3135
+ readonly "result": Objects_53;
3136
+ readonly "replayed"?: boolean;
2429
3137
  };
2430
3138
  export type MemoryPagesEraseInput = {
2431
3139
  readonly "projectId": string;
@@ -2437,6 +3145,7 @@ export type MemoryPagesEraseOutput = {
2437
3145
  readonly "result": {
2438
3146
  readonly "pageId": string;
2439
3147
  };
3148
+ readonly "replayed"?: boolean;
2440
3149
  };
2441
3150
  export type MemoryHandbookGetInput = {
2442
3151
  readonly "projectId": string;
@@ -2445,8 +3154,8 @@ export type MemoryHandbookGetInput = {
2445
3154
  };
2446
3155
  export type MemoryHandbookGetOutput = {
2447
3156
  readonly "head": {
2448
- readonly "current": Objects_42;
2449
- readonly "pages": ReadonlyArray<Objects_40>;
3157
+ readonly "current": Objects_54;
3158
+ readonly "pages": ReadonlyArray<Objects_52>;
2450
3159
  } | null;
2451
3160
  };
2452
3161
  export type MemoryHandbookReleasesListInput = {
@@ -2455,7 +3164,7 @@ export type MemoryHandbookReleasesListInput = {
2455
3164
  readonly "limit"?: number;
2456
3165
  };
2457
3166
  export type MemoryHandbookReleasesListOutput = {
2458
- readonly "items": ReadonlyArray<Objects_42>;
3167
+ readonly "items": ReadonlyArray<Objects_54>;
2459
3168
  readonly "nextCursor": string | null;
2460
3169
  };
2461
3170
  export type MemoryHandbookReleasesGetInput = {
@@ -2469,8 +3178,8 @@ export type MemoryHandbookReleasesGetOutput = {
2469
3178
  readonly "itemHighWater": number;
2470
3179
  readonly "requiresAck": boolean;
2471
3180
  readonly "restoredFromRelease": number | null;
2472
- readonly "sourceExperience": Union_17;
2473
- readonly "publishedBy": Union_16;
3181
+ readonly "sourceExperience": Union_22;
3182
+ readonly "publishedBy": Union_21;
2474
3183
  readonly "publishedAt": string;
2475
3184
  readonly "items": ReadonlyArray<{
2476
3185
  readonly "itemNumber": number;
@@ -2496,7 +3205,8 @@ export type MemoryHandbookPublishInput = {
2496
3205
  };
2497
3206
  export type MemoryHandbookPublishOutput = {
2498
3207
  readonly "sequence": number;
2499
- readonly "result": Objects_44;
3208
+ readonly "result": Objects_56;
3209
+ readonly "replayed"?: boolean;
2500
3210
  };
2501
3211
  export type MemoryHandbookRevertInput = {
2502
3212
  readonly "projectId": string;
@@ -2507,7 +3217,8 @@ export type MemoryHandbookRevertInput = {
2507
3217
  };
2508
3218
  export type MemoryHandbookRevertOutput = {
2509
3219
  readonly "sequence": number;
2510
- readonly "result": Objects_44;
3220
+ readonly "result": Objects_56;
3221
+ readonly "replayed"?: boolean;
2511
3222
  };
2512
3223
  export type WorkRemoteAgentPendingGetInput = {
2513
3224
  readonly "projectId": string;
@@ -2555,7 +3266,7 @@ export type WorkItemsListInput = {
2555
3266
  readonly "projectId": string;
2556
3267
  readonly "stateIds"?: ReadonlyArray<string>;
2557
3268
  readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">;
2558
- readonly "assignees"?: ReadonlyArray<Union_18 | "me" | "none">;
3269
+ readonly "assignees"?: ReadonlyArray<Union_23 | "me" | "none">;
2559
3270
  readonly "orderBy"?: "created" | "updated";
2560
3271
  readonly "cursor"?: string | null;
2561
3272
  readonly "limit"?: number;
@@ -2567,7 +3278,7 @@ export type WorkItemsListOutput = {
2567
3278
  readonly "sequenceId": number;
2568
3279
  readonly "title": string | null;
2569
3280
  readonly "bodyState": "present" | "erased" | "unavailable";
2570
- readonly "state": Objects_45;
3281
+ readonly "state": Objects_57;
2571
3282
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
2572
3283
  readonly "assignees": Arrays_7;
2573
3284
  readonly "labelIds": Arrays_8;
@@ -2581,8 +3292,8 @@ export type WorkItemsListOutput = {
2581
3292
  readonly "revision": number;
2582
3293
  readonly "blockedBy": Arrays_9;
2583
3294
  readonly "blockedByTotal": number;
2584
- readonly "childCounts": Objects_46;
2585
- readonly "createdBy": Union_16;
3295
+ readonly "childCounts": Objects_58;
3296
+ readonly "createdBy": Union_21;
2586
3297
  readonly "createdAt": string;
2587
3298
  readonly "updatedAt": string;
2588
3299
  }>;
@@ -2609,7 +3320,7 @@ export type WorkItemsGetOutput = {
2609
3320
  readonly "sequenceId": number;
2610
3321
  readonly "title": string | null;
2611
3322
  readonly "bodyState": "present" | "erased" | "unavailable";
2612
- readonly "state": Objects_45;
3323
+ readonly "state": Objects_57;
2613
3324
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
2614
3325
  readonly "assignees": Arrays_7;
2615
3326
  readonly "labelIds": Arrays_8;
@@ -2623,12 +3334,12 @@ export type WorkItemsGetOutput = {
2623
3334
  readonly "revision": number;
2624
3335
  readonly "blockedBy": Arrays_9;
2625
3336
  readonly "blockedByTotal": number;
2626
- readonly "childCounts": Objects_46;
2627
- readonly "createdBy": Union_16;
3337
+ readonly "childCounts": Objects_58;
3338
+ readonly "createdBy": Union_21;
2628
3339
  readonly "createdAt": string;
2629
3340
  readonly "updatedAt": string;
2630
3341
  readonly "description": string | null;
2631
- readonly "descriptionWindow"?: Objects_17;
3342
+ readonly "descriptionWindow"?: Objects_18;
2632
3343
  }>;
2633
3344
  readonly "missingWorkItemIds": ReadonlyArray<string>;
2634
3345
  readonly "missingSequenceIds": ReadonlyArray<number>;
@@ -2667,7 +3378,7 @@ export type WorkCommentsListInput = {
2667
3378
  readonly "textLimit"?: number;
2668
3379
  };
2669
3380
  export type WorkCommentsListOutput = {
2670
- readonly "items": ReadonlyArray<Objects_47>;
3381
+ readonly "items": ReadonlyArray<Objects_59>;
2671
3382
  readonly "nextCursor": string | null;
2672
3383
  readonly "snapshotSequence": number;
2673
3384
  };
@@ -2678,7 +3389,7 @@ export type WorkCommentsGetInput = {
2678
3389
  readonly "textLimit"?: number;
2679
3390
  };
2680
3391
  export type WorkCommentsGetOutput = {
2681
- readonly "comment": Objects_47;
3392
+ readonly "comment": Objects_59;
2682
3393
  readonly "snapshotSequence": number;
2683
3394
  };
2684
3395
  export type WorkHistoryListInput = {
@@ -2692,7 +3403,7 @@ export type WorkHistoryListOutput = {
2692
3403
  readonly "items": ReadonlyArray<{
2693
3404
  readonly "sequence": number;
2694
3405
  readonly "workItemId": string | null;
2695
- readonly "actor": Union_16;
3406
+ readonly "actor": Union_21;
2696
3407
  readonly "viaPlugin"?: string;
2697
3408
  readonly "at": string;
2698
3409
  readonly "target": {
@@ -2706,12 +3417,12 @@ export type WorkHistoryListOutput = {
2706
3417
  readonly "newRevision": number | null;
2707
3418
  } | {
2708
3419
  readonly "field": "state";
2709
- readonly "old": Objects_48 | null;
2710
- readonly "new": Objects_48 | null;
3420
+ readonly "old": Objects_60 | null;
3421
+ readonly "new": Objects_60 | null;
2711
3422
  } | {
2712
3423
  readonly "field": "assignees" | "mentions";
2713
- readonly "old": ReadonlyArray<Union_19>;
2714
- readonly "new": ReadonlyArray<Union_19>;
3424
+ readonly "old": ReadonlyArray<Union_24>;
3425
+ readonly "new": ReadonlyArray<Union_24>;
2715
3426
  } | {
2716
3427
  readonly "field": "completedAt";
2717
3428
  readonly "old": string | null;
@@ -2728,7 +3439,7 @@ export type WorkItemsCreateInput = {
2728
3439
  readonly "title": string;
2729
3440
  readonly "description"?: string;
2730
3441
  readonly "stateId"?: string;
2731
- readonly "assignees"?: ReadonlyArray<Union_18>;
3442
+ readonly "assignees"?: ReadonlyArray<Union_23>;
2732
3443
  };
2733
3444
  export type WorkItemsCreateOutput = {
2734
3445
  readonly "sequence": number;
@@ -2738,6 +3449,7 @@ export type WorkItemsCreateOutput = {
2738
3449
  readonly "version": number;
2739
3450
  readonly "revision": number;
2740
3451
  };
3452
+ readonly "replayed"?: boolean;
2741
3453
  };
2742
3454
  export type WorkItemsUpdateInput = {
2743
3455
  readonly "projectId": string;
@@ -2747,7 +3459,7 @@ export type WorkItemsUpdateInput = {
2747
3459
  readonly "title"?: string;
2748
3460
  readonly "description"?: string;
2749
3461
  readonly "stateId"?: string;
2750
- readonly "assignees"?: ReadonlyArray<Union_18>;
3462
+ readonly "assignees"?: ReadonlyArray<Union_23>;
2751
3463
  };
2752
3464
  export type WorkItemsUpdateOutput = {
2753
3465
  readonly "sequence": number;
@@ -2756,6 +3468,7 @@ export type WorkItemsUpdateOutput = {
2756
3468
  readonly "version": number;
2757
3469
  readonly "revision": number;
2758
3470
  };
3471
+ readonly "replayed"?: boolean;
2759
3472
  };
2760
3473
  export type WorkItemsClaimInput = {
2761
3474
  readonly "projectId": string;
@@ -2770,16 +3483,19 @@ export type WorkItemsClaimOutput = {
2770
3483
  readonly "workItemId": string;
2771
3484
  readonly "version": number;
2772
3485
  };
3486
+ readonly "replayed"?: boolean;
2773
3487
  };
2774
- export type WorkRelationsAddInput = Objects_49;
3488
+ export type WorkRelationsAddInput = Objects_61;
2775
3489
  export type WorkRelationsAddOutput = {
2776
3490
  readonly "sequence": number;
2777
- readonly "result": Objects_50;
3491
+ readonly "result": Objects_62;
3492
+ readonly "replayed"?: boolean;
2778
3493
  };
2779
- export type WorkRelationsRemoveInput = Objects_49;
3494
+ export type WorkRelationsRemoveInput = Objects_61;
2780
3495
  export type WorkRelationsRemoveOutput = {
2781
3496
  readonly "sequence": number;
2782
- readonly "result": Objects_50;
3497
+ readonly "result": Objects_62;
3498
+ readonly "replayed"?: boolean;
2783
3499
  };
2784
3500
  export type WorkCommentsPostInput = {
2785
3501
  readonly "projectId": string;
@@ -2787,7 +3503,7 @@ export type WorkCommentsPostInput = {
2787
3503
  readonly "commentId"?: string;
2788
3504
  readonly "workItemId": string;
2789
3505
  readonly "body": string;
2790
- readonly "mentions"?: ReadonlyArray<Union_18>;
3506
+ readonly "mentions"?: ReadonlyArray<Union_23>;
2791
3507
  readonly "parentId"?: string;
2792
3508
  };
2793
3509
  export type WorkCommentsPostOutput = {
@@ -2796,13 +3512,128 @@ export type WorkCommentsPostOutput = {
2796
3512
  readonly "commentId": string;
2797
3513
  readonly "revision": number;
2798
3514
  };
3515
+ readonly "replayed"?: boolean;
3516
+ };
3517
+ export type ThreadsInteractionModeSetInput = {
3518
+ readonly "requestId"?: string;
3519
+ readonly "threadId": string;
3520
+ readonly "interactionMode": "default" | "plan";
3521
+ };
3522
+ export type ThreadsInteractionModeSetOutput = Objects_63;
3523
+ export type ThreadsNativeModeSetInput = {
3524
+ readonly "requestId"?: string;
3525
+ readonly "threadId": string;
3526
+ readonly "nativeModeId": string;
3527
+ };
3528
+ export type ThreadsNativeModeSetOutput = Objects_63;
3529
+ export type ThreadsRuntimeModeSetInput = {
3530
+ readonly "requestId"?: string;
3531
+ readonly "threadId": string;
3532
+ readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
3533
+ };
3534
+ export type ThreadsRuntimeModeSetOutput = Objects_63;
3535
+ export type ThreadsContextCompactInput = {
3536
+ readonly "requestId"?: string;
3537
+ readonly "threadId": string;
3538
+ };
3539
+ export type ThreadsContextCompactOutput = Objects_63;
3540
+ export type PluginsSelfdevPromoteInput = {
3541
+ readonly "requestId"?: string;
3542
+ readonly "threadId": string;
3543
+ readonly "pluginId": string;
3544
+ };
3545
+ export type PluginsSelfdevPromoteOutput = Objects_63;
3546
+ export type PluginsSelfdevStopInput = {
3547
+ readonly "requestId"?: string;
3548
+ readonly "threadId": string;
3549
+ readonly "pluginId": string;
3550
+ };
3551
+ export type PluginsSelfdevStopOutput = Objects_63;
3552
+ export type ThreadsShellCommandRecordInput = {
3553
+ readonly "requestId"?: string;
3554
+ readonly "threadId": string;
3555
+ readonly "command": string;
3556
+ readonly "terminalId": string;
3557
+ readonly "cwd": string;
3558
+ };
3559
+ export type ThreadsShellCommandRecordOutput = Objects_63;
3560
+ export type ThreadsTurnIntentsReorderInput = {
3561
+ readonly "requestId"?: string;
3562
+ readonly "threadId": string;
3563
+ readonly "intentId": string;
3564
+ readonly "beforeIntentId": string | null;
3565
+ };
3566
+ export type ThreadsTurnIntentsReorderOutput = Objects_63;
3567
+ export type ThreadsTurnQueuePauseInput = {
3568
+ readonly "requestId"?: string;
3569
+ readonly "threadId": string;
3570
+ };
3571
+ export type ThreadsTurnQueuePauseOutput = Objects_63;
3572
+ export type ThreadsUserInputDismissInput = {
3573
+ readonly "requestId"?: string;
3574
+ readonly "threadId": string;
3575
+ readonly "userInputRequestId": string;
3576
+ };
3577
+ export type ThreadsUserInputDismissOutput = Objects_63;
3578
+ export type ThreadsDecisionsRespondInput = {
3579
+ readonly "requestId"?: string;
3580
+ readonly "threadId": string;
3581
+ readonly "decisionRequestId": string;
3582
+ readonly "optionId": string;
3583
+ readonly "reason"?: string;
3584
+ };
3585
+ export type ThreadsDecisionsRespondOutput = Objects_63;
3586
+ export type ThreadsSnoozeInput = {
3587
+ readonly "requestId"?: string;
3588
+ readonly "threadId": string;
3589
+ readonly "snoozedUntil": string;
3590
+ };
3591
+ export type ThreadsSnoozeOutput = Objects_63;
3592
+ export type ThreadsUnsnoozeInput = {
3593
+ readonly "requestId"?: string;
3594
+ readonly "threadId": string;
3595
+ readonly "reason": "user";
3596
+ };
3597
+ export type ThreadsUnsnoozeOutput = Objects_63;
3598
+ export type ThreadsReorderInput = {
3599
+ readonly "requestId"?: string;
3600
+ readonly "threadId": string;
3601
+ readonly "orderKey": string;
3602
+ };
3603
+ export type ThreadsReorderOutput = Objects_63;
3604
+ export type ThreadsDeleteInput = {
3605
+ readonly "requestId"?: string;
3606
+ readonly "threadId": string;
3607
+ };
3608
+ export type ThreadsDeleteOutput = Objects_63;
3609
+ export type ThreadsArchiveInput = {
3610
+ readonly "requestId"?: string;
3611
+ readonly "threadId": string;
3612
+ };
3613
+ export type ThreadsArchiveOutput = Objects_63;
3614
+ export type ThreadsUnarchiveInput = {
3615
+ readonly "requestId"?: string;
3616
+ readonly "threadId": string;
3617
+ };
3618
+ export type ThreadsUnarchiveOutput = Objects_63;
3619
+ export type ThreadsSettleInput = {
3620
+ readonly "requestId"?: string;
3621
+ readonly "threadId": string;
3622
+ readonly "discardQueued"?: boolean;
3623
+ };
3624
+ export type ThreadsSettleOutput = Objects_63;
3625
+ export type ThreadsUnsettleInput = {
3626
+ readonly "requestId"?: string;
3627
+ readonly "threadId": string;
3628
+ readonly "reason": "user";
2799
3629
  };
3630
+ export type ThreadsUnsettleOutput = Objects_63;
2800
3631
  export type ThreadsCreateInput = {
2801
3632
  readonly "requestId"?: string;
2802
3633
  readonly "threadId": string;
2803
3634
  readonly "projectId": string;
2804
3635
  readonly "title": string;
2805
- readonly "modelSelection": Objects_21;
3636
+ readonly "modelSelection": Objects_34;
2806
3637
  readonly "executionSelection"?: {
2807
3638
  readonly "environmentId": string;
2808
3639
  readonly "runtimeId": string;
@@ -2826,7 +3657,7 @@ export type ThreadsCreateInput = {
2826
3657
  };
2827
3658
  readonly "presetId"?: string;
2828
3659
  };
2829
- export type ThreadsCreateOutput = Objects_51;
3660
+ export type ThreadsCreateOutput = Objects_63;
2830
3661
  export type ThreadsForkInput = {
2831
3662
  readonly "requestId"?: string;
2832
3663
  readonly "threadId": string;
@@ -2835,13 +3666,13 @@ export type ThreadsForkInput = {
2835
3666
  readonly "startFolderId"?: string;
2836
3667
  readonly "folderIds"?: ReadonlyArray<string>;
2837
3668
  };
2838
- export type ThreadsForkOutput = Objects_51;
3669
+ export type ThreadsForkOutput = Objects_63;
2839
3670
  export type ThreadsImportInput = {
2840
3671
  readonly "requestId"?: string;
2841
3672
  readonly "threadId": string;
2842
3673
  readonly "projectId": string;
2843
3674
  readonly "title": string;
2844
- readonly "modelSelection": Objects_21;
3675
+ readonly "modelSelection": Objects_34;
2845
3676
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
2846
3677
  readonly "branch": string | null;
2847
3678
  readonly "worktreePath": string | null;
@@ -2879,7 +3710,7 @@ export type ThreadsImportInput = {
2879
3710
  readonly "createdAt": string;
2880
3711
  }>;
2881
3712
  };
2882
- export type ThreadsImportOutput = Objects_51;
3713
+ export type ThreadsImportOutput = Objects_63;
2883
3714
  export type ThreadsExternalMessagesAppendInput = {
2884
3715
  readonly "requestId"?: string;
2885
3716
  readonly "threadId": string;
@@ -2915,7 +3746,7 @@ export type ThreadsExternalMessagesAppendInput = {
2915
3746
  readonly "createdAt": string;
2916
3747
  }>;
2917
3748
  };
2918
- export type ThreadsExternalMessagesAppendOutput = Objects_51;
3749
+ export type ThreadsExternalMessagesAppendOutput = Objects_63;
2919
3750
  export type ThreadsUpdateInput = {
2920
3751
  readonly "threadId": string;
2921
3752
  readonly "requestId"?: string;
@@ -2924,7 +3755,7 @@ export type ThreadsUpdateInput = {
2924
3755
  readonly "modelSelection"?: {
2925
3756
  readonly "instanceId": string;
2926
3757
  readonly "model": string;
2927
- readonly "options"?: Union_12;
3758
+ readonly "options"?: Union_17;
2928
3759
  };
2929
3760
  readonly "executionSelection"?: {
2930
3761
  readonly "environmentId": string;
@@ -2946,7 +3777,7 @@ export type ThreadsUpdateInput = {
2946
3777
  } | null;
2947
3778
  readonly "presetId"?: string | null;
2948
3779
  };
2949
- export type ThreadsUpdateOutput = Objects_51;
3780
+ export type ThreadsUpdateOutput = Objects_63;
2950
3781
  export type ThreadsTurnsStartInput = {
2951
3782
  readonly "requestId"?: string;
2952
3783
  readonly "threadId": string;
@@ -2960,7 +3791,7 @@ export type ThreadsTurnsStartInput = {
2960
3791
  readonly "mimeType": string;
2961
3792
  readonly "sizeBytes": number;
2962
3793
  readonly "dataUrl": string;
2963
- readonly "source"?: Objects_52;
3794
+ readonly "source"?: Objects_64;
2964
3795
  } | {
2965
3796
  readonly "type": "file";
2966
3797
  readonly "name": string;
@@ -2973,7 +3804,7 @@ export type ThreadsTurnsStartInput = {
2973
3804
  readonly "name": string;
2974
3805
  readonly "mimeType": string;
2975
3806
  readonly "sizeBytes": number;
2976
- readonly "source"?: Objects_52 | Objects_54;
3807
+ readonly "source"?: Objects_64 | Objects_66;
2977
3808
  } | {
2978
3809
  readonly "type": "file";
2979
3810
  readonly "id": string;
@@ -2982,7 +3813,7 @@ export type ThreadsTurnsStartInput = {
2982
3813
  readonly "sizeBytes": number;
2983
3814
  readonly "source"?: {
2984
3815
  readonly "_tag": "pasted-text";
2985
- } | Objects_54 | {
3816
+ } | Objects_66 | {
2986
3817
  readonly "_tag": "thread-reference";
2987
3818
  readonly "environmentId": string;
2988
3819
  readonly "threadId": string;
@@ -2992,7 +3823,7 @@ export type ThreadsTurnsStartInput = {
2992
3823
  readonly "modelSelection"?: {
2993
3824
  readonly "instanceId": string;
2994
3825
  readonly "model": string;
2995
- readonly "options"?: Union_12;
3826
+ readonly "options"?: Union_17;
2996
3827
  };
2997
3828
  readonly "titleSeed"?: string;
2998
3829
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
@@ -3065,6 +3896,7 @@ export type ThreadsTurnsStartInput = {
3065
3896
  };
3066
3897
  export type ThreadsTurnsStartOutput = {
3067
3898
  readonly "sequence": number;
3899
+ readonly "replayed"?: boolean;
3068
3900
  readonly "status": "accepted";
3069
3901
  readonly "result"?: unknown;
3070
3902
  };
@@ -3100,11 +3932,11 @@ export type ThreadsUserInputRespondInput = {
3100
3932
  readonly "height": number;
3101
3933
  };
3102
3934
  readonly "truncated": boolean;
3103
- readonly "root": Objects_55;
3935
+ readonly "root": Objects_67;
3104
3936
  };
3105
3937
  readonly "appIdentifier"?: string;
3106
3938
  readonly "appIconDataUrl"?: string;
3107
- } | Objects_56;
3939
+ } | Objects_68;
3108
3940
  } | {
3109
3941
  readonly "type": "file";
3110
3942
  readonly "id": string;
@@ -3113,7 +3945,7 @@ export type ThreadsUserInputRespondInput = {
3113
3945
  readonly "sizeBytes": number;
3114
3946
  readonly "source"?: {
3115
3947
  readonly "_tag": "pasted-text";
3116
- } | Objects_56 | {
3948
+ } | Objects_68 | {
3117
3949
  readonly "_tag": "thread-reference";
3118
3950
  readonly "environmentId": string;
3119
3951
  readonly "threadId": string;
@@ -3121,20 +3953,20 @@ export type ThreadsUserInputRespondInput = {
3121
3953
  }>;
3122
3954
  };
3123
3955
  };
3124
- export type ThreadsUserInputRespondOutput = Objects_51;
3956
+ export type ThreadsUserInputRespondOutput = Objects_63;
3125
3957
  export type ThreadsTurnsInterruptInput = {
3126
3958
  readonly "requestId"?: string;
3127
3959
  readonly "threadId": string;
3128
3960
  readonly "turnId"?: string;
3129
3961
  };
3130
- export type ThreadsTurnsInterruptOutput = Objects_51;
3962
+ export type ThreadsTurnsInterruptOutput = Objects_63;
3131
3963
  export type ThreadsSessionStopInput = {
3132
3964
  readonly "requestId"?: string;
3133
3965
  readonly "threadId": string;
3134
3966
  readonly "onlyIfSettled"?: boolean;
3135
3967
  readonly "onlyIfNoTurnInFlight"?: boolean;
3136
3968
  };
3137
- export type ThreadsSessionStopOutput = Objects_51;
3969
+ export type ThreadsSessionStopOutput = Objects_63;
3138
3970
  export type ApprovalsRespondInput = {
3139
3971
  readonly "requestId"?: string;
3140
3972
  readonly "threadId": string;
@@ -3142,7 +3974,7 @@ export type ApprovalsRespondInput = {
3142
3974
  readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
3143
3975
  readonly "reason"?: string;
3144
3976
  };
3145
- export type ApprovalsRespondOutput = Objects_51;
3977
+ export type ApprovalsRespondOutput = Objects_63;
3146
3978
  export type ThreadsTurnIntentsRunInput = {
3147
3979
  readonly "requestId"?: string;
3148
3980
  readonly "threadId": string;
@@ -3150,7 +3982,7 @@ export type ThreadsTurnIntentsRunInput = {
3150
3982
  readonly "mode": "steer" | "interrupt";
3151
3983
  readonly "expectedTurnId"?: string | null;
3152
3984
  };
3153
- export type ThreadsTurnIntentsRunOutput = Objects_51;
3985
+ export type ThreadsTurnIntentsRunOutput = Objects_63;
3154
3986
  export type ThreadsTurnIntentsCancelInput = {
3155
3987
  readonly "requestId"?: string;
3156
3988
  readonly "threadId": string;
@@ -3158,12 +3990,81 @@ export type ThreadsTurnIntentsCancelInput = {
3158
3990
  readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
3159
3991
  readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
3160
3992
  };
3161
- export type ThreadsTurnIntentsCancelOutput = Objects_51;
3993
+ export type ThreadsTurnIntentsCancelOutput = Objects_63;
3162
3994
  export type ThreadsTurnQueueResumeInput = {
3163
3995
  readonly "requestId"?: string;
3164
3996
  readonly "threadId": string;
3165
3997
  };
3166
- export type ThreadsTurnQueueResumeOutput = Objects_51;
3998
+ export type ThreadsTurnQueueResumeOutput = Objects_63;
3999
+ export type ProjectsUpdateInput = {
4000
+ readonly "requestId"?: string;
4001
+ readonly "projectId": string;
4002
+ readonly "title"?: string;
4003
+ readonly "workspaceRoot"?: string;
4004
+ readonly "defaultModelSelection"?: Objects_34 | null;
4005
+ readonly "defaultThreadEnvMode"?: "local" | "worktree" | null;
4006
+ readonly "projectIcon"?: {
4007
+ readonly "kind": "lucide";
4008
+ readonly "name": string;
4009
+ readonly "color": "gray" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
4010
+ } | {
4011
+ readonly "kind": "emoji";
4012
+ readonly "emoji": string;
4013
+ } | null;
4014
+ readonly "faviconPath"?: string | null;
4015
+ readonly "scripts"?: ReadonlyArray<{
4016
+ readonly "id": string;
4017
+ readonly "name": string;
4018
+ readonly "command": string;
4019
+ readonly "icon": "play" | "test" | "lint" | "configure" | "build" | "debug";
4020
+ readonly "runOnWorktreeCreate": boolean;
4021
+ readonly "previewUrl"?: string;
4022
+ readonly "autoOpenPreview"?: boolean;
4023
+ }>;
4024
+ };
4025
+ export type ProjectsUpdateOutput = Objects_63;
4026
+ export type ProjectsArchiveInput = {
4027
+ readonly "requestId"?: string;
4028
+ readonly "projectId": string;
4029
+ };
4030
+ export type ProjectsArchiveOutput = Objects_63;
4031
+ export type ProjectsUnarchiveInput = {
4032
+ readonly "requestId"?: string;
4033
+ readonly "projectId": string;
4034
+ };
4035
+ export type ProjectsUnarchiveOutput = Objects_63;
4036
+ export type ProjectsDeleteInput = {
4037
+ readonly "requestId"?: string;
4038
+ readonly "projectId": string;
4039
+ readonly "force"?: boolean;
4040
+ };
4041
+ export type ProjectsDeleteOutput = Objects_63;
4042
+ export type ProjectsReorderInput = {
4043
+ readonly "requestId"?: string;
4044
+ readonly "projectId": string;
4045
+ readonly "orderKey": string;
4046
+ };
4047
+ export type ProjectsReorderOutput = Objects_63;
4048
+ export type ProjectsFoldersDetachInput = {
4049
+ readonly "requestId"?: string;
4050
+ readonly "projectId": string;
4051
+ readonly "folderId": string;
4052
+ };
4053
+ export type ProjectsFoldersDetachOutput = Objects_63;
4054
+ export type ProjectsToolkitsSetInput = {
4055
+ readonly "projectId": string;
4056
+ readonly "toolkit": "board" | "memory" | "messages";
4057
+ readonly "enabled": boolean;
4058
+ readonly "requestId"?: string;
4059
+ };
4060
+ export type ProjectsToolkitsSetOutput = {
4061
+ readonly "sequence": number;
4062
+ readonly "result": {
4063
+ readonly "enabled": boolean;
4064
+ readonly "changed": boolean;
4065
+ };
4066
+ readonly "replayed"?: boolean;
4067
+ };
3167
4068
  export type ProjectsCloneStartInput = {
3168
4069
  readonly "destinationPath": string;
3169
4070
  readonly "remoteUrl": string;
@@ -3171,7 +4072,7 @@ export type ProjectsCloneStartInput = {
3171
4072
  readonly "kind": "create-project";
3172
4073
  readonly "projectId": string;
3173
4074
  readonly "title": string;
3174
- readonly "defaultModelSelection"?: Objects_21 | null;
4075
+ readonly "defaultModelSelection"?: Objects_34 | null;
3175
4076
  readonly "homeEnvironmentId"?: string;
3176
4077
  } | {
3177
4078
  readonly "kind": "attach-folder";
@@ -3182,29 +4083,29 @@ export type ProjectsCloneStartOutput = {
3182
4083
  readonly "projectId": string;
3183
4084
  readonly "folderId": string;
3184
4085
  };
3185
- export type ProjectsCloneRetryInput = Objects_57;
3186
- export type ProjectsCloneRetryOutput = Objects_58;
3187
- export type ProjectsCloneCancelInput = Objects_57;
3188
- export type ProjectsCloneCancelOutput = Objects_58;
4086
+ export type ProjectsCloneRetryInput = Objects_69;
4087
+ export type ProjectsCloneRetryOutput = Objects_70;
4088
+ export type ProjectsCloneCancelInput = Objects_69;
4089
+ export type ProjectsCloneCancelOutput = Objects_70;
3189
4090
  export type ProjectsCreateInput = {
3190
4091
  readonly "requestId"?: string;
3191
4092
  readonly "projectId": string;
3192
4093
  readonly "title": string;
3193
4094
  readonly "workspaceRoot": string;
3194
4095
  readonly "createWorkspaceRootIfMissing"?: boolean;
3195
- readonly "defaultModelSelection"?: Objects_21 | null;
4096
+ readonly "defaultModelSelection"?: Objects_34 | null;
3196
4097
  readonly "homeEnvironmentId"?: string;
3197
4098
  };
3198
- export type ProjectsCreateOutput = Objects_51;
4099
+ export type ProjectsCreateOutput = Objects_63;
3199
4100
  export type ProjectsFoldersAttachInput = {
3200
4101
  readonly "requestId"?: string;
3201
4102
  readonly "projectId": string;
3202
4103
  readonly "path": string;
3203
4104
  };
3204
- export type ProjectsFoldersAttachOutput = Objects_51;
4105
+ export type ProjectsFoldersAttachOutput = Objects_63;
3205
4106
  export type CommunicationPeopleCurrentInput = {};
3206
4107
  export type CommunicationPeopleCurrentOutput = {
3207
- readonly "person": Union_11 | null;
4108
+ readonly "person": Union_14 | null;
3208
4109
  };
3209
4110
  export declare const COMMUNICATION_RECORDS_READ_LIMIT = 100;
3210
4111
  export declare const THREAD_ACTIVITIES_LIST_LIMIT = 200;
@@ -3231,6 +4132,8 @@ export interface PluginDataPorts {
3231
4132
  };
3232
4133
  readonly agents: {
3233
4134
  readonly count: (input: ThreadsAgentsCountInput) => Promise<ThreadsAgentsCountOutput>;
4135
+ readonly list: (input: ThreadsAgentsListInput) => Promise<ThreadsAgentsListOutput>;
4136
+ readonly get: (input: ThreadsAgentsGetInput) => Promise<ThreadsAgentsGetOutput>;
3234
4137
  };
3235
4138
  readonly toolCall: {
3236
4139
  readonly get: (input: ThreadsToolCallGetInput) => Promise<ThreadsToolCallGetOutput>;
@@ -3247,6 +4150,7 @@ export interface PluginDataPorts {
3247
4150
  readonly decisions: {
3248
4151
  readonly request: (input: ThreadsDecisionsRequestInput) => Promise<ThreadsDecisionsRequestOutput>;
3249
4152
  readonly cancel: (input: ThreadsDecisionsCancelInput) => Promise<ThreadsDecisionsCancelOutput>;
4153
+ readonly respond: (input: ThreadsDecisionsRespondInput) => Promise<ThreadsDecisionsRespondOutput>;
3250
4154
  };
3251
4155
  readonly get: (input: ThreadsGetInput) => Promise<ThreadsGetOutput>;
3252
4156
  readonly messages: {
@@ -3255,6 +4159,42 @@ export interface PluginDataPorts {
3255
4159
  readonly activities: {
3256
4160
  readonly list: (input: ThreadsActivitiesListInput) => Promise<ThreadsActivitiesListOutput>;
3257
4161
  };
4162
+ readonly interactionMode: {
4163
+ readonly set: (input: ThreadsInteractionModeSetInput) => Promise<ThreadsInteractionModeSetOutput>;
4164
+ };
4165
+ readonly nativeMode: {
4166
+ readonly set: (input: ThreadsNativeModeSetInput) => Promise<ThreadsNativeModeSetOutput>;
4167
+ };
4168
+ readonly runtimeMode: {
4169
+ readonly set: (input: ThreadsRuntimeModeSetInput) => Promise<ThreadsRuntimeModeSetOutput>;
4170
+ };
4171
+ readonly context: {
4172
+ readonly compact: (input: ThreadsContextCompactInput) => Promise<ThreadsContextCompactOutput>;
4173
+ };
4174
+ readonly shellCommand: {
4175
+ readonly record: (input: ThreadsShellCommandRecordInput) => Promise<ThreadsShellCommandRecordOutput>;
4176
+ };
4177
+ readonly turnIntents: {
4178
+ readonly reorder: (input: ThreadsTurnIntentsReorderInput) => Promise<ThreadsTurnIntentsReorderOutput>;
4179
+ readonly run: (input: ThreadsTurnIntentsRunInput) => Promise<ThreadsTurnIntentsRunOutput>;
4180
+ readonly cancel: (input: ThreadsTurnIntentsCancelInput) => Promise<ThreadsTurnIntentsCancelOutput>;
4181
+ };
4182
+ readonly turnQueue: {
4183
+ readonly pause: (input: ThreadsTurnQueuePauseInput) => Promise<ThreadsTurnQueuePauseOutput>;
4184
+ readonly resume: (input: ThreadsTurnQueueResumeInput) => Promise<ThreadsTurnQueueResumeOutput>;
4185
+ };
4186
+ readonly userInput: {
4187
+ readonly dismiss: (input: ThreadsUserInputDismissInput) => Promise<ThreadsUserInputDismissOutput>;
4188
+ readonly respond: (input: ThreadsUserInputRespondInput) => Promise<ThreadsUserInputRespondOutput>;
4189
+ };
4190
+ readonly snooze: (input: ThreadsSnoozeInput) => Promise<ThreadsSnoozeOutput>;
4191
+ readonly unsnooze: (input: ThreadsUnsnoozeInput) => Promise<ThreadsUnsnoozeOutput>;
4192
+ readonly reorder: (input: ThreadsReorderInput) => Promise<ThreadsReorderOutput>;
4193
+ readonly delete: (input: ThreadsDeleteInput) => Promise<ThreadsDeleteOutput>;
4194
+ readonly archive: (input: ThreadsArchiveInput) => Promise<ThreadsArchiveOutput>;
4195
+ readonly unarchive: (input: ThreadsUnarchiveInput) => Promise<ThreadsUnarchiveOutput>;
4196
+ readonly settle: (input: ThreadsSettleInput) => Promise<ThreadsSettleOutput>;
4197
+ readonly unsettle: (input: ThreadsUnsettleInput) => Promise<ThreadsUnsettleOutput>;
3258
4198
  readonly create: (input: ThreadsCreateInput) => Promise<ThreadsCreateOutput>;
3259
4199
  readonly fork: (input: ThreadsForkInput) => Promise<ThreadsForkOutput>;
3260
4200
  readonly import: (input: ThreadsImportInput) => Promise<ThreadsImportOutput>;
@@ -3266,21 +4206,12 @@ export interface PluginDataPorts {
3266
4206
  readonly start: (input: ThreadsTurnsStartInput) => Promise<ThreadsTurnsStartOutput>;
3267
4207
  readonly interrupt: (input: ThreadsTurnsInterruptInput) => Promise<ThreadsTurnsInterruptOutput>;
3268
4208
  };
3269
- readonly userInput: {
3270
- readonly respond: (input: ThreadsUserInputRespondInput) => Promise<ThreadsUserInputRespondOutput>;
3271
- };
3272
4209
  readonly session: {
3273
4210
  readonly stop: (input: ThreadsSessionStopInput) => Promise<ThreadsSessionStopOutput>;
3274
4211
  };
3275
- readonly turnIntents: {
3276
- readonly run: (input: ThreadsTurnIntentsRunInput) => Promise<ThreadsTurnIntentsRunOutput>;
3277
- readonly cancel: (input: ThreadsTurnIntentsCancelInput) => Promise<ThreadsTurnIntentsCancelOutput>;
3278
- };
3279
- readonly turnQueue: {
3280
- readonly resume: (input: ThreadsTurnQueueResumeInput) => Promise<ThreadsTurnQueueResumeOutput>;
3281
- };
3282
4212
  };
3283
4213
  readonly projections: {
4214
+ readonly getThreadExecution: (input: ThreadsExecutionGetInput["threadId"]) => Promise<ThreadsExecutionGetOutput>;
3284
4215
  readonly countThreadTurnStarts: (input: ThreadsTurnStartsCountInput["threadIds"]) => Promise<ThreadsTurnStartsCountOutput>;
3285
4216
  readonly getThreadMessage: (input: ThreadsMessagesGetInput["messageId"]) => Promise<ThreadsMessagesGetOutput>;
3286
4217
  readonly listPendingUserInputs?: (input: ThreadsUserInputPendingListInput["threadId"]) => Promise<ThreadsUserInputPendingListOutput>;
@@ -3293,6 +4224,16 @@ export interface PluginDataPorts {
3293
4224
  readonly get: (input: ProjectsGetInput) => Promise<ProjectsGetOutput>;
3294
4225
  readonly toolkits: {
3295
4226
  readonly get: (input: ProjectsToolkitsGetInput) => Promise<ProjectsToolkitsGetOutput>;
4227
+ readonly set: (input: ProjectsToolkitsSetInput) => Promise<ProjectsToolkitsSetOutput>;
4228
+ };
4229
+ readonly update: (input: ProjectsUpdateInput) => Promise<ProjectsUpdateOutput>;
4230
+ readonly archive: (input: ProjectsArchiveInput) => Promise<ProjectsArchiveOutput>;
4231
+ readonly unarchive: (input: ProjectsUnarchiveInput) => Promise<ProjectsUnarchiveOutput>;
4232
+ readonly delete: (input: ProjectsDeleteInput) => Promise<ProjectsDeleteOutput>;
4233
+ readonly reorder: (input: ProjectsReorderInput) => Promise<ProjectsReorderOutput>;
4234
+ readonly folders: {
4235
+ readonly detach: (input: ProjectsFoldersDetachInput) => Promise<ProjectsFoldersDetachOutput>;
4236
+ readonly attach: (input: ProjectsFoldersAttachInput) => Promise<ProjectsFoldersAttachOutput>;
3296
4237
  };
3297
4238
  readonly clone: {
3298
4239
  readonly start: (input: ProjectsCloneStartInput) => Promise<ProjectsCloneStartOutput>;
@@ -3300,9 +4241,6 @@ export interface PluginDataPorts {
3300
4241
  readonly cancel: (input: ProjectsCloneCancelInput) => Promise<ProjectsCloneCancelOutput>;
3301
4242
  };
3302
4243
  readonly create: (input: ProjectsCreateInput) => Promise<ProjectsCreateOutput>;
3303
- readonly folders: {
3304
- readonly attach: (input: ProjectsFoldersAttachInput) => Promise<ProjectsFoldersAttachOutput>;
3305
- };
3306
4244
  };
3307
4245
  readonly communication: {
3308
4246
  readonly records: {
@@ -3327,6 +4265,31 @@ export interface PluginDataPorts {
3327
4265
  };
3328
4266
  readonly respond: (input: ApprovalsRespondInput) => Promise<ApprovalsRespondOutput>;
3329
4267
  };
4268
+ readonly machineSettings: {
4269
+ readonly update: (input: MachineSettingsUpdateInput) => Promise<MachineSettingsUpdateOutput>;
4270
+ readonly keybindings: {
4271
+ readonly upsert: (input: MachineSettingsKeybindingsUpsertInput) => Promise<MachineSettingsKeybindingsUpsertOutput>;
4272
+ readonly remove: (input: MachineSettingsKeybindingsRemoveInput) => Promise<MachineSettingsKeybindingsRemoveOutput>;
4273
+ };
4274
+ readonly wallpaper: {
4275
+ readonly adopt: (input: MachineSettingsWallpaperAdoptInput) => Promise<MachineSettingsWallpaperAdoptOutput>;
4276
+ };
4277
+ readonly connect: {
4278
+ readonly preferences: {
4279
+ readonly update: (input: MachineSettingsConnectPreferencesUpdateInput) => Promise<MachineSettingsConnectPreferencesUpdateOutput>;
4280
+ };
4281
+ };
4282
+ readonly get: (input: MachineSettingsGetInput) => Promise<MachineSettingsGetOutput>;
4283
+ readonly config: {
4284
+ readonly get: (input: MachineSettingsConfigGetInput) => Promise<MachineSettingsConfigGetOutput>;
4285
+ };
4286
+ readonly presets: {
4287
+ readonly list: (input: MachineSettingsPresetsListInput) => Promise<MachineSettingsPresetsListOutput>;
4288
+ };
4289
+ readonly proxies: {
4290
+ readonly list: (input: MachineSettingsProxiesListInput) => Promise<MachineSettingsProxiesListOutput>;
4291
+ };
4292
+ };
3330
4293
  readonly providers: {
3331
4294
  readonly instances: {
3332
4295
  readonly list: (input: ProvidersInstancesListInput) => Promise<ProvidersInstancesListOutput>;
@@ -3375,6 +4338,10 @@ export interface PluginDataPorts {
3375
4338
  readonly connectors: {
3376
4339
  readonly install: (input: PluginsConnectorsInstallInput) => Promise<PluginsConnectorsInstallOutput>;
3377
4340
  };
4341
+ readonly selfdev: {
4342
+ readonly promote: (input: PluginsSelfdevPromoteInput) => Promise<PluginsSelfdevPromoteOutput>;
4343
+ readonly stop: (input: PluginsSelfdevStopInput) => Promise<PluginsSelfdevStopOutput>;
4344
+ };
3378
4345
  };
3379
4346
  readonly usage: {
3380
4347
  readonly quota: {