@ycodium-ai/plugin-api 0.2.3158 → 0.2.3168

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,13 @@ type Objects_16 = {
86
101
  readonly "turnId"?: string | undefined;
87
102
  readonly "order": number;
88
103
  };
89
- type Objects_17 = {
104
+ type Objects_18 = {
90
105
  readonly "offset": number;
91
106
  readonly "returned": number;
92
107
  readonly "total": number;
93
108
  readonly "nextOffset": number | null;
94
109
  };
95
- type Union_6 = {
110
+ type Union_8 = {
96
111
  readonly "kind": "thread";
97
112
  readonly "environmentId"?: string | undefined;
98
113
  readonly "threadId": string;
@@ -113,7 +128,7 @@ type Union_6 = {
113
128
  readonly "principalId": string;
114
129
  readonly "displayName": string;
115
130
  };
116
- type Objects_18 = {
131
+ type Objects_19 = {
117
132
  readonly "persisted": string;
118
133
  readonly "handedOff": {
119
134
  readonly "certainty": "not-dispatched" | "confirmed" | "unknown";
@@ -128,63 +143,131 @@ type Objects_18 = {
128
143
  readonly "at": string;
129
144
  } | null;
130
145
  };
131
- type Union_10 = {
146
+ type Union_12 = {
132
147
  readonly "kind": "account";
133
148
  readonly "userId": string;
134
149
  } | {
135
150
  readonly "kind": "local-owner";
136
151
  readonly "environmentId": string;
137
152
  };
138
- type Union_11 = {
153
+ type Union_13 = {
139
154
  readonly "kind": "account";
140
155
  readonly "userId": string;
141
156
  } | {
142
157
  readonly "kind": "local-owner";
143
158
  readonly "environmentId": string;
144
159
  };
145
- type Objects_20 = {
160
+ type Objects_21 = {
146
161
  readonly "projectId": string;
147
162
  readonly "requestId"?: string;
148
163
  readonly "recordId": string;
149
164
  };
165
+ type Objects_22 = {
166
+ readonly "name": string;
167
+ readonly "value"?: string;
168
+ readonly "sensitive"?: boolean;
169
+ readonly "valueRedacted"?: boolean;
170
+ };
171
+ type Objects_23 = {
172
+ readonly [x: string]: boolean;
173
+ };
174
+ type Objects_24 = {
175
+ readonly "source": "none" | "custom" | "plugin";
176
+ readonly "customId": string | null;
177
+ readonly "pluginId": string | null;
178
+ readonly "dimLight": number;
179
+ readonly "dimDark": number;
180
+ readonly "blur": number;
181
+ };
182
+ type Objects_26 = {
183
+ readonly [x: string]: {
184
+ readonly "instanceId": string;
185
+ readonly "model": string;
186
+ };
187
+ };
188
+ type Objects_27 = {
189
+ readonly "source": "none" | "custom" | "plugin";
190
+ readonly "customId": string | null;
191
+ readonly "pluginId": string | null;
192
+ readonly "dimLight": number;
193
+ readonly "dimDark": number;
194
+ readonly "blur": number;
195
+ };
196
+ type Objects_28 = {
197
+ readonly [x: string]: boolean;
198
+ };
199
+ type Objects_29 = {
200
+ readonly "status": "none" | "required" | "authorized";
201
+ };
202
+ type Objects_30 = {
203
+ readonly "kind": "builtin";
204
+ readonly "id": string;
205
+ };
206
+ type Objects_31 = {
207
+ readonly "kind": "catalog";
208
+ readonly "catalogId": string;
209
+ readonly "version": string;
210
+ };
211
+ type Objects_32 = {
212
+ readonly [x: string]: boolean;
213
+ };
214
+ type Objects_33 = {
215
+ readonly "keybindings": ReadonlyArray<{
216
+ 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"}`;
217
+ readonly "shortcut": {
218
+ readonly "key": string;
219
+ readonly "metaKey": boolean;
220
+ readonly "ctrlKey": boolean;
221
+ readonly "shiftKey": boolean;
222
+ readonly "altKey": boolean;
223
+ readonly "modKey": boolean;
224
+ };
225
+ readonly "whenAst"?: Union_15 | undefined;
226
+ }>;
227
+ readonly "issues": ReadonlyArray<{
228
+ readonly "kind": "keybindings.malformed-config";
229
+ readonly "message": string;
230
+ } | {
231
+ readonly "kind": "keybindings.invalid-entry";
232
+ readonly "message": string;
233
+ readonly "index": number;
234
+ }>;
235
+ };
150
236
  type Arrays_3 = ReadonlyArray<{
151
237
  readonly "id": string;
152
238
  readonly "value": string | boolean;
153
239
  }>;
154
- type Objects_22 = {
240
+ type Objects_35 = {
155
241
  readonly [x: string]: unknown;
156
242
  };
157
243
  type Arrays_4 = ReadonlyArray<string>;
158
- type Objects_24 = {
159
- readonly "status": "none" | "required" | "authorized";
160
- };
161
- type Objects_25 = {
244
+ type Objects_37 = {
162
245
  readonly "kind": "inline";
163
246
  readonly "skillMd": string;
164
247
  };
165
- type Objects_26 = {
248
+ type Objects_38 = {
166
249
  readonly [x: string]: string | null;
167
250
  };
168
- type Objects_27 = {
251
+ type Objects_39 = {
169
252
  readonly [x: string]: boolean;
170
253
  };
171
- type Objects_28 = {
254
+ type Objects_40 = {
172
255
  readonly "ids": readonly [string, ...Array<string>];
173
256
  };
174
- type Union_13 = ReadonlyArray<{
257
+ type Union_17 = ReadonlyArray<{
175
258
  readonly "value": string;
176
259
  readonly "label"?: string | undefined;
177
260
  readonly "labelKey"?: string | undefined;
178
261
  readonly "icon"?: string | undefined;
179
262
  }> | undefined;
180
- type Objects_29 = {
263
+ type Objects_41 = {
181
264
  readonly "key": string;
182
265
  readonly "equals": ReadonlyArray<string>;
183
266
  };
184
- type Objects_30 = {
267
+ type Objects_42 = {
185
268
  readonly [x: string]: unknown;
186
269
  };
187
- type Union_15 = {
270
+ type Union_19 = {
188
271
  readonly "key": string;
189
272
  readonly "values"?: {
190
273
  readonly [x: string]: string | number;
@@ -192,77 +275,77 @@ type Union_15 = {
192
275
  } | {
193
276
  readonly "text": string;
194
277
  };
195
- type Objects_34 = {
278
+ type Objects_46 = {
196
279
  readonly "kind": "agent";
197
280
  readonly "threadId": string;
198
281
  };
199
- type Objects_35 = {
282
+ type Objects_47 = {
200
283
  readonly "kind": "remote-agent";
201
284
  readonly "principalId": string;
202
285
  };
203
286
  type Arrays_5 = ReadonlyArray<string>;
204
- type Objects_37 = {
287
+ type Objects_49 = {
205
288
  readonly "experienceId": string;
206
289
  readonly "revision": number;
207
290
  };
208
- type Objects_38 = {
291
+ type Objects_50 = {
209
292
  readonly "projectId": string;
210
293
  readonly "requestId"?: string;
211
294
  readonly "experienceId": string;
212
295
  };
213
- type Objects_39 = {
296
+ type Objects_51 = {
214
297
  readonly "sequence": number;
215
298
  readonly "result": {
216
299
  readonly "experienceId": string;
217
300
  readonly "status": "active" | "forgotten";
218
301
  };
219
302
  };
220
- type Objects_41 = {
303
+ type Objects_53 = {
221
304
  readonly "pageId": string;
222
305
  readonly "revision": number;
223
306
  };
224
- type Objects_43 = {
307
+ type Objects_55 = {
225
308
  readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
226
309
  readonly "pageId": string;
227
310
  readonly "revision": number;
228
311
  };
229
- type Union_17 = {
312
+ type Union_21 = {
230
313
  readonly "experienceId": string;
231
314
  readonly "revision": number;
232
315
  } | null;
233
- type Objects_45 = {
316
+ type Objects_57 = {
234
317
  readonly "stateId": string;
235
318
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
236
319
  readonly "name": string;
237
320
  };
238
321
  type Arrays_8 = ReadonlyArray<string>;
239
322
  type Arrays_9 = ReadonlyArray<string>;
240
- type Objects_46 = {
323
+ type Objects_58 = {
241
324
  readonly "total": number;
242
325
  readonly "completed": number;
243
326
  readonly "cancelled": number;
244
327
  };
245
- type Objects_48 = {
328
+ type Objects_60 = {
246
329
  readonly "stateId": string;
247
330
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
248
331
  };
249
- type Objects_49 = {
332
+ type Objects_61 = {
250
333
  readonly "projectId": string;
251
334
  readonly "requestId"?: string;
252
335
  readonly "workItemId": string;
253
336
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
254
337
  readonly "relatedWorkItemId": string;
255
338
  };
256
- type Objects_50 = {
339
+ type Objects_62 = {
257
340
  readonly "workItemId": string;
258
341
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
259
342
  readonly "relatedWorkItemId": string;
260
343
  };
261
- type Objects_51 = {
344
+ type Objects_63 = {
262
345
  readonly "sequence": number;
263
346
  readonly "status": "accepted" | "noop";
264
347
  };
265
- type Objects_52 = {
348
+ type Objects_64 = {
266
349
  readonly "_tag": "snap-shot";
267
350
  readonly "capturedAt": string;
268
351
  readonly "appName": string;
@@ -280,28 +363,28 @@ type Objects_52 = {
280
363
  readonly "height": number;
281
364
  };
282
365
  readonly "truncated": boolean;
283
- readonly "root": Objects_53;
366
+ readonly "root": Objects_65;
284
367
  };
285
368
  readonly "appIdentifier"?: string;
286
369
  readonly "appIconDataUrl"?: string;
287
370
  };
288
- type Objects_54 = {
371
+ type Objects_66 = {
289
372
  readonly "_tag": "agent-artifact";
290
373
  readonly "sourcePath": string;
291
374
  readonly "linkBase"?: string;
292
375
  readonly "toolCallId"?: string;
293
376
  };
294
- type Objects_56 = {
377
+ type Objects_68 = {
295
378
  readonly "_tag": "agent-artifact";
296
379
  readonly "sourcePath": string;
297
380
  readonly "linkBase"?: string;
298
381
  readonly "toolCallId"?: string;
299
382
  };
300
- type Objects_57 = {
383
+ type Objects_69 = {
301
384
  readonly "projectId": string;
302
385
  readonly "folderId": string;
303
386
  };
304
- type Objects_58 = {
387
+ type Objects_70 = {
305
388
  readonly "applied": boolean;
306
389
  };
307
390
  type Arrays_ = ReadonlyArray<Objects_2>;
@@ -315,8 +398,9 @@ type Objects_5 = {
315
398
  readonly "optionOverrides": Arrays_2;
316
399
  readonly "expectedRevisions": Objects_6;
317
400
  };
318
- type Union_3 = Objects_9 | null | undefined;
319
- type Objects_32 = {
401
+ type Union_5 = Objects_9 | null | undefined;
402
+ type Union_1 = ReadonlyArray<Objects_11> | undefined;
403
+ type Objects_44 = {
320
404
  readonly "wakeId": string;
321
405
  readonly "threadId": string;
322
406
  readonly "dueAt": string;
@@ -329,10 +413,10 @@ type Objects_32 = {
329
413
  readonly "requestedVersion": string;
330
414
  readonly "updateId": string | null;
331
415
  readonly "expectsVerdict"?: boolean | undefined;
332
- readonly "outcome": Union_1;
416
+ readonly "outcome": Union_3;
333
417
  };
334
418
  };
335
- type Union_2 = {
419
+ type Union_4 = {
336
420
  readonly "type": "image";
337
421
  readonly "id": string;
338
422
  readonly "name": string;
@@ -356,11 +440,11 @@ type Union_2 = {
356
440
  readonly "height": number;
357
441
  };
358
442
  readonly "truncated": boolean;
359
- readonly "root": Objects_14;
443
+ readonly "root": Objects_15;
360
444
  } | undefined;
361
445
  readonly "appIdentifier"?: string | undefined;
362
446
  readonly "appIconDataUrl"?: string | undefined;
363
- } | Objects_15 | undefined;
447
+ } | Objects_16 | undefined;
364
448
  } | {
365
449
  readonly "type": "file";
366
450
  readonly "id": string;
@@ -369,23 +453,23 @@ type Union_2 = {
369
453
  readonly "sizeBytes": number;
370
454
  readonly "source"?: {
371
455
  readonly "_tag": "pasted-text";
372
- } | Objects_15 | {
456
+ } | Objects_16 | {
373
457
  readonly "_tag": "thread-reference";
374
458
  readonly "environmentId": string;
375
459
  readonly "threadId": string;
376
460
  } | undefined;
377
461
  };
378
- type Union_5 = Objects_16 | undefined;
379
- type Union_7 = Union_6 | null;
380
- type Union_9 = {
462
+ type Union_7 = Objects_17 | undefined;
463
+ type Union_9 = Union_8 | null;
464
+ type Union_11 = {
381
465
  readonly "claimId": string;
382
- readonly "claimedBy": Union_6;
466
+ readonly "claimedBy": Union_8;
383
467
  readonly "turnId"?: string | undefined;
384
468
  readonly "at": string;
385
469
  } | null;
386
- type Union_18 = {
470
+ type Union_22 = {
387
471
  readonly "kind": "human";
388
- readonly "principal": Union_10;
472
+ readonly "principal": Union_12;
389
473
  } | {
390
474
  readonly "kind": "agent";
391
475
  readonly "threadId": string;
@@ -393,36 +477,14 @@ type Union_18 = {
393
477
  readonly "kind": "remote-agent";
394
478
  readonly "principalId": string;
395
479
  };
396
- type Objects_33 = {
480
+ type Objects_45 = {
397
481
  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;
482
+ readonly "principal": Union_13;
423
483
  };
424
484
  type Union_14 = Objects_29 | undefined;
425
- type Objects_31 = {
485
+ type Union_16 = Arrays_3 | Objects_35;
486
+ type Union_18 = Objects_41 | undefined;
487
+ type Objects_43 = {
426
488
  readonly "instanceId": string;
427
489
  readonly "driver": string;
428
490
  readonly "pluginId": string | null;
@@ -439,7 +501,7 @@ type Objects_31 = {
439
501
  readonly "accountKey"?: string;
440
502
  readonly "windows": ReadonlyArray<{
441
503
  readonly "id": string;
442
- readonly "label": Union_15;
504
+ readonly "label": Union_19;
443
505
  readonly "usedPercent": number;
444
506
  readonly "resetsAt": string | null;
445
507
  readonly "windowMs"?: number;
@@ -447,7 +509,7 @@ type Objects_31 = {
447
509
  }>;
448
510
  readonly "balances": ReadonlyArray<{
449
511
  readonly "id": string;
450
- readonly "label": Union_15;
512
+ readonly "label": Union_19;
451
513
  readonly "remaining": number | null;
452
514
  readonly "used": number | null;
453
515
  readonly "limit": number | null;
@@ -467,106 +529,127 @@ type Objects_31 = {
467
529
  readonly "redeemable"?: true;
468
530
  readonly "redeeming"?: true;
469
531
  };
470
- type Arrays_6 = ReadonlyArray<Objects_43>;
471
- type Objects_44 = {
532
+ type Arrays_6 = ReadonlyArray<Objects_55>;
533
+ type Objects_56 = {
472
534
  readonly "changed": boolean;
473
535
  readonly "release": number;
474
- readonly "pages": ReadonlyArray<Objects_43>;
536
+ readonly "pages": ReadonlyArray<Objects_55>;
475
537
  };
476
538
  type Union_ = Arrays_ | Arrays_1;
477
- type Union_8 = ReadonlyArray<Union_2> | undefined;
478
- type Union_16 = Objects_33 | {
539
+ type Union_10 = ReadonlyArray<Union_4> | undefined;
540
+ type Union_20 = Objects_45 | {
479
541
  readonly "kind": "local-cli";
480
542
  readonly "environmentId": string;
481
543
  } | {
482
544
  readonly "kind": "seat";
483
545
  readonly "seatId": string;
484
- } | Objects_34 | Objects_35 | {
546
+ } | Objects_46 | Objects_47 | {
485
547
  readonly "kind": "plugin";
486
548
  readonly "pluginId": string;
487
549
  } | {
488
550
  readonly "kind": "system";
489
551
  };
490
- type Union_19 = Objects_33 | Objects_34 | Objects_35;
491
- type Objects_21 = {
552
+ type Union_23 = Objects_45 | Objects_46 | Objects_47;
553
+ type Objects_36 = {
554
+ readonly "name": string;
555
+ readonly "transport": {
556
+ readonly "type": "stdio";
557
+ readonly "command": string;
558
+ readonly "args"?: Arrays_4 | undefined;
559
+ readonly "envNames": ReadonlyArray<string>;
560
+ } | {
561
+ readonly "type": "http";
562
+ readonly "url": string;
563
+ readonly "headerNames": ReadonlyArray<string>;
564
+ } | {
565
+ readonly "type": "sse";
566
+ readonly "url": string;
567
+ readonly "headerNames": ReadonlyArray<string>;
568
+ };
569
+ readonly "enabled": boolean;
570
+ readonly "providers": Objects_28;
571
+ readonly "catalogId"?: string | undefined;
572
+ readonly "oauth"?: Union_14;
573
+ };
574
+ type Objects_34 = {
492
575
  readonly "instanceId": string;
493
576
  readonly "model": string;
494
- readonly "options"?: Union_12;
577
+ readonly "options"?: Union_16;
495
578
  };
496
579
  type Objects_1 = {
497
580
  readonly "instanceId": string;
498
581
  readonly "model": string;
499
582
  readonly "options"?: Union_;
500
583
  };
501
- type Objects_19 = {
584
+ type Objects_20 = {
502
585
  readonly "items": ReadonlyArray<{
503
586
  readonly "recordId": string;
504
- readonly "from": Union_6;
505
- readonly "to": Union_7;
587
+ readonly "from": Union_8;
588
+ readonly "to": Union_9;
506
589
  readonly "replyTo": string | null;
507
590
  readonly "delivery": "quiet" | "wake" | "steer";
508
591
  readonly "createdAt": string;
509
- readonly "stages": Objects_18;
592
+ readonly "stages": Objects_19;
510
593
  readonly "idempotencyKey"?: string | undefined;
511
594
  readonly "runId"?: string | undefined;
512
595
  readonly "toRole"?: string | undefined;
513
- readonly "attachments"?: Union_8;
596
+ readonly "attachments"?: Union_10;
514
597
  readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
515
598
  readonly "projectId": string | null;
516
599
  readonly "sequence": number;
517
- readonly "claim": Union_9;
600
+ readonly "claim": Union_11;
518
601
  readonly "textPreview": string | null;
519
602
  readonly "textTruncated": boolean;
520
603
  }>;
521
604
  readonly "nextCursor": string | null;
522
605
  readonly "snapshotSequence": number;
523
606
  };
524
- type Objects_36 = {
607
+ type Objects_48 = {
525
608
  readonly "experienceId": string;
526
609
  readonly "revision": number;
527
610
  readonly "baseRevision": number | null;
528
- readonly "author": Union_16;
611
+ readonly "author": Union_20;
529
612
  readonly "createdAt": string;
530
613
  readonly "body": string | null;
531
614
  readonly "bodyState": "present" | "erased" | "unavailable";
532
- readonly "bodyWindow"?: Objects_17;
615
+ readonly "bodyWindow"?: Objects_18;
533
616
  };
534
- type Objects_40 = {
617
+ type Objects_52 = {
535
618
  readonly "pageId": string;
536
619
  readonly "revision": number;
537
620
  readonly "baseRevision": number | null;
538
621
  readonly "restoredFromRevision": number | null;
539
- readonly "author": Union_16;
622
+ readonly "author": Union_20;
540
623
  readonly "createdAt": string;
541
624
  readonly "title": string | null;
542
625
  readonly "changeSummary": string | null;
543
626
  readonly "body": string | null;
544
627
  readonly "bodyState": "present" | "erased" | "unavailable";
545
- readonly "bodyWindow"?: Objects_17;
628
+ readonly "bodyWindow"?: Objects_18;
546
629
  };
547
- type Objects_42 = {
630
+ type Objects_54 = {
548
631
  readonly "release": number;
549
632
  readonly "pages": Arrays_6;
550
633
  readonly "itemCount": number;
551
634
  readonly "itemHighWater": number;
552
635
  readonly "requiresAck": boolean;
553
636
  readonly "restoredFromRelease": number | null;
554
- readonly "sourceExperience": Union_17;
555
- readonly "publishedBy": Union_16;
637
+ readonly "sourceExperience": Union_21;
638
+ readonly "publishedBy": Union_20;
556
639
  readonly "publishedAt": string;
557
640
  };
558
- type Arrays_7 = ReadonlyArray<Union_19>;
559
- type Objects_47 = {
641
+ type Arrays_7 = ReadonlyArray<Union_23>;
642
+ type Objects_59 = {
560
643
  readonly "commentId": string;
561
644
  readonly "workItemId": string;
562
645
  readonly "projectId": string;
563
646
  readonly "sequence": number;
564
647
  readonly "revision": number;
565
- readonly "author": Union_16;
648
+ readonly "author": Union_20;
566
649
  readonly "body": string | null;
567
- readonly "bodyWindow"?: Objects_17;
650
+ readonly "bodyWindow"?: Objects_18;
568
651
  readonly "bodyState": "present" | "erased" | "unavailable";
569
- readonly "mentions": ReadonlyArray<Union_19>;
652
+ readonly "mentions": ReadonlyArray<Union_23>;
570
653
  readonly "parentId": string | null;
571
654
  readonly "createdAt": string;
572
655
  readonly "editedAt": string | null;
@@ -644,14 +727,138 @@ type Objects_10 = {
644
727
  readonly "threadId": string;
645
728
  readonly "planId": string;
646
729
  } | 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;
730
+ readonly "waitSpans"?: Union_1;
731
+ };
732
+ type Union_6 = Objects_1 | undefined;
733
+ type Objects_25 = {
734
+ readonly "enableLegacyTokenStreaming": boolean;
735
+ readonly "enableProviderUpdateChecks": boolean;
736
+ readonly "enableAgentBrowserAccess": boolean;
737
+ readonly "enableAgentThreadDelegation": boolean;
738
+ readonly "agentRouting": {
739
+ readonly "roles": Objects_26;
740
+ readonly "allowlistOnly": boolean;
741
+ };
742
+ readonly "enableAgentSelfDevelopment": boolean;
743
+ readonly "recordProviderWire": boolean;
744
+ readonly "enableHeapSnapshot": boolean;
745
+ readonly "agentThreadDelegationMaxDepth": number;
746
+ readonly "pluginUpdateCheck": boolean;
747
+ readonly "backgroundActivityProfile": "balanced" | "performance" | "battery-saver";
748
+ readonly "environmentIcon": "server" | "cloud" | "linux" | "desktop" | "laptop" | "mac-mini" | "mac-studio" | null;
749
+ readonly "defaultThreadEnvMode": "local" | "worktree";
750
+ readonly "defaultRuntimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
751
+ readonly "newWorktreesStartFromOrigin": boolean;
752
+ readonly "addProjectBaseDirectory": string;
753
+ readonly "textGenerationModelSelection": Objects_1 | null;
754
+ readonly "sourceControlWritingStyle": {
755
+ readonly "mode": "repo_conventions" | "conventional_commits" | "custom";
756
+ readonly "customInstructions": string;
757
+ readonly "followChangeRequestTemplates": boolean;
758
+ };
759
+ readonly "sourceControlWriterModelSelection": Objects_1 | null;
760
+ readonly "defaultProxyId": string | null;
761
+ readonly "wallpaper": {
762
+ readonly "base": Objects_27;
763
+ readonly "sidebar": Objects_27 | null;
764
+ readonly "workspace": Objects_27 | null;
765
+ readonly "chat": Objects_27 | null;
766
+ };
767
+ readonly "requireManualPairingForNewDevices": boolean;
768
+ readonly "tunnelForceTcp": boolean;
769
+ readonly "automaticGitFetchInterval": number;
770
+ readonly "providerHealthRefreshInterval": number;
771
+ readonly "backgroundActivity": {
772
+ readonly "schemaVersion": 1;
773
+ readonly "profile": "balanced" | "performance" | "battery-saver" | "custom";
774
+ readonly "baseProfile"?: "balanced" | "performance" | "battery-saver";
775
+ readonly "overrides": {
776
+ readonly "automaticGitFetchInterval"?: number;
777
+ readonly "providerHealthRefreshInterval"?: number;
778
+ readonly "hostPowerMonitorActiveInterval"?: number;
779
+ readonly "hostPowerMonitorIdleInterval"?: number;
780
+ readonly "idleClientTtl"?: number;
781
+ readonly "pauseWhenHostLocked"?: boolean;
782
+ readonly "pauseWhenHostLowPower"?: boolean;
783
+ readonly "pauseWhenClientLowPower"?: boolean;
784
+ readonly "pauseWhenOnBattery"?: boolean;
785
+ };
786
+ };
787
+ readonly "npmRegistry": string;
788
+ readonly "proxies": {
789
+ readonly [x: string]: {
790
+ readonly "displayName"?: string | undefined;
791
+ readonly "protocol": "http" | "https";
792
+ readonly "host": string;
793
+ readonly "port": number;
794
+ readonly "bypass"?: string;
795
+ };
796
+ };
797
+ readonly "plugins": {
798
+ readonly "mcpServers": {
799
+ readonly [x: string]: {
800
+ readonly "name": string;
801
+ readonly "transport": {
802
+ readonly "type": "stdio";
803
+ readonly "command": string;
804
+ readonly "argCount": number;
805
+ readonly "envNames": ReadonlyArray<string>;
806
+ } | {
807
+ readonly "type": "http";
808
+ readonly "url": string;
809
+ readonly "headerNames": ReadonlyArray<string>;
810
+ } | {
811
+ readonly "type": "sse";
812
+ readonly "url": string;
813
+ readonly "headerNames": ReadonlyArray<string>;
814
+ };
815
+ readonly "enabled": boolean;
816
+ readonly "providers": Objects_28;
817
+ readonly "catalogId"?: string | undefined;
818
+ readonly "oauth"?: Union_14;
819
+ };
820
+ };
821
+ readonly "skills": {
822
+ readonly [x: string]: {
823
+ readonly "name": string;
824
+ readonly "source": {
825
+ readonly "kind": "inline";
826
+ } | Objects_30 | Objects_31;
827
+ readonly "modelInvocable": boolean;
828
+ readonly "userInvocable": boolean;
829
+ readonly "providers": Objects_32;
830
+ };
831
+ };
832
+ };
833
+ readonly "triggers": {
834
+ readonly [x: string]: {
835
+ readonly "bindingId": string;
836
+ readonly "enabled": boolean;
837
+ readonly "projectId": string;
838
+ readonly "source": {
839
+ readonly "kind": "event";
840
+ readonly "eventKind": string;
841
+ };
842
+ readonly "target": {
843
+ readonly "kind": "thread";
844
+ readonly "presetId"?: string | undefined;
845
+ } | {
846
+ readonly "kind": "plugin";
847
+ readonly "pluginId": string;
848
+ readonly "command": string;
849
+ } | {
850
+ readonly "kind": "workflow";
851
+ readonly "pluginId": string;
852
+ readonly "workflowId": string;
853
+ };
854
+ };
855
+ };
856
+ readonly "observability": {
857
+ readonly "otlpTracesUrl": string;
858
+ readonly "otlpMetricsUrl": string;
859
+ readonly "otlpLogsUrl": string;
860
+ };
653
861
  };
654
- type Union_4 = Objects_1 | undefined;
655
862
  type Objects_4 = {
656
863
  readonly "id": string;
657
864
  readonly "projectId": string;
@@ -683,9 +890,9 @@ type Objects_4 = {
683
890
  readonly "pinnedAt"?: string | null | undefined;
684
891
  readonly "pinOrderKey"?: string | null | undefined;
685
892
  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;
893
+ readonly "titleRegeneration"?: Objects_12 | null | undefined;
894
+ readonly "titleState"?: Objects_13 | null | undefined;
895
+ readonly "session": Objects_14 | null;
689
896
  readonly "latestUserMessageAt": string | null;
690
897
  readonly "userTurnCount"?: number | undefined;
691
898
  readonly "queuedMessageCount"?: number | undefined;
@@ -703,7 +910,7 @@ type Objects_4 = {
703
910
  readonly "totalSteps": number;
704
911
  } | null | undefined;
705
912
  };
706
- type Objects_14 = {
913
+ type Objects_15 = {
707
914
  readonly "role": string;
708
915
  readonly "name"?: string;
709
916
  readonly "value"?: string;
@@ -726,9 +933,24 @@ type Objects_14 = {
726
933
  readonly "visible"?: boolean | undefined;
727
934
  };
728
935
  readonly "actions"?: ReadonlyArray<string>;
729
- readonly "children": ReadonlyArray<Objects_14>;
936
+ readonly "children": ReadonlyArray<Objects_15>;
730
937
  };
731
- type Objects_53 = {
938
+ type Union_15 = {
939
+ readonly "type": "identifier";
940
+ readonly "name": string;
941
+ } | {
942
+ readonly "type": "not";
943
+ readonly "node": Union_15;
944
+ } | {
945
+ readonly "type": "and";
946
+ readonly "left": Union_15;
947
+ readonly "right": Union_15;
948
+ } | {
949
+ readonly "type": "or";
950
+ readonly "left": Union_15;
951
+ readonly "right": Union_15;
952
+ };
953
+ type Objects_65 = {
732
954
  readonly "role": string;
733
955
  readonly "name"?: string;
734
956
  readonly "value"?: string;
@@ -751,9 +973,9 @@ type Objects_53 = {
751
973
  readonly "visible"?: boolean;
752
974
  };
753
975
  readonly "actions"?: ReadonlyArray<string>;
754
- readonly "children": ReadonlyArray<Objects_53>;
976
+ readonly "children": ReadonlyArray<Objects_65>;
755
977
  };
756
- type Objects_55 = {
978
+ type Objects_67 = {
757
979
  readonly "role": string;
758
980
  readonly "name"?: string;
759
981
  readonly "value"?: string;
@@ -776,7 +998,7 @@ type Objects_55 = {
776
998
  readonly "visible"?: boolean;
777
999
  };
778
1000
  readonly "actions"?: ReadonlyArray<string>;
779
- readonly "children": ReadonlyArray<Objects_55>;
1001
+ readonly "children": ReadonlyArray<Objects_67>;
780
1002
  };
781
1003
  export type AuthRemoteAgentsListInput = {
782
1004
  readonly "projectId": string;
@@ -964,11 +1186,7 @@ export type ThreadsHistoryOutput = {
964
1186
  readonly "workerEpoch": number;
965
1187
  readonly "sourceBindingId": string | null;
966
1188
  readonly "targetBindingId": string | null;
967
- readonly "nativeLocator": {
968
- readonly "sessionId"?: string;
969
- readonly "turnId"?: string;
970
- readonly "generationId"?: string;
971
- } | null;
1189
+ readonly "nativeLocator": Union_2;
972
1190
  readonly "stage": "preparing" | "dispatching" | "running" | "reconciling";
973
1191
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
974
1192
  readonly "createdAt": string;
@@ -1000,27 +1218,27 @@ export type ThreadsHistoryOutput = {
1000
1218
  readonly "requestedVersion": string;
1001
1219
  readonly "updateId": string | null;
1002
1220
  readonly "expectsVerdict"?: boolean | undefined;
1003
- readonly "outcome": Union_1;
1221
+ readonly "outcome": Union_3;
1004
1222
  } | undefined;
1005
1223
  readonly "createdAt": string;
1006
1224
  readonly "updatedAt": string;
1007
1225
  }> | undefined;
1008
1226
  readonly "turnQueuePaused"?: boolean | undefined;
1009
1227
  readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined;
1010
- readonly "titleRegeneration"?: Objects_11 | null | undefined;
1011
- readonly "titleState"?: Objects_12 | null | undefined;
1228
+ readonly "titleRegeneration"?: Objects_12 | null | undefined;
1229
+ readonly "titleState"?: Objects_13 | null | undefined;
1012
1230
  readonly "deletedAt": string | null;
1013
1231
  readonly "messages": ReadonlyArray<{
1014
1232
  readonly "id": string;
1015
1233
  readonly "role": "user" | "assistant" | "system";
1016
1234
  readonly "text": string;
1017
- readonly "attachments"?: ReadonlyArray<Union_2> | undefined;
1235
+ readonly "attachments"?: ReadonlyArray<Union_4> | undefined;
1018
1236
  readonly "turnId": string | null;
1019
1237
  readonly "streaming": boolean;
1020
- readonly "author"?: Union_3;
1238
+ readonly "author"?: Union_5;
1021
1239
  readonly "recordId"?: string | undefined;
1022
- readonly "modelSelection"?: Union_4;
1023
- readonly "source"?: Union_5;
1240
+ readonly "modelSelection"?: Union_6;
1241
+ readonly "source"?: Union_7;
1024
1242
  readonly "createdAt": string;
1025
1243
  readonly "updatedAt": string;
1026
1244
  }>;
@@ -1057,7 +1275,7 @@ export type ThreadsHistoryOutput = {
1057
1275
  readonly "assistantMessageId": string | null;
1058
1276
  readonly "completedAt": string;
1059
1277
  }>;
1060
- readonly "session": Objects_13 | null;
1278
+ readonly "session": Objects_14 | null;
1061
1279
  };
1062
1280
  readonly "page"?: {
1063
1281
  readonly "beforeCursor": string | null;
@@ -1121,8 +1339,8 @@ export type ThreadsToolCallGetOutput = {
1121
1339
  readonly "outputSequence"?: number | undefined;
1122
1340
  readonly "outputTurnId"?: string | undefined;
1123
1341
  readonly "exitCode"?: number | undefined;
1124
- readonly "inputWindow"?: Objects_17;
1125
- readonly "outputWindow"?: Objects_17;
1342
+ readonly "inputWindow"?: Objects_18;
1343
+ readonly "outputWindow"?: Objects_18;
1126
1344
  };
1127
1345
  export type ThreadsPluginToolPresentationGetInput = {
1128
1346
  readonly "threadId": string;
@@ -1170,6 +1388,84 @@ export type ThreadsExecutionSummaryOutput = {
1170
1388
  readonly "pendingUserInputCount": number;
1171
1389
  readonly "continuation": "active" | "queued" | "blocked" | "paused" | "idle";
1172
1390
  };
1391
+ export type ThreadsExecutionGetInput = {
1392
+ readonly "threadId": string;
1393
+ };
1394
+ export type ThreadsExecutionGetOutput = {
1395
+ readonly "threadId": string;
1396
+ readonly "projectId": string;
1397
+ readonly "title": string;
1398
+ readonly "modelSelection": Objects_1;
1399
+ readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1400
+ readonly "interactionMode": "default" | "plan";
1401
+ readonly "branch": string | null;
1402
+ readonly "worktreePath": string | null;
1403
+ readonly "createdAt": string;
1404
+ readonly "updatedAt": string;
1405
+ readonly "archivedAt": string | null;
1406
+ readonly "origin": Objects_8 | null;
1407
+ readonly "forkedFrom": Objects_ | null;
1408
+ readonly "session": {
1409
+ readonly "activeTurnId": string | null;
1410
+ readonly "lastError": string | null;
1411
+ readonly "updatedAt": string;
1412
+ readonly "endReason"?: "server-restart";
1413
+ readonly "failureCategory"?: "quota" | "rate-limit" | "context-limit" | "auth" | "model-unavailable" | "transport" | "unknown";
1414
+ readonly "status": string;
1415
+ readonly "providerInstanceId": string | null;
1416
+ } | null;
1417
+ readonly "latestTurn": {
1418
+ readonly "turnId": string;
1419
+ readonly "state": "running" | "interrupted" | "completed" | "error";
1420
+ readonly "requestedAt": string;
1421
+ readonly "startedAt": string | null;
1422
+ readonly "completedAt": string | null;
1423
+ readonly "assistantMessageId": string | null;
1424
+ readonly "userMessageId"?: string | undefined;
1425
+ readonly "waitSpans"?: Union_1;
1426
+ } | null;
1427
+ readonly "turnIntents": ReadonlyArray<{
1428
+ readonly "intentId": string;
1429
+ readonly "threadId": string;
1430
+ readonly "sequence": number;
1431
+ readonly "commandId": string;
1432
+ readonly "messageId": string;
1433
+ readonly "createdAt": string;
1434
+ readonly "updatedAt": string;
1435
+ readonly "revision": number;
1436
+ readonly "turn": {
1437
+ readonly "turnId": string | null;
1438
+ readonly "userMessageId": string;
1439
+ readonly "state": "pending" | "running" | "interrupted" | "completed" | "error";
1440
+ readonly "requestedAt": string;
1441
+ readonly "startedAt": string | null;
1442
+ readonly "completedAt": string | null;
1443
+ readonly "waitSpans": ReadonlyArray<Objects_11>;
1444
+ } | null;
1445
+ readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
1446
+ readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
1447
+ readonly "attempt": {
1448
+ readonly "attemptId": string;
1449
+ readonly "workerEpoch": number;
1450
+ readonly "sourceBindingId": string | null;
1451
+ readonly "targetBindingId": string | null;
1452
+ readonly "nativeLocator": Union_2;
1453
+ readonly "stage": "preparing" | "dispatching" | "running" | "reconciling";
1454
+ readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
1455
+ readonly "createdAt": string;
1456
+ readonly "updatedAt": string;
1457
+ } | null;
1458
+ readonly "blockedReason": string | null;
1459
+ readonly "replacementIntentId": string | null;
1460
+ }>;
1461
+ readonly "queuePaused": boolean;
1462
+ readonly "providerProcessLive": boolean;
1463
+ readonly "hasPendingApprovals": boolean;
1464
+ readonly "hasPendingUserInput": boolean;
1465
+ readonly "pendingApprovalCount": number;
1466
+ readonly "pendingUserInputCount": number;
1467
+ readonly "turnStartCount": number;
1468
+ } | null;
1173
1469
  export type ThreadsTurnStartsCountInput = {
1174
1470
  readonly "threadIds": ReadonlyArray<string>;
1175
1471
  };
@@ -1184,8 +1480,8 @@ export type ThreadsMessagesGetOutput = {
1184
1480
  readonly "turnId": string | null;
1185
1481
  readonly "createdAt": string;
1186
1482
  readonly "modelSelection"?: Objects_1 | undefined;
1187
- readonly "source"?: Objects_16 | undefined;
1188
- readonly "attachments": ReadonlyArray<Union_2>;
1483
+ readonly "source"?: Objects_17 | undefined;
1484
+ readonly "attachments": ReadonlyArray<Union_4>;
1189
1485
  } | null;
1190
1486
  export type ThreadsUserInputPendingListInput = {
1191
1487
  readonly "threadId": string;
@@ -1281,14 +1577,14 @@ export type ThreadsMessagesListOutput = {
1281
1577
  }> | undefined;
1282
1578
  readonly "turnId": string | null;
1283
1579
  readonly "streaming": boolean;
1284
- readonly "author"?: Union_3;
1580
+ readonly "author"?: Union_5;
1285
1581
  readonly "recordId"?: string | undefined;
1286
- readonly "modelSelection"?: Union_4;
1287
- readonly "source"?: Union_5;
1582
+ readonly "modelSelection"?: Union_6;
1583
+ readonly "source"?: Union_7;
1288
1584
  readonly "createdAt": string;
1289
1585
  readonly "updatedAt": string;
1290
1586
  readonly "attachmentsTotal"?: number;
1291
- readonly "textWindow"?: Objects_17;
1587
+ readonly "textWindow"?: Objects_18;
1292
1588
  }>;
1293
1589
  readonly "nextCursor": string | null;
1294
1590
  readonly "snapshotSequence": number;
@@ -1358,22 +1654,22 @@ export type CommunicationRecordsGetInput = {
1358
1654
  };
1359
1655
  export type CommunicationRecordsGetOutput = ReadonlyArray<{
1360
1656
  readonly "recordId": string;
1361
- readonly "from": Union_6;
1362
- readonly "to": Union_7;
1657
+ readonly "from": Union_8;
1658
+ readonly "to": Union_9;
1363
1659
  readonly "replyTo": string | null;
1364
1660
  readonly "text": string | null;
1365
1661
  readonly "delivery": "quiet" | "wake" | "steer";
1366
1662
  readonly "createdAt": string;
1367
- readonly "stages": Objects_18;
1663
+ readonly "stages": Objects_19;
1368
1664
  readonly "idempotencyKey"?: string | undefined;
1369
1665
  readonly "runId"?: string | undefined;
1370
1666
  readonly "toRole"?: string | undefined;
1371
- readonly "attachments"?: Union_8;
1667
+ readonly "attachments"?: Union_10;
1372
1668
  readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
1373
1669
  readonly "projectId": string | null;
1374
1670
  readonly "sequence": number;
1375
- readonly "claim": Union_9;
1376
- readonly "textWindow"?: Objects_17;
1671
+ readonly "claim": Union_11;
1672
+ readonly "textWindow"?: Objects_18;
1377
1673
  }>;
1378
1674
  export type CommunicationRecordsListInput = {
1379
1675
  readonly "projectId": string;
@@ -1394,16 +1690,16 @@ export type CommunicationRecordsListInput = {
1394
1690
  readonly "until"?: string | null;
1395
1691
  readonly "cursor"?: string | null;
1396
1692
  readonly "limit"?: number;
1397
- readonly "person": Union_10;
1693
+ readonly "person": Union_12;
1398
1694
  };
1399
- export type CommunicationRecordsListOutput = Objects_19;
1695
+ export type CommunicationRecordsListOutput = Objects_20;
1400
1696
  export type CommunicationInboxListInput = {
1401
1697
  readonly "projectId"?: string;
1402
1698
  readonly "pendingOnly"?: boolean;
1403
1699
  readonly "cursor"?: string | null;
1404
1700
  readonly "limit"?: number;
1405
1701
  };
1406
- export type CommunicationInboxListOutput = Objects_19;
1702
+ export type CommunicationInboxListOutput = Objects_20;
1407
1703
  export type CommunicationPeopleListInput = {
1408
1704
  readonly "projectId": string;
1409
1705
  readonly "cursor"?: string | null;
@@ -1411,7 +1707,7 @@ export type CommunicationPeopleListInput = {
1411
1707
  };
1412
1708
  export type CommunicationPeopleListOutput = {
1413
1709
  readonly "items": ReadonlyArray<{
1414
- readonly "person": Union_11;
1710
+ readonly "person": Union_13;
1415
1711
  readonly "displayName": string;
1416
1712
  }>;
1417
1713
  readonly "nextCursor": string | null;
@@ -1423,7 +1719,7 @@ export type CommunicationRecordsSendInput = {
1423
1719
  readonly "to": {
1424
1720
  readonly "threadId": string;
1425
1721
  } | {
1426
- readonly "person": Union_10;
1722
+ readonly "person": Union_12;
1427
1723
  } | {
1428
1724
  readonly "principalId": string;
1429
1725
  };
@@ -1444,14 +1740,14 @@ export type CommunicationRecordsSendOutput = {
1444
1740
  }>;
1445
1741
  };
1446
1742
  };
1447
- export type CommunicationRecordsWithdrawInput = Objects_20;
1743
+ export type CommunicationRecordsWithdrawInput = Objects_21;
1448
1744
  export type CommunicationRecordsWithdrawOutput = {
1449
1745
  readonly "sequence": number;
1450
1746
  readonly "result": {
1451
1747
  readonly "recordId": string;
1452
1748
  };
1453
1749
  };
1454
- export type CommunicationRecordsDeleteInput = Objects_20;
1750
+ export type CommunicationRecordsDeleteInput = Objects_21;
1455
1751
  export type CommunicationRecordsDeleteOutput = {
1456
1752
  readonly "sequence": number;
1457
1753
  readonly "result": {
@@ -1486,6 +1782,318 @@ export type ApprovalsPendingListOutput = ReadonlyArray<{
1486
1782
  }> | undefined;
1487
1783
  readonly "declineReasonRelay"?: "native" | "queued" | "none" | undefined;
1488
1784
  }>;
1785
+ export type MachineSettingsUpdateInput = {
1786
+ readonly "patch": {
1787
+ readonly "enableLegacyTokenStreaming"?: boolean;
1788
+ readonly "enableProviderUpdateChecks"?: boolean;
1789
+ readonly "enableAgentBrowserAccess"?: boolean;
1790
+ readonly "enableAgentThreadDelegation"?: boolean;
1791
+ readonly "agentThreadDelegationMaxDepth"?: number;
1792
+ readonly "enableAgentSelfDevelopment"?: boolean;
1793
+ readonly "triggers"?: {
1794
+ readonly [x: string]: {
1795
+ readonly "bindingId": string;
1796
+ readonly "enabled"?: boolean;
1797
+ readonly "projectId": string;
1798
+ readonly "source": {
1799
+ readonly "kind": "event";
1800
+ readonly "eventKind": string;
1801
+ };
1802
+ readonly "target": {
1803
+ readonly "kind": "thread";
1804
+ readonly "presetId"?: string;
1805
+ } | {
1806
+ readonly "kind": "plugin";
1807
+ readonly "pluginId": string;
1808
+ readonly "command": string;
1809
+ readonly "payload": {
1810
+ readonly [x: string]: unknown;
1811
+ };
1812
+ } | {
1813
+ readonly "kind": "workflow";
1814
+ readonly "pluginId": string;
1815
+ readonly "workflowId": string;
1816
+ };
1817
+ };
1818
+ };
1819
+ readonly "agentRouting"?: {
1820
+ readonly "roles"?: {
1821
+ readonly [x: string]: {
1822
+ readonly "instanceId": string;
1823
+ readonly "model": string;
1824
+ };
1825
+ };
1826
+ readonly "allowlistOnly"?: boolean;
1827
+ };
1828
+ readonly "backgroundActivity"?: {
1829
+ readonly "schemaVersion"?: 1;
1830
+ readonly "profile"?: "balanced" | "performance" | "battery-saver" | "custom";
1831
+ readonly "baseProfile"?: "balanced" | "performance" | "battery-saver";
1832
+ readonly "overrides"?: {
1833
+ readonly "automaticGitFetchInterval"?: number;
1834
+ readonly "providerHealthRefreshInterval"?: number;
1835
+ readonly "hostPowerMonitorActiveInterval"?: number;
1836
+ readonly "hostPowerMonitorIdleInterval"?: number;
1837
+ readonly "idleClientTtl"?: number;
1838
+ readonly "pauseWhenHostLocked"?: boolean;
1839
+ readonly "pauseWhenHostLowPower"?: boolean;
1840
+ readonly "pauseWhenClientLowPower"?: boolean;
1841
+ readonly "pauseWhenOnBattery"?: boolean;
1842
+ };
1843
+ };
1844
+ readonly "automaticGitFetchInterval"?: number;
1845
+ readonly "providerHealthRefreshInterval"?: number;
1846
+ readonly "npmRegistry"?: string;
1847
+ readonly "pluginUpdateCheck"?: boolean;
1848
+ readonly "backgroundActivityProfile"?: "balanced" | "performance" | "battery-saver";
1849
+ readonly "environmentIcon"?: "server" | "cloud" | "linux" | "desktop" | "laptop" | "mac-mini" | "mac-studio" | null;
1850
+ readonly "defaultThreadEnvMode"?: "local" | "worktree";
1851
+ readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1852
+ readonly "newWorktreesStartFromOrigin"?: boolean;
1853
+ readonly "addProjectBaseDirectory"?: string;
1854
+ readonly "textGenerationModelSelection"?: {
1855
+ readonly "instanceId"?: string;
1856
+ readonly "model"?: string;
1857
+ readonly "options"?: ReadonlyArray<{
1858
+ readonly "id": string;
1859
+ readonly "value": string | boolean;
1860
+ }> | {
1861
+ readonly [x: string]: unknown;
1862
+ };
1863
+ } | null;
1864
+ readonly "sourceControlWritingStyle"?: {
1865
+ readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom";
1866
+ readonly "customInstructions"?: string;
1867
+ readonly "followChangeRequestTemplates"?: boolean;
1868
+ };
1869
+ readonly "sourceControlWriterModelSelection"?: {
1870
+ readonly "provider"?: unknown;
1871
+ readonly "instanceId"?: unknown;
1872
+ readonly "model": unknown;
1873
+ readonly "options"?: unknown;
1874
+ } | null;
1875
+ readonly "observability"?: {
1876
+ readonly "otlpTracesUrl"?: string;
1877
+ readonly "otlpMetricsUrl"?: string;
1878
+ readonly "otlpLogsUrl"?: string;
1879
+ };
1880
+ readonly "providerInstances"?: {
1881
+ readonly [x: string]: {
1882
+ readonly "driver": string;
1883
+ readonly "displayName"?: string;
1884
+ readonly "accentColor"?: string;
1885
+ readonly "environment"?: ReadonlyArray<Objects_22>;
1886
+ readonly "proxyId"?: null | string | {
1887
+ readonly "required": string;
1888
+ };
1889
+ readonly "enabled"?: boolean;
1890
+ readonly "hiddenModels"?: ReadonlyArray<string>;
1891
+ readonly "modelOrder"?: ReadonlyArray<string>;
1892
+ readonly "defaultModel"?: string;
1893
+ readonly "config"?: unknown;
1894
+ readonly "configSecretFields"?: ReadonlyArray<string>;
1895
+ };
1896
+ };
1897
+ readonly "proxies"?: {
1898
+ readonly [x: string]: {
1899
+ readonly "displayName"?: string;
1900
+ readonly "protocol": "http" | "https";
1901
+ readonly "host": string;
1902
+ readonly "port": number;
1903
+ readonly "username"?: string;
1904
+ readonly "bypass"?: string;
1905
+ readonly "credentials"?: ReadonlyArray<Objects_22>;
1906
+ };
1907
+ };
1908
+ readonly "defaultProxyId"?: string | null;
1909
+ readonly "plugins"?: {
1910
+ readonly "mcpServers"?: {
1911
+ readonly [x: string]: {
1912
+ readonly "name": string;
1913
+ readonly "transport": {
1914
+ readonly "type": "stdio";
1915
+ readonly "command": string;
1916
+ readonly "args"?: ReadonlyArray<string>;
1917
+ readonly "env"?: {
1918
+ readonly [x: string]: string;
1919
+ };
1920
+ } | {
1921
+ readonly "type": "http";
1922
+ readonly "url": string;
1923
+ readonly "headers"?: {
1924
+ readonly [x: string]: string;
1925
+ };
1926
+ } | {
1927
+ readonly "type": "sse";
1928
+ readonly "url": string;
1929
+ readonly "headers"?: {
1930
+ readonly [x: string]: string;
1931
+ };
1932
+ };
1933
+ readonly "enabled"?: boolean;
1934
+ readonly "providers"?: Objects_23;
1935
+ readonly "catalogId"?: string;
1936
+ readonly "oauth"?: {
1937
+ readonly "status": "none" | "required" | "authorized";
1938
+ };
1939
+ };
1940
+ };
1941
+ readonly "skills"?: {
1942
+ readonly [x: string]: {
1943
+ readonly "name": string;
1944
+ readonly "source": {
1945
+ readonly "kind": "inline";
1946
+ readonly "skillMd": string;
1947
+ } | {
1948
+ readonly "kind": "builtin";
1949
+ readonly "id": string;
1950
+ } | {
1951
+ readonly "kind": "catalog";
1952
+ readonly "catalogId": string;
1953
+ readonly "version": string;
1954
+ };
1955
+ readonly "modelInvocable"?: boolean;
1956
+ readonly "userInvocable"?: boolean;
1957
+ readonly "providers"?: Objects_23;
1958
+ };
1959
+ };
1960
+ };
1961
+ readonly "requireManualPairingForNewDevices"?: boolean;
1962
+ readonly "tunnelForceTcp"?: boolean;
1963
+ readonly "wallpaper"?: {
1964
+ readonly "base": Objects_24;
1965
+ readonly "sidebar": Objects_24 | null;
1966
+ readonly "workspace": Objects_24 | null;
1967
+ readonly "chat": Objects_24 | null;
1968
+ };
1969
+ };
1970
+ };
1971
+ export type MachineSettingsUpdateOutput = Objects_25;
1972
+ export type MachineSettingsKeybindingsUpsertInput = {
1973
+ readonly "key": string;
1974
+ 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"}`;
1975
+ readonly "when"?: string;
1976
+ readonly "replace"?: {
1977
+ readonly "key": string;
1978
+ 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"}`;
1979
+ readonly "when"?: string;
1980
+ };
1981
+ };
1982
+ export type MachineSettingsKeybindingsUpsertOutput = Objects_33;
1983
+ export type MachineSettingsKeybindingsRemoveInput = {
1984
+ readonly "key": string;
1985
+ 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"}`;
1986
+ readonly "when"?: string;
1987
+ };
1988
+ export type MachineSettingsKeybindingsRemoveOutput = Objects_33;
1989
+ export type MachineSettingsWallpaperAdoptInput = {
1990
+ readonly "attachmentId": string;
1991
+ };
1992
+ export type MachineSettingsWallpaperAdoptOutput = {
1993
+ readonly "wallpaperId": string;
1994
+ };
1995
+ export type MachineSettingsConnectPreferencesUpdateInput = {
1996
+ readonly "publishAgentActivity": boolean;
1997
+ };
1998
+ export type MachineSettingsConnectPreferencesUpdateOutput = {
1999
+ readonly "linked": boolean;
2000
+ readonly "cloudUserId": string | null;
2001
+ readonly "relayUrl": string | null;
2002
+ readonly "relayIssuer": string | null;
2003
+ readonly "managedTunnelActive"?: boolean | undefined;
2004
+ readonly "publishAgentActivity": boolean;
2005
+ readonly "lastReconcileAttempt"?: {
2006
+ readonly "outcome": "ok" | "error";
2007
+ readonly "attemptedAt": SchemaUtc;
2008
+ readonly "message"?: string;
2009
+ } | undefined;
2010
+ };
2011
+ export type MachineSettingsGetInput = {};
2012
+ export type MachineSettingsGetOutput = Objects_25;
2013
+ export type MachineSettingsConfigGetInput = {};
2014
+ export type MachineSettingsConfigGetOutput = {
2015
+ readonly "environment": {
2016
+ readonly "environmentId": string;
2017
+ readonly "label": string;
2018
+ readonly "platform": {
2019
+ readonly "os": "darwin" | "linux" | "windows" | "unknown";
2020
+ readonly "arch": "arm64" | "x64" | "other";
2021
+ readonly "machine"?: "server" | "cloud" | "linux" | "desktop" | "laptop" | "mac-mini" | "mac-studio" | undefined;
2022
+ };
2023
+ readonly "serverVersion": string;
2024
+ readonly "wireProtocolVersion"?: number;
2025
+ readonly "minClientWireProtocolVersion"?: number;
2026
+ readonly "capabilities": {
2027
+ readonly "repositoryIdentity": boolean;
2028
+ readonly "connectionProbe"?: boolean;
2029
+ readonly "reviewDiffFiles"?: boolean;
2030
+ readonly "attachmentUploads"?: boolean;
2031
+ readonly "questionAttachments"?: boolean;
2032
+ readonly "threadSettlement"?: boolean;
2033
+ readonly "threadSnooze"?: boolean;
2034
+ readonly "threadPinning"?: boolean;
2035
+ readonly "threadPinReorder"?: boolean;
2036
+ readonly "manualOrdering"?: boolean;
2037
+ readonly "projectCopies"?: boolean;
2038
+ readonly "projectArchive"?: boolean;
2039
+ readonly "projectCloneInBackground"?: boolean;
2040
+ readonly "worktreeSetupProgress"?: boolean;
2041
+ readonly "threadTitleRegeneration"?: boolean;
2042
+ readonly "threadPullRequestLinking"?: boolean;
2043
+ readonly "environmentIcon"?: boolean;
2044
+ readonly "serverSelfUpdate"?: "boot-service" | "respawn" | "desktop-managed";
2045
+ readonly "serverSelfUpdateProgress"?: boolean;
2046
+ readonly "downloadBaseUrl"?: string;
2047
+ readonly "agentActivityPublishing"?: boolean;
2048
+ readonly "noiseIk"?: boolean;
2049
+ readonly "threadAgentRecords"?: boolean;
2050
+ readonly "browserArtifactDelivery"?: boolean;
2051
+ readonly "pluginNotifications"?: boolean;
2052
+ readonly "pluginPurge"?: boolean;
2053
+ readonly "pluginUpdateAdvisories"?: boolean;
2054
+ };
2055
+ readonly "noiseStaticPublicKey"?: string;
2056
+ };
2057
+ readonly "auth": {
2058
+ readonly "policy": "desktop-managed-local" | "loopback-browser" | "remote-reachable" | "unsafe-no-auth";
2059
+ readonly "bootstrapMethods": ReadonlyArray<"desktop-bootstrap" | "one-time-token">;
2060
+ readonly "sessionMethods": ReadonlyArray<"browser-session-cookie" | "bearer-access-token" | "dpop-access-token">;
2061
+ readonly "sessionCookieName": string;
2062
+ };
2063
+ readonly "cwd": string;
2064
+ readonly "observability": {
2065
+ readonly "logsDirectoryPath": string;
2066
+ readonly "localTracingEnabled": boolean;
2067
+ readonly "otlpTracesUrl"?: string;
2068
+ readonly "otlpTracesEnabled": boolean;
2069
+ readonly "otlpMetricsUrl"?: string;
2070
+ readonly "otlpMetricsEnabled": boolean;
2071
+ readonly "otlpLogsUrl"?: string;
2072
+ readonly "otlpLogsEnabled": boolean;
2073
+ };
2074
+ };
2075
+ export type MachineSettingsPresetsListInput = {};
2076
+ export type MachineSettingsPresetsListOutput = {
2077
+ readonly "presets": ReadonlyArray<{
2078
+ readonly "presetId": string;
2079
+ readonly "displayName": string;
2080
+ readonly "description"?: string | undefined;
2081
+ readonly "mcpServers"?: ReadonlyArray<string> | undefined;
2082
+ readonly "skills"?: ReadonlyArray<string> | undefined;
2083
+ readonly "toolkits"?: ReadonlyArray<"preview" | "orchestration" | "team" | "selfdev" | "board" | "memory"> | undefined;
2084
+ readonly "promptPrefix"?: string | undefined;
2085
+ }>;
2086
+ };
2087
+ export type MachineSettingsProxiesListInput = {};
2088
+ export type MachineSettingsProxiesListOutput = ReadonlyArray<{
2089
+ readonly "id": string;
2090
+ readonly "displayName"?: string | undefined;
2091
+ readonly "protocol": "http" | "https";
2092
+ readonly "host": string;
2093
+ readonly "port": number;
2094
+ readonly "bypass"?: string;
2095
+ readonly "isDefault": boolean;
2096
+ }>;
1489
2097
  export type ProvidersInstancesListInput = {};
1490
2098
  export type ProvidersInstancesListOutput = ReadonlyArray<{
1491
2099
  readonly "instanceId": string;
@@ -1509,19 +2117,14 @@ export type ProvidersInstancesListOutput = ReadonlyArray<{
1509
2117
  }>;
1510
2118
  export type ProvidersRoutingGetInput = {};
1511
2119
  export type ProvidersRoutingGetOutput = {
1512
- readonly "roles": {
1513
- readonly [x: string]: {
1514
- readonly "instanceId": string;
1515
- readonly "model": string;
1516
- };
1517
- };
2120
+ readonly "roles": Objects_26;
1518
2121
  readonly "allowlistOnly": boolean;
1519
2122
  };
1520
2123
  export type ProvidersSelectionResolveInput = {
1521
- readonly "base": Objects_21 | null;
2124
+ readonly "base": Objects_34 | null;
1522
2125
  readonly "instanceId"?: string;
1523
2126
  readonly "model"?: string;
1524
- readonly "options"?: Arrays_3 | Objects_22;
2127
+ readonly "options"?: Arrays_3 | Objects_35;
1525
2128
  readonly "routingKey"?: string;
1526
2129
  };
1527
2130
  export type ProvidersSelectionResolveOutput = {
@@ -1731,24 +2334,15 @@ export type PluginsProjectConfigGetInput = {
1731
2334
  export type PluginsProjectConfigGetOutput = {
1732
2335
  readonly "config": {
1733
2336
  readonly "mcpServers"?: {
1734
- readonly [x: string]: Objects_23;
2337
+ readonly [x: string]: Objects_36;
1735
2338
  };
1736
2339
  readonly "skills"?: {
1737
2340
  readonly [x: string]: {
1738
2341
  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
- };
2342
+ readonly "source": Objects_37 | Objects_30 | Objects_31;
1747
2343
  readonly "modelInvocable": boolean;
1748
2344
  readonly "userInvocable": boolean;
1749
- readonly "providers": {
1750
- readonly [x: string]: boolean;
1751
- };
2345
+ readonly "providers": Objects_32;
1752
2346
  };
1753
2347
  };
1754
2348
  };
@@ -1764,26 +2358,26 @@ export type PluginsProjectConfigUpdateInput = {
1764
2358
  readonly "type": "stdio";
1765
2359
  readonly "command": string;
1766
2360
  readonly "args"?: Arrays_4;
1767
- readonly "env"?: Objects_26;
2361
+ readonly "env"?: Objects_38;
1768
2362
  } | {
1769
2363
  readonly "type": "http";
1770
2364
  readonly "url": string;
1771
- readonly "headers"?: Objects_26;
2365
+ readonly "headers"?: Objects_38;
1772
2366
  } | {
1773
2367
  readonly "type": "sse";
1774
2368
  readonly "url": string;
1775
- readonly "headers"?: Objects_26;
2369
+ readonly "headers"?: Objects_38;
1776
2370
  };
1777
2371
  readonly "enabled"?: boolean;
1778
- readonly "providers"?: Objects_27;
2372
+ readonly "providers"?: Objects_39;
1779
2373
  readonly "catalogId"?: string;
1780
- readonly "oauth"?: Objects_24;
2374
+ readonly "oauth"?: Objects_29;
1781
2375
  };
1782
2376
  };
1783
2377
  readonly "skills"?: {
1784
2378
  readonly [x: string]: {
1785
2379
  readonly "name": string;
1786
- readonly "source": Objects_25 | {
2380
+ readonly "source": Objects_37 | {
1787
2381
  readonly "kind": "builtin";
1788
2382
  readonly "id": string;
1789
2383
  } | {
@@ -1793,7 +2387,7 @@ export type PluginsProjectConfigUpdateInput = {
1793
2387
  };
1794
2388
  readonly "modelInvocable"?: boolean;
1795
2389
  readonly "userInvocable"?: boolean;
1796
- readonly "providers"?: Objects_27;
2390
+ readonly "providers"?: Objects_39;
1797
2391
  };
1798
2392
  };
1799
2393
  };
@@ -2003,9 +2597,9 @@ export type PluginsNotificationsListOutput = {
2003
2597
  };
2004
2598
  }>;
2005
2599
  };
2006
- export type PluginsNotificationsMarkReadInput = Objects_28;
2600
+ export type PluginsNotificationsMarkReadInput = Objects_40;
2007
2601
  export type PluginsNotificationsMarkReadOutput = {};
2008
- export type PluginsNotificationsClearInput = Objects_28;
2602
+ export type PluginsNotificationsClearInput = Objects_40;
2009
2603
  export type PluginsNotificationsClearOutput = {};
2010
2604
  export type PluginsSettingsCardsListInput = {};
2011
2605
  export type PluginsSettingsCardsListOutput = {
@@ -2026,8 +2620,8 @@ export type PluginsSettingsCardsListOutput = {
2026
2620
  readonly "placeholder"?: string | undefined;
2027
2621
  readonly "placeholderKey"?: string | undefined;
2028
2622
  readonly "required"?: boolean | undefined;
2029
- readonly "options"?: Union_13;
2030
- readonly "showWhen"?: Union_14;
2623
+ readonly "options"?: Union_17;
2624
+ readonly "showWhen"?: Union_18;
2031
2625
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" | "table";
2032
2626
  readonly "columns"?: ReadonlyArray<{
2033
2627
  readonly "key": string;
@@ -2038,8 +2632,8 @@ export type PluginsSettingsCardsListOutput = {
2038
2632
  readonly "placeholder"?: string | undefined;
2039
2633
  readonly "placeholderKey"?: string | undefined;
2040
2634
  readonly "required"?: boolean | undefined;
2041
- readonly "options"?: Union_13;
2042
- readonly "showWhen"?: Union_14;
2635
+ readonly "options"?: Union_17;
2636
+ readonly "showWhen"?: Union_18;
2043
2637
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy";
2044
2638
  }> | undefined;
2045
2639
  readonly "rowIds"?: "client" | "plugin" | undefined;
@@ -2050,7 +2644,7 @@ export type PluginsSettingsCardsListOutput = {
2050
2644
  readonly "badgeKey"?: string | undefined;
2051
2645
  readonly "warningKey"?: string | undefined;
2052
2646
  readonly "command": string;
2053
- readonly "showWhen"?: Objects_29 | undefined;
2647
+ readonly "showWhen"?: Objects_41 | undefined;
2054
2648
  readonly "fills": ReadonlyArray<string>;
2055
2649
  }> | undefined;
2056
2650
  }>;
@@ -2062,7 +2656,7 @@ export type PluginsSettingsCardsListOutput = {
2062
2656
  readonly "warningKey"?: string | undefined;
2063
2657
  readonly "command": string;
2064
2658
  }> | undefined;
2065
- readonly "values": Objects_30;
2659
+ readonly "values": Objects_42;
2066
2660
  readonly "secretFields"?: ReadonlyArray<string> | undefined;
2067
2661
  readonly "secretCells"?: ReadonlyArray<{
2068
2662
  readonly "field": string;
@@ -2073,7 +2667,7 @@ export type PluginsSettingsCardsListOutput = {
2073
2667
  };
2074
2668
  export type PluginsSettingsCardsUpdateValuesInput = {
2075
2669
  readonly "entryId": string;
2076
- readonly "values": Objects_30;
2670
+ readonly "values": Objects_42;
2077
2671
  readonly "revision": string;
2078
2672
  };
2079
2673
  export type PluginsSettingsCardsUpdateValuesOutput = {
@@ -2085,7 +2679,7 @@ export type PluginsConnectorsInstallInput = {
2085
2679
  readonly "requestId"?: string;
2086
2680
  };
2087
2681
  export type PluginsConnectorsInstallOutput = {
2088
- readonly "entry": Objects_23;
2682
+ readonly "entry": Objects_36;
2089
2683
  };
2090
2684
  export type UsageQuotaGetInput = {
2091
2685
  readonly "instanceIds"?: ReadonlyArray<string>;
@@ -2094,7 +2688,7 @@ export type UsageQuotaGetInput = {
2094
2688
  export type UsageQuotaGetOutput = {
2095
2689
  readonly "contractVersion": number;
2096
2690
  readonly "hostId": string;
2097
- readonly "instances": ReadonlyArray<Objects_31>;
2691
+ readonly "instances": ReadonlyArray<Objects_43>;
2098
2692
  };
2099
2693
  export type UsageTokensGetInput = {
2100
2694
  readonly "sinceDay": string;
@@ -2159,21 +2753,21 @@ export type UsageQuotaRedeemResetInput = {
2159
2753
  };
2160
2754
  export type UsageQuotaRedeemResetOutput = {
2161
2755
  readonly "outcome": "reset" | "nothingToReset" | "noCredit" | "alreadyRedeemed";
2162
- readonly "instance": Objects_31;
2756
+ readonly "instance": Objects_43;
2163
2757
  };
2164
2758
  export type WakesCancelInput = {
2165
2759
  readonly "wakeId": string;
2166
2760
  readonly "requestId"?: string;
2167
2761
  };
2168
2762
  export type WakesCancelOutput = {
2169
- readonly "wake": Objects_32;
2763
+ readonly "wake": Objects_44;
2170
2764
  };
2171
2765
  export type WakesListInput = {
2172
2766
  readonly "threadId"?: string;
2173
2767
  readonly "state"?: "scheduled" | "fired" | "cancelled";
2174
2768
  };
2175
2769
  export type WakesListOutput = {
2176
- readonly "wakes": ReadonlyArray<Objects_32>;
2770
+ readonly "wakes": ReadonlyArray<Objects_44>;
2177
2771
  };
2178
2772
  export type SkillsListInput = {
2179
2773
  readonly "threadId"?: string;
@@ -2194,7 +2788,7 @@ export type SkillsReadOutput = {
2194
2788
  readonly "name": string;
2195
2789
  readonly "directory": string;
2196
2790
  readonly "content": string;
2197
- readonly "contentWindow"?: Objects_17;
2791
+ readonly "contentWindow"?: Objects_18;
2198
2792
  };
2199
2793
  export type MemoryExperiencesListInput = {
2200
2794
  readonly "projectId": string;
@@ -2206,7 +2800,7 @@ export type MemoryExperiencesListOutput = {
2206
2800
  readonly "items": ReadonlyArray<{
2207
2801
  readonly "experienceId": string;
2208
2802
  readonly "status": "active" | "forgotten" | "erased";
2209
- readonly "author": Union_16;
2803
+ readonly "author": Union_20;
2210
2804
  readonly "sourceThreadId": string | null;
2211
2805
  readonly "sourceTurnId": string | null;
2212
2806
  readonly "currentRevision": number;
@@ -2227,7 +2821,7 @@ export type MemoryExperiencesGetInput = {
2227
2821
  export type MemoryExperiencesGetOutput = {
2228
2822
  readonly "experienceId": string;
2229
2823
  readonly "status": "active" | "forgotten" | "erased";
2230
- readonly "author": Union_16;
2824
+ readonly "author": Union_20;
2231
2825
  readonly "sourceThreadId": string | null;
2232
2826
  readonly "sourceTurnId": string | null;
2233
2827
  readonly "currentRevision": number;
@@ -2236,11 +2830,11 @@ export type MemoryExperiencesGetOutput = {
2236
2830
  readonly "supersedes": Arrays_5;
2237
2831
  readonly "bodyState": "present" | "erased" | "unavailable";
2238
2832
  readonly "body": string | null;
2239
- readonly "bodyWindow"?: Objects_17;
2833
+ readonly "bodyWindow"?: Objects_18;
2240
2834
  readonly "forgottenAt": string | null;
2241
- readonly "forgottenBy": Union_16 | null;
2835
+ readonly "forgottenBy": Union_20 | null;
2242
2836
  readonly "erasedAt": string | null;
2243
- readonly "erasedBy": Union_16 | null;
2837
+ readonly "erasedBy": Union_20 | null;
2244
2838
  };
2245
2839
  export type MemoryExperiencesHistoryInput = {
2246
2840
  readonly "projectId": string;
@@ -2251,7 +2845,7 @@ export type MemoryExperiencesHistoryInput = {
2251
2845
  readonly "textLimit"?: number;
2252
2846
  };
2253
2847
  export type MemoryExperiencesHistoryOutput = {
2254
- readonly "items": ReadonlyArray<Objects_36>;
2848
+ readonly "items": ReadonlyArray<Objects_48>;
2255
2849
  readonly "nextCursor": string | null;
2256
2850
  };
2257
2851
  export type MemoryRevisionsGetInput = {
@@ -2261,7 +2855,7 @@ export type MemoryRevisionsGetInput = {
2261
2855
  readonly "textOffset"?: number;
2262
2856
  readonly "textLimit"?: number;
2263
2857
  };
2264
- export type MemoryRevisionsGetOutput = Objects_36;
2858
+ export type MemoryRevisionsGetOutput = Objects_48;
2265
2859
  export type MemorySearchInput = {
2266
2860
  readonly "projectId": string;
2267
2861
  readonly "text": string;
@@ -2297,7 +2891,7 @@ export type MemoryExperiencesRecordInput = {
2297
2891
  };
2298
2892
  export type MemoryExperiencesRecordOutput = {
2299
2893
  readonly "sequence": number;
2300
- readonly "result": Objects_37;
2894
+ readonly "result": Objects_49;
2301
2895
  };
2302
2896
  export type MemoryExperiencesReviseInput = {
2303
2897
  readonly "projectId": string;
@@ -2308,13 +2902,13 @@ export type MemoryExperiencesReviseInput = {
2308
2902
  };
2309
2903
  export type MemoryExperiencesReviseOutput = {
2310
2904
  readonly "sequence": number;
2311
- readonly "result": Objects_37;
2905
+ readonly "result": Objects_49;
2312
2906
  };
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;
2907
+ export type MemoryExperiencesForgetInput = Objects_50;
2908
+ export type MemoryExperiencesForgetOutput = Objects_51;
2909
+ export type MemoryExperiencesRestoreInput = Objects_50;
2910
+ export type MemoryExperiencesRestoreOutput = Objects_51;
2911
+ export type MemoryExperiencesEraseInput = Objects_50;
2318
2912
  export type MemoryExperiencesEraseOutput = {
2319
2913
  readonly "sequence": number;
2320
2914
  readonly "result": {
@@ -2364,10 +2958,10 @@ export type MemoryPagesGetOutput = {
2364
2958
  readonly "updatedAt": string;
2365
2959
  readonly "title": string | null;
2366
2960
  readonly "bodyState": "present" | "erased" | "unavailable";
2367
- readonly "createdBy": Union_16;
2961
+ readonly "createdBy": Union_20;
2368
2962
  readonly "body": string | null;
2369
- readonly "bodyWindow"?: Objects_17;
2370
- readonly "erasedBy": Union_16 | null;
2963
+ readonly "bodyWindow"?: Objects_18;
2964
+ readonly "erasedBy": Union_20 | null;
2371
2965
  };
2372
2966
  export type MemoryPagesHistoryInput = {
2373
2967
  readonly "projectId": string;
@@ -2378,7 +2972,7 @@ export type MemoryPagesHistoryInput = {
2378
2972
  readonly "textLimit"?: number;
2379
2973
  };
2380
2974
  export type MemoryPagesHistoryOutput = {
2381
- readonly "items": ReadonlyArray<Objects_40>;
2975
+ readonly "items": ReadonlyArray<Objects_52>;
2382
2976
  readonly "nextCursor": string | null;
2383
2977
  };
2384
2978
  export type MemoryPageRevisionsGetInput = {
@@ -2388,7 +2982,7 @@ export type MemoryPageRevisionsGetInput = {
2388
2982
  readonly "textOffset"?: number;
2389
2983
  readonly "textLimit"?: number;
2390
2984
  };
2391
- export type MemoryPageRevisionsGetOutput = Objects_40;
2985
+ export type MemoryPageRevisionsGetOutput = Objects_52;
2392
2986
  export type MemoryPagesCreateInput = {
2393
2987
  readonly "projectId": string;
2394
2988
  readonly "requestId"?: string;
@@ -2401,7 +2995,7 @@ export type MemoryPagesCreateInput = {
2401
2995
  };
2402
2996
  export type MemoryPagesCreateOutput = {
2403
2997
  readonly "sequence": number;
2404
- readonly "result": Objects_41;
2998
+ readonly "result": Objects_53;
2405
2999
  };
2406
3000
  export type MemoryPagesEditInput = {
2407
3001
  readonly "projectId": string;
@@ -2414,7 +3008,7 @@ export type MemoryPagesEditInput = {
2414
3008
  };
2415
3009
  export type MemoryPagesEditOutput = {
2416
3010
  readonly "sequence": number;
2417
- readonly "result": Objects_41;
3011
+ readonly "result": Objects_53;
2418
3012
  };
2419
3013
  export type MemoryPagesRestoreInput = {
2420
3014
  readonly "projectId": string;
@@ -2425,7 +3019,7 @@ export type MemoryPagesRestoreInput = {
2425
3019
  };
2426
3020
  export type MemoryPagesRestoreOutput = {
2427
3021
  readonly "sequence": number;
2428
- readonly "result": Objects_41;
3022
+ readonly "result": Objects_53;
2429
3023
  };
2430
3024
  export type MemoryPagesEraseInput = {
2431
3025
  readonly "projectId": string;
@@ -2445,8 +3039,8 @@ export type MemoryHandbookGetInput = {
2445
3039
  };
2446
3040
  export type MemoryHandbookGetOutput = {
2447
3041
  readonly "head": {
2448
- readonly "current": Objects_42;
2449
- readonly "pages": ReadonlyArray<Objects_40>;
3042
+ readonly "current": Objects_54;
3043
+ readonly "pages": ReadonlyArray<Objects_52>;
2450
3044
  } | null;
2451
3045
  };
2452
3046
  export type MemoryHandbookReleasesListInput = {
@@ -2455,7 +3049,7 @@ export type MemoryHandbookReleasesListInput = {
2455
3049
  readonly "limit"?: number;
2456
3050
  };
2457
3051
  export type MemoryHandbookReleasesListOutput = {
2458
- readonly "items": ReadonlyArray<Objects_42>;
3052
+ readonly "items": ReadonlyArray<Objects_54>;
2459
3053
  readonly "nextCursor": string | null;
2460
3054
  };
2461
3055
  export type MemoryHandbookReleasesGetInput = {
@@ -2469,8 +3063,8 @@ export type MemoryHandbookReleasesGetOutput = {
2469
3063
  readonly "itemHighWater": number;
2470
3064
  readonly "requiresAck": boolean;
2471
3065
  readonly "restoredFromRelease": number | null;
2472
- readonly "sourceExperience": Union_17;
2473
- readonly "publishedBy": Union_16;
3066
+ readonly "sourceExperience": Union_21;
3067
+ readonly "publishedBy": Union_20;
2474
3068
  readonly "publishedAt": string;
2475
3069
  readonly "items": ReadonlyArray<{
2476
3070
  readonly "itemNumber": number;
@@ -2496,7 +3090,7 @@ export type MemoryHandbookPublishInput = {
2496
3090
  };
2497
3091
  export type MemoryHandbookPublishOutput = {
2498
3092
  readonly "sequence": number;
2499
- readonly "result": Objects_44;
3093
+ readonly "result": Objects_56;
2500
3094
  };
2501
3095
  export type MemoryHandbookRevertInput = {
2502
3096
  readonly "projectId": string;
@@ -2507,7 +3101,7 @@ export type MemoryHandbookRevertInput = {
2507
3101
  };
2508
3102
  export type MemoryHandbookRevertOutput = {
2509
3103
  readonly "sequence": number;
2510
- readonly "result": Objects_44;
3104
+ readonly "result": Objects_56;
2511
3105
  };
2512
3106
  export type WorkRemoteAgentPendingGetInput = {
2513
3107
  readonly "projectId": string;
@@ -2555,7 +3149,7 @@ export type WorkItemsListInput = {
2555
3149
  readonly "projectId": string;
2556
3150
  readonly "stateIds"?: ReadonlyArray<string>;
2557
3151
  readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">;
2558
- readonly "assignees"?: ReadonlyArray<Union_18 | "me" | "none">;
3152
+ readonly "assignees"?: ReadonlyArray<Union_22 | "me" | "none">;
2559
3153
  readonly "orderBy"?: "created" | "updated";
2560
3154
  readonly "cursor"?: string | null;
2561
3155
  readonly "limit"?: number;
@@ -2567,7 +3161,7 @@ export type WorkItemsListOutput = {
2567
3161
  readonly "sequenceId": number;
2568
3162
  readonly "title": string | null;
2569
3163
  readonly "bodyState": "present" | "erased" | "unavailable";
2570
- readonly "state": Objects_45;
3164
+ readonly "state": Objects_57;
2571
3165
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
2572
3166
  readonly "assignees": Arrays_7;
2573
3167
  readonly "labelIds": Arrays_8;
@@ -2581,8 +3175,8 @@ export type WorkItemsListOutput = {
2581
3175
  readonly "revision": number;
2582
3176
  readonly "blockedBy": Arrays_9;
2583
3177
  readonly "blockedByTotal": number;
2584
- readonly "childCounts": Objects_46;
2585
- readonly "createdBy": Union_16;
3178
+ readonly "childCounts": Objects_58;
3179
+ readonly "createdBy": Union_20;
2586
3180
  readonly "createdAt": string;
2587
3181
  readonly "updatedAt": string;
2588
3182
  }>;
@@ -2609,7 +3203,7 @@ export type WorkItemsGetOutput = {
2609
3203
  readonly "sequenceId": number;
2610
3204
  readonly "title": string | null;
2611
3205
  readonly "bodyState": "present" | "erased" | "unavailable";
2612
- readonly "state": Objects_45;
3206
+ readonly "state": Objects_57;
2613
3207
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
2614
3208
  readonly "assignees": Arrays_7;
2615
3209
  readonly "labelIds": Arrays_8;
@@ -2623,12 +3217,12 @@ export type WorkItemsGetOutput = {
2623
3217
  readonly "revision": number;
2624
3218
  readonly "blockedBy": Arrays_9;
2625
3219
  readonly "blockedByTotal": number;
2626
- readonly "childCounts": Objects_46;
2627
- readonly "createdBy": Union_16;
3220
+ readonly "childCounts": Objects_58;
3221
+ readonly "createdBy": Union_20;
2628
3222
  readonly "createdAt": string;
2629
3223
  readonly "updatedAt": string;
2630
3224
  readonly "description": string | null;
2631
- readonly "descriptionWindow"?: Objects_17;
3225
+ readonly "descriptionWindow"?: Objects_18;
2632
3226
  }>;
2633
3227
  readonly "missingWorkItemIds": ReadonlyArray<string>;
2634
3228
  readonly "missingSequenceIds": ReadonlyArray<number>;
@@ -2667,7 +3261,7 @@ export type WorkCommentsListInput = {
2667
3261
  readonly "textLimit"?: number;
2668
3262
  };
2669
3263
  export type WorkCommentsListOutput = {
2670
- readonly "items": ReadonlyArray<Objects_47>;
3264
+ readonly "items": ReadonlyArray<Objects_59>;
2671
3265
  readonly "nextCursor": string | null;
2672
3266
  readonly "snapshotSequence": number;
2673
3267
  };
@@ -2678,7 +3272,7 @@ export type WorkCommentsGetInput = {
2678
3272
  readonly "textLimit"?: number;
2679
3273
  };
2680
3274
  export type WorkCommentsGetOutput = {
2681
- readonly "comment": Objects_47;
3275
+ readonly "comment": Objects_59;
2682
3276
  readonly "snapshotSequence": number;
2683
3277
  };
2684
3278
  export type WorkHistoryListInput = {
@@ -2692,7 +3286,7 @@ export type WorkHistoryListOutput = {
2692
3286
  readonly "items": ReadonlyArray<{
2693
3287
  readonly "sequence": number;
2694
3288
  readonly "workItemId": string | null;
2695
- readonly "actor": Union_16;
3289
+ readonly "actor": Union_20;
2696
3290
  readonly "viaPlugin"?: string;
2697
3291
  readonly "at": string;
2698
3292
  readonly "target": {
@@ -2706,12 +3300,12 @@ export type WorkHistoryListOutput = {
2706
3300
  readonly "newRevision": number | null;
2707
3301
  } | {
2708
3302
  readonly "field": "state";
2709
- readonly "old": Objects_48 | null;
2710
- readonly "new": Objects_48 | null;
3303
+ readonly "old": Objects_60 | null;
3304
+ readonly "new": Objects_60 | null;
2711
3305
  } | {
2712
3306
  readonly "field": "assignees" | "mentions";
2713
- readonly "old": ReadonlyArray<Union_19>;
2714
- readonly "new": ReadonlyArray<Union_19>;
3307
+ readonly "old": ReadonlyArray<Union_23>;
3308
+ readonly "new": ReadonlyArray<Union_23>;
2715
3309
  } | {
2716
3310
  readonly "field": "completedAt";
2717
3311
  readonly "old": string | null;
@@ -2728,7 +3322,7 @@ export type WorkItemsCreateInput = {
2728
3322
  readonly "title": string;
2729
3323
  readonly "description"?: string;
2730
3324
  readonly "stateId"?: string;
2731
- readonly "assignees"?: ReadonlyArray<Union_18>;
3325
+ readonly "assignees"?: ReadonlyArray<Union_22>;
2732
3326
  };
2733
3327
  export type WorkItemsCreateOutput = {
2734
3328
  readonly "sequence": number;
@@ -2747,7 +3341,7 @@ export type WorkItemsUpdateInput = {
2747
3341
  readonly "title"?: string;
2748
3342
  readonly "description"?: string;
2749
3343
  readonly "stateId"?: string;
2750
- readonly "assignees"?: ReadonlyArray<Union_18>;
3344
+ readonly "assignees"?: ReadonlyArray<Union_22>;
2751
3345
  };
2752
3346
  export type WorkItemsUpdateOutput = {
2753
3347
  readonly "sequence": number;
@@ -2771,15 +3365,15 @@ export type WorkItemsClaimOutput = {
2771
3365
  readonly "version": number;
2772
3366
  };
2773
3367
  };
2774
- export type WorkRelationsAddInput = Objects_49;
3368
+ export type WorkRelationsAddInput = Objects_61;
2775
3369
  export type WorkRelationsAddOutput = {
2776
3370
  readonly "sequence": number;
2777
- readonly "result": Objects_50;
3371
+ readonly "result": Objects_62;
2778
3372
  };
2779
- export type WorkRelationsRemoveInput = Objects_49;
3373
+ export type WorkRelationsRemoveInput = Objects_61;
2780
3374
  export type WorkRelationsRemoveOutput = {
2781
3375
  readonly "sequence": number;
2782
- readonly "result": Objects_50;
3376
+ readonly "result": Objects_62;
2783
3377
  };
2784
3378
  export type WorkCommentsPostInput = {
2785
3379
  readonly "projectId": string;
@@ -2787,7 +3381,7 @@ export type WorkCommentsPostInput = {
2787
3381
  readonly "commentId"?: string;
2788
3382
  readonly "workItemId": string;
2789
3383
  readonly "body": string;
2790
- readonly "mentions"?: ReadonlyArray<Union_18>;
3384
+ readonly "mentions"?: ReadonlyArray<Union_22>;
2791
3385
  readonly "parentId"?: string;
2792
3386
  };
2793
3387
  export type WorkCommentsPostOutput = {
@@ -2797,12 +3391,57 @@ export type WorkCommentsPostOutput = {
2797
3391
  readonly "revision": number;
2798
3392
  };
2799
3393
  };
3394
+ export type ThreadsSnoozeInput = {
3395
+ readonly "requestId"?: string;
3396
+ readonly "threadId": string;
3397
+ readonly "snoozedUntil": string;
3398
+ };
3399
+ export type ThreadsSnoozeOutput = Objects_63;
3400
+ export type ThreadsUnsnoozeInput = {
3401
+ readonly "requestId"?: string;
3402
+ readonly "threadId": string;
3403
+ readonly "reason": "user";
3404
+ };
3405
+ export type ThreadsUnsnoozeOutput = Objects_63;
3406
+ export type ThreadsReorderInput = {
3407
+ readonly "requestId"?: string;
3408
+ readonly "threadId": string;
3409
+ readonly "orderKey": string;
3410
+ };
3411
+ export type ThreadsReorderOutput = Objects_63;
3412
+ export type ThreadsDeleteInput = {
3413
+ readonly "requestId"?: string;
3414
+ readonly "threadId": string;
3415
+ };
3416
+ export type ThreadsDeleteOutput = Objects_63;
3417
+ export type ThreadsArchiveInput = {
3418
+ readonly "requestId"?: string;
3419
+ readonly "threadId": string;
3420
+ };
3421
+ export type ThreadsArchiveOutput = Objects_63;
3422
+ export type ThreadsUnarchiveInput = {
3423
+ readonly "requestId"?: string;
3424
+ readonly "threadId": string;
3425
+ };
3426
+ export type ThreadsUnarchiveOutput = Objects_63;
3427
+ export type ThreadsSettleInput = {
3428
+ readonly "requestId"?: string;
3429
+ readonly "threadId": string;
3430
+ readonly "discardQueued"?: boolean;
3431
+ };
3432
+ export type ThreadsSettleOutput = Objects_63;
3433
+ export type ThreadsUnsettleInput = {
3434
+ readonly "requestId"?: string;
3435
+ readonly "threadId": string;
3436
+ readonly "reason": "user";
3437
+ };
3438
+ export type ThreadsUnsettleOutput = Objects_63;
2800
3439
  export type ThreadsCreateInput = {
2801
3440
  readonly "requestId"?: string;
2802
3441
  readonly "threadId": string;
2803
3442
  readonly "projectId": string;
2804
3443
  readonly "title": string;
2805
- readonly "modelSelection": Objects_21;
3444
+ readonly "modelSelection": Objects_34;
2806
3445
  readonly "executionSelection"?: {
2807
3446
  readonly "environmentId": string;
2808
3447
  readonly "runtimeId": string;
@@ -2826,7 +3465,7 @@ export type ThreadsCreateInput = {
2826
3465
  };
2827
3466
  readonly "presetId"?: string;
2828
3467
  };
2829
- export type ThreadsCreateOutput = Objects_51;
3468
+ export type ThreadsCreateOutput = Objects_63;
2830
3469
  export type ThreadsForkInput = {
2831
3470
  readonly "requestId"?: string;
2832
3471
  readonly "threadId": string;
@@ -2835,13 +3474,13 @@ export type ThreadsForkInput = {
2835
3474
  readonly "startFolderId"?: string;
2836
3475
  readonly "folderIds"?: ReadonlyArray<string>;
2837
3476
  };
2838
- export type ThreadsForkOutput = Objects_51;
3477
+ export type ThreadsForkOutput = Objects_63;
2839
3478
  export type ThreadsImportInput = {
2840
3479
  readonly "requestId"?: string;
2841
3480
  readonly "threadId": string;
2842
3481
  readonly "projectId": string;
2843
3482
  readonly "title": string;
2844
- readonly "modelSelection": Objects_21;
3483
+ readonly "modelSelection": Objects_34;
2845
3484
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
2846
3485
  readonly "branch": string | null;
2847
3486
  readonly "worktreePath": string | null;
@@ -2879,7 +3518,7 @@ export type ThreadsImportInput = {
2879
3518
  readonly "createdAt": string;
2880
3519
  }>;
2881
3520
  };
2882
- export type ThreadsImportOutput = Objects_51;
3521
+ export type ThreadsImportOutput = Objects_63;
2883
3522
  export type ThreadsExternalMessagesAppendInput = {
2884
3523
  readonly "requestId"?: string;
2885
3524
  readonly "threadId": string;
@@ -2915,7 +3554,7 @@ export type ThreadsExternalMessagesAppendInput = {
2915
3554
  readonly "createdAt": string;
2916
3555
  }>;
2917
3556
  };
2918
- export type ThreadsExternalMessagesAppendOutput = Objects_51;
3557
+ export type ThreadsExternalMessagesAppendOutput = Objects_63;
2919
3558
  export type ThreadsUpdateInput = {
2920
3559
  readonly "threadId": string;
2921
3560
  readonly "requestId"?: string;
@@ -2924,7 +3563,7 @@ export type ThreadsUpdateInput = {
2924
3563
  readonly "modelSelection"?: {
2925
3564
  readonly "instanceId": string;
2926
3565
  readonly "model": string;
2927
- readonly "options"?: Union_12;
3566
+ readonly "options"?: Union_16;
2928
3567
  };
2929
3568
  readonly "executionSelection"?: {
2930
3569
  readonly "environmentId": string;
@@ -2946,7 +3585,7 @@ export type ThreadsUpdateInput = {
2946
3585
  } | null;
2947
3586
  readonly "presetId"?: string | null;
2948
3587
  };
2949
- export type ThreadsUpdateOutput = Objects_51;
3588
+ export type ThreadsUpdateOutput = Objects_63;
2950
3589
  export type ThreadsTurnsStartInput = {
2951
3590
  readonly "requestId"?: string;
2952
3591
  readonly "threadId": string;
@@ -2960,7 +3599,7 @@ export type ThreadsTurnsStartInput = {
2960
3599
  readonly "mimeType": string;
2961
3600
  readonly "sizeBytes": number;
2962
3601
  readonly "dataUrl": string;
2963
- readonly "source"?: Objects_52;
3602
+ readonly "source"?: Objects_64;
2964
3603
  } | {
2965
3604
  readonly "type": "file";
2966
3605
  readonly "name": string;
@@ -2973,7 +3612,7 @@ export type ThreadsTurnsStartInput = {
2973
3612
  readonly "name": string;
2974
3613
  readonly "mimeType": string;
2975
3614
  readonly "sizeBytes": number;
2976
- readonly "source"?: Objects_52 | Objects_54;
3615
+ readonly "source"?: Objects_64 | Objects_66;
2977
3616
  } | {
2978
3617
  readonly "type": "file";
2979
3618
  readonly "id": string;
@@ -2982,7 +3621,7 @@ export type ThreadsTurnsStartInput = {
2982
3621
  readonly "sizeBytes": number;
2983
3622
  readonly "source"?: {
2984
3623
  readonly "_tag": "pasted-text";
2985
- } | Objects_54 | {
3624
+ } | Objects_66 | {
2986
3625
  readonly "_tag": "thread-reference";
2987
3626
  readonly "environmentId": string;
2988
3627
  readonly "threadId": string;
@@ -2992,7 +3631,7 @@ export type ThreadsTurnsStartInput = {
2992
3631
  readonly "modelSelection"?: {
2993
3632
  readonly "instanceId": string;
2994
3633
  readonly "model": string;
2995
- readonly "options"?: Union_12;
3634
+ readonly "options"?: Union_16;
2996
3635
  };
2997
3636
  readonly "titleSeed"?: string;
2998
3637
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
@@ -3100,11 +3739,11 @@ export type ThreadsUserInputRespondInput = {
3100
3739
  readonly "height": number;
3101
3740
  };
3102
3741
  readonly "truncated": boolean;
3103
- readonly "root": Objects_55;
3742
+ readonly "root": Objects_67;
3104
3743
  };
3105
3744
  readonly "appIdentifier"?: string;
3106
3745
  readonly "appIconDataUrl"?: string;
3107
- } | Objects_56;
3746
+ } | Objects_68;
3108
3747
  } | {
3109
3748
  readonly "type": "file";
3110
3749
  readonly "id": string;
@@ -3113,7 +3752,7 @@ export type ThreadsUserInputRespondInput = {
3113
3752
  readonly "sizeBytes": number;
3114
3753
  readonly "source"?: {
3115
3754
  readonly "_tag": "pasted-text";
3116
- } | Objects_56 | {
3755
+ } | Objects_68 | {
3117
3756
  readonly "_tag": "thread-reference";
3118
3757
  readonly "environmentId": string;
3119
3758
  readonly "threadId": string;
@@ -3121,20 +3760,20 @@ export type ThreadsUserInputRespondInput = {
3121
3760
  }>;
3122
3761
  };
3123
3762
  };
3124
- export type ThreadsUserInputRespondOutput = Objects_51;
3763
+ export type ThreadsUserInputRespondOutput = Objects_63;
3125
3764
  export type ThreadsTurnsInterruptInput = {
3126
3765
  readonly "requestId"?: string;
3127
3766
  readonly "threadId": string;
3128
3767
  readonly "turnId"?: string;
3129
3768
  };
3130
- export type ThreadsTurnsInterruptOutput = Objects_51;
3769
+ export type ThreadsTurnsInterruptOutput = Objects_63;
3131
3770
  export type ThreadsSessionStopInput = {
3132
3771
  readonly "requestId"?: string;
3133
3772
  readonly "threadId": string;
3134
3773
  readonly "onlyIfSettled"?: boolean;
3135
3774
  readonly "onlyIfNoTurnInFlight"?: boolean;
3136
3775
  };
3137
- export type ThreadsSessionStopOutput = Objects_51;
3776
+ export type ThreadsSessionStopOutput = Objects_63;
3138
3777
  export type ApprovalsRespondInput = {
3139
3778
  readonly "requestId"?: string;
3140
3779
  readonly "threadId": string;
@@ -3142,7 +3781,7 @@ export type ApprovalsRespondInput = {
3142
3781
  readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
3143
3782
  readonly "reason"?: string;
3144
3783
  };
3145
- export type ApprovalsRespondOutput = Objects_51;
3784
+ export type ApprovalsRespondOutput = Objects_63;
3146
3785
  export type ThreadsTurnIntentsRunInput = {
3147
3786
  readonly "requestId"?: string;
3148
3787
  readonly "threadId": string;
@@ -3150,7 +3789,7 @@ export type ThreadsTurnIntentsRunInput = {
3150
3789
  readonly "mode": "steer" | "interrupt";
3151
3790
  readonly "expectedTurnId"?: string | null;
3152
3791
  };
3153
- export type ThreadsTurnIntentsRunOutput = Objects_51;
3792
+ export type ThreadsTurnIntentsRunOutput = Objects_63;
3154
3793
  export type ThreadsTurnIntentsCancelInput = {
3155
3794
  readonly "requestId"?: string;
3156
3795
  readonly "threadId": string;
@@ -3158,12 +3797,25 @@ export type ThreadsTurnIntentsCancelInput = {
3158
3797
  readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
3159
3798
  readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
3160
3799
  };
3161
- export type ThreadsTurnIntentsCancelOutput = Objects_51;
3800
+ export type ThreadsTurnIntentsCancelOutput = Objects_63;
3162
3801
  export type ThreadsTurnQueueResumeInput = {
3163
3802
  readonly "requestId"?: string;
3164
3803
  readonly "threadId": string;
3165
3804
  };
3166
- export type ThreadsTurnQueueResumeOutput = Objects_51;
3805
+ export type ThreadsTurnQueueResumeOutput = Objects_63;
3806
+ export type ProjectsToolkitsSetInput = {
3807
+ readonly "projectId": string;
3808
+ readonly "toolkit": "board" | "memory" | "messages";
3809
+ readonly "enabled": boolean;
3810
+ readonly "requestId"?: string;
3811
+ };
3812
+ export type ProjectsToolkitsSetOutput = {
3813
+ readonly "sequence": number;
3814
+ readonly "result": {
3815
+ readonly "enabled": boolean;
3816
+ readonly "changed": boolean;
3817
+ };
3818
+ };
3167
3819
  export type ProjectsCloneStartInput = {
3168
3820
  readonly "destinationPath": string;
3169
3821
  readonly "remoteUrl": string;
@@ -3171,7 +3823,7 @@ export type ProjectsCloneStartInput = {
3171
3823
  readonly "kind": "create-project";
3172
3824
  readonly "projectId": string;
3173
3825
  readonly "title": string;
3174
- readonly "defaultModelSelection"?: Objects_21 | null;
3826
+ readonly "defaultModelSelection"?: Objects_34 | null;
3175
3827
  readonly "homeEnvironmentId"?: string;
3176
3828
  } | {
3177
3829
  readonly "kind": "attach-folder";
@@ -3182,29 +3834,29 @@ export type ProjectsCloneStartOutput = {
3182
3834
  readonly "projectId": string;
3183
3835
  readonly "folderId": string;
3184
3836
  };
3185
- export type ProjectsCloneRetryInput = Objects_57;
3186
- export type ProjectsCloneRetryOutput = Objects_58;
3187
- export type ProjectsCloneCancelInput = Objects_57;
3188
- export type ProjectsCloneCancelOutput = Objects_58;
3837
+ export type ProjectsCloneRetryInput = Objects_69;
3838
+ export type ProjectsCloneRetryOutput = Objects_70;
3839
+ export type ProjectsCloneCancelInput = Objects_69;
3840
+ export type ProjectsCloneCancelOutput = Objects_70;
3189
3841
  export type ProjectsCreateInput = {
3190
3842
  readonly "requestId"?: string;
3191
3843
  readonly "projectId": string;
3192
3844
  readonly "title": string;
3193
3845
  readonly "workspaceRoot": string;
3194
3846
  readonly "createWorkspaceRootIfMissing"?: boolean;
3195
- readonly "defaultModelSelection"?: Objects_21 | null;
3847
+ readonly "defaultModelSelection"?: Objects_34 | null;
3196
3848
  readonly "homeEnvironmentId"?: string;
3197
3849
  };
3198
- export type ProjectsCreateOutput = Objects_51;
3850
+ export type ProjectsCreateOutput = Objects_63;
3199
3851
  export type ProjectsFoldersAttachInput = {
3200
3852
  readonly "requestId"?: string;
3201
3853
  readonly "projectId": string;
3202
3854
  readonly "path": string;
3203
3855
  };
3204
- export type ProjectsFoldersAttachOutput = Objects_51;
3856
+ export type ProjectsFoldersAttachOutput = Objects_63;
3205
3857
  export type CommunicationPeopleCurrentInput = {};
3206
3858
  export type CommunicationPeopleCurrentOutput = {
3207
- readonly "person": Union_11 | null;
3859
+ readonly "person": Union_13 | null;
3208
3860
  };
3209
3861
  export declare const COMMUNICATION_RECORDS_READ_LIMIT = 100;
3210
3862
  export declare const THREAD_ACTIVITIES_LIST_LIMIT = 200;
@@ -3255,6 +3907,14 @@ export interface PluginDataPorts {
3255
3907
  readonly activities: {
3256
3908
  readonly list: (input: ThreadsActivitiesListInput) => Promise<ThreadsActivitiesListOutput>;
3257
3909
  };
3910
+ readonly snooze: (input: ThreadsSnoozeInput) => Promise<ThreadsSnoozeOutput>;
3911
+ readonly unsnooze: (input: ThreadsUnsnoozeInput) => Promise<ThreadsUnsnoozeOutput>;
3912
+ readonly reorder: (input: ThreadsReorderInput) => Promise<ThreadsReorderOutput>;
3913
+ readonly delete: (input: ThreadsDeleteInput) => Promise<ThreadsDeleteOutput>;
3914
+ readonly archive: (input: ThreadsArchiveInput) => Promise<ThreadsArchiveOutput>;
3915
+ readonly unarchive: (input: ThreadsUnarchiveInput) => Promise<ThreadsUnarchiveOutput>;
3916
+ readonly settle: (input: ThreadsSettleInput) => Promise<ThreadsSettleOutput>;
3917
+ readonly unsettle: (input: ThreadsUnsettleInput) => Promise<ThreadsUnsettleOutput>;
3258
3918
  readonly create: (input: ThreadsCreateInput) => Promise<ThreadsCreateOutput>;
3259
3919
  readonly fork: (input: ThreadsForkInput) => Promise<ThreadsForkOutput>;
3260
3920
  readonly import: (input: ThreadsImportInput) => Promise<ThreadsImportOutput>;
@@ -3281,6 +3941,7 @@ export interface PluginDataPorts {
3281
3941
  };
3282
3942
  };
3283
3943
  readonly projections: {
3944
+ readonly getThreadExecution: (input: ThreadsExecutionGetInput["threadId"]) => Promise<ThreadsExecutionGetOutput>;
3284
3945
  readonly countThreadTurnStarts: (input: ThreadsTurnStartsCountInput["threadIds"]) => Promise<ThreadsTurnStartsCountOutput>;
3285
3946
  readonly getThreadMessage: (input: ThreadsMessagesGetInput["messageId"]) => Promise<ThreadsMessagesGetOutput>;
3286
3947
  readonly listPendingUserInputs?: (input: ThreadsUserInputPendingListInput["threadId"]) => Promise<ThreadsUserInputPendingListOutput>;
@@ -3293,6 +3954,7 @@ export interface PluginDataPorts {
3293
3954
  readonly get: (input: ProjectsGetInput) => Promise<ProjectsGetOutput>;
3294
3955
  readonly toolkits: {
3295
3956
  readonly get: (input: ProjectsToolkitsGetInput) => Promise<ProjectsToolkitsGetOutput>;
3957
+ readonly set: (input: ProjectsToolkitsSetInput) => Promise<ProjectsToolkitsSetOutput>;
3296
3958
  };
3297
3959
  readonly clone: {
3298
3960
  readonly start: (input: ProjectsCloneStartInput) => Promise<ProjectsCloneStartOutput>;
@@ -3327,6 +3989,31 @@ export interface PluginDataPorts {
3327
3989
  };
3328
3990
  readonly respond: (input: ApprovalsRespondInput) => Promise<ApprovalsRespondOutput>;
3329
3991
  };
3992
+ readonly machineSettings: {
3993
+ readonly update: (input: MachineSettingsUpdateInput) => Promise<MachineSettingsUpdateOutput>;
3994
+ readonly keybindings: {
3995
+ readonly upsert: (input: MachineSettingsKeybindingsUpsertInput) => Promise<MachineSettingsKeybindingsUpsertOutput>;
3996
+ readonly remove: (input: MachineSettingsKeybindingsRemoveInput) => Promise<MachineSettingsKeybindingsRemoveOutput>;
3997
+ };
3998
+ readonly wallpaper: {
3999
+ readonly adopt: (input: MachineSettingsWallpaperAdoptInput) => Promise<MachineSettingsWallpaperAdoptOutput>;
4000
+ };
4001
+ readonly connect: {
4002
+ readonly preferences: {
4003
+ readonly update: (input: MachineSettingsConnectPreferencesUpdateInput) => Promise<MachineSettingsConnectPreferencesUpdateOutput>;
4004
+ };
4005
+ };
4006
+ readonly get: (input: MachineSettingsGetInput) => Promise<MachineSettingsGetOutput>;
4007
+ readonly config: {
4008
+ readonly get: (input: MachineSettingsConfigGetInput) => Promise<MachineSettingsConfigGetOutput>;
4009
+ };
4010
+ readonly presets: {
4011
+ readonly list: (input: MachineSettingsPresetsListInput) => Promise<MachineSettingsPresetsListOutput>;
4012
+ };
4013
+ readonly proxies: {
4014
+ readonly list: (input: MachineSettingsProxiesListInput) => Promise<MachineSettingsProxiesListOutput>;
4015
+ };
4016
+ };
3330
4017
  readonly providers: {
3331
4018
  readonly instances: {
3332
4019
  readonly list: (input: ProvidersInstancesListInput) => Promise<ProvidersInstancesListOutput>;