@ycodium-ai/plugin-api 0.2.3122 → 0.2.3130

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.
@@ -32,6 +32,12 @@ type Objects_8 = {
32
32
  readonly "profile": number;
33
33
  readonly "endpoint"?: number;
34
34
  };
35
+ type Union_1 = {
36
+ readonly "status": "committed" | "rolled-back" | "failed" | "unknown";
37
+ readonly "targetVersion"?: string | undefined;
38
+ readonly "fromVersion": string | null;
39
+ readonly "reason": string | null;
40
+ } | null;
35
41
  type Objects_9 = {
36
42
  readonly "requestId": string;
37
43
  readonly "startedAt": string;
@@ -47,7 +53,7 @@ type Objects_12 = {
47
53
  readonly "linkBase"?: string | undefined;
48
54
  readonly "toolCallId"?: string | undefined;
49
55
  };
50
- type Union_3 = {
56
+ type Union_5 = {
51
57
  readonly "kind": "native-session";
52
58
  readonly "provider": "claude" | "codex";
53
59
  readonly "sessionId": string;
@@ -86,7 +92,7 @@ type Objects_14 = {
86
92
  readonly "total": number;
87
93
  readonly "nextOffset": number | null;
88
94
  };
89
- type Union_4 = {
95
+ type Union_6 = {
90
96
  readonly "kind": "thread";
91
97
  readonly "environmentId"?: string | undefined;
92
98
  readonly "threadId": string;
@@ -122,14 +128,14 @@ type Objects_16 = {
122
128
  readonly "at": string;
123
129
  } | null;
124
130
  };
125
- type Union_8 = {
131
+ type Union_10 = {
126
132
  readonly "kind": "account";
127
133
  readonly "userId": string;
128
134
  } | {
129
135
  readonly "kind": "local-owner";
130
136
  readonly "environmentId": string;
131
137
  };
132
- type Union_9 = {
138
+ type Union_11 = {
133
139
  readonly "kind": "account";
134
140
  readonly "userId": string;
135
141
  } | {
@@ -141,34 +147,44 @@ type Objects_18 = {
141
147
  readonly "requestId"?: string;
142
148
  readonly "recordId": string;
143
149
  };
144
- type Arrays_3 = ReadonlyArray<string>;
145
- type Objects_19 = {
150
+ type Arrays_3 = ReadonlyArray<{
151
+ readonly "id": string;
152
+ readonly "value": string | boolean;
153
+ }>;
154
+ type Objects_20 = {
155
+ readonly [x: string]: unknown;
156
+ };
157
+ type Arrays_4 = ReadonlyArray<string>;
158
+ type Objects_21 = {
146
159
  readonly "status": "none" | "required" | "authorized";
147
160
  };
148
- type Objects_20 = {
161
+ type Objects_22 = {
149
162
  readonly "kind": "inline";
150
163
  readonly "skillMd": string;
151
164
  };
152
- type Objects_21 = {
165
+ type Objects_23 = {
153
166
  readonly [x: string]: string | null;
154
167
  };
155
- type Objects_22 = {
168
+ type Objects_24 = {
156
169
  readonly [x: string]: boolean;
157
170
  };
158
- type Objects_23 = {
171
+ type Objects_25 = {
159
172
  readonly "ids": readonly [string, ...Array<string>];
160
173
  };
161
- type Union_10 = ReadonlyArray<{
174
+ type Union_13 = ReadonlyArray<{
162
175
  readonly "value": string;
163
176
  readonly "label"?: string | undefined;
164
177
  readonly "labelKey"?: string | undefined;
165
178
  readonly "icon"?: string | undefined;
166
179
  }> | undefined;
167
- type Objects_24 = {
180
+ type Objects_26 = {
168
181
  readonly "key": string;
169
182
  readonly "equals": ReadonlyArray<string>;
170
183
  };
171
- type Union_12 = {
184
+ type Objects_27 = {
185
+ readonly [x: string]: unknown;
186
+ };
187
+ type Union_15 = {
172
188
  readonly "key": string;
173
189
  readonly "values"?: {
174
190
  readonly [x: string]: string | number;
@@ -176,83 +192,77 @@ type Union_12 = {
176
192
  } | {
177
193
  readonly "text": string;
178
194
  };
179
- type Objects_26 = {
195
+ type Objects_30 = {
180
196
  readonly "kind": "agent";
181
197
  readonly "threadId": string;
182
198
  };
183
- type Objects_27 = {
199
+ type Objects_31 = {
184
200
  readonly "kind": "remote-agent";
185
201
  readonly "principalId": string;
186
202
  };
187
- type Arrays_4 = ReadonlyArray<string>;
188
- type Objects_29 = {
203
+ type Arrays_5 = ReadonlyArray<string>;
204
+ type Objects_33 = {
189
205
  readonly "experienceId": string;
190
206
  readonly "revision": number;
191
207
  };
192
- type Objects_30 = {
208
+ type Objects_34 = {
193
209
  readonly "projectId": string;
194
210
  readonly "requestId"?: string;
195
211
  readonly "experienceId": string;
196
212
  };
197
- type Objects_31 = {
213
+ type Objects_35 = {
198
214
  readonly "sequence": number;
199
215
  readonly "result": {
200
216
  readonly "experienceId": string;
201
217
  readonly "status": "active" | "forgotten";
202
218
  };
203
219
  };
204
- type Objects_33 = {
220
+ type Objects_37 = {
205
221
  readonly "pageId": string;
206
222
  readonly "revision": number;
207
223
  };
208
- type Objects_35 = {
224
+ type Objects_39 = {
209
225
  readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
210
226
  readonly "pageId": string;
211
227
  readonly "revision": number;
212
228
  };
213
- type Union_14 = {
229
+ type Union_17 = {
214
230
  readonly "experienceId": string;
215
231
  readonly "revision": number;
216
232
  } | null;
217
- type Objects_37 = {
233
+ type Objects_41 = {
218
234
  readonly "stateId": string;
219
235
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
220
236
  readonly "name": string;
221
237
  };
222
- type Arrays_7 = ReadonlyArray<string>;
223
238
  type Arrays_8 = ReadonlyArray<string>;
224
- type Objects_38 = {
239
+ type Arrays_9 = ReadonlyArray<string>;
240
+ type Objects_42 = {
225
241
  readonly "total": number;
226
242
  readonly "completed": number;
227
243
  readonly "cancelled": number;
228
244
  };
229
- type Objects_40 = {
245
+ type Objects_44 = {
230
246
  readonly "stateId": string;
231
247
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
232
248
  };
233
- type Objects_41 = {
249
+ type Objects_45 = {
234
250
  readonly "projectId": string;
235
251
  readonly "requestId"?: string;
236
252
  readonly "workItemId": string;
237
253
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
238
254
  readonly "relatedWorkItemId": string;
239
255
  };
240
- type Objects_42 = {
256
+ type Objects_46 = {
241
257
  readonly "workItemId": string;
242
258
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
243
259
  readonly "relatedWorkItemId": string;
244
260
  };
245
- type Union_17 = ReadonlyArray<{
246
- readonly "id": string;
247
- readonly "value": string | boolean;
248
- }> | {
249
- readonly [x: string]: unknown;
250
- };
251
- type Objects_43 = {
261
+ type Objects_47 = {
252
262
  readonly "sequence": number;
253
263
  readonly "status": "accepted" | "noop";
254
264
  };
255
- type Objects_44 = {
265
+ type Objects_48 = {
256
266
  readonly "_tag": "snap-shot";
257
267
  readonly "capturedAt": string;
258
268
  readonly "appName": string;
@@ -270,18 +280,18 @@ type Objects_44 = {
270
280
  readonly "height": number;
271
281
  };
272
282
  readonly "truncated": boolean;
273
- readonly "root": Objects_45;
283
+ readonly "root": Objects_49;
274
284
  };
275
285
  readonly "appIdentifier"?: string;
276
286
  readonly "appIconDataUrl"?: string;
277
287
  };
278
- type Objects_46 = {
288
+ type Objects_50 = {
279
289
  readonly "_tag": "agent-artifact";
280
290
  readonly "sourcePath": string;
281
291
  readonly "linkBase"?: string;
282
292
  readonly "toolCallId"?: string;
283
293
  };
284
- type Objects_48 = {
294
+ type Objects_52 = {
285
295
  readonly "_tag": "agent-artifact";
286
296
  readonly "sourcePath": string;
287
297
  readonly "linkBase"?: string;
@@ -289,7 +299,7 @@ type Objects_48 = {
289
299
  };
290
300
  type Arrays_ = ReadonlyArray<Objects_2>;
291
301
  type Arrays_1 = ReadonlyArray<Objects_2>;
292
- type Union_1 = Objects_5 | null | undefined;
302
+ type Union_3 = Objects_5 | null | undefined;
293
303
  type Objects_7 = {
294
304
  readonly "environmentId": string;
295
305
  readonly "runtimeId": string;
@@ -299,7 +309,23 @@ type Objects_7 = {
299
309
  readonly "optionOverrides": Arrays_2;
300
310
  readonly "expectedRevisions": Objects_8;
301
311
  };
302
- type Union_ = {
312
+ type Objects_28 = {
313
+ readonly "wakeId": string;
314
+ readonly "threadId": string;
315
+ readonly "dueAt": string;
316
+ readonly "note": string;
317
+ readonly "state": "scheduled" | "fired" | "cancelled";
318
+ readonly "afterServerUpgrade": boolean;
319
+ readonly "firedAt": string | null;
320
+ readonly "cancelledAt": string | null;
321
+ readonly "upgrade"?: {
322
+ readonly "requestedVersion": string;
323
+ readonly "updateId": string | null;
324
+ readonly "expectsVerdict"?: boolean | undefined;
325
+ readonly "outcome": Union_1;
326
+ };
327
+ };
328
+ type Union_2 = {
303
329
  readonly "type": "image";
304
330
  readonly "id": string;
305
331
  readonly "name": string;
@@ -342,16 +368,16 @@ type Union_ = {
342
368
  readonly "threadId": string;
343
369
  } | undefined;
344
370
  };
345
- type Union_5 = Union_4 | null;
346
- type Union_7 = {
371
+ type Union_7 = Union_6 | null;
372
+ type Union_9 = {
347
373
  readonly "claimId": string;
348
- readonly "claimedBy": Union_4;
374
+ readonly "claimedBy": Union_6;
349
375
  readonly "turnId"?: string | undefined;
350
376
  readonly "at": string;
351
377
  } | null;
352
- type Union_15 = {
378
+ type Union_18 = {
353
379
  readonly "kind": "human";
354
- readonly "principal": Union_8;
380
+ readonly "principal": Union_10;
355
381
  } | {
356
382
  readonly "kind": "agent";
357
383
  readonly "threadId": string;
@@ -359,36 +385,116 @@ type Union_15 = {
359
385
  readonly "kind": "remote-agent";
360
386
  readonly "principalId": string;
361
387
  };
362
- type Objects_25 = {
388
+ type Objects_29 = {
363
389
  readonly "kind": "human";
364
- readonly "principal": Union_9;
390
+ readonly "principal": Union_11;
365
391
  };
366
- type Union_11 = Objects_24 | undefined;
367
- type Arrays_5 = ReadonlyArray<Objects_35>;
368
- type Objects_36 = {
392
+ type Union_12 = Arrays_3 | Objects_20;
393
+ type Union_14 = Objects_26 | undefined;
394
+ type Arrays_6 = ReadonlyArray<Objects_39>;
395
+ type Objects_40 = {
369
396
  readonly "changed": boolean;
370
397
  readonly "release": number;
371
- readonly "pages": ReadonlyArray<Objects_35>;
398
+ readonly "pages": ReadonlyArray<Objects_39>;
372
399
  };
373
- type Objects_1 = {
374
- readonly "instanceId": string;
375
- readonly "model": string;
376
- readonly "options"?: Arrays_ | Arrays_1;
377
- };
378
- type Union_6 = ReadonlyArray<Union_> | undefined;
379
- type Union_13 = Objects_25 | {
400
+ type Union_ = Arrays_ | Arrays_1;
401
+ type Union_8 = ReadonlyArray<Union_2> | undefined;
402
+ type Union_16 = Objects_29 | {
380
403
  readonly "kind": "local-cli";
381
404
  readonly "environmentId": string;
382
405
  } | {
383
406
  readonly "kind": "seat";
384
407
  readonly "seatId": string;
385
- } | Objects_26 | Objects_27 | {
408
+ } | Objects_30 | Objects_31 | {
386
409
  readonly "kind": "plugin";
387
410
  readonly "pluginId": string;
388
411
  } | {
389
412
  readonly "kind": "system";
390
413
  };
391
- type Union_16 = Objects_25 | Objects_26 | Objects_27;
414
+ type Union_19 = Objects_29 | Objects_30 | Objects_31;
415
+ type Objects_19 = {
416
+ readonly "instanceId": string;
417
+ readonly "model": string;
418
+ readonly "options"?: Union_12;
419
+ };
420
+ type Objects_1 = {
421
+ readonly "instanceId": string;
422
+ readonly "model": string;
423
+ readonly "options"?: Union_;
424
+ };
425
+ type Objects_17 = {
426
+ readonly "items": ReadonlyArray<{
427
+ readonly "recordId": string;
428
+ readonly "from": Union_6;
429
+ readonly "to": Union_7;
430
+ readonly "replyTo": string | null;
431
+ readonly "delivery": "quiet" | "wake" | "steer";
432
+ readonly "createdAt": string;
433
+ readonly "stages": Objects_16;
434
+ readonly "idempotencyKey"?: string | undefined;
435
+ readonly "runId"?: string | undefined;
436
+ readonly "toRole"?: string | undefined;
437
+ readonly "attachments"?: Union_8;
438
+ readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
439
+ readonly "projectId": string | null;
440
+ readonly "sequence": number;
441
+ readonly "claim": Union_9;
442
+ readonly "textPreview": string | null;
443
+ readonly "textTruncated": boolean;
444
+ }>;
445
+ readonly "nextCursor": string | null;
446
+ readonly "snapshotSequence": number;
447
+ };
448
+ type Objects_32 = {
449
+ readonly "experienceId": string;
450
+ readonly "revision": number;
451
+ readonly "baseRevision": number | null;
452
+ readonly "author": Union_16;
453
+ readonly "createdAt": string;
454
+ readonly "body": string | null;
455
+ readonly "bodyState": "present" | "erased" | "unavailable";
456
+ readonly "bodyWindow"?: Objects_14;
457
+ };
458
+ type Objects_36 = {
459
+ readonly "pageId": string;
460
+ readonly "revision": number;
461
+ readonly "baseRevision": number | null;
462
+ readonly "restoredFromRevision": number | null;
463
+ readonly "author": Union_16;
464
+ readonly "createdAt": string;
465
+ readonly "title": string | null;
466
+ readonly "changeSummary": string | null;
467
+ readonly "body": string | null;
468
+ readonly "bodyState": "present" | "erased" | "unavailable";
469
+ readonly "bodyWindow"?: Objects_14;
470
+ };
471
+ type Objects_38 = {
472
+ readonly "release": number;
473
+ readonly "pages": Arrays_6;
474
+ readonly "itemCount": number;
475
+ readonly "itemHighWater": number;
476
+ readonly "requiresAck": boolean;
477
+ readonly "restoredFromRelease": number | null;
478
+ readonly "sourceExperience": Union_17;
479
+ readonly "publishedBy": Union_16;
480
+ readonly "publishedAt": string;
481
+ };
482
+ type Arrays_7 = ReadonlyArray<Union_19>;
483
+ type Objects_43 = {
484
+ readonly "commentId": string;
485
+ readonly "workItemId": string;
486
+ readonly "projectId": string;
487
+ readonly "sequence": number;
488
+ readonly "revision": number;
489
+ readonly "author": Union_16;
490
+ readonly "body": string | null;
491
+ readonly "bodyWindow"?: Objects_14;
492
+ readonly "bodyState": "present" | "erased" | "unavailable";
493
+ readonly "mentions": ReadonlyArray<Union_19>;
494
+ readonly "parentId": string | null;
495
+ readonly "createdAt": string;
496
+ readonly "editedAt": string | null;
497
+ };
392
498
  type Objects_6 = {
393
499
  readonly "turnId": string;
394
500
  readonly "state": "running" | "interrupted" | "completed" | "error";
@@ -409,7 +515,7 @@ type Objects_6 = {
409
515
  readonly "completedAt": string | null;
410
516
  }> | undefined;
411
517
  };
412
- type Union_2 = Objects_1 | undefined;
518
+ type Union_4 = Objects_1 | undefined;
413
519
  type Objects_15 = {
414
520
  readonly "id": string;
415
521
  readonly "title": string;
@@ -470,79 +576,6 @@ type Objects_15 = {
470
576
  readonly "updatedAt": string;
471
577
  readonly "archivedAt"?: string | null | undefined;
472
578
  };
473
- type Objects_17 = {
474
- readonly "items": ReadonlyArray<{
475
- readonly "recordId": string;
476
- readonly "from": Union_4;
477
- readonly "to": Union_5;
478
- readonly "replyTo": string | null;
479
- readonly "delivery": "quiet" | "wake" | "steer";
480
- readonly "createdAt": string;
481
- readonly "stages": Objects_16;
482
- readonly "idempotencyKey"?: string | undefined;
483
- readonly "runId"?: string | undefined;
484
- readonly "toRole"?: string | undefined;
485
- readonly "attachments"?: Union_6;
486
- readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
487
- readonly "projectId": string | null;
488
- readonly "sequence": number;
489
- readonly "claim": Union_7;
490
- readonly "textPreview": string | null;
491
- readonly "textTruncated": boolean;
492
- }>;
493
- readonly "nextCursor": string | null;
494
- readonly "snapshotSequence": number;
495
- };
496
- type Objects_28 = {
497
- readonly "experienceId": string;
498
- readonly "revision": number;
499
- readonly "baseRevision": number | null;
500
- readonly "author": Union_13;
501
- readonly "createdAt": string;
502
- readonly "body": string | null;
503
- readonly "bodyState": "present" | "erased" | "unavailable";
504
- readonly "bodyWindow"?: Objects_14;
505
- };
506
- type Objects_32 = {
507
- readonly "pageId": string;
508
- readonly "revision": number;
509
- readonly "baseRevision": number | null;
510
- readonly "restoredFromRevision": number | null;
511
- readonly "author": Union_13;
512
- readonly "createdAt": string;
513
- readonly "title": string | null;
514
- readonly "changeSummary": string | null;
515
- readonly "body": string | null;
516
- readonly "bodyState": "present" | "erased" | "unavailable";
517
- readonly "bodyWindow"?: Objects_14;
518
- };
519
- type Objects_34 = {
520
- readonly "release": number;
521
- readonly "pages": Arrays_5;
522
- readonly "itemCount": number;
523
- readonly "itemHighWater": number;
524
- readonly "requiresAck": boolean;
525
- readonly "restoredFromRelease": number | null;
526
- readonly "sourceExperience": Union_14;
527
- readonly "publishedBy": Union_13;
528
- readonly "publishedAt": string;
529
- };
530
- type Arrays_6 = ReadonlyArray<Union_16>;
531
- type Objects_39 = {
532
- readonly "commentId": string;
533
- readonly "workItemId": string;
534
- readonly "projectId": string;
535
- readonly "sequence": number;
536
- readonly "revision": number;
537
- readonly "author": Union_13;
538
- readonly "body": string | null;
539
- readonly "bodyWindow"?: Objects_14;
540
- readonly "bodyState": "present" | "erased" | "unavailable";
541
- readonly "mentions": ReadonlyArray<Union_16>;
542
- readonly "parentId": string | null;
543
- readonly "createdAt": string;
544
- readonly "editedAt": string | null;
545
- };
546
579
  type Objects_11 = {
547
580
  readonly "role": string;
548
581
  readonly "name"?: string;
@@ -568,7 +601,7 @@ type Objects_11 = {
568
601
  readonly "actions"?: ReadonlyArray<string>;
569
602
  readonly "children": ReadonlyArray<Objects_11>;
570
603
  };
571
- type Objects_45 = {
604
+ type Objects_49 = {
572
605
  readonly "role": string;
573
606
  readonly "name"?: string;
574
607
  readonly "value"?: string;
@@ -591,9 +624,9 @@ type Objects_45 = {
591
624
  readonly "visible"?: boolean;
592
625
  };
593
626
  readonly "actions"?: ReadonlyArray<string>;
594
- readonly "children": ReadonlyArray<Objects_45>;
627
+ readonly "children": ReadonlyArray<Objects_49>;
595
628
  };
596
- type Objects_47 = {
629
+ type Objects_51 = {
597
630
  readonly "role": string;
598
631
  readonly "name"?: string;
599
632
  readonly "value"?: string;
@@ -616,7 +649,7 @@ type Objects_47 = {
616
649
  readonly "visible"?: boolean;
617
650
  };
618
651
  readonly "actions"?: ReadonlyArray<string>;
619
- readonly "children": ReadonlyArray<Objects_47>;
652
+ readonly "children": ReadonlyArray<Objects_51>;
620
653
  };
621
654
  export type AuthRemoteAgentsListInput = {
622
655
  readonly "projectId": string;
@@ -833,12 +866,7 @@ export type ThreadsHistoryOutput = {
833
866
  readonly "requestedVersion": string;
834
867
  readonly "updateId": string | null;
835
868
  readonly "expectsVerdict"?: boolean | undefined;
836
- readonly "outcome": {
837
- readonly "status": "committed" | "rolled-back" | "failed" | "unknown";
838
- readonly "targetVersion"?: string | undefined;
839
- readonly "fromVersion": string | null;
840
- readonly "reason": string | null;
841
- } | null;
869
+ readonly "outcome": Union_1;
842
870
  } | undefined;
843
871
  readonly "createdAt": string;
844
872
  readonly "updatedAt": string;
@@ -852,13 +880,13 @@ export type ThreadsHistoryOutput = {
852
880
  readonly "id": string;
853
881
  readonly "role": "user" | "assistant" | "system";
854
882
  readonly "text": string;
855
- readonly "attachments"?: ReadonlyArray<Union_> | undefined;
883
+ readonly "attachments"?: ReadonlyArray<Union_2> | undefined;
856
884
  readonly "turnId": string | null;
857
885
  readonly "streaming": boolean;
858
- readonly "author"?: Union_1;
886
+ readonly "author"?: Union_3;
859
887
  readonly "recordId"?: string | undefined;
860
- readonly "modelSelection"?: Union_2;
861
- readonly "source"?: Union_3;
888
+ readonly "modelSelection"?: Union_4;
889
+ readonly "source"?: Union_5;
862
890
  readonly "createdAt": string;
863
891
  readonly "updatedAt": string;
864
892
  }>;
@@ -915,6 +943,52 @@ export type ThreadsHistoryOutput = {
915
943
  readonly "threadSequence"?: number;
916
944
  } | undefined;
917
945
  };
946
+ export type ThreadsExecutionSummaryInput = {
947
+ readonly "threadId": string;
948
+ readonly "limit"?: number;
949
+ };
950
+ export type ThreadsExecutionSummaryOutput = {
951
+ readonly "threadId": string;
952
+ readonly "latestTurn": {
953
+ readonly "turnId": string;
954
+ readonly "state": "running" | "interrupted" | "completed" | "error";
955
+ } | null;
956
+ readonly "queue": ReadonlyArray<{
957
+ readonly "intentId": string;
958
+ readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
959
+ readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
960
+ readonly "position": number;
961
+ }>;
962
+ readonly "truncated": boolean;
963
+ readonly "queuePaused": boolean;
964
+ readonly "pendingApprovalCount": number;
965
+ readonly "pendingUserInputCount": number;
966
+ readonly "continuation": "active" | "queued" | "blocked" | "paused" | "idle";
967
+ };
968
+ export type ThreadsDecisionsRequestInput = {
969
+ readonly "threadId": string;
970
+ readonly "title": string;
971
+ readonly "body"?: string | ReadonlyArray<string>;
972
+ readonly "detail"?: {
973
+ readonly "label"?: string;
974
+ readonly "text": string;
975
+ readonly "language"?: string;
976
+ };
977
+ readonly "options": ReadonlyArray<{
978
+ readonly "id": string;
979
+ readonly "label": string;
980
+ readonly "tone"?: "default" | "primary" | "danger";
981
+ }>;
982
+ readonly "requestId"?: string;
983
+ };
984
+ export type ThreadsDecisionsRequestOutput = {
985
+ readonly "requestId": string;
986
+ };
987
+ export type ThreadsDecisionsCancelInput = {
988
+ readonly "requestId": string;
989
+ readonly "summary"?: string;
990
+ };
991
+ export type ThreadsDecisionsCancelOutput = {};
918
992
  export type ThreadsGetInput = {
919
993
  readonly "threadId": string;
920
994
  };
@@ -999,10 +1073,10 @@ export type ThreadsMessagesListOutput = {
999
1073
  }> | undefined;
1000
1074
  readonly "turnId": string | null;
1001
1075
  readonly "streaming": boolean;
1002
- readonly "author"?: Union_1;
1076
+ readonly "author"?: Union_3;
1003
1077
  readonly "recordId"?: string | undefined;
1004
- readonly "modelSelection"?: Union_2;
1005
- readonly "source"?: Union_3;
1078
+ readonly "modelSelection"?: Union_4;
1079
+ readonly "source"?: Union_5;
1006
1080
  readonly "createdAt": string;
1007
1081
  readonly "updatedAt": string;
1008
1082
  readonly "attachmentsTotal"?: number;
@@ -1076,8 +1150,8 @@ export type CommunicationRecordsGetInput = {
1076
1150
  };
1077
1151
  export type CommunicationRecordsGetOutput = ReadonlyArray<{
1078
1152
  readonly "recordId": string;
1079
- readonly "from": Union_4;
1080
- readonly "to": Union_5;
1153
+ readonly "from": Union_6;
1154
+ readonly "to": Union_7;
1081
1155
  readonly "replyTo": string | null;
1082
1156
  readonly "text": string | null;
1083
1157
  readonly "delivery": "quiet" | "wake" | "steer";
@@ -1086,11 +1160,11 @@ export type CommunicationRecordsGetOutput = ReadonlyArray<{
1086
1160
  readonly "idempotencyKey"?: string | undefined;
1087
1161
  readonly "runId"?: string | undefined;
1088
1162
  readonly "toRole"?: string | undefined;
1089
- readonly "attachments"?: Union_6;
1163
+ readonly "attachments"?: Union_8;
1090
1164
  readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
1091
1165
  readonly "projectId": string | null;
1092
1166
  readonly "sequence": number;
1093
- readonly "claim": Union_7;
1167
+ readonly "claim": Union_9;
1094
1168
  readonly "textWindow"?: Objects_14;
1095
1169
  }>;
1096
1170
  export type CommunicationRecordsListInput = {
@@ -1112,7 +1186,7 @@ export type CommunicationRecordsListInput = {
1112
1186
  readonly "until"?: string | null;
1113
1187
  readonly "cursor"?: string | null;
1114
1188
  readonly "limit"?: number;
1115
- readonly "person": Union_8;
1189
+ readonly "person": Union_10;
1116
1190
  };
1117
1191
  export type CommunicationRecordsListOutput = Objects_17;
1118
1192
  export type CommunicationInboxListInput = {
@@ -1129,7 +1203,7 @@ export type CommunicationPeopleListInput = {
1129
1203
  };
1130
1204
  export type CommunicationPeopleListOutput = {
1131
1205
  readonly "items": ReadonlyArray<{
1132
- readonly "person": Union_9;
1206
+ readonly "person": Union_11;
1133
1207
  readonly "displayName": string;
1134
1208
  }>;
1135
1209
  readonly "nextCursor": string | null;
@@ -1141,7 +1215,7 @@ export type CommunicationRecordsSendInput = {
1141
1215
  readonly "to": {
1142
1216
  readonly "threadId": string;
1143
1217
  } | {
1144
- readonly "person": Union_8;
1218
+ readonly "person": Union_10;
1145
1219
  } | {
1146
1220
  readonly "principalId": string;
1147
1221
  };
@@ -1176,6 +1250,18 @@ export type CommunicationRecordsDeleteOutput = {
1176
1250
  readonly "recordId": string;
1177
1251
  };
1178
1252
  };
1253
+ export type CommunicationRecordsNotifyInput = {
1254
+ readonly "threadId": string;
1255
+ readonly "sourceThreadId": string;
1256
+ readonly "summary": string;
1257
+ readonly "requestId"?: string;
1258
+ };
1259
+ export type CommunicationRecordsNotifyOutput = {
1260
+ readonly "sequence": number;
1261
+ readonly "result": {
1262
+ readonly "recordId": string;
1263
+ };
1264
+ };
1179
1265
  export type ApprovalsPendingListInput = {
1180
1266
  readonly "threadId": string;
1181
1267
  };
@@ -1192,6 +1278,27 @@ export type ApprovalsPendingListOutput = ReadonlyArray<{
1192
1278
  }> | undefined;
1193
1279
  readonly "declineReasonRelay"?: "native" | "queued" | "none" | undefined;
1194
1280
  }>;
1281
+ export type ProvidersInstancesListInput = {};
1282
+ export type ProvidersInstancesListOutput = ReadonlyArray<{
1283
+ readonly "instanceId": string;
1284
+ readonly "driver": string;
1285
+ readonly "displayName": string | null;
1286
+ readonly "enabled": boolean;
1287
+ readonly "homePath": string | null;
1288
+ readonly "transcriptDir": string | null;
1289
+ readonly "configDirPath": string | null;
1290
+ readonly "environmentKeys": ReadonlyArray<string>;
1291
+ readonly "driverConfig": {
1292
+ readonly [x: string]: unknown;
1293
+ };
1294
+ readonly "launchArgs": string;
1295
+ readonly "apiEndpoint": string | null;
1296
+ readonly "models"?: ReadonlyArray<{
1297
+ readonly "slug": string;
1298
+ readonly "name": string;
1299
+ readonly "isDefault": boolean;
1300
+ }>;
1301
+ }>;
1195
1302
  export type ProvidersRoutingGetInput = {};
1196
1303
  export type ProvidersRoutingGetOutput = {
1197
1304
  readonly "roles": {
@@ -1202,6 +1309,178 @@ export type ProvidersRoutingGetOutput = {
1202
1309
  };
1203
1310
  readonly "allowlistOnly": boolean;
1204
1311
  };
1312
+ export type ProvidersSelectionResolveInput = {
1313
+ readonly "base": Objects_19 | null;
1314
+ readonly "instanceId"?: string;
1315
+ readonly "model"?: string;
1316
+ readonly "options"?: Arrays_3 | Objects_20;
1317
+ readonly "routingKey"?: string;
1318
+ };
1319
+ export type ProvidersSelectionResolveOutput = {
1320
+ readonly "modelSelection": {
1321
+ readonly "instanceId": string;
1322
+ readonly "model": string;
1323
+ readonly "options"?: Union_;
1324
+ };
1325
+ };
1326
+ export type ProvidersExecutorsListInput = {};
1327
+ export type ProvidersExecutorsListOutput = {
1328
+ readonly "entries": ReadonlyArray<{
1329
+ readonly "pluginId": string;
1330
+ readonly "entryId": string;
1331
+ readonly "loadedAt": string;
1332
+ readonly "card": {
1333
+ readonly "driverKind": string;
1334
+ readonly "displayName": string;
1335
+ readonly "iconUrl": string;
1336
+ readonly "commandName": string;
1337
+ readonly "launchArgs": string;
1338
+ readonly "homeEnvVar": string;
1339
+ readonly "homeLayout"?: {
1340
+ readonly "accountConfigKey": string;
1341
+ readonly "transcriptSubdir": string;
1342
+ } | undefined;
1343
+ readonly "accountDirectory"?: {
1344
+ readonly "configKeys": readonly [string, ...Array<string>];
1345
+ readonly "defaultDirectory": string;
1346
+ readonly "brandAliases"?: ReadonlyArray<string>;
1347
+ readonly "holdsThreads"?: boolean;
1348
+ } | undefined;
1349
+ readonly "environment": ReadonlyArray<{
1350
+ readonly "name": string;
1351
+ readonly "sensitive": boolean;
1352
+ }>;
1353
+ readonly "install": {
1354
+ readonly "kind": "vendorScript";
1355
+ readonly "posixCommand": string;
1356
+ readonly "windowsCommand": string;
1357
+ readonly "installedPathSegment": string;
1358
+ } | {
1359
+ readonly "kind": "npm";
1360
+ } | {
1361
+ readonly "kind": "downloadPage";
1362
+ readonly "url": string;
1363
+ } | null;
1364
+ readonly "signIn": ReadonlyArray<{
1365
+ readonly "kind": "device-code";
1366
+ } | {
1367
+ readonly "kind": "command";
1368
+ readonly "command": string;
1369
+ } | {
1370
+ readonly "kind": "environment";
1371
+ readonly "variable": string;
1372
+ } | {
1373
+ readonly "kind": "api-key";
1374
+ readonly "variable": string;
1375
+ }>;
1376
+ readonly "deviceCodeSignInArgs": ReadonlyArray<string>;
1377
+ readonly "npmPackage": string;
1378
+ readonly "homebrewFormula": string;
1379
+ readonly "selfUpdateArgs": ReadonlyArray<string>;
1380
+ readonly "docsUrl": string;
1381
+ readonly "setupNote": string;
1382
+ readonly "defaultModel": string;
1383
+ readonly "customModelIdExample": string;
1384
+ readonly "modelSlugAliases": {
1385
+ readonly [x: string]: string;
1386
+ } | null;
1387
+ readonly "mcpTransports": ReadonlyArray<"stdio" | "http" | "sse"> | null;
1388
+ readonly "pluginManaged": boolean;
1389
+ readonly "verifiedSkills": boolean;
1390
+ readonly "everydayHarness": boolean;
1391
+ readonly "capabilities": {
1392
+ readonly "sessionModelSwitch": "in-session" | "unsupported";
1393
+ readonly "sessionOptionSwitch"?: "in-session" | "unsupported" | undefined;
1394
+ readonly "exclusiveSessionWriter"?: boolean | undefined;
1395
+ readonly "runtimeModeSwitch": "in-session" | "next-turn";
1396
+ readonly "contextCompaction"?: "native" | "unsupported" | undefined;
1397
+ readonly "nativeModeSwitch"?: boolean | undefined;
1398
+ readonly "turnSteering"?: boolean | undefined;
1399
+ readonly "reportsSpawnedAgents"?: boolean | undefined;
1400
+ readonly "handlesSkillInvocations"?: boolean | undefined;
1401
+ readonly "confirmsToolTermination"?: boolean | undefined;
1402
+ readonly "inlineImages"?: {
1403
+ readonly "maxBytes": number;
1404
+ readonly "maxEdgePixels"?: number | undefined;
1405
+ readonly "maxTotalBytes"?: number | undefined;
1406
+ readonly "mimeTypes"?: ReadonlyArray<string> | undefined;
1407
+ } | undefined;
1408
+ };
1409
+ readonly "credentialSources": ReadonlyArray<{
1410
+ readonly "kind": "json-file";
1411
+ readonly "pathFromHome": string;
1412
+ readonly "jsonPointer": string;
1413
+ } | {
1414
+ readonly "kind": "json-file-os-home";
1415
+ readonly "pathFromOsHome": string;
1416
+ readonly "jsonPointer": string;
1417
+ } | {
1418
+ readonly "kind": "macos-keychain";
1419
+ readonly "service": string;
1420
+ readonly "accountFromEnv"?: string | undefined;
1421
+ readonly "defaultHomeOnly": boolean;
1422
+ }>;
1423
+ readonly "diagnostics": ReadonlyArray<{
1424
+ readonly "id": string;
1425
+ readonly "labelKey": string;
1426
+ }>;
1427
+ readonly "configSchema": {
1428
+ readonly [x: string]: unknown;
1429
+ };
1430
+ readonly "modelConnectivity": {
1431
+ readonly "dialects": ReadonlyArray<"anthropic-messages" | "openai-responses" | "openai-chat-completions" | "google-cloud-code">;
1432
+ readonly "acceptsExternalEndpoints": boolean;
1433
+ readonly "nativePathSuffix"?: "/v1/messages" | "/responses" | "/chat/completions" | undefined;
1434
+ readonly "credentialEnvKey"?: string | undefined;
1435
+ readonly "baseUrlEnvKey"?: string | undefined;
1436
+ readonly "alternateCredentialEnvKeys"?: ReadonlyArray<string> | undefined;
1437
+ readonly "backendSwitchEnvKeys"?: ReadonlyArray<string> | undefined;
1438
+ readonly "extraEnv"?: ReadonlyArray<{
1439
+ readonly "name": string;
1440
+ readonly "value": string;
1441
+ }> | undefined;
1442
+ readonly "extraLaunchArgs"?: ReadonlyArray<{
1443
+ readonly "key": string;
1444
+ readonly "value": string | boolean;
1445
+ }> | undefined;
1446
+ readonly "supportsNativeSubscription"?: boolean | undefined;
1447
+ };
1448
+ readonly "maxConcurrentProcesses"?: number | undefined;
1449
+ };
1450
+ readonly "origin": "bundled" | "installed";
1451
+ }>;
1452
+ };
1453
+ export type ProvidersWorkspaceInventoryGetInput = {
1454
+ readonly "instanceId": string;
1455
+ readonly "cwd": string;
1456
+ readonly "threadId"?: string;
1457
+ readonly "refresh"?: boolean;
1458
+ };
1459
+ export type ProvidersWorkspaceInventoryGetOutput = {
1460
+ readonly "instanceId": string;
1461
+ readonly "cwd": string;
1462
+ readonly "slashCommands": ReadonlyArray<{
1463
+ readonly "name": string;
1464
+ readonly "description"?: string | undefined;
1465
+ readonly "input"?: {
1466
+ readonly "hint": string;
1467
+ } | undefined;
1468
+ }>;
1469
+ readonly "skills": ReadonlyArray<{
1470
+ readonly "name": string;
1471
+ readonly "description"?: string | undefined;
1472
+ readonly "path": string;
1473
+ readonly "scope"?: string | undefined;
1474
+ readonly "enabled": boolean;
1475
+ readonly "displayName"?: string | undefined;
1476
+ readonly "shortDescription"?: string | undefined;
1477
+ readonly "userInvocationOnly"?: boolean | undefined;
1478
+ readonly "userInvocable"?: boolean | undefined;
1479
+ }>;
1480
+ readonly "source": "workspace" | "machine";
1481
+ readonly "sessionReported"?: boolean;
1482
+ readonly "checkedAt": string;
1483
+ };
1205
1484
  export type ProvidersListInput = {};
1206
1485
  export type ProvidersListOutput = {
1207
1486
  readonly "providers": ReadonlyArray<{
@@ -1243,7 +1522,7 @@ export type PluginsProjectConfigGetOutput = {
1243
1522
  readonly "transport": {
1244
1523
  readonly "type": "stdio";
1245
1524
  readonly "command": string;
1246
- readonly "args"?: Arrays_3 | undefined;
1525
+ readonly "args"?: Arrays_4 | undefined;
1247
1526
  readonly "envNames": ReadonlyArray<string>;
1248
1527
  } | {
1249
1528
  readonly "type": "http";
@@ -1259,13 +1538,13 @@ export type PluginsProjectConfigGetOutput = {
1259
1538
  readonly [x: string]: boolean;
1260
1539
  };
1261
1540
  readonly "catalogId"?: string | undefined;
1262
- readonly "oauth"?: Objects_19 | undefined;
1541
+ readonly "oauth"?: Objects_21 | undefined;
1263
1542
  };
1264
1543
  };
1265
1544
  readonly "skills"?: {
1266
1545
  readonly [x: string]: {
1267
1546
  readonly "name": string;
1268
- readonly "source": Objects_20 | {
1547
+ readonly "source": Objects_22 | {
1269
1548
  readonly "kind": "builtin";
1270
1549
  readonly "id": string;
1271
1550
  } | {
@@ -1292,27 +1571,27 @@ export type PluginsProjectConfigUpdateInput = {
1292
1571
  readonly "transport": {
1293
1572
  readonly "type": "stdio";
1294
1573
  readonly "command": string;
1295
- readonly "args"?: Arrays_3;
1296
- readonly "env"?: Objects_21;
1574
+ readonly "args"?: Arrays_4;
1575
+ readonly "env"?: Objects_23;
1297
1576
  } | {
1298
1577
  readonly "type": "http";
1299
1578
  readonly "url": string;
1300
- readonly "headers"?: Objects_21;
1579
+ readonly "headers"?: Objects_23;
1301
1580
  } | {
1302
1581
  readonly "type": "sse";
1303
1582
  readonly "url": string;
1304
- readonly "headers"?: Objects_21;
1583
+ readonly "headers"?: Objects_23;
1305
1584
  };
1306
1585
  readonly "enabled"?: boolean;
1307
- readonly "providers"?: Objects_22;
1586
+ readonly "providers"?: Objects_24;
1308
1587
  readonly "catalogId"?: string;
1309
- readonly "oauth"?: Objects_19;
1588
+ readonly "oauth"?: Objects_21;
1310
1589
  };
1311
1590
  };
1312
1591
  readonly "skills"?: {
1313
1592
  readonly [x: string]: {
1314
1593
  readonly "name": string;
1315
- readonly "source": Objects_20 | {
1594
+ readonly "source": Objects_22 | {
1316
1595
  readonly "kind": "builtin";
1317
1596
  readonly "id": string;
1318
1597
  } | {
@@ -1322,7 +1601,7 @@ export type PluginsProjectConfigUpdateInput = {
1322
1601
  };
1323
1602
  readonly "modelInvocable"?: boolean;
1324
1603
  readonly "userInvocable"?: boolean;
1325
- readonly "providers"?: Objects_22;
1604
+ readonly "providers"?: Objects_24;
1326
1605
  };
1327
1606
  };
1328
1607
  };
@@ -1335,6 +1614,7 @@ export type PluginsInstalledListInput = {};
1335
1614
  export type PluginsInstalledListOutput = {
1336
1615
  readonly "plugins": ReadonlyArray<{
1337
1616
  readonly "entryId": string;
1617
+ readonly "revision"?: string | undefined;
1338
1618
  readonly "pluginId": string;
1339
1619
  readonly "presentation"?: {
1340
1620
  readonly "displayName"?: string | undefined;
@@ -1493,6 +1773,20 @@ export type PluginsInstalledListOutput = {
1493
1773
  readonly "executors"?: ReadonlyArray<unknown> | undefined;
1494
1774
  }>;
1495
1775
  };
1776
+ export type PluginsInstalledSetEnabledInput = {
1777
+ readonly "entryId": string;
1778
+ readonly "enabled": boolean;
1779
+ readonly "revision": string;
1780
+ };
1781
+ export type PluginsInstalledSetEnabledOutput = {
1782
+ readonly "revision": string;
1783
+ };
1784
+ export type PluginsSessionProjectionsSetInput = {
1785
+ readonly "name": string;
1786
+ readonly "threadId": string;
1787
+ readonly "value": unknown;
1788
+ };
1789
+ export type PluginsSessionProjectionsSetOutput = {};
1496
1790
  export type PluginsNotificationsListInput = {};
1497
1791
  export type PluginsNotificationsListOutput = {
1498
1792
  readonly "notifications": ReadonlyArray<{
@@ -1517,14 +1811,15 @@ export type PluginsNotificationsListOutput = {
1517
1811
  };
1518
1812
  }>;
1519
1813
  };
1520
- export type PluginsNotificationsMarkReadInput = Objects_23;
1814
+ export type PluginsNotificationsMarkReadInput = Objects_25;
1521
1815
  export type PluginsNotificationsMarkReadOutput = {};
1522
- export type PluginsNotificationsClearInput = Objects_23;
1816
+ export type PluginsNotificationsClearInput = Objects_25;
1523
1817
  export type PluginsNotificationsClearOutput = {};
1524
1818
  export type PluginsSettingsCardsListInput = {};
1525
1819
  export type PluginsSettingsCardsListOutput = {
1526
1820
  readonly "cards": ReadonlyArray<{
1527
1821
  readonly "entryId": string;
1822
+ readonly "revision"?: string | undefined;
1528
1823
  readonly "title"?: string | undefined;
1529
1824
  readonly "titleKey"?: string | undefined;
1530
1825
  readonly "description"?: string | undefined;
@@ -1539,8 +1834,8 @@ export type PluginsSettingsCardsListOutput = {
1539
1834
  readonly "placeholder"?: string | undefined;
1540
1835
  readonly "placeholderKey"?: string | undefined;
1541
1836
  readonly "required"?: boolean | undefined;
1542
- readonly "options"?: Union_10;
1543
- readonly "showWhen"?: Union_11;
1837
+ readonly "options"?: Union_13;
1838
+ readonly "showWhen"?: Union_14;
1544
1839
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" | "table";
1545
1840
  readonly "columns"?: ReadonlyArray<{
1546
1841
  readonly "key": string;
@@ -1551,8 +1846,8 @@ export type PluginsSettingsCardsListOutput = {
1551
1846
  readonly "placeholder"?: string | undefined;
1552
1847
  readonly "placeholderKey"?: string | undefined;
1553
1848
  readonly "required"?: boolean | undefined;
1554
- readonly "options"?: Union_10;
1555
- readonly "showWhen"?: Union_11;
1849
+ readonly "options"?: Union_13;
1850
+ readonly "showWhen"?: Union_14;
1556
1851
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy";
1557
1852
  }> | undefined;
1558
1853
  readonly "rowIds"?: "client" | "plugin" | undefined;
@@ -1563,7 +1858,7 @@ export type PluginsSettingsCardsListOutput = {
1563
1858
  readonly "badgeKey"?: string | undefined;
1564
1859
  readonly "warningKey"?: string | undefined;
1565
1860
  readonly "command": string;
1566
- readonly "showWhen"?: Objects_24 | undefined;
1861
+ readonly "showWhen"?: Objects_26 | undefined;
1567
1862
  readonly "fills": ReadonlyArray<string>;
1568
1863
  }> | undefined;
1569
1864
  }>;
@@ -1575,9 +1870,7 @@ export type PluginsSettingsCardsListOutput = {
1575
1870
  readonly "warningKey"?: string | undefined;
1576
1871
  readonly "command": string;
1577
1872
  }> | undefined;
1578
- readonly "values": {
1579
- readonly [x: string]: unknown;
1580
- };
1873
+ readonly "values": Objects_27;
1581
1874
  readonly "secretFields"?: ReadonlyArray<string> | undefined;
1582
1875
  readonly "secretCells"?: ReadonlyArray<{
1583
1876
  readonly "field": string;
@@ -1586,6 +1879,14 @@ export type PluginsSettingsCardsListOutput = {
1586
1879
  }> | undefined;
1587
1880
  }>;
1588
1881
  };
1882
+ export type PluginsSettingsCardsUpdateValuesInput = {
1883
+ readonly "entryId": string;
1884
+ readonly "values": Objects_27;
1885
+ readonly "revision": string;
1886
+ };
1887
+ export type PluginsSettingsCardsUpdateValuesOutput = {
1888
+ readonly "revision": string;
1889
+ };
1589
1890
  export type UsageQuotaGetInput = {
1590
1891
  readonly "instanceIds"?: ReadonlyArray<string>;
1591
1892
  readonly "refresh": boolean;
@@ -1610,7 +1911,7 @@ export type UsageQuotaGetOutput = {
1610
1911
  readonly "accountKey"?: string;
1611
1912
  readonly "windows": ReadonlyArray<{
1612
1913
  readonly "id": string;
1613
- readonly "label": Union_12;
1914
+ readonly "label": Union_15;
1614
1915
  readonly "usedPercent": number;
1615
1916
  readonly "resetsAt": string | null;
1616
1917
  readonly "windowMs"?: number;
@@ -1618,7 +1919,7 @@ export type UsageQuotaGetOutput = {
1618
1919
  }>;
1619
1920
  readonly "balances": ReadonlyArray<{
1620
1921
  readonly "id": string;
1621
- readonly "label": Union_12;
1922
+ readonly "label": Union_15;
1622
1923
  readonly "remaining": number | null;
1623
1924
  readonly "used": number | null;
1624
1925
  readonly "limit": number | null;
@@ -1696,6 +1997,41 @@ export type UsageTokensGetOutput = {
1696
1997
  };
1697
1998
  readonly "scanDurationMs": number;
1698
1999
  };
2000
+ export type WakesCancelInput = {
2001
+ readonly "wakeId": string;
2002
+ readonly "requestId"?: string;
2003
+ };
2004
+ export type WakesCancelOutput = {
2005
+ readonly "wake": Objects_28;
2006
+ };
2007
+ export type WakesListInput = {
2008
+ readonly "threadId"?: string;
2009
+ readonly "state"?: "scheduled" | "fired" | "cancelled";
2010
+ };
2011
+ export type WakesListOutput = {
2012
+ readonly "wakes": ReadonlyArray<Objects_28>;
2013
+ };
2014
+ export type SkillsListInput = {
2015
+ readonly "threadId"?: string;
2016
+ };
2017
+ export type SkillsListOutput = {
2018
+ readonly "skills": ReadonlyArray<{
2019
+ readonly "name": string;
2020
+ readonly "description"?: string;
2021
+ }>;
2022
+ };
2023
+ export type SkillsReadInput = {
2024
+ readonly "threadId"?: string;
2025
+ readonly "name": string;
2026
+ readonly "textOffset"?: number;
2027
+ readonly "textLimit"?: number;
2028
+ };
2029
+ export type SkillsReadOutput = {
2030
+ readonly "name": string;
2031
+ readonly "directory": string;
2032
+ readonly "content": string;
2033
+ readonly "contentWindow"?: Objects_14;
2034
+ };
1699
2035
  export type MemoryExperiencesListInput = {
1700
2036
  readonly "projectId": string;
1701
2037
  readonly "status"?: "active" | "forgotten" | "erased";
@@ -1706,13 +2042,13 @@ export type MemoryExperiencesListOutput = {
1706
2042
  readonly "items": ReadonlyArray<{
1707
2043
  readonly "experienceId": string;
1708
2044
  readonly "status": "active" | "forgotten" | "erased";
1709
- readonly "author": Union_13;
2045
+ readonly "author": Union_16;
1710
2046
  readonly "sourceThreadId": string | null;
1711
2047
  readonly "sourceTurnId": string | null;
1712
2048
  readonly "currentRevision": number;
1713
2049
  readonly "createdAt": string;
1714
2050
  readonly "updatedAt": string;
1715
- readonly "supersedes": Arrays_4;
2051
+ readonly "supersedes": Arrays_5;
1716
2052
  readonly "bodyState": "present" | "erased" | "unavailable";
1717
2053
  readonly "excerpt": string | null;
1718
2054
  }>;
@@ -1727,20 +2063,20 @@ export type MemoryExperiencesGetInput = {
1727
2063
  export type MemoryExperiencesGetOutput = {
1728
2064
  readonly "experienceId": string;
1729
2065
  readonly "status": "active" | "forgotten" | "erased";
1730
- readonly "author": Union_13;
2066
+ readonly "author": Union_16;
1731
2067
  readonly "sourceThreadId": string | null;
1732
2068
  readonly "sourceTurnId": string | null;
1733
2069
  readonly "currentRevision": number;
1734
2070
  readonly "createdAt": string;
1735
2071
  readonly "updatedAt": string;
1736
- readonly "supersedes": Arrays_4;
2072
+ readonly "supersedes": Arrays_5;
1737
2073
  readonly "bodyState": "present" | "erased" | "unavailable";
1738
2074
  readonly "body": string | null;
1739
2075
  readonly "bodyWindow"?: Objects_14;
1740
2076
  readonly "forgottenAt": string | null;
1741
- readonly "forgottenBy": Union_13 | null;
2077
+ readonly "forgottenBy": Union_16 | null;
1742
2078
  readonly "erasedAt": string | null;
1743
- readonly "erasedBy": Union_13 | null;
2079
+ readonly "erasedBy": Union_16 | null;
1744
2080
  };
1745
2081
  export type MemoryExperiencesHistoryInput = {
1746
2082
  readonly "projectId": string;
@@ -1751,7 +2087,7 @@ export type MemoryExperiencesHistoryInput = {
1751
2087
  readonly "textLimit"?: number;
1752
2088
  };
1753
2089
  export type MemoryExperiencesHistoryOutput = {
1754
- readonly "items": ReadonlyArray<Objects_28>;
2090
+ readonly "items": ReadonlyArray<Objects_32>;
1755
2091
  readonly "nextCursor": string | null;
1756
2092
  };
1757
2093
  export type MemoryRevisionsGetInput = {
@@ -1761,7 +2097,7 @@ export type MemoryRevisionsGetInput = {
1761
2097
  readonly "textOffset"?: number;
1762
2098
  readonly "textLimit"?: number;
1763
2099
  };
1764
- export type MemoryRevisionsGetOutput = Objects_28;
2100
+ export type MemoryRevisionsGetOutput = Objects_32;
1765
2101
  export type MemorySearchInput = {
1766
2102
  readonly "projectId": string;
1767
2103
  readonly "text": string;
@@ -1797,7 +2133,7 @@ export type MemoryExperiencesRecordInput = {
1797
2133
  };
1798
2134
  export type MemoryExperiencesRecordOutput = {
1799
2135
  readonly "sequence": number;
1800
- readonly "result": Objects_29;
2136
+ readonly "result": Objects_33;
1801
2137
  };
1802
2138
  export type MemoryExperiencesReviseInput = {
1803
2139
  readonly "projectId": string;
@@ -1808,13 +2144,13 @@ export type MemoryExperiencesReviseInput = {
1808
2144
  };
1809
2145
  export type MemoryExperiencesReviseOutput = {
1810
2146
  readonly "sequence": number;
1811
- readonly "result": Objects_29;
2147
+ readonly "result": Objects_33;
1812
2148
  };
1813
- export type MemoryExperiencesForgetInput = Objects_30;
1814
- export type MemoryExperiencesForgetOutput = Objects_31;
1815
- export type MemoryExperiencesRestoreInput = Objects_30;
1816
- export type MemoryExperiencesRestoreOutput = Objects_31;
1817
- export type MemoryExperiencesEraseInput = Objects_30;
2149
+ export type MemoryExperiencesForgetInput = Objects_34;
2150
+ export type MemoryExperiencesForgetOutput = Objects_35;
2151
+ export type MemoryExperiencesRestoreInput = Objects_34;
2152
+ export type MemoryExperiencesRestoreOutput = Objects_35;
2153
+ export type MemoryExperiencesEraseInput = Objects_34;
1818
2154
  export type MemoryExperiencesEraseOutput = {
1819
2155
  readonly "sequence": number;
1820
2156
  readonly "result": {
@@ -1864,10 +2200,10 @@ export type MemoryPagesGetOutput = {
1864
2200
  readonly "updatedAt": string;
1865
2201
  readonly "title": string | null;
1866
2202
  readonly "bodyState": "present" | "erased" | "unavailable";
1867
- readonly "createdBy": Union_13;
2203
+ readonly "createdBy": Union_16;
1868
2204
  readonly "body": string | null;
1869
2205
  readonly "bodyWindow"?: Objects_14;
1870
- readonly "erasedBy": Union_13 | null;
2206
+ readonly "erasedBy": Union_16 | null;
1871
2207
  };
1872
2208
  export type MemoryPagesHistoryInput = {
1873
2209
  readonly "projectId": string;
@@ -1878,7 +2214,7 @@ export type MemoryPagesHistoryInput = {
1878
2214
  readonly "textLimit"?: number;
1879
2215
  };
1880
2216
  export type MemoryPagesHistoryOutput = {
1881
- readonly "items": ReadonlyArray<Objects_32>;
2217
+ readonly "items": ReadonlyArray<Objects_36>;
1882
2218
  readonly "nextCursor": string | null;
1883
2219
  };
1884
2220
  export type MemoryPageRevisionsGetInput = {
@@ -1888,7 +2224,7 @@ export type MemoryPageRevisionsGetInput = {
1888
2224
  readonly "textOffset"?: number;
1889
2225
  readonly "textLimit"?: number;
1890
2226
  };
1891
- export type MemoryPageRevisionsGetOutput = Objects_32;
2227
+ export type MemoryPageRevisionsGetOutput = Objects_36;
1892
2228
  export type MemoryPagesCreateInput = {
1893
2229
  readonly "projectId": string;
1894
2230
  readonly "requestId"?: string;
@@ -1901,7 +2237,7 @@ export type MemoryPagesCreateInput = {
1901
2237
  };
1902
2238
  export type MemoryPagesCreateOutput = {
1903
2239
  readonly "sequence": number;
1904
- readonly "result": Objects_33;
2240
+ readonly "result": Objects_37;
1905
2241
  };
1906
2242
  export type MemoryPagesEditInput = {
1907
2243
  readonly "projectId": string;
@@ -1914,7 +2250,7 @@ export type MemoryPagesEditInput = {
1914
2250
  };
1915
2251
  export type MemoryPagesEditOutput = {
1916
2252
  readonly "sequence": number;
1917
- readonly "result": Objects_33;
2253
+ readonly "result": Objects_37;
1918
2254
  };
1919
2255
  export type MemoryPagesRestoreInput = {
1920
2256
  readonly "projectId": string;
@@ -1925,7 +2261,7 @@ export type MemoryPagesRestoreInput = {
1925
2261
  };
1926
2262
  export type MemoryPagesRestoreOutput = {
1927
2263
  readonly "sequence": number;
1928
- readonly "result": Objects_33;
2264
+ readonly "result": Objects_37;
1929
2265
  };
1930
2266
  export type MemoryPagesEraseInput = {
1931
2267
  readonly "projectId": string;
@@ -1945,8 +2281,8 @@ export type MemoryHandbookGetInput = {
1945
2281
  };
1946
2282
  export type MemoryHandbookGetOutput = {
1947
2283
  readonly "head": {
1948
- readonly "current": Objects_34;
1949
- readonly "pages": ReadonlyArray<Objects_32>;
2284
+ readonly "current": Objects_38;
2285
+ readonly "pages": ReadonlyArray<Objects_36>;
1950
2286
  } | null;
1951
2287
  };
1952
2288
  export type MemoryHandbookReleasesListInput = {
@@ -1955,7 +2291,7 @@ export type MemoryHandbookReleasesListInput = {
1955
2291
  readonly "limit"?: number;
1956
2292
  };
1957
2293
  export type MemoryHandbookReleasesListOutput = {
1958
- readonly "items": ReadonlyArray<Objects_34>;
2294
+ readonly "items": ReadonlyArray<Objects_38>;
1959
2295
  readonly "nextCursor": string | null;
1960
2296
  };
1961
2297
  export type MemoryHandbookReleasesGetInput = {
@@ -1964,13 +2300,13 @@ export type MemoryHandbookReleasesGetInput = {
1964
2300
  };
1965
2301
  export type MemoryHandbookReleasesGetOutput = {
1966
2302
  readonly "release": number;
1967
- readonly "pages": Arrays_5;
2303
+ readonly "pages": Arrays_6;
1968
2304
  readonly "itemCount": number;
1969
2305
  readonly "itemHighWater": number;
1970
2306
  readonly "requiresAck": boolean;
1971
2307
  readonly "restoredFromRelease": number | null;
1972
- readonly "sourceExperience": Union_14;
1973
- readonly "publishedBy": Union_13;
2308
+ readonly "sourceExperience": Union_17;
2309
+ readonly "publishedBy": Union_16;
1974
2310
  readonly "publishedAt": string;
1975
2311
  readonly "items": ReadonlyArray<{
1976
2312
  readonly "itemNumber": number;
@@ -1996,7 +2332,7 @@ export type MemoryHandbookPublishInput = {
1996
2332
  };
1997
2333
  export type MemoryHandbookPublishOutput = {
1998
2334
  readonly "sequence": number;
1999
- readonly "result": Objects_36;
2335
+ readonly "result": Objects_40;
2000
2336
  };
2001
2337
  export type MemoryHandbookRevertInput = {
2002
2338
  readonly "projectId": string;
@@ -2007,7 +2343,7 @@ export type MemoryHandbookRevertInput = {
2007
2343
  };
2008
2344
  export type MemoryHandbookRevertOutput = {
2009
2345
  readonly "sequence": number;
2010
- readonly "result": Objects_36;
2346
+ readonly "result": Objects_40;
2011
2347
  };
2012
2348
  export type WorkRemoteAgentPendingGetInput = {
2013
2349
  readonly "projectId": string;
@@ -2055,7 +2391,7 @@ export type WorkItemsListInput = {
2055
2391
  readonly "projectId": string;
2056
2392
  readonly "stateIds"?: ReadonlyArray<string>;
2057
2393
  readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">;
2058
- readonly "assignees"?: ReadonlyArray<Union_15 | "me" | "none">;
2394
+ readonly "assignees"?: ReadonlyArray<Union_18 | "me" | "none">;
2059
2395
  readonly "orderBy"?: "created" | "updated";
2060
2396
  readonly "cursor"?: string | null;
2061
2397
  readonly "limit"?: number;
@@ -2067,10 +2403,10 @@ export type WorkItemsListOutput = {
2067
2403
  readonly "sequenceId": number;
2068
2404
  readonly "title": string | null;
2069
2405
  readonly "bodyState": "present" | "erased" | "unavailable";
2070
- readonly "state": Objects_37;
2406
+ readonly "state": Objects_41;
2071
2407
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
2072
- readonly "assignees": Arrays_6;
2073
- readonly "labelIds": Arrays_7;
2408
+ readonly "assignees": Arrays_7;
2409
+ readonly "labelIds": Arrays_8;
2074
2410
  readonly "parentId": string | null;
2075
2411
  readonly "startDate": string | null;
2076
2412
  readonly "targetDate": string | null;
@@ -2079,10 +2415,10 @@ export type WorkItemsListOutput = {
2079
2415
  readonly "archivedAt": string | null;
2080
2416
  readonly "version": number;
2081
2417
  readonly "revision": number;
2082
- readonly "blockedBy": Arrays_8;
2418
+ readonly "blockedBy": Arrays_9;
2083
2419
  readonly "blockedByTotal": number;
2084
- readonly "childCounts": Objects_38;
2085
- readonly "createdBy": Union_13;
2420
+ readonly "childCounts": Objects_42;
2421
+ readonly "createdBy": Union_16;
2086
2422
  readonly "createdAt": string;
2087
2423
  readonly "updatedAt": string;
2088
2424
  }>;
@@ -2109,10 +2445,10 @@ export type WorkItemsGetOutput = {
2109
2445
  readonly "sequenceId": number;
2110
2446
  readonly "title": string | null;
2111
2447
  readonly "bodyState": "present" | "erased" | "unavailable";
2112
- readonly "state": Objects_37;
2448
+ readonly "state": Objects_41;
2113
2449
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
2114
- readonly "assignees": Arrays_6;
2115
- readonly "labelIds": Arrays_7;
2450
+ readonly "assignees": Arrays_7;
2451
+ readonly "labelIds": Arrays_8;
2116
2452
  readonly "parentId": string | null;
2117
2453
  readonly "startDate": string | null;
2118
2454
  readonly "targetDate": string | null;
@@ -2121,10 +2457,10 @@ export type WorkItemsGetOutput = {
2121
2457
  readonly "archivedAt": string | null;
2122
2458
  readonly "version": number;
2123
2459
  readonly "revision": number;
2124
- readonly "blockedBy": Arrays_8;
2460
+ readonly "blockedBy": Arrays_9;
2125
2461
  readonly "blockedByTotal": number;
2126
- readonly "childCounts": Objects_38;
2127
- readonly "createdBy": Union_13;
2462
+ readonly "childCounts": Objects_42;
2463
+ readonly "createdBy": Union_16;
2128
2464
  readonly "createdAt": string;
2129
2465
  readonly "updatedAt": string;
2130
2466
  readonly "description": string | null;
@@ -2167,7 +2503,7 @@ export type WorkCommentsListInput = {
2167
2503
  readonly "textLimit"?: number;
2168
2504
  };
2169
2505
  export type WorkCommentsListOutput = {
2170
- readonly "items": ReadonlyArray<Objects_39>;
2506
+ readonly "items": ReadonlyArray<Objects_43>;
2171
2507
  readonly "nextCursor": string | null;
2172
2508
  readonly "snapshotSequence": number;
2173
2509
  };
@@ -2178,7 +2514,7 @@ export type WorkCommentsGetInput = {
2178
2514
  readonly "textLimit"?: number;
2179
2515
  };
2180
2516
  export type WorkCommentsGetOutput = {
2181
- readonly "comment": Objects_39;
2517
+ readonly "comment": Objects_43;
2182
2518
  readonly "snapshotSequence": number;
2183
2519
  };
2184
2520
  export type WorkHistoryListInput = {
@@ -2192,7 +2528,7 @@ export type WorkHistoryListOutput = {
2192
2528
  readonly "items": ReadonlyArray<{
2193
2529
  readonly "sequence": number;
2194
2530
  readonly "workItemId": string | null;
2195
- readonly "actor": Union_13;
2531
+ readonly "actor": Union_16;
2196
2532
  readonly "viaPlugin"?: string;
2197
2533
  readonly "at": string;
2198
2534
  readonly "target": {
@@ -2206,12 +2542,12 @@ export type WorkHistoryListOutput = {
2206
2542
  readonly "newRevision": number | null;
2207
2543
  } | {
2208
2544
  readonly "field": "state";
2209
- readonly "old": Objects_40 | null;
2210
- readonly "new": Objects_40 | null;
2545
+ readonly "old": Objects_44 | null;
2546
+ readonly "new": Objects_44 | null;
2211
2547
  } | {
2212
2548
  readonly "field": "assignees" | "mentions";
2213
- readonly "old": ReadonlyArray<Union_16>;
2214
- readonly "new": ReadonlyArray<Union_16>;
2549
+ readonly "old": ReadonlyArray<Union_19>;
2550
+ readonly "new": ReadonlyArray<Union_19>;
2215
2551
  } | {
2216
2552
  readonly "field": "completedAt";
2217
2553
  readonly "old": string | null;
@@ -2228,7 +2564,7 @@ export type WorkItemsCreateInput = {
2228
2564
  readonly "title": string;
2229
2565
  readonly "description"?: string;
2230
2566
  readonly "stateId"?: string;
2231
- readonly "assignees"?: ReadonlyArray<Union_15>;
2567
+ readonly "assignees"?: ReadonlyArray<Union_18>;
2232
2568
  };
2233
2569
  export type WorkItemsCreateOutput = {
2234
2570
  readonly "sequence": number;
@@ -2247,7 +2583,7 @@ export type WorkItemsUpdateInput = {
2247
2583
  readonly "title"?: string;
2248
2584
  readonly "description"?: string;
2249
2585
  readonly "stateId"?: string;
2250
- readonly "assignees"?: ReadonlyArray<Union_15>;
2586
+ readonly "assignees"?: ReadonlyArray<Union_18>;
2251
2587
  };
2252
2588
  export type WorkItemsUpdateOutput = {
2253
2589
  readonly "sequence": number;
@@ -2271,15 +2607,15 @@ export type WorkItemsClaimOutput = {
2271
2607
  readonly "version": number;
2272
2608
  };
2273
2609
  };
2274
- export type WorkRelationsAddInput = Objects_41;
2610
+ export type WorkRelationsAddInput = Objects_45;
2275
2611
  export type WorkRelationsAddOutput = {
2276
2612
  readonly "sequence": number;
2277
- readonly "result": Objects_42;
2613
+ readonly "result": Objects_46;
2278
2614
  };
2279
- export type WorkRelationsRemoveInput = Objects_41;
2615
+ export type WorkRelationsRemoveInput = Objects_45;
2280
2616
  export type WorkRelationsRemoveOutput = {
2281
2617
  readonly "sequence": number;
2282
- readonly "result": Objects_42;
2618
+ readonly "result": Objects_46;
2283
2619
  };
2284
2620
  export type WorkCommentsPostInput = {
2285
2621
  readonly "projectId": string;
@@ -2287,7 +2623,7 @@ export type WorkCommentsPostInput = {
2287
2623
  readonly "commentId"?: string;
2288
2624
  readonly "workItemId": string;
2289
2625
  readonly "body": string;
2290
- readonly "mentions"?: ReadonlyArray<Union_15>;
2626
+ readonly "mentions"?: ReadonlyArray<Union_18>;
2291
2627
  readonly "parentId"?: string;
2292
2628
  };
2293
2629
  export type WorkCommentsPostOutput = {
@@ -2302,11 +2638,7 @@ export type ThreadsCreateInput = {
2302
2638
  readonly "threadId": string;
2303
2639
  readonly "projectId": string;
2304
2640
  readonly "title": string;
2305
- readonly "modelSelection": {
2306
- readonly "instanceId": string;
2307
- readonly "model": string;
2308
- readonly "options"?: Union_17;
2309
- };
2641
+ readonly "modelSelection": Objects_19;
2310
2642
  readonly "executionSelection"?: {
2311
2643
  readonly "environmentId": string;
2312
2644
  readonly "runtimeId": string;
@@ -2330,7 +2662,7 @@ export type ThreadsCreateInput = {
2330
2662
  };
2331
2663
  readonly "presetId"?: string;
2332
2664
  };
2333
- export type ThreadsCreateOutput = Objects_43;
2665
+ export type ThreadsCreateOutput = Objects_47;
2334
2666
  export type ThreadsForkInput = {
2335
2667
  readonly "requestId"?: string;
2336
2668
  readonly "threadId": string;
@@ -2339,7 +2671,87 @@ export type ThreadsForkInput = {
2339
2671
  readonly "startFolderId"?: string;
2340
2672
  readonly "folderIds"?: ReadonlyArray<string>;
2341
2673
  };
2342
- export type ThreadsForkOutput = Objects_43;
2674
+ export type ThreadsForkOutput = Objects_47;
2675
+ export type ThreadsImportInput = {
2676
+ readonly "requestId"?: string;
2677
+ readonly "threadId": string;
2678
+ readonly "projectId": string;
2679
+ readonly "title": string;
2680
+ readonly "modelSelection": Objects_19;
2681
+ readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
2682
+ readonly "branch": string | null;
2683
+ readonly "worktreePath": string | null;
2684
+ readonly "startFolderId"?: string;
2685
+ readonly "folderIds"?: ReadonlyArray<string>;
2686
+ readonly "messages": ReadonlyArray<{
2687
+ readonly "messageId": string;
2688
+ readonly "role": "user" | "assistant" | "system";
2689
+ readonly "text": string;
2690
+ readonly "createdAt": string;
2691
+ readonly "updatedAt": string;
2692
+ readonly "modelSelection"?: {
2693
+ readonly "provider"?: unknown;
2694
+ readonly "instanceId"?: unknown;
2695
+ readonly "model": unknown;
2696
+ readonly "options"?: unknown;
2697
+ };
2698
+ readonly "source"?: {
2699
+ readonly "kind": "native-session";
2700
+ readonly "provider": "claude" | "codex";
2701
+ readonly "sessionId": string;
2702
+ readonly "messageId": string;
2703
+ readonly "turnId"?: string;
2704
+ readonly "order": number;
2705
+ };
2706
+ }>;
2707
+ readonly "activities"?: ReadonlyArray<{
2708
+ readonly "id": string;
2709
+ readonly "tone": "info" | "tool" | "approval" | "error";
2710
+ readonly "kind": string;
2711
+ readonly "summary": string;
2712
+ readonly "payload": unknown;
2713
+ readonly "turnId": string | null;
2714
+ readonly "sequence"?: number;
2715
+ readonly "createdAt": string;
2716
+ }>;
2717
+ };
2718
+ export type ThreadsImportOutput = Objects_47;
2719
+ export type ThreadsExternalMessagesAppendInput = {
2720
+ readonly "requestId"?: string;
2721
+ readonly "threadId": string;
2722
+ readonly "messages": ReadonlyArray<{
2723
+ readonly "messageId": string;
2724
+ readonly "role": "user" | "assistant" | "system";
2725
+ readonly "text": string;
2726
+ readonly "createdAt": string;
2727
+ readonly "updatedAt": string;
2728
+ readonly "modelSelection"?: {
2729
+ readonly "provider"?: unknown;
2730
+ readonly "instanceId"?: unknown;
2731
+ readonly "model": unknown;
2732
+ readonly "options"?: unknown;
2733
+ };
2734
+ readonly "source"?: {
2735
+ readonly "kind": "native-session";
2736
+ readonly "provider": "claude" | "codex";
2737
+ readonly "sessionId": string;
2738
+ readonly "messageId": string;
2739
+ readonly "turnId"?: string;
2740
+ readonly "order": number;
2741
+ };
2742
+ }>;
2743
+ readonly "activities"?: ReadonlyArray<{
2744
+ readonly "id": string;
2745
+ readonly "tone": "info" | "tool" | "approval" | "error";
2746
+ readonly "kind": string;
2747
+ readonly "summary": string;
2748
+ readonly "payload": unknown;
2749
+ readonly "turnId": string | null;
2750
+ readonly "sequence"?: number;
2751
+ readonly "createdAt": string;
2752
+ }>;
2753
+ };
2754
+ export type ThreadsExternalMessagesAppendOutput = Objects_47;
2343
2755
  export type ThreadsUpdateInput = {
2344
2756
  readonly "threadId": string;
2345
2757
  readonly "requestId"?: string;
@@ -2348,7 +2760,7 @@ export type ThreadsUpdateInput = {
2348
2760
  readonly "modelSelection"?: {
2349
2761
  readonly "instanceId": string;
2350
2762
  readonly "model": string;
2351
- readonly "options"?: Union_17;
2763
+ readonly "options"?: Union_12;
2352
2764
  };
2353
2765
  readonly "executionSelection"?: {
2354
2766
  readonly "environmentId": string;
@@ -2370,7 +2782,7 @@ export type ThreadsUpdateInput = {
2370
2782
  } | null;
2371
2783
  readonly "presetId"?: string | null;
2372
2784
  };
2373
- export type ThreadsUpdateOutput = Objects_43;
2785
+ export type ThreadsUpdateOutput = Objects_47;
2374
2786
  export type ThreadsTurnsStartInput = {
2375
2787
  readonly "requestId"?: string;
2376
2788
  readonly "threadId": string;
@@ -2384,7 +2796,7 @@ export type ThreadsTurnsStartInput = {
2384
2796
  readonly "mimeType": string;
2385
2797
  readonly "sizeBytes": number;
2386
2798
  readonly "dataUrl": string;
2387
- readonly "source"?: Objects_44;
2799
+ readonly "source"?: Objects_48;
2388
2800
  } | {
2389
2801
  readonly "type": "file";
2390
2802
  readonly "name": string;
@@ -2397,7 +2809,7 @@ export type ThreadsTurnsStartInput = {
2397
2809
  readonly "name": string;
2398
2810
  readonly "mimeType": string;
2399
2811
  readonly "sizeBytes": number;
2400
- readonly "source"?: Objects_44 | Objects_46;
2812
+ readonly "source"?: Objects_48 | Objects_50;
2401
2813
  } | {
2402
2814
  readonly "type": "file";
2403
2815
  readonly "id": string;
@@ -2406,7 +2818,7 @@ export type ThreadsTurnsStartInput = {
2406
2818
  readonly "sizeBytes": number;
2407
2819
  readonly "source"?: {
2408
2820
  readonly "_tag": "pasted-text";
2409
- } | Objects_46 | {
2821
+ } | Objects_50 | {
2410
2822
  readonly "_tag": "thread-reference";
2411
2823
  readonly "environmentId": string;
2412
2824
  readonly "threadId": string;
@@ -2416,7 +2828,7 @@ export type ThreadsTurnsStartInput = {
2416
2828
  readonly "modelSelection"?: {
2417
2829
  readonly "instanceId": string;
2418
2830
  readonly "model": string;
2419
- readonly "options"?: Union_17;
2831
+ readonly "options"?: Union_12;
2420
2832
  };
2421
2833
  readonly "titleSeed"?: string;
2422
2834
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
@@ -2524,11 +2936,11 @@ export type ThreadsUserInputRespondInput = {
2524
2936
  readonly "height": number;
2525
2937
  };
2526
2938
  readonly "truncated": boolean;
2527
- readonly "root": Objects_47;
2939
+ readonly "root": Objects_51;
2528
2940
  };
2529
2941
  readonly "appIdentifier"?: string;
2530
2942
  readonly "appIconDataUrl"?: string;
2531
- } | Objects_48;
2943
+ } | Objects_52;
2532
2944
  } | {
2533
2945
  readonly "type": "file";
2534
2946
  readonly "id": string;
@@ -2537,7 +2949,7 @@ export type ThreadsUserInputRespondInput = {
2537
2949
  readonly "sizeBytes": number;
2538
2950
  readonly "source"?: {
2539
2951
  readonly "_tag": "pasted-text";
2540
- } | Objects_48 | {
2952
+ } | Objects_52 | {
2541
2953
  readonly "_tag": "thread-reference";
2542
2954
  readonly "environmentId": string;
2543
2955
  readonly "threadId": string;
@@ -2545,10 +2957,52 @@ export type ThreadsUserInputRespondInput = {
2545
2957
  }>;
2546
2958
  };
2547
2959
  };
2548
- export type ThreadsUserInputRespondOutput = Objects_43;
2960
+ export type ThreadsUserInputRespondOutput = Objects_47;
2961
+ export type ThreadsTurnsInterruptInput = {
2962
+ readonly "requestId"?: string;
2963
+ readonly "threadId": string;
2964
+ readonly "turnId"?: string;
2965
+ };
2966
+ export type ThreadsTurnsInterruptOutput = Objects_47;
2967
+ export type ThreadsSessionStopInput = {
2968
+ readonly "requestId"?: string;
2969
+ readonly "threadId": string;
2970
+ readonly "onlyIfSettled"?: boolean;
2971
+ readonly "onlyIfNoTurnInFlight"?: boolean;
2972
+ };
2973
+ export type ThreadsSessionStopOutput = Objects_47;
2974
+ export type ApprovalsRespondInput = {
2975
+ readonly "requestId"?: string;
2976
+ readonly "threadId": string;
2977
+ readonly "approvalRequestId": string;
2978
+ readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
2979
+ readonly "reason"?: string;
2980
+ };
2981
+ export type ApprovalsRespondOutput = Objects_47;
2982
+ export type ThreadsTurnIntentsRunInput = {
2983
+ readonly "requestId"?: string;
2984
+ readonly "threadId": string;
2985
+ readonly "intentId": string;
2986
+ readonly "mode": "steer" | "interrupt";
2987
+ readonly "expectedTurnId"?: string | null;
2988
+ };
2989
+ export type ThreadsTurnIntentsRunOutput = Objects_47;
2990
+ export type ThreadsTurnIntentsCancelInput = {
2991
+ readonly "requestId"?: string;
2992
+ readonly "threadId": string;
2993
+ readonly "intentId": string;
2994
+ readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
2995
+ readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
2996
+ };
2997
+ export type ThreadsTurnIntentsCancelOutput = Objects_47;
2998
+ export type ThreadsTurnQueueResumeInput = {
2999
+ readonly "requestId"?: string;
3000
+ readonly "threadId": string;
3001
+ };
3002
+ export type ThreadsTurnQueueResumeOutput = Objects_47;
2549
3003
  export type CommunicationPeopleCurrentInput = {};
2550
3004
  export type CommunicationPeopleCurrentOutput = {
2551
- readonly "person": Union_9 | null;
3005
+ readonly "person": Union_11 | null;
2552
3006
  };
2553
3007
  export declare const COMMUNICATION_RECORDS_READ_LIMIT = 100;
2554
3008
  export declare const THREAD_ACTIVITIES_LIST_LIMIT = 200;
@@ -2566,6 +3020,13 @@ export interface PluginDataPorts {
2566
3020
  readonly threads: {
2567
3021
  readonly list: (input: ThreadsListInput) => Promise<ThreadsListOutput>;
2568
3022
  readonly history: (input: ThreadsHistoryInput) => Promise<ThreadsHistoryOutput>;
3023
+ readonly execution: {
3024
+ readonly summary: (input: ThreadsExecutionSummaryInput) => Promise<ThreadsExecutionSummaryOutput>;
3025
+ };
3026
+ readonly decisions: {
3027
+ readonly request: (input: ThreadsDecisionsRequestInput) => Promise<ThreadsDecisionsRequestOutput>;
3028
+ readonly cancel: (input: ThreadsDecisionsCancelInput) => Promise<ThreadsDecisionsCancelOutput>;
3029
+ };
2569
3030
  readonly get: (input: ThreadsGetInput) => Promise<ThreadsGetOutput>;
2570
3031
  readonly messages: {
2571
3032
  readonly list: (input: ThreadsMessagesListInput) => Promise<ThreadsMessagesListOutput>;
@@ -2575,13 +3036,28 @@ export interface PluginDataPorts {
2575
3036
  };
2576
3037
  readonly create: (input: ThreadsCreateInput) => Promise<ThreadsCreateOutput>;
2577
3038
  readonly fork: (input: ThreadsForkInput) => Promise<ThreadsForkOutput>;
3039
+ readonly import: (input: ThreadsImportInput) => Promise<ThreadsImportOutput>;
3040
+ readonly externalMessages: {
3041
+ readonly append: (input: ThreadsExternalMessagesAppendInput) => Promise<ThreadsExternalMessagesAppendOutput>;
3042
+ };
2578
3043
  readonly update: (input: ThreadsUpdateInput) => Promise<ThreadsUpdateOutput>;
2579
3044
  readonly turns: {
2580
3045
  readonly start: (input: ThreadsTurnsStartInput) => Promise<ThreadsTurnsStartOutput>;
3046
+ readonly interrupt: (input: ThreadsTurnsInterruptInput) => Promise<ThreadsTurnsInterruptOutput>;
2581
3047
  };
2582
3048
  readonly userInput: {
2583
3049
  readonly respond: (input: ThreadsUserInputRespondInput) => Promise<ThreadsUserInputRespondOutput>;
2584
3050
  };
3051
+ readonly session: {
3052
+ readonly stop: (input: ThreadsSessionStopInput) => Promise<ThreadsSessionStopOutput>;
3053
+ };
3054
+ readonly turnIntents: {
3055
+ readonly run: (input: ThreadsTurnIntentsRunInput) => Promise<ThreadsTurnIntentsRunOutput>;
3056
+ readonly cancel: (input: ThreadsTurnIntentsCancelInput) => Promise<ThreadsTurnIntentsCancelOutput>;
3057
+ };
3058
+ readonly turnQueue: {
3059
+ readonly resume: (input: ThreadsTurnQueueResumeInput) => Promise<ThreadsTurnQueueResumeOutput>;
3060
+ };
2585
3061
  };
2586
3062
  readonly projects: {
2587
3063
  readonly list: (input: ProjectsListInput) => Promise<ProjectsListOutput>;
@@ -2597,6 +3073,7 @@ export interface PluginDataPorts {
2597
3073
  readonly send: (input: CommunicationRecordsSendInput) => Promise<CommunicationRecordsSendOutput>;
2598
3074
  readonly withdraw: (input: CommunicationRecordsWithdrawInput) => Promise<CommunicationRecordsWithdrawOutput>;
2599
3075
  readonly delete: (input: CommunicationRecordsDeleteInput) => Promise<CommunicationRecordsDeleteOutput>;
3076
+ readonly notify: (input: CommunicationRecordsNotifyInput) => Promise<CommunicationRecordsNotifyOutput>;
2600
3077
  };
2601
3078
  readonly inbox: {
2602
3079
  readonly list: (input: CommunicationInboxListInput) => Promise<CommunicationInboxListOutput>;
@@ -2610,11 +3087,24 @@ export interface PluginDataPorts {
2610
3087
  readonly pending: {
2611
3088
  readonly list: (input: ApprovalsPendingListInput) => Promise<ApprovalsPendingListOutput>;
2612
3089
  };
3090
+ readonly respond: (input: ApprovalsRespondInput) => Promise<ApprovalsRespondOutput>;
2613
3091
  };
2614
3092
  readonly providers: {
3093
+ readonly instances: {
3094
+ readonly list: (input: ProvidersInstancesListInput) => Promise<ProvidersInstancesListOutput>;
3095
+ };
2615
3096
  readonly routing: {
2616
3097
  readonly get: (input: ProvidersRoutingGetInput) => Promise<ProvidersRoutingGetOutput>;
2617
3098
  };
3099
+ readonly selection: {
3100
+ readonly resolve: (input: ProvidersSelectionResolveInput) => Promise<ProvidersSelectionResolveOutput>;
3101
+ };
3102
+ readonly executors: {
3103
+ readonly list: (input: ProvidersExecutorsListInput) => Promise<ProvidersExecutorsListOutput>;
3104
+ };
3105
+ readonly workspaceInventory: {
3106
+ readonly get: (input: ProvidersWorkspaceInventoryGetInput) => Promise<ProvidersWorkspaceInventoryGetOutput>;
3107
+ };
2618
3108
  readonly list: (input: ProvidersListInput) => Promise<ProvidersListOutput>;
2619
3109
  readonly models: {
2620
3110
  readonly list: (input: ProvidersModelsListInput) => Promise<ProvidersModelsListOutput>;
@@ -2627,6 +3117,10 @@ export interface PluginDataPorts {
2627
3117
  };
2628
3118
  readonly installed: {
2629
3119
  readonly list: (input: PluginsInstalledListInput) => Promise<PluginsInstalledListOutput>;
3120
+ readonly setEnabled: (input: PluginsInstalledSetEnabledInput) => Promise<PluginsInstalledSetEnabledOutput>;
3121
+ };
3122
+ readonly sessionProjections: {
3123
+ readonly set: (input: PluginsSessionProjectionsSetInput) => Promise<PluginsSessionProjectionsSetOutput>;
2630
3124
  };
2631
3125
  readonly notifications: {
2632
3126
  readonly list: (input: PluginsNotificationsListInput) => Promise<PluginsNotificationsListOutput>;
@@ -2635,6 +3129,7 @@ export interface PluginDataPorts {
2635
3129
  };
2636
3130
  readonly settingsCards: {
2637
3131
  readonly list: (input: PluginsSettingsCardsListInput) => Promise<PluginsSettingsCardsListOutput>;
3132
+ readonly updateValues: (input: PluginsSettingsCardsUpdateValuesInput) => Promise<PluginsSettingsCardsUpdateValuesOutput>;
2638
3133
  };
2639
3134
  };
2640
3135
  readonly usage: {
@@ -2645,6 +3140,14 @@ export interface PluginDataPorts {
2645
3140
  readonly get: (input: UsageTokensGetInput) => Promise<UsageTokensGetOutput>;
2646
3141
  };
2647
3142
  };
3143
+ readonly wakes: {
3144
+ readonly cancel: (input: WakesCancelInput) => Promise<WakesCancelOutput>;
3145
+ readonly list: (input: WakesListInput) => Promise<WakesListOutput>;
3146
+ };
3147
+ readonly skills: {
3148
+ readonly list: (input: SkillsListInput) => Promise<SkillsListOutput>;
3149
+ readonly read: (input: SkillsReadInput) => Promise<SkillsReadOutput>;
3150
+ };
2648
3151
  readonly memory: {
2649
3152
  readonly experiences: {
2650
3153
  readonly list: (input: MemoryExperiencesListInput) => Promise<MemoryExperiencesListOutput>;