@ycodium-ai/plugin-api 0.2.3116 → 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.
- package/README.md +32 -6
- package/dist/commands.d.ts +3 -1
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js.map +1 -1
- package/dist/conversation.d.ts +7 -9
- package/dist/conversation.d.ts.map +1 -1
- package/dist/conversation.js.map +1 -1
- package/dist/dataPorts.gen.d.ts +371 -97
- package/dist/dataPorts.gen.d.ts.map +1 -1
- package/dist/dataPorts.gen.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -4
- package/dist/plugin-tools.d.ts +25 -3
- package/dist/plugin-tools.d.ts.map +1 -1
- package/dist/pluginContextCommands.d.ts +14 -1
- package/dist/pluginContextCommands.d.ts.map +1 -1
- package/dist/pluginContextProviders.d.ts +6 -8
- package/dist/pluginContextProviders.d.ts.map +1 -1
- package/dist/process-socket.d.ts +2 -2
- package/dist/process-socket.d.ts.map +1 -1
- package/dist/ui.d.ts +11 -1
- package/dist/ui.d.ts.map +1 -1
- package/package.json +1 -5
- package/dist/account-usage.d.ts +0 -108
- package/dist/account-usage.d.ts.map +0 -1
- package/dist/account-usage.js +0 -13
- package/dist/account-usage.js.map +0 -1
package/dist/dataPorts.gen.d.ts
CHANGED
|
@@ -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
|
|
167
|
+
type Objects_24 = {
|
|
154
168
|
readonly "key": string;
|
|
155
169
|
readonly "equals": ReadonlyArray<string>;
|
|
156
170
|
};
|
|
@@ -162,74 +176,83 @@ type Union_12 = {
|
|
|
162
176
|
} | {
|
|
163
177
|
readonly "text": string;
|
|
164
178
|
};
|
|
165
|
-
type
|
|
179
|
+
type Objects_26 = {
|
|
166
180
|
readonly "kind": "agent";
|
|
167
181
|
readonly "threadId": string;
|
|
168
182
|
};
|
|
169
|
-
type
|
|
183
|
+
type Objects_27 = {
|
|
170
184
|
readonly "kind": "remote-agent";
|
|
171
185
|
readonly "principalId": string;
|
|
172
186
|
};
|
|
173
|
-
type
|
|
174
|
-
type
|
|
187
|
+
type Arrays_4 = ReadonlyArray<string>;
|
|
188
|
+
type Objects_29 = {
|
|
175
189
|
readonly "experienceId": string;
|
|
176
190
|
readonly "revision": number;
|
|
177
191
|
};
|
|
178
|
-
type
|
|
192
|
+
type Objects_30 = {
|
|
179
193
|
readonly "projectId": string;
|
|
180
194
|
readonly "requestId"?: string;
|
|
181
195
|
readonly "experienceId": string;
|
|
182
196
|
};
|
|
183
|
-
type
|
|
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
|
|
204
|
+
type Objects_33 = {
|
|
191
205
|
readonly "pageId": string;
|
|
192
206
|
readonly "revision": number;
|
|
193
207
|
};
|
|
194
|
-
type
|
|
208
|
+
type Objects_35 = {
|
|
209
|
+
readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
|
|
210
|
+
readonly "pageId": string;
|
|
211
|
+
readonly "revision": number;
|
|
212
|
+
};
|
|
213
|
+
type Union_14 = {
|
|
214
|
+
readonly "experienceId": string;
|
|
215
|
+
readonly "revision": number;
|
|
216
|
+
} | null;
|
|
217
|
+
type Objects_37 = {
|
|
195
218
|
readonly "stateId": string;
|
|
196
219
|
readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
|
|
197
220
|
readonly "name": string;
|
|
198
221
|
};
|
|
199
|
-
type
|
|
200
|
-
type
|
|
201
|
-
type
|
|
222
|
+
type Arrays_7 = ReadonlyArray<string>;
|
|
223
|
+
type Arrays_8 = ReadonlyArray<string>;
|
|
224
|
+
type Objects_38 = {
|
|
202
225
|
readonly "total": number;
|
|
203
226
|
readonly "completed": number;
|
|
204
227
|
readonly "cancelled": number;
|
|
205
228
|
};
|
|
206
|
-
type
|
|
229
|
+
type Objects_40 = {
|
|
207
230
|
readonly "stateId": string;
|
|
208
231
|
readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
|
|
209
232
|
};
|
|
210
|
-
type
|
|
233
|
+
type Objects_41 = {
|
|
211
234
|
readonly "projectId": string;
|
|
212
235
|
readonly "requestId"?: string;
|
|
213
236
|
readonly "workItemId": string;
|
|
214
237
|
readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
|
|
215
238
|
readonly "relatedWorkItemId": string;
|
|
216
239
|
};
|
|
217
|
-
type
|
|
240
|
+
type Objects_42 = {
|
|
218
241
|
readonly "workItemId": string;
|
|
219
242
|
readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
|
|
220
243
|
readonly "relatedWorkItemId": string;
|
|
221
244
|
};
|
|
222
|
-
type
|
|
245
|
+
type Union_17 = ReadonlyArray<{
|
|
223
246
|
readonly "id": string;
|
|
224
247
|
readonly "value": string | boolean;
|
|
225
248
|
}> | {
|
|
226
249
|
readonly [x: string]: unknown;
|
|
227
250
|
};
|
|
228
|
-
type
|
|
251
|
+
type Objects_43 = {
|
|
229
252
|
readonly "sequence": number;
|
|
230
253
|
readonly "status": "accepted" | "noop";
|
|
231
254
|
};
|
|
232
|
-
type
|
|
255
|
+
type Objects_44 = {
|
|
233
256
|
readonly "_tag": "snap-shot";
|
|
234
257
|
readonly "capturedAt": string;
|
|
235
258
|
readonly "appName": string;
|
|
@@ -247,18 +270,18 @@ type Objects_37 = {
|
|
|
247
270
|
readonly "height": number;
|
|
248
271
|
};
|
|
249
272
|
readonly "truncated": boolean;
|
|
250
|
-
readonly "root":
|
|
273
|
+
readonly "root": Objects_45;
|
|
251
274
|
};
|
|
252
275
|
readonly "appIdentifier"?: string;
|
|
253
276
|
readonly "appIconDataUrl"?: string;
|
|
254
277
|
};
|
|
255
|
-
type
|
|
278
|
+
type Objects_46 = {
|
|
256
279
|
readonly "_tag": "agent-artifact";
|
|
257
280
|
readonly "sourcePath": string;
|
|
258
281
|
readonly "linkBase"?: string;
|
|
259
282
|
readonly "toolCallId"?: string;
|
|
260
283
|
};
|
|
261
|
-
type
|
|
284
|
+
type Objects_48 = {
|
|
262
285
|
readonly "_tag": "agent-artifact";
|
|
263
286
|
readonly "sourcePath": string;
|
|
264
287
|
readonly "linkBase"?: string;
|
|
@@ -326,7 +349,7 @@ type Union_7 = {
|
|
|
326
349
|
readonly "turnId"?: string | undefined;
|
|
327
350
|
readonly "at": string;
|
|
328
351
|
} | null;
|
|
329
|
-
type
|
|
352
|
+
type Union_15 = {
|
|
330
353
|
readonly "kind": "human";
|
|
331
354
|
readonly "principal": Union_8;
|
|
332
355
|
} | {
|
|
@@ -336,30 +359,36 @@ type Union_14 = {
|
|
|
336
359
|
readonly "kind": "remote-agent";
|
|
337
360
|
readonly "principalId": string;
|
|
338
361
|
};
|
|
339
|
-
type
|
|
362
|
+
type Objects_25 = {
|
|
340
363
|
readonly "kind": "human";
|
|
341
364
|
readonly "principal": Union_9;
|
|
342
365
|
};
|
|
343
|
-
type Union_11 =
|
|
366
|
+
type Union_11 = Objects_24 | undefined;
|
|
367
|
+
type Arrays_5 = ReadonlyArray<Objects_35>;
|
|
368
|
+
type Objects_36 = {
|
|
369
|
+
readonly "changed": boolean;
|
|
370
|
+
readonly "release": number;
|
|
371
|
+
readonly "pages": ReadonlyArray<Objects_35>;
|
|
372
|
+
};
|
|
344
373
|
type Objects_1 = {
|
|
345
374
|
readonly "instanceId": string;
|
|
346
375
|
readonly "model": string;
|
|
347
376
|
readonly "options"?: Arrays_ | Arrays_1;
|
|
348
377
|
};
|
|
349
378
|
type Union_6 = ReadonlyArray<Union_> | undefined;
|
|
350
|
-
type Union_13 =
|
|
379
|
+
type Union_13 = Objects_25 | {
|
|
351
380
|
readonly "kind": "local-cli";
|
|
352
381
|
readonly "environmentId": string;
|
|
353
382
|
} | {
|
|
354
383
|
readonly "kind": "seat";
|
|
355
384
|
readonly "seatId": string;
|
|
356
|
-
} |
|
|
385
|
+
} | Objects_26 | Objects_27 | {
|
|
357
386
|
readonly "kind": "plugin";
|
|
358
387
|
readonly "pluginId": string;
|
|
359
388
|
} | {
|
|
360
389
|
readonly "kind": "system";
|
|
361
390
|
};
|
|
362
|
-
type
|
|
391
|
+
type Union_16 = Objects_25 | Objects_26 | Objects_27;
|
|
363
392
|
type Objects_6 = {
|
|
364
393
|
readonly "turnId": string;
|
|
365
394
|
readonly "state": "running" | "interrupted" | "completed" | "error";
|
|
@@ -464,7 +493,7 @@ type Objects_17 = {
|
|
|
464
493
|
readonly "nextCursor": string | null;
|
|
465
494
|
readonly "snapshotSequence": number;
|
|
466
495
|
};
|
|
467
|
-
type
|
|
496
|
+
type Objects_28 = {
|
|
468
497
|
readonly "experienceId": string;
|
|
469
498
|
readonly "revision": number;
|
|
470
499
|
readonly "baseRevision": number | null;
|
|
@@ -474,7 +503,7 @@ type Objects_24 = {
|
|
|
474
503
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
475
504
|
readonly "bodyWindow"?: Objects_14;
|
|
476
505
|
};
|
|
477
|
-
type
|
|
506
|
+
type Objects_32 = {
|
|
478
507
|
readonly "pageId": string;
|
|
479
508
|
readonly "revision": number;
|
|
480
509
|
readonly "baseRevision": number | null;
|
|
@@ -487,8 +516,19 @@ type Objects_28 = {
|
|
|
487
516
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
488
517
|
readonly "bodyWindow"?: Objects_14;
|
|
489
518
|
};
|
|
490
|
-
type
|
|
491
|
-
|
|
519
|
+
type Objects_34 = {
|
|
520
|
+
readonly "release": number;
|
|
521
|
+
readonly "pages": Arrays_5;
|
|
522
|
+
readonly "itemCount": number;
|
|
523
|
+
readonly "itemHighWater": number;
|
|
524
|
+
readonly "requiresAck": boolean;
|
|
525
|
+
readonly "restoredFromRelease": number | null;
|
|
526
|
+
readonly "sourceExperience": Union_14;
|
|
527
|
+
readonly "publishedBy": Union_13;
|
|
528
|
+
readonly "publishedAt": string;
|
|
529
|
+
};
|
|
530
|
+
type Arrays_6 = ReadonlyArray<Union_16>;
|
|
531
|
+
type Objects_39 = {
|
|
492
532
|
readonly "commentId": string;
|
|
493
533
|
readonly "workItemId": string;
|
|
494
534
|
readonly "projectId": string;
|
|
@@ -498,7 +538,7 @@ type Objects_32 = {
|
|
|
498
538
|
readonly "body": string | null;
|
|
499
539
|
readonly "bodyWindow"?: Objects_14;
|
|
500
540
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
501
|
-
readonly "mentions": ReadonlyArray<
|
|
541
|
+
readonly "mentions": ReadonlyArray<Union_16>;
|
|
502
542
|
readonly "parentId": string | null;
|
|
503
543
|
readonly "createdAt": string;
|
|
504
544
|
readonly "editedAt": string | null;
|
|
@@ -528,7 +568,7 @@ type Objects_11 = {
|
|
|
528
568
|
readonly "actions"?: ReadonlyArray<string>;
|
|
529
569
|
readonly "children": ReadonlyArray<Objects_11>;
|
|
530
570
|
};
|
|
531
|
-
type
|
|
571
|
+
type Objects_45 = {
|
|
532
572
|
readonly "role": string;
|
|
533
573
|
readonly "name"?: string;
|
|
534
574
|
readonly "value"?: string;
|
|
@@ -551,9 +591,9 @@ type Objects_38 = {
|
|
|
551
591
|
readonly "visible"?: boolean;
|
|
552
592
|
};
|
|
553
593
|
readonly "actions"?: ReadonlyArray<string>;
|
|
554
|
-
readonly "children": ReadonlyArray<
|
|
594
|
+
readonly "children": ReadonlyArray<Objects_45>;
|
|
555
595
|
};
|
|
556
|
-
type
|
|
596
|
+
type Objects_47 = {
|
|
557
597
|
readonly "role": string;
|
|
558
598
|
readonly "name"?: string;
|
|
559
599
|
readonly "value"?: string;
|
|
@@ -576,7 +616,7 @@ type Objects_40 = {
|
|
|
576
616
|
readonly "visible"?: boolean;
|
|
577
617
|
};
|
|
578
618
|
readonly "actions"?: ReadonlyArray<string>;
|
|
579
|
-
readonly "children": ReadonlyArray<
|
|
619
|
+
readonly "children": ReadonlyArray<Objects_47>;
|
|
580
620
|
};
|
|
581
621
|
export type AuthRemoteAgentsListInput = {
|
|
582
622
|
readonly "projectId": string;
|
|
@@ -1152,6 +1192,46 @@ export type ApprovalsPendingListOutput = ReadonlyArray<{
|
|
|
1152
1192
|
}> | undefined;
|
|
1153
1193
|
readonly "declineReasonRelay"?: "native" | "queued" | "none" | undefined;
|
|
1154
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
|
+
};
|
|
1155
1235
|
export type PluginsProjectConfigGetInput = {
|
|
1156
1236
|
readonly "projectId": string;
|
|
1157
1237
|
};
|
|
@@ -1163,7 +1243,7 @@ export type PluginsProjectConfigGetOutput = {
|
|
|
1163
1243
|
readonly "transport": {
|
|
1164
1244
|
readonly "type": "stdio";
|
|
1165
1245
|
readonly "command": string;
|
|
1166
|
-
readonly "args"?:
|
|
1246
|
+
readonly "args"?: Arrays_3 | undefined;
|
|
1167
1247
|
readonly "envNames": ReadonlyArray<string>;
|
|
1168
1248
|
} | {
|
|
1169
1249
|
readonly "type": "http";
|
|
@@ -1179,18 +1259,13 @@ export type PluginsProjectConfigGetOutput = {
|
|
|
1179
1259
|
readonly [x: string]: boolean;
|
|
1180
1260
|
};
|
|
1181
1261
|
readonly "catalogId"?: string | undefined;
|
|
1182
|
-
readonly "oauth"?:
|
|
1183
|
-
readonly "status": "none" | "required" | "authorized";
|
|
1184
|
-
} | undefined;
|
|
1262
|
+
readonly "oauth"?: Objects_19 | undefined;
|
|
1185
1263
|
};
|
|
1186
1264
|
};
|
|
1187
1265
|
readonly "skills"?: {
|
|
1188
1266
|
readonly [x: string]: {
|
|
1189
1267
|
readonly "name": string;
|
|
1190
|
-
readonly "source": {
|
|
1191
|
-
readonly "kind": "inline";
|
|
1192
|
-
readonly "skillMd": string;
|
|
1193
|
-
} | {
|
|
1268
|
+
readonly "source": Objects_20 | {
|
|
1194
1269
|
readonly "kind": "builtin";
|
|
1195
1270
|
readonly "id": string;
|
|
1196
1271
|
} | {
|
|
@@ -1208,6 +1283,54 @@ export type PluginsProjectConfigGetOutput = {
|
|
|
1208
1283
|
};
|
|
1209
1284
|
readonly "revision": string | null;
|
|
1210
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
|
+
};
|
|
1211
1334
|
export type PluginsInstalledListInput = {};
|
|
1212
1335
|
export type PluginsInstalledListOutput = {
|
|
1213
1336
|
readonly "plugins": ReadonlyArray<{
|
|
@@ -1394,9 +1517,9 @@ export type PluginsNotificationsListOutput = {
|
|
|
1394
1517
|
};
|
|
1395
1518
|
}>;
|
|
1396
1519
|
};
|
|
1397
|
-
export type PluginsNotificationsMarkReadInput =
|
|
1520
|
+
export type PluginsNotificationsMarkReadInput = Objects_23;
|
|
1398
1521
|
export type PluginsNotificationsMarkReadOutput = {};
|
|
1399
|
-
export type PluginsNotificationsClearInput =
|
|
1522
|
+
export type PluginsNotificationsClearInput = Objects_23;
|
|
1400
1523
|
export type PluginsNotificationsClearOutput = {};
|
|
1401
1524
|
export type PluginsSettingsCardsListInput = {};
|
|
1402
1525
|
export type PluginsSettingsCardsListOutput = {
|
|
@@ -1440,7 +1563,7 @@ export type PluginsSettingsCardsListOutput = {
|
|
|
1440
1563
|
readonly "badgeKey"?: string | undefined;
|
|
1441
1564
|
readonly "warningKey"?: string | undefined;
|
|
1442
1565
|
readonly "command": string;
|
|
1443
|
-
readonly "showWhen"?:
|
|
1566
|
+
readonly "showWhen"?: Objects_24 | undefined;
|
|
1444
1567
|
readonly "fills": ReadonlyArray<string>;
|
|
1445
1568
|
}> | undefined;
|
|
1446
1569
|
}>;
|
|
@@ -1589,7 +1712,7 @@ export type MemoryExperiencesListOutput = {
|
|
|
1589
1712
|
readonly "currentRevision": number;
|
|
1590
1713
|
readonly "createdAt": string;
|
|
1591
1714
|
readonly "updatedAt": string;
|
|
1592
|
-
readonly "supersedes":
|
|
1715
|
+
readonly "supersedes": Arrays_4;
|
|
1593
1716
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
1594
1717
|
readonly "excerpt": string | null;
|
|
1595
1718
|
}>;
|
|
@@ -1610,7 +1733,7 @@ export type MemoryExperiencesGetOutput = {
|
|
|
1610
1733
|
readonly "currentRevision": number;
|
|
1611
1734
|
readonly "createdAt": string;
|
|
1612
1735
|
readonly "updatedAt": string;
|
|
1613
|
-
readonly "supersedes":
|
|
1736
|
+
readonly "supersedes": Arrays_4;
|
|
1614
1737
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
1615
1738
|
readonly "body": string | null;
|
|
1616
1739
|
readonly "bodyWindow"?: Objects_14;
|
|
@@ -1628,7 +1751,7 @@ export type MemoryExperiencesHistoryInput = {
|
|
|
1628
1751
|
readonly "textLimit"?: number;
|
|
1629
1752
|
};
|
|
1630
1753
|
export type MemoryExperiencesHistoryOutput = {
|
|
1631
|
-
readonly "items": ReadonlyArray<
|
|
1754
|
+
readonly "items": ReadonlyArray<Objects_28>;
|
|
1632
1755
|
readonly "nextCursor": string | null;
|
|
1633
1756
|
};
|
|
1634
1757
|
export type MemoryRevisionsGetInput = {
|
|
@@ -1638,7 +1761,7 @@ export type MemoryRevisionsGetInput = {
|
|
|
1638
1761
|
readonly "textOffset"?: number;
|
|
1639
1762
|
readonly "textLimit"?: number;
|
|
1640
1763
|
};
|
|
1641
|
-
export type MemoryRevisionsGetOutput =
|
|
1764
|
+
export type MemoryRevisionsGetOutput = Objects_28;
|
|
1642
1765
|
export type MemorySearchInput = {
|
|
1643
1766
|
readonly "projectId": string;
|
|
1644
1767
|
readonly "text": string;
|
|
@@ -1674,7 +1797,7 @@ export type MemoryExperiencesRecordInput = {
|
|
|
1674
1797
|
};
|
|
1675
1798
|
export type MemoryExperiencesRecordOutput = {
|
|
1676
1799
|
readonly "sequence": number;
|
|
1677
|
-
readonly "result":
|
|
1800
|
+
readonly "result": Objects_29;
|
|
1678
1801
|
};
|
|
1679
1802
|
export type MemoryExperiencesReviseInput = {
|
|
1680
1803
|
readonly "projectId": string;
|
|
@@ -1685,13 +1808,13 @@ export type MemoryExperiencesReviseInput = {
|
|
|
1685
1808
|
};
|
|
1686
1809
|
export type MemoryExperiencesReviseOutput = {
|
|
1687
1810
|
readonly "sequence": number;
|
|
1688
|
-
readonly "result":
|
|
1811
|
+
readonly "result": Objects_29;
|
|
1689
1812
|
};
|
|
1690
|
-
export type MemoryExperiencesForgetInput =
|
|
1691
|
-
export type MemoryExperiencesForgetOutput =
|
|
1692
|
-
export type MemoryExperiencesRestoreInput =
|
|
1693
|
-
export type MemoryExperiencesRestoreOutput =
|
|
1694
|
-
export type MemoryExperiencesEraseInput =
|
|
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;
|
|
1695
1818
|
export type MemoryExperiencesEraseOutput = {
|
|
1696
1819
|
readonly "sequence": number;
|
|
1697
1820
|
readonly "result": {
|
|
@@ -1755,7 +1878,7 @@ export type MemoryPagesHistoryInput = {
|
|
|
1755
1878
|
readonly "textLimit"?: number;
|
|
1756
1879
|
};
|
|
1757
1880
|
export type MemoryPagesHistoryOutput = {
|
|
1758
|
-
readonly "items": ReadonlyArray<
|
|
1881
|
+
readonly "items": ReadonlyArray<Objects_32>;
|
|
1759
1882
|
readonly "nextCursor": string | null;
|
|
1760
1883
|
};
|
|
1761
1884
|
export type MemoryPageRevisionsGetInput = {
|
|
@@ -1765,7 +1888,7 @@ export type MemoryPageRevisionsGetInput = {
|
|
|
1765
1888
|
readonly "textOffset"?: number;
|
|
1766
1889
|
readonly "textLimit"?: number;
|
|
1767
1890
|
};
|
|
1768
|
-
export type MemoryPageRevisionsGetOutput =
|
|
1891
|
+
export type MemoryPageRevisionsGetOutput = Objects_32;
|
|
1769
1892
|
export type MemoryPagesCreateInput = {
|
|
1770
1893
|
readonly "projectId": string;
|
|
1771
1894
|
readonly "requestId"?: string;
|
|
@@ -1778,7 +1901,7 @@ export type MemoryPagesCreateInput = {
|
|
|
1778
1901
|
};
|
|
1779
1902
|
export type MemoryPagesCreateOutput = {
|
|
1780
1903
|
readonly "sequence": number;
|
|
1781
|
-
readonly "result":
|
|
1904
|
+
readonly "result": Objects_33;
|
|
1782
1905
|
};
|
|
1783
1906
|
export type MemoryPagesEditInput = {
|
|
1784
1907
|
readonly "projectId": string;
|
|
@@ -1791,7 +1914,7 @@ export type MemoryPagesEditInput = {
|
|
|
1791
1914
|
};
|
|
1792
1915
|
export type MemoryPagesEditOutput = {
|
|
1793
1916
|
readonly "sequence": number;
|
|
1794
|
-
readonly "result":
|
|
1917
|
+
readonly "result": Objects_33;
|
|
1795
1918
|
};
|
|
1796
1919
|
export type MemoryPagesRestoreInput = {
|
|
1797
1920
|
readonly "projectId": string;
|
|
@@ -1802,7 +1925,7 @@ export type MemoryPagesRestoreInput = {
|
|
|
1802
1925
|
};
|
|
1803
1926
|
export type MemoryPagesRestoreOutput = {
|
|
1804
1927
|
readonly "sequence": number;
|
|
1805
|
-
readonly "result":
|
|
1928
|
+
readonly "result": Objects_33;
|
|
1806
1929
|
};
|
|
1807
1930
|
export type MemoryPagesEraseInput = {
|
|
1808
1931
|
readonly "projectId": string;
|
|
@@ -1815,6 +1938,77 @@ export type MemoryPagesEraseOutput = {
|
|
|
1815
1938
|
readonly "pageId": string;
|
|
1816
1939
|
};
|
|
1817
1940
|
};
|
|
1941
|
+
export type MemoryHandbookGetInput = {
|
|
1942
|
+
readonly "projectId": string;
|
|
1943
|
+
readonly "textOffset"?: number;
|
|
1944
|
+
readonly "textLimit"?: number;
|
|
1945
|
+
};
|
|
1946
|
+
export type MemoryHandbookGetOutput = {
|
|
1947
|
+
readonly "head": {
|
|
1948
|
+
readonly "current": Objects_34;
|
|
1949
|
+
readonly "pages": ReadonlyArray<Objects_32>;
|
|
1950
|
+
} | null;
|
|
1951
|
+
};
|
|
1952
|
+
export type MemoryHandbookReleasesListInput = {
|
|
1953
|
+
readonly "projectId": string;
|
|
1954
|
+
readonly "cursor"?: string;
|
|
1955
|
+
readonly "limit"?: number;
|
|
1956
|
+
};
|
|
1957
|
+
export type MemoryHandbookReleasesListOutput = {
|
|
1958
|
+
readonly "items": ReadonlyArray<Objects_34>;
|
|
1959
|
+
readonly "nextCursor": string | null;
|
|
1960
|
+
};
|
|
1961
|
+
export type MemoryHandbookReleasesGetInput = {
|
|
1962
|
+
readonly "projectId": string;
|
|
1963
|
+
readonly "release": number;
|
|
1964
|
+
};
|
|
1965
|
+
export type MemoryHandbookReleasesGetOutput = {
|
|
1966
|
+
readonly "release": number;
|
|
1967
|
+
readonly "pages": Arrays_5;
|
|
1968
|
+
readonly "itemCount": number;
|
|
1969
|
+
readonly "itemHighWater": number;
|
|
1970
|
+
readonly "requiresAck": boolean;
|
|
1971
|
+
readonly "restoredFromRelease": number | null;
|
|
1972
|
+
readonly "sourceExperience": Union_14;
|
|
1973
|
+
readonly "publishedBy": Union_13;
|
|
1974
|
+
readonly "publishedAt": string;
|
|
1975
|
+
readonly "items": ReadonlyArray<{
|
|
1976
|
+
readonly "itemNumber": number;
|
|
1977
|
+
readonly "pageKind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
|
|
1978
|
+
}>;
|
|
1979
|
+
};
|
|
1980
|
+
export type MemoryHandbookPublishInput = {
|
|
1981
|
+
readonly "projectId": string;
|
|
1982
|
+
readonly "requestId"?: string;
|
|
1983
|
+
readonly "expectedRelease": number;
|
|
1984
|
+
readonly "pages": ReadonlyArray<{
|
|
1985
|
+
readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
|
|
1986
|
+
readonly "baseRevision": number | null;
|
|
1987
|
+
readonly "title"?: string;
|
|
1988
|
+
readonly "body": string;
|
|
1989
|
+
readonly "changeSummary"?: string;
|
|
1990
|
+
}>;
|
|
1991
|
+
readonly "requireAck"?: boolean;
|
|
1992
|
+
readonly "sourceExperience"?: {
|
|
1993
|
+
readonly "experienceId": string;
|
|
1994
|
+
readonly "revision": number;
|
|
1995
|
+
};
|
|
1996
|
+
};
|
|
1997
|
+
export type MemoryHandbookPublishOutput = {
|
|
1998
|
+
readonly "sequence": number;
|
|
1999
|
+
readonly "result": Objects_36;
|
|
2000
|
+
};
|
|
2001
|
+
export type MemoryHandbookRevertInput = {
|
|
2002
|
+
readonly "projectId": string;
|
|
2003
|
+
readonly "requestId"?: string;
|
|
2004
|
+
readonly "expectedRelease": number;
|
|
2005
|
+
readonly "toRelease": number;
|
|
2006
|
+
readonly "requireAck"?: boolean;
|
|
2007
|
+
};
|
|
2008
|
+
export type MemoryHandbookRevertOutput = {
|
|
2009
|
+
readonly "sequence": number;
|
|
2010
|
+
readonly "result": Objects_36;
|
|
2011
|
+
};
|
|
1818
2012
|
export type WorkRemoteAgentPendingGetInput = {
|
|
1819
2013
|
readonly "projectId": string;
|
|
1820
2014
|
readonly "principalId"?: string;
|
|
@@ -1861,7 +2055,7 @@ export type WorkItemsListInput = {
|
|
|
1861
2055
|
readonly "projectId": string;
|
|
1862
2056
|
readonly "stateIds"?: ReadonlyArray<string>;
|
|
1863
2057
|
readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">;
|
|
1864
|
-
readonly "assignees"?: ReadonlyArray<
|
|
2058
|
+
readonly "assignees"?: ReadonlyArray<Union_15 | "me" | "none">;
|
|
1865
2059
|
readonly "orderBy"?: "created" | "updated";
|
|
1866
2060
|
readonly "cursor"?: string | null;
|
|
1867
2061
|
readonly "limit"?: number;
|
|
@@ -1873,10 +2067,10 @@ export type WorkItemsListOutput = {
|
|
|
1873
2067
|
readonly "sequenceId": number;
|
|
1874
2068
|
readonly "title": string | null;
|
|
1875
2069
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
1876
|
-
readonly "state":
|
|
2070
|
+
readonly "state": Objects_37;
|
|
1877
2071
|
readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
|
|
1878
|
-
readonly "assignees":
|
|
1879
|
-
readonly "labelIds":
|
|
2072
|
+
readonly "assignees": Arrays_6;
|
|
2073
|
+
readonly "labelIds": Arrays_7;
|
|
1880
2074
|
readonly "parentId": string | null;
|
|
1881
2075
|
readonly "startDate": string | null;
|
|
1882
2076
|
readonly "targetDate": string | null;
|
|
@@ -1885,9 +2079,9 @@ export type WorkItemsListOutput = {
|
|
|
1885
2079
|
readonly "archivedAt": string | null;
|
|
1886
2080
|
readonly "version": number;
|
|
1887
2081
|
readonly "revision": number;
|
|
1888
|
-
readonly "blockedBy":
|
|
2082
|
+
readonly "blockedBy": Arrays_8;
|
|
1889
2083
|
readonly "blockedByTotal": number;
|
|
1890
|
-
readonly "childCounts":
|
|
2084
|
+
readonly "childCounts": Objects_38;
|
|
1891
2085
|
readonly "createdBy": Union_13;
|
|
1892
2086
|
readonly "createdAt": string;
|
|
1893
2087
|
readonly "updatedAt": string;
|
|
@@ -1915,10 +2109,10 @@ export type WorkItemsGetOutput = {
|
|
|
1915
2109
|
readonly "sequenceId": number;
|
|
1916
2110
|
readonly "title": string | null;
|
|
1917
2111
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
1918
|
-
readonly "state":
|
|
2112
|
+
readonly "state": Objects_37;
|
|
1919
2113
|
readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
|
|
1920
|
-
readonly "assignees":
|
|
1921
|
-
readonly "labelIds":
|
|
2114
|
+
readonly "assignees": Arrays_6;
|
|
2115
|
+
readonly "labelIds": Arrays_7;
|
|
1922
2116
|
readonly "parentId": string | null;
|
|
1923
2117
|
readonly "startDate": string | null;
|
|
1924
2118
|
readonly "targetDate": string | null;
|
|
@@ -1927,9 +2121,9 @@ export type WorkItemsGetOutput = {
|
|
|
1927
2121
|
readonly "archivedAt": string | null;
|
|
1928
2122
|
readonly "version": number;
|
|
1929
2123
|
readonly "revision": number;
|
|
1930
|
-
readonly "blockedBy":
|
|
2124
|
+
readonly "blockedBy": Arrays_8;
|
|
1931
2125
|
readonly "blockedByTotal": number;
|
|
1932
|
-
readonly "childCounts":
|
|
2126
|
+
readonly "childCounts": Objects_38;
|
|
1933
2127
|
readonly "createdBy": Union_13;
|
|
1934
2128
|
readonly "createdAt": string;
|
|
1935
2129
|
readonly "updatedAt": string;
|
|
@@ -1973,7 +2167,7 @@ export type WorkCommentsListInput = {
|
|
|
1973
2167
|
readonly "textLimit"?: number;
|
|
1974
2168
|
};
|
|
1975
2169
|
export type WorkCommentsListOutput = {
|
|
1976
|
-
readonly "items": ReadonlyArray<
|
|
2170
|
+
readonly "items": ReadonlyArray<Objects_39>;
|
|
1977
2171
|
readonly "nextCursor": string | null;
|
|
1978
2172
|
readonly "snapshotSequence": number;
|
|
1979
2173
|
};
|
|
@@ -1984,7 +2178,7 @@ export type WorkCommentsGetInput = {
|
|
|
1984
2178
|
readonly "textLimit"?: number;
|
|
1985
2179
|
};
|
|
1986
2180
|
export type WorkCommentsGetOutput = {
|
|
1987
|
-
readonly "comment":
|
|
2181
|
+
readonly "comment": Objects_39;
|
|
1988
2182
|
readonly "snapshotSequence": number;
|
|
1989
2183
|
};
|
|
1990
2184
|
export type WorkHistoryListInput = {
|
|
@@ -2012,12 +2206,12 @@ export type WorkHistoryListOutput = {
|
|
|
2012
2206
|
readonly "newRevision": number | null;
|
|
2013
2207
|
} | {
|
|
2014
2208
|
readonly "field": "state";
|
|
2015
|
-
readonly "old":
|
|
2016
|
-
readonly "new":
|
|
2209
|
+
readonly "old": Objects_40 | null;
|
|
2210
|
+
readonly "new": Objects_40 | null;
|
|
2017
2211
|
} | {
|
|
2018
2212
|
readonly "field": "assignees" | "mentions";
|
|
2019
|
-
readonly "old": ReadonlyArray<
|
|
2020
|
-
readonly "new": ReadonlyArray<
|
|
2213
|
+
readonly "old": ReadonlyArray<Union_16>;
|
|
2214
|
+
readonly "new": ReadonlyArray<Union_16>;
|
|
2021
2215
|
} | {
|
|
2022
2216
|
readonly "field": "completedAt";
|
|
2023
2217
|
readonly "old": string | null;
|
|
@@ -2034,7 +2228,7 @@ export type WorkItemsCreateInput = {
|
|
|
2034
2228
|
readonly "title": string;
|
|
2035
2229
|
readonly "description"?: string;
|
|
2036
2230
|
readonly "stateId"?: string;
|
|
2037
|
-
readonly "assignees"?: ReadonlyArray<
|
|
2231
|
+
readonly "assignees"?: ReadonlyArray<Union_15>;
|
|
2038
2232
|
};
|
|
2039
2233
|
export type WorkItemsCreateOutput = {
|
|
2040
2234
|
readonly "sequence": number;
|
|
@@ -2053,7 +2247,7 @@ export type WorkItemsUpdateInput = {
|
|
|
2053
2247
|
readonly "title"?: string;
|
|
2054
2248
|
readonly "description"?: string;
|
|
2055
2249
|
readonly "stateId"?: string;
|
|
2056
|
-
readonly "assignees"?: ReadonlyArray<
|
|
2250
|
+
readonly "assignees"?: ReadonlyArray<Union_15>;
|
|
2057
2251
|
};
|
|
2058
2252
|
export type WorkItemsUpdateOutput = {
|
|
2059
2253
|
readonly "sequence": number;
|
|
@@ -2077,15 +2271,15 @@ export type WorkItemsClaimOutput = {
|
|
|
2077
2271
|
readonly "version": number;
|
|
2078
2272
|
};
|
|
2079
2273
|
};
|
|
2080
|
-
export type WorkRelationsAddInput =
|
|
2274
|
+
export type WorkRelationsAddInput = Objects_41;
|
|
2081
2275
|
export type WorkRelationsAddOutput = {
|
|
2082
2276
|
readonly "sequence": number;
|
|
2083
|
-
readonly "result":
|
|
2277
|
+
readonly "result": Objects_42;
|
|
2084
2278
|
};
|
|
2085
|
-
export type WorkRelationsRemoveInput =
|
|
2279
|
+
export type WorkRelationsRemoveInput = Objects_41;
|
|
2086
2280
|
export type WorkRelationsRemoveOutput = {
|
|
2087
2281
|
readonly "sequence": number;
|
|
2088
|
-
readonly "result":
|
|
2282
|
+
readonly "result": Objects_42;
|
|
2089
2283
|
};
|
|
2090
2284
|
export type WorkCommentsPostInput = {
|
|
2091
2285
|
readonly "projectId": string;
|
|
@@ -2093,7 +2287,7 @@ export type WorkCommentsPostInput = {
|
|
|
2093
2287
|
readonly "commentId"?: string;
|
|
2094
2288
|
readonly "workItemId": string;
|
|
2095
2289
|
readonly "body": string;
|
|
2096
|
-
readonly "mentions"?: ReadonlyArray<
|
|
2290
|
+
readonly "mentions"?: ReadonlyArray<Union_15>;
|
|
2097
2291
|
readonly "parentId"?: string;
|
|
2098
2292
|
};
|
|
2099
2293
|
export type WorkCommentsPostOutput = {
|
|
@@ -2103,6 +2297,49 @@ export type WorkCommentsPostOutput = {
|
|
|
2103
2297
|
readonly "revision": number;
|
|
2104
2298
|
};
|
|
2105
2299
|
};
|
|
2300
|
+
export type ThreadsCreateInput = {
|
|
2301
|
+
readonly "requestId"?: string;
|
|
2302
|
+
readonly "threadId": string;
|
|
2303
|
+
readonly "projectId": string;
|
|
2304
|
+
readonly "title": string;
|
|
2305
|
+
readonly "modelSelection": {
|
|
2306
|
+
readonly "instanceId": string;
|
|
2307
|
+
readonly "model": string;
|
|
2308
|
+
readonly "options"?: Union_17;
|
|
2309
|
+
};
|
|
2310
|
+
readonly "executionSelection"?: {
|
|
2311
|
+
readonly "environmentId": string;
|
|
2312
|
+
readonly "runtimeId": string;
|
|
2313
|
+
readonly "sourceId": string;
|
|
2314
|
+
readonly "profileId": string;
|
|
2315
|
+
readonly "endpointId"?: string;
|
|
2316
|
+
readonly "optionOverrides": Arrays_2;
|
|
2317
|
+
readonly "expectedRevisions": Objects_8;
|
|
2318
|
+
};
|
|
2319
|
+
readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
|
|
2320
|
+
readonly "interactionMode": "default" | "plan";
|
|
2321
|
+
readonly "branch": string | null;
|
|
2322
|
+
readonly "worktreePath": string | null;
|
|
2323
|
+
readonly "startFolderId"?: string;
|
|
2324
|
+
readonly "folderIds"?: ReadonlyArray<string>;
|
|
2325
|
+
readonly "origin"?: {
|
|
2326
|
+
readonly "parentThreadId": string;
|
|
2327
|
+
readonly "delegationDepth": number;
|
|
2328
|
+
readonly "requestedBy": "agent" | "continuation";
|
|
2329
|
+
readonly "notificationPolicy"?: "wake" | "activity-only";
|
|
2330
|
+
};
|
|
2331
|
+
readonly "presetId"?: string;
|
|
2332
|
+
};
|
|
2333
|
+
export type ThreadsCreateOutput = Objects_43;
|
|
2334
|
+
export type ThreadsForkInput = {
|
|
2335
|
+
readonly "requestId"?: string;
|
|
2336
|
+
readonly "threadId": string;
|
|
2337
|
+
readonly "sourceThreadId": string;
|
|
2338
|
+
readonly "sourceMessageId": string;
|
|
2339
|
+
readonly "startFolderId"?: string;
|
|
2340
|
+
readonly "folderIds"?: ReadonlyArray<string>;
|
|
2341
|
+
};
|
|
2342
|
+
export type ThreadsForkOutput = Objects_43;
|
|
2106
2343
|
export type ThreadsUpdateInput = {
|
|
2107
2344
|
readonly "threadId": string;
|
|
2108
2345
|
readonly "requestId"?: string;
|
|
@@ -2111,7 +2348,7 @@ export type ThreadsUpdateInput = {
|
|
|
2111
2348
|
readonly "modelSelection"?: {
|
|
2112
2349
|
readonly "instanceId": string;
|
|
2113
2350
|
readonly "model": string;
|
|
2114
|
-
readonly "options"?:
|
|
2351
|
+
readonly "options"?: Union_17;
|
|
2115
2352
|
};
|
|
2116
2353
|
readonly "executionSelection"?: {
|
|
2117
2354
|
readonly "environmentId": string;
|
|
@@ -2133,7 +2370,7 @@ export type ThreadsUpdateInput = {
|
|
|
2133
2370
|
} | null;
|
|
2134
2371
|
readonly "presetId"?: string | null;
|
|
2135
2372
|
};
|
|
2136
|
-
export type ThreadsUpdateOutput =
|
|
2373
|
+
export type ThreadsUpdateOutput = Objects_43;
|
|
2137
2374
|
export type ThreadsTurnsStartInput = {
|
|
2138
2375
|
readonly "requestId"?: string;
|
|
2139
2376
|
readonly "threadId": string;
|
|
@@ -2147,7 +2384,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
2147
2384
|
readonly "mimeType": string;
|
|
2148
2385
|
readonly "sizeBytes": number;
|
|
2149
2386
|
readonly "dataUrl": string;
|
|
2150
|
-
readonly "source"?:
|
|
2387
|
+
readonly "source"?: Objects_44;
|
|
2151
2388
|
} | {
|
|
2152
2389
|
readonly "type": "file";
|
|
2153
2390
|
readonly "name": string;
|
|
@@ -2160,7 +2397,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
2160
2397
|
readonly "name": string;
|
|
2161
2398
|
readonly "mimeType": string;
|
|
2162
2399
|
readonly "sizeBytes": number;
|
|
2163
|
-
readonly "source"?:
|
|
2400
|
+
readonly "source"?: Objects_44 | Objects_46;
|
|
2164
2401
|
} | {
|
|
2165
2402
|
readonly "type": "file";
|
|
2166
2403
|
readonly "id": string;
|
|
@@ -2169,7 +2406,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
2169
2406
|
readonly "sizeBytes": number;
|
|
2170
2407
|
readonly "source"?: {
|
|
2171
2408
|
readonly "_tag": "pasted-text";
|
|
2172
|
-
} |
|
|
2409
|
+
} | Objects_46 | {
|
|
2173
2410
|
readonly "_tag": "thread-reference";
|
|
2174
2411
|
readonly "environmentId": string;
|
|
2175
2412
|
readonly "threadId": string;
|
|
@@ -2179,7 +2416,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
2179
2416
|
readonly "modelSelection"?: {
|
|
2180
2417
|
readonly "instanceId": string;
|
|
2181
2418
|
readonly "model": string;
|
|
2182
|
-
readonly "options"?:
|
|
2419
|
+
readonly "options"?: Union_17;
|
|
2183
2420
|
};
|
|
2184
2421
|
readonly "titleSeed"?: string;
|
|
2185
2422
|
readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
|
|
@@ -2287,11 +2524,11 @@ export type ThreadsUserInputRespondInput = {
|
|
|
2287
2524
|
readonly "height": number;
|
|
2288
2525
|
};
|
|
2289
2526
|
readonly "truncated": boolean;
|
|
2290
|
-
readonly "root":
|
|
2527
|
+
readonly "root": Objects_47;
|
|
2291
2528
|
};
|
|
2292
2529
|
readonly "appIdentifier"?: string;
|
|
2293
2530
|
readonly "appIconDataUrl"?: string;
|
|
2294
|
-
} |
|
|
2531
|
+
} | Objects_48;
|
|
2295
2532
|
} | {
|
|
2296
2533
|
readonly "type": "file";
|
|
2297
2534
|
readonly "id": string;
|
|
@@ -2300,7 +2537,7 @@ export type ThreadsUserInputRespondInput = {
|
|
|
2300
2537
|
readonly "sizeBytes": number;
|
|
2301
2538
|
readonly "source"?: {
|
|
2302
2539
|
readonly "_tag": "pasted-text";
|
|
2303
|
-
} |
|
|
2540
|
+
} | Objects_48 | {
|
|
2304
2541
|
readonly "_tag": "thread-reference";
|
|
2305
2542
|
readonly "environmentId": string;
|
|
2306
2543
|
readonly "threadId": string;
|
|
@@ -2308,7 +2545,7 @@ export type ThreadsUserInputRespondInput = {
|
|
|
2308
2545
|
}>;
|
|
2309
2546
|
};
|
|
2310
2547
|
};
|
|
2311
|
-
export type ThreadsUserInputRespondOutput =
|
|
2548
|
+
export type ThreadsUserInputRespondOutput = Objects_43;
|
|
2312
2549
|
export type CommunicationPeopleCurrentInput = {};
|
|
2313
2550
|
export type CommunicationPeopleCurrentOutput = {
|
|
2314
2551
|
readonly "person": Union_9 | null;
|
|
@@ -2336,6 +2573,8 @@ export interface PluginDataPorts {
|
|
|
2336
2573
|
readonly activities: {
|
|
2337
2574
|
readonly list: (input: ThreadsActivitiesListInput) => Promise<ThreadsActivitiesListOutput>;
|
|
2338
2575
|
};
|
|
2576
|
+
readonly create: (input: ThreadsCreateInput) => Promise<ThreadsCreateOutput>;
|
|
2577
|
+
readonly fork: (input: ThreadsForkInput) => Promise<ThreadsForkOutput>;
|
|
2339
2578
|
readonly update: (input: ThreadsUpdateInput) => Promise<ThreadsUpdateOutput>;
|
|
2340
2579
|
readonly turns: {
|
|
2341
2580
|
readonly start: (input: ThreadsTurnsStartInput) => Promise<ThreadsTurnsStartOutput>;
|
|
@@ -2372,9 +2611,19 @@ export interface PluginDataPorts {
|
|
|
2372
2611
|
readonly list: (input: ApprovalsPendingListInput) => Promise<ApprovalsPendingListOutput>;
|
|
2373
2612
|
};
|
|
2374
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
|
+
};
|
|
2375
2623
|
readonly plugins: {
|
|
2376
2624
|
readonly projectConfig: {
|
|
2377
2625
|
readonly get: (input: PluginsProjectConfigGetInput) => Promise<PluginsProjectConfigGetOutput>;
|
|
2626
|
+
readonly update: (input: PluginsProjectConfigUpdateInput) => Promise<PluginsProjectConfigUpdateOutput>;
|
|
2378
2627
|
};
|
|
2379
2628
|
readonly installed: {
|
|
2380
2629
|
readonly list: (input: PluginsInstalledListInput) => Promise<PluginsInstalledListOutput>;
|
|
@@ -2423,6 +2672,15 @@ export interface PluginDataPorts {
|
|
|
2423
2672
|
readonly pageRevisions: {
|
|
2424
2673
|
readonly get: (input: MemoryPageRevisionsGetInput) => Promise<MemoryPageRevisionsGetOutput>;
|
|
2425
2674
|
};
|
|
2675
|
+
readonly handbook: {
|
|
2676
|
+
readonly get: (input: MemoryHandbookGetInput) => Promise<MemoryHandbookGetOutput>;
|
|
2677
|
+
readonly releases: {
|
|
2678
|
+
readonly list: (input: MemoryHandbookReleasesListInput) => Promise<MemoryHandbookReleasesListOutput>;
|
|
2679
|
+
readonly get: (input: MemoryHandbookReleasesGetInput) => Promise<MemoryHandbookReleasesGetOutput>;
|
|
2680
|
+
};
|
|
2681
|
+
readonly publish: (input: MemoryHandbookPublishInput) => Promise<MemoryHandbookPublishOutput>;
|
|
2682
|
+
readonly revert: (input: MemoryHandbookRevertInput) => Promise<MemoryHandbookRevertOutput>;
|
|
2683
|
+
};
|
|
2426
2684
|
};
|
|
2427
2685
|
readonly work: {
|
|
2428
2686
|
readonly remoteAgentPending: {
|
|
@@ -2468,6 +2726,12 @@ export interface PluginAsPersonPorts {
|
|
|
2468
2726
|
readonly post: (input: WorkCommentsPostInput) => Promise<WorkCommentsPostOutput>;
|
|
2469
2727
|
};
|
|
2470
2728
|
};
|
|
2729
|
+
readonly memory: {
|
|
2730
|
+
readonly handbook: {
|
|
2731
|
+
readonly publish: (input: MemoryHandbookPublishInput) => Promise<MemoryHandbookPublishOutput>;
|
|
2732
|
+
readonly revert: (input: MemoryHandbookRevertInput) => Promise<MemoryHandbookRevertOutput>;
|
|
2733
|
+
};
|
|
2734
|
+
};
|
|
2471
2735
|
}
|
|
2472
2736
|
/** 当前读者的端口(`invocation.viewer`):只在本次客户端命令调用内有效,每次读现核资格。 */
|
|
2473
2737
|
export interface PluginViewerPorts {
|
|
@@ -2477,5 +2741,15 @@ export interface PluginViewerPorts {
|
|
|
2477
2741
|
};
|
|
2478
2742
|
};
|
|
2479
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
|
+
}
|
|
2480
2754
|
export {};
|
|
2481
2755
|
//# sourceMappingURL=dataPorts.gen.d.ts.map
|