@ycodium-ai/plugin-api 0.2.3114 → 0.2.3120
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 +9 -0
- package/dist/dataPorts.gen.d.ts +592 -94
- package/dist/dataPorts.gen.d.ts.map +1 -1
- package/dist/dataPorts.gen.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/plugin-tools.d.ts +22 -3
- package/dist/plugin-tools.d.ts.map +1 -1
- package/dist/pluginContextCommands.d.ts +13 -1
- package/dist/pluginContextCommands.d.ts.map +1 -1
- package/dist/ui.d.ts +11 -1
- package/dist/ui.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/dataPorts.gen.d.ts
CHANGED
|
@@ -141,7 +141,20 @@ type Objects_18 = {
|
|
|
141
141
|
readonly "requestId"?: string;
|
|
142
142
|
readonly "recordId": string;
|
|
143
143
|
};
|
|
144
|
-
type
|
|
144
|
+
type Objects_19 = {
|
|
145
|
+
readonly "ids": readonly [string, ...Array<string>];
|
|
146
|
+
};
|
|
147
|
+
type Union_10 = ReadonlyArray<{
|
|
148
|
+
readonly "value": string;
|
|
149
|
+
readonly "label"?: string | undefined;
|
|
150
|
+
readonly "labelKey"?: string | undefined;
|
|
151
|
+
readonly "icon"?: string | undefined;
|
|
152
|
+
}> | undefined;
|
|
153
|
+
type Objects_20 = {
|
|
154
|
+
readonly "key": string;
|
|
155
|
+
readonly "equals": ReadonlyArray<string>;
|
|
156
|
+
};
|
|
157
|
+
type Union_12 = {
|
|
145
158
|
readonly "key": string;
|
|
146
159
|
readonly "values"?: {
|
|
147
160
|
readonly [x: string]: string | number;
|
|
@@ -149,74 +162,83 @@ type Union_10 = {
|
|
|
149
162
|
} | {
|
|
150
163
|
readonly "text": string;
|
|
151
164
|
};
|
|
152
|
-
type
|
|
165
|
+
type Objects_22 = {
|
|
153
166
|
readonly "kind": "agent";
|
|
154
167
|
readonly "threadId": string;
|
|
155
168
|
};
|
|
156
|
-
type
|
|
169
|
+
type Objects_23 = {
|
|
157
170
|
readonly "kind": "remote-agent";
|
|
158
171
|
readonly "principalId": string;
|
|
159
172
|
};
|
|
160
173
|
type Arrays_3 = ReadonlyArray<string>;
|
|
161
|
-
type
|
|
174
|
+
type Objects_25 = {
|
|
162
175
|
readonly "experienceId": string;
|
|
163
176
|
readonly "revision": number;
|
|
164
177
|
};
|
|
165
|
-
type
|
|
178
|
+
type Objects_26 = {
|
|
166
179
|
readonly "projectId": string;
|
|
167
180
|
readonly "requestId"?: string;
|
|
168
181
|
readonly "experienceId": string;
|
|
169
182
|
};
|
|
170
|
-
type
|
|
183
|
+
type Objects_27 = {
|
|
171
184
|
readonly "sequence": number;
|
|
172
185
|
readonly "result": {
|
|
173
186
|
readonly "experienceId": string;
|
|
174
187
|
readonly "status": "active" | "forgotten";
|
|
175
188
|
};
|
|
176
189
|
};
|
|
177
|
-
type
|
|
190
|
+
type Objects_29 = {
|
|
178
191
|
readonly "pageId": string;
|
|
179
192
|
readonly "revision": number;
|
|
180
193
|
};
|
|
181
|
-
type
|
|
194
|
+
type Objects_31 = {
|
|
195
|
+
readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
|
|
196
|
+
readonly "pageId": string;
|
|
197
|
+
readonly "revision": number;
|
|
198
|
+
};
|
|
199
|
+
type Union_14 = {
|
|
200
|
+
readonly "experienceId": string;
|
|
201
|
+
readonly "revision": number;
|
|
202
|
+
} | null;
|
|
203
|
+
type Objects_33 = {
|
|
182
204
|
readonly "stateId": string;
|
|
183
205
|
readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
|
|
184
206
|
readonly "name": string;
|
|
185
207
|
};
|
|
186
|
-
type Arrays_5 = ReadonlyArray<string>;
|
|
187
208
|
type Arrays_6 = ReadonlyArray<string>;
|
|
188
|
-
type
|
|
209
|
+
type Arrays_7 = ReadonlyArray<string>;
|
|
210
|
+
type Objects_34 = {
|
|
189
211
|
readonly "total": number;
|
|
190
212
|
readonly "completed": number;
|
|
191
213
|
readonly "cancelled": number;
|
|
192
214
|
};
|
|
193
|
-
type
|
|
215
|
+
type Objects_36 = {
|
|
194
216
|
readonly "stateId": string;
|
|
195
217
|
readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
|
|
196
218
|
};
|
|
197
|
-
type
|
|
219
|
+
type Objects_37 = {
|
|
198
220
|
readonly "projectId": string;
|
|
199
221
|
readonly "requestId"?: string;
|
|
200
222
|
readonly "workItemId": string;
|
|
201
223
|
readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
|
|
202
224
|
readonly "relatedWorkItemId": string;
|
|
203
225
|
};
|
|
204
|
-
type
|
|
226
|
+
type Objects_38 = {
|
|
205
227
|
readonly "workItemId": string;
|
|
206
228
|
readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
|
|
207
229
|
readonly "relatedWorkItemId": string;
|
|
208
230
|
};
|
|
209
|
-
type
|
|
231
|
+
type Union_17 = ReadonlyArray<{
|
|
210
232
|
readonly "id": string;
|
|
211
233
|
readonly "value": string | boolean;
|
|
212
234
|
}> | {
|
|
213
235
|
readonly [x: string]: unknown;
|
|
214
236
|
};
|
|
215
|
-
type
|
|
237
|
+
type Objects_39 = {
|
|
216
238
|
readonly "sequence": number;
|
|
217
239
|
readonly "status": "accepted" | "noop";
|
|
218
240
|
};
|
|
219
|
-
type
|
|
241
|
+
type Objects_40 = {
|
|
220
242
|
readonly "_tag": "snap-shot";
|
|
221
243
|
readonly "capturedAt": string;
|
|
222
244
|
readonly "appName": string;
|
|
@@ -234,18 +256,18 @@ type Objects_35 = {
|
|
|
234
256
|
readonly "height": number;
|
|
235
257
|
};
|
|
236
258
|
readonly "truncated": boolean;
|
|
237
|
-
readonly "root":
|
|
259
|
+
readonly "root": Objects_41;
|
|
238
260
|
};
|
|
239
261
|
readonly "appIdentifier"?: string;
|
|
240
262
|
readonly "appIconDataUrl"?: string;
|
|
241
263
|
};
|
|
242
|
-
type
|
|
264
|
+
type Objects_42 = {
|
|
243
265
|
readonly "_tag": "agent-artifact";
|
|
244
266
|
readonly "sourcePath": string;
|
|
245
267
|
readonly "linkBase"?: string;
|
|
246
268
|
readonly "toolCallId"?: string;
|
|
247
269
|
};
|
|
248
|
-
type
|
|
270
|
+
type Objects_44 = {
|
|
249
271
|
readonly "_tag": "agent-artifact";
|
|
250
272
|
readonly "sourcePath": string;
|
|
251
273
|
readonly "linkBase"?: string;
|
|
@@ -313,7 +335,7 @@ type Union_7 = {
|
|
|
313
335
|
readonly "turnId"?: string | undefined;
|
|
314
336
|
readonly "at": string;
|
|
315
337
|
} | null;
|
|
316
|
-
type
|
|
338
|
+
type Union_15 = {
|
|
317
339
|
readonly "kind": "human";
|
|
318
340
|
readonly "principal": Union_8;
|
|
319
341
|
} | {
|
|
@@ -323,29 +345,36 @@ type Union_12 = {
|
|
|
323
345
|
readonly "kind": "remote-agent";
|
|
324
346
|
readonly "principalId": string;
|
|
325
347
|
};
|
|
326
|
-
type
|
|
348
|
+
type Objects_21 = {
|
|
327
349
|
readonly "kind": "human";
|
|
328
350
|
readonly "principal": Union_9;
|
|
329
351
|
};
|
|
352
|
+
type Union_11 = Objects_20 | undefined;
|
|
353
|
+
type Arrays_4 = ReadonlyArray<Objects_31>;
|
|
354
|
+
type Objects_32 = {
|
|
355
|
+
readonly "changed": boolean;
|
|
356
|
+
readonly "release": number;
|
|
357
|
+
readonly "pages": ReadonlyArray<Objects_31>;
|
|
358
|
+
};
|
|
330
359
|
type Objects_1 = {
|
|
331
360
|
readonly "instanceId": string;
|
|
332
361
|
readonly "model": string;
|
|
333
362
|
readonly "options"?: Arrays_ | Arrays_1;
|
|
334
363
|
};
|
|
335
364
|
type Union_6 = ReadonlyArray<Union_> | undefined;
|
|
336
|
-
type
|
|
365
|
+
type Union_13 = Objects_21 | {
|
|
337
366
|
readonly "kind": "local-cli";
|
|
338
367
|
readonly "environmentId": string;
|
|
339
368
|
} | {
|
|
340
369
|
readonly "kind": "seat";
|
|
341
370
|
readonly "seatId": string;
|
|
342
|
-
} |
|
|
371
|
+
} | Objects_22 | Objects_23 | {
|
|
343
372
|
readonly "kind": "plugin";
|
|
344
373
|
readonly "pluginId": string;
|
|
345
374
|
} | {
|
|
346
375
|
readonly "kind": "system";
|
|
347
376
|
};
|
|
348
|
-
type
|
|
377
|
+
type Union_16 = Objects_21 | Objects_22 | Objects_23;
|
|
349
378
|
type Objects_6 = {
|
|
350
379
|
readonly "turnId": string;
|
|
351
380
|
readonly "state": "running" | "interrupted" | "completed" | "error";
|
|
@@ -450,22 +479,22 @@ type Objects_17 = {
|
|
|
450
479
|
readonly "nextCursor": string | null;
|
|
451
480
|
readonly "snapshotSequence": number;
|
|
452
481
|
};
|
|
453
|
-
type
|
|
482
|
+
type Objects_24 = {
|
|
454
483
|
readonly "experienceId": string;
|
|
455
484
|
readonly "revision": number;
|
|
456
485
|
readonly "baseRevision": number | null;
|
|
457
|
-
readonly "author":
|
|
486
|
+
readonly "author": Union_13;
|
|
458
487
|
readonly "createdAt": string;
|
|
459
488
|
readonly "body": string | null;
|
|
460
489
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
461
490
|
readonly "bodyWindow"?: Objects_14;
|
|
462
491
|
};
|
|
463
|
-
type
|
|
492
|
+
type Objects_28 = {
|
|
464
493
|
readonly "pageId": string;
|
|
465
494
|
readonly "revision": number;
|
|
466
495
|
readonly "baseRevision": number | null;
|
|
467
496
|
readonly "restoredFromRevision": number | null;
|
|
468
|
-
readonly "author":
|
|
497
|
+
readonly "author": Union_13;
|
|
469
498
|
readonly "createdAt": string;
|
|
470
499
|
readonly "title": string | null;
|
|
471
500
|
readonly "changeSummary": string | null;
|
|
@@ -473,18 +502,29 @@ type Objects_26 = {
|
|
|
473
502
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
474
503
|
readonly "bodyWindow"?: Objects_14;
|
|
475
504
|
};
|
|
476
|
-
type Arrays_4 = ReadonlyArray<Union_13>;
|
|
477
505
|
type Objects_30 = {
|
|
506
|
+
readonly "release": number;
|
|
507
|
+
readonly "pages": Arrays_4;
|
|
508
|
+
readonly "itemCount": number;
|
|
509
|
+
readonly "itemHighWater": number;
|
|
510
|
+
readonly "requiresAck": boolean;
|
|
511
|
+
readonly "restoredFromRelease": number | null;
|
|
512
|
+
readonly "sourceExperience": Union_14;
|
|
513
|
+
readonly "publishedBy": Union_13;
|
|
514
|
+
readonly "publishedAt": string;
|
|
515
|
+
};
|
|
516
|
+
type Arrays_5 = ReadonlyArray<Union_16>;
|
|
517
|
+
type Objects_35 = {
|
|
478
518
|
readonly "commentId": string;
|
|
479
519
|
readonly "workItemId": string;
|
|
480
520
|
readonly "projectId": string;
|
|
481
521
|
readonly "sequence": number;
|
|
482
522
|
readonly "revision": number;
|
|
483
|
-
readonly "author":
|
|
523
|
+
readonly "author": Union_13;
|
|
484
524
|
readonly "body": string | null;
|
|
485
525
|
readonly "bodyWindow"?: Objects_14;
|
|
486
526
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
487
|
-
readonly "mentions": ReadonlyArray<
|
|
527
|
+
readonly "mentions": ReadonlyArray<Union_16>;
|
|
488
528
|
readonly "parentId": string | null;
|
|
489
529
|
readonly "createdAt": string;
|
|
490
530
|
readonly "editedAt": string | null;
|
|
@@ -514,7 +554,7 @@ type Objects_11 = {
|
|
|
514
554
|
readonly "actions"?: ReadonlyArray<string>;
|
|
515
555
|
readonly "children": ReadonlyArray<Objects_11>;
|
|
516
556
|
};
|
|
517
|
-
type
|
|
557
|
+
type Objects_41 = {
|
|
518
558
|
readonly "role": string;
|
|
519
559
|
readonly "name"?: string;
|
|
520
560
|
readonly "value"?: string;
|
|
@@ -537,9 +577,9 @@ type Objects_36 = {
|
|
|
537
577
|
readonly "visible"?: boolean;
|
|
538
578
|
};
|
|
539
579
|
readonly "actions"?: ReadonlyArray<string>;
|
|
540
|
-
readonly "children": ReadonlyArray<
|
|
580
|
+
readonly "children": ReadonlyArray<Objects_41>;
|
|
541
581
|
};
|
|
542
|
-
type
|
|
582
|
+
type Objects_43 = {
|
|
543
583
|
readonly "role": string;
|
|
544
584
|
readonly "name"?: string;
|
|
545
585
|
readonly "value"?: string;
|
|
@@ -562,7 +602,7 @@ type Objects_38 = {
|
|
|
562
602
|
readonly "visible"?: boolean;
|
|
563
603
|
};
|
|
564
604
|
readonly "actions"?: ReadonlyArray<string>;
|
|
565
|
-
readonly "children": ReadonlyArray<
|
|
605
|
+
readonly "children": ReadonlyArray<Objects_43>;
|
|
566
606
|
};
|
|
567
607
|
export type AuthRemoteAgentsListInput = {
|
|
568
608
|
readonly "projectId": string;
|
|
@@ -1138,6 +1178,317 @@ export type ApprovalsPendingListOutput = ReadonlyArray<{
|
|
|
1138
1178
|
}> | undefined;
|
|
1139
1179
|
readonly "declineReasonRelay"?: "native" | "queued" | "none" | undefined;
|
|
1140
1180
|
}>;
|
|
1181
|
+
export type PluginsProjectConfigGetInput = {
|
|
1182
|
+
readonly "projectId": string;
|
|
1183
|
+
};
|
|
1184
|
+
export type PluginsProjectConfigGetOutput = {
|
|
1185
|
+
readonly "config": {
|
|
1186
|
+
readonly "mcpServers"?: {
|
|
1187
|
+
readonly [x: string]: {
|
|
1188
|
+
readonly "name": string;
|
|
1189
|
+
readonly "transport": {
|
|
1190
|
+
readonly "type": "stdio";
|
|
1191
|
+
readonly "command": string;
|
|
1192
|
+
readonly "args"?: ReadonlyArray<string> | undefined;
|
|
1193
|
+
readonly "envNames": ReadonlyArray<string>;
|
|
1194
|
+
} | {
|
|
1195
|
+
readonly "type": "http";
|
|
1196
|
+
readonly "url": string;
|
|
1197
|
+
readonly "headerNames": ReadonlyArray<string>;
|
|
1198
|
+
} | {
|
|
1199
|
+
readonly "type": "sse";
|
|
1200
|
+
readonly "url": string;
|
|
1201
|
+
readonly "headerNames": ReadonlyArray<string>;
|
|
1202
|
+
};
|
|
1203
|
+
readonly "enabled": boolean;
|
|
1204
|
+
readonly "providers": {
|
|
1205
|
+
readonly [x: string]: boolean;
|
|
1206
|
+
};
|
|
1207
|
+
readonly "catalogId"?: string | undefined;
|
|
1208
|
+
readonly "oauth"?: {
|
|
1209
|
+
readonly "status": "none" | "required" | "authorized";
|
|
1210
|
+
} | undefined;
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
readonly "skills"?: {
|
|
1214
|
+
readonly [x: string]: {
|
|
1215
|
+
readonly "name": string;
|
|
1216
|
+
readonly "source": {
|
|
1217
|
+
readonly "kind": "inline";
|
|
1218
|
+
readonly "skillMd": string;
|
|
1219
|
+
} | {
|
|
1220
|
+
readonly "kind": "builtin";
|
|
1221
|
+
readonly "id": string;
|
|
1222
|
+
} | {
|
|
1223
|
+
readonly "kind": "catalog";
|
|
1224
|
+
readonly "catalogId": string;
|
|
1225
|
+
readonly "version": string;
|
|
1226
|
+
};
|
|
1227
|
+
readonly "modelInvocable": boolean;
|
|
1228
|
+
readonly "userInvocable": boolean;
|
|
1229
|
+
readonly "providers": {
|
|
1230
|
+
readonly [x: string]: boolean;
|
|
1231
|
+
};
|
|
1232
|
+
};
|
|
1233
|
+
};
|
|
1234
|
+
};
|
|
1235
|
+
readonly "revision": string | null;
|
|
1236
|
+
};
|
|
1237
|
+
export type PluginsInstalledListInput = {};
|
|
1238
|
+
export type PluginsInstalledListOutput = {
|
|
1239
|
+
readonly "plugins": ReadonlyArray<{
|
|
1240
|
+
readonly "entryId": string;
|
|
1241
|
+
readonly "pluginId": string;
|
|
1242
|
+
readonly "presentation"?: {
|
|
1243
|
+
readonly "displayName"?: string | undefined;
|
|
1244
|
+
readonly "description"?: string | undefined;
|
|
1245
|
+
readonly "author"?: string | undefined;
|
|
1246
|
+
readonly "homepage"?: string | undefined;
|
|
1247
|
+
readonly "icon"?: string | undefined;
|
|
1248
|
+
} | undefined;
|
|
1249
|
+
readonly "origin": "builtin" | "package" | "directory" | "thread";
|
|
1250
|
+
readonly "location": string | null;
|
|
1251
|
+
readonly "version": string | null;
|
|
1252
|
+
readonly "packageName"?: string | null | undefined;
|
|
1253
|
+
readonly "loadedAt"?: string | undefined;
|
|
1254
|
+
readonly "configRevision"?: number | undefined;
|
|
1255
|
+
readonly "uiDebug"?: {
|
|
1256
|
+
readonly "enabled": boolean;
|
|
1257
|
+
readonly "phase": "idle" | "building" | "error";
|
|
1258
|
+
readonly "error": string | null;
|
|
1259
|
+
} | undefined;
|
|
1260
|
+
readonly "uiRevision"?: string | undefined;
|
|
1261
|
+
readonly "proxyIds"?: ReadonlyArray<string> | undefined;
|
|
1262
|
+
readonly "state": "loaded" | "failed" | "stopped" | "disabled";
|
|
1263
|
+
readonly "contributions": ReadonlyArray<{
|
|
1264
|
+
readonly "kind": "toolkit" | "reactor" | "settingsCard" | "modelPreset" | "command" | "cli" | "interval" | "executor" | "protocolConversion" | "skill" | "filePreviewConverter";
|
|
1265
|
+
readonly "name": string;
|
|
1266
|
+
}>;
|
|
1267
|
+
readonly "failure": {
|
|
1268
|
+
readonly "phase": string;
|
|
1269
|
+
readonly "message": string;
|
|
1270
|
+
readonly "kind"?: string | undefined;
|
|
1271
|
+
} | null;
|
|
1272
|
+
readonly "threadId": string | null;
|
|
1273
|
+
readonly "runtimeStats"?: {
|
|
1274
|
+
readonly "eventsHandled": number;
|
|
1275
|
+
readonly "toolCalls": number;
|
|
1276
|
+
readonly "processesSpawned"?: number | undefined;
|
|
1277
|
+
readonly "lastEventAt": string | null;
|
|
1278
|
+
} | undefined;
|
|
1279
|
+
readonly "removable"?: boolean | undefined;
|
|
1280
|
+
readonly "permissions"?: ReadonlyArray<{
|
|
1281
|
+
readonly "kind": "executor";
|
|
1282
|
+
} | {
|
|
1283
|
+
readonly "kind": "fs.read";
|
|
1284
|
+
readonly "paths": ReadonlyArray<string>;
|
|
1285
|
+
} | {
|
|
1286
|
+
readonly "kind": "providers.homes";
|
|
1287
|
+
} | {
|
|
1288
|
+
readonly "kind": "workspace.read";
|
|
1289
|
+
} | {
|
|
1290
|
+
readonly "kind": "work.read";
|
|
1291
|
+
} | {
|
|
1292
|
+
readonly "kind": "work.writeAsPerson";
|
|
1293
|
+
} | {
|
|
1294
|
+
readonly "kind": "process.spawn";
|
|
1295
|
+
readonly "programs": ReadonlyArray<string | {
|
|
1296
|
+
readonly "key": string;
|
|
1297
|
+
readonly "program": string;
|
|
1298
|
+
readonly "displayName"?: string | undefined;
|
|
1299
|
+
}>;
|
|
1300
|
+
readonly "maxConcurrent"?: number;
|
|
1301
|
+
} | {
|
|
1302
|
+
readonly "kind": "process.workspace";
|
|
1303
|
+
} | {
|
|
1304
|
+
readonly "kind": "ports.register";
|
|
1305
|
+
} | {
|
|
1306
|
+
readonly "kind": "network.serve";
|
|
1307
|
+
readonly "services": ReadonlyArray<{
|
|
1308
|
+
readonly "name": string;
|
|
1309
|
+
readonly "routes": ReadonlyArray<{
|
|
1310
|
+
readonly "path": string;
|
|
1311
|
+
readonly "methods"?: ReadonlyArray<"GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS">;
|
|
1312
|
+
readonly "websocket"?: boolean;
|
|
1313
|
+
}>;
|
|
1314
|
+
}>;
|
|
1315
|
+
} | {
|
|
1316
|
+
readonly "kind": "systemPrompt";
|
|
1317
|
+
} | {
|
|
1318
|
+
readonly "kind": "tools.guard";
|
|
1319
|
+
} | {
|
|
1320
|
+
readonly "kind": "workspace.write";
|
|
1321
|
+
} | {
|
|
1322
|
+
readonly "kind": "sessionProjection";
|
|
1323
|
+
} | {
|
|
1324
|
+
readonly "kind": "memory.read";
|
|
1325
|
+
} | {
|
|
1326
|
+
readonly "kind": "communication.read";
|
|
1327
|
+
} | {
|
|
1328
|
+
readonly "kind": "agentPresets";
|
|
1329
|
+
} | {
|
|
1330
|
+
readonly "kind": "threads.user";
|
|
1331
|
+
} | {
|
|
1332
|
+
readonly "kind": "ui.seats";
|
|
1333
|
+
readonly "seats": ReadonlyArray<"conversation.view" | "conversation.chat.turnTail" | "conversation.session.header.actions" | "settings.section" | "conversation.hero.agentPreset" | "conversation.input.dock" | "project.workbench.tab" | "sidebar.project.actions">;
|
|
1334
|
+
} | {
|
|
1335
|
+
readonly "kind": "commands.dispatch";
|
|
1336
|
+
readonly "commands": ReadonlyArray<string>;
|
|
1337
|
+
} | {
|
|
1338
|
+
readonly "kind": "unknown";
|
|
1339
|
+
readonly "reportedKind": string;
|
|
1340
|
+
}> | undefined;
|
|
1341
|
+
readonly "ui"?: {
|
|
1342
|
+
readonly "assetsPath": string;
|
|
1343
|
+
readonly "entry"?: string | undefined;
|
|
1344
|
+
readonly "pages"?: ReadonlyArray<{
|
|
1345
|
+
readonly "id": string;
|
|
1346
|
+
readonly "titleKey": string;
|
|
1347
|
+
readonly "icon"?: string | undefined;
|
|
1348
|
+
readonly "chrome"?: "host" | "own" | undefined;
|
|
1349
|
+
}> | undefined;
|
|
1350
|
+
readonly "panels"?: ReadonlyArray<{
|
|
1351
|
+
readonly "id": string;
|
|
1352
|
+
readonly "titleKey": string;
|
|
1353
|
+
readonly "icon"?: string | undefined;
|
|
1354
|
+
}> | undefined;
|
|
1355
|
+
readonly "composer"?: ReadonlyArray<{
|
|
1356
|
+
readonly "id": string;
|
|
1357
|
+
readonly "titleKey": string;
|
|
1358
|
+
readonly "icon"?: string | undefined;
|
|
1359
|
+
readonly "choicesCommand": string;
|
|
1360
|
+
readonly "prepareCommand": string;
|
|
1361
|
+
readonly "managePageId"?: string | undefined;
|
|
1362
|
+
}> | undefined;
|
|
1363
|
+
readonly "providerSettings"?: ReadonlyArray<{
|
|
1364
|
+
readonly "id": string;
|
|
1365
|
+
readonly "driverKind": string;
|
|
1366
|
+
readonly "ownedFields"?: {
|
|
1367
|
+
readonly "add"?: ReadonlyArray<string> | undefined;
|
|
1368
|
+
readonly "edit"?: ReadonlyArray<string> | undefined;
|
|
1369
|
+
} | undefined;
|
|
1370
|
+
readonly "ownedEnvironment"?: ReadonlyArray<string> | undefined;
|
|
1371
|
+
readonly "genericFields"?: "inline" | "collapsed" | undefined;
|
|
1372
|
+
}> | undefined;
|
|
1373
|
+
readonly "threadAnnotations"?: {
|
|
1374
|
+
readonly "command": string;
|
|
1375
|
+
} | undefined;
|
|
1376
|
+
readonly "appearance"?: {
|
|
1377
|
+
readonly "name": string;
|
|
1378
|
+
readonly "wallpaper": string;
|
|
1379
|
+
readonly "dimLight"?: number | undefined;
|
|
1380
|
+
readonly "dimDark"?: number | undefined;
|
|
1381
|
+
readonly "blur"?: number | undefined;
|
|
1382
|
+
} | undefined;
|
|
1383
|
+
readonly "toolViews"?: ReadonlyArray<{
|
|
1384
|
+
readonly "tool": string;
|
|
1385
|
+
readonly "view": string;
|
|
1386
|
+
readonly "placement"?: "inline" | "deliverable" | undefined;
|
|
1387
|
+
readonly "titleKey"?: string | undefined;
|
|
1388
|
+
}> | undefined;
|
|
1389
|
+
readonly "chatWatchers"?: ReadonlyArray<string> | undefined;
|
|
1390
|
+
readonly "development"?: {
|
|
1391
|
+
readonly "command": string;
|
|
1392
|
+
readonly "args": ReadonlyArray<string>;
|
|
1393
|
+
readonly "watch": ReadonlyArray<string>;
|
|
1394
|
+
} | undefined;
|
|
1395
|
+
} | undefined;
|
|
1396
|
+
readonly "executors"?: ReadonlyArray<unknown> | undefined;
|
|
1397
|
+
}>;
|
|
1398
|
+
};
|
|
1399
|
+
export type PluginsNotificationsListInput = {};
|
|
1400
|
+
export type PluginsNotificationsListOutput = {
|
|
1401
|
+
readonly "notifications": ReadonlyArray<{
|
|
1402
|
+
readonly "id": string;
|
|
1403
|
+
readonly "createdAt": string;
|
|
1404
|
+
readonly "read": boolean;
|
|
1405
|
+
readonly "kind": "task-succeeded";
|
|
1406
|
+
readonly "taskKind": "install" | "update" | "uninstall";
|
|
1407
|
+
readonly "subject": string;
|
|
1408
|
+
readonly "dataKeptFor"?: string;
|
|
1409
|
+
readonly "purged"?: boolean;
|
|
1410
|
+
} | {
|
|
1411
|
+
readonly "id": string;
|
|
1412
|
+
readonly "createdAt": string;
|
|
1413
|
+
readonly "read": boolean;
|
|
1414
|
+
readonly "kind": "task-failed";
|
|
1415
|
+
readonly "taskKind": "install" | "update" | "uninstall";
|
|
1416
|
+
readonly "subject": string;
|
|
1417
|
+
readonly "failure": {
|
|
1418
|
+
readonly "kind": "npmTooOld" | "npmMissing" | "gitMissing" | "fileLocked" | "accessDenied" | "fsUnavailable" | "network" | "registryAuth" | "packageNotFound" | "buildScript" | "activation" | "plugin";
|
|
1419
|
+
readonly "summary": string;
|
|
1420
|
+
};
|
|
1421
|
+
}>;
|
|
1422
|
+
};
|
|
1423
|
+
export type PluginsNotificationsMarkReadInput = Objects_19;
|
|
1424
|
+
export type PluginsNotificationsMarkReadOutput = {};
|
|
1425
|
+
export type PluginsNotificationsClearInput = Objects_19;
|
|
1426
|
+
export type PluginsNotificationsClearOutput = {};
|
|
1427
|
+
export type PluginsSettingsCardsListInput = {};
|
|
1428
|
+
export type PluginsSettingsCardsListOutput = {
|
|
1429
|
+
readonly "cards": ReadonlyArray<{
|
|
1430
|
+
readonly "entryId": string;
|
|
1431
|
+
readonly "title"?: string | undefined;
|
|
1432
|
+
readonly "titleKey"?: string | undefined;
|
|
1433
|
+
readonly "description"?: string | undefined;
|
|
1434
|
+
readonly "descriptionKey"?: string | undefined;
|
|
1435
|
+
readonly "presentation"?: "hidden" | undefined;
|
|
1436
|
+
readonly "fields": ReadonlyArray<{
|
|
1437
|
+
readonly "key": string;
|
|
1438
|
+
readonly "label"?: string | undefined;
|
|
1439
|
+
readonly "labelKey"?: string | undefined;
|
|
1440
|
+
readonly "description"?: string | undefined;
|
|
1441
|
+
readonly "descriptionKey"?: string | undefined;
|
|
1442
|
+
readonly "placeholder"?: string | undefined;
|
|
1443
|
+
readonly "placeholderKey"?: string | undefined;
|
|
1444
|
+
readonly "required"?: boolean | undefined;
|
|
1445
|
+
readonly "options"?: Union_10;
|
|
1446
|
+
readonly "showWhen"?: Union_11;
|
|
1447
|
+
readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" | "table";
|
|
1448
|
+
readonly "columns"?: ReadonlyArray<{
|
|
1449
|
+
readonly "key": string;
|
|
1450
|
+
readonly "label"?: string | undefined;
|
|
1451
|
+
readonly "labelKey"?: string | undefined;
|
|
1452
|
+
readonly "description"?: string | undefined;
|
|
1453
|
+
readonly "descriptionKey"?: string | undefined;
|
|
1454
|
+
readonly "placeholder"?: string | undefined;
|
|
1455
|
+
readonly "placeholderKey"?: string | undefined;
|
|
1456
|
+
readonly "required"?: boolean | undefined;
|
|
1457
|
+
readonly "options"?: Union_10;
|
|
1458
|
+
readonly "showWhen"?: Union_11;
|
|
1459
|
+
readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy";
|
|
1460
|
+
}> | undefined;
|
|
1461
|
+
readonly "rowIds"?: "client" | "plugin" | undefined;
|
|
1462
|
+
readonly "rowActions"?: ReadonlyArray<{
|
|
1463
|
+
readonly "id": string;
|
|
1464
|
+
readonly "labelKey": string;
|
|
1465
|
+
readonly "descriptionKey"?: string | undefined;
|
|
1466
|
+
readonly "badgeKey"?: string | undefined;
|
|
1467
|
+
readonly "warningKey"?: string | undefined;
|
|
1468
|
+
readonly "command": string;
|
|
1469
|
+
readonly "showWhen"?: Objects_20 | undefined;
|
|
1470
|
+
readonly "fills": ReadonlyArray<string>;
|
|
1471
|
+
}> | undefined;
|
|
1472
|
+
}>;
|
|
1473
|
+
readonly "actions"?: ReadonlyArray<{
|
|
1474
|
+
readonly "id": string;
|
|
1475
|
+
readonly "labelKey": string;
|
|
1476
|
+
readonly "descriptionKey"?: string | undefined;
|
|
1477
|
+
readonly "badgeKey"?: string | undefined;
|
|
1478
|
+
readonly "warningKey"?: string | undefined;
|
|
1479
|
+
readonly "command": string;
|
|
1480
|
+
}> | undefined;
|
|
1481
|
+
readonly "values": {
|
|
1482
|
+
readonly [x: string]: unknown;
|
|
1483
|
+
};
|
|
1484
|
+
readonly "secretFields"?: ReadonlyArray<string> | undefined;
|
|
1485
|
+
readonly "secretCells"?: ReadonlyArray<{
|
|
1486
|
+
readonly "field": string;
|
|
1487
|
+
readonly "row": string;
|
|
1488
|
+
readonly "column": string;
|
|
1489
|
+
}> | undefined;
|
|
1490
|
+
}>;
|
|
1491
|
+
};
|
|
1141
1492
|
export type UsageQuotaGetInput = {
|
|
1142
1493
|
readonly "instanceIds"?: ReadonlyArray<string>;
|
|
1143
1494
|
readonly "refresh": boolean;
|
|
@@ -1162,7 +1513,7 @@ export type UsageQuotaGetOutput = {
|
|
|
1162
1513
|
readonly "accountKey"?: string;
|
|
1163
1514
|
readonly "windows": ReadonlyArray<{
|
|
1164
1515
|
readonly "id": string;
|
|
1165
|
-
readonly "label":
|
|
1516
|
+
readonly "label": Union_12;
|
|
1166
1517
|
readonly "usedPercent": number;
|
|
1167
1518
|
readonly "resetsAt": string | null;
|
|
1168
1519
|
readonly "windowMs"?: number;
|
|
@@ -1170,7 +1521,7 @@ export type UsageQuotaGetOutput = {
|
|
|
1170
1521
|
}>;
|
|
1171
1522
|
readonly "balances": ReadonlyArray<{
|
|
1172
1523
|
readonly "id": string;
|
|
1173
|
-
readonly "label":
|
|
1524
|
+
readonly "label": Union_12;
|
|
1174
1525
|
readonly "remaining": number | null;
|
|
1175
1526
|
readonly "used": number | null;
|
|
1176
1527
|
readonly "limit": number | null;
|
|
@@ -1258,7 +1609,7 @@ export type MemoryExperiencesListOutput = {
|
|
|
1258
1609
|
readonly "items": ReadonlyArray<{
|
|
1259
1610
|
readonly "experienceId": string;
|
|
1260
1611
|
readonly "status": "active" | "forgotten" | "erased";
|
|
1261
|
-
readonly "author":
|
|
1612
|
+
readonly "author": Union_13;
|
|
1262
1613
|
readonly "sourceThreadId": string | null;
|
|
1263
1614
|
readonly "sourceTurnId": string | null;
|
|
1264
1615
|
readonly "currentRevision": number;
|
|
@@ -1279,7 +1630,7 @@ export type MemoryExperiencesGetInput = {
|
|
|
1279
1630
|
export type MemoryExperiencesGetOutput = {
|
|
1280
1631
|
readonly "experienceId": string;
|
|
1281
1632
|
readonly "status": "active" | "forgotten" | "erased";
|
|
1282
|
-
readonly "author":
|
|
1633
|
+
readonly "author": Union_13;
|
|
1283
1634
|
readonly "sourceThreadId": string | null;
|
|
1284
1635
|
readonly "sourceTurnId": string | null;
|
|
1285
1636
|
readonly "currentRevision": number;
|
|
@@ -1290,9 +1641,9 @@ export type MemoryExperiencesGetOutput = {
|
|
|
1290
1641
|
readonly "body": string | null;
|
|
1291
1642
|
readonly "bodyWindow"?: Objects_14;
|
|
1292
1643
|
readonly "forgottenAt": string | null;
|
|
1293
|
-
readonly "forgottenBy":
|
|
1644
|
+
readonly "forgottenBy": Union_13 | null;
|
|
1294
1645
|
readonly "erasedAt": string | null;
|
|
1295
|
-
readonly "erasedBy":
|
|
1646
|
+
readonly "erasedBy": Union_13 | null;
|
|
1296
1647
|
};
|
|
1297
1648
|
export type MemoryExperiencesHistoryInput = {
|
|
1298
1649
|
readonly "projectId": string;
|
|
@@ -1303,7 +1654,7 @@ export type MemoryExperiencesHistoryInput = {
|
|
|
1303
1654
|
readonly "textLimit"?: number;
|
|
1304
1655
|
};
|
|
1305
1656
|
export type MemoryExperiencesHistoryOutput = {
|
|
1306
|
-
readonly "items": ReadonlyArray<
|
|
1657
|
+
readonly "items": ReadonlyArray<Objects_24>;
|
|
1307
1658
|
readonly "nextCursor": string | null;
|
|
1308
1659
|
};
|
|
1309
1660
|
export type MemoryRevisionsGetInput = {
|
|
@@ -1313,7 +1664,7 @@ export type MemoryRevisionsGetInput = {
|
|
|
1313
1664
|
readonly "textOffset"?: number;
|
|
1314
1665
|
readonly "textLimit"?: number;
|
|
1315
1666
|
};
|
|
1316
|
-
export type MemoryRevisionsGetOutput =
|
|
1667
|
+
export type MemoryRevisionsGetOutput = Objects_24;
|
|
1317
1668
|
export type MemorySearchInput = {
|
|
1318
1669
|
readonly "projectId": string;
|
|
1319
1670
|
readonly "text": string;
|
|
@@ -1349,7 +1700,7 @@ export type MemoryExperiencesRecordInput = {
|
|
|
1349
1700
|
};
|
|
1350
1701
|
export type MemoryExperiencesRecordOutput = {
|
|
1351
1702
|
readonly "sequence": number;
|
|
1352
|
-
readonly "result":
|
|
1703
|
+
readonly "result": Objects_25;
|
|
1353
1704
|
};
|
|
1354
1705
|
export type MemoryExperiencesReviseInput = {
|
|
1355
1706
|
readonly "projectId": string;
|
|
@@ -1360,13 +1711,13 @@ export type MemoryExperiencesReviseInput = {
|
|
|
1360
1711
|
};
|
|
1361
1712
|
export type MemoryExperiencesReviseOutput = {
|
|
1362
1713
|
readonly "sequence": number;
|
|
1363
|
-
readonly "result":
|
|
1714
|
+
readonly "result": Objects_25;
|
|
1364
1715
|
};
|
|
1365
|
-
export type MemoryExperiencesForgetInput =
|
|
1366
|
-
export type MemoryExperiencesForgetOutput =
|
|
1367
|
-
export type MemoryExperiencesRestoreInput =
|
|
1368
|
-
export type MemoryExperiencesRestoreOutput =
|
|
1369
|
-
export type MemoryExperiencesEraseInput =
|
|
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;
|
|
1370
1721
|
export type MemoryExperiencesEraseOutput = {
|
|
1371
1722
|
readonly "sequence": number;
|
|
1372
1723
|
readonly "result": {
|
|
@@ -1416,10 +1767,10 @@ export type MemoryPagesGetOutput = {
|
|
|
1416
1767
|
readonly "updatedAt": string;
|
|
1417
1768
|
readonly "title": string | null;
|
|
1418
1769
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
1419
|
-
readonly "createdBy":
|
|
1770
|
+
readonly "createdBy": Union_13;
|
|
1420
1771
|
readonly "body": string | null;
|
|
1421
1772
|
readonly "bodyWindow"?: Objects_14;
|
|
1422
|
-
readonly "erasedBy":
|
|
1773
|
+
readonly "erasedBy": Union_13 | null;
|
|
1423
1774
|
};
|
|
1424
1775
|
export type MemoryPagesHistoryInput = {
|
|
1425
1776
|
readonly "projectId": string;
|
|
@@ -1430,7 +1781,7 @@ export type MemoryPagesHistoryInput = {
|
|
|
1430
1781
|
readonly "textLimit"?: number;
|
|
1431
1782
|
};
|
|
1432
1783
|
export type MemoryPagesHistoryOutput = {
|
|
1433
|
-
readonly "items": ReadonlyArray<
|
|
1784
|
+
readonly "items": ReadonlyArray<Objects_28>;
|
|
1434
1785
|
readonly "nextCursor": string | null;
|
|
1435
1786
|
};
|
|
1436
1787
|
export type MemoryPageRevisionsGetInput = {
|
|
@@ -1440,7 +1791,7 @@ export type MemoryPageRevisionsGetInput = {
|
|
|
1440
1791
|
readonly "textOffset"?: number;
|
|
1441
1792
|
readonly "textLimit"?: number;
|
|
1442
1793
|
};
|
|
1443
|
-
export type MemoryPageRevisionsGetOutput =
|
|
1794
|
+
export type MemoryPageRevisionsGetOutput = Objects_28;
|
|
1444
1795
|
export type MemoryPagesCreateInput = {
|
|
1445
1796
|
readonly "projectId": string;
|
|
1446
1797
|
readonly "requestId"?: string;
|
|
@@ -1453,7 +1804,7 @@ export type MemoryPagesCreateInput = {
|
|
|
1453
1804
|
};
|
|
1454
1805
|
export type MemoryPagesCreateOutput = {
|
|
1455
1806
|
readonly "sequence": number;
|
|
1456
|
-
readonly "result":
|
|
1807
|
+
readonly "result": Objects_29;
|
|
1457
1808
|
};
|
|
1458
1809
|
export type MemoryPagesEditInput = {
|
|
1459
1810
|
readonly "projectId": string;
|
|
@@ -1466,7 +1817,7 @@ export type MemoryPagesEditInput = {
|
|
|
1466
1817
|
};
|
|
1467
1818
|
export type MemoryPagesEditOutput = {
|
|
1468
1819
|
readonly "sequence": number;
|
|
1469
|
-
readonly "result":
|
|
1820
|
+
readonly "result": Objects_29;
|
|
1470
1821
|
};
|
|
1471
1822
|
export type MemoryPagesRestoreInput = {
|
|
1472
1823
|
readonly "projectId": string;
|
|
@@ -1477,7 +1828,7 @@ export type MemoryPagesRestoreInput = {
|
|
|
1477
1828
|
};
|
|
1478
1829
|
export type MemoryPagesRestoreOutput = {
|
|
1479
1830
|
readonly "sequence": number;
|
|
1480
|
-
readonly "result":
|
|
1831
|
+
readonly "result": Objects_29;
|
|
1481
1832
|
};
|
|
1482
1833
|
export type MemoryPagesEraseInput = {
|
|
1483
1834
|
readonly "projectId": string;
|
|
@@ -1490,6 +1841,77 @@ export type MemoryPagesEraseOutput = {
|
|
|
1490
1841
|
readonly "pageId": string;
|
|
1491
1842
|
};
|
|
1492
1843
|
};
|
|
1844
|
+
export type MemoryHandbookGetInput = {
|
|
1845
|
+
readonly "projectId": string;
|
|
1846
|
+
readonly "textOffset"?: number;
|
|
1847
|
+
readonly "textLimit"?: number;
|
|
1848
|
+
};
|
|
1849
|
+
export type MemoryHandbookGetOutput = {
|
|
1850
|
+
readonly "head": {
|
|
1851
|
+
readonly "current": Objects_30;
|
|
1852
|
+
readonly "pages": ReadonlyArray<Objects_28>;
|
|
1853
|
+
} | null;
|
|
1854
|
+
};
|
|
1855
|
+
export type MemoryHandbookReleasesListInput = {
|
|
1856
|
+
readonly "projectId": string;
|
|
1857
|
+
readonly "cursor"?: string;
|
|
1858
|
+
readonly "limit"?: number;
|
|
1859
|
+
};
|
|
1860
|
+
export type MemoryHandbookReleasesListOutput = {
|
|
1861
|
+
readonly "items": ReadonlyArray<Objects_30>;
|
|
1862
|
+
readonly "nextCursor": string | null;
|
|
1863
|
+
};
|
|
1864
|
+
export type MemoryHandbookReleasesGetInput = {
|
|
1865
|
+
readonly "projectId": string;
|
|
1866
|
+
readonly "release": number;
|
|
1867
|
+
};
|
|
1868
|
+
export type MemoryHandbookReleasesGetOutput = {
|
|
1869
|
+
readonly "release": number;
|
|
1870
|
+
readonly "pages": Arrays_4;
|
|
1871
|
+
readonly "itemCount": number;
|
|
1872
|
+
readonly "itemHighWater": number;
|
|
1873
|
+
readonly "requiresAck": boolean;
|
|
1874
|
+
readonly "restoredFromRelease": number | null;
|
|
1875
|
+
readonly "sourceExperience": Union_14;
|
|
1876
|
+
readonly "publishedBy": Union_13;
|
|
1877
|
+
readonly "publishedAt": string;
|
|
1878
|
+
readonly "items": ReadonlyArray<{
|
|
1879
|
+
readonly "itemNumber": number;
|
|
1880
|
+
readonly "pageKind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
|
|
1881
|
+
}>;
|
|
1882
|
+
};
|
|
1883
|
+
export type MemoryHandbookPublishInput = {
|
|
1884
|
+
readonly "projectId": string;
|
|
1885
|
+
readonly "requestId"?: string;
|
|
1886
|
+
readonly "expectedRelease": number;
|
|
1887
|
+
readonly "pages": ReadonlyArray<{
|
|
1888
|
+
readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
|
|
1889
|
+
readonly "baseRevision": number | null;
|
|
1890
|
+
readonly "title"?: string;
|
|
1891
|
+
readonly "body": string;
|
|
1892
|
+
readonly "changeSummary"?: string;
|
|
1893
|
+
}>;
|
|
1894
|
+
readonly "requireAck"?: boolean;
|
|
1895
|
+
readonly "sourceExperience"?: {
|
|
1896
|
+
readonly "experienceId": string;
|
|
1897
|
+
readonly "revision": number;
|
|
1898
|
+
};
|
|
1899
|
+
};
|
|
1900
|
+
export type MemoryHandbookPublishOutput = {
|
|
1901
|
+
readonly "sequence": number;
|
|
1902
|
+
readonly "result": Objects_32;
|
|
1903
|
+
};
|
|
1904
|
+
export type MemoryHandbookRevertInput = {
|
|
1905
|
+
readonly "projectId": string;
|
|
1906
|
+
readonly "requestId"?: string;
|
|
1907
|
+
readonly "expectedRelease": number;
|
|
1908
|
+
readonly "toRelease": number;
|
|
1909
|
+
readonly "requireAck"?: boolean;
|
|
1910
|
+
};
|
|
1911
|
+
export type MemoryHandbookRevertOutput = {
|
|
1912
|
+
readonly "sequence": number;
|
|
1913
|
+
readonly "result": Objects_32;
|
|
1914
|
+
};
|
|
1493
1915
|
export type WorkRemoteAgentPendingGetInput = {
|
|
1494
1916
|
readonly "projectId": string;
|
|
1495
1917
|
readonly "principalId"?: string;
|
|
@@ -1536,7 +1958,7 @@ export type WorkItemsListInput = {
|
|
|
1536
1958
|
readonly "projectId": string;
|
|
1537
1959
|
readonly "stateIds"?: ReadonlyArray<string>;
|
|
1538
1960
|
readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">;
|
|
1539
|
-
readonly "assignees"?: ReadonlyArray<
|
|
1961
|
+
readonly "assignees"?: ReadonlyArray<Union_15 | "me" | "none">;
|
|
1540
1962
|
readonly "orderBy"?: "created" | "updated";
|
|
1541
1963
|
readonly "cursor"?: string | null;
|
|
1542
1964
|
readonly "limit"?: number;
|
|
@@ -1548,10 +1970,10 @@ export type WorkItemsListOutput = {
|
|
|
1548
1970
|
readonly "sequenceId": number;
|
|
1549
1971
|
readonly "title": string | null;
|
|
1550
1972
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
1551
|
-
readonly "state":
|
|
1973
|
+
readonly "state": Objects_33;
|
|
1552
1974
|
readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
|
|
1553
|
-
readonly "assignees":
|
|
1554
|
-
readonly "labelIds":
|
|
1975
|
+
readonly "assignees": Arrays_5;
|
|
1976
|
+
readonly "labelIds": Arrays_6;
|
|
1555
1977
|
readonly "parentId": string | null;
|
|
1556
1978
|
readonly "startDate": string | null;
|
|
1557
1979
|
readonly "targetDate": string | null;
|
|
@@ -1560,10 +1982,10 @@ export type WorkItemsListOutput = {
|
|
|
1560
1982
|
readonly "archivedAt": string | null;
|
|
1561
1983
|
readonly "version": number;
|
|
1562
1984
|
readonly "revision": number;
|
|
1563
|
-
readonly "blockedBy":
|
|
1985
|
+
readonly "blockedBy": Arrays_7;
|
|
1564
1986
|
readonly "blockedByTotal": number;
|
|
1565
|
-
readonly "childCounts":
|
|
1566
|
-
readonly "createdBy":
|
|
1987
|
+
readonly "childCounts": Objects_34;
|
|
1988
|
+
readonly "createdBy": Union_13;
|
|
1567
1989
|
readonly "createdAt": string;
|
|
1568
1990
|
readonly "updatedAt": string;
|
|
1569
1991
|
}>;
|
|
@@ -1590,10 +2012,10 @@ export type WorkItemsGetOutput = {
|
|
|
1590
2012
|
readonly "sequenceId": number;
|
|
1591
2013
|
readonly "title": string | null;
|
|
1592
2014
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
1593
|
-
readonly "state":
|
|
2015
|
+
readonly "state": Objects_33;
|
|
1594
2016
|
readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
|
|
1595
|
-
readonly "assignees":
|
|
1596
|
-
readonly "labelIds":
|
|
2017
|
+
readonly "assignees": Arrays_5;
|
|
2018
|
+
readonly "labelIds": Arrays_6;
|
|
1597
2019
|
readonly "parentId": string | null;
|
|
1598
2020
|
readonly "startDate": string | null;
|
|
1599
2021
|
readonly "targetDate": string | null;
|
|
@@ -1602,10 +2024,10 @@ export type WorkItemsGetOutput = {
|
|
|
1602
2024
|
readonly "archivedAt": string | null;
|
|
1603
2025
|
readonly "version": number;
|
|
1604
2026
|
readonly "revision": number;
|
|
1605
|
-
readonly "blockedBy":
|
|
2027
|
+
readonly "blockedBy": Arrays_7;
|
|
1606
2028
|
readonly "blockedByTotal": number;
|
|
1607
|
-
readonly "childCounts":
|
|
1608
|
-
readonly "createdBy":
|
|
2029
|
+
readonly "childCounts": Objects_34;
|
|
2030
|
+
readonly "createdBy": Union_13;
|
|
1609
2031
|
readonly "createdAt": string;
|
|
1610
2032
|
readonly "updatedAt": string;
|
|
1611
2033
|
readonly "description": string | null;
|
|
@@ -1648,7 +2070,7 @@ export type WorkCommentsListInput = {
|
|
|
1648
2070
|
readonly "textLimit"?: number;
|
|
1649
2071
|
};
|
|
1650
2072
|
export type WorkCommentsListOutput = {
|
|
1651
|
-
readonly "items": ReadonlyArray<
|
|
2073
|
+
readonly "items": ReadonlyArray<Objects_35>;
|
|
1652
2074
|
readonly "nextCursor": string | null;
|
|
1653
2075
|
readonly "snapshotSequence": number;
|
|
1654
2076
|
};
|
|
@@ -1659,7 +2081,7 @@ export type WorkCommentsGetInput = {
|
|
|
1659
2081
|
readonly "textLimit"?: number;
|
|
1660
2082
|
};
|
|
1661
2083
|
export type WorkCommentsGetOutput = {
|
|
1662
|
-
readonly "comment":
|
|
2084
|
+
readonly "comment": Objects_35;
|
|
1663
2085
|
readonly "snapshotSequence": number;
|
|
1664
2086
|
};
|
|
1665
2087
|
export type WorkHistoryListInput = {
|
|
@@ -1673,7 +2095,7 @@ export type WorkHistoryListOutput = {
|
|
|
1673
2095
|
readonly "items": ReadonlyArray<{
|
|
1674
2096
|
readonly "sequence": number;
|
|
1675
2097
|
readonly "workItemId": string | null;
|
|
1676
|
-
readonly "actor":
|
|
2098
|
+
readonly "actor": Union_13;
|
|
1677
2099
|
readonly "viaPlugin"?: string;
|
|
1678
2100
|
readonly "at": string;
|
|
1679
2101
|
readonly "target": {
|
|
@@ -1687,12 +2109,12 @@ export type WorkHistoryListOutput = {
|
|
|
1687
2109
|
readonly "newRevision": number | null;
|
|
1688
2110
|
} | {
|
|
1689
2111
|
readonly "field": "state";
|
|
1690
|
-
readonly "old":
|
|
1691
|
-
readonly "new":
|
|
2112
|
+
readonly "old": Objects_36 | null;
|
|
2113
|
+
readonly "new": Objects_36 | null;
|
|
1692
2114
|
} | {
|
|
1693
2115
|
readonly "field": "assignees" | "mentions";
|
|
1694
|
-
readonly "old": ReadonlyArray<
|
|
1695
|
-
readonly "new": ReadonlyArray<
|
|
2116
|
+
readonly "old": ReadonlyArray<Union_16>;
|
|
2117
|
+
readonly "new": ReadonlyArray<Union_16>;
|
|
1696
2118
|
} | {
|
|
1697
2119
|
readonly "field": "completedAt";
|
|
1698
2120
|
readonly "old": string | null;
|
|
@@ -1709,7 +2131,7 @@ export type WorkItemsCreateInput = {
|
|
|
1709
2131
|
readonly "title": string;
|
|
1710
2132
|
readonly "description"?: string;
|
|
1711
2133
|
readonly "stateId"?: string;
|
|
1712
|
-
readonly "assignees"?: ReadonlyArray<
|
|
2134
|
+
readonly "assignees"?: ReadonlyArray<Union_15>;
|
|
1713
2135
|
};
|
|
1714
2136
|
export type WorkItemsCreateOutput = {
|
|
1715
2137
|
readonly "sequence": number;
|
|
@@ -1728,7 +2150,7 @@ export type WorkItemsUpdateInput = {
|
|
|
1728
2150
|
readonly "title"?: string;
|
|
1729
2151
|
readonly "description"?: string;
|
|
1730
2152
|
readonly "stateId"?: string;
|
|
1731
|
-
readonly "assignees"?: ReadonlyArray<
|
|
2153
|
+
readonly "assignees"?: ReadonlyArray<Union_15>;
|
|
1732
2154
|
};
|
|
1733
2155
|
export type WorkItemsUpdateOutput = {
|
|
1734
2156
|
readonly "sequence": number;
|
|
@@ -1752,15 +2174,15 @@ export type WorkItemsClaimOutput = {
|
|
|
1752
2174
|
readonly "version": number;
|
|
1753
2175
|
};
|
|
1754
2176
|
};
|
|
1755
|
-
export type WorkRelationsAddInput =
|
|
2177
|
+
export type WorkRelationsAddInput = Objects_37;
|
|
1756
2178
|
export type WorkRelationsAddOutput = {
|
|
1757
2179
|
readonly "sequence": number;
|
|
1758
|
-
readonly "result":
|
|
2180
|
+
readonly "result": Objects_38;
|
|
1759
2181
|
};
|
|
1760
|
-
export type WorkRelationsRemoveInput =
|
|
2182
|
+
export type WorkRelationsRemoveInput = Objects_37;
|
|
1761
2183
|
export type WorkRelationsRemoveOutput = {
|
|
1762
2184
|
readonly "sequence": number;
|
|
1763
|
-
readonly "result":
|
|
2185
|
+
readonly "result": Objects_38;
|
|
1764
2186
|
};
|
|
1765
2187
|
export type WorkCommentsPostInput = {
|
|
1766
2188
|
readonly "projectId": string;
|
|
@@ -1768,7 +2190,7 @@ export type WorkCommentsPostInput = {
|
|
|
1768
2190
|
readonly "commentId"?: string;
|
|
1769
2191
|
readonly "workItemId": string;
|
|
1770
2192
|
readonly "body": string;
|
|
1771
|
-
readonly "mentions"?: ReadonlyArray<
|
|
2193
|
+
readonly "mentions"?: ReadonlyArray<Union_15>;
|
|
1772
2194
|
readonly "parentId"?: string;
|
|
1773
2195
|
};
|
|
1774
2196
|
export type WorkCommentsPostOutput = {
|
|
@@ -1778,6 +2200,49 @@ export type WorkCommentsPostOutput = {
|
|
|
1778
2200
|
readonly "revision": number;
|
|
1779
2201
|
};
|
|
1780
2202
|
};
|
|
2203
|
+
export type ThreadsCreateInput = {
|
|
2204
|
+
readonly "requestId"?: string;
|
|
2205
|
+
readonly "threadId": string;
|
|
2206
|
+
readonly "projectId": string;
|
|
2207
|
+
readonly "title": string;
|
|
2208
|
+
readonly "modelSelection": {
|
|
2209
|
+
readonly "instanceId": string;
|
|
2210
|
+
readonly "model": string;
|
|
2211
|
+
readonly "options"?: Union_17;
|
|
2212
|
+
};
|
|
2213
|
+
readonly "executionSelection"?: {
|
|
2214
|
+
readonly "environmentId": string;
|
|
2215
|
+
readonly "runtimeId": string;
|
|
2216
|
+
readonly "sourceId": string;
|
|
2217
|
+
readonly "profileId": string;
|
|
2218
|
+
readonly "endpointId"?: string;
|
|
2219
|
+
readonly "optionOverrides": Arrays_2;
|
|
2220
|
+
readonly "expectedRevisions": Objects_8;
|
|
2221
|
+
};
|
|
2222
|
+
readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
|
|
2223
|
+
readonly "interactionMode": "default" | "plan";
|
|
2224
|
+
readonly "branch": string | null;
|
|
2225
|
+
readonly "worktreePath": string | null;
|
|
2226
|
+
readonly "startFolderId"?: string;
|
|
2227
|
+
readonly "folderIds"?: ReadonlyArray<string>;
|
|
2228
|
+
readonly "origin"?: {
|
|
2229
|
+
readonly "parentThreadId": string;
|
|
2230
|
+
readonly "delegationDepth": number;
|
|
2231
|
+
readonly "requestedBy": "agent" | "continuation";
|
|
2232
|
+
readonly "notificationPolicy"?: "wake" | "activity-only";
|
|
2233
|
+
};
|
|
2234
|
+
readonly "presetId"?: string;
|
|
2235
|
+
};
|
|
2236
|
+
export type ThreadsCreateOutput = Objects_39;
|
|
2237
|
+
export type ThreadsForkInput = {
|
|
2238
|
+
readonly "requestId"?: string;
|
|
2239
|
+
readonly "threadId": string;
|
|
2240
|
+
readonly "sourceThreadId": string;
|
|
2241
|
+
readonly "sourceMessageId": string;
|
|
2242
|
+
readonly "startFolderId"?: string;
|
|
2243
|
+
readonly "folderIds"?: ReadonlyArray<string>;
|
|
2244
|
+
};
|
|
2245
|
+
export type ThreadsForkOutput = Objects_39;
|
|
1781
2246
|
export type ThreadsUpdateInput = {
|
|
1782
2247
|
readonly "threadId": string;
|
|
1783
2248
|
readonly "requestId"?: string;
|
|
@@ -1786,7 +2251,7 @@ export type ThreadsUpdateInput = {
|
|
|
1786
2251
|
readonly "modelSelection"?: {
|
|
1787
2252
|
readonly "instanceId": string;
|
|
1788
2253
|
readonly "model": string;
|
|
1789
|
-
readonly "options"?:
|
|
2254
|
+
readonly "options"?: Union_17;
|
|
1790
2255
|
};
|
|
1791
2256
|
readonly "executionSelection"?: {
|
|
1792
2257
|
readonly "environmentId": string;
|
|
@@ -1808,7 +2273,7 @@ export type ThreadsUpdateInput = {
|
|
|
1808
2273
|
} | null;
|
|
1809
2274
|
readonly "presetId"?: string | null;
|
|
1810
2275
|
};
|
|
1811
|
-
export type ThreadsUpdateOutput =
|
|
2276
|
+
export type ThreadsUpdateOutput = Objects_39;
|
|
1812
2277
|
export type ThreadsTurnsStartInput = {
|
|
1813
2278
|
readonly "requestId"?: string;
|
|
1814
2279
|
readonly "threadId": string;
|
|
@@ -1822,7 +2287,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
1822
2287
|
readonly "mimeType": string;
|
|
1823
2288
|
readonly "sizeBytes": number;
|
|
1824
2289
|
readonly "dataUrl": string;
|
|
1825
|
-
readonly "source"?:
|
|
2290
|
+
readonly "source"?: Objects_40;
|
|
1826
2291
|
} | {
|
|
1827
2292
|
readonly "type": "file";
|
|
1828
2293
|
readonly "name": string;
|
|
@@ -1835,7 +2300,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
1835
2300
|
readonly "name": string;
|
|
1836
2301
|
readonly "mimeType": string;
|
|
1837
2302
|
readonly "sizeBytes": number;
|
|
1838
|
-
readonly "source"?:
|
|
2303
|
+
readonly "source"?: Objects_40 | Objects_42;
|
|
1839
2304
|
} | {
|
|
1840
2305
|
readonly "type": "file";
|
|
1841
2306
|
readonly "id": string;
|
|
@@ -1844,7 +2309,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
1844
2309
|
readonly "sizeBytes": number;
|
|
1845
2310
|
readonly "source"?: {
|
|
1846
2311
|
readonly "_tag": "pasted-text";
|
|
1847
|
-
} |
|
|
2312
|
+
} | Objects_42 | {
|
|
1848
2313
|
readonly "_tag": "thread-reference";
|
|
1849
2314
|
readonly "environmentId": string;
|
|
1850
2315
|
readonly "threadId": string;
|
|
@@ -1854,7 +2319,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
1854
2319
|
readonly "modelSelection"?: {
|
|
1855
2320
|
readonly "instanceId": string;
|
|
1856
2321
|
readonly "model": string;
|
|
1857
|
-
readonly "options"?:
|
|
2322
|
+
readonly "options"?: Union_17;
|
|
1858
2323
|
};
|
|
1859
2324
|
readonly "titleSeed"?: string;
|
|
1860
2325
|
readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
|
|
@@ -1962,11 +2427,11 @@ export type ThreadsUserInputRespondInput = {
|
|
|
1962
2427
|
readonly "height": number;
|
|
1963
2428
|
};
|
|
1964
2429
|
readonly "truncated": boolean;
|
|
1965
|
-
readonly "root":
|
|
2430
|
+
readonly "root": Objects_43;
|
|
1966
2431
|
};
|
|
1967
2432
|
readonly "appIdentifier"?: string;
|
|
1968
2433
|
readonly "appIconDataUrl"?: string;
|
|
1969
|
-
} |
|
|
2434
|
+
} | Objects_44;
|
|
1970
2435
|
} | {
|
|
1971
2436
|
readonly "type": "file";
|
|
1972
2437
|
readonly "id": string;
|
|
@@ -1975,7 +2440,7 @@ export type ThreadsUserInputRespondInput = {
|
|
|
1975
2440
|
readonly "sizeBytes": number;
|
|
1976
2441
|
readonly "source"?: {
|
|
1977
2442
|
readonly "_tag": "pasted-text";
|
|
1978
|
-
} |
|
|
2443
|
+
} | Objects_44 | {
|
|
1979
2444
|
readonly "_tag": "thread-reference";
|
|
1980
2445
|
readonly "environmentId": string;
|
|
1981
2446
|
readonly "threadId": string;
|
|
@@ -1983,7 +2448,7 @@ export type ThreadsUserInputRespondInput = {
|
|
|
1983
2448
|
}>;
|
|
1984
2449
|
};
|
|
1985
2450
|
};
|
|
1986
|
-
export type ThreadsUserInputRespondOutput =
|
|
2451
|
+
export type ThreadsUserInputRespondOutput = Objects_39;
|
|
1987
2452
|
export type CommunicationPeopleCurrentInput = {};
|
|
1988
2453
|
export type CommunicationPeopleCurrentOutput = {
|
|
1989
2454
|
readonly "person": Union_9 | null;
|
|
@@ -2011,6 +2476,8 @@ export interface PluginDataPorts {
|
|
|
2011
2476
|
readonly activities: {
|
|
2012
2477
|
readonly list: (input: ThreadsActivitiesListInput) => Promise<ThreadsActivitiesListOutput>;
|
|
2013
2478
|
};
|
|
2479
|
+
readonly create: (input: ThreadsCreateInput) => Promise<ThreadsCreateOutput>;
|
|
2480
|
+
readonly fork: (input: ThreadsForkInput) => Promise<ThreadsForkOutput>;
|
|
2014
2481
|
readonly update: (input: ThreadsUpdateInput) => Promise<ThreadsUpdateOutput>;
|
|
2015
2482
|
readonly turns: {
|
|
2016
2483
|
readonly start: (input: ThreadsTurnsStartInput) => Promise<ThreadsTurnsStartOutput>;
|
|
@@ -2047,6 +2514,22 @@ export interface PluginDataPorts {
|
|
|
2047
2514
|
readonly list: (input: ApprovalsPendingListInput) => Promise<ApprovalsPendingListOutput>;
|
|
2048
2515
|
};
|
|
2049
2516
|
};
|
|
2517
|
+
readonly plugins: {
|
|
2518
|
+
readonly projectConfig: {
|
|
2519
|
+
readonly get: (input: PluginsProjectConfigGetInput) => Promise<PluginsProjectConfigGetOutput>;
|
|
2520
|
+
};
|
|
2521
|
+
readonly installed: {
|
|
2522
|
+
readonly list: (input: PluginsInstalledListInput) => Promise<PluginsInstalledListOutput>;
|
|
2523
|
+
};
|
|
2524
|
+
readonly notifications: {
|
|
2525
|
+
readonly list: (input: PluginsNotificationsListInput) => Promise<PluginsNotificationsListOutput>;
|
|
2526
|
+
readonly markRead: (input: PluginsNotificationsMarkReadInput) => Promise<PluginsNotificationsMarkReadOutput>;
|
|
2527
|
+
readonly clear: (input: PluginsNotificationsClearInput) => Promise<PluginsNotificationsClearOutput>;
|
|
2528
|
+
};
|
|
2529
|
+
readonly settingsCards: {
|
|
2530
|
+
readonly list: (input: PluginsSettingsCardsListInput) => Promise<PluginsSettingsCardsListOutput>;
|
|
2531
|
+
};
|
|
2532
|
+
};
|
|
2050
2533
|
readonly usage: {
|
|
2051
2534
|
readonly quota: {
|
|
2052
2535
|
readonly get: (input: UsageQuotaGetInput) => Promise<UsageQuotaGetOutput>;
|
|
@@ -2082,6 +2565,15 @@ export interface PluginDataPorts {
|
|
|
2082
2565
|
readonly pageRevisions: {
|
|
2083
2566
|
readonly get: (input: MemoryPageRevisionsGetInput) => Promise<MemoryPageRevisionsGetOutput>;
|
|
2084
2567
|
};
|
|
2568
|
+
readonly handbook: {
|
|
2569
|
+
readonly get: (input: MemoryHandbookGetInput) => Promise<MemoryHandbookGetOutput>;
|
|
2570
|
+
readonly releases: {
|
|
2571
|
+
readonly list: (input: MemoryHandbookReleasesListInput) => Promise<MemoryHandbookReleasesListOutput>;
|
|
2572
|
+
readonly get: (input: MemoryHandbookReleasesGetInput) => Promise<MemoryHandbookReleasesGetOutput>;
|
|
2573
|
+
};
|
|
2574
|
+
readonly publish: (input: MemoryHandbookPublishInput) => Promise<MemoryHandbookPublishOutput>;
|
|
2575
|
+
readonly revert: (input: MemoryHandbookRevertInput) => Promise<MemoryHandbookRevertOutput>;
|
|
2576
|
+
};
|
|
2085
2577
|
};
|
|
2086
2578
|
readonly work: {
|
|
2087
2579
|
readonly remoteAgentPending: {
|
|
@@ -2127,6 +2619,12 @@ export interface PluginAsPersonPorts {
|
|
|
2127
2619
|
readonly post: (input: WorkCommentsPostInput) => Promise<WorkCommentsPostOutput>;
|
|
2128
2620
|
};
|
|
2129
2621
|
};
|
|
2622
|
+
readonly memory: {
|
|
2623
|
+
readonly handbook: {
|
|
2624
|
+
readonly publish: (input: MemoryHandbookPublishInput) => Promise<MemoryHandbookPublishOutput>;
|
|
2625
|
+
readonly revert: (input: MemoryHandbookRevertInput) => Promise<MemoryHandbookRevertOutput>;
|
|
2626
|
+
};
|
|
2627
|
+
};
|
|
2130
2628
|
}
|
|
2131
2629
|
/** 当前读者的端口(`invocation.viewer`):只在本次客户端命令调用内有效,每次读现核资格。 */
|
|
2132
2630
|
export interface PluginViewerPorts {
|