@ycodium-ai/plugin-api 0.2.3168 → 0.2.3192

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.
@@ -101,13 +101,22 @@ type Objects_17 = {
101
101
  readonly "turnId"?: string | undefined;
102
102
  readonly "order": number;
103
103
  };
104
+ type Union_8 = {
105
+ readonly "totalTokens": number;
106
+ readonly "inputTokens"?: number | undefined;
107
+ readonly "cachedInputTokens"?: number | undefined;
108
+ readonly "outputTokens"?: number | undefined;
109
+ readonly "reasoningOutputTokens"?: number | undefined;
110
+ readonly "toolUses"?: number | undefined;
111
+ readonly "durationMs"?: number | undefined;
112
+ } | undefined;
104
113
  type Objects_18 = {
105
114
  readonly "offset": number;
106
115
  readonly "returned": number;
107
116
  readonly "total": number;
108
117
  readonly "nextOffset": number | null;
109
118
  };
110
- type Union_8 = {
119
+ type Union_9 = {
111
120
  readonly "kind": "thread";
112
121
  readonly "environmentId"?: string | undefined;
113
122
  readonly "threadId": string;
@@ -143,14 +152,14 @@ type Objects_19 = {
143
152
  readonly "at": string;
144
153
  } | null;
145
154
  };
146
- type Union_12 = {
155
+ type Union_13 = {
147
156
  readonly "kind": "account";
148
157
  readonly "userId": string;
149
158
  } | {
150
159
  readonly "kind": "local-owner";
151
160
  readonly "environmentId": string;
152
161
  };
153
- type Union_13 = {
162
+ type Union_14 = {
154
163
  readonly "kind": "account";
155
164
  readonly "userId": string;
156
165
  } | {
@@ -222,7 +231,7 @@ type Objects_33 = {
222
231
  readonly "altKey": boolean;
223
232
  readonly "modKey": boolean;
224
233
  };
225
- readonly "whenAst"?: Union_15 | undefined;
234
+ readonly "whenAst"?: Union_16 | undefined;
226
235
  }>;
227
236
  readonly "issues": ReadonlyArray<{
228
237
  readonly "kind": "keybindings.malformed-config";
@@ -254,7 +263,7 @@ type Objects_39 = {
254
263
  type Objects_40 = {
255
264
  readonly "ids": readonly [string, ...Array<string>];
256
265
  };
257
- type Union_17 = ReadonlyArray<{
266
+ type Union_18 = ReadonlyArray<{
258
267
  readonly "value": string;
259
268
  readonly "label"?: string | undefined;
260
269
  readonly "labelKey"?: string | undefined;
@@ -267,7 +276,7 @@ type Objects_41 = {
267
276
  type Objects_42 = {
268
277
  readonly [x: string]: unknown;
269
278
  };
270
- type Union_19 = {
279
+ type Union_20 = {
271
280
  readonly "key": string;
272
281
  readonly "values"?: {
273
282
  readonly [x: string]: string | number;
@@ -299,6 +308,7 @@ type Objects_51 = {
299
308
  readonly "experienceId": string;
300
309
  readonly "status": "active" | "forgotten";
301
310
  };
311
+ readonly "replayed"?: boolean;
302
312
  };
303
313
  type Objects_53 = {
304
314
  readonly "pageId": string;
@@ -309,7 +319,7 @@ type Objects_55 = {
309
319
  readonly "pageId": string;
310
320
  readonly "revision": number;
311
321
  };
312
- type Union_21 = {
322
+ type Union_22 = {
313
323
  readonly "experienceId": string;
314
324
  readonly "revision": number;
315
325
  } | null;
@@ -343,6 +353,7 @@ type Objects_62 = {
343
353
  };
344
354
  type Objects_63 = {
345
355
  readonly "sequence": number;
356
+ readonly "replayed"?: boolean;
346
357
  readonly "status": "accepted" | "noop";
347
358
  };
348
359
  type Objects_64 = {
@@ -374,17 +385,46 @@ type Objects_66 = {
374
385
  readonly "linkBase"?: string;
375
386
  readonly "toolCallId"?: string;
376
387
  };
377
- type Objects_68 = {
388
+ type Objects_67 = {
389
+ readonly "_tag": "snap-shot";
390
+ readonly "capturedAt": string;
391
+ readonly "appName": string;
392
+ readonly "windowTitle": string;
393
+ readonly "accessibleText"?: string;
394
+ readonly "accessibility"?: {
395
+ readonly "format": "flat-text";
396
+ readonly "text": string;
397
+ readonly "truncated": boolean;
398
+ } | {
399
+ readonly "format": "element-tree";
400
+ readonly "coordinateSpace": "captured-image";
401
+ readonly "imageSize": {
402
+ readonly "width": number;
403
+ readonly "height": number;
404
+ };
405
+ readonly "truncated": boolean;
406
+ readonly "root": Objects_68;
407
+ };
408
+ readonly "appIdentifier"?: string;
409
+ readonly "appIconDataUrl"?: string;
410
+ };
411
+ type Objects_69 = {
378
412
  readonly "_tag": "agent-artifact";
379
413
  readonly "sourcePath": string;
380
414
  readonly "linkBase"?: string;
381
415
  readonly "toolCallId"?: string;
382
416
  };
383
- type Objects_69 = {
417
+ type Objects_71 = {
418
+ readonly "_tag": "agent-artifact";
419
+ readonly "sourcePath": string;
420
+ readonly "linkBase"?: string;
421
+ readonly "toolCallId"?: string;
422
+ };
423
+ type Objects_72 = {
384
424
  readonly "projectId": string;
385
425
  readonly "folderId": string;
386
426
  };
387
- type Objects_70 = {
427
+ type Objects_73 = {
388
428
  readonly "applied": boolean;
389
429
  };
390
430
  type Arrays_ = ReadonlyArray<Objects_2>;
@@ -460,16 +500,16 @@ type Union_4 = {
460
500
  } | undefined;
461
501
  };
462
502
  type Union_7 = Objects_17 | undefined;
463
- type Union_9 = Union_8 | null;
464
- type Union_11 = {
503
+ type Union_10 = Union_9 | null;
504
+ type Union_12 = {
465
505
  readonly "claimId": string;
466
- readonly "claimedBy": Union_8;
506
+ readonly "claimedBy": Union_9;
467
507
  readonly "turnId"?: string | undefined;
468
508
  readonly "at": string;
469
509
  } | null;
470
- type Union_22 = {
510
+ type Union_23 = {
471
511
  readonly "kind": "human";
472
- readonly "principal": Union_12;
512
+ readonly "principal": Union_13;
473
513
  } | {
474
514
  readonly "kind": "agent";
475
515
  readonly "threadId": string;
@@ -479,11 +519,11 @@ type Union_22 = {
479
519
  };
480
520
  type Objects_45 = {
481
521
  readonly "kind": "human";
482
- readonly "principal": Union_13;
522
+ readonly "principal": Union_14;
483
523
  };
484
- type Union_14 = Objects_29 | undefined;
485
- type Union_16 = Arrays_3 | Objects_35;
486
- type Union_18 = Objects_41 | undefined;
524
+ type Union_15 = Objects_29 | undefined;
525
+ type Union_17 = Arrays_3 | Objects_35;
526
+ type Union_19 = Objects_41 | undefined;
487
527
  type Objects_43 = {
488
528
  readonly "instanceId": string;
489
529
  readonly "driver": string;
@@ -501,7 +541,7 @@ type Objects_43 = {
501
541
  readonly "accountKey"?: string;
502
542
  readonly "windows": ReadonlyArray<{
503
543
  readonly "id": string;
504
- readonly "label": Union_19;
544
+ readonly "label": Union_20;
505
545
  readonly "usedPercent": number;
506
546
  readonly "resetsAt": string | null;
507
547
  readonly "windowMs"?: number;
@@ -509,7 +549,7 @@ type Objects_43 = {
509
549
  }>;
510
550
  readonly "balances": ReadonlyArray<{
511
551
  readonly "id": string;
512
- readonly "label": Union_19;
552
+ readonly "label": Union_20;
513
553
  readonly "remaining": number | null;
514
554
  readonly "used": number | null;
515
555
  readonly "limit": number | null;
@@ -536,8 +576,8 @@ type Objects_56 = {
536
576
  readonly "pages": ReadonlyArray<Objects_55>;
537
577
  };
538
578
  type Union_ = Arrays_ | Arrays_1;
539
- type Union_10 = ReadonlyArray<Union_4> | undefined;
540
- type Union_20 = Objects_45 | {
579
+ type Union_11 = ReadonlyArray<Union_4> | undefined;
580
+ type Union_21 = Objects_45 | {
541
581
  readonly "kind": "local-cli";
542
582
  readonly "environmentId": string;
543
583
  } | {
@@ -549,7 +589,7 @@ type Union_20 = Objects_45 | {
549
589
  } | {
550
590
  readonly "kind": "system";
551
591
  };
552
- type Union_23 = Objects_45 | Objects_46 | Objects_47;
592
+ type Union_24 = Objects_45 | Objects_46 | Objects_47;
553
593
  type Objects_36 = {
554
594
  readonly "name": string;
555
595
  readonly "transport": {
@@ -569,12 +609,12 @@ type Objects_36 = {
569
609
  readonly "enabled": boolean;
570
610
  readonly "providers": Objects_28;
571
611
  readonly "catalogId"?: string | undefined;
572
- readonly "oauth"?: Union_14;
612
+ readonly "oauth"?: Union_15;
573
613
  };
574
614
  type Objects_34 = {
575
615
  readonly "instanceId": string;
576
616
  readonly "model": string;
577
- readonly "options"?: Union_16;
617
+ readonly "options"?: Union_17;
578
618
  };
579
619
  type Objects_1 = {
580
620
  readonly "instanceId": string;
@@ -584,8 +624,8 @@ type Objects_1 = {
584
624
  type Objects_20 = {
585
625
  readonly "items": ReadonlyArray<{
586
626
  readonly "recordId": string;
587
- readonly "from": Union_8;
588
- readonly "to": Union_9;
627
+ readonly "from": Union_9;
628
+ readonly "to": Union_10;
589
629
  readonly "replyTo": string | null;
590
630
  readonly "delivery": "quiet" | "wake" | "steer";
591
631
  readonly "createdAt": string;
@@ -593,11 +633,11 @@ type Objects_20 = {
593
633
  readonly "idempotencyKey"?: string | undefined;
594
634
  readonly "runId"?: string | undefined;
595
635
  readonly "toRole"?: string | undefined;
596
- readonly "attachments"?: Union_10;
636
+ readonly "attachments"?: Union_11;
597
637
  readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
598
638
  readonly "projectId": string | null;
599
639
  readonly "sequence": number;
600
- readonly "claim": Union_11;
640
+ readonly "claim": Union_12;
601
641
  readonly "textPreview": string | null;
602
642
  readonly "textTruncated": boolean;
603
643
  }>;
@@ -608,7 +648,7 @@ type Objects_48 = {
608
648
  readonly "experienceId": string;
609
649
  readonly "revision": number;
610
650
  readonly "baseRevision": number | null;
611
- readonly "author": Union_20;
651
+ readonly "author": Union_21;
612
652
  readonly "createdAt": string;
613
653
  readonly "body": string | null;
614
654
  readonly "bodyState": "present" | "erased" | "unavailable";
@@ -619,7 +659,7 @@ type Objects_52 = {
619
659
  readonly "revision": number;
620
660
  readonly "baseRevision": number | null;
621
661
  readonly "restoredFromRevision": number | null;
622
- readonly "author": Union_20;
662
+ readonly "author": Union_21;
623
663
  readonly "createdAt": string;
624
664
  readonly "title": string | null;
625
665
  readonly "changeSummary": string | null;
@@ -634,22 +674,22 @@ type Objects_54 = {
634
674
  readonly "itemHighWater": number;
635
675
  readonly "requiresAck": boolean;
636
676
  readonly "restoredFromRelease": number | null;
637
- readonly "sourceExperience": Union_21;
638
- readonly "publishedBy": Union_20;
677
+ readonly "sourceExperience": Union_22;
678
+ readonly "publishedBy": Union_21;
639
679
  readonly "publishedAt": string;
640
680
  };
641
- type Arrays_7 = ReadonlyArray<Union_23>;
681
+ type Arrays_7 = ReadonlyArray<Union_24>;
642
682
  type Objects_59 = {
643
683
  readonly "commentId": string;
644
684
  readonly "workItemId": string;
645
685
  readonly "projectId": string;
646
686
  readonly "sequence": number;
647
687
  readonly "revision": number;
648
- readonly "author": Union_20;
688
+ readonly "author": Union_21;
649
689
  readonly "body": string | null;
650
690
  readonly "bodyWindow"?: Objects_18;
651
691
  readonly "bodyState": "present" | "erased" | "unavailable";
652
- readonly "mentions": ReadonlyArray<Union_23>;
692
+ readonly "mentions": ReadonlyArray<Union_24>;
653
693
  readonly "parentId": string | null;
654
694
  readonly "createdAt": string;
655
695
  readonly "editedAt": string | null;
@@ -815,7 +855,7 @@ type Objects_25 = {
815
855
  readonly "enabled": boolean;
816
856
  readonly "providers": Objects_28;
817
857
  readonly "catalogId"?: string | undefined;
818
- readonly "oauth"?: Union_14;
858
+ readonly "oauth"?: Union_15;
819
859
  };
820
860
  };
821
861
  readonly "skills": {
@@ -935,20 +975,20 @@ type Objects_15 = {
935
975
  readonly "actions"?: ReadonlyArray<string>;
936
976
  readonly "children": ReadonlyArray<Objects_15>;
937
977
  };
938
- type Union_15 = {
978
+ type Union_16 = {
939
979
  readonly "type": "identifier";
940
980
  readonly "name": string;
941
981
  } | {
942
982
  readonly "type": "not";
943
- readonly "node": Union_15;
983
+ readonly "node": Union_16;
944
984
  } | {
945
985
  readonly "type": "and";
946
- readonly "left": Union_15;
947
- readonly "right": Union_15;
986
+ readonly "left": Union_16;
987
+ readonly "right": Union_16;
948
988
  } | {
949
989
  readonly "type": "or";
950
- readonly "left": Union_15;
951
- readonly "right": Union_15;
990
+ readonly "left": Union_16;
991
+ readonly "right": Union_16;
952
992
  };
953
993
  type Objects_65 = {
954
994
  readonly "role": string;
@@ -975,7 +1015,7 @@ type Objects_65 = {
975
1015
  readonly "actions"?: ReadonlyArray<string>;
976
1016
  readonly "children": ReadonlyArray<Objects_65>;
977
1017
  };
978
- type Objects_67 = {
1018
+ type Objects_68 = {
979
1019
  readonly "role": string;
980
1020
  readonly "name"?: string;
981
1021
  readonly "value"?: string;
@@ -998,7 +1038,32 @@ type Objects_67 = {
998
1038
  readonly "visible"?: boolean;
999
1039
  };
1000
1040
  readonly "actions"?: ReadonlyArray<string>;
1001
- readonly "children": ReadonlyArray<Objects_67>;
1041
+ readonly "children": ReadonlyArray<Objects_68>;
1042
+ };
1043
+ type Objects_70 = {
1044
+ readonly "role": string;
1045
+ readonly "name"?: string;
1046
+ readonly "value"?: string;
1047
+ readonly "description"?: string;
1048
+ readonly "bounds": {
1049
+ readonly "x": number;
1050
+ readonly "y": number;
1051
+ readonly "width": number;
1052
+ readonly "height": number;
1053
+ } | null;
1054
+ readonly "state"?: {
1055
+ readonly "active"?: boolean;
1056
+ readonly "busy"?: boolean;
1057
+ readonly "checked"?: "on" | "off" | "mixed";
1058
+ readonly "editable"?: boolean;
1059
+ readonly "enabled"?: boolean;
1060
+ readonly "expanded"?: boolean;
1061
+ readonly "focused"?: boolean;
1062
+ readonly "selected"?: boolean;
1063
+ readonly "visible"?: boolean;
1064
+ };
1065
+ readonly "actions"?: ReadonlyArray<string>;
1066
+ readonly "children": ReadonlyArray<Objects_70>;
1002
1067
  };
1003
1068
  export type AuthRemoteAgentsListInput = {
1004
1069
  readonly "projectId": string;
@@ -1322,6 +1387,100 @@ export type ThreadsAgentsCountInput = {
1322
1387
  export type ThreadsAgentsCountOutput = {
1323
1388
  readonly "count": number;
1324
1389
  };
1390
+ export type ThreadsAgentsListInput = {
1391
+ readonly "threadId": string;
1392
+ readonly "cursor"?: string | null;
1393
+ readonly "limit"?: number;
1394
+ };
1395
+ export type ThreadsAgentsListOutput = {
1396
+ readonly "agents": ReadonlyArray<{
1397
+ readonly "agentKey": string;
1398
+ readonly "source": "thread" | "task";
1399
+ readonly "provider": string;
1400
+ readonly "agentId": string;
1401
+ readonly "kind": "subagent" | "workflow" | "workflow_member" | "child_thread";
1402
+ readonly "status": "pending" | "running" | "waiting" | "idle" | "completed" | "failed" | "cancelled" | "interrupted" | "deleted";
1403
+ readonly "title": string;
1404
+ readonly "spawnedSequence": number;
1405
+ readonly "firstSeenAt": string;
1406
+ readonly "updatedAt": string;
1407
+ readonly "agentThreadId"?: string | undefined;
1408
+ readonly "parentAgentKey"?: string | undefined;
1409
+ readonly "role"?: string | undefined;
1410
+ readonly "model"?: string | undefined;
1411
+ readonly "effort"?: string | undefined;
1412
+ readonly "activationCount"?: number | undefined;
1413
+ readonly "lastToolName"?: string | undefined;
1414
+ readonly "usage"?: Union_8;
1415
+ readonly "startedAt"?: string | undefined;
1416
+ readonly "completedAt"?: string | undefined;
1417
+ readonly "statusInferred"?: boolean | undefined;
1418
+ readonly "agentThreadDeleted"?: boolean | undefined;
1419
+ readonly "workflow"?: {
1420
+ readonly "agentIndex"?: number | undefined;
1421
+ readonly "phaseIndex"?: number | undefined;
1422
+ readonly "attempt"?: number | undefined;
1423
+ } | undefined;
1424
+ }>;
1425
+ readonly "nextCursor": string | null;
1426
+ };
1427
+ export type ThreadsAgentsGetInput = {
1428
+ readonly "threadId": string;
1429
+ readonly "agentKey": string;
1430
+ readonly "part"?: "progress" | "result" | "error";
1431
+ readonly "textOffset"?: number;
1432
+ readonly "textLimit"?: number;
1433
+ };
1434
+ export type ThreadsAgentsGetOutput = {
1435
+ readonly "agent"?: {
1436
+ readonly "agentKey": string;
1437
+ readonly "source": "thread" | "task";
1438
+ readonly "provider": string;
1439
+ readonly "agentId": string;
1440
+ readonly "kind": "subagent" | "workflow" | "workflow_member" | "child_thread";
1441
+ readonly "status": "pending" | "running" | "waiting" | "idle" | "completed" | "failed" | "cancelled" | "interrupted" | "deleted";
1442
+ readonly "title": string;
1443
+ readonly "spawnedSequence": number;
1444
+ readonly "firstSeenAt": string;
1445
+ readonly "updatedAt": string;
1446
+ readonly "agentThreadId"?: string | undefined;
1447
+ readonly "parentAgentKey"?: string | undefined;
1448
+ readonly "role"?: string | undefined;
1449
+ readonly "model"?: string | undefined;
1450
+ readonly "effort"?: string | undefined;
1451
+ readonly "activationCount"?: number | undefined;
1452
+ readonly "progress"?: string | undefined;
1453
+ readonly "lastToolName"?: string | undefined;
1454
+ readonly "result"?: string | undefined;
1455
+ readonly "error"?: string | undefined;
1456
+ readonly "usage"?: Union_8;
1457
+ readonly "startedAt"?: string | undefined;
1458
+ readonly "completedAt"?: string | undefined;
1459
+ readonly "statusInferred"?: boolean | undefined;
1460
+ readonly "agentThreadDeleted"?: boolean | undefined;
1461
+ readonly "workflow"?: {
1462
+ readonly "name"?: string | undefined;
1463
+ readonly "agentIndex"?: number | undefined;
1464
+ readonly "phaseIndex"?: number | undefined;
1465
+ readonly "phaseTitle"?: string | undefined;
1466
+ readonly "phases"?: ReadonlyArray<{
1467
+ readonly "index": number;
1468
+ readonly "title": string;
1469
+ }> | undefined;
1470
+ readonly "attempt"?: number | undefined;
1471
+ readonly "runHandles"?: {
1472
+ readonly "runId"?: string | undefined;
1473
+ readonly "scriptPath"?: string | undefined;
1474
+ readonly "transcriptDir"?: string | undefined;
1475
+ readonly "sessionUrl"?: string | undefined;
1476
+ } | undefined;
1477
+ readonly "outputFile"?: string | undefined;
1478
+ } | undefined;
1479
+ readonly "progressWindow"?: Objects_18;
1480
+ readonly "resultWindow"?: Objects_18;
1481
+ readonly "errorWindow"?: Objects_18;
1482
+ };
1483
+ };
1325
1484
  export type ThreadsToolCallGetInput = {
1326
1485
  readonly "threadId": string;
1327
1486
  readonly "toolCallId": string;
@@ -1654,8 +1813,8 @@ export type CommunicationRecordsGetInput = {
1654
1813
  };
1655
1814
  export type CommunicationRecordsGetOutput = ReadonlyArray<{
1656
1815
  readonly "recordId": string;
1657
- readonly "from": Union_8;
1658
- readonly "to": Union_9;
1816
+ readonly "from": Union_9;
1817
+ readonly "to": Union_10;
1659
1818
  readonly "replyTo": string | null;
1660
1819
  readonly "text": string | null;
1661
1820
  readonly "delivery": "quiet" | "wake" | "steer";
@@ -1664,11 +1823,11 @@ export type CommunicationRecordsGetOutput = ReadonlyArray<{
1664
1823
  readonly "idempotencyKey"?: string | undefined;
1665
1824
  readonly "runId"?: string | undefined;
1666
1825
  readonly "toRole"?: string | undefined;
1667
- readonly "attachments"?: Union_10;
1826
+ readonly "attachments"?: Union_11;
1668
1827
  readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
1669
1828
  readonly "projectId": string | null;
1670
1829
  readonly "sequence": number;
1671
- readonly "claim": Union_11;
1830
+ readonly "claim": Union_12;
1672
1831
  readonly "textWindow"?: Objects_18;
1673
1832
  }>;
1674
1833
  export type CommunicationRecordsListInput = {
@@ -1690,7 +1849,7 @@ export type CommunicationRecordsListInput = {
1690
1849
  readonly "until"?: string | null;
1691
1850
  readonly "cursor"?: string | null;
1692
1851
  readonly "limit"?: number;
1693
- readonly "person": Union_12;
1852
+ readonly "person": Union_13;
1694
1853
  };
1695
1854
  export type CommunicationRecordsListOutput = Objects_20;
1696
1855
  export type CommunicationInboxListInput = {
@@ -1707,7 +1866,7 @@ export type CommunicationPeopleListInput = {
1707
1866
  };
1708
1867
  export type CommunicationPeopleListOutput = {
1709
1868
  readonly "items": ReadonlyArray<{
1710
- readonly "person": Union_13;
1869
+ readonly "person": Union_14;
1711
1870
  readonly "displayName": string;
1712
1871
  }>;
1713
1872
  readonly "nextCursor": string | null;
@@ -1719,7 +1878,7 @@ export type CommunicationRecordsSendInput = {
1719
1878
  readonly "to": {
1720
1879
  readonly "threadId": string;
1721
1880
  } | {
1722
- readonly "person": Union_12;
1881
+ readonly "person": Union_13;
1723
1882
  } | {
1724
1883
  readonly "principalId": string;
1725
1884
  };
@@ -1739,6 +1898,7 @@ export type CommunicationRecordsSendOutput = {
1739
1898
  readonly "threadId"?: string;
1740
1899
  }>;
1741
1900
  };
1901
+ readonly "replayed"?: boolean;
1742
1902
  };
1743
1903
  export type CommunicationRecordsWithdrawInput = Objects_21;
1744
1904
  export type CommunicationRecordsWithdrawOutput = {
@@ -1746,6 +1906,7 @@ export type CommunicationRecordsWithdrawOutput = {
1746
1906
  readonly "result": {
1747
1907
  readonly "recordId": string;
1748
1908
  };
1909
+ readonly "replayed"?: boolean;
1749
1910
  };
1750
1911
  export type CommunicationRecordsDeleteInput = Objects_21;
1751
1912
  export type CommunicationRecordsDeleteOutput = {
@@ -1753,6 +1914,7 @@ export type CommunicationRecordsDeleteOutput = {
1753
1914
  readonly "result": {
1754
1915
  readonly "recordId": string;
1755
1916
  };
1917
+ readonly "replayed"?: boolean;
1756
1918
  };
1757
1919
  export type CommunicationRecordsNotifyInput = {
1758
1920
  readonly "threadId": string;
@@ -1765,6 +1927,7 @@ export type CommunicationRecordsNotifyOutput = {
1765
1927
  readonly "result": {
1766
1928
  readonly "recordId": string;
1767
1929
  };
1930
+ readonly "replayed"?: boolean;
1768
1931
  };
1769
1932
  export type ApprovalsPendingListInput = {
1770
1933
  readonly "threadId": string;
@@ -2046,7 +2209,6 @@ export type MachineSettingsConfigGetOutput = {
2046
2209
  readonly "downloadBaseUrl"?: string;
2047
2210
  readonly "agentActivityPublishing"?: boolean;
2048
2211
  readonly "noiseIk"?: boolean;
2049
- readonly "threadAgentRecords"?: boolean;
2050
2212
  readonly "browserArtifactDelivery"?: boolean;
2051
2213
  readonly "pluginNotifications"?: boolean;
2052
2214
  readonly "pluginPurge"?: boolean;
@@ -2208,7 +2370,6 @@ export type ProvidersExecutorsListOutput = {
2208
2370
  readonly "capabilities": {
2209
2371
  readonly "sessionModelSwitch": "in-session" | "unsupported";
2210
2372
  readonly "sessionOptionSwitch"?: "in-session" | "unsupported" | undefined;
2211
- readonly "exclusiveSessionWriter"?: boolean | undefined;
2212
2373
  readonly "runtimeModeSwitch": "in-session" | "next-turn";
2213
2374
  readonly "contextCompaction"?: "native" | "unsupported" | undefined;
2214
2375
  readonly "nativeModeSwitch"?: boolean | undefined;
@@ -2396,7 +2557,9 @@ export type PluginsProjectConfigUpdateInput = {
2396
2557
  export type PluginsProjectConfigUpdateOutput = {
2397
2558
  readonly "revision": string;
2398
2559
  };
2399
- export type PluginsInstalledListInput = {};
2560
+ export type PluginsInstalledListInput = {
2561
+ readonly "includeRuntimeStats"?: boolean;
2562
+ };
2400
2563
  export type PluginsInstalledListOutput = {
2401
2564
  readonly "plugins": ReadonlyArray<{
2402
2565
  readonly "entryId": string;
@@ -2567,6 +2730,15 @@ export type PluginsInstalledSetEnabledInput = {
2567
2730
  export type PluginsInstalledSetEnabledOutput = {
2568
2731
  readonly "revision": string;
2569
2732
  };
2733
+ export type PluginsSessionProjectionsGetInput = {
2734
+ readonly "pluginId": string;
2735
+ readonly "name": string;
2736
+ readonly "threadId": string;
2737
+ };
2738
+ export type PluginsSessionProjectionsGetOutput = {
2739
+ readonly "present": boolean;
2740
+ readonly "value": unknown;
2741
+ };
2570
2742
  export type PluginsSessionProjectionsSetInput = {
2571
2743
  readonly "name": string;
2572
2744
  readonly "threadId": string;
@@ -2620,8 +2792,8 @@ export type PluginsSettingsCardsListOutput = {
2620
2792
  readonly "placeholder"?: string | undefined;
2621
2793
  readonly "placeholderKey"?: string | undefined;
2622
2794
  readonly "required"?: boolean | undefined;
2623
- readonly "options"?: Union_17;
2624
- readonly "showWhen"?: Union_18;
2795
+ readonly "options"?: Union_18;
2796
+ readonly "showWhen"?: Union_19;
2625
2797
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" | "table";
2626
2798
  readonly "columns"?: ReadonlyArray<{
2627
2799
  readonly "key": string;
@@ -2632,8 +2804,8 @@ export type PluginsSettingsCardsListOutput = {
2632
2804
  readonly "placeholder"?: string | undefined;
2633
2805
  readonly "placeholderKey"?: string | undefined;
2634
2806
  readonly "required"?: boolean | undefined;
2635
- readonly "options"?: Union_17;
2636
- readonly "showWhen"?: Union_18;
2807
+ readonly "options"?: Union_18;
2808
+ readonly "showWhen"?: Union_19;
2637
2809
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy";
2638
2810
  }> | undefined;
2639
2811
  readonly "rowIds"?: "client" | "plugin" | undefined;
@@ -2800,7 +2972,7 @@ export type MemoryExperiencesListOutput = {
2800
2972
  readonly "items": ReadonlyArray<{
2801
2973
  readonly "experienceId": string;
2802
2974
  readonly "status": "active" | "forgotten" | "erased";
2803
- readonly "author": Union_20;
2975
+ readonly "author": Union_21;
2804
2976
  readonly "sourceThreadId": string | null;
2805
2977
  readonly "sourceTurnId": string | null;
2806
2978
  readonly "currentRevision": number;
@@ -2821,7 +2993,7 @@ export type MemoryExperiencesGetInput = {
2821
2993
  export type MemoryExperiencesGetOutput = {
2822
2994
  readonly "experienceId": string;
2823
2995
  readonly "status": "active" | "forgotten" | "erased";
2824
- readonly "author": Union_20;
2996
+ readonly "author": Union_21;
2825
2997
  readonly "sourceThreadId": string | null;
2826
2998
  readonly "sourceTurnId": string | null;
2827
2999
  readonly "currentRevision": number;
@@ -2832,9 +3004,9 @@ export type MemoryExperiencesGetOutput = {
2832
3004
  readonly "body": string | null;
2833
3005
  readonly "bodyWindow"?: Objects_18;
2834
3006
  readonly "forgottenAt": string | null;
2835
- readonly "forgottenBy": Union_20 | null;
3007
+ readonly "forgottenBy": Union_21 | null;
2836
3008
  readonly "erasedAt": string | null;
2837
- readonly "erasedBy": Union_20 | null;
3009
+ readonly "erasedBy": Union_21 | null;
2838
3010
  };
2839
3011
  export type MemoryExperiencesHistoryInput = {
2840
3012
  readonly "projectId": string;
@@ -2892,6 +3064,7 @@ export type MemoryExperiencesRecordInput = {
2892
3064
  export type MemoryExperiencesRecordOutput = {
2893
3065
  readonly "sequence": number;
2894
3066
  readonly "result": Objects_49;
3067
+ readonly "replayed"?: boolean;
2895
3068
  };
2896
3069
  export type MemoryExperiencesReviseInput = {
2897
3070
  readonly "projectId": string;
@@ -2903,6 +3076,7 @@ export type MemoryExperiencesReviseInput = {
2903
3076
  export type MemoryExperiencesReviseOutput = {
2904
3077
  readonly "sequence": number;
2905
3078
  readonly "result": Objects_49;
3079
+ readonly "replayed"?: boolean;
2906
3080
  };
2907
3081
  export type MemoryExperiencesForgetInput = Objects_50;
2908
3082
  export type MemoryExperiencesForgetOutput = Objects_51;
@@ -2914,6 +3088,7 @@ export type MemoryExperiencesEraseOutput = {
2914
3088
  readonly "result": {
2915
3089
  readonly "experienceId": string;
2916
3090
  };
3091
+ readonly "replayed"?: boolean;
2917
3092
  };
2918
3093
  export type MemoryPagesListInput = {
2919
3094
  readonly "projectId": string;
@@ -2958,10 +3133,10 @@ export type MemoryPagesGetOutput = {
2958
3133
  readonly "updatedAt": string;
2959
3134
  readonly "title": string | null;
2960
3135
  readonly "bodyState": "present" | "erased" | "unavailable";
2961
- readonly "createdBy": Union_20;
3136
+ readonly "createdBy": Union_21;
2962
3137
  readonly "body": string | null;
2963
3138
  readonly "bodyWindow"?: Objects_18;
2964
- readonly "erasedBy": Union_20 | null;
3139
+ readonly "erasedBy": Union_21 | null;
2965
3140
  };
2966
3141
  export type MemoryPagesHistoryInput = {
2967
3142
  readonly "projectId": string;
@@ -2996,6 +3171,7 @@ export type MemoryPagesCreateInput = {
2996
3171
  export type MemoryPagesCreateOutput = {
2997
3172
  readonly "sequence": number;
2998
3173
  readonly "result": Objects_53;
3174
+ readonly "replayed"?: boolean;
2999
3175
  };
3000
3176
  export type MemoryPagesEditInput = {
3001
3177
  readonly "projectId": string;
@@ -3009,6 +3185,7 @@ export type MemoryPagesEditInput = {
3009
3185
  export type MemoryPagesEditOutput = {
3010
3186
  readonly "sequence": number;
3011
3187
  readonly "result": Objects_53;
3188
+ readonly "replayed"?: boolean;
3012
3189
  };
3013
3190
  export type MemoryPagesRestoreInput = {
3014
3191
  readonly "projectId": string;
@@ -3020,6 +3197,7 @@ export type MemoryPagesRestoreInput = {
3020
3197
  export type MemoryPagesRestoreOutput = {
3021
3198
  readonly "sequence": number;
3022
3199
  readonly "result": Objects_53;
3200
+ readonly "replayed"?: boolean;
3023
3201
  };
3024
3202
  export type MemoryPagesEraseInput = {
3025
3203
  readonly "projectId": string;
@@ -3031,6 +3209,7 @@ export type MemoryPagesEraseOutput = {
3031
3209
  readonly "result": {
3032
3210
  readonly "pageId": string;
3033
3211
  };
3212
+ readonly "replayed"?: boolean;
3034
3213
  };
3035
3214
  export type MemoryHandbookGetInput = {
3036
3215
  readonly "projectId": string;
@@ -3063,8 +3242,8 @@ export type MemoryHandbookReleasesGetOutput = {
3063
3242
  readonly "itemHighWater": number;
3064
3243
  readonly "requiresAck": boolean;
3065
3244
  readonly "restoredFromRelease": number | null;
3066
- readonly "sourceExperience": Union_21;
3067
- readonly "publishedBy": Union_20;
3245
+ readonly "sourceExperience": Union_22;
3246
+ readonly "publishedBy": Union_21;
3068
3247
  readonly "publishedAt": string;
3069
3248
  readonly "items": ReadonlyArray<{
3070
3249
  readonly "itemNumber": number;
@@ -3091,6 +3270,7 @@ export type MemoryHandbookPublishInput = {
3091
3270
  export type MemoryHandbookPublishOutput = {
3092
3271
  readonly "sequence": number;
3093
3272
  readonly "result": Objects_56;
3273
+ readonly "replayed"?: boolean;
3094
3274
  };
3095
3275
  export type MemoryHandbookRevertInput = {
3096
3276
  readonly "projectId": string;
@@ -3102,6 +3282,7 @@ export type MemoryHandbookRevertInput = {
3102
3282
  export type MemoryHandbookRevertOutput = {
3103
3283
  readonly "sequence": number;
3104
3284
  readonly "result": Objects_56;
3285
+ readonly "replayed"?: boolean;
3105
3286
  };
3106
3287
  export type WorkRemoteAgentPendingGetInput = {
3107
3288
  readonly "projectId": string;
@@ -3149,7 +3330,7 @@ export type WorkItemsListInput = {
3149
3330
  readonly "projectId": string;
3150
3331
  readonly "stateIds"?: ReadonlyArray<string>;
3151
3332
  readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">;
3152
- readonly "assignees"?: ReadonlyArray<Union_22 | "me" | "none">;
3333
+ readonly "assignees"?: ReadonlyArray<Union_23 | "me" | "none">;
3153
3334
  readonly "orderBy"?: "created" | "updated";
3154
3335
  readonly "cursor"?: string | null;
3155
3336
  readonly "limit"?: number;
@@ -3176,7 +3357,7 @@ export type WorkItemsListOutput = {
3176
3357
  readonly "blockedBy": Arrays_9;
3177
3358
  readonly "blockedByTotal": number;
3178
3359
  readonly "childCounts": Objects_58;
3179
- readonly "createdBy": Union_20;
3360
+ readonly "createdBy": Union_21;
3180
3361
  readonly "createdAt": string;
3181
3362
  readonly "updatedAt": string;
3182
3363
  }>;
@@ -3218,7 +3399,7 @@ export type WorkItemsGetOutput = {
3218
3399
  readonly "blockedBy": Arrays_9;
3219
3400
  readonly "blockedByTotal": number;
3220
3401
  readonly "childCounts": Objects_58;
3221
- readonly "createdBy": Union_20;
3402
+ readonly "createdBy": Union_21;
3222
3403
  readonly "createdAt": string;
3223
3404
  readonly "updatedAt": string;
3224
3405
  readonly "description": string | null;
@@ -3286,7 +3467,7 @@ export type WorkHistoryListOutput = {
3286
3467
  readonly "items": ReadonlyArray<{
3287
3468
  readonly "sequence": number;
3288
3469
  readonly "workItemId": string | null;
3289
- readonly "actor": Union_20;
3470
+ readonly "actor": Union_21;
3290
3471
  readonly "viaPlugin"?: string;
3291
3472
  readonly "at": string;
3292
3473
  readonly "target": {
@@ -3304,8 +3485,8 @@ export type WorkHistoryListOutput = {
3304
3485
  readonly "new": Objects_60 | null;
3305
3486
  } | {
3306
3487
  readonly "field": "assignees" | "mentions";
3307
- readonly "old": ReadonlyArray<Union_23>;
3308
- readonly "new": ReadonlyArray<Union_23>;
3488
+ readonly "old": ReadonlyArray<Union_24>;
3489
+ readonly "new": ReadonlyArray<Union_24>;
3309
3490
  } | {
3310
3491
  readonly "field": "completedAt";
3311
3492
  readonly "old": string | null;
@@ -3322,7 +3503,7 @@ export type WorkItemsCreateInput = {
3322
3503
  readonly "title": string;
3323
3504
  readonly "description"?: string;
3324
3505
  readonly "stateId"?: string;
3325
- readonly "assignees"?: ReadonlyArray<Union_22>;
3506
+ readonly "assignees"?: ReadonlyArray<Union_23>;
3326
3507
  };
3327
3508
  export type WorkItemsCreateOutput = {
3328
3509
  readonly "sequence": number;
@@ -3332,6 +3513,7 @@ export type WorkItemsCreateOutput = {
3332
3513
  readonly "version": number;
3333
3514
  readonly "revision": number;
3334
3515
  };
3516
+ readonly "replayed"?: boolean;
3335
3517
  };
3336
3518
  export type WorkItemsUpdateInput = {
3337
3519
  readonly "projectId": string;
@@ -3341,7 +3523,7 @@ export type WorkItemsUpdateInput = {
3341
3523
  readonly "title"?: string;
3342
3524
  readonly "description"?: string;
3343
3525
  readonly "stateId"?: string;
3344
- readonly "assignees"?: ReadonlyArray<Union_22>;
3526
+ readonly "assignees"?: ReadonlyArray<Union_23>;
3345
3527
  };
3346
3528
  export type WorkItemsUpdateOutput = {
3347
3529
  readonly "sequence": number;
@@ -3350,6 +3532,7 @@ export type WorkItemsUpdateOutput = {
3350
3532
  readonly "version": number;
3351
3533
  readonly "revision": number;
3352
3534
  };
3535
+ readonly "replayed"?: boolean;
3353
3536
  };
3354
3537
  export type WorkItemsClaimInput = {
3355
3538
  readonly "projectId": string;
@@ -3364,16 +3547,19 @@ export type WorkItemsClaimOutput = {
3364
3547
  readonly "workItemId": string;
3365
3548
  readonly "version": number;
3366
3549
  };
3550
+ readonly "replayed"?: boolean;
3367
3551
  };
3368
3552
  export type WorkRelationsAddInput = Objects_61;
3369
3553
  export type WorkRelationsAddOutput = {
3370
3554
  readonly "sequence": number;
3371
3555
  readonly "result": Objects_62;
3556
+ readonly "replayed"?: boolean;
3372
3557
  };
3373
3558
  export type WorkRelationsRemoveInput = Objects_61;
3374
3559
  export type WorkRelationsRemoveOutput = {
3375
3560
  readonly "sequence": number;
3376
3561
  readonly "result": Objects_62;
3562
+ readonly "replayed"?: boolean;
3377
3563
  };
3378
3564
  export type WorkCommentsPostInput = {
3379
3565
  readonly "projectId": string;
@@ -3381,7 +3567,7 @@ export type WorkCommentsPostInput = {
3381
3567
  readonly "commentId"?: string;
3382
3568
  readonly "workItemId": string;
3383
3569
  readonly "body": string;
3384
- readonly "mentions"?: ReadonlyArray<Union_22>;
3570
+ readonly "mentions"?: ReadonlyArray<Union_23>;
3385
3571
  readonly "parentId"?: string;
3386
3572
  };
3387
3573
  export type WorkCommentsPostOutput = {
@@ -3390,7 +3576,125 @@ export type WorkCommentsPostOutput = {
3390
3576
  readonly "commentId": string;
3391
3577
  readonly "revision": number;
3392
3578
  };
3579
+ readonly "replayed"?: boolean;
3580
+ };
3581
+ export type ThreadsInteractionModeSetInput = {
3582
+ readonly "requestId"?: string;
3583
+ readonly "threadId": string;
3584
+ readonly "interactionMode": "default" | "plan";
3585
+ };
3586
+ export type ThreadsInteractionModeSetOutput = Objects_63;
3587
+ export type ThreadsNativeModeSetInput = {
3588
+ readonly "requestId"?: string;
3589
+ readonly "threadId": string;
3590
+ readonly "nativeModeId": string;
3393
3591
  };
3592
+ export type ThreadsNativeModeSetOutput = Objects_63;
3593
+ export type ThreadsRuntimeModeSetInput = {
3594
+ readonly "requestId"?: string;
3595
+ readonly "threadId": string;
3596
+ readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
3597
+ };
3598
+ export type ThreadsRuntimeModeSetOutput = Objects_63;
3599
+ export type ThreadsContextCompactInput = {
3600
+ readonly "requestId"?: string;
3601
+ readonly "threadId": string;
3602
+ };
3603
+ export type ThreadsContextCompactOutput = Objects_63;
3604
+ export type PluginsSelfdevPromoteInput = {
3605
+ readonly "requestId"?: string;
3606
+ readonly "threadId": string;
3607
+ readonly "pluginId": string;
3608
+ };
3609
+ export type PluginsSelfdevPromoteOutput = Objects_63;
3610
+ export type PluginsSelfdevStopInput = {
3611
+ readonly "requestId"?: string;
3612
+ readonly "threadId": string;
3613
+ readonly "pluginId": string;
3614
+ };
3615
+ export type PluginsSelfdevStopOutput = Objects_63;
3616
+ export type ThreadsShellCommandRecordInput = {
3617
+ readonly "requestId"?: string;
3618
+ readonly "threadId": string;
3619
+ readonly "command": string;
3620
+ readonly "terminalId": string;
3621
+ readonly "cwd": string;
3622
+ };
3623
+ export type ThreadsShellCommandRecordOutput = Objects_63;
3624
+ export type ThreadsTurnIntentsEditInput = {
3625
+ readonly "requestId"?: string;
3626
+ readonly "threadId": string;
3627
+ readonly "intentId": string;
3628
+ readonly "expectedRevision": number;
3629
+ readonly "message": {
3630
+ readonly "text": string;
3631
+ readonly "attachments": ReadonlyArray<{
3632
+ readonly "type": "image";
3633
+ readonly "name": string;
3634
+ readonly "mimeType": string;
3635
+ readonly "sizeBytes": number;
3636
+ readonly "dataUrl": string;
3637
+ readonly "source"?: Objects_64;
3638
+ } | {
3639
+ readonly "type": "file";
3640
+ readonly "name": string;
3641
+ readonly "mimeType": string;
3642
+ readonly "sizeBytes": number;
3643
+ readonly "dataUrl": string;
3644
+ } | {
3645
+ readonly "type": "image";
3646
+ readonly "id": string;
3647
+ readonly "name": string;
3648
+ readonly "mimeType": string;
3649
+ readonly "sizeBytes": number;
3650
+ readonly "source"?: Objects_64 | Objects_66;
3651
+ } | {
3652
+ readonly "type": "file";
3653
+ readonly "id": string;
3654
+ readonly "name": string;
3655
+ readonly "mimeType": string;
3656
+ readonly "sizeBytes": number;
3657
+ readonly "source"?: {
3658
+ readonly "_tag": "pasted-text";
3659
+ } | Objects_66 | {
3660
+ readonly "_tag": "thread-reference";
3661
+ readonly "environmentId": string;
3662
+ readonly "threadId": string;
3663
+ };
3664
+ }>;
3665
+ };
3666
+ };
3667
+ export type ThreadsTurnIntentsEditOutput = {
3668
+ readonly "sequence": number;
3669
+ readonly "replayed"?: boolean;
3670
+ readonly "status": "accepted" | "noop";
3671
+ };
3672
+ export type ThreadsTurnIntentsReorderInput = {
3673
+ readonly "requestId"?: string;
3674
+ readonly "threadId": string;
3675
+ readonly "intentId": string;
3676
+ readonly "beforeIntentId": string | null;
3677
+ };
3678
+ export type ThreadsTurnIntentsReorderOutput = Objects_63;
3679
+ export type ThreadsTurnQueuePauseInput = {
3680
+ readonly "requestId"?: string;
3681
+ readonly "threadId": string;
3682
+ };
3683
+ export type ThreadsTurnQueuePauseOutput = Objects_63;
3684
+ export type ThreadsUserInputDismissInput = {
3685
+ readonly "requestId"?: string;
3686
+ readonly "threadId": string;
3687
+ readonly "userInputRequestId": string;
3688
+ };
3689
+ export type ThreadsUserInputDismissOutput = Objects_63;
3690
+ export type ThreadsDecisionsRespondInput = {
3691
+ readonly "requestId"?: string;
3692
+ readonly "threadId": string;
3693
+ readonly "decisionRequestId": string;
3694
+ readonly "optionId": string;
3695
+ readonly "reason"?: string;
3696
+ };
3697
+ export type ThreadsDecisionsRespondOutput = Objects_63;
3394
3698
  export type ThreadsSnoozeInput = {
3395
3699
  readonly "requestId"?: string;
3396
3700
  readonly "threadId": string;
@@ -3563,7 +3867,7 @@ export type ThreadsUpdateInput = {
3563
3867
  readonly "modelSelection"?: {
3564
3868
  readonly "instanceId": string;
3565
3869
  readonly "model": string;
3566
- readonly "options"?: Union_16;
3870
+ readonly "options"?: Union_17;
3567
3871
  };
3568
3872
  readonly "executionSelection"?: {
3569
3873
  readonly "environmentId": string;
@@ -3599,7 +3903,7 @@ export type ThreadsTurnsStartInput = {
3599
3903
  readonly "mimeType": string;
3600
3904
  readonly "sizeBytes": number;
3601
3905
  readonly "dataUrl": string;
3602
- readonly "source"?: Objects_64;
3906
+ readonly "source"?: Objects_67;
3603
3907
  } | {
3604
3908
  readonly "type": "file";
3605
3909
  readonly "name": string;
@@ -3612,7 +3916,7 @@ export type ThreadsTurnsStartInput = {
3612
3916
  readonly "name": string;
3613
3917
  readonly "mimeType": string;
3614
3918
  readonly "sizeBytes": number;
3615
- readonly "source"?: Objects_64 | Objects_66;
3919
+ readonly "source"?: Objects_67 | Objects_69;
3616
3920
  } | {
3617
3921
  readonly "type": "file";
3618
3922
  readonly "id": string;
@@ -3621,7 +3925,7 @@ export type ThreadsTurnsStartInput = {
3621
3925
  readonly "sizeBytes": number;
3622
3926
  readonly "source"?: {
3623
3927
  readonly "_tag": "pasted-text";
3624
- } | Objects_66 | {
3928
+ } | Objects_69 | {
3625
3929
  readonly "_tag": "thread-reference";
3626
3930
  readonly "environmentId": string;
3627
3931
  readonly "threadId": string;
@@ -3631,7 +3935,7 @@ export type ThreadsTurnsStartInput = {
3631
3935
  readonly "modelSelection"?: {
3632
3936
  readonly "instanceId": string;
3633
3937
  readonly "model": string;
3634
- readonly "options"?: Union_16;
3938
+ readonly "options"?: Union_17;
3635
3939
  };
3636
3940
  readonly "titleSeed"?: string;
3637
3941
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
@@ -3704,6 +4008,7 @@ export type ThreadsTurnsStartInput = {
3704
4008
  };
3705
4009
  export type ThreadsTurnsStartOutput = {
3706
4010
  readonly "sequence": number;
4011
+ readonly "replayed"?: boolean;
3707
4012
  readonly "status": "accepted";
3708
4013
  readonly "result"?: unknown;
3709
4014
  };
@@ -3739,11 +4044,11 @@ export type ThreadsUserInputRespondInput = {
3739
4044
  readonly "height": number;
3740
4045
  };
3741
4046
  readonly "truncated": boolean;
3742
- readonly "root": Objects_67;
4047
+ readonly "root": Objects_70;
3743
4048
  };
3744
4049
  readonly "appIdentifier"?: string;
3745
4050
  readonly "appIconDataUrl"?: string;
3746
- } | Objects_68;
4051
+ } | Objects_71;
3747
4052
  } | {
3748
4053
  readonly "type": "file";
3749
4054
  readonly "id": string;
@@ -3752,7 +4057,7 @@ export type ThreadsUserInputRespondInput = {
3752
4057
  readonly "sizeBytes": number;
3753
4058
  readonly "source"?: {
3754
4059
  readonly "_tag": "pasted-text";
3755
- } | Objects_68 | {
4060
+ } | Objects_71 | {
3756
4061
  readonly "_tag": "thread-reference";
3757
4062
  readonly "environmentId": string;
3758
4063
  readonly "threadId": string;
@@ -3803,6 +4108,61 @@ export type ThreadsTurnQueueResumeInput = {
3803
4108
  readonly "threadId": string;
3804
4109
  };
3805
4110
  export type ThreadsTurnQueueResumeOutput = Objects_63;
4111
+ export type ProjectsUpdateInput = {
4112
+ readonly "requestId"?: string;
4113
+ readonly "projectId": string;
4114
+ readonly "title"?: string;
4115
+ readonly "workspaceRoot"?: string;
4116
+ readonly "defaultModelSelection"?: Objects_34 | null;
4117
+ readonly "defaultThreadEnvMode"?: "local" | "worktree" | null;
4118
+ readonly "projectIcon"?: {
4119
+ readonly "kind": "lucide";
4120
+ readonly "name": string;
4121
+ readonly "color": "gray" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
4122
+ } | {
4123
+ readonly "kind": "emoji";
4124
+ readonly "emoji": string;
4125
+ } | null;
4126
+ readonly "faviconPath"?: string | null;
4127
+ readonly "scripts"?: ReadonlyArray<{
4128
+ readonly "id": string;
4129
+ readonly "name": string;
4130
+ readonly "command": string;
4131
+ readonly "icon": "play" | "test" | "lint" | "configure" | "build" | "debug";
4132
+ readonly "runOnWorktreeCreate": boolean;
4133
+ readonly "previewUrl"?: string;
4134
+ readonly "autoOpenPreview"?: boolean;
4135
+ }>;
4136
+ };
4137
+ export type ProjectsUpdateOutput = Objects_63;
4138
+ export type ProjectsArchiveInput = {
4139
+ readonly "requestId"?: string;
4140
+ readonly "projectId": string;
4141
+ };
4142
+ export type ProjectsArchiveOutput = Objects_63;
4143
+ export type ProjectsUnarchiveInput = {
4144
+ readonly "requestId"?: string;
4145
+ readonly "projectId": string;
4146
+ };
4147
+ export type ProjectsUnarchiveOutput = Objects_63;
4148
+ export type ProjectsDeleteInput = {
4149
+ readonly "requestId"?: string;
4150
+ readonly "projectId": string;
4151
+ readonly "force"?: boolean;
4152
+ };
4153
+ export type ProjectsDeleteOutput = Objects_63;
4154
+ export type ProjectsReorderInput = {
4155
+ readonly "requestId"?: string;
4156
+ readonly "projectId": string;
4157
+ readonly "orderKey": string;
4158
+ };
4159
+ export type ProjectsReorderOutput = Objects_63;
4160
+ export type ProjectsFoldersDetachInput = {
4161
+ readonly "requestId"?: string;
4162
+ readonly "projectId": string;
4163
+ readonly "folderId": string;
4164
+ };
4165
+ export type ProjectsFoldersDetachOutput = Objects_63;
3806
4166
  export type ProjectsToolkitsSetInput = {
3807
4167
  readonly "projectId": string;
3808
4168
  readonly "toolkit": "board" | "memory" | "messages";
@@ -3815,6 +4175,7 @@ export type ProjectsToolkitsSetOutput = {
3815
4175
  readonly "enabled": boolean;
3816
4176
  readonly "changed": boolean;
3817
4177
  };
4178
+ readonly "replayed"?: boolean;
3818
4179
  };
3819
4180
  export type ProjectsCloneStartInput = {
3820
4181
  readonly "destinationPath": string;
@@ -3834,10 +4195,10 @@ export type ProjectsCloneStartOutput = {
3834
4195
  readonly "projectId": string;
3835
4196
  readonly "folderId": string;
3836
4197
  };
3837
- export type ProjectsCloneRetryInput = Objects_69;
3838
- export type ProjectsCloneRetryOutput = Objects_70;
3839
- export type ProjectsCloneCancelInput = Objects_69;
3840
- export type ProjectsCloneCancelOutput = Objects_70;
4198
+ export type ProjectsCloneRetryInput = Objects_72;
4199
+ export type ProjectsCloneRetryOutput = Objects_73;
4200
+ export type ProjectsCloneCancelInput = Objects_72;
4201
+ export type ProjectsCloneCancelOutput = Objects_73;
3841
4202
  export type ProjectsCreateInput = {
3842
4203
  readonly "requestId"?: string;
3843
4204
  readonly "projectId": string;
@@ -3856,7 +4217,7 @@ export type ProjectsFoldersAttachInput = {
3856
4217
  export type ProjectsFoldersAttachOutput = Objects_63;
3857
4218
  export type CommunicationPeopleCurrentInput = {};
3858
4219
  export type CommunicationPeopleCurrentOutput = {
3859
- readonly "person": Union_13 | null;
4220
+ readonly "person": Union_14 | null;
3860
4221
  };
3861
4222
  export declare const COMMUNICATION_RECORDS_READ_LIMIT = 100;
3862
4223
  export declare const THREAD_ACTIVITIES_LIST_LIMIT = 200;
@@ -3883,6 +4244,8 @@ export interface PluginDataPorts {
3883
4244
  };
3884
4245
  readonly agents: {
3885
4246
  readonly count: (input: ThreadsAgentsCountInput) => Promise<ThreadsAgentsCountOutput>;
4247
+ readonly list: (input: ThreadsAgentsListInput) => Promise<ThreadsAgentsListOutput>;
4248
+ readonly get: (input: ThreadsAgentsGetInput) => Promise<ThreadsAgentsGetOutput>;
3886
4249
  };
3887
4250
  readonly toolCall: {
3888
4251
  readonly get: (input: ThreadsToolCallGetInput) => Promise<ThreadsToolCallGetOutput>;
@@ -3899,6 +4262,7 @@ export interface PluginDataPorts {
3899
4262
  readonly decisions: {
3900
4263
  readonly request: (input: ThreadsDecisionsRequestInput) => Promise<ThreadsDecisionsRequestOutput>;
3901
4264
  readonly cancel: (input: ThreadsDecisionsCancelInput) => Promise<ThreadsDecisionsCancelOutput>;
4265
+ readonly respond: (input: ThreadsDecisionsRespondInput) => Promise<ThreadsDecisionsRespondOutput>;
3902
4266
  };
3903
4267
  readonly get: (input: ThreadsGetInput) => Promise<ThreadsGetOutput>;
3904
4268
  readonly messages: {
@@ -3907,6 +4271,35 @@ export interface PluginDataPorts {
3907
4271
  readonly activities: {
3908
4272
  readonly list: (input: ThreadsActivitiesListInput) => Promise<ThreadsActivitiesListOutput>;
3909
4273
  };
4274
+ readonly interactionMode: {
4275
+ readonly set: (input: ThreadsInteractionModeSetInput) => Promise<ThreadsInteractionModeSetOutput>;
4276
+ };
4277
+ readonly nativeMode: {
4278
+ readonly set: (input: ThreadsNativeModeSetInput) => Promise<ThreadsNativeModeSetOutput>;
4279
+ };
4280
+ readonly runtimeMode: {
4281
+ readonly set: (input: ThreadsRuntimeModeSetInput) => Promise<ThreadsRuntimeModeSetOutput>;
4282
+ };
4283
+ readonly context: {
4284
+ readonly compact: (input: ThreadsContextCompactInput) => Promise<ThreadsContextCompactOutput>;
4285
+ };
4286
+ readonly shellCommand: {
4287
+ readonly record: (input: ThreadsShellCommandRecordInput) => Promise<ThreadsShellCommandRecordOutput>;
4288
+ };
4289
+ readonly turnIntents: {
4290
+ readonly edit: (input: ThreadsTurnIntentsEditInput) => Promise<ThreadsTurnIntentsEditOutput>;
4291
+ readonly reorder: (input: ThreadsTurnIntentsReorderInput) => Promise<ThreadsTurnIntentsReorderOutput>;
4292
+ readonly run: (input: ThreadsTurnIntentsRunInput) => Promise<ThreadsTurnIntentsRunOutput>;
4293
+ readonly cancel: (input: ThreadsTurnIntentsCancelInput) => Promise<ThreadsTurnIntentsCancelOutput>;
4294
+ };
4295
+ readonly turnQueue: {
4296
+ readonly pause: (input: ThreadsTurnQueuePauseInput) => Promise<ThreadsTurnQueuePauseOutput>;
4297
+ readonly resume: (input: ThreadsTurnQueueResumeInput) => Promise<ThreadsTurnQueueResumeOutput>;
4298
+ };
4299
+ readonly userInput: {
4300
+ readonly dismiss: (input: ThreadsUserInputDismissInput) => Promise<ThreadsUserInputDismissOutput>;
4301
+ readonly respond: (input: ThreadsUserInputRespondInput) => Promise<ThreadsUserInputRespondOutput>;
4302
+ };
3910
4303
  readonly snooze: (input: ThreadsSnoozeInput) => Promise<ThreadsSnoozeOutput>;
3911
4304
  readonly unsnooze: (input: ThreadsUnsnoozeInput) => Promise<ThreadsUnsnoozeOutput>;
3912
4305
  readonly reorder: (input: ThreadsReorderInput) => Promise<ThreadsReorderOutput>;
@@ -3926,19 +4319,9 @@ export interface PluginDataPorts {
3926
4319
  readonly start: (input: ThreadsTurnsStartInput) => Promise<ThreadsTurnsStartOutput>;
3927
4320
  readonly interrupt: (input: ThreadsTurnsInterruptInput) => Promise<ThreadsTurnsInterruptOutput>;
3928
4321
  };
3929
- readonly userInput: {
3930
- readonly respond: (input: ThreadsUserInputRespondInput) => Promise<ThreadsUserInputRespondOutput>;
3931
- };
3932
4322
  readonly session: {
3933
4323
  readonly stop: (input: ThreadsSessionStopInput) => Promise<ThreadsSessionStopOutput>;
3934
4324
  };
3935
- readonly turnIntents: {
3936
- readonly run: (input: ThreadsTurnIntentsRunInput) => Promise<ThreadsTurnIntentsRunOutput>;
3937
- readonly cancel: (input: ThreadsTurnIntentsCancelInput) => Promise<ThreadsTurnIntentsCancelOutput>;
3938
- };
3939
- readonly turnQueue: {
3940
- readonly resume: (input: ThreadsTurnQueueResumeInput) => Promise<ThreadsTurnQueueResumeOutput>;
3941
- };
3942
4325
  };
3943
4326
  readonly projections: {
3944
4327
  readonly getThreadExecution: (input: ThreadsExecutionGetInput["threadId"]) => Promise<ThreadsExecutionGetOutput>;
@@ -3956,15 +4339,21 @@ export interface PluginDataPorts {
3956
4339
  readonly get: (input: ProjectsToolkitsGetInput) => Promise<ProjectsToolkitsGetOutput>;
3957
4340
  readonly set: (input: ProjectsToolkitsSetInput) => Promise<ProjectsToolkitsSetOutput>;
3958
4341
  };
4342
+ readonly update: (input: ProjectsUpdateInput) => Promise<ProjectsUpdateOutput>;
4343
+ readonly archive: (input: ProjectsArchiveInput) => Promise<ProjectsArchiveOutput>;
4344
+ readonly unarchive: (input: ProjectsUnarchiveInput) => Promise<ProjectsUnarchiveOutput>;
4345
+ readonly delete: (input: ProjectsDeleteInput) => Promise<ProjectsDeleteOutput>;
4346
+ readonly reorder: (input: ProjectsReorderInput) => Promise<ProjectsReorderOutput>;
4347
+ readonly folders: {
4348
+ readonly detach: (input: ProjectsFoldersDetachInput) => Promise<ProjectsFoldersDetachOutput>;
4349
+ readonly attach: (input: ProjectsFoldersAttachInput) => Promise<ProjectsFoldersAttachOutput>;
4350
+ };
3959
4351
  readonly clone: {
3960
4352
  readonly start: (input: ProjectsCloneStartInput) => Promise<ProjectsCloneStartOutput>;
3961
4353
  readonly retry: (input: ProjectsCloneRetryInput) => Promise<ProjectsCloneRetryOutput>;
3962
4354
  readonly cancel: (input: ProjectsCloneCancelInput) => Promise<ProjectsCloneCancelOutput>;
3963
4355
  };
3964
4356
  readonly create: (input: ProjectsCreateInput) => Promise<ProjectsCreateOutput>;
3965
- readonly folders: {
3966
- readonly attach: (input: ProjectsFoldersAttachInput) => Promise<ProjectsFoldersAttachOutput>;
3967
- };
3968
4357
  };
3969
4358
  readonly communication: {
3970
4359
  readonly records: {
@@ -4048,6 +4437,7 @@ export interface PluginDataPorts {
4048
4437
  readonly setEnabled: (input: PluginsInstalledSetEnabledInput) => Promise<PluginsInstalledSetEnabledOutput>;
4049
4438
  };
4050
4439
  readonly sessionProjections: {
4440
+ readonly get: (input: Omit<PluginsSessionProjectionsGetInput, "pluginId">) => Promise<PluginsSessionProjectionsGetOutput>;
4051
4441
  readonly set: (input: PluginsSessionProjectionsSetInput) => Promise<PluginsSessionProjectionsSetOutput>;
4052
4442
  };
4053
4443
  readonly notifications: {
@@ -4062,6 +4452,10 @@ export interface PluginDataPorts {
4062
4452
  readonly connectors: {
4063
4453
  readonly install: (input: PluginsConnectorsInstallInput) => Promise<PluginsConnectorsInstallOutput>;
4064
4454
  };
4455
+ readonly selfdev: {
4456
+ readonly promote: (input: PluginsSelfdevPromoteInput) => Promise<PluginsSelfdevPromoteOutput>;
4457
+ readonly stop: (input: PluginsSelfdevStopInput) => Promise<PluginsSelfdevStopOutput>;
4458
+ };
4065
4459
  };
4066
4460
  readonly usage: {
4067
4461
  readonly quota: {