@ycodium-ai/plugin-api 0.2.3130 → 0.2.3166

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.
@@ -6,61 +6,41 @@ type Objects_2 = {
6
6
  readonly "id": string;
7
7
  readonly "value": string | boolean;
8
8
  };
9
- type Objects_3 = {
9
+ type Arrays_2 = ReadonlyArray<{
10
+ readonly "id": string;
11
+ readonly "value": string | boolean;
12
+ }>;
13
+ type Objects_6 = {
14
+ readonly "runtime": number;
15
+ readonly "source": number;
16
+ readonly "profile": number;
17
+ readonly "endpoint"?: number;
18
+ };
19
+ type Objects_7 = {
10
20
  readonly "projectId": string;
11
21
  readonly "repository": string;
12
22
  readonly "number": number;
13
23
  readonly "url": string;
14
24
  };
15
- type Objects_4 = {
25
+ type Objects_8 = {
16
26
  readonly "parentThreadId": string;
17
27
  readonly "delegationDepth": number;
18
28
  readonly "requestedBy": "agent" | "continuation";
19
29
  readonly "notificationPolicy"?: "wake" | "activity-only" | undefined;
20
30
  };
21
- type Objects_5 = {
31
+ type Objects_9 = {
22
32
  readonly "userId": string;
23
33
  readonly "displayName": string;
24
34
  };
25
- type Arrays_2 = ReadonlyArray<{
26
- readonly "id": string;
27
- readonly "value": string | boolean;
28
- }>;
29
- type Objects_8 = {
30
- readonly "runtime": number;
31
- readonly "source": number;
32
- readonly "profile": number;
33
- readonly "endpoint"?: number;
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;
41
- type Objects_9 = {
35
+ type Objects_11 = {
42
36
  readonly "requestId": string;
43
37
  readonly "startedAt": string;
44
38
  };
45
- type Objects_10 = {
39
+ type Objects_12 = {
46
40
  readonly "source": "manual" | "generated";
47
41
  readonly "version": string;
48
42
  readonly "needsRefinement": boolean;
49
43
  };
50
- type Objects_12 = {
51
- readonly "_tag": "agent-artifact";
52
- readonly "sourcePath": string;
53
- readonly "linkBase"?: string | undefined;
54
- readonly "toolCallId"?: string | undefined;
55
- };
56
- type Union_5 = {
57
- readonly "kind": "native-session";
58
- readonly "provider": "claude" | "codex";
59
- readonly "sessionId": string;
60
- readonly "messageId": string;
61
- readonly "turnId"?: string | undefined;
62
- readonly "order": number;
63
- } | undefined;
64
44
  type Objects_13 = {
65
45
  readonly "threadId": string;
66
46
  readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error";
@@ -86,7 +66,27 @@ type Objects_13 = {
86
66
  readonly "endReason"?: "server-restart" | undefined;
87
67
  readonly "updatedAt": string;
88
68
  };
89
- type Objects_14 = {
69
+ type Union_1 = {
70
+ readonly "status": "committed" | "rolled-back" | "failed" | "unknown";
71
+ readonly "targetVersion"?: string | undefined;
72
+ readonly "fromVersion": string | null;
73
+ readonly "reason": string | null;
74
+ } | null;
75
+ type Objects_15 = {
76
+ readonly "_tag": "agent-artifact";
77
+ readonly "sourcePath": string;
78
+ readonly "linkBase"?: string | undefined;
79
+ readonly "toolCallId"?: string | undefined;
80
+ };
81
+ type Objects_16 = {
82
+ readonly "kind": "native-session";
83
+ readonly "provider": "claude" | "codex";
84
+ readonly "sessionId": string;
85
+ readonly "messageId": string;
86
+ readonly "turnId"?: string | undefined;
87
+ readonly "order": number;
88
+ };
89
+ type Objects_17 = {
90
90
  readonly "offset": number;
91
91
  readonly "returned": number;
92
92
  readonly "total": number;
@@ -113,7 +113,7 @@ type Union_6 = {
113
113
  readonly "principalId": string;
114
114
  readonly "displayName": string;
115
115
  };
116
- type Objects_16 = {
116
+ type Objects_18 = {
117
117
  readonly "persisted": string;
118
118
  readonly "handedOff": {
119
119
  readonly "certainty": "not-dispatched" | "confirmed" | "unknown";
@@ -142,7 +142,7 @@ type Union_11 = {
142
142
  readonly "kind": "local-owner";
143
143
  readonly "environmentId": string;
144
144
  };
145
- type Objects_18 = {
145
+ type Objects_20 = {
146
146
  readonly "projectId": string;
147
147
  readonly "requestId"?: string;
148
148
  readonly "recordId": string;
@@ -151,24 +151,24 @@ type Arrays_3 = ReadonlyArray<{
151
151
  readonly "id": string;
152
152
  readonly "value": string | boolean;
153
153
  }>;
154
- type Objects_20 = {
154
+ type Objects_22 = {
155
155
  readonly [x: string]: unknown;
156
156
  };
157
157
  type Arrays_4 = ReadonlyArray<string>;
158
- type Objects_21 = {
158
+ type Objects_24 = {
159
159
  readonly "status": "none" | "required" | "authorized";
160
160
  };
161
- type Objects_22 = {
161
+ type Objects_25 = {
162
162
  readonly "kind": "inline";
163
163
  readonly "skillMd": string;
164
164
  };
165
- type Objects_23 = {
165
+ type Objects_26 = {
166
166
  readonly [x: string]: string | null;
167
167
  };
168
- type Objects_24 = {
168
+ type Objects_27 = {
169
169
  readonly [x: string]: boolean;
170
170
  };
171
- type Objects_25 = {
171
+ type Objects_28 = {
172
172
  readonly "ids": readonly [string, ...Array<string>];
173
173
  };
174
174
  type Union_13 = ReadonlyArray<{
@@ -177,11 +177,11 @@ type Union_13 = ReadonlyArray<{
177
177
  readonly "labelKey"?: string | undefined;
178
178
  readonly "icon"?: string | undefined;
179
179
  }> | undefined;
180
- type Objects_26 = {
180
+ type Objects_29 = {
181
181
  readonly "key": string;
182
182
  readonly "equals": ReadonlyArray<string>;
183
183
  };
184
- type Objects_27 = {
184
+ type Objects_30 = {
185
185
  readonly [x: string]: unknown;
186
186
  };
187
187
  type Union_15 = {
@@ -192,36 +192,36 @@ type Union_15 = {
192
192
  } | {
193
193
  readonly "text": string;
194
194
  };
195
- type Objects_30 = {
195
+ type Objects_34 = {
196
196
  readonly "kind": "agent";
197
197
  readonly "threadId": string;
198
198
  };
199
- type Objects_31 = {
199
+ type Objects_35 = {
200
200
  readonly "kind": "remote-agent";
201
201
  readonly "principalId": string;
202
202
  };
203
203
  type Arrays_5 = ReadonlyArray<string>;
204
- type Objects_33 = {
204
+ type Objects_37 = {
205
205
  readonly "experienceId": string;
206
206
  readonly "revision": number;
207
207
  };
208
- type Objects_34 = {
208
+ type Objects_38 = {
209
209
  readonly "projectId": string;
210
210
  readonly "requestId"?: string;
211
211
  readonly "experienceId": string;
212
212
  };
213
- type Objects_35 = {
213
+ type Objects_39 = {
214
214
  readonly "sequence": number;
215
215
  readonly "result": {
216
216
  readonly "experienceId": string;
217
217
  readonly "status": "active" | "forgotten";
218
218
  };
219
219
  };
220
- type Objects_37 = {
220
+ type Objects_41 = {
221
221
  readonly "pageId": string;
222
222
  readonly "revision": number;
223
223
  };
224
- type Objects_39 = {
224
+ type Objects_43 = {
225
225
  readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
226
226
  readonly "pageId": string;
227
227
  readonly "revision": number;
@@ -230,39 +230,39 @@ type Union_17 = {
230
230
  readonly "experienceId": string;
231
231
  readonly "revision": number;
232
232
  } | null;
233
- type Objects_41 = {
233
+ type Objects_45 = {
234
234
  readonly "stateId": string;
235
235
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
236
236
  readonly "name": string;
237
237
  };
238
238
  type Arrays_8 = ReadonlyArray<string>;
239
239
  type Arrays_9 = ReadonlyArray<string>;
240
- type Objects_42 = {
240
+ type Objects_46 = {
241
241
  readonly "total": number;
242
242
  readonly "completed": number;
243
243
  readonly "cancelled": number;
244
244
  };
245
- type Objects_44 = {
245
+ type Objects_48 = {
246
246
  readonly "stateId": string;
247
247
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
248
248
  };
249
- type Objects_45 = {
249
+ type Objects_49 = {
250
250
  readonly "projectId": string;
251
251
  readonly "requestId"?: string;
252
252
  readonly "workItemId": string;
253
253
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
254
254
  readonly "relatedWorkItemId": string;
255
255
  };
256
- type Objects_46 = {
256
+ type Objects_50 = {
257
257
  readonly "workItemId": string;
258
258
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
259
259
  readonly "relatedWorkItemId": string;
260
260
  };
261
- type Objects_47 = {
261
+ type Objects_51 = {
262
262
  readonly "sequence": number;
263
263
  readonly "status": "accepted" | "noop";
264
264
  };
265
- type Objects_48 = {
265
+ type Objects_52 = {
266
266
  readonly "_tag": "snap-shot";
267
267
  readonly "capturedAt": string;
268
268
  readonly "appName": string;
@@ -280,36 +280,43 @@ type Objects_48 = {
280
280
  readonly "height": number;
281
281
  };
282
282
  readonly "truncated": boolean;
283
- readonly "root": Objects_49;
283
+ readonly "root": Objects_53;
284
284
  };
285
285
  readonly "appIdentifier"?: string;
286
286
  readonly "appIconDataUrl"?: string;
287
287
  };
288
- type Objects_50 = {
288
+ type Objects_54 = {
289
289
  readonly "_tag": "agent-artifact";
290
290
  readonly "sourcePath": string;
291
291
  readonly "linkBase"?: string;
292
292
  readonly "toolCallId"?: string;
293
293
  };
294
- type Objects_52 = {
294
+ type Objects_56 = {
295
295
  readonly "_tag": "agent-artifact";
296
296
  readonly "sourcePath": string;
297
297
  readonly "linkBase"?: string;
298
298
  readonly "toolCallId"?: string;
299
299
  };
300
+ type Objects_57 = {
301
+ readonly "projectId": string;
302
+ readonly "folderId": string;
303
+ };
304
+ type Objects_58 = {
305
+ readonly "applied": boolean;
306
+ };
300
307
  type Arrays_ = ReadonlyArray<Objects_2>;
301
308
  type Arrays_1 = ReadonlyArray<Objects_2>;
302
- type Union_3 = Objects_5 | null | undefined;
303
- type Objects_7 = {
309
+ type Objects_5 = {
304
310
  readonly "environmentId": string;
305
311
  readonly "runtimeId": string;
306
312
  readonly "sourceId": string;
307
313
  readonly "profileId": string;
308
314
  readonly "endpointId"?: string;
309
315
  readonly "optionOverrides": Arrays_2;
310
- readonly "expectedRevisions": Objects_8;
316
+ readonly "expectedRevisions": Objects_6;
311
317
  };
312
- type Objects_28 = {
318
+ type Union_3 = Objects_9 | null | undefined;
319
+ type Objects_32 = {
313
320
  readonly "wakeId": string;
314
321
  readonly "threadId": string;
315
322
  readonly "dueAt": string;
@@ -349,11 +356,11 @@ type Union_2 = {
349
356
  readonly "height": number;
350
357
  };
351
358
  readonly "truncated": boolean;
352
- readonly "root": Objects_11;
359
+ readonly "root": Objects_14;
353
360
  } | undefined;
354
361
  readonly "appIdentifier"?: string | undefined;
355
362
  readonly "appIconDataUrl"?: string | undefined;
356
- } | Objects_12 | undefined;
363
+ } | Objects_15 | undefined;
357
364
  } | {
358
365
  readonly "type": "file";
359
366
  readonly "id": string;
@@ -362,12 +369,13 @@ type Union_2 = {
362
369
  readonly "sizeBytes": number;
363
370
  readonly "source"?: {
364
371
  readonly "_tag": "pasted-text";
365
- } | Objects_12 | {
372
+ } | Objects_15 | {
366
373
  readonly "_tag": "thread-reference";
367
374
  readonly "environmentId": string;
368
375
  readonly "threadId": string;
369
376
  } | undefined;
370
377
  };
378
+ type Union_5 = Objects_16 | undefined;
371
379
  type Union_7 = Union_6 | null;
372
380
  type Union_9 = {
373
381
  readonly "claimId": string;
@@ -385,34 +393,102 @@ type Union_18 = {
385
393
  readonly "kind": "remote-agent";
386
394
  readonly "principalId": string;
387
395
  };
388
- type Objects_29 = {
396
+ type Objects_33 = {
389
397
  readonly "kind": "human";
390
398
  readonly "principal": Union_11;
391
399
  };
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 = {
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;
423
+ };
424
+ type Union_14 = Objects_29 | undefined;
425
+ type Objects_31 = {
426
+ readonly "instanceId": string;
427
+ readonly "driver": string;
428
+ readonly "pluginId": string | null;
429
+ readonly "displayName": string | null;
430
+ readonly "support": "supported" | "notProvided" | "disabled" | "unavailable";
431
+ readonly "lastAttempt": {
432
+ readonly "at": string;
433
+ readonly "outcome": "available" | "missingCredentials" | "authRejected" | "customEndpoint" | "unreachable" | "unsupportedLogin" | "rateLimited";
434
+ readonly "retryAt": string | null;
435
+ } | null;
436
+ readonly "lastAvailable": {
437
+ readonly "readAt": string;
438
+ readonly "plan"?: string;
439
+ readonly "accountKey"?: string;
440
+ readonly "windows": ReadonlyArray<{
441
+ readonly "id": string;
442
+ readonly "label": Union_15;
443
+ readonly "usedPercent": number;
444
+ readonly "resetsAt": string | null;
445
+ readonly "windowMs"?: number;
446
+ readonly "group"?: string;
447
+ }>;
448
+ readonly "balances": ReadonlyArray<{
449
+ readonly "id": string;
450
+ readonly "label": Union_15;
451
+ readonly "remaining": number | null;
452
+ readonly "used": number | null;
453
+ readonly "limit": number | null;
454
+ readonly "unit": {
455
+ readonly "kind": "money";
456
+ readonly "currency": string;
457
+ } | {
458
+ readonly "kind": "credits";
459
+ };
460
+ readonly "resetsAt": string | null;
461
+ }>;
462
+ readonly "resetCredits"?: {
463
+ readonly "availableCount": number;
464
+ };
465
+ } | null;
466
+ readonly "inflight": boolean;
467
+ readonly "redeemable"?: true;
468
+ readonly "redeeming"?: true;
469
+ };
470
+ type Arrays_6 = ReadonlyArray<Objects_43>;
471
+ type Objects_44 = {
396
472
  readonly "changed": boolean;
397
473
  readonly "release": number;
398
- readonly "pages": ReadonlyArray<Objects_39>;
474
+ readonly "pages": ReadonlyArray<Objects_43>;
399
475
  };
400
476
  type Union_ = Arrays_ | Arrays_1;
401
477
  type Union_8 = ReadonlyArray<Union_2> | undefined;
402
- type Union_16 = Objects_29 | {
478
+ type Union_16 = Objects_33 | {
403
479
  readonly "kind": "local-cli";
404
480
  readonly "environmentId": string;
405
481
  } | {
406
482
  readonly "kind": "seat";
407
483
  readonly "seatId": string;
408
- } | Objects_30 | Objects_31 | {
484
+ } | Objects_34 | Objects_35 | {
409
485
  readonly "kind": "plugin";
410
486
  readonly "pluginId": string;
411
487
  } | {
412
488
  readonly "kind": "system";
413
489
  };
414
- type Union_19 = Objects_29 | Objects_30 | Objects_31;
415
- type Objects_19 = {
490
+ type Union_19 = Objects_33 | Objects_34 | Objects_35;
491
+ type Objects_21 = {
416
492
  readonly "instanceId": string;
417
493
  readonly "model": string;
418
494
  readonly "options"?: Union_12;
@@ -422,7 +498,7 @@ type Objects_1 = {
422
498
  readonly "model": string;
423
499
  readonly "options"?: Union_;
424
500
  };
425
- type Objects_17 = {
501
+ type Objects_19 = {
426
502
  readonly "items": ReadonlyArray<{
427
503
  readonly "recordId": string;
428
504
  readonly "from": Union_6;
@@ -430,7 +506,7 @@ type Objects_17 = {
430
506
  readonly "replyTo": string | null;
431
507
  readonly "delivery": "quiet" | "wake" | "steer";
432
508
  readonly "createdAt": string;
433
- readonly "stages": Objects_16;
509
+ readonly "stages": Objects_18;
434
510
  readonly "idempotencyKey"?: string | undefined;
435
511
  readonly "runId"?: string | undefined;
436
512
  readonly "toRole"?: string | undefined;
@@ -445,7 +521,7 @@ type Objects_17 = {
445
521
  readonly "nextCursor": string | null;
446
522
  readonly "snapshotSequence": number;
447
523
  };
448
- type Objects_32 = {
524
+ type Objects_36 = {
449
525
  readonly "experienceId": string;
450
526
  readonly "revision": number;
451
527
  readonly "baseRevision": number | null;
@@ -453,9 +529,9 @@ type Objects_32 = {
453
529
  readonly "createdAt": string;
454
530
  readonly "body": string | null;
455
531
  readonly "bodyState": "present" | "erased" | "unavailable";
456
- readonly "bodyWindow"?: Objects_14;
532
+ readonly "bodyWindow"?: Objects_17;
457
533
  };
458
- type Objects_36 = {
534
+ type Objects_40 = {
459
535
  readonly "pageId": string;
460
536
  readonly "revision": number;
461
537
  readonly "baseRevision": number | null;
@@ -466,9 +542,9 @@ type Objects_36 = {
466
542
  readonly "changeSummary": string | null;
467
543
  readonly "body": string | null;
468
544
  readonly "bodyState": "present" | "erased" | "unavailable";
469
- readonly "bodyWindow"?: Objects_14;
545
+ readonly "bodyWindow"?: Objects_17;
470
546
  };
471
- type Objects_38 = {
547
+ type Objects_42 = {
472
548
  readonly "release": number;
473
549
  readonly "pages": Arrays_6;
474
550
  readonly "itemCount": number;
@@ -480,7 +556,7 @@ type Objects_38 = {
480
556
  readonly "publishedAt": string;
481
557
  };
482
558
  type Arrays_7 = ReadonlyArray<Union_19>;
483
- type Objects_43 = {
559
+ type Objects_47 = {
484
560
  readonly "commentId": string;
485
561
  readonly "workItemId": string;
486
562
  readonly "projectId": string;
@@ -488,35 +564,14 @@ type Objects_43 = {
488
564
  readonly "revision": number;
489
565
  readonly "author": Union_16;
490
566
  readonly "body": string | null;
491
- readonly "bodyWindow"?: Objects_14;
567
+ readonly "bodyWindow"?: Objects_17;
492
568
  readonly "bodyState": "present" | "erased" | "unavailable";
493
569
  readonly "mentions": ReadonlyArray<Union_19>;
494
570
  readonly "parentId": string | null;
495
571
  readonly "createdAt": string;
496
572
  readonly "editedAt": string | null;
497
573
  };
498
- type Objects_6 = {
499
- readonly "turnId": string;
500
- readonly "state": "running" | "interrupted" | "completed" | "error";
501
- readonly "requestedAt": string;
502
- readonly "startedAt": string | null;
503
- readonly "completedAt": string | null;
504
- readonly "assistantMessageId": string | null;
505
- readonly "userMessageId"?: string | undefined;
506
- readonly "modelSelection"?: Objects_1 | undefined;
507
- readonly "sourceProposedPlan"?: {
508
- readonly "threadId": string;
509
- readonly "planId": string;
510
- } | undefined;
511
- readonly "waitSpans"?: ReadonlyArray<{
512
- readonly "kind": "approval" | "userInput";
513
- readonly "requestId": string;
514
- readonly "startedAt": string;
515
- readonly "completedAt": string | null;
516
- }> | undefined;
517
- };
518
- type Union_4 = Objects_1 | undefined;
519
- type Objects_15 = {
574
+ type Objects_3 = {
520
575
  readonly "id": string;
521
576
  readonly "title": string;
522
577
  readonly "workspaceRoot": string;
@@ -576,7 +631,79 @@ type Objects_15 = {
576
631
  readonly "updatedAt": string;
577
632
  readonly "archivedAt"?: string | null | undefined;
578
633
  };
579
- type Objects_11 = {
634
+ type Objects_10 = {
635
+ readonly "turnId": string;
636
+ readonly "state": "running" | "interrupted" | "completed" | "error";
637
+ readonly "requestedAt": string;
638
+ readonly "startedAt": string | null;
639
+ readonly "completedAt": string | null;
640
+ readonly "assistantMessageId": string | null;
641
+ readonly "userMessageId"?: string | undefined;
642
+ readonly "modelSelection"?: Objects_1 | undefined;
643
+ readonly "sourceProposedPlan"?: {
644
+ readonly "threadId": string;
645
+ readonly "planId": string;
646
+ } | 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;
653
+ };
654
+ type Union_4 = Objects_1 | undefined;
655
+ type Objects_4 = {
656
+ readonly "id": string;
657
+ readonly "projectId": string;
658
+ readonly "title": string;
659
+ readonly "modelSelection": Objects_1;
660
+ readonly "executionSelection"?: Objects_5 | undefined;
661
+ readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
662
+ readonly "nativeModeId"?: string | null | undefined;
663
+ readonly "interactionMode": "default" | "plan";
664
+ readonly "branch": string | null;
665
+ readonly "worktreePath": string | null;
666
+ readonly "startFolderId"?: string | null | undefined;
667
+ readonly "folderIds"?: ReadonlyArray<string> | undefined;
668
+ readonly "linkedPullRequest"?: Objects_7 | null | undefined;
669
+ readonly "origin"?: Objects_8 | null | undefined;
670
+ readonly "forkedFrom"?: Objects_ | null | undefined;
671
+ readonly "presetId"?: string | null | undefined;
672
+ readonly "createdBy"?: Objects_9 | null | undefined;
673
+ readonly "latestTurn": Objects_10 | null;
674
+ readonly "stopRequestedAt"?: string | null;
675
+ readonly "createdAt": string;
676
+ readonly "updatedAt": string;
677
+ readonly "archivedAt": string | null;
678
+ readonly "settledOverride": "settled" | "active" | null;
679
+ readonly "settledAt": string | null;
680
+ readonly "unsettledAt"?: string | null | undefined;
681
+ readonly "snoozedUntil"?: string | null | undefined;
682
+ readonly "snoozedAt"?: string | null | undefined;
683
+ readonly "pinnedAt"?: string | null | undefined;
684
+ readonly "pinOrderKey"?: string | null | undefined;
685
+ 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;
689
+ readonly "latestUserMessageAt": string | null;
690
+ readonly "userTurnCount"?: number | undefined;
691
+ readonly "queuedMessageCount"?: number | undefined;
692
+ readonly "awaitingPersonReplyCount"?: number | undefined;
693
+ readonly "pendingAsyncQuestionCount"?: number | undefined;
694
+ readonly "preview"?: string | null | undefined;
695
+ readonly "hasPendingApprovals": boolean;
696
+ readonly "hasPendingUserInput": boolean;
697
+ readonly "hasActionableProposedPlan": boolean;
698
+ readonly "status"?: "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle" | undefined;
699
+ readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined;
700
+ readonly "planProgress"?: {
701
+ readonly "step": string;
702
+ readonly "completedSteps": number;
703
+ readonly "totalSteps": number;
704
+ } | null | undefined;
705
+ };
706
+ type Objects_14 = {
580
707
  readonly "role": string;
581
708
  readonly "name"?: string;
582
709
  readonly "value"?: string;
@@ -599,9 +726,9 @@ type Objects_11 = {
599
726
  readonly "visible"?: boolean | undefined;
600
727
  };
601
728
  readonly "actions"?: ReadonlyArray<string>;
602
- readonly "children": ReadonlyArray<Objects_11>;
729
+ readonly "children": ReadonlyArray<Objects_14>;
603
730
  };
604
- type Objects_49 = {
731
+ type Objects_53 = {
605
732
  readonly "role": string;
606
733
  readonly "name"?: string;
607
734
  readonly "value"?: string;
@@ -624,9 +751,9 @@ type Objects_49 = {
624
751
  readonly "visible"?: boolean;
625
752
  };
626
753
  readonly "actions"?: ReadonlyArray<string>;
627
- readonly "children": ReadonlyArray<Objects_49>;
754
+ readonly "children": ReadonlyArray<Objects_53>;
628
755
  };
629
- type Objects_51 = {
756
+ type Objects_55 = {
630
757
  readonly "role": string;
631
758
  readonly "name"?: string;
632
759
  readonly "value"?: string;
@@ -649,7 +776,7 @@ type Objects_51 = {
649
776
  readonly "visible"?: boolean;
650
777
  };
651
778
  readonly "actions"?: ReadonlyArray<string>;
652
- readonly "children": ReadonlyArray<Objects_51>;
779
+ readonly "children": ReadonlyArray<Objects_55>;
653
780
  };
654
781
  export type AuthRemoteAgentsListInput = {
655
782
  readonly "projectId": string;
@@ -696,6 +823,13 @@ export type ThreadsListOutput = {
696
823
  readonly "nextCursor": string | null;
697
824
  readonly "snapshotSequence": number;
698
825
  };
826
+ export type ThreadsArchivedListInput = {};
827
+ export type ThreadsArchivedListOutput = {
828
+ readonly "snapshotSequence": number;
829
+ readonly "projects": ReadonlyArray<Objects_3>;
830
+ readonly "threads": ReadonlyArray<Objects_4>;
831
+ readonly "updatedAt": string;
832
+ };
699
833
  export type ThreadsHistoryInput = {
700
834
  readonly "threadId": string;
701
835
  readonly "turnLimit"?: number;
@@ -718,12 +852,12 @@ export type ThreadsHistoryOutput = {
718
852
  readonly "worktreePath": string | null;
719
853
  readonly "startFolderId"?: string | null | undefined;
720
854
  readonly "folderIds"?: ReadonlyArray<string> | undefined;
721
- readonly "linkedPullRequest"?: Objects_3 | null | undefined;
722
- readonly "origin"?: Objects_4 | null | undefined;
855
+ readonly "linkedPullRequest"?: Objects_7 | null | undefined;
856
+ readonly "origin"?: Objects_8 | null | undefined;
723
857
  readonly "forkedFrom"?: Objects_ | null | undefined;
724
858
  readonly "presetId"?: string | null | undefined;
725
- readonly "createdBy"?: Objects_5 | null | undefined;
726
- readonly "latestTurn": Objects_6 | null;
859
+ readonly "createdBy"?: Objects_9 | null | undefined;
860
+ readonly "latestTurn": Objects_10 | null;
727
861
  readonly "stopRequestedAt"?: string | null;
728
862
  readonly "createdAt": string;
729
863
  readonly "updatedAt": string;
@@ -747,7 +881,7 @@ export type ThreadsHistoryOutput = {
747
881
  };
748
882
  readonly "queuedAt": string;
749
883
  }> | undefined;
750
- readonly "executionSelection"?: Objects_7 | undefined;
884
+ readonly "executionSelection"?: Objects_5 | undefined;
751
885
  readonly "turnIntents"?: ReadonlyArray<{
752
886
  readonly "intentId": string;
753
887
  readonly "threadId": string;
@@ -768,7 +902,7 @@ export type ThreadsHistoryOutput = {
768
902
  readonly "profileId": string;
769
903
  readonly "endpointId"?: string;
770
904
  readonly "optionOverrides": Arrays_2;
771
- readonly "expectedRevisions": Objects_8;
905
+ readonly "expectedRevisions": Objects_6;
772
906
  };
773
907
  readonly "legacyModelSelection": {
774
908
  readonly "instanceId": string;
@@ -783,7 +917,7 @@ export type ThreadsHistoryOutput = {
783
917
  readonly "binding"?: {
784
918
  readonly "bindingId": string;
785
919
  readonly "generation": number;
786
- readonly "selection": Objects_7;
920
+ readonly "selection": Objects_5;
787
921
  readonly "compatibility": {
788
922
  readonly "match": "native" | "via-adapter" | "unsupported" | "unknown";
789
923
  readonly "reasonCode": "native-protocol" | "native-source" | "protocol-conversion" | "wrong-environment" | "resource-missing" | "resource-disabled" | "revision-conflict" | "source-mismatch" | "endpoint-mismatch" | "model-mapping-missing" | "driver-missing" | "driver-unknown" | "driver-identity-mismatch" | "external-endpoint-unsupported" | "protocol-unknown" | "protocol-unsupported" | "auth-unsupported" | "source-ownership-mismatch" | "platform-unsupported" | "version-unknown" | "version-unsupported" | "feature-unsupported" | "feature-unknown" | "capability-validation-failed" | "invalid-options" | "endpoint-invalid";
@@ -873,8 +1007,8 @@ export type ThreadsHistoryOutput = {
873
1007
  }> | undefined;
874
1008
  readonly "turnQueuePaused"?: boolean | undefined;
875
1009
  readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined;
876
- readonly "titleRegeneration"?: Objects_9 | null | undefined;
877
- readonly "titleState"?: Objects_10 | null | undefined;
1010
+ readonly "titleRegeneration"?: Objects_11 | null | undefined;
1011
+ readonly "titleState"?: Objects_12 | null | undefined;
878
1012
  readonly "deletedAt": string | null;
879
1013
  readonly "messages": ReadonlyArray<{
880
1014
  readonly "id": string;
@@ -943,6 +1077,77 @@ export type ThreadsHistoryOutput = {
943
1077
  readonly "threadSequence"?: number;
944
1078
  } | undefined;
945
1079
  };
1080
+ export type ThreadsSearchInput = {
1081
+ readonly "query": string;
1082
+ readonly "limit"?: number;
1083
+ readonly "projectId"?: string;
1084
+ };
1085
+ export type ThreadsSearchOutput = {
1086
+ readonly "matches": ReadonlyArray<{
1087
+ readonly "threadId": string;
1088
+ readonly "projectId": string;
1089
+ readonly "source": "user" | "assistant";
1090
+ readonly "snippet": string;
1091
+ readonly "messageCreatedAt": string | null;
1092
+ }>;
1093
+ };
1094
+ export type ThreadsResumeCommandGetInput = {
1095
+ readonly "threadId": string;
1096
+ };
1097
+ export type ThreadsResumeCommandGetOutput = {
1098
+ readonly "command": string | null;
1099
+ readonly "provider": string | null;
1100
+ };
1101
+ export type ThreadsAgentsCountInput = {
1102
+ readonly "threadId": string;
1103
+ };
1104
+ export type ThreadsAgentsCountOutput = {
1105
+ readonly "count": number;
1106
+ };
1107
+ export type ThreadsToolCallGetInput = {
1108
+ readonly "threadId": string;
1109
+ readonly "toolCallId": string;
1110
+ readonly "part"?: "input" | "output";
1111
+ readonly "textOffset"?: number;
1112
+ readonly "textLimit"?: number;
1113
+ };
1114
+ export type ThreadsToolCallGetOutput = {
1115
+ readonly "input"?: string | undefined;
1116
+ readonly "inputTruncated"?: boolean | undefined;
1117
+ readonly "output"?: string | undefined;
1118
+ readonly "outputTruncated"?: boolean | undefined;
1119
+ readonly "outputStartOffset"?: number | undefined;
1120
+ readonly "outputEndOffset"?: number | undefined;
1121
+ readonly "outputSequence"?: number | undefined;
1122
+ readonly "outputTurnId"?: string | undefined;
1123
+ readonly "exitCode"?: number | undefined;
1124
+ readonly "inputWindow"?: Objects_17;
1125
+ readonly "outputWindow"?: Objects_17;
1126
+ };
1127
+ export type ThreadsPluginToolPresentationGetInput = {
1128
+ readonly "threadId": string;
1129
+ readonly "invocationId": string;
1130
+ };
1131
+ export type ThreadsPluginToolPresentationGetOutput = {
1132
+ readonly "presentation": unknown | null;
1133
+ readonly "availability"?: "unavailable" | undefined;
1134
+ };
1135
+ export type ThreadsTranscriptGetInput = {
1136
+ readonly "threadId": string;
1137
+ readonly "budgetChars": number;
1138
+ };
1139
+ export type ThreadsTranscriptGetOutput = {
1140
+ readonly "environmentId": string;
1141
+ readonly "threadId": string;
1142
+ readonly "title": string;
1143
+ readonly "throughMessageId": string | null;
1144
+ readonly "messages": ReadonlyArray<{
1145
+ readonly "role": "user" | "assistant";
1146
+ readonly "text": string;
1147
+ readonly "createdAt": string;
1148
+ }>;
1149
+ readonly "omittedMessages": number;
1150
+ };
946
1151
  export type ThreadsExecutionSummaryInput = {
947
1152
  readonly "threadId": string;
948
1153
  readonly "limit"?: number;
@@ -965,6 +1170,59 @@ export type ThreadsExecutionSummaryOutput = {
965
1170
  readonly "pendingUserInputCount": number;
966
1171
  readonly "continuation": "active" | "queued" | "blocked" | "paused" | "idle";
967
1172
  };
1173
+ export type ThreadsTurnStartsCountInput = {
1174
+ readonly "threadIds": ReadonlyArray<string>;
1175
+ };
1176
+ export type ThreadsTurnStartsCountOutput = number;
1177
+ export type ThreadsMessagesGetInput = {
1178
+ readonly "messageId": string;
1179
+ };
1180
+ export type ThreadsMessagesGetOutput = {
1181
+ readonly "messageId": string;
1182
+ readonly "role": string;
1183
+ readonly "text": string;
1184
+ readonly "turnId": string | null;
1185
+ readonly "createdAt": string;
1186
+ readonly "modelSelection"?: Objects_1 | undefined;
1187
+ readonly "source"?: Objects_16 | undefined;
1188
+ readonly "attachments": ReadonlyArray<Union_2>;
1189
+ } | null;
1190
+ export type ThreadsUserInputPendingListInput = {
1191
+ readonly "threadId": string;
1192
+ };
1193
+ export type ThreadsUserInputPendingListOutput = ReadonlyArray<{
1194
+ readonly "requestId": string;
1195
+ readonly "createdAt": string;
1196
+ readonly "questions": ReadonlyArray<{
1197
+ readonly "id": string;
1198
+ readonly "header": string;
1199
+ readonly "question": string;
1200
+ readonly "options": ReadonlyArray<{
1201
+ readonly "value": string;
1202
+ readonly "label": string;
1203
+ readonly "description": string;
1204
+ readonly "planAction"?: "approve" | "revise" | "stop";
1205
+ }>;
1206
+ readonly "multiSelect": boolean;
1207
+ readonly "allowFreeform": boolean;
1208
+ readonly "kind": "question" | "plan";
1209
+ }>;
1210
+ }>;
1211
+ export type ThreadsCommandReceiptsGetInput = {
1212
+ readonly "commandId": string;
1213
+ readonly "commandType": string;
1214
+ readonly "threadId"?: string;
1215
+ };
1216
+ export type ThreadsCommandReceiptsGetOutput = {
1217
+ readonly "status": "absent";
1218
+ } | {
1219
+ readonly "status": "accepted";
1220
+ readonly "sequence": number;
1221
+ readonly "result"?: unknown;
1222
+ } | {
1223
+ readonly "status": "rejected";
1224
+ readonly "error": string | null;
1225
+ };
968
1226
  export type ThreadsDecisionsRequestInput = {
969
1227
  readonly "threadId": string;
970
1228
  readonly "title": string;
@@ -992,57 +1250,7 @@ export type ThreadsDecisionsCancelOutput = {};
992
1250
  export type ThreadsGetInput = {
993
1251
  readonly "threadId": string;
994
1252
  };
995
- export type ThreadsGetOutput = {
996
- readonly "id": string;
997
- readonly "projectId": string;
998
- readonly "title": string;
999
- readonly "modelSelection": Objects_1;
1000
- readonly "executionSelection"?: Objects_7 | undefined;
1001
- readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1002
- readonly "nativeModeId"?: string | null | undefined;
1003
- readonly "interactionMode": "default" | "plan";
1004
- readonly "branch": string | null;
1005
- readonly "worktreePath": string | null;
1006
- readonly "startFolderId"?: string | null | undefined;
1007
- readonly "folderIds"?: ReadonlyArray<string> | undefined;
1008
- readonly "linkedPullRequest"?: Objects_3 | null | undefined;
1009
- readonly "origin"?: Objects_4 | null | undefined;
1010
- readonly "forkedFrom"?: Objects_ | null | undefined;
1011
- readonly "presetId"?: string | null | undefined;
1012
- readonly "createdBy"?: Objects_5 | null | undefined;
1013
- readonly "latestTurn": Objects_6 | null;
1014
- readonly "stopRequestedAt"?: string | null;
1015
- readonly "createdAt": string;
1016
- readonly "updatedAt": string;
1017
- readonly "archivedAt": string | null;
1018
- readonly "settledOverride": "settled" | "active" | null;
1019
- readonly "settledAt": string | null;
1020
- readonly "unsettledAt"?: string | null | undefined;
1021
- readonly "snoozedUntil"?: string | null | undefined;
1022
- readonly "snoozedAt"?: string | null | undefined;
1023
- readonly "pinnedAt"?: string | null | undefined;
1024
- readonly "pinOrderKey"?: string | null | undefined;
1025
- readonly "sortOrderKey"?: string | null | undefined;
1026
- readonly "titleRegeneration"?: Objects_9 | null | undefined;
1027
- readonly "titleState"?: Objects_10 | null | undefined;
1028
- readonly "session": Objects_13 | null;
1029
- readonly "latestUserMessageAt": string | null;
1030
- readonly "userTurnCount"?: number | undefined;
1031
- readonly "queuedMessageCount"?: number | undefined;
1032
- readonly "awaitingPersonReplyCount"?: number | undefined;
1033
- readonly "pendingAsyncQuestionCount"?: number | undefined;
1034
- readonly "preview"?: string | null | undefined;
1035
- readonly "hasPendingApprovals": boolean;
1036
- readonly "hasPendingUserInput": boolean;
1037
- readonly "hasActionableProposedPlan": boolean;
1038
- readonly "status"?: "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle" | undefined;
1039
- readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined;
1040
- readonly "planProgress"?: {
1041
- readonly "step": string;
1042
- readonly "completedSteps": number;
1043
- readonly "totalSteps": number;
1044
- } | null | undefined;
1045
- };
1253
+ export type ThreadsGetOutput = Objects_4;
1046
1254
  export type ThreadsMessagesListInput = {
1047
1255
  readonly "threadId": string;
1048
1256
  readonly "messageId"?: string;
@@ -1080,7 +1288,7 @@ export type ThreadsMessagesListOutput = {
1080
1288
  readonly "createdAt": string;
1081
1289
  readonly "updatedAt": string;
1082
1290
  readonly "attachmentsTotal"?: number;
1083
- readonly "textWindow"?: Objects_14;
1291
+ readonly "textWindow"?: Objects_17;
1084
1292
  }>;
1085
1293
  readonly "nextCursor": string | null;
1086
1294
  readonly "snapshotSequence": number;
@@ -1128,11 +1336,11 @@ export type ProjectsListInput = {
1128
1336
  readonly "archived"?: "exclude" | "include" | "only";
1129
1337
  readonly "repositoryIdentity"?: "resolve" | "skip";
1130
1338
  };
1131
- export type ProjectsListOutput = ReadonlyArray<Objects_15>;
1339
+ export type ProjectsListOutput = ReadonlyArray<Objects_3>;
1132
1340
  export type ProjectsGetInput = {
1133
1341
  readonly "projectId": string;
1134
1342
  };
1135
- export type ProjectsGetOutput = Objects_15;
1343
+ export type ProjectsGetOutput = Objects_3;
1136
1344
  export type ProjectsToolkitsGetInput = {
1137
1345
  readonly "projectId": string;
1138
1346
  };
@@ -1156,7 +1364,7 @@ export type CommunicationRecordsGetOutput = ReadonlyArray<{
1156
1364
  readonly "text": string | null;
1157
1365
  readonly "delivery": "quiet" | "wake" | "steer";
1158
1366
  readonly "createdAt": string;
1159
- readonly "stages": Objects_16;
1367
+ readonly "stages": Objects_18;
1160
1368
  readonly "idempotencyKey"?: string | undefined;
1161
1369
  readonly "runId"?: string | undefined;
1162
1370
  readonly "toRole"?: string | undefined;
@@ -1165,7 +1373,7 @@ export type CommunicationRecordsGetOutput = ReadonlyArray<{
1165
1373
  readonly "projectId": string | null;
1166
1374
  readonly "sequence": number;
1167
1375
  readonly "claim": Union_9;
1168
- readonly "textWindow"?: Objects_14;
1376
+ readonly "textWindow"?: Objects_17;
1169
1377
  }>;
1170
1378
  export type CommunicationRecordsListInput = {
1171
1379
  readonly "projectId": string;
@@ -1188,14 +1396,14 @@ export type CommunicationRecordsListInput = {
1188
1396
  readonly "limit"?: number;
1189
1397
  readonly "person": Union_10;
1190
1398
  };
1191
- export type CommunicationRecordsListOutput = Objects_17;
1399
+ export type CommunicationRecordsListOutput = Objects_19;
1192
1400
  export type CommunicationInboxListInput = {
1193
1401
  readonly "projectId"?: string;
1194
1402
  readonly "pendingOnly"?: boolean;
1195
1403
  readonly "cursor"?: string | null;
1196
1404
  readonly "limit"?: number;
1197
1405
  };
1198
- export type CommunicationInboxListOutput = Objects_17;
1406
+ export type CommunicationInboxListOutput = Objects_19;
1199
1407
  export type CommunicationPeopleListInput = {
1200
1408
  readonly "projectId": string;
1201
1409
  readonly "cursor"?: string | null;
@@ -1236,14 +1444,14 @@ export type CommunicationRecordsSendOutput = {
1236
1444
  }>;
1237
1445
  };
1238
1446
  };
1239
- export type CommunicationRecordsWithdrawInput = Objects_18;
1447
+ export type CommunicationRecordsWithdrawInput = Objects_20;
1240
1448
  export type CommunicationRecordsWithdrawOutput = {
1241
1449
  readonly "sequence": number;
1242
1450
  readonly "result": {
1243
1451
  readonly "recordId": string;
1244
1452
  };
1245
1453
  };
1246
- export type CommunicationRecordsDeleteInput = Objects_18;
1454
+ export type CommunicationRecordsDeleteInput = Objects_20;
1247
1455
  export type CommunicationRecordsDeleteOutput = {
1248
1456
  readonly "sequence": number;
1249
1457
  readonly "result": {
@@ -1310,10 +1518,10 @@ export type ProvidersRoutingGetOutput = {
1310
1518
  readonly "allowlistOnly": boolean;
1311
1519
  };
1312
1520
  export type ProvidersSelectionResolveInput = {
1313
- readonly "base": Objects_19 | null;
1521
+ readonly "base": Objects_21 | null;
1314
1522
  readonly "instanceId"?: string;
1315
1523
  readonly "model"?: string;
1316
- readonly "options"?: Arrays_3 | Objects_20;
1524
+ readonly "options"?: Arrays_3 | Objects_22;
1317
1525
  readonly "routingKey"?: string;
1318
1526
  };
1319
1527
  export type ProvidersSelectionResolveOutput = {
@@ -1323,6 +1531,12 @@ export type ProvidersSelectionResolveOutput = {
1323
1531
  readonly "options"?: Union_;
1324
1532
  };
1325
1533
  };
1534
+ export type ProvidersSessionsSetResumeCursorInput = {
1535
+ readonly "instanceId": string;
1536
+ readonly "threadId": string;
1537
+ readonly "cursor": unknown;
1538
+ };
1539
+ export type ProvidersSessionsSetResumeCursorOutput = {};
1326
1540
  export type ProvidersExecutorsListInput = {};
1327
1541
  export type ProvidersExecutorsListOutput = {
1328
1542
  readonly "entries": ReadonlyArray<{
@@ -1517,34 +1731,12 @@ export type PluginsProjectConfigGetInput = {
1517
1731
  export type PluginsProjectConfigGetOutput = {
1518
1732
  readonly "config": {
1519
1733
  readonly "mcpServers"?: {
1520
- readonly [x: string]: {
1521
- readonly "name": string;
1522
- readonly "transport": {
1523
- readonly "type": "stdio";
1524
- readonly "command": string;
1525
- readonly "args"?: Arrays_4 | undefined;
1526
- readonly "envNames": ReadonlyArray<string>;
1527
- } | {
1528
- readonly "type": "http";
1529
- readonly "url": string;
1530
- readonly "headerNames": ReadonlyArray<string>;
1531
- } | {
1532
- readonly "type": "sse";
1533
- readonly "url": string;
1534
- readonly "headerNames": ReadonlyArray<string>;
1535
- };
1536
- readonly "enabled": boolean;
1537
- readonly "providers": {
1538
- readonly [x: string]: boolean;
1539
- };
1540
- readonly "catalogId"?: string | undefined;
1541
- readonly "oauth"?: Objects_21 | undefined;
1542
- };
1734
+ readonly [x: string]: Objects_23;
1543
1735
  };
1544
1736
  readonly "skills"?: {
1545
1737
  readonly [x: string]: {
1546
1738
  readonly "name": string;
1547
- readonly "source": Objects_22 | {
1739
+ readonly "source": Objects_25 | {
1548
1740
  readonly "kind": "builtin";
1549
1741
  readonly "id": string;
1550
1742
  } | {
@@ -1572,26 +1764,26 @@ export type PluginsProjectConfigUpdateInput = {
1572
1764
  readonly "type": "stdio";
1573
1765
  readonly "command": string;
1574
1766
  readonly "args"?: Arrays_4;
1575
- readonly "env"?: Objects_23;
1767
+ readonly "env"?: Objects_26;
1576
1768
  } | {
1577
1769
  readonly "type": "http";
1578
1770
  readonly "url": string;
1579
- readonly "headers"?: Objects_23;
1771
+ readonly "headers"?: Objects_26;
1580
1772
  } | {
1581
1773
  readonly "type": "sse";
1582
1774
  readonly "url": string;
1583
- readonly "headers"?: Objects_23;
1775
+ readonly "headers"?: Objects_26;
1584
1776
  };
1585
1777
  readonly "enabled"?: boolean;
1586
- readonly "providers"?: Objects_24;
1778
+ readonly "providers"?: Objects_27;
1587
1779
  readonly "catalogId"?: string;
1588
- readonly "oauth"?: Objects_21;
1780
+ readonly "oauth"?: Objects_24;
1589
1781
  };
1590
1782
  };
1591
1783
  readonly "skills"?: {
1592
1784
  readonly [x: string]: {
1593
1785
  readonly "name": string;
1594
- readonly "source": Objects_22 | {
1786
+ readonly "source": Objects_25 | {
1595
1787
  readonly "kind": "builtin";
1596
1788
  readonly "id": string;
1597
1789
  } | {
@@ -1601,7 +1793,7 @@ export type PluginsProjectConfigUpdateInput = {
1601
1793
  };
1602
1794
  readonly "modelInvocable"?: boolean;
1603
1795
  readonly "userInvocable"?: boolean;
1604
- readonly "providers"?: Objects_24;
1796
+ readonly "providers"?: Objects_27;
1605
1797
  };
1606
1798
  };
1607
1799
  };
@@ -1811,9 +2003,9 @@ export type PluginsNotificationsListOutput = {
1811
2003
  };
1812
2004
  }>;
1813
2005
  };
1814
- export type PluginsNotificationsMarkReadInput = Objects_25;
2006
+ export type PluginsNotificationsMarkReadInput = Objects_28;
1815
2007
  export type PluginsNotificationsMarkReadOutput = {};
1816
- export type PluginsNotificationsClearInput = Objects_25;
2008
+ export type PluginsNotificationsClearInput = Objects_28;
1817
2009
  export type PluginsNotificationsClearOutput = {};
1818
2010
  export type PluginsSettingsCardsListInput = {};
1819
2011
  export type PluginsSettingsCardsListOutput = {
@@ -1858,7 +2050,7 @@ export type PluginsSettingsCardsListOutput = {
1858
2050
  readonly "badgeKey"?: string | undefined;
1859
2051
  readonly "warningKey"?: string | undefined;
1860
2052
  readonly "command": string;
1861
- readonly "showWhen"?: Objects_26 | undefined;
2053
+ readonly "showWhen"?: Objects_29 | undefined;
1862
2054
  readonly "fills": ReadonlyArray<string>;
1863
2055
  }> | undefined;
1864
2056
  }>;
@@ -1870,7 +2062,7 @@ export type PluginsSettingsCardsListOutput = {
1870
2062
  readonly "warningKey"?: string | undefined;
1871
2063
  readonly "command": string;
1872
2064
  }> | undefined;
1873
- readonly "values": Objects_27;
2065
+ readonly "values": Objects_30;
1874
2066
  readonly "secretFields"?: ReadonlyArray<string> | undefined;
1875
2067
  readonly "secretCells"?: ReadonlyArray<{
1876
2068
  readonly "field": string;
@@ -1881,12 +2073,20 @@ export type PluginsSettingsCardsListOutput = {
1881
2073
  };
1882
2074
  export type PluginsSettingsCardsUpdateValuesInput = {
1883
2075
  readonly "entryId": string;
1884
- readonly "values": Objects_27;
2076
+ readonly "values": Objects_30;
1885
2077
  readonly "revision": string;
1886
2078
  };
1887
2079
  export type PluginsSettingsCardsUpdateValuesOutput = {
1888
2080
  readonly "revision": string;
1889
2081
  };
2082
+ export type PluginsConnectorsInstallInput = {
2083
+ readonly "catalogId": string;
2084
+ readonly "projectId"?: string;
2085
+ readonly "requestId"?: string;
2086
+ };
2087
+ export type PluginsConnectorsInstallOutput = {
2088
+ readonly "entry": Objects_23;
2089
+ };
1890
2090
  export type UsageQuotaGetInput = {
1891
2091
  readonly "instanceIds"?: ReadonlyArray<string>;
1892
2092
  readonly "refresh": boolean;
@@ -1894,51 +2094,7 @@ export type UsageQuotaGetInput = {
1894
2094
  export type UsageQuotaGetOutput = {
1895
2095
  readonly "contractVersion": number;
1896
2096
  readonly "hostId": string;
1897
- readonly "instances": ReadonlyArray<{
1898
- readonly "instanceId": string;
1899
- readonly "driver": string;
1900
- readonly "pluginId": string | null;
1901
- readonly "displayName": string | null;
1902
- readonly "support": "supported" | "notProvided" | "disabled" | "unavailable";
1903
- readonly "lastAttempt": {
1904
- readonly "at": string;
1905
- readonly "outcome": "available" | "missingCredentials" | "authRejected" | "customEndpoint" | "unreachable" | "unsupportedLogin" | "rateLimited";
1906
- readonly "retryAt": string | null;
1907
- } | null;
1908
- readonly "lastAvailable": {
1909
- readonly "readAt": string;
1910
- readonly "plan"?: string;
1911
- readonly "accountKey"?: string;
1912
- readonly "windows": ReadonlyArray<{
1913
- readonly "id": string;
1914
- readonly "label": Union_15;
1915
- readonly "usedPercent": number;
1916
- readonly "resetsAt": string | null;
1917
- readonly "windowMs"?: number;
1918
- readonly "group"?: string;
1919
- }>;
1920
- readonly "balances": ReadonlyArray<{
1921
- readonly "id": string;
1922
- readonly "label": Union_15;
1923
- readonly "remaining": number | null;
1924
- readonly "used": number | null;
1925
- readonly "limit": number | null;
1926
- readonly "unit": {
1927
- readonly "kind": "money";
1928
- readonly "currency": string;
1929
- } | {
1930
- readonly "kind": "credits";
1931
- };
1932
- readonly "resetsAt": string | null;
1933
- }>;
1934
- readonly "resetCredits"?: {
1935
- readonly "availableCount": number;
1936
- };
1937
- } | null;
1938
- readonly "inflight": boolean;
1939
- readonly "redeemable"?: true;
1940
- readonly "redeeming"?: true;
1941
- }>;
2097
+ readonly "instances": ReadonlyArray<Objects_31>;
1942
2098
  };
1943
2099
  export type UsageTokensGetInput = {
1944
2100
  readonly "sinceDay": string;
@@ -1997,19 +2153,27 @@ export type UsageTokensGetOutput = {
1997
2153
  };
1998
2154
  readonly "scanDurationMs": number;
1999
2155
  };
2156
+ export type UsageQuotaRedeemResetInput = {
2157
+ readonly "instanceId": string;
2158
+ readonly "requestId"?: string;
2159
+ };
2160
+ export type UsageQuotaRedeemResetOutput = {
2161
+ readonly "outcome": "reset" | "nothingToReset" | "noCredit" | "alreadyRedeemed";
2162
+ readonly "instance": Objects_31;
2163
+ };
2000
2164
  export type WakesCancelInput = {
2001
2165
  readonly "wakeId": string;
2002
2166
  readonly "requestId"?: string;
2003
2167
  };
2004
2168
  export type WakesCancelOutput = {
2005
- readonly "wake": Objects_28;
2169
+ readonly "wake": Objects_32;
2006
2170
  };
2007
2171
  export type WakesListInput = {
2008
2172
  readonly "threadId"?: string;
2009
2173
  readonly "state"?: "scheduled" | "fired" | "cancelled";
2010
2174
  };
2011
2175
  export type WakesListOutput = {
2012
- readonly "wakes": ReadonlyArray<Objects_28>;
2176
+ readonly "wakes": ReadonlyArray<Objects_32>;
2013
2177
  };
2014
2178
  export type SkillsListInput = {
2015
2179
  readonly "threadId"?: string;
@@ -2030,7 +2194,7 @@ export type SkillsReadOutput = {
2030
2194
  readonly "name": string;
2031
2195
  readonly "directory": string;
2032
2196
  readonly "content": string;
2033
- readonly "contentWindow"?: Objects_14;
2197
+ readonly "contentWindow"?: Objects_17;
2034
2198
  };
2035
2199
  export type MemoryExperiencesListInput = {
2036
2200
  readonly "projectId": string;
@@ -2072,7 +2236,7 @@ export type MemoryExperiencesGetOutput = {
2072
2236
  readonly "supersedes": Arrays_5;
2073
2237
  readonly "bodyState": "present" | "erased" | "unavailable";
2074
2238
  readonly "body": string | null;
2075
- readonly "bodyWindow"?: Objects_14;
2239
+ readonly "bodyWindow"?: Objects_17;
2076
2240
  readonly "forgottenAt": string | null;
2077
2241
  readonly "forgottenBy": Union_16 | null;
2078
2242
  readonly "erasedAt": string | null;
@@ -2087,7 +2251,7 @@ export type MemoryExperiencesHistoryInput = {
2087
2251
  readonly "textLimit"?: number;
2088
2252
  };
2089
2253
  export type MemoryExperiencesHistoryOutput = {
2090
- readonly "items": ReadonlyArray<Objects_32>;
2254
+ readonly "items": ReadonlyArray<Objects_36>;
2091
2255
  readonly "nextCursor": string | null;
2092
2256
  };
2093
2257
  export type MemoryRevisionsGetInput = {
@@ -2097,7 +2261,7 @@ export type MemoryRevisionsGetInput = {
2097
2261
  readonly "textOffset"?: number;
2098
2262
  readonly "textLimit"?: number;
2099
2263
  };
2100
- export type MemoryRevisionsGetOutput = Objects_32;
2264
+ export type MemoryRevisionsGetOutput = Objects_36;
2101
2265
  export type MemorySearchInput = {
2102
2266
  readonly "projectId": string;
2103
2267
  readonly "text": string;
@@ -2133,7 +2297,7 @@ export type MemoryExperiencesRecordInput = {
2133
2297
  };
2134
2298
  export type MemoryExperiencesRecordOutput = {
2135
2299
  readonly "sequence": number;
2136
- readonly "result": Objects_33;
2300
+ readonly "result": Objects_37;
2137
2301
  };
2138
2302
  export type MemoryExperiencesReviseInput = {
2139
2303
  readonly "projectId": string;
@@ -2144,13 +2308,13 @@ export type MemoryExperiencesReviseInput = {
2144
2308
  };
2145
2309
  export type MemoryExperiencesReviseOutput = {
2146
2310
  readonly "sequence": number;
2147
- readonly "result": Objects_33;
2311
+ readonly "result": Objects_37;
2148
2312
  };
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;
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;
2154
2318
  export type MemoryExperiencesEraseOutput = {
2155
2319
  readonly "sequence": number;
2156
2320
  readonly "result": {
@@ -2202,7 +2366,7 @@ export type MemoryPagesGetOutput = {
2202
2366
  readonly "bodyState": "present" | "erased" | "unavailable";
2203
2367
  readonly "createdBy": Union_16;
2204
2368
  readonly "body": string | null;
2205
- readonly "bodyWindow"?: Objects_14;
2369
+ readonly "bodyWindow"?: Objects_17;
2206
2370
  readonly "erasedBy": Union_16 | null;
2207
2371
  };
2208
2372
  export type MemoryPagesHistoryInput = {
@@ -2214,7 +2378,7 @@ export type MemoryPagesHistoryInput = {
2214
2378
  readonly "textLimit"?: number;
2215
2379
  };
2216
2380
  export type MemoryPagesHistoryOutput = {
2217
- readonly "items": ReadonlyArray<Objects_36>;
2381
+ readonly "items": ReadonlyArray<Objects_40>;
2218
2382
  readonly "nextCursor": string | null;
2219
2383
  };
2220
2384
  export type MemoryPageRevisionsGetInput = {
@@ -2224,7 +2388,7 @@ export type MemoryPageRevisionsGetInput = {
2224
2388
  readonly "textOffset"?: number;
2225
2389
  readonly "textLimit"?: number;
2226
2390
  };
2227
- export type MemoryPageRevisionsGetOutput = Objects_36;
2391
+ export type MemoryPageRevisionsGetOutput = Objects_40;
2228
2392
  export type MemoryPagesCreateInput = {
2229
2393
  readonly "projectId": string;
2230
2394
  readonly "requestId"?: string;
@@ -2237,7 +2401,7 @@ export type MemoryPagesCreateInput = {
2237
2401
  };
2238
2402
  export type MemoryPagesCreateOutput = {
2239
2403
  readonly "sequence": number;
2240
- readonly "result": Objects_37;
2404
+ readonly "result": Objects_41;
2241
2405
  };
2242
2406
  export type MemoryPagesEditInput = {
2243
2407
  readonly "projectId": string;
@@ -2250,7 +2414,7 @@ export type MemoryPagesEditInput = {
2250
2414
  };
2251
2415
  export type MemoryPagesEditOutput = {
2252
2416
  readonly "sequence": number;
2253
- readonly "result": Objects_37;
2417
+ readonly "result": Objects_41;
2254
2418
  };
2255
2419
  export type MemoryPagesRestoreInput = {
2256
2420
  readonly "projectId": string;
@@ -2261,7 +2425,7 @@ export type MemoryPagesRestoreInput = {
2261
2425
  };
2262
2426
  export type MemoryPagesRestoreOutput = {
2263
2427
  readonly "sequence": number;
2264
- readonly "result": Objects_37;
2428
+ readonly "result": Objects_41;
2265
2429
  };
2266
2430
  export type MemoryPagesEraseInput = {
2267
2431
  readonly "projectId": string;
@@ -2281,8 +2445,8 @@ export type MemoryHandbookGetInput = {
2281
2445
  };
2282
2446
  export type MemoryHandbookGetOutput = {
2283
2447
  readonly "head": {
2284
- readonly "current": Objects_38;
2285
- readonly "pages": ReadonlyArray<Objects_36>;
2448
+ readonly "current": Objects_42;
2449
+ readonly "pages": ReadonlyArray<Objects_40>;
2286
2450
  } | null;
2287
2451
  };
2288
2452
  export type MemoryHandbookReleasesListInput = {
@@ -2291,7 +2455,7 @@ export type MemoryHandbookReleasesListInput = {
2291
2455
  readonly "limit"?: number;
2292
2456
  };
2293
2457
  export type MemoryHandbookReleasesListOutput = {
2294
- readonly "items": ReadonlyArray<Objects_38>;
2458
+ readonly "items": ReadonlyArray<Objects_42>;
2295
2459
  readonly "nextCursor": string | null;
2296
2460
  };
2297
2461
  export type MemoryHandbookReleasesGetInput = {
@@ -2332,7 +2496,7 @@ export type MemoryHandbookPublishInput = {
2332
2496
  };
2333
2497
  export type MemoryHandbookPublishOutput = {
2334
2498
  readonly "sequence": number;
2335
- readonly "result": Objects_40;
2499
+ readonly "result": Objects_44;
2336
2500
  };
2337
2501
  export type MemoryHandbookRevertInput = {
2338
2502
  readonly "projectId": string;
@@ -2343,7 +2507,7 @@ export type MemoryHandbookRevertInput = {
2343
2507
  };
2344
2508
  export type MemoryHandbookRevertOutput = {
2345
2509
  readonly "sequence": number;
2346
- readonly "result": Objects_40;
2510
+ readonly "result": Objects_44;
2347
2511
  };
2348
2512
  export type WorkRemoteAgentPendingGetInput = {
2349
2513
  readonly "projectId": string;
@@ -2403,7 +2567,7 @@ export type WorkItemsListOutput = {
2403
2567
  readonly "sequenceId": number;
2404
2568
  readonly "title": string | null;
2405
2569
  readonly "bodyState": "present" | "erased" | "unavailable";
2406
- readonly "state": Objects_41;
2570
+ readonly "state": Objects_45;
2407
2571
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
2408
2572
  readonly "assignees": Arrays_7;
2409
2573
  readonly "labelIds": Arrays_8;
@@ -2417,7 +2581,7 @@ export type WorkItemsListOutput = {
2417
2581
  readonly "revision": number;
2418
2582
  readonly "blockedBy": Arrays_9;
2419
2583
  readonly "blockedByTotal": number;
2420
- readonly "childCounts": Objects_42;
2584
+ readonly "childCounts": Objects_46;
2421
2585
  readonly "createdBy": Union_16;
2422
2586
  readonly "createdAt": string;
2423
2587
  readonly "updatedAt": string;
@@ -2445,7 +2609,7 @@ export type WorkItemsGetOutput = {
2445
2609
  readonly "sequenceId": number;
2446
2610
  readonly "title": string | null;
2447
2611
  readonly "bodyState": "present" | "erased" | "unavailable";
2448
- readonly "state": Objects_41;
2612
+ readonly "state": Objects_45;
2449
2613
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
2450
2614
  readonly "assignees": Arrays_7;
2451
2615
  readonly "labelIds": Arrays_8;
@@ -2459,12 +2623,12 @@ export type WorkItemsGetOutput = {
2459
2623
  readonly "revision": number;
2460
2624
  readonly "blockedBy": Arrays_9;
2461
2625
  readonly "blockedByTotal": number;
2462
- readonly "childCounts": Objects_42;
2626
+ readonly "childCounts": Objects_46;
2463
2627
  readonly "createdBy": Union_16;
2464
2628
  readonly "createdAt": string;
2465
2629
  readonly "updatedAt": string;
2466
2630
  readonly "description": string | null;
2467
- readonly "descriptionWindow"?: Objects_14;
2631
+ readonly "descriptionWindow"?: Objects_17;
2468
2632
  }>;
2469
2633
  readonly "missingWorkItemIds": ReadonlyArray<string>;
2470
2634
  readonly "missingSequenceIds": ReadonlyArray<number>;
@@ -2503,7 +2667,7 @@ export type WorkCommentsListInput = {
2503
2667
  readonly "textLimit"?: number;
2504
2668
  };
2505
2669
  export type WorkCommentsListOutput = {
2506
- readonly "items": ReadonlyArray<Objects_43>;
2670
+ readonly "items": ReadonlyArray<Objects_47>;
2507
2671
  readonly "nextCursor": string | null;
2508
2672
  readonly "snapshotSequence": number;
2509
2673
  };
@@ -2514,7 +2678,7 @@ export type WorkCommentsGetInput = {
2514
2678
  readonly "textLimit"?: number;
2515
2679
  };
2516
2680
  export type WorkCommentsGetOutput = {
2517
- readonly "comment": Objects_43;
2681
+ readonly "comment": Objects_47;
2518
2682
  readonly "snapshotSequence": number;
2519
2683
  };
2520
2684
  export type WorkHistoryListInput = {
@@ -2542,8 +2706,8 @@ export type WorkHistoryListOutput = {
2542
2706
  readonly "newRevision": number | null;
2543
2707
  } | {
2544
2708
  readonly "field": "state";
2545
- readonly "old": Objects_44 | null;
2546
- readonly "new": Objects_44 | null;
2709
+ readonly "old": Objects_48 | null;
2710
+ readonly "new": Objects_48 | null;
2547
2711
  } | {
2548
2712
  readonly "field": "assignees" | "mentions";
2549
2713
  readonly "old": ReadonlyArray<Union_19>;
@@ -2607,15 +2771,15 @@ export type WorkItemsClaimOutput = {
2607
2771
  readonly "version": number;
2608
2772
  };
2609
2773
  };
2610
- export type WorkRelationsAddInput = Objects_45;
2774
+ export type WorkRelationsAddInput = Objects_49;
2611
2775
  export type WorkRelationsAddOutput = {
2612
2776
  readonly "sequence": number;
2613
- readonly "result": Objects_46;
2777
+ readonly "result": Objects_50;
2614
2778
  };
2615
- export type WorkRelationsRemoveInput = Objects_45;
2779
+ export type WorkRelationsRemoveInput = Objects_49;
2616
2780
  export type WorkRelationsRemoveOutput = {
2617
2781
  readonly "sequence": number;
2618
- readonly "result": Objects_46;
2782
+ readonly "result": Objects_50;
2619
2783
  };
2620
2784
  export type WorkCommentsPostInput = {
2621
2785
  readonly "projectId": string;
@@ -2638,7 +2802,7 @@ export type ThreadsCreateInput = {
2638
2802
  readonly "threadId": string;
2639
2803
  readonly "projectId": string;
2640
2804
  readonly "title": string;
2641
- readonly "modelSelection": Objects_19;
2805
+ readonly "modelSelection": Objects_21;
2642
2806
  readonly "executionSelection"?: {
2643
2807
  readonly "environmentId": string;
2644
2808
  readonly "runtimeId": string;
@@ -2646,7 +2810,7 @@ export type ThreadsCreateInput = {
2646
2810
  readonly "profileId": string;
2647
2811
  readonly "endpointId"?: string;
2648
2812
  readonly "optionOverrides": Arrays_2;
2649
- readonly "expectedRevisions": Objects_8;
2813
+ readonly "expectedRevisions": Objects_6;
2650
2814
  };
2651
2815
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
2652
2816
  readonly "interactionMode": "default" | "plan";
@@ -2662,7 +2826,7 @@ export type ThreadsCreateInput = {
2662
2826
  };
2663
2827
  readonly "presetId"?: string;
2664
2828
  };
2665
- export type ThreadsCreateOutput = Objects_47;
2829
+ export type ThreadsCreateOutput = Objects_51;
2666
2830
  export type ThreadsForkInput = {
2667
2831
  readonly "requestId"?: string;
2668
2832
  readonly "threadId": string;
@@ -2671,13 +2835,13 @@ export type ThreadsForkInput = {
2671
2835
  readonly "startFolderId"?: string;
2672
2836
  readonly "folderIds"?: ReadonlyArray<string>;
2673
2837
  };
2674
- export type ThreadsForkOutput = Objects_47;
2838
+ export type ThreadsForkOutput = Objects_51;
2675
2839
  export type ThreadsImportInput = {
2676
2840
  readonly "requestId"?: string;
2677
2841
  readonly "threadId": string;
2678
2842
  readonly "projectId": string;
2679
2843
  readonly "title": string;
2680
- readonly "modelSelection": Objects_19;
2844
+ readonly "modelSelection": Objects_21;
2681
2845
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
2682
2846
  readonly "branch": string | null;
2683
2847
  readonly "worktreePath": string | null;
@@ -2715,7 +2879,7 @@ export type ThreadsImportInput = {
2715
2879
  readonly "createdAt": string;
2716
2880
  }>;
2717
2881
  };
2718
- export type ThreadsImportOutput = Objects_47;
2882
+ export type ThreadsImportOutput = Objects_51;
2719
2883
  export type ThreadsExternalMessagesAppendInput = {
2720
2884
  readonly "requestId"?: string;
2721
2885
  readonly "threadId": string;
@@ -2751,7 +2915,7 @@ export type ThreadsExternalMessagesAppendInput = {
2751
2915
  readonly "createdAt": string;
2752
2916
  }>;
2753
2917
  };
2754
- export type ThreadsExternalMessagesAppendOutput = Objects_47;
2918
+ export type ThreadsExternalMessagesAppendOutput = Objects_51;
2755
2919
  export type ThreadsUpdateInput = {
2756
2920
  readonly "threadId": string;
2757
2921
  readonly "requestId"?: string;
@@ -2769,7 +2933,7 @@ export type ThreadsUpdateInput = {
2769
2933
  readonly "profileId": string;
2770
2934
  readonly "endpointId"?: string;
2771
2935
  readonly "optionOverrides": Arrays_2;
2772
- readonly "expectedRevisions": Objects_8;
2936
+ readonly "expectedRevisions": Objects_6;
2773
2937
  } | null;
2774
2938
  readonly "branch"?: string | null;
2775
2939
  readonly "expectedBranch"?: string | null;
@@ -2782,7 +2946,7 @@ export type ThreadsUpdateInput = {
2782
2946
  } | null;
2783
2947
  readonly "presetId"?: string | null;
2784
2948
  };
2785
- export type ThreadsUpdateOutput = Objects_47;
2949
+ export type ThreadsUpdateOutput = Objects_51;
2786
2950
  export type ThreadsTurnsStartInput = {
2787
2951
  readonly "requestId"?: string;
2788
2952
  readonly "threadId": string;
@@ -2796,7 +2960,7 @@ export type ThreadsTurnsStartInput = {
2796
2960
  readonly "mimeType": string;
2797
2961
  readonly "sizeBytes": number;
2798
2962
  readonly "dataUrl": string;
2799
- readonly "source"?: Objects_48;
2963
+ readonly "source"?: Objects_52;
2800
2964
  } | {
2801
2965
  readonly "type": "file";
2802
2966
  readonly "name": string;
@@ -2809,7 +2973,7 @@ export type ThreadsTurnsStartInput = {
2809
2973
  readonly "name": string;
2810
2974
  readonly "mimeType": string;
2811
2975
  readonly "sizeBytes": number;
2812
- readonly "source"?: Objects_48 | Objects_50;
2976
+ readonly "source"?: Objects_52 | Objects_54;
2813
2977
  } | {
2814
2978
  readonly "type": "file";
2815
2979
  readonly "id": string;
@@ -2818,7 +2982,7 @@ export type ThreadsTurnsStartInput = {
2818
2982
  readonly "sizeBytes": number;
2819
2983
  readonly "source"?: {
2820
2984
  readonly "_tag": "pasted-text";
2821
- } | Objects_50 | {
2985
+ } | Objects_54 | {
2822
2986
  readonly "_tag": "thread-reference";
2823
2987
  readonly "environmentId": string;
2824
2988
  readonly "threadId": string;
@@ -2936,11 +3100,11 @@ export type ThreadsUserInputRespondInput = {
2936
3100
  readonly "height": number;
2937
3101
  };
2938
3102
  readonly "truncated": boolean;
2939
- readonly "root": Objects_51;
3103
+ readonly "root": Objects_55;
2940
3104
  };
2941
3105
  readonly "appIdentifier"?: string;
2942
3106
  readonly "appIconDataUrl"?: string;
2943
- } | Objects_52;
3107
+ } | Objects_56;
2944
3108
  } | {
2945
3109
  readonly "type": "file";
2946
3110
  readonly "id": string;
@@ -2949,7 +3113,7 @@ export type ThreadsUserInputRespondInput = {
2949
3113
  readonly "sizeBytes": number;
2950
3114
  readonly "source"?: {
2951
3115
  readonly "_tag": "pasted-text";
2952
- } | Objects_52 | {
3116
+ } | Objects_56 | {
2953
3117
  readonly "_tag": "thread-reference";
2954
3118
  readonly "environmentId": string;
2955
3119
  readonly "threadId": string;
@@ -2957,20 +3121,20 @@ export type ThreadsUserInputRespondInput = {
2957
3121
  }>;
2958
3122
  };
2959
3123
  };
2960
- export type ThreadsUserInputRespondOutput = Objects_47;
3124
+ export type ThreadsUserInputRespondOutput = Objects_51;
2961
3125
  export type ThreadsTurnsInterruptInput = {
2962
3126
  readonly "requestId"?: string;
2963
3127
  readonly "threadId": string;
2964
3128
  readonly "turnId"?: string;
2965
3129
  };
2966
- export type ThreadsTurnsInterruptOutput = Objects_47;
3130
+ export type ThreadsTurnsInterruptOutput = Objects_51;
2967
3131
  export type ThreadsSessionStopInput = {
2968
3132
  readonly "requestId"?: string;
2969
3133
  readonly "threadId": string;
2970
3134
  readonly "onlyIfSettled"?: boolean;
2971
3135
  readonly "onlyIfNoTurnInFlight"?: boolean;
2972
3136
  };
2973
- export type ThreadsSessionStopOutput = Objects_47;
3137
+ export type ThreadsSessionStopOutput = Objects_51;
2974
3138
  export type ApprovalsRespondInput = {
2975
3139
  readonly "requestId"?: string;
2976
3140
  readonly "threadId": string;
@@ -2978,7 +3142,7 @@ export type ApprovalsRespondInput = {
2978
3142
  readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
2979
3143
  readonly "reason"?: string;
2980
3144
  };
2981
- export type ApprovalsRespondOutput = Objects_47;
3145
+ export type ApprovalsRespondOutput = Objects_51;
2982
3146
  export type ThreadsTurnIntentsRunInput = {
2983
3147
  readonly "requestId"?: string;
2984
3148
  readonly "threadId": string;
@@ -2986,7 +3150,7 @@ export type ThreadsTurnIntentsRunInput = {
2986
3150
  readonly "mode": "steer" | "interrupt";
2987
3151
  readonly "expectedTurnId"?: string | null;
2988
3152
  };
2989
- export type ThreadsTurnIntentsRunOutput = Objects_47;
3153
+ export type ThreadsTurnIntentsRunOutput = Objects_51;
2990
3154
  export type ThreadsTurnIntentsCancelInput = {
2991
3155
  readonly "requestId"?: string;
2992
3156
  readonly "threadId": string;
@@ -2994,12 +3158,50 @@ export type ThreadsTurnIntentsCancelInput = {
2994
3158
  readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
2995
3159
  readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
2996
3160
  };
2997
- export type ThreadsTurnIntentsCancelOutput = Objects_47;
3161
+ export type ThreadsTurnIntentsCancelOutput = Objects_51;
2998
3162
  export type ThreadsTurnQueueResumeInput = {
2999
3163
  readonly "requestId"?: string;
3000
3164
  readonly "threadId": string;
3001
3165
  };
3002
- export type ThreadsTurnQueueResumeOutput = Objects_47;
3166
+ export type ThreadsTurnQueueResumeOutput = Objects_51;
3167
+ export type ProjectsCloneStartInput = {
3168
+ readonly "destinationPath": string;
3169
+ readonly "remoteUrl": string;
3170
+ readonly "target": {
3171
+ readonly "kind": "create-project";
3172
+ readonly "projectId": string;
3173
+ readonly "title": string;
3174
+ readonly "defaultModelSelection"?: Objects_21 | null;
3175
+ readonly "homeEnvironmentId"?: string;
3176
+ } | {
3177
+ readonly "kind": "attach-folder";
3178
+ readonly "projectId": string;
3179
+ };
3180
+ };
3181
+ export type ProjectsCloneStartOutput = {
3182
+ readonly "projectId": string;
3183
+ readonly "folderId": string;
3184
+ };
3185
+ export type ProjectsCloneRetryInput = Objects_57;
3186
+ export type ProjectsCloneRetryOutput = Objects_58;
3187
+ export type ProjectsCloneCancelInput = Objects_57;
3188
+ export type ProjectsCloneCancelOutput = Objects_58;
3189
+ export type ProjectsCreateInput = {
3190
+ readonly "requestId"?: string;
3191
+ readonly "projectId": string;
3192
+ readonly "title": string;
3193
+ readonly "workspaceRoot": string;
3194
+ readonly "createWorkspaceRootIfMissing"?: boolean;
3195
+ readonly "defaultModelSelection"?: Objects_21 | null;
3196
+ readonly "homeEnvironmentId"?: string;
3197
+ };
3198
+ export type ProjectsCreateOutput = Objects_51;
3199
+ export type ProjectsFoldersAttachInput = {
3200
+ readonly "requestId"?: string;
3201
+ readonly "projectId": string;
3202
+ readonly "path": string;
3203
+ };
3204
+ export type ProjectsFoldersAttachOutput = Objects_51;
3003
3205
  export type CommunicationPeopleCurrentInput = {};
3004
3206
  export type CommunicationPeopleCurrentOutput = {
3005
3207
  readonly "person": Union_11 | null;
@@ -3008,7 +3210,7 @@ export declare const COMMUNICATION_RECORDS_READ_LIMIT = 100;
3008
3210
  export declare const THREAD_ACTIVITIES_LIST_LIMIT = 200;
3009
3211
  export declare const THREAD_MESSAGES_LIST_LIMIT = 100;
3010
3212
  /**
3011
- * 由登记表组装的数据端口:成员路径就是能力号(`ctx.threads.list` = 能力 `threads.list`)。输入按公共契约
3213
+ * 由登记表组装的数据端口:路径缺省为能力号,已有端口按登记的 pluginPort 保留路径和单参数。输入按公共契约
3012
3214
  * 校验,不合契约即拒;返回值是契约输出。准入照能力登记:要声明的没声明即拒 `undeclared`。
3013
3215
  */
3014
3216
  export interface PluginDataPorts {
@@ -3019,7 +3221,26 @@ export interface PluginDataPorts {
3019
3221
  };
3020
3222
  readonly threads: {
3021
3223
  readonly list: (input: ThreadsListInput) => Promise<ThreadsListOutput>;
3224
+ readonly archived: {
3225
+ readonly list: (input: ThreadsArchivedListInput) => Promise<ThreadsArchivedListOutput>;
3226
+ };
3022
3227
  readonly history: (input: ThreadsHistoryInput) => Promise<ThreadsHistoryOutput>;
3228
+ readonly search: (input: ThreadsSearchInput) => Promise<ThreadsSearchOutput>;
3229
+ readonly resumeCommand: {
3230
+ readonly get: (input: ThreadsResumeCommandGetInput) => Promise<ThreadsResumeCommandGetOutput>;
3231
+ };
3232
+ readonly agents: {
3233
+ readonly count: (input: ThreadsAgentsCountInput) => Promise<ThreadsAgentsCountOutput>;
3234
+ };
3235
+ readonly toolCall: {
3236
+ readonly get: (input: ThreadsToolCallGetInput) => Promise<ThreadsToolCallGetOutput>;
3237
+ };
3238
+ readonly pluginToolPresentation: {
3239
+ readonly get: (input: ThreadsPluginToolPresentationGetInput) => Promise<ThreadsPluginToolPresentationGetOutput>;
3240
+ };
3241
+ readonly transcript: {
3242
+ readonly get: (input: ThreadsTranscriptGetInput) => Promise<ThreadsTranscriptGetOutput>;
3243
+ };
3023
3244
  readonly execution: {
3024
3245
  readonly summary: (input: ThreadsExecutionSummaryInput) => Promise<ThreadsExecutionSummaryOutput>;
3025
3246
  };
@@ -3059,12 +3280,29 @@ export interface PluginDataPorts {
3059
3280
  readonly resume: (input: ThreadsTurnQueueResumeInput) => Promise<ThreadsTurnQueueResumeOutput>;
3060
3281
  };
3061
3282
  };
3283
+ readonly projections: {
3284
+ readonly countThreadTurnStarts: (input: ThreadsTurnStartsCountInput["threadIds"]) => Promise<ThreadsTurnStartsCountOutput>;
3285
+ readonly getThreadMessage: (input: ThreadsMessagesGetInput["messageId"]) => Promise<ThreadsMessagesGetOutput>;
3286
+ readonly listPendingUserInputs?: (input: ThreadsUserInputPendingListInput["threadId"]) => Promise<ThreadsUserInputPendingListOutput>;
3287
+ };
3288
+ readonly commands: {
3289
+ readonly getReceipt: (input: ThreadsCommandReceiptsGetInput) => Promise<ThreadsCommandReceiptsGetOutput>;
3290
+ };
3062
3291
  readonly projects: {
3063
3292
  readonly list: (input: ProjectsListInput) => Promise<ProjectsListOutput>;
3064
3293
  readonly get: (input: ProjectsGetInput) => Promise<ProjectsGetOutput>;
3065
3294
  readonly toolkits: {
3066
3295
  readonly get: (input: ProjectsToolkitsGetInput) => Promise<ProjectsToolkitsGetOutput>;
3067
3296
  };
3297
+ readonly clone: {
3298
+ readonly start: (input: ProjectsCloneStartInput) => Promise<ProjectsCloneStartOutput>;
3299
+ readonly retry: (input: ProjectsCloneRetryInput) => Promise<ProjectsCloneRetryOutput>;
3300
+ readonly cancel: (input: ProjectsCloneCancelInput) => Promise<ProjectsCloneCancelOutput>;
3301
+ };
3302
+ readonly create: (input: ProjectsCreateInput) => Promise<ProjectsCreateOutput>;
3303
+ readonly folders: {
3304
+ readonly attach: (input: ProjectsFoldersAttachInput) => Promise<ProjectsFoldersAttachOutput>;
3305
+ };
3068
3306
  };
3069
3307
  readonly communication: {
3070
3308
  readonly records: {
@@ -3099,6 +3337,9 @@ export interface PluginDataPorts {
3099
3337
  readonly selection: {
3100
3338
  readonly resolve: (input: ProvidersSelectionResolveInput) => Promise<ProvidersSelectionResolveOutput>;
3101
3339
  };
3340
+ readonly sessions: {
3341
+ readonly setResumeCursor: (input: ProvidersSessionsSetResumeCursorInput) => Promise<ProvidersSessionsSetResumeCursorOutput>;
3342
+ };
3102
3343
  readonly executors: {
3103
3344
  readonly list: (input: ProvidersExecutorsListInput) => Promise<ProvidersExecutorsListOutput>;
3104
3345
  };
@@ -3131,10 +3372,14 @@ export interface PluginDataPorts {
3131
3372
  readonly list: (input: PluginsSettingsCardsListInput) => Promise<PluginsSettingsCardsListOutput>;
3132
3373
  readonly updateValues: (input: PluginsSettingsCardsUpdateValuesInput) => Promise<PluginsSettingsCardsUpdateValuesOutput>;
3133
3374
  };
3375
+ readonly connectors: {
3376
+ readonly install: (input: PluginsConnectorsInstallInput) => Promise<PluginsConnectorsInstallOutput>;
3377
+ };
3134
3378
  };
3135
3379
  readonly usage: {
3136
3380
  readonly quota: {
3137
3381
  readonly get: (input: UsageQuotaGetInput) => Promise<UsageQuotaGetOutput>;
3382
+ readonly redeemReset: (input: UsageQuotaRedeemResetInput) => Promise<UsageQuotaRedeemResetOutput>;
3138
3383
  };
3139
3384
  readonly tokens: {
3140
3385
  readonly get: (input: UsageTokensGetInput) => Promise<UsageTokensGetOutput>;