@ycodium-ai/plugin-api 0.2.3120 → 0.2.3122

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.
@@ -141,7 +141,21 @@ type Objects_18 = {
141
141
  readonly "requestId"?: string;
142
142
  readonly "recordId": string;
143
143
  };
144
+ type Arrays_3 = ReadonlyArray<string>;
144
145
  type Objects_19 = {
146
+ readonly "status": "none" | "required" | "authorized";
147
+ };
148
+ type Objects_20 = {
149
+ readonly "kind": "inline";
150
+ readonly "skillMd": string;
151
+ };
152
+ type Objects_21 = {
153
+ readonly [x: string]: string | null;
154
+ };
155
+ type Objects_22 = {
156
+ readonly [x: string]: boolean;
157
+ };
158
+ type Objects_23 = {
145
159
  readonly "ids": readonly [string, ...Array<string>];
146
160
  };
147
161
  type Union_10 = ReadonlyArray<{
@@ -150,7 +164,7 @@ type Union_10 = ReadonlyArray<{
150
164
  readonly "labelKey"?: string | undefined;
151
165
  readonly "icon"?: string | undefined;
152
166
  }> | undefined;
153
- type Objects_20 = {
167
+ type Objects_24 = {
154
168
  readonly "key": string;
155
169
  readonly "equals": ReadonlyArray<string>;
156
170
  };
@@ -162,36 +176,36 @@ type Union_12 = {
162
176
  } | {
163
177
  readonly "text": string;
164
178
  };
165
- type Objects_22 = {
179
+ type Objects_26 = {
166
180
  readonly "kind": "agent";
167
181
  readonly "threadId": string;
168
182
  };
169
- type Objects_23 = {
183
+ type Objects_27 = {
170
184
  readonly "kind": "remote-agent";
171
185
  readonly "principalId": string;
172
186
  };
173
- type Arrays_3 = ReadonlyArray<string>;
174
- type Objects_25 = {
187
+ type Arrays_4 = ReadonlyArray<string>;
188
+ type Objects_29 = {
175
189
  readonly "experienceId": string;
176
190
  readonly "revision": number;
177
191
  };
178
- type Objects_26 = {
192
+ type Objects_30 = {
179
193
  readonly "projectId": string;
180
194
  readonly "requestId"?: string;
181
195
  readonly "experienceId": string;
182
196
  };
183
- type Objects_27 = {
197
+ type Objects_31 = {
184
198
  readonly "sequence": number;
185
199
  readonly "result": {
186
200
  readonly "experienceId": string;
187
201
  readonly "status": "active" | "forgotten";
188
202
  };
189
203
  };
190
- type Objects_29 = {
204
+ type Objects_33 = {
191
205
  readonly "pageId": string;
192
206
  readonly "revision": number;
193
207
  };
194
- type Objects_31 = {
208
+ type Objects_35 = {
195
209
  readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
196
210
  readonly "pageId": string;
197
211
  readonly "revision": number;
@@ -200,30 +214,30 @@ type Union_14 = {
200
214
  readonly "experienceId": string;
201
215
  readonly "revision": number;
202
216
  } | null;
203
- type Objects_33 = {
217
+ type Objects_37 = {
204
218
  readonly "stateId": string;
205
219
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
206
220
  readonly "name": string;
207
221
  };
208
- type Arrays_6 = ReadonlyArray<string>;
209
222
  type Arrays_7 = ReadonlyArray<string>;
210
- type Objects_34 = {
223
+ type Arrays_8 = ReadonlyArray<string>;
224
+ type Objects_38 = {
211
225
  readonly "total": number;
212
226
  readonly "completed": number;
213
227
  readonly "cancelled": number;
214
228
  };
215
- type Objects_36 = {
229
+ type Objects_40 = {
216
230
  readonly "stateId": string;
217
231
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
218
232
  };
219
- type Objects_37 = {
233
+ type Objects_41 = {
220
234
  readonly "projectId": string;
221
235
  readonly "requestId"?: string;
222
236
  readonly "workItemId": string;
223
237
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
224
238
  readonly "relatedWorkItemId": string;
225
239
  };
226
- type Objects_38 = {
240
+ type Objects_42 = {
227
241
  readonly "workItemId": string;
228
242
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
229
243
  readonly "relatedWorkItemId": string;
@@ -234,11 +248,11 @@ type Union_17 = ReadonlyArray<{
234
248
  }> | {
235
249
  readonly [x: string]: unknown;
236
250
  };
237
- type Objects_39 = {
251
+ type Objects_43 = {
238
252
  readonly "sequence": number;
239
253
  readonly "status": "accepted" | "noop";
240
254
  };
241
- type Objects_40 = {
255
+ type Objects_44 = {
242
256
  readonly "_tag": "snap-shot";
243
257
  readonly "capturedAt": string;
244
258
  readonly "appName": string;
@@ -256,18 +270,18 @@ type Objects_40 = {
256
270
  readonly "height": number;
257
271
  };
258
272
  readonly "truncated": boolean;
259
- readonly "root": Objects_41;
273
+ readonly "root": Objects_45;
260
274
  };
261
275
  readonly "appIdentifier"?: string;
262
276
  readonly "appIconDataUrl"?: string;
263
277
  };
264
- type Objects_42 = {
278
+ type Objects_46 = {
265
279
  readonly "_tag": "agent-artifact";
266
280
  readonly "sourcePath": string;
267
281
  readonly "linkBase"?: string;
268
282
  readonly "toolCallId"?: string;
269
283
  };
270
- type Objects_44 = {
284
+ type Objects_48 = {
271
285
  readonly "_tag": "agent-artifact";
272
286
  readonly "sourcePath": string;
273
287
  readonly "linkBase"?: string;
@@ -345,16 +359,16 @@ type Union_15 = {
345
359
  readonly "kind": "remote-agent";
346
360
  readonly "principalId": string;
347
361
  };
348
- type Objects_21 = {
362
+ type Objects_25 = {
349
363
  readonly "kind": "human";
350
364
  readonly "principal": Union_9;
351
365
  };
352
- type Union_11 = Objects_20 | undefined;
353
- type Arrays_4 = ReadonlyArray<Objects_31>;
354
- type Objects_32 = {
366
+ type Union_11 = Objects_24 | undefined;
367
+ type Arrays_5 = ReadonlyArray<Objects_35>;
368
+ type Objects_36 = {
355
369
  readonly "changed": boolean;
356
370
  readonly "release": number;
357
- readonly "pages": ReadonlyArray<Objects_31>;
371
+ readonly "pages": ReadonlyArray<Objects_35>;
358
372
  };
359
373
  type Objects_1 = {
360
374
  readonly "instanceId": string;
@@ -362,19 +376,19 @@ type Objects_1 = {
362
376
  readonly "options"?: Arrays_ | Arrays_1;
363
377
  };
364
378
  type Union_6 = ReadonlyArray<Union_> | undefined;
365
- type Union_13 = Objects_21 | {
379
+ type Union_13 = Objects_25 | {
366
380
  readonly "kind": "local-cli";
367
381
  readonly "environmentId": string;
368
382
  } | {
369
383
  readonly "kind": "seat";
370
384
  readonly "seatId": string;
371
- } | Objects_22 | Objects_23 | {
385
+ } | Objects_26 | Objects_27 | {
372
386
  readonly "kind": "plugin";
373
387
  readonly "pluginId": string;
374
388
  } | {
375
389
  readonly "kind": "system";
376
390
  };
377
- type Union_16 = Objects_21 | Objects_22 | Objects_23;
391
+ type Union_16 = Objects_25 | Objects_26 | Objects_27;
378
392
  type Objects_6 = {
379
393
  readonly "turnId": string;
380
394
  readonly "state": "running" | "interrupted" | "completed" | "error";
@@ -479,7 +493,7 @@ type Objects_17 = {
479
493
  readonly "nextCursor": string | null;
480
494
  readonly "snapshotSequence": number;
481
495
  };
482
- type Objects_24 = {
496
+ type Objects_28 = {
483
497
  readonly "experienceId": string;
484
498
  readonly "revision": number;
485
499
  readonly "baseRevision": number | null;
@@ -489,7 +503,7 @@ type Objects_24 = {
489
503
  readonly "bodyState": "present" | "erased" | "unavailable";
490
504
  readonly "bodyWindow"?: Objects_14;
491
505
  };
492
- type Objects_28 = {
506
+ type Objects_32 = {
493
507
  readonly "pageId": string;
494
508
  readonly "revision": number;
495
509
  readonly "baseRevision": number | null;
@@ -502,9 +516,9 @@ type Objects_28 = {
502
516
  readonly "bodyState": "present" | "erased" | "unavailable";
503
517
  readonly "bodyWindow"?: Objects_14;
504
518
  };
505
- type Objects_30 = {
519
+ type Objects_34 = {
506
520
  readonly "release": number;
507
- readonly "pages": Arrays_4;
521
+ readonly "pages": Arrays_5;
508
522
  readonly "itemCount": number;
509
523
  readonly "itemHighWater": number;
510
524
  readonly "requiresAck": boolean;
@@ -513,8 +527,8 @@ type Objects_30 = {
513
527
  readonly "publishedBy": Union_13;
514
528
  readonly "publishedAt": string;
515
529
  };
516
- type Arrays_5 = ReadonlyArray<Union_16>;
517
- type Objects_35 = {
530
+ type Arrays_6 = ReadonlyArray<Union_16>;
531
+ type Objects_39 = {
518
532
  readonly "commentId": string;
519
533
  readonly "workItemId": string;
520
534
  readonly "projectId": string;
@@ -554,7 +568,7 @@ type Objects_11 = {
554
568
  readonly "actions"?: ReadonlyArray<string>;
555
569
  readonly "children": ReadonlyArray<Objects_11>;
556
570
  };
557
- type Objects_41 = {
571
+ type Objects_45 = {
558
572
  readonly "role": string;
559
573
  readonly "name"?: string;
560
574
  readonly "value"?: string;
@@ -577,9 +591,9 @@ type Objects_41 = {
577
591
  readonly "visible"?: boolean;
578
592
  };
579
593
  readonly "actions"?: ReadonlyArray<string>;
580
- readonly "children": ReadonlyArray<Objects_41>;
594
+ readonly "children": ReadonlyArray<Objects_45>;
581
595
  };
582
- type Objects_43 = {
596
+ type Objects_47 = {
583
597
  readonly "role": string;
584
598
  readonly "name"?: string;
585
599
  readonly "value"?: string;
@@ -602,7 +616,7 @@ type Objects_43 = {
602
616
  readonly "visible"?: boolean;
603
617
  };
604
618
  readonly "actions"?: ReadonlyArray<string>;
605
- readonly "children": ReadonlyArray<Objects_43>;
619
+ readonly "children": ReadonlyArray<Objects_47>;
606
620
  };
607
621
  export type AuthRemoteAgentsListInput = {
608
622
  readonly "projectId": string;
@@ -1178,6 +1192,46 @@ export type ApprovalsPendingListOutput = ReadonlyArray<{
1178
1192
  }> | undefined;
1179
1193
  readonly "declineReasonRelay"?: "native" | "queued" | "none" | undefined;
1180
1194
  }>;
1195
+ export type ProvidersRoutingGetInput = {};
1196
+ export type ProvidersRoutingGetOutput = {
1197
+ readonly "roles": {
1198
+ readonly [x: string]: {
1199
+ readonly "instanceId": string;
1200
+ readonly "model": string;
1201
+ };
1202
+ };
1203
+ readonly "allowlistOnly": boolean;
1204
+ };
1205
+ export type ProvidersListInput = {};
1206
+ export type ProvidersListOutput = {
1207
+ readonly "providers": ReadonlyArray<{
1208
+ readonly "instanceId": string;
1209
+ readonly "driver": string;
1210
+ readonly "displayName": string;
1211
+ readonly "enabled": boolean;
1212
+ readonly "readiness": "ready" | "unchecked" | "checking" | "disabled" | "not-installed" | "unauthenticated" | "error";
1213
+ readonly "defaultModel": string | null;
1214
+ }>;
1215
+ readonly "roles"?: {
1216
+ readonly [x: string]: {
1217
+ readonly "instanceId": string;
1218
+ readonly "model": string;
1219
+ };
1220
+ } | undefined;
1221
+ };
1222
+ export type ProvidersModelsListInput = {
1223
+ readonly "instanceId": string;
1224
+ };
1225
+ export type ProvidersModelsListOutput = {
1226
+ readonly "models": ReadonlyArray<{
1227
+ readonly "slug": string;
1228
+ readonly "name": string;
1229
+ readonly "options": ReadonlyArray<{
1230
+ readonly "id": string;
1231
+ readonly "values": ReadonlyArray<string>;
1232
+ }>;
1233
+ }>;
1234
+ };
1181
1235
  export type PluginsProjectConfigGetInput = {
1182
1236
  readonly "projectId": string;
1183
1237
  };
@@ -1189,7 +1243,7 @@ export type PluginsProjectConfigGetOutput = {
1189
1243
  readonly "transport": {
1190
1244
  readonly "type": "stdio";
1191
1245
  readonly "command": string;
1192
- readonly "args"?: ReadonlyArray<string> | undefined;
1246
+ readonly "args"?: Arrays_3 | undefined;
1193
1247
  readonly "envNames": ReadonlyArray<string>;
1194
1248
  } | {
1195
1249
  readonly "type": "http";
@@ -1205,18 +1259,13 @@ export type PluginsProjectConfigGetOutput = {
1205
1259
  readonly [x: string]: boolean;
1206
1260
  };
1207
1261
  readonly "catalogId"?: string | undefined;
1208
- readonly "oauth"?: {
1209
- readonly "status": "none" | "required" | "authorized";
1210
- } | undefined;
1262
+ readonly "oauth"?: Objects_19 | undefined;
1211
1263
  };
1212
1264
  };
1213
1265
  readonly "skills"?: {
1214
1266
  readonly [x: string]: {
1215
1267
  readonly "name": string;
1216
- readonly "source": {
1217
- readonly "kind": "inline";
1218
- readonly "skillMd": string;
1219
- } | {
1268
+ readonly "source": Objects_20 | {
1220
1269
  readonly "kind": "builtin";
1221
1270
  readonly "id": string;
1222
1271
  } | {
@@ -1234,6 +1283,54 @@ export type PluginsProjectConfigGetOutput = {
1234
1283
  };
1235
1284
  readonly "revision": string | null;
1236
1285
  };
1286
+ export type PluginsProjectConfigUpdateInput = {
1287
+ readonly "projectId": string;
1288
+ readonly "config": {
1289
+ readonly "mcpServers"?: {
1290
+ readonly [x: string]: {
1291
+ readonly "name": string;
1292
+ readonly "transport": {
1293
+ readonly "type": "stdio";
1294
+ readonly "command": string;
1295
+ readonly "args"?: Arrays_3;
1296
+ readonly "env"?: Objects_21;
1297
+ } | {
1298
+ readonly "type": "http";
1299
+ readonly "url": string;
1300
+ readonly "headers"?: Objects_21;
1301
+ } | {
1302
+ readonly "type": "sse";
1303
+ readonly "url": string;
1304
+ readonly "headers"?: Objects_21;
1305
+ };
1306
+ readonly "enabled"?: boolean;
1307
+ readonly "providers"?: Objects_22;
1308
+ readonly "catalogId"?: string;
1309
+ readonly "oauth"?: Objects_19;
1310
+ };
1311
+ };
1312
+ readonly "skills"?: {
1313
+ readonly [x: string]: {
1314
+ readonly "name": string;
1315
+ readonly "source": Objects_20 | {
1316
+ readonly "kind": "builtin";
1317
+ readonly "id": string;
1318
+ } | {
1319
+ readonly "kind": "catalog";
1320
+ readonly "catalogId": string;
1321
+ readonly "version": string;
1322
+ };
1323
+ readonly "modelInvocable"?: boolean;
1324
+ readonly "userInvocable"?: boolean;
1325
+ readonly "providers"?: Objects_22;
1326
+ };
1327
+ };
1328
+ };
1329
+ readonly "revision": string | null;
1330
+ };
1331
+ export type PluginsProjectConfigUpdateOutput = {
1332
+ readonly "revision": string;
1333
+ };
1237
1334
  export type PluginsInstalledListInput = {};
1238
1335
  export type PluginsInstalledListOutput = {
1239
1336
  readonly "plugins": ReadonlyArray<{
@@ -1420,9 +1517,9 @@ export type PluginsNotificationsListOutput = {
1420
1517
  };
1421
1518
  }>;
1422
1519
  };
1423
- export type PluginsNotificationsMarkReadInput = Objects_19;
1520
+ export type PluginsNotificationsMarkReadInput = Objects_23;
1424
1521
  export type PluginsNotificationsMarkReadOutput = {};
1425
- export type PluginsNotificationsClearInput = Objects_19;
1522
+ export type PluginsNotificationsClearInput = Objects_23;
1426
1523
  export type PluginsNotificationsClearOutput = {};
1427
1524
  export type PluginsSettingsCardsListInput = {};
1428
1525
  export type PluginsSettingsCardsListOutput = {
@@ -1466,7 +1563,7 @@ export type PluginsSettingsCardsListOutput = {
1466
1563
  readonly "badgeKey"?: string | undefined;
1467
1564
  readonly "warningKey"?: string | undefined;
1468
1565
  readonly "command": string;
1469
- readonly "showWhen"?: Objects_20 | undefined;
1566
+ readonly "showWhen"?: Objects_24 | undefined;
1470
1567
  readonly "fills": ReadonlyArray<string>;
1471
1568
  }> | undefined;
1472
1569
  }>;
@@ -1615,7 +1712,7 @@ export type MemoryExperiencesListOutput = {
1615
1712
  readonly "currentRevision": number;
1616
1713
  readonly "createdAt": string;
1617
1714
  readonly "updatedAt": string;
1618
- readonly "supersedes": Arrays_3;
1715
+ readonly "supersedes": Arrays_4;
1619
1716
  readonly "bodyState": "present" | "erased" | "unavailable";
1620
1717
  readonly "excerpt": string | null;
1621
1718
  }>;
@@ -1636,7 +1733,7 @@ export type MemoryExperiencesGetOutput = {
1636
1733
  readonly "currentRevision": number;
1637
1734
  readonly "createdAt": string;
1638
1735
  readonly "updatedAt": string;
1639
- readonly "supersedes": Arrays_3;
1736
+ readonly "supersedes": Arrays_4;
1640
1737
  readonly "bodyState": "present" | "erased" | "unavailable";
1641
1738
  readonly "body": string | null;
1642
1739
  readonly "bodyWindow"?: Objects_14;
@@ -1654,7 +1751,7 @@ export type MemoryExperiencesHistoryInput = {
1654
1751
  readonly "textLimit"?: number;
1655
1752
  };
1656
1753
  export type MemoryExperiencesHistoryOutput = {
1657
- readonly "items": ReadonlyArray<Objects_24>;
1754
+ readonly "items": ReadonlyArray<Objects_28>;
1658
1755
  readonly "nextCursor": string | null;
1659
1756
  };
1660
1757
  export type MemoryRevisionsGetInput = {
@@ -1664,7 +1761,7 @@ export type MemoryRevisionsGetInput = {
1664
1761
  readonly "textOffset"?: number;
1665
1762
  readonly "textLimit"?: number;
1666
1763
  };
1667
- export type MemoryRevisionsGetOutput = Objects_24;
1764
+ export type MemoryRevisionsGetOutput = Objects_28;
1668
1765
  export type MemorySearchInput = {
1669
1766
  readonly "projectId": string;
1670
1767
  readonly "text": string;
@@ -1700,7 +1797,7 @@ export type MemoryExperiencesRecordInput = {
1700
1797
  };
1701
1798
  export type MemoryExperiencesRecordOutput = {
1702
1799
  readonly "sequence": number;
1703
- readonly "result": Objects_25;
1800
+ readonly "result": Objects_29;
1704
1801
  };
1705
1802
  export type MemoryExperiencesReviseInput = {
1706
1803
  readonly "projectId": string;
@@ -1711,13 +1808,13 @@ export type MemoryExperiencesReviseInput = {
1711
1808
  };
1712
1809
  export type MemoryExperiencesReviseOutput = {
1713
1810
  readonly "sequence": number;
1714
- readonly "result": Objects_25;
1811
+ readonly "result": Objects_29;
1715
1812
  };
1716
- export type MemoryExperiencesForgetInput = Objects_26;
1717
- export type MemoryExperiencesForgetOutput = Objects_27;
1718
- export type MemoryExperiencesRestoreInput = Objects_26;
1719
- export type MemoryExperiencesRestoreOutput = Objects_27;
1720
- export type MemoryExperiencesEraseInput = Objects_26;
1813
+ export type MemoryExperiencesForgetInput = Objects_30;
1814
+ export type MemoryExperiencesForgetOutput = Objects_31;
1815
+ export type MemoryExperiencesRestoreInput = Objects_30;
1816
+ export type MemoryExperiencesRestoreOutput = Objects_31;
1817
+ export type MemoryExperiencesEraseInput = Objects_30;
1721
1818
  export type MemoryExperiencesEraseOutput = {
1722
1819
  readonly "sequence": number;
1723
1820
  readonly "result": {
@@ -1781,7 +1878,7 @@ export type MemoryPagesHistoryInput = {
1781
1878
  readonly "textLimit"?: number;
1782
1879
  };
1783
1880
  export type MemoryPagesHistoryOutput = {
1784
- readonly "items": ReadonlyArray<Objects_28>;
1881
+ readonly "items": ReadonlyArray<Objects_32>;
1785
1882
  readonly "nextCursor": string | null;
1786
1883
  };
1787
1884
  export type MemoryPageRevisionsGetInput = {
@@ -1791,7 +1888,7 @@ export type MemoryPageRevisionsGetInput = {
1791
1888
  readonly "textOffset"?: number;
1792
1889
  readonly "textLimit"?: number;
1793
1890
  };
1794
- export type MemoryPageRevisionsGetOutput = Objects_28;
1891
+ export type MemoryPageRevisionsGetOutput = Objects_32;
1795
1892
  export type MemoryPagesCreateInput = {
1796
1893
  readonly "projectId": string;
1797
1894
  readonly "requestId"?: string;
@@ -1804,7 +1901,7 @@ export type MemoryPagesCreateInput = {
1804
1901
  };
1805
1902
  export type MemoryPagesCreateOutput = {
1806
1903
  readonly "sequence": number;
1807
- readonly "result": Objects_29;
1904
+ readonly "result": Objects_33;
1808
1905
  };
1809
1906
  export type MemoryPagesEditInput = {
1810
1907
  readonly "projectId": string;
@@ -1817,7 +1914,7 @@ export type MemoryPagesEditInput = {
1817
1914
  };
1818
1915
  export type MemoryPagesEditOutput = {
1819
1916
  readonly "sequence": number;
1820
- readonly "result": Objects_29;
1917
+ readonly "result": Objects_33;
1821
1918
  };
1822
1919
  export type MemoryPagesRestoreInput = {
1823
1920
  readonly "projectId": string;
@@ -1828,7 +1925,7 @@ export type MemoryPagesRestoreInput = {
1828
1925
  };
1829
1926
  export type MemoryPagesRestoreOutput = {
1830
1927
  readonly "sequence": number;
1831
- readonly "result": Objects_29;
1928
+ readonly "result": Objects_33;
1832
1929
  };
1833
1930
  export type MemoryPagesEraseInput = {
1834
1931
  readonly "projectId": string;
@@ -1848,8 +1945,8 @@ export type MemoryHandbookGetInput = {
1848
1945
  };
1849
1946
  export type MemoryHandbookGetOutput = {
1850
1947
  readonly "head": {
1851
- readonly "current": Objects_30;
1852
- readonly "pages": ReadonlyArray<Objects_28>;
1948
+ readonly "current": Objects_34;
1949
+ readonly "pages": ReadonlyArray<Objects_32>;
1853
1950
  } | null;
1854
1951
  };
1855
1952
  export type MemoryHandbookReleasesListInput = {
@@ -1858,7 +1955,7 @@ export type MemoryHandbookReleasesListInput = {
1858
1955
  readonly "limit"?: number;
1859
1956
  };
1860
1957
  export type MemoryHandbookReleasesListOutput = {
1861
- readonly "items": ReadonlyArray<Objects_30>;
1958
+ readonly "items": ReadonlyArray<Objects_34>;
1862
1959
  readonly "nextCursor": string | null;
1863
1960
  };
1864
1961
  export type MemoryHandbookReleasesGetInput = {
@@ -1867,7 +1964,7 @@ export type MemoryHandbookReleasesGetInput = {
1867
1964
  };
1868
1965
  export type MemoryHandbookReleasesGetOutput = {
1869
1966
  readonly "release": number;
1870
- readonly "pages": Arrays_4;
1967
+ readonly "pages": Arrays_5;
1871
1968
  readonly "itemCount": number;
1872
1969
  readonly "itemHighWater": number;
1873
1970
  readonly "requiresAck": boolean;
@@ -1899,7 +1996,7 @@ export type MemoryHandbookPublishInput = {
1899
1996
  };
1900
1997
  export type MemoryHandbookPublishOutput = {
1901
1998
  readonly "sequence": number;
1902
- readonly "result": Objects_32;
1999
+ readonly "result": Objects_36;
1903
2000
  };
1904
2001
  export type MemoryHandbookRevertInput = {
1905
2002
  readonly "projectId": string;
@@ -1910,7 +2007,7 @@ export type MemoryHandbookRevertInput = {
1910
2007
  };
1911
2008
  export type MemoryHandbookRevertOutput = {
1912
2009
  readonly "sequence": number;
1913
- readonly "result": Objects_32;
2010
+ readonly "result": Objects_36;
1914
2011
  };
1915
2012
  export type WorkRemoteAgentPendingGetInput = {
1916
2013
  readonly "projectId": string;
@@ -1970,10 +2067,10 @@ export type WorkItemsListOutput = {
1970
2067
  readonly "sequenceId": number;
1971
2068
  readonly "title": string | null;
1972
2069
  readonly "bodyState": "present" | "erased" | "unavailable";
1973
- readonly "state": Objects_33;
2070
+ readonly "state": Objects_37;
1974
2071
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
1975
- readonly "assignees": Arrays_5;
1976
- readonly "labelIds": Arrays_6;
2072
+ readonly "assignees": Arrays_6;
2073
+ readonly "labelIds": Arrays_7;
1977
2074
  readonly "parentId": string | null;
1978
2075
  readonly "startDate": string | null;
1979
2076
  readonly "targetDate": string | null;
@@ -1982,9 +2079,9 @@ export type WorkItemsListOutput = {
1982
2079
  readonly "archivedAt": string | null;
1983
2080
  readonly "version": number;
1984
2081
  readonly "revision": number;
1985
- readonly "blockedBy": Arrays_7;
2082
+ readonly "blockedBy": Arrays_8;
1986
2083
  readonly "blockedByTotal": number;
1987
- readonly "childCounts": Objects_34;
2084
+ readonly "childCounts": Objects_38;
1988
2085
  readonly "createdBy": Union_13;
1989
2086
  readonly "createdAt": string;
1990
2087
  readonly "updatedAt": string;
@@ -2012,10 +2109,10 @@ export type WorkItemsGetOutput = {
2012
2109
  readonly "sequenceId": number;
2013
2110
  readonly "title": string | null;
2014
2111
  readonly "bodyState": "present" | "erased" | "unavailable";
2015
- readonly "state": Objects_33;
2112
+ readonly "state": Objects_37;
2016
2113
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
2017
- readonly "assignees": Arrays_5;
2018
- readonly "labelIds": Arrays_6;
2114
+ readonly "assignees": Arrays_6;
2115
+ readonly "labelIds": Arrays_7;
2019
2116
  readonly "parentId": string | null;
2020
2117
  readonly "startDate": string | null;
2021
2118
  readonly "targetDate": string | null;
@@ -2024,9 +2121,9 @@ export type WorkItemsGetOutput = {
2024
2121
  readonly "archivedAt": string | null;
2025
2122
  readonly "version": number;
2026
2123
  readonly "revision": number;
2027
- readonly "blockedBy": Arrays_7;
2124
+ readonly "blockedBy": Arrays_8;
2028
2125
  readonly "blockedByTotal": number;
2029
- readonly "childCounts": Objects_34;
2126
+ readonly "childCounts": Objects_38;
2030
2127
  readonly "createdBy": Union_13;
2031
2128
  readonly "createdAt": string;
2032
2129
  readonly "updatedAt": string;
@@ -2070,7 +2167,7 @@ export type WorkCommentsListInput = {
2070
2167
  readonly "textLimit"?: number;
2071
2168
  };
2072
2169
  export type WorkCommentsListOutput = {
2073
- readonly "items": ReadonlyArray<Objects_35>;
2170
+ readonly "items": ReadonlyArray<Objects_39>;
2074
2171
  readonly "nextCursor": string | null;
2075
2172
  readonly "snapshotSequence": number;
2076
2173
  };
@@ -2081,7 +2178,7 @@ export type WorkCommentsGetInput = {
2081
2178
  readonly "textLimit"?: number;
2082
2179
  };
2083
2180
  export type WorkCommentsGetOutput = {
2084
- readonly "comment": Objects_35;
2181
+ readonly "comment": Objects_39;
2085
2182
  readonly "snapshotSequence": number;
2086
2183
  };
2087
2184
  export type WorkHistoryListInput = {
@@ -2109,8 +2206,8 @@ export type WorkHistoryListOutput = {
2109
2206
  readonly "newRevision": number | null;
2110
2207
  } | {
2111
2208
  readonly "field": "state";
2112
- readonly "old": Objects_36 | null;
2113
- readonly "new": Objects_36 | null;
2209
+ readonly "old": Objects_40 | null;
2210
+ readonly "new": Objects_40 | null;
2114
2211
  } | {
2115
2212
  readonly "field": "assignees" | "mentions";
2116
2213
  readonly "old": ReadonlyArray<Union_16>;
@@ -2174,15 +2271,15 @@ export type WorkItemsClaimOutput = {
2174
2271
  readonly "version": number;
2175
2272
  };
2176
2273
  };
2177
- export type WorkRelationsAddInput = Objects_37;
2274
+ export type WorkRelationsAddInput = Objects_41;
2178
2275
  export type WorkRelationsAddOutput = {
2179
2276
  readonly "sequence": number;
2180
- readonly "result": Objects_38;
2277
+ readonly "result": Objects_42;
2181
2278
  };
2182
- export type WorkRelationsRemoveInput = Objects_37;
2279
+ export type WorkRelationsRemoveInput = Objects_41;
2183
2280
  export type WorkRelationsRemoveOutput = {
2184
2281
  readonly "sequence": number;
2185
- readonly "result": Objects_38;
2282
+ readonly "result": Objects_42;
2186
2283
  };
2187
2284
  export type WorkCommentsPostInput = {
2188
2285
  readonly "projectId": string;
@@ -2233,7 +2330,7 @@ export type ThreadsCreateInput = {
2233
2330
  };
2234
2331
  readonly "presetId"?: string;
2235
2332
  };
2236
- export type ThreadsCreateOutput = Objects_39;
2333
+ export type ThreadsCreateOutput = Objects_43;
2237
2334
  export type ThreadsForkInput = {
2238
2335
  readonly "requestId"?: string;
2239
2336
  readonly "threadId": string;
@@ -2242,7 +2339,7 @@ export type ThreadsForkInput = {
2242
2339
  readonly "startFolderId"?: string;
2243
2340
  readonly "folderIds"?: ReadonlyArray<string>;
2244
2341
  };
2245
- export type ThreadsForkOutput = Objects_39;
2342
+ export type ThreadsForkOutput = Objects_43;
2246
2343
  export type ThreadsUpdateInput = {
2247
2344
  readonly "threadId": string;
2248
2345
  readonly "requestId"?: string;
@@ -2273,7 +2370,7 @@ export type ThreadsUpdateInput = {
2273
2370
  } | null;
2274
2371
  readonly "presetId"?: string | null;
2275
2372
  };
2276
- export type ThreadsUpdateOutput = Objects_39;
2373
+ export type ThreadsUpdateOutput = Objects_43;
2277
2374
  export type ThreadsTurnsStartInput = {
2278
2375
  readonly "requestId"?: string;
2279
2376
  readonly "threadId": string;
@@ -2287,7 +2384,7 @@ export type ThreadsTurnsStartInput = {
2287
2384
  readonly "mimeType": string;
2288
2385
  readonly "sizeBytes": number;
2289
2386
  readonly "dataUrl": string;
2290
- readonly "source"?: Objects_40;
2387
+ readonly "source"?: Objects_44;
2291
2388
  } | {
2292
2389
  readonly "type": "file";
2293
2390
  readonly "name": string;
@@ -2300,7 +2397,7 @@ export type ThreadsTurnsStartInput = {
2300
2397
  readonly "name": string;
2301
2398
  readonly "mimeType": string;
2302
2399
  readonly "sizeBytes": number;
2303
- readonly "source"?: Objects_40 | Objects_42;
2400
+ readonly "source"?: Objects_44 | Objects_46;
2304
2401
  } | {
2305
2402
  readonly "type": "file";
2306
2403
  readonly "id": string;
@@ -2309,7 +2406,7 @@ export type ThreadsTurnsStartInput = {
2309
2406
  readonly "sizeBytes": number;
2310
2407
  readonly "source"?: {
2311
2408
  readonly "_tag": "pasted-text";
2312
- } | Objects_42 | {
2409
+ } | Objects_46 | {
2313
2410
  readonly "_tag": "thread-reference";
2314
2411
  readonly "environmentId": string;
2315
2412
  readonly "threadId": string;
@@ -2427,11 +2524,11 @@ export type ThreadsUserInputRespondInput = {
2427
2524
  readonly "height": number;
2428
2525
  };
2429
2526
  readonly "truncated": boolean;
2430
- readonly "root": Objects_43;
2527
+ readonly "root": Objects_47;
2431
2528
  };
2432
2529
  readonly "appIdentifier"?: string;
2433
2530
  readonly "appIconDataUrl"?: string;
2434
- } | Objects_44;
2531
+ } | Objects_48;
2435
2532
  } | {
2436
2533
  readonly "type": "file";
2437
2534
  readonly "id": string;
@@ -2440,7 +2537,7 @@ export type ThreadsUserInputRespondInput = {
2440
2537
  readonly "sizeBytes": number;
2441
2538
  readonly "source"?: {
2442
2539
  readonly "_tag": "pasted-text";
2443
- } | Objects_44 | {
2540
+ } | Objects_48 | {
2444
2541
  readonly "_tag": "thread-reference";
2445
2542
  readonly "environmentId": string;
2446
2543
  readonly "threadId": string;
@@ -2448,7 +2545,7 @@ export type ThreadsUserInputRespondInput = {
2448
2545
  }>;
2449
2546
  };
2450
2547
  };
2451
- export type ThreadsUserInputRespondOutput = Objects_39;
2548
+ export type ThreadsUserInputRespondOutput = Objects_43;
2452
2549
  export type CommunicationPeopleCurrentInput = {};
2453
2550
  export type CommunicationPeopleCurrentOutput = {
2454
2551
  readonly "person": Union_9 | null;
@@ -2514,9 +2611,19 @@ export interface PluginDataPorts {
2514
2611
  readonly list: (input: ApprovalsPendingListInput) => Promise<ApprovalsPendingListOutput>;
2515
2612
  };
2516
2613
  };
2614
+ readonly providers: {
2615
+ readonly routing: {
2616
+ readonly get: (input: ProvidersRoutingGetInput) => Promise<ProvidersRoutingGetOutput>;
2617
+ };
2618
+ readonly list: (input: ProvidersListInput) => Promise<ProvidersListOutput>;
2619
+ readonly models: {
2620
+ readonly list: (input: ProvidersModelsListInput) => Promise<ProvidersModelsListOutput>;
2621
+ };
2622
+ };
2517
2623
  readonly plugins: {
2518
2624
  readonly projectConfig: {
2519
2625
  readonly get: (input: PluginsProjectConfigGetInput) => Promise<PluginsProjectConfigGetOutput>;
2626
+ readonly update: (input: PluginsProjectConfigUpdateInput) => Promise<PluginsProjectConfigUpdateOutput>;
2520
2627
  };
2521
2628
  readonly installed: {
2522
2629
  readonly list: (input: PluginsInstalledListInput) => Promise<PluginsInstalledListOutput>;
@@ -2634,5 +2741,15 @@ export interface PluginViewerPorts {
2634
2741
  };
2635
2742
  };
2636
2743
  }
2744
+ /** 本次本机会话 agent 工具调用的代领端口(`invocation.asCaller`)。 */
2745
+ export interface PluginAsCallerPorts {
2746
+ readonly work: {
2747
+ readonly items: {
2748
+ readonly claim: (input: Omit<WorkItemsClaimInput, "projectId"> & {
2749
+ readonly projectId?: string;
2750
+ }) => Promise<WorkItemsClaimOutput>;
2751
+ };
2752
+ };
2753
+ }
2637
2754
  export {};
2638
2755
  //# sourceMappingURL=dataPorts.gen.d.ts.map