@ycodium-ai/plugin-api 0.2.3120 → 0.2.3130
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 +60 -6
- package/dist/capabilityPorts.d.ts +1 -6
- package/dist/capabilityPorts.d.ts.map +1 -1
- package/dist/cli.d.ts +2 -1
- package/dist/cli.d.ts.map +1 -1
- 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 +870 -250
- package/dist/dataPorts.gen.d.ts.map +1 -1
- package/dist/dataPorts.gen.js.map +1 -1
- package/dist/decisions.d.ts +7 -45
- package/dist/decisions.d.ts.map +1 -1
- package/dist/index.d.ts +9 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/pending-requests.d.ts +1 -1
- package/dist/plugin-tools.d.ts +3 -0
- package/dist/plugin-tools.d.ts.map +1 -1
- package/dist/pluginContextCommands.d.ts +1 -12
- package/dist/pluginContextCommands.d.ts.map +1 -1
- package/dist/pluginContextProviders.d.ts +10 -24
- 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/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
|
@@ -32,6 +32,12 @@ type Objects_8 = {
|
|
|
32
32
|
readonly "profile": number;
|
|
33
33
|
readonly "endpoint"?: number;
|
|
34
34
|
};
|
|
35
|
+
type Union_1 = {
|
|
36
|
+
readonly "status": "committed" | "rolled-back" | "failed" | "unknown";
|
|
37
|
+
readonly "targetVersion"?: string | undefined;
|
|
38
|
+
readonly "fromVersion": string | null;
|
|
39
|
+
readonly "reason": string | null;
|
|
40
|
+
} | null;
|
|
35
41
|
type Objects_9 = {
|
|
36
42
|
readonly "requestId": string;
|
|
37
43
|
readonly "startedAt": string;
|
|
@@ -47,7 +53,7 @@ type Objects_12 = {
|
|
|
47
53
|
readonly "linkBase"?: string | undefined;
|
|
48
54
|
readonly "toolCallId"?: string | undefined;
|
|
49
55
|
};
|
|
50
|
-
type
|
|
56
|
+
type Union_5 = {
|
|
51
57
|
readonly "kind": "native-session";
|
|
52
58
|
readonly "provider": "claude" | "codex";
|
|
53
59
|
readonly "sessionId": string;
|
|
@@ -86,7 +92,7 @@ type Objects_14 = {
|
|
|
86
92
|
readonly "total": number;
|
|
87
93
|
readonly "nextOffset": number | null;
|
|
88
94
|
};
|
|
89
|
-
type
|
|
95
|
+
type Union_6 = {
|
|
90
96
|
readonly "kind": "thread";
|
|
91
97
|
readonly "environmentId"?: string | undefined;
|
|
92
98
|
readonly "threadId": string;
|
|
@@ -122,14 +128,14 @@ type Objects_16 = {
|
|
|
122
128
|
readonly "at": string;
|
|
123
129
|
} | null;
|
|
124
130
|
};
|
|
125
|
-
type
|
|
131
|
+
type Union_10 = {
|
|
126
132
|
readonly "kind": "account";
|
|
127
133
|
readonly "userId": string;
|
|
128
134
|
} | {
|
|
129
135
|
readonly "kind": "local-owner";
|
|
130
136
|
readonly "environmentId": string;
|
|
131
137
|
};
|
|
132
|
-
type
|
|
138
|
+
type Union_11 = {
|
|
133
139
|
readonly "kind": "account";
|
|
134
140
|
readonly "userId": string;
|
|
135
141
|
} | {
|
|
@@ -141,20 +147,44 @@ type Objects_18 = {
|
|
|
141
147
|
readonly "requestId"?: string;
|
|
142
148
|
readonly "recordId": string;
|
|
143
149
|
};
|
|
144
|
-
type
|
|
150
|
+
type Arrays_3 = ReadonlyArray<{
|
|
151
|
+
readonly "id": string;
|
|
152
|
+
readonly "value": string | boolean;
|
|
153
|
+
}>;
|
|
154
|
+
type Objects_20 = {
|
|
155
|
+
readonly [x: string]: unknown;
|
|
156
|
+
};
|
|
157
|
+
type Arrays_4 = ReadonlyArray<string>;
|
|
158
|
+
type Objects_21 = {
|
|
159
|
+
readonly "status": "none" | "required" | "authorized";
|
|
160
|
+
};
|
|
161
|
+
type Objects_22 = {
|
|
162
|
+
readonly "kind": "inline";
|
|
163
|
+
readonly "skillMd": string;
|
|
164
|
+
};
|
|
165
|
+
type Objects_23 = {
|
|
166
|
+
readonly [x: string]: string | null;
|
|
167
|
+
};
|
|
168
|
+
type Objects_24 = {
|
|
169
|
+
readonly [x: string]: boolean;
|
|
170
|
+
};
|
|
171
|
+
type Objects_25 = {
|
|
145
172
|
readonly "ids": readonly [string, ...Array<string>];
|
|
146
173
|
};
|
|
147
|
-
type
|
|
174
|
+
type Union_13 = ReadonlyArray<{
|
|
148
175
|
readonly "value": string;
|
|
149
176
|
readonly "label"?: string | undefined;
|
|
150
177
|
readonly "labelKey"?: string | undefined;
|
|
151
178
|
readonly "icon"?: string | undefined;
|
|
152
179
|
}> | undefined;
|
|
153
|
-
type
|
|
180
|
+
type Objects_26 = {
|
|
154
181
|
readonly "key": string;
|
|
155
182
|
readonly "equals": ReadonlyArray<string>;
|
|
156
183
|
};
|
|
157
|
-
type
|
|
184
|
+
type Objects_27 = {
|
|
185
|
+
readonly [x: string]: unknown;
|
|
186
|
+
};
|
|
187
|
+
type Union_15 = {
|
|
158
188
|
readonly "key": string;
|
|
159
189
|
readonly "values"?: {
|
|
160
190
|
readonly [x: string]: string | number;
|
|
@@ -162,83 +192,77 @@ type Union_12 = {
|
|
|
162
192
|
} | {
|
|
163
193
|
readonly "text": string;
|
|
164
194
|
};
|
|
165
|
-
type
|
|
195
|
+
type Objects_30 = {
|
|
166
196
|
readonly "kind": "agent";
|
|
167
197
|
readonly "threadId": string;
|
|
168
198
|
};
|
|
169
|
-
type
|
|
199
|
+
type Objects_31 = {
|
|
170
200
|
readonly "kind": "remote-agent";
|
|
171
201
|
readonly "principalId": string;
|
|
172
202
|
};
|
|
173
|
-
type
|
|
174
|
-
type
|
|
203
|
+
type Arrays_5 = ReadonlyArray<string>;
|
|
204
|
+
type Objects_33 = {
|
|
175
205
|
readonly "experienceId": string;
|
|
176
206
|
readonly "revision": number;
|
|
177
207
|
};
|
|
178
|
-
type
|
|
208
|
+
type Objects_34 = {
|
|
179
209
|
readonly "projectId": string;
|
|
180
210
|
readonly "requestId"?: string;
|
|
181
211
|
readonly "experienceId": string;
|
|
182
212
|
};
|
|
183
|
-
type
|
|
213
|
+
type Objects_35 = {
|
|
184
214
|
readonly "sequence": number;
|
|
185
215
|
readonly "result": {
|
|
186
216
|
readonly "experienceId": string;
|
|
187
217
|
readonly "status": "active" | "forgotten";
|
|
188
218
|
};
|
|
189
219
|
};
|
|
190
|
-
type
|
|
220
|
+
type Objects_37 = {
|
|
191
221
|
readonly "pageId": string;
|
|
192
222
|
readonly "revision": number;
|
|
193
223
|
};
|
|
194
|
-
type
|
|
224
|
+
type Objects_39 = {
|
|
195
225
|
readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
|
|
196
226
|
readonly "pageId": string;
|
|
197
227
|
readonly "revision": number;
|
|
198
228
|
};
|
|
199
|
-
type
|
|
229
|
+
type Union_17 = {
|
|
200
230
|
readonly "experienceId": string;
|
|
201
231
|
readonly "revision": number;
|
|
202
232
|
} | null;
|
|
203
|
-
type
|
|
233
|
+
type Objects_41 = {
|
|
204
234
|
readonly "stateId": string;
|
|
205
235
|
readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
|
|
206
236
|
readonly "name": string;
|
|
207
237
|
};
|
|
208
|
-
type
|
|
209
|
-
type
|
|
210
|
-
type
|
|
238
|
+
type Arrays_8 = ReadonlyArray<string>;
|
|
239
|
+
type Arrays_9 = ReadonlyArray<string>;
|
|
240
|
+
type Objects_42 = {
|
|
211
241
|
readonly "total": number;
|
|
212
242
|
readonly "completed": number;
|
|
213
243
|
readonly "cancelled": number;
|
|
214
244
|
};
|
|
215
|
-
type
|
|
245
|
+
type Objects_44 = {
|
|
216
246
|
readonly "stateId": string;
|
|
217
247
|
readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
|
|
218
248
|
};
|
|
219
|
-
type
|
|
249
|
+
type Objects_45 = {
|
|
220
250
|
readonly "projectId": string;
|
|
221
251
|
readonly "requestId"?: string;
|
|
222
252
|
readonly "workItemId": string;
|
|
223
253
|
readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
|
|
224
254
|
readonly "relatedWorkItemId": string;
|
|
225
255
|
};
|
|
226
|
-
type
|
|
256
|
+
type Objects_46 = {
|
|
227
257
|
readonly "workItemId": string;
|
|
228
258
|
readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
|
|
229
259
|
readonly "relatedWorkItemId": string;
|
|
230
260
|
};
|
|
231
|
-
type
|
|
232
|
-
readonly "id": string;
|
|
233
|
-
readonly "value": string | boolean;
|
|
234
|
-
}> | {
|
|
235
|
-
readonly [x: string]: unknown;
|
|
236
|
-
};
|
|
237
|
-
type Objects_39 = {
|
|
261
|
+
type Objects_47 = {
|
|
238
262
|
readonly "sequence": number;
|
|
239
263
|
readonly "status": "accepted" | "noop";
|
|
240
264
|
};
|
|
241
|
-
type
|
|
265
|
+
type Objects_48 = {
|
|
242
266
|
readonly "_tag": "snap-shot";
|
|
243
267
|
readonly "capturedAt": string;
|
|
244
268
|
readonly "appName": string;
|
|
@@ -256,18 +280,18 @@ type Objects_40 = {
|
|
|
256
280
|
readonly "height": number;
|
|
257
281
|
};
|
|
258
282
|
readonly "truncated": boolean;
|
|
259
|
-
readonly "root":
|
|
283
|
+
readonly "root": Objects_49;
|
|
260
284
|
};
|
|
261
285
|
readonly "appIdentifier"?: string;
|
|
262
286
|
readonly "appIconDataUrl"?: string;
|
|
263
287
|
};
|
|
264
|
-
type
|
|
288
|
+
type Objects_50 = {
|
|
265
289
|
readonly "_tag": "agent-artifact";
|
|
266
290
|
readonly "sourcePath": string;
|
|
267
291
|
readonly "linkBase"?: string;
|
|
268
292
|
readonly "toolCallId"?: string;
|
|
269
293
|
};
|
|
270
|
-
type
|
|
294
|
+
type Objects_52 = {
|
|
271
295
|
readonly "_tag": "agent-artifact";
|
|
272
296
|
readonly "sourcePath": string;
|
|
273
297
|
readonly "linkBase"?: string;
|
|
@@ -275,7 +299,7 @@ type Objects_44 = {
|
|
|
275
299
|
};
|
|
276
300
|
type Arrays_ = ReadonlyArray<Objects_2>;
|
|
277
301
|
type Arrays_1 = ReadonlyArray<Objects_2>;
|
|
278
|
-
type
|
|
302
|
+
type Union_3 = Objects_5 | null | undefined;
|
|
279
303
|
type Objects_7 = {
|
|
280
304
|
readonly "environmentId": string;
|
|
281
305
|
readonly "runtimeId": string;
|
|
@@ -285,7 +309,23 @@ type Objects_7 = {
|
|
|
285
309
|
readonly "optionOverrides": Arrays_2;
|
|
286
310
|
readonly "expectedRevisions": Objects_8;
|
|
287
311
|
};
|
|
288
|
-
type
|
|
312
|
+
type Objects_28 = {
|
|
313
|
+
readonly "wakeId": string;
|
|
314
|
+
readonly "threadId": string;
|
|
315
|
+
readonly "dueAt": string;
|
|
316
|
+
readonly "note": string;
|
|
317
|
+
readonly "state": "scheduled" | "fired" | "cancelled";
|
|
318
|
+
readonly "afterServerUpgrade": boolean;
|
|
319
|
+
readonly "firedAt": string | null;
|
|
320
|
+
readonly "cancelledAt": string | null;
|
|
321
|
+
readonly "upgrade"?: {
|
|
322
|
+
readonly "requestedVersion": string;
|
|
323
|
+
readonly "updateId": string | null;
|
|
324
|
+
readonly "expectsVerdict"?: boolean | undefined;
|
|
325
|
+
readonly "outcome": Union_1;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
type Union_2 = {
|
|
289
329
|
readonly "type": "image";
|
|
290
330
|
readonly "id": string;
|
|
291
331
|
readonly "name": string;
|
|
@@ -328,16 +368,16 @@ type Union_ = {
|
|
|
328
368
|
readonly "threadId": string;
|
|
329
369
|
} | undefined;
|
|
330
370
|
};
|
|
331
|
-
type
|
|
332
|
-
type
|
|
371
|
+
type Union_7 = Union_6 | null;
|
|
372
|
+
type Union_9 = {
|
|
333
373
|
readonly "claimId": string;
|
|
334
|
-
readonly "claimedBy":
|
|
374
|
+
readonly "claimedBy": Union_6;
|
|
335
375
|
readonly "turnId"?: string | undefined;
|
|
336
376
|
readonly "at": string;
|
|
337
377
|
} | null;
|
|
338
|
-
type
|
|
378
|
+
type Union_18 = {
|
|
339
379
|
readonly "kind": "human";
|
|
340
|
-
readonly "principal":
|
|
380
|
+
readonly "principal": Union_10;
|
|
341
381
|
} | {
|
|
342
382
|
readonly "kind": "agent";
|
|
343
383
|
readonly "threadId": string;
|
|
@@ -345,36 +385,116 @@ type Union_15 = {
|
|
|
345
385
|
readonly "kind": "remote-agent";
|
|
346
386
|
readonly "principalId": string;
|
|
347
387
|
};
|
|
348
|
-
type
|
|
388
|
+
type Objects_29 = {
|
|
349
389
|
readonly "kind": "human";
|
|
350
|
-
readonly "principal":
|
|
390
|
+
readonly "principal": Union_11;
|
|
351
391
|
};
|
|
352
|
-
type
|
|
353
|
-
type
|
|
354
|
-
type
|
|
392
|
+
type Union_12 = Arrays_3 | Objects_20;
|
|
393
|
+
type Union_14 = Objects_26 | undefined;
|
|
394
|
+
type Arrays_6 = ReadonlyArray<Objects_39>;
|
|
395
|
+
type Objects_40 = {
|
|
355
396
|
readonly "changed": boolean;
|
|
356
397
|
readonly "release": number;
|
|
357
|
-
readonly "pages": ReadonlyArray<
|
|
398
|
+
readonly "pages": ReadonlyArray<Objects_39>;
|
|
358
399
|
};
|
|
359
|
-
type
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
readonly "options"?: Arrays_ | Arrays_1;
|
|
363
|
-
};
|
|
364
|
-
type Union_6 = ReadonlyArray<Union_> | undefined;
|
|
365
|
-
type Union_13 = Objects_21 | {
|
|
400
|
+
type Union_ = Arrays_ | Arrays_1;
|
|
401
|
+
type Union_8 = ReadonlyArray<Union_2> | undefined;
|
|
402
|
+
type Union_16 = Objects_29 | {
|
|
366
403
|
readonly "kind": "local-cli";
|
|
367
404
|
readonly "environmentId": string;
|
|
368
405
|
} | {
|
|
369
406
|
readonly "kind": "seat";
|
|
370
407
|
readonly "seatId": string;
|
|
371
|
-
} |
|
|
408
|
+
} | Objects_30 | Objects_31 | {
|
|
372
409
|
readonly "kind": "plugin";
|
|
373
410
|
readonly "pluginId": string;
|
|
374
411
|
} | {
|
|
375
412
|
readonly "kind": "system";
|
|
376
413
|
};
|
|
377
|
-
type
|
|
414
|
+
type Union_19 = Objects_29 | Objects_30 | Objects_31;
|
|
415
|
+
type Objects_19 = {
|
|
416
|
+
readonly "instanceId": string;
|
|
417
|
+
readonly "model": string;
|
|
418
|
+
readonly "options"?: Union_12;
|
|
419
|
+
};
|
|
420
|
+
type Objects_1 = {
|
|
421
|
+
readonly "instanceId": string;
|
|
422
|
+
readonly "model": string;
|
|
423
|
+
readonly "options"?: Union_;
|
|
424
|
+
};
|
|
425
|
+
type Objects_17 = {
|
|
426
|
+
readonly "items": ReadonlyArray<{
|
|
427
|
+
readonly "recordId": string;
|
|
428
|
+
readonly "from": Union_6;
|
|
429
|
+
readonly "to": Union_7;
|
|
430
|
+
readonly "replyTo": string | null;
|
|
431
|
+
readonly "delivery": "quiet" | "wake" | "steer";
|
|
432
|
+
readonly "createdAt": string;
|
|
433
|
+
readonly "stages": Objects_16;
|
|
434
|
+
readonly "idempotencyKey"?: string | undefined;
|
|
435
|
+
readonly "runId"?: string | undefined;
|
|
436
|
+
readonly "toRole"?: string | undefined;
|
|
437
|
+
readonly "attachments"?: Union_8;
|
|
438
|
+
readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
|
|
439
|
+
readonly "projectId": string | null;
|
|
440
|
+
readonly "sequence": number;
|
|
441
|
+
readonly "claim": Union_9;
|
|
442
|
+
readonly "textPreview": string | null;
|
|
443
|
+
readonly "textTruncated": boolean;
|
|
444
|
+
}>;
|
|
445
|
+
readonly "nextCursor": string | null;
|
|
446
|
+
readonly "snapshotSequence": number;
|
|
447
|
+
};
|
|
448
|
+
type Objects_32 = {
|
|
449
|
+
readonly "experienceId": string;
|
|
450
|
+
readonly "revision": number;
|
|
451
|
+
readonly "baseRevision": number | null;
|
|
452
|
+
readonly "author": Union_16;
|
|
453
|
+
readonly "createdAt": string;
|
|
454
|
+
readonly "body": string | null;
|
|
455
|
+
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
456
|
+
readonly "bodyWindow"?: Objects_14;
|
|
457
|
+
};
|
|
458
|
+
type Objects_36 = {
|
|
459
|
+
readonly "pageId": string;
|
|
460
|
+
readonly "revision": number;
|
|
461
|
+
readonly "baseRevision": number | null;
|
|
462
|
+
readonly "restoredFromRevision": number | null;
|
|
463
|
+
readonly "author": Union_16;
|
|
464
|
+
readonly "createdAt": string;
|
|
465
|
+
readonly "title": string | null;
|
|
466
|
+
readonly "changeSummary": string | null;
|
|
467
|
+
readonly "body": string | null;
|
|
468
|
+
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
469
|
+
readonly "bodyWindow"?: Objects_14;
|
|
470
|
+
};
|
|
471
|
+
type Objects_38 = {
|
|
472
|
+
readonly "release": number;
|
|
473
|
+
readonly "pages": Arrays_6;
|
|
474
|
+
readonly "itemCount": number;
|
|
475
|
+
readonly "itemHighWater": number;
|
|
476
|
+
readonly "requiresAck": boolean;
|
|
477
|
+
readonly "restoredFromRelease": number | null;
|
|
478
|
+
readonly "sourceExperience": Union_17;
|
|
479
|
+
readonly "publishedBy": Union_16;
|
|
480
|
+
readonly "publishedAt": string;
|
|
481
|
+
};
|
|
482
|
+
type Arrays_7 = ReadonlyArray<Union_19>;
|
|
483
|
+
type Objects_43 = {
|
|
484
|
+
readonly "commentId": string;
|
|
485
|
+
readonly "workItemId": string;
|
|
486
|
+
readonly "projectId": string;
|
|
487
|
+
readonly "sequence": number;
|
|
488
|
+
readonly "revision": number;
|
|
489
|
+
readonly "author": Union_16;
|
|
490
|
+
readonly "body": string | null;
|
|
491
|
+
readonly "bodyWindow"?: Objects_14;
|
|
492
|
+
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
493
|
+
readonly "mentions": ReadonlyArray<Union_19>;
|
|
494
|
+
readonly "parentId": string | null;
|
|
495
|
+
readonly "createdAt": string;
|
|
496
|
+
readonly "editedAt": string | null;
|
|
497
|
+
};
|
|
378
498
|
type Objects_6 = {
|
|
379
499
|
readonly "turnId": string;
|
|
380
500
|
readonly "state": "running" | "interrupted" | "completed" | "error";
|
|
@@ -395,7 +515,7 @@ type Objects_6 = {
|
|
|
395
515
|
readonly "completedAt": string | null;
|
|
396
516
|
}> | undefined;
|
|
397
517
|
};
|
|
398
|
-
type
|
|
518
|
+
type Union_4 = Objects_1 | undefined;
|
|
399
519
|
type Objects_15 = {
|
|
400
520
|
readonly "id": string;
|
|
401
521
|
readonly "title": string;
|
|
@@ -456,79 +576,6 @@ type Objects_15 = {
|
|
|
456
576
|
readonly "updatedAt": string;
|
|
457
577
|
readonly "archivedAt"?: string | null | undefined;
|
|
458
578
|
};
|
|
459
|
-
type Objects_17 = {
|
|
460
|
-
readonly "items": ReadonlyArray<{
|
|
461
|
-
readonly "recordId": string;
|
|
462
|
-
readonly "from": Union_4;
|
|
463
|
-
readonly "to": Union_5;
|
|
464
|
-
readonly "replyTo": string | null;
|
|
465
|
-
readonly "delivery": "quiet" | "wake" | "steer";
|
|
466
|
-
readonly "createdAt": string;
|
|
467
|
-
readonly "stages": Objects_16;
|
|
468
|
-
readonly "idempotencyKey"?: string | undefined;
|
|
469
|
-
readonly "runId"?: string | undefined;
|
|
470
|
-
readonly "toRole"?: string | undefined;
|
|
471
|
-
readonly "attachments"?: Union_6;
|
|
472
|
-
readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
|
|
473
|
-
readonly "projectId": string | null;
|
|
474
|
-
readonly "sequence": number;
|
|
475
|
-
readonly "claim": Union_7;
|
|
476
|
-
readonly "textPreview": string | null;
|
|
477
|
-
readonly "textTruncated": boolean;
|
|
478
|
-
}>;
|
|
479
|
-
readonly "nextCursor": string | null;
|
|
480
|
-
readonly "snapshotSequence": number;
|
|
481
|
-
};
|
|
482
|
-
type Objects_24 = {
|
|
483
|
-
readonly "experienceId": string;
|
|
484
|
-
readonly "revision": number;
|
|
485
|
-
readonly "baseRevision": number | null;
|
|
486
|
-
readonly "author": Union_13;
|
|
487
|
-
readonly "createdAt": string;
|
|
488
|
-
readonly "body": string | null;
|
|
489
|
-
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
490
|
-
readonly "bodyWindow"?: Objects_14;
|
|
491
|
-
};
|
|
492
|
-
type Objects_28 = {
|
|
493
|
-
readonly "pageId": string;
|
|
494
|
-
readonly "revision": number;
|
|
495
|
-
readonly "baseRevision": number | null;
|
|
496
|
-
readonly "restoredFromRevision": number | null;
|
|
497
|
-
readonly "author": Union_13;
|
|
498
|
-
readonly "createdAt": string;
|
|
499
|
-
readonly "title": string | null;
|
|
500
|
-
readonly "changeSummary": string | null;
|
|
501
|
-
readonly "body": string | null;
|
|
502
|
-
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
503
|
-
readonly "bodyWindow"?: Objects_14;
|
|
504
|
-
};
|
|
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 = {
|
|
518
|
-
readonly "commentId": string;
|
|
519
|
-
readonly "workItemId": string;
|
|
520
|
-
readonly "projectId": string;
|
|
521
|
-
readonly "sequence": number;
|
|
522
|
-
readonly "revision": number;
|
|
523
|
-
readonly "author": Union_13;
|
|
524
|
-
readonly "body": string | null;
|
|
525
|
-
readonly "bodyWindow"?: Objects_14;
|
|
526
|
-
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
527
|
-
readonly "mentions": ReadonlyArray<Union_16>;
|
|
528
|
-
readonly "parentId": string | null;
|
|
529
|
-
readonly "createdAt": string;
|
|
530
|
-
readonly "editedAt": string | null;
|
|
531
|
-
};
|
|
532
579
|
type Objects_11 = {
|
|
533
580
|
readonly "role": string;
|
|
534
581
|
readonly "name"?: string;
|
|
@@ -554,7 +601,7 @@ type Objects_11 = {
|
|
|
554
601
|
readonly "actions"?: ReadonlyArray<string>;
|
|
555
602
|
readonly "children": ReadonlyArray<Objects_11>;
|
|
556
603
|
};
|
|
557
|
-
type
|
|
604
|
+
type Objects_49 = {
|
|
558
605
|
readonly "role": string;
|
|
559
606
|
readonly "name"?: string;
|
|
560
607
|
readonly "value"?: string;
|
|
@@ -577,9 +624,9 @@ type Objects_41 = {
|
|
|
577
624
|
readonly "visible"?: boolean;
|
|
578
625
|
};
|
|
579
626
|
readonly "actions"?: ReadonlyArray<string>;
|
|
580
|
-
readonly "children": ReadonlyArray<
|
|
627
|
+
readonly "children": ReadonlyArray<Objects_49>;
|
|
581
628
|
};
|
|
582
|
-
type
|
|
629
|
+
type Objects_51 = {
|
|
583
630
|
readonly "role": string;
|
|
584
631
|
readonly "name"?: string;
|
|
585
632
|
readonly "value"?: string;
|
|
@@ -602,7 +649,7 @@ type Objects_43 = {
|
|
|
602
649
|
readonly "visible"?: boolean;
|
|
603
650
|
};
|
|
604
651
|
readonly "actions"?: ReadonlyArray<string>;
|
|
605
|
-
readonly "children": ReadonlyArray<
|
|
652
|
+
readonly "children": ReadonlyArray<Objects_51>;
|
|
606
653
|
};
|
|
607
654
|
export type AuthRemoteAgentsListInput = {
|
|
608
655
|
readonly "projectId": string;
|
|
@@ -819,12 +866,7 @@ export type ThreadsHistoryOutput = {
|
|
|
819
866
|
readonly "requestedVersion": string;
|
|
820
867
|
readonly "updateId": string | null;
|
|
821
868
|
readonly "expectsVerdict"?: boolean | undefined;
|
|
822
|
-
readonly "outcome":
|
|
823
|
-
readonly "status": "committed" | "rolled-back" | "failed" | "unknown";
|
|
824
|
-
readonly "targetVersion"?: string | undefined;
|
|
825
|
-
readonly "fromVersion": string | null;
|
|
826
|
-
readonly "reason": string | null;
|
|
827
|
-
} | null;
|
|
869
|
+
readonly "outcome": Union_1;
|
|
828
870
|
} | undefined;
|
|
829
871
|
readonly "createdAt": string;
|
|
830
872
|
readonly "updatedAt": string;
|
|
@@ -838,13 +880,13 @@ export type ThreadsHistoryOutput = {
|
|
|
838
880
|
readonly "id": string;
|
|
839
881
|
readonly "role": "user" | "assistant" | "system";
|
|
840
882
|
readonly "text": string;
|
|
841
|
-
readonly "attachments"?: ReadonlyArray<
|
|
883
|
+
readonly "attachments"?: ReadonlyArray<Union_2> | undefined;
|
|
842
884
|
readonly "turnId": string | null;
|
|
843
885
|
readonly "streaming": boolean;
|
|
844
|
-
readonly "author"?:
|
|
886
|
+
readonly "author"?: Union_3;
|
|
845
887
|
readonly "recordId"?: string | undefined;
|
|
846
|
-
readonly "modelSelection"?:
|
|
847
|
-
readonly "source"?:
|
|
888
|
+
readonly "modelSelection"?: Union_4;
|
|
889
|
+
readonly "source"?: Union_5;
|
|
848
890
|
readonly "createdAt": string;
|
|
849
891
|
readonly "updatedAt": string;
|
|
850
892
|
}>;
|
|
@@ -901,6 +943,52 @@ export type ThreadsHistoryOutput = {
|
|
|
901
943
|
readonly "threadSequence"?: number;
|
|
902
944
|
} | undefined;
|
|
903
945
|
};
|
|
946
|
+
export type ThreadsExecutionSummaryInput = {
|
|
947
|
+
readonly "threadId": string;
|
|
948
|
+
readonly "limit"?: number;
|
|
949
|
+
};
|
|
950
|
+
export type ThreadsExecutionSummaryOutput = {
|
|
951
|
+
readonly "threadId": string;
|
|
952
|
+
readonly "latestTurn": {
|
|
953
|
+
readonly "turnId": string;
|
|
954
|
+
readonly "state": "running" | "interrupted" | "completed" | "error";
|
|
955
|
+
} | null;
|
|
956
|
+
readonly "queue": ReadonlyArray<{
|
|
957
|
+
readonly "intentId": string;
|
|
958
|
+
readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
|
|
959
|
+
readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
|
|
960
|
+
readonly "position": number;
|
|
961
|
+
}>;
|
|
962
|
+
readonly "truncated": boolean;
|
|
963
|
+
readonly "queuePaused": boolean;
|
|
964
|
+
readonly "pendingApprovalCount": number;
|
|
965
|
+
readonly "pendingUserInputCount": number;
|
|
966
|
+
readonly "continuation": "active" | "queued" | "blocked" | "paused" | "idle";
|
|
967
|
+
};
|
|
968
|
+
export type ThreadsDecisionsRequestInput = {
|
|
969
|
+
readonly "threadId": string;
|
|
970
|
+
readonly "title": string;
|
|
971
|
+
readonly "body"?: string | ReadonlyArray<string>;
|
|
972
|
+
readonly "detail"?: {
|
|
973
|
+
readonly "label"?: string;
|
|
974
|
+
readonly "text": string;
|
|
975
|
+
readonly "language"?: string;
|
|
976
|
+
};
|
|
977
|
+
readonly "options": ReadonlyArray<{
|
|
978
|
+
readonly "id": string;
|
|
979
|
+
readonly "label": string;
|
|
980
|
+
readonly "tone"?: "default" | "primary" | "danger";
|
|
981
|
+
}>;
|
|
982
|
+
readonly "requestId"?: string;
|
|
983
|
+
};
|
|
984
|
+
export type ThreadsDecisionsRequestOutput = {
|
|
985
|
+
readonly "requestId": string;
|
|
986
|
+
};
|
|
987
|
+
export type ThreadsDecisionsCancelInput = {
|
|
988
|
+
readonly "requestId": string;
|
|
989
|
+
readonly "summary"?: string;
|
|
990
|
+
};
|
|
991
|
+
export type ThreadsDecisionsCancelOutput = {};
|
|
904
992
|
export type ThreadsGetInput = {
|
|
905
993
|
readonly "threadId": string;
|
|
906
994
|
};
|
|
@@ -985,10 +1073,10 @@ export type ThreadsMessagesListOutput = {
|
|
|
985
1073
|
}> | undefined;
|
|
986
1074
|
readonly "turnId": string | null;
|
|
987
1075
|
readonly "streaming": boolean;
|
|
988
|
-
readonly "author"?:
|
|
1076
|
+
readonly "author"?: Union_3;
|
|
989
1077
|
readonly "recordId"?: string | undefined;
|
|
990
|
-
readonly "modelSelection"?:
|
|
991
|
-
readonly "source"?:
|
|
1078
|
+
readonly "modelSelection"?: Union_4;
|
|
1079
|
+
readonly "source"?: Union_5;
|
|
992
1080
|
readonly "createdAt": string;
|
|
993
1081
|
readonly "updatedAt": string;
|
|
994
1082
|
readonly "attachmentsTotal"?: number;
|
|
@@ -1062,8 +1150,8 @@ export type CommunicationRecordsGetInput = {
|
|
|
1062
1150
|
};
|
|
1063
1151
|
export type CommunicationRecordsGetOutput = ReadonlyArray<{
|
|
1064
1152
|
readonly "recordId": string;
|
|
1065
|
-
readonly "from":
|
|
1066
|
-
readonly "to":
|
|
1153
|
+
readonly "from": Union_6;
|
|
1154
|
+
readonly "to": Union_7;
|
|
1067
1155
|
readonly "replyTo": string | null;
|
|
1068
1156
|
readonly "text": string | null;
|
|
1069
1157
|
readonly "delivery": "quiet" | "wake" | "steer";
|
|
@@ -1072,11 +1160,11 @@ export type CommunicationRecordsGetOutput = ReadonlyArray<{
|
|
|
1072
1160
|
readonly "idempotencyKey"?: string | undefined;
|
|
1073
1161
|
readonly "runId"?: string | undefined;
|
|
1074
1162
|
readonly "toRole"?: string | undefined;
|
|
1075
|
-
readonly "attachments"?:
|
|
1163
|
+
readonly "attachments"?: Union_8;
|
|
1076
1164
|
readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
|
|
1077
1165
|
readonly "projectId": string | null;
|
|
1078
1166
|
readonly "sequence": number;
|
|
1079
|
-
readonly "claim":
|
|
1167
|
+
readonly "claim": Union_9;
|
|
1080
1168
|
readonly "textWindow"?: Objects_14;
|
|
1081
1169
|
}>;
|
|
1082
1170
|
export type CommunicationRecordsListInput = {
|
|
@@ -1098,7 +1186,7 @@ export type CommunicationRecordsListInput = {
|
|
|
1098
1186
|
readonly "until"?: string | null;
|
|
1099
1187
|
readonly "cursor"?: string | null;
|
|
1100
1188
|
readonly "limit"?: number;
|
|
1101
|
-
readonly "person":
|
|
1189
|
+
readonly "person": Union_10;
|
|
1102
1190
|
};
|
|
1103
1191
|
export type CommunicationRecordsListOutput = Objects_17;
|
|
1104
1192
|
export type CommunicationInboxListInput = {
|
|
@@ -1115,7 +1203,7 @@ export type CommunicationPeopleListInput = {
|
|
|
1115
1203
|
};
|
|
1116
1204
|
export type CommunicationPeopleListOutput = {
|
|
1117
1205
|
readonly "items": ReadonlyArray<{
|
|
1118
|
-
readonly "person":
|
|
1206
|
+
readonly "person": Union_11;
|
|
1119
1207
|
readonly "displayName": string;
|
|
1120
1208
|
}>;
|
|
1121
1209
|
readonly "nextCursor": string | null;
|
|
@@ -1127,7 +1215,7 @@ export type CommunicationRecordsSendInput = {
|
|
|
1127
1215
|
readonly "to": {
|
|
1128
1216
|
readonly "threadId": string;
|
|
1129
1217
|
} | {
|
|
1130
|
-
readonly "person":
|
|
1218
|
+
readonly "person": Union_10;
|
|
1131
1219
|
} | {
|
|
1132
1220
|
readonly "principalId": string;
|
|
1133
1221
|
};
|
|
@@ -1162,6 +1250,18 @@ export type CommunicationRecordsDeleteOutput = {
|
|
|
1162
1250
|
readonly "recordId": string;
|
|
1163
1251
|
};
|
|
1164
1252
|
};
|
|
1253
|
+
export type CommunicationRecordsNotifyInput = {
|
|
1254
|
+
readonly "threadId": string;
|
|
1255
|
+
readonly "sourceThreadId": string;
|
|
1256
|
+
readonly "summary": string;
|
|
1257
|
+
readonly "requestId"?: string;
|
|
1258
|
+
};
|
|
1259
|
+
export type CommunicationRecordsNotifyOutput = {
|
|
1260
|
+
readonly "sequence": number;
|
|
1261
|
+
readonly "result": {
|
|
1262
|
+
readonly "recordId": string;
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1165
1265
|
export type ApprovalsPendingListInput = {
|
|
1166
1266
|
readonly "threadId": string;
|
|
1167
1267
|
};
|
|
@@ -1178,6 +1278,239 @@ export type ApprovalsPendingListOutput = ReadonlyArray<{
|
|
|
1178
1278
|
}> | undefined;
|
|
1179
1279
|
readonly "declineReasonRelay"?: "native" | "queued" | "none" | undefined;
|
|
1180
1280
|
}>;
|
|
1281
|
+
export type ProvidersInstancesListInput = {};
|
|
1282
|
+
export type ProvidersInstancesListOutput = ReadonlyArray<{
|
|
1283
|
+
readonly "instanceId": string;
|
|
1284
|
+
readonly "driver": string;
|
|
1285
|
+
readonly "displayName": string | null;
|
|
1286
|
+
readonly "enabled": boolean;
|
|
1287
|
+
readonly "homePath": string | null;
|
|
1288
|
+
readonly "transcriptDir": string | null;
|
|
1289
|
+
readonly "configDirPath": string | null;
|
|
1290
|
+
readonly "environmentKeys": ReadonlyArray<string>;
|
|
1291
|
+
readonly "driverConfig": {
|
|
1292
|
+
readonly [x: string]: unknown;
|
|
1293
|
+
};
|
|
1294
|
+
readonly "launchArgs": string;
|
|
1295
|
+
readonly "apiEndpoint": string | null;
|
|
1296
|
+
readonly "models"?: ReadonlyArray<{
|
|
1297
|
+
readonly "slug": string;
|
|
1298
|
+
readonly "name": string;
|
|
1299
|
+
readonly "isDefault": boolean;
|
|
1300
|
+
}>;
|
|
1301
|
+
}>;
|
|
1302
|
+
export type ProvidersRoutingGetInput = {};
|
|
1303
|
+
export type ProvidersRoutingGetOutput = {
|
|
1304
|
+
readonly "roles": {
|
|
1305
|
+
readonly [x: string]: {
|
|
1306
|
+
readonly "instanceId": string;
|
|
1307
|
+
readonly "model": string;
|
|
1308
|
+
};
|
|
1309
|
+
};
|
|
1310
|
+
readonly "allowlistOnly": boolean;
|
|
1311
|
+
};
|
|
1312
|
+
export type ProvidersSelectionResolveInput = {
|
|
1313
|
+
readonly "base": Objects_19 | null;
|
|
1314
|
+
readonly "instanceId"?: string;
|
|
1315
|
+
readonly "model"?: string;
|
|
1316
|
+
readonly "options"?: Arrays_3 | Objects_20;
|
|
1317
|
+
readonly "routingKey"?: string;
|
|
1318
|
+
};
|
|
1319
|
+
export type ProvidersSelectionResolveOutput = {
|
|
1320
|
+
readonly "modelSelection": {
|
|
1321
|
+
readonly "instanceId": string;
|
|
1322
|
+
readonly "model": string;
|
|
1323
|
+
readonly "options"?: Union_;
|
|
1324
|
+
};
|
|
1325
|
+
};
|
|
1326
|
+
export type ProvidersExecutorsListInput = {};
|
|
1327
|
+
export type ProvidersExecutorsListOutput = {
|
|
1328
|
+
readonly "entries": ReadonlyArray<{
|
|
1329
|
+
readonly "pluginId": string;
|
|
1330
|
+
readonly "entryId": string;
|
|
1331
|
+
readonly "loadedAt": string;
|
|
1332
|
+
readonly "card": {
|
|
1333
|
+
readonly "driverKind": string;
|
|
1334
|
+
readonly "displayName": string;
|
|
1335
|
+
readonly "iconUrl": string;
|
|
1336
|
+
readonly "commandName": string;
|
|
1337
|
+
readonly "launchArgs": string;
|
|
1338
|
+
readonly "homeEnvVar": string;
|
|
1339
|
+
readonly "homeLayout"?: {
|
|
1340
|
+
readonly "accountConfigKey": string;
|
|
1341
|
+
readonly "transcriptSubdir": string;
|
|
1342
|
+
} | undefined;
|
|
1343
|
+
readonly "accountDirectory"?: {
|
|
1344
|
+
readonly "configKeys": readonly [string, ...Array<string>];
|
|
1345
|
+
readonly "defaultDirectory": string;
|
|
1346
|
+
readonly "brandAliases"?: ReadonlyArray<string>;
|
|
1347
|
+
readonly "holdsThreads"?: boolean;
|
|
1348
|
+
} | undefined;
|
|
1349
|
+
readonly "environment": ReadonlyArray<{
|
|
1350
|
+
readonly "name": string;
|
|
1351
|
+
readonly "sensitive": boolean;
|
|
1352
|
+
}>;
|
|
1353
|
+
readonly "install": {
|
|
1354
|
+
readonly "kind": "vendorScript";
|
|
1355
|
+
readonly "posixCommand": string;
|
|
1356
|
+
readonly "windowsCommand": string;
|
|
1357
|
+
readonly "installedPathSegment": string;
|
|
1358
|
+
} | {
|
|
1359
|
+
readonly "kind": "npm";
|
|
1360
|
+
} | {
|
|
1361
|
+
readonly "kind": "downloadPage";
|
|
1362
|
+
readonly "url": string;
|
|
1363
|
+
} | null;
|
|
1364
|
+
readonly "signIn": ReadonlyArray<{
|
|
1365
|
+
readonly "kind": "device-code";
|
|
1366
|
+
} | {
|
|
1367
|
+
readonly "kind": "command";
|
|
1368
|
+
readonly "command": string;
|
|
1369
|
+
} | {
|
|
1370
|
+
readonly "kind": "environment";
|
|
1371
|
+
readonly "variable": string;
|
|
1372
|
+
} | {
|
|
1373
|
+
readonly "kind": "api-key";
|
|
1374
|
+
readonly "variable": string;
|
|
1375
|
+
}>;
|
|
1376
|
+
readonly "deviceCodeSignInArgs": ReadonlyArray<string>;
|
|
1377
|
+
readonly "npmPackage": string;
|
|
1378
|
+
readonly "homebrewFormula": string;
|
|
1379
|
+
readonly "selfUpdateArgs": ReadonlyArray<string>;
|
|
1380
|
+
readonly "docsUrl": string;
|
|
1381
|
+
readonly "setupNote": string;
|
|
1382
|
+
readonly "defaultModel": string;
|
|
1383
|
+
readonly "customModelIdExample": string;
|
|
1384
|
+
readonly "modelSlugAliases": {
|
|
1385
|
+
readonly [x: string]: string;
|
|
1386
|
+
} | null;
|
|
1387
|
+
readonly "mcpTransports": ReadonlyArray<"stdio" | "http" | "sse"> | null;
|
|
1388
|
+
readonly "pluginManaged": boolean;
|
|
1389
|
+
readonly "verifiedSkills": boolean;
|
|
1390
|
+
readonly "everydayHarness": boolean;
|
|
1391
|
+
readonly "capabilities": {
|
|
1392
|
+
readonly "sessionModelSwitch": "in-session" | "unsupported";
|
|
1393
|
+
readonly "sessionOptionSwitch"?: "in-session" | "unsupported" | undefined;
|
|
1394
|
+
readonly "exclusiveSessionWriter"?: boolean | undefined;
|
|
1395
|
+
readonly "runtimeModeSwitch": "in-session" | "next-turn";
|
|
1396
|
+
readonly "contextCompaction"?: "native" | "unsupported" | undefined;
|
|
1397
|
+
readonly "nativeModeSwitch"?: boolean | undefined;
|
|
1398
|
+
readonly "turnSteering"?: boolean | undefined;
|
|
1399
|
+
readonly "reportsSpawnedAgents"?: boolean | undefined;
|
|
1400
|
+
readonly "handlesSkillInvocations"?: boolean | undefined;
|
|
1401
|
+
readonly "confirmsToolTermination"?: boolean | undefined;
|
|
1402
|
+
readonly "inlineImages"?: {
|
|
1403
|
+
readonly "maxBytes": number;
|
|
1404
|
+
readonly "maxEdgePixels"?: number | undefined;
|
|
1405
|
+
readonly "maxTotalBytes"?: number | undefined;
|
|
1406
|
+
readonly "mimeTypes"?: ReadonlyArray<string> | undefined;
|
|
1407
|
+
} | undefined;
|
|
1408
|
+
};
|
|
1409
|
+
readonly "credentialSources": ReadonlyArray<{
|
|
1410
|
+
readonly "kind": "json-file";
|
|
1411
|
+
readonly "pathFromHome": string;
|
|
1412
|
+
readonly "jsonPointer": string;
|
|
1413
|
+
} | {
|
|
1414
|
+
readonly "kind": "json-file-os-home";
|
|
1415
|
+
readonly "pathFromOsHome": string;
|
|
1416
|
+
readonly "jsonPointer": string;
|
|
1417
|
+
} | {
|
|
1418
|
+
readonly "kind": "macos-keychain";
|
|
1419
|
+
readonly "service": string;
|
|
1420
|
+
readonly "accountFromEnv"?: string | undefined;
|
|
1421
|
+
readonly "defaultHomeOnly": boolean;
|
|
1422
|
+
}>;
|
|
1423
|
+
readonly "diagnostics": ReadonlyArray<{
|
|
1424
|
+
readonly "id": string;
|
|
1425
|
+
readonly "labelKey": string;
|
|
1426
|
+
}>;
|
|
1427
|
+
readonly "configSchema": {
|
|
1428
|
+
readonly [x: string]: unknown;
|
|
1429
|
+
};
|
|
1430
|
+
readonly "modelConnectivity": {
|
|
1431
|
+
readonly "dialects": ReadonlyArray<"anthropic-messages" | "openai-responses" | "openai-chat-completions" | "google-cloud-code">;
|
|
1432
|
+
readonly "acceptsExternalEndpoints": boolean;
|
|
1433
|
+
readonly "nativePathSuffix"?: "/v1/messages" | "/responses" | "/chat/completions" | undefined;
|
|
1434
|
+
readonly "credentialEnvKey"?: string | undefined;
|
|
1435
|
+
readonly "baseUrlEnvKey"?: string | undefined;
|
|
1436
|
+
readonly "alternateCredentialEnvKeys"?: ReadonlyArray<string> | undefined;
|
|
1437
|
+
readonly "backendSwitchEnvKeys"?: ReadonlyArray<string> | undefined;
|
|
1438
|
+
readonly "extraEnv"?: ReadonlyArray<{
|
|
1439
|
+
readonly "name": string;
|
|
1440
|
+
readonly "value": string;
|
|
1441
|
+
}> | undefined;
|
|
1442
|
+
readonly "extraLaunchArgs"?: ReadonlyArray<{
|
|
1443
|
+
readonly "key": string;
|
|
1444
|
+
readonly "value": string | boolean;
|
|
1445
|
+
}> | undefined;
|
|
1446
|
+
readonly "supportsNativeSubscription"?: boolean | undefined;
|
|
1447
|
+
};
|
|
1448
|
+
readonly "maxConcurrentProcesses"?: number | undefined;
|
|
1449
|
+
};
|
|
1450
|
+
readonly "origin": "bundled" | "installed";
|
|
1451
|
+
}>;
|
|
1452
|
+
};
|
|
1453
|
+
export type ProvidersWorkspaceInventoryGetInput = {
|
|
1454
|
+
readonly "instanceId": string;
|
|
1455
|
+
readonly "cwd": string;
|
|
1456
|
+
readonly "threadId"?: string;
|
|
1457
|
+
readonly "refresh"?: boolean;
|
|
1458
|
+
};
|
|
1459
|
+
export type ProvidersWorkspaceInventoryGetOutput = {
|
|
1460
|
+
readonly "instanceId": string;
|
|
1461
|
+
readonly "cwd": string;
|
|
1462
|
+
readonly "slashCommands": ReadonlyArray<{
|
|
1463
|
+
readonly "name": string;
|
|
1464
|
+
readonly "description"?: string | undefined;
|
|
1465
|
+
readonly "input"?: {
|
|
1466
|
+
readonly "hint": string;
|
|
1467
|
+
} | undefined;
|
|
1468
|
+
}>;
|
|
1469
|
+
readonly "skills": ReadonlyArray<{
|
|
1470
|
+
readonly "name": string;
|
|
1471
|
+
readonly "description"?: string | undefined;
|
|
1472
|
+
readonly "path": string;
|
|
1473
|
+
readonly "scope"?: string | undefined;
|
|
1474
|
+
readonly "enabled": boolean;
|
|
1475
|
+
readonly "displayName"?: string | undefined;
|
|
1476
|
+
readonly "shortDescription"?: string | undefined;
|
|
1477
|
+
readonly "userInvocationOnly"?: boolean | undefined;
|
|
1478
|
+
readonly "userInvocable"?: boolean | undefined;
|
|
1479
|
+
}>;
|
|
1480
|
+
readonly "source": "workspace" | "machine";
|
|
1481
|
+
readonly "sessionReported"?: boolean;
|
|
1482
|
+
readonly "checkedAt": string;
|
|
1483
|
+
};
|
|
1484
|
+
export type ProvidersListInput = {};
|
|
1485
|
+
export type ProvidersListOutput = {
|
|
1486
|
+
readonly "providers": ReadonlyArray<{
|
|
1487
|
+
readonly "instanceId": string;
|
|
1488
|
+
readonly "driver": string;
|
|
1489
|
+
readonly "displayName": string;
|
|
1490
|
+
readonly "enabled": boolean;
|
|
1491
|
+
readonly "readiness": "ready" | "unchecked" | "checking" | "disabled" | "not-installed" | "unauthenticated" | "error";
|
|
1492
|
+
readonly "defaultModel": string | null;
|
|
1493
|
+
}>;
|
|
1494
|
+
readonly "roles"?: {
|
|
1495
|
+
readonly [x: string]: {
|
|
1496
|
+
readonly "instanceId": string;
|
|
1497
|
+
readonly "model": string;
|
|
1498
|
+
};
|
|
1499
|
+
} | undefined;
|
|
1500
|
+
};
|
|
1501
|
+
export type ProvidersModelsListInput = {
|
|
1502
|
+
readonly "instanceId": string;
|
|
1503
|
+
};
|
|
1504
|
+
export type ProvidersModelsListOutput = {
|
|
1505
|
+
readonly "models": ReadonlyArray<{
|
|
1506
|
+
readonly "slug": string;
|
|
1507
|
+
readonly "name": string;
|
|
1508
|
+
readonly "options": ReadonlyArray<{
|
|
1509
|
+
readonly "id": string;
|
|
1510
|
+
readonly "values": ReadonlyArray<string>;
|
|
1511
|
+
}>;
|
|
1512
|
+
}>;
|
|
1513
|
+
};
|
|
1181
1514
|
export type PluginsProjectConfigGetInput = {
|
|
1182
1515
|
readonly "projectId": string;
|
|
1183
1516
|
};
|
|
@@ -1189,7 +1522,7 @@ export type PluginsProjectConfigGetOutput = {
|
|
|
1189
1522
|
readonly "transport": {
|
|
1190
1523
|
readonly "type": "stdio";
|
|
1191
1524
|
readonly "command": string;
|
|
1192
|
-
readonly "args"?:
|
|
1525
|
+
readonly "args"?: Arrays_4 | undefined;
|
|
1193
1526
|
readonly "envNames": ReadonlyArray<string>;
|
|
1194
1527
|
} | {
|
|
1195
1528
|
readonly "type": "http";
|
|
@@ -1205,18 +1538,13 @@ export type PluginsProjectConfigGetOutput = {
|
|
|
1205
1538
|
readonly [x: string]: boolean;
|
|
1206
1539
|
};
|
|
1207
1540
|
readonly "catalogId"?: string | undefined;
|
|
1208
|
-
readonly "oauth"?:
|
|
1209
|
-
readonly "status": "none" | "required" | "authorized";
|
|
1210
|
-
} | undefined;
|
|
1541
|
+
readonly "oauth"?: Objects_21 | undefined;
|
|
1211
1542
|
};
|
|
1212
1543
|
};
|
|
1213
1544
|
readonly "skills"?: {
|
|
1214
1545
|
readonly [x: string]: {
|
|
1215
1546
|
readonly "name": string;
|
|
1216
|
-
readonly "source": {
|
|
1217
|
-
readonly "kind": "inline";
|
|
1218
|
-
readonly "skillMd": string;
|
|
1219
|
-
} | {
|
|
1547
|
+
readonly "source": Objects_22 | {
|
|
1220
1548
|
readonly "kind": "builtin";
|
|
1221
1549
|
readonly "id": string;
|
|
1222
1550
|
} | {
|
|
@@ -1234,10 +1562,59 @@ export type PluginsProjectConfigGetOutput = {
|
|
|
1234
1562
|
};
|
|
1235
1563
|
readonly "revision": string | null;
|
|
1236
1564
|
};
|
|
1565
|
+
export type PluginsProjectConfigUpdateInput = {
|
|
1566
|
+
readonly "projectId": string;
|
|
1567
|
+
readonly "config": {
|
|
1568
|
+
readonly "mcpServers"?: {
|
|
1569
|
+
readonly [x: string]: {
|
|
1570
|
+
readonly "name": string;
|
|
1571
|
+
readonly "transport": {
|
|
1572
|
+
readonly "type": "stdio";
|
|
1573
|
+
readonly "command": string;
|
|
1574
|
+
readonly "args"?: Arrays_4;
|
|
1575
|
+
readonly "env"?: Objects_23;
|
|
1576
|
+
} | {
|
|
1577
|
+
readonly "type": "http";
|
|
1578
|
+
readonly "url": string;
|
|
1579
|
+
readonly "headers"?: Objects_23;
|
|
1580
|
+
} | {
|
|
1581
|
+
readonly "type": "sse";
|
|
1582
|
+
readonly "url": string;
|
|
1583
|
+
readonly "headers"?: Objects_23;
|
|
1584
|
+
};
|
|
1585
|
+
readonly "enabled"?: boolean;
|
|
1586
|
+
readonly "providers"?: Objects_24;
|
|
1587
|
+
readonly "catalogId"?: string;
|
|
1588
|
+
readonly "oauth"?: Objects_21;
|
|
1589
|
+
};
|
|
1590
|
+
};
|
|
1591
|
+
readonly "skills"?: {
|
|
1592
|
+
readonly [x: string]: {
|
|
1593
|
+
readonly "name": string;
|
|
1594
|
+
readonly "source": Objects_22 | {
|
|
1595
|
+
readonly "kind": "builtin";
|
|
1596
|
+
readonly "id": string;
|
|
1597
|
+
} | {
|
|
1598
|
+
readonly "kind": "catalog";
|
|
1599
|
+
readonly "catalogId": string;
|
|
1600
|
+
readonly "version": string;
|
|
1601
|
+
};
|
|
1602
|
+
readonly "modelInvocable"?: boolean;
|
|
1603
|
+
readonly "userInvocable"?: boolean;
|
|
1604
|
+
readonly "providers"?: Objects_24;
|
|
1605
|
+
};
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1608
|
+
readonly "revision": string | null;
|
|
1609
|
+
};
|
|
1610
|
+
export type PluginsProjectConfigUpdateOutput = {
|
|
1611
|
+
readonly "revision": string;
|
|
1612
|
+
};
|
|
1237
1613
|
export type PluginsInstalledListInput = {};
|
|
1238
1614
|
export type PluginsInstalledListOutput = {
|
|
1239
1615
|
readonly "plugins": ReadonlyArray<{
|
|
1240
1616
|
readonly "entryId": string;
|
|
1617
|
+
readonly "revision"?: string | undefined;
|
|
1241
1618
|
readonly "pluginId": string;
|
|
1242
1619
|
readonly "presentation"?: {
|
|
1243
1620
|
readonly "displayName"?: string | undefined;
|
|
@@ -1396,6 +1773,20 @@ export type PluginsInstalledListOutput = {
|
|
|
1396
1773
|
readonly "executors"?: ReadonlyArray<unknown> | undefined;
|
|
1397
1774
|
}>;
|
|
1398
1775
|
};
|
|
1776
|
+
export type PluginsInstalledSetEnabledInput = {
|
|
1777
|
+
readonly "entryId": string;
|
|
1778
|
+
readonly "enabled": boolean;
|
|
1779
|
+
readonly "revision": string;
|
|
1780
|
+
};
|
|
1781
|
+
export type PluginsInstalledSetEnabledOutput = {
|
|
1782
|
+
readonly "revision": string;
|
|
1783
|
+
};
|
|
1784
|
+
export type PluginsSessionProjectionsSetInput = {
|
|
1785
|
+
readonly "name": string;
|
|
1786
|
+
readonly "threadId": string;
|
|
1787
|
+
readonly "value": unknown;
|
|
1788
|
+
};
|
|
1789
|
+
export type PluginsSessionProjectionsSetOutput = {};
|
|
1399
1790
|
export type PluginsNotificationsListInput = {};
|
|
1400
1791
|
export type PluginsNotificationsListOutput = {
|
|
1401
1792
|
readonly "notifications": ReadonlyArray<{
|
|
@@ -1420,14 +1811,15 @@ export type PluginsNotificationsListOutput = {
|
|
|
1420
1811
|
};
|
|
1421
1812
|
}>;
|
|
1422
1813
|
};
|
|
1423
|
-
export type PluginsNotificationsMarkReadInput =
|
|
1814
|
+
export type PluginsNotificationsMarkReadInput = Objects_25;
|
|
1424
1815
|
export type PluginsNotificationsMarkReadOutput = {};
|
|
1425
|
-
export type PluginsNotificationsClearInput =
|
|
1816
|
+
export type PluginsNotificationsClearInput = Objects_25;
|
|
1426
1817
|
export type PluginsNotificationsClearOutput = {};
|
|
1427
1818
|
export type PluginsSettingsCardsListInput = {};
|
|
1428
1819
|
export type PluginsSettingsCardsListOutput = {
|
|
1429
1820
|
readonly "cards": ReadonlyArray<{
|
|
1430
1821
|
readonly "entryId": string;
|
|
1822
|
+
readonly "revision"?: string | undefined;
|
|
1431
1823
|
readonly "title"?: string | undefined;
|
|
1432
1824
|
readonly "titleKey"?: string | undefined;
|
|
1433
1825
|
readonly "description"?: string | undefined;
|
|
@@ -1442,8 +1834,8 @@ export type PluginsSettingsCardsListOutput = {
|
|
|
1442
1834
|
readonly "placeholder"?: string | undefined;
|
|
1443
1835
|
readonly "placeholderKey"?: string | undefined;
|
|
1444
1836
|
readonly "required"?: boolean | undefined;
|
|
1445
|
-
readonly "options"?:
|
|
1446
|
-
readonly "showWhen"?:
|
|
1837
|
+
readonly "options"?: Union_13;
|
|
1838
|
+
readonly "showWhen"?: Union_14;
|
|
1447
1839
|
readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" | "table";
|
|
1448
1840
|
readonly "columns"?: ReadonlyArray<{
|
|
1449
1841
|
readonly "key": string;
|
|
@@ -1454,8 +1846,8 @@ export type PluginsSettingsCardsListOutput = {
|
|
|
1454
1846
|
readonly "placeholder"?: string | undefined;
|
|
1455
1847
|
readonly "placeholderKey"?: string | undefined;
|
|
1456
1848
|
readonly "required"?: boolean | undefined;
|
|
1457
|
-
readonly "options"?:
|
|
1458
|
-
readonly "showWhen"?:
|
|
1849
|
+
readonly "options"?: Union_13;
|
|
1850
|
+
readonly "showWhen"?: Union_14;
|
|
1459
1851
|
readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy";
|
|
1460
1852
|
}> | undefined;
|
|
1461
1853
|
readonly "rowIds"?: "client" | "plugin" | undefined;
|
|
@@ -1466,7 +1858,7 @@ export type PluginsSettingsCardsListOutput = {
|
|
|
1466
1858
|
readonly "badgeKey"?: string | undefined;
|
|
1467
1859
|
readonly "warningKey"?: string | undefined;
|
|
1468
1860
|
readonly "command": string;
|
|
1469
|
-
readonly "showWhen"?:
|
|
1861
|
+
readonly "showWhen"?: Objects_26 | undefined;
|
|
1470
1862
|
readonly "fills": ReadonlyArray<string>;
|
|
1471
1863
|
}> | undefined;
|
|
1472
1864
|
}>;
|
|
@@ -1478,9 +1870,7 @@ export type PluginsSettingsCardsListOutput = {
|
|
|
1478
1870
|
readonly "warningKey"?: string | undefined;
|
|
1479
1871
|
readonly "command": string;
|
|
1480
1872
|
}> | undefined;
|
|
1481
|
-
readonly "values":
|
|
1482
|
-
readonly [x: string]: unknown;
|
|
1483
|
-
};
|
|
1873
|
+
readonly "values": Objects_27;
|
|
1484
1874
|
readonly "secretFields"?: ReadonlyArray<string> | undefined;
|
|
1485
1875
|
readonly "secretCells"?: ReadonlyArray<{
|
|
1486
1876
|
readonly "field": string;
|
|
@@ -1489,6 +1879,14 @@ export type PluginsSettingsCardsListOutput = {
|
|
|
1489
1879
|
}> | undefined;
|
|
1490
1880
|
}>;
|
|
1491
1881
|
};
|
|
1882
|
+
export type PluginsSettingsCardsUpdateValuesInput = {
|
|
1883
|
+
readonly "entryId": string;
|
|
1884
|
+
readonly "values": Objects_27;
|
|
1885
|
+
readonly "revision": string;
|
|
1886
|
+
};
|
|
1887
|
+
export type PluginsSettingsCardsUpdateValuesOutput = {
|
|
1888
|
+
readonly "revision": string;
|
|
1889
|
+
};
|
|
1492
1890
|
export type UsageQuotaGetInput = {
|
|
1493
1891
|
readonly "instanceIds"?: ReadonlyArray<string>;
|
|
1494
1892
|
readonly "refresh": boolean;
|
|
@@ -1513,7 +1911,7 @@ export type UsageQuotaGetOutput = {
|
|
|
1513
1911
|
readonly "accountKey"?: string;
|
|
1514
1912
|
readonly "windows": ReadonlyArray<{
|
|
1515
1913
|
readonly "id": string;
|
|
1516
|
-
readonly "label":
|
|
1914
|
+
readonly "label": Union_15;
|
|
1517
1915
|
readonly "usedPercent": number;
|
|
1518
1916
|
readonly "resetsAt": string | null;
|
|
1519
1917
|
readonly "windowMs"?: number;
|
|
@@ -1521,7 +1919,7 @@ export type UsageQuotaGetOutput = {
|
|
|
1521
1919
|
}>;
|
|
1522
1920
|
readonly "balances": ReadonlyArray<{
|
|
1523
1921
|
readonly "id": string;
|
|
1524
|
-
readonly "label":
|
|
1922
|
+
readonly "label": Union_15;
|
|
1525
1923
|
readonly "remaining": number | null;
|
|
1526
1924
|
readonly "used": number | null;
|
|
1527
1925
|
readonly "limit": number | null;
|
|
@@ -1599,6 +1997,41 @@ export type UsageTokensGetOutput = {
|
|
|
1599
1997
|
};
|
|
1600
1998
|
readonly "scanDurationMs": number;
|
|
1601
1999
|
};
|
|
2000
|
+
export type WakesCancelInput = {
|
|
2001
|
+
readonly "wakeId": string;
|
|
2002
|
+
readonly "requestId"?: string;
|
|
2003
|
+
};
|
|
2004
|
+
export type WakesCancelOutput = {
|
|
2005
|
+
readonly "wake": Objects_28;
|
|
2006
|
+
};
|
|
2007
|
+
export type WakesListInput = {
|
|
2008
|
+
readonly "threadId"?: string;
|
|
2009
|
+
readonly "state"?: "scheduled" | "fired" | "cancelled";
|
|
2010
|
+
};
|
|
2011
|
+
export type WakesListOutput = {
|
|
2012
|
+
readonly "wakes": ReadonlyArray<Objects_28>;
|
|
2013
|
+
};
|
|
2014
|
+
export type SkillsListInput = {
|
|
2015
|
+
readonly "threadId"?: string;
|
|
2016
|
+
};
|
|
2017
|
+
export type SkillsListOutput = {
|
|
2018
|
+
readonly "skills": ReadonlyArray<{
|
|
2019
|
+
readonly "name": string;
|
|
2020
|
+
readonly "description"?: string;
|
|
2021
|
+
}>;
|
|
2022
|
+
};
|
|
2023
|
+
export type SkillsReadInput = {
|
|
2024
|
+
readonly "threadId"?: string;
|
|
2025
|
+
readonly "name": string;
|
|
2026
|
+
readonly "textOffset"?: number;
|
|
2027
|
+
readonly "textLimit"?: number;
|
|
2028
|
+
};
|
|
2029
|
+
export type SkillsReadOutput = {
|
|
2030
|
+
readonly "name": string;
|
|
2031
|
+
readonly "directory": string;
|
|
2032
|
+
readonly "content": string;
|
|
2033
|
+
readonly "contentWindow"?: Objects_14;
|
|
2034
|
+
};
|
|
1602
2035
|
export type MemoryExperiencesListInput = {
|
|
1603
2036
|
readonly "projectId": string;
|
|
1604
2037
|
readonly "status"?: "active" | "forgotten" | "erased";
|
|
@@ -1609,13 +2042,13 @@ export type MemoryExperiencesListOutput = {
|
|
|
1609
2042
|
readonly "items": ReadonlyArray<{
|
|
1610
2043
|
readonly "experienceId": string;
|
|
1611
2044
|
readonly "status": "active" | "forgotten" | "erased";
|
|
1612
|
-
readonly "author":
|
|
2045
|
+
readonly "author": Union_16;
|
|
1613
2046
|
readonly "sourceThreadId": string | null;
|
|
1614
2047
|
readonly "sourceTurnId": string | null;
|
|
1615
2048
|
readonly "currentRevision": number;
|
|
1616
2049
|
readonly "createdAt": string;
|
|
1617
2050
|
readonly "updatedAt": string;
|
|
1618
|
-
readonly "supersedes":
|
|
2051
|
+
readonly "supersedes": Arrays_5;
|
|
1619
2052
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
1620
2053
|
readonly "excerpt": string | null;
|
|
1621
2054
|
}>;
|
|
@@ -1630,20 +2063,20 @@ export type MemoryExperiencesGetInput = {
|
|
|
1630
2063
|
export type MemoryExperiencesGetOutput = {
|
|
1631
2064
|
readonly "experienceId": string;
|
|
1632
2065
|
readonly "status": "active" | "forgotten" | "erased";
|
|
1633
|
-
readonly "author":
|
|
2066
|
+
readonly "author": Union_16;
|
|
1634
2067
|
readonly "sourceThreadId": string | null;
|
|
1635
2068
|
readonly "sourceTurnId": string | null;
|
|
1636
2069
|
readonly "currentRevision": number;
|
|
1637
2070
|
readonly "createdAt": string;
|
|
1638
2071
|
readonly "updatedAt": string;
|
|
1639
|
-
readonly "supersedes":
|
|
2072
|
+
readonly "supersedes": Arrays_5;
|
|
1640
2073
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
1641
2074
|
readonly "body": string | null;
|
|
1642
2075
|
readonly "bodyWindow"?: Objects_14;
|
|
1643
2076
|
readonly "forgottenAt": string | null;
|
|
1644
|
-
readonly "forgottenBy":
|
|
2077
|
+
readonly "forgottenBy": Union_16 | null;
|
|
1645
2078
|
readonly "erasedAt": string | null;
|
|
1646
|
-
readonly "erasedBy":
|
|
2079
|
+
readonly "erasedBy": Union_16 | null;
|
|
1647
2080
|
};
|
|
1648
2081
|
export type MemoryExperiencesHistoryInput = {
|
|
1649
2082
|
readonly "projectId": string;
|
|
@@ -1654,7 +2087,7 @@ export type MemoryExperiencesHistoryInput = {
|
|
|
1654
2087
|
readonly "textLimit"?: number;
|
|
1655
2088
|
};
|
|
1656
2089
|
export type MemoryExperiencesHistoryOutput = {
|
|
1657
|
-
readonly "items": ReadonlyArray<
|
|
2090
|
+
readonly "items": ReadonlyArray<Objects_32>;
|
|
1658
2091
|
readonly "nextCursor": string | null;
|
|
1659
2092
|
};
|
|
1660
2093
|
export type MemoryRevisionsGetInput = {
|
|
@@ -1664,7 +2097,7 @@ export type MemoryRevisionsGetInput = {
|
|
|
1664
2097
|
readonly "textOffset"?: number;
|
|
1665
2098
|
readonly "textLimit"?: number;
|
|
1666
2099
|
};
|
|
1667
|
-
export type MemoryRevisionsGetOutput =
|
|
2100
|
+
export type MemoryRevisionsGetOutput = Objects_32;
|
|
1668
2101
|
export type MemorySearchInput = {
|
|
1669
2102
|
readonly "projectId": string;
|
|
1670
2103
|
readonly "text": string;
|
|
@@ -1700,7 +2133,7 @@ export type MemoryExperiencesRecordInput = {
|
|
|
1700
2133
|
};
|
|
1701
2134
|
export type MemoryExperiencesRecordOutput = {
|
|
1702
2135
|
readonly "sequence": number;
|
|
1703
|
-
readonly "result":
|
|
2136
|
+
readonly "result": Objects_33;
|
|
1704
2137
|
};
|
|
1705
2138
|
export type MemoryExperiencesReviseInput = {
|
|
1706
2139
|
readonly "projectId": string;
|
|
@@ -1711,13 +2144,13 @@ export type MemoryExperiencesReviseInput = {
|
|
|
1711
2144
|
};
|
|
1712
2145
|
export type MemoryExperiencesReviseOutput = {
|
|
1713
2146
|
readonly "sequence": number;
|
|
1714
|
-
readonly "result":
|
|
2147
|
+
readonly "result": Objects_33;
|
|
1715
2148
|
};
|
|
1716
|
-
export type MemoryExperiencesForgetInput =
|
|
1717
|
-
export type MemoryExperiencesForgetOutput =
|
|
1718
|
-
export type MemoryExperiencesRestoreInput =
|
|
1719
|
-
export type MemoryExperiencesRestoreOutput =
|
|
1720
|
-
export type MemoryExperiencesEraseInput =
|
|
2149
|
+
export type MemoryExperiencesForgetInput = Objects_34;
|
|
2150
|
+
export type MemoryExperiencesForgetOutput = Objects_35;
|
|
2151
|
+
export type MemoryExperiencesRestoreInput = Objects_34;
|
|
2152
|
+
export type MemoryExperiencesRestoreOutput = Objects_35;
|
|
2153
|
+
export type MemoryExperiencesEraseInput = Objects_34;
|
|
1721
2154
|
export type MemoryExperiencesEraseOutput = {
|
|
1722
2155
|
readonly "sequence": number;
|
|
1723
2156
|
readonly "result": {
|
|
@@ -1767,10 +2200,10 @@ export type MemoryPagesGetOutput = {
|
|
|
1767
2200
|
readonly "updatedAt": string;
|
|
1768
2201
|
readonly "title": string | null;
|
|
1769
2202
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
1770
|
-
readonly "createdBy":
|
|
2203
|
+
readonly "createdBy": Union_16;
|
|
1771
2204
|
readonly "body": string | null;
|
|
1772
2205
|
readonly "bodyWindow"?: Objects_14;
|
|
1773
|
-
readonly "erasedBy":
|
|
2206
|
+
readonly "erasedBy": Union_16 | null;
|
|
1774
2207
|
};
|
|
1775
2208
|
export type MemoryPagesHistoryInput = {
|
|
1776
2209
|
readonly "projectId": string;
|
|
@@ -1781,7 +2214,7 @@ export type MemoryPagesHistoryInput = {
|
|
|
1781
2214
|
readonly "textLimit"?: number;
|
|
1782
2215
|
};
|
|
1783
2216
|
export type MemoryPagesHistoryOutput = {
|
|
1784
|
-
readonly "items": ReadonlyArray<
|
|
2217
|
+
readonly "items": ReadonlyArray<Objects_36>;
|
|
1785
2218
|
readonly "nextCursor": string | null;
|
|
1786
2219
|
};
|
|
1787
2220
|
export type MemoryPageRevisionsGetInput = {
|
|
@@ -1791,7 +2224,7 @@ export type MemoryPageRevisionsGetInput = {
|
|
|
1791
2224
|
readonly "textOffset"?: number;
|
|
1792
2225
|
readonly "textLimit"?: number;
|
|
1793
2226
|
};
|
|
1794
|
-
export type MemoryPageRevisionsGetOutput =
|
|
2227
|
+
export type MemoryPageRevisionsGetOutput = Objects_36;
|
|
1795
2228
|
export type MemoryPagesCreateInput = {
|
|
1796
2229
|
readonly "projectId": string;
|
|
1797
2230
|
readonly "requestId"?: string;
|
|
@@ -1804,7 +2237,7 @@ export type MemoryPagesCreateInput = {
|
|
|
1804
2237
|
};
|
|
1805
2238
|
export type MemoryPagesCreateOutput = {
|
|
1806
2239
|
readonly "sequence": number;
|
|
1807
|
-
readonly "result":
|
|
2240
|
+
readonly "result": Objects_37;
|
|
1808
2241
|
};
|
|
1809
2242
|
export type MemoryPagesEditInput = {
|
|
1810
2243
|
readonly "projectId": string;
|
|
@@ -1817,7 +2250,7 @@ export type MemoryPagesEditInput = {
|
|
|
1817
2250
|
};
|
|
1818
2251
|
export type MemoryPagesEditOutput = {
|
|
1819
2252
|
readonly "sequence": number;
|
|
1820
|
-
readonly "result":
|
|
2253
|
+
readonly "result": Objects_37;
|
|
1821
2254
|
};
|
|
1822
2255
|
export type MemoryPagesRestoreInput = {
|
|
1823
2256
|
readonly "projectId": string;
|
|
@@ -1828,7 +2261,7 @@ export type MemoryPagesRestoreInput = {
|
|
|
1828
2261
|
};
|
|
1829
2262
|
export type MemoryPagesRestoreOutput = {
|
|
1830
2263
|
readonly "sequence": number;
|
|
1831
|
-
readonly "result":
|
|
2264
|
+
readonly "result": Objects_37;
|
|
1832
2265
|
};
|
|
1833
2266
|
export type MemoryPagesEraseInput = {
|
|
1834
2267
|
readonly "projectId": string;
|
|
@@ -1848,8 +2281,8 @@ export type MemoryHandbookGetInput = {
|
|
|
1848
2281
|
};
|
|
1849
2282
|
export type MemoryHandbookGetOutput = {
|
|
1850
2283
|
readonly "head": {
|
|
1851
|
-
readonly "current":
|
|
1852
|
-
readonly "pages": ReadonlyArray<
|
|
2284
|
+
readonly "current": Objects_38;
|
|
2285
|
+
readonly "pages": ReadonlyArray<Objects_36>;
|
|
1853
2286
|
} | null;
|
|
1854
2287
|
};
|
|
1855
2288
|
export type MemoryHandbookReleasesListInput = {
|
|
@@ -1858,7 +2291,7 @@ export type MemoryHandbookReleasesListInput = {
|
|
|
1858
2291
|
readonly "limit"?: number;
|
|
1859
2292
|
};
|
|
1860
2293
|
export type MemoryHandbookReleasesListOutput = {
|
|
1861
|
-
readonly "items": ReadonlyArray<
|
|
2294
|
+
readonly "items": ReadonlyArray<Objects_38>;
|
|
1862
2295
|
readonly "nextCursor": string | null;
|
|
1863
2296
|
};
|
|
1864
2297
|
export type MemoryHandbookReleasesGetInput = {
|
|
@@ -1867,13 +2300,13 @@ export type MemoryHandbookReleasesGetInput = {
|
|
|
1867
2300
|
};
|
|
1868
2301
|
export type MemoryHandbookReleasesGetOutput = {
|
|
1869
2302
|
readonly "release": number;
|
|
1870
|
-
readonly "pages":
|
|
2303
|
+
readonly "pages": Arrays_6;
|
|
1871
2304
|
readonly "itemCount": number;
|
|
1872
2305
|
readonly "itemHighWater": number;
|
|
1873
2306
|
readonly "requiresAck": boolean;
|
|
1874
2307
|
readonly "restoredFromRelease": number | null;
|
|
1875
|
-
readonly "sourceExperience":
|
|
1876
|
-
readonly "publishedBy":
|
|
2308
|
+
readonly "sourceExperience": Union_17;
|
|
2309
|
+
readonly "publishedBy": Union_16;
|
|
1877
2310
|
readonly "publishedAt": string;
|
|
1878
2311
|
readonly "items": ReadonlyArray<{
|
|
1879
2312
|
readonly "itemNumber": number;
|
|
@@ -1899,7 +2332,7 @@ export type MemoryHandbookPublishInput = {
|
|
|
1899
2332
|
};
|
|
1900
2333
|
export type MemoryHandbookPublishOutput = {
|
|
1901
2334
|
readonly "sequence": number;
|
|
1902
|
-
readonly "result":
|
|
2335
|
+
readonly "result": Objects_40;
|
|
1903
2336
|
};
|
|
1904
2337
|
export type MemoryHandbookRevertInput = {
|
|
1905
2338
|
readonly "projectId": string;
|
|
@@ -1910,7 +2343,7 @@ export type MemoryHandbookRevertInput = {
|
|
|
1910
2343
|
};
|
|
1911
2344
|
export type MemoryHandbookRevertOutput = {
|
|
1912
2345
|
readonly "sequence": number;
|
|
1913
|
-
readonly "result":
|
|
2346
|
+
readonly "result": Objects_40;
|
|
1914
2347
|
};
|
|
1915
2348
|
export type WorkRemoteAgentPendingGetInput = {
|
|
1916
2349
|
readonly "projectId": string;
|
|
@@ -1958,7 +2391,7 @@ export type WorkItemsListInput = {
|
|
|
1958
2391
|
readonly "projectId": string;
|
|
1959
2392
|
readonly "stateIds"?: ReadonlyArray<string>;
|
|
1960
2393
|
readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">;
|
|
1961
|
-
readonly "assignees"?: ReadonlyArray<
|
|
2394
|
+
readonly "assignees"?: ReadonlyArray<Union_18 | "me" | "none">;
|
|
1962
2395
|
readonly "orderBy"?: "created" | "updated";
|
|
1963
2396
|
readonly "cursor"?: string | null;
|
|
1964
2397
|
readonly "limit"?: number;
|
|
@@ -1970,10 +2403,10 @@ export type WorkItemsListOutput = {
|
|
|
1970
2403
|
readonly "sequenceId": number;
|
|
1971
2404
|
readonly "title": string | null;
|
|
1972
2405
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
1973
|
-
readonly "state":
|
|
2406
|
+
readonly "state": Objects_41;
|
|
1974
2407
|
readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
|
|
1975
|
-
readonly "assignees":
|
|
1976
|
-
readonly "labelIds":
|
|
2408
|
+
readonly "assignees": Arrays_7;
|
|
2409
|
+
readonly "labelIds": Arrays_8;
|
|
1977
2410
|
readonly "parentId": string | null;
|
|
1978
2411
|
readonly "startDate": string | null;
|
|
1979
2412
|
readonly "targetDate": string | null;
|
|
@@ -1982,10 +2415,10 @@ export type WorkItemsListOutput = {
|
|
|
1982
2415
|
readonly "archivedAt": string | null;
|
|
1983
2416
|
readonly "version": number;
|
|
1984
2417
|
readonly "revision": number;
|
|
1985
|
-
readonly "blockedBy":
|
|
2418
|
+
readonly "blockedBy": Arrays_9;
|
|
1986
2419
|
readonly "blockedByTotal": number;
|
|
1987
|
-
readonly "childCounts":
|
|
1988
|
-
readonly "createdBy":
|
|
2420
|
+
readonly "childCounts": Objects_42;
|
|
2421
|
+
readonly "createdBy": Union_16;
|
|
1989
2422
|
readonly "createdAt": string;
|
|
1990
2423
|
readonly "updatedAt": string;
|
|
1991
2424
|
}>;
|
|
@@ -2012,10 +2445,10 @@ export type WorkItemsGetOutput = {
|
|
|
2012
2445
|
readonly "sequenceId": number;
|
|
2013
2446
|
readonly "title": string | null;
|
|
2014
2447
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
2015
|
-
readonly "state":
|
|
2448
|
+
readonly "state": Objects_41;
|
|
2016
2449
|
readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
|
|
2017
|
-
readonly "assignees":
|
|
2018
|
-
readonly "labelIds":
|
|
2450
|
+
readonly "assignees": Arrays_7;
|
|
2451
|
+
readonly "labelIds": Arrays_8;
|
|
2019
2452
|
readonly "parentId": string | null;
|
|
2020
2453
|
readonly "startDate": string | null;
|
|
2021
2454
|
readonly "targetDate": string | null;
|
|
@@ -2024,10 +2457,10 @@ export type WorkItemsGetOutput = {
|
|
|
2024
2457
|
readonly "archivedAt": string | null;
|
|
2025
2458
|
readonly "version": number;
|
|
2026
2459
|
readonly "revision": number;
|
|
2027
|
-
readonly "blockedBy":
|
|
2460
|
+
readonly "blockedBy": Arrays_9;
|
|
2028
2461
|
readonly "blockedByTotal": number;
|
|
2029
|
-
readonly "childCounts":
|
|
2030
|
-
readonly "createdBy":
|
|
2462
|
+
readonly "childCounts": Objects_42;
|
|
2463
|
+
readonly "createdBy": Union_16;
|
|
2031
2464
|
readonly "createdAt": string;
|
|
2032
2465
|
readonly "updatedAt": string;
|
|
2033
2466
|
readonly "description": string | null;
|
|
@@ -2070,7 +2503,7 @@ export type WorkCommentsListInput = {
|
|
|
2070
2503
|
readonly "textLimit"?: number;
|
|
2071
2504
|
};
|
|
2072
2505
|
export type WorkCommentsListOutput = {
|
|
2073
|
-
readonly "items": ReadonlyArray<
|
|
2506
|
+
readonly "items": ReadonlyArray<Objects_43>;
|
|
2074
2507
|
readonly "nextCursor": string | null;
|
|
2075
2508
|
readonly "snapshotSequence": number;
|
|
2076
2509
|
};
|
|
@@ -2081,7 +2514,7 @@ export type WorkCommentsGetInput = {
|
|
|
2081
2514
|
readonly "textLimit"?: number;
|
|
2082
2515
|
};
|
|
2083
2516
|
export type WorkCommentsGetOutput = {
|
|
2084
|
-
readonly "comment":
|
|
2517
|
+
readonly "comment": Objects_43;
|
|
2085
2518
|
readonly "snapshotSequence": number;
|
|
2086
2519
|
};
|
|
2087
2520
|
export type WorkHistoryListInput = {
|
|
@@ -2095,7 +2528,7 @@ export type WorkHistoryListOutput = {
|
|
|
2095
2528
|
readonly "items": ReadonlyArray<{
|
|
2096
2529
|
readonly "sequence": number;
|
|
2097
2530
|
readonly "workItemId": string | null;
|
|
2098
|
-
readonly "actor":
|
|
2531
|
+
readonly "actor": Union_16;
|
|
2099
2532
|
readonly "viaPlugin"?: string;
|
|
2100
2533
|
readonly "at": string;
|
|
2101
2534
|
readonly "target": {
|
|
@@ -2109,12 +2542,12 @@ export type WorkHistoryListOutput = {
|
|
|
2109
2542
|
readonly "newRevision": number | null;
|
|
2110
2543
|
} | {
|
|
2111
2544
|
readonly "field": "state";
|
|
2112
|
-
readonly "old":
|
|
2113
|
-
readonly "new":
|
|
2545
|
+
readonly "old": Objects_44 | null;
|
|
2546
|
+
readonly "new": Objects_44 | null;
|
|
2114
2547
|
} | {
|
|
2115
2548
|
readonly "field": "assignees" | "mentions";
|
|
2116
|
-
readonly "old": ReadonlyArray<
|
|
2117
|
-
readonly "new": ReadonlyArray<
|
|
2549
|
+
readonly "old": ReadonlyArray<Union_19>;
|
|
2550
|
+
readonly "new": ReadonlyArray<Union_19>;
|
|
2118
2551
|
} | {
|
|
2119
2552
|
readonly "field": "completedAt";
|
|
2120
2553
|
readonly "old": string | null;
|
|
@@ -2131,7 +2564,7 @@ export type WorkItemsCreateInput = {
|
|
|
2131
2564
|
readonly "title": string;
|
|
2132
2565
|
readonly "description"?: string;
|
|
2133
2566
|
readonly "stateId"?: string;
|
|
2134
|
-
readonly "assignees"?: ReadonlyArray<
|
|
2567
|
+
readonly "assignees"?: ReadonlyArray<Union_18>;
|
|
2135
2568
|
};
|
|
2136
2569
|
export type WorkItemsCreateOutput = {
|
|
2137
2570
|
readonly "sequence": number;
|
|
@@ -2150,7 +2583,7 @@ export type WorkItemsUpdateInput = {
|
|
|
2150
2583
|
readonly "title"?: string;
|
|
2151
2584
|
readonly "description"?: string;
|
|
2152
2585
|
readonly "stateId"?: string;
|
|
2153
|
-
readonly "assignees"?: ReadonlyArray<
|
|
2586
|
+
readonly "assignees"?: ReadonlyArray<Union_18>;
|
|
2154
2587
|
};
|
|
2155
2588
|
export type WorkItemsUpdateOutput = {
|
|
2156
2589
|
readonly "sequence": number;
|
|
@@ -2174,15 +2607,15 @@ export type WorkItemsClaimOutput = {
|
|
|
2174
2607
|
readonly "version": number;
|
|
2175
2608
|
};
|
|
2176
2609
|
};
|
|
2177
|
-
export type WorkRelationsAddInput =
|
|
2610
|
+
export type WorkRelationsAddInput = Objects_45;
|
|
2178
2611
|
export type WorkRelationsAddOutput = {
|
|
2179
2612
|
readonly "sequence": number;
|
|
2180
|
-
readonly "result":
|
|
2613
|
+
readonly "result": Objects_46;
|
|
2181
2614
|
};
|
|
2182
|
-
export type WorkRelationsRemoveInput =
|
|
2615
|
+
export type WorkRelationsRemoveInput = Objects_45;
|
|
2183
2616
|
export type WorkRelationsRemoveOutput = {
|
|
2184
2617
|
readonly "sequence": number;
|
|
2185
|
-
readonly "result":
|
|
2618
|
+
readonly "result": Objects_46;
|
|
2186
2619
|
};
|
|
2187
2620
|
export type WorkCommentsPostInput = {
|
|
2188
2621
|
readonly "projectId": string;
|
|
@@ -2190,7 +2623,7 @@ export type WorkCommentsPostInput = {
|
|
|
2190
2623
|
readonly "commentId"?: string;
|
|
2191
2624
|
readonly "workItemId": string;
|
|
2192
2625
|
readonly "body": string;
|
|
2193
|
-
readonly "mentions"?: ReadonlyArray<
|
|
2626
|
+
readonly "mentions"?: ReadonlyArray<Union_18>;
|
|
2194
2627
|
readonly "parentId"?: string;
|
|
2195
2628
|
};
|
|
2196
2629
|
export type WorkCommentsPostOutput = {
|
|
@@ -2205,11 +2638,7 @@ export type ThreadsCreateInput = {
|
|
|
2205
2638
|
readonly "threadId": string;
|
|
2206
2639
|
readonly "projectId": string;
|
|
2207
2640
|
readonly "title": string;
|
|
2208
|
-
readonly "modelSelection":
|
|
2209
|
-
readonly "instanceId": string;
|
|
2210
|
-
readonly "model": string;
|
|
2211
|
-
readonly "options"?: Union_17;
|
|
2212
|
-
};
|
|
2641
|
+
readonly "modelSelection": Objects_19;
|
|
2213
2642
|
readonly "executionSelection"?: {
|
|
2214
2643
|
readonly "environmentId": string;
|
|
2215
2644
|
readonly "runtimeId": string;
|
|
@@ -2233,7 +2662,7 @@ export type ThreadsCreateInput = {
|
|
|
2233
2662
|
};
|
|
2234
2663
|
readonly "presetId"?: string;
|
|
2235
2664
|
};
|
|
2236
|
-
export type ThreadsCreateOutput =
|
|
2665
|
+
export type ThreadsCreateOutput = Objects_47;
|
|
2237
2666
|
export type ThreadsForkInput = {
|
|
2238
2667
|
readonly "requestId"?: string;
|
|
2239
2668
|
readonly "threadId": string;
|
|
@@ -2242,7 +2671,87 @@ export type ThreadsForkInput = {
|
|
|
2242
2671
|
readonly "startFolderId"?: string;
|
|
2243
2672
|
readonly "folderIds"?: ReadonlyArray<string>;
|
|
2244
2673
|
};
|
|
2245
|
-
export type ThreadsForkOutput =
|
|
2674
|
+
export type ThreadsForkOutput = Objects_47;
|
|
2675
|
+
export type ThreadsImportInput = {
|
|
2676
|
+
readonly "requestId"?: string;
|
|
2677
|
+
readonly "threadId": string;
|
|
2678
|
+
readonly "projectId": string;
|
|
2679
|
+
readonly "title": string;
|
|
2680
|
+
readonly "modelSelection": Objects_19;
|
|
2681
|
+
readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
|
|
2682
|
+
readonly "branch": string | null;
|
|
2683
|
+
readonly "worktreePath": string | null;
|
|
2684
|
+
readonly "startFolderId"?: string;
|
|
2685
|
+
readonly "folderIds"?: ReadonlyArray<string>;
|
|
2686
|
+
readonly "messages": ReadonlyArray<{
|
|
2687
|
+
readonly "messageId": string;
|
|
2688
|
+
readonly "role": "user" | "assistant" | "system";
|
|
2689
|
+
readonly "text": string;
|
|
2690
|
+
readonly "createdAt": string;
|
|
2691
|
+
readonly "updatedAt": string;
|
|
2692
|
+
readonly "modelSelection"?: {
|
|
2693
|
+
readonly "provider"?: unknown;
|
|
2694
|
+
readonly "instanceId"?: unknown;
|
|
2695
|
+
readonly "model": unknown;
|
|
2696
|
+
readonly "options"?: unknown;
|
|
2697
|
+
};
|
|
2698
|
+
readonly "source"?: {
|
|
2699
|
+
readonly "kind": "native-session";
|
|
2700
|
+
readonly "provider": "claude" | "codex";
|
|
2701
|
+
readonly "sessionId": string;
|
|
2702
|
+
readonly "messageId": string;
|
|
2703
|
+
readonly "turnId"?: string;
|
|
2704
|
+
readonly "order": number;
|
|
2705
|
+
};
|
|
2706
|
+
}>;
|
|
2707
|
+
readonly "activities"?: ReadonlyArray<{
|
|
2708
|
+
readonly "id": string;
|
|
2709
|
+
readonly "tone": "info" | "tool" | "approval" | "error";
|
|
2710
|
+
readonly "kind": string;
|
|
2711
|
+
readonly "summary": string;
|
|
2712
|
+
readonly "payload": unknown;
|
|
2713
|
+
readonly "turnId": string | null;
|
|
2714
|
+
readonly "sequence"?: number;
|
|
2715
|
+
readonly "createdAt": string;
|
|
2716
|
+
}>;
|
|
2717
|
+
};
|
|
2718
|
+
export type ThreadsImportOutput = Objects_47;
|
|
2719
|
+
export type ThreadsExternalMessagesAppendInput = {
|
|
2720
|
+
readonly "requestId"?: string;
|
|
2721
|
+
readonly "threadId": string;
|
|
2722
|
+
readonly "messages": ReadonlyArray<{
|
|
2723
|
+
readonly "messageId": string;
|
|
2724
|
+
readonly "role": "user" | "assistant" | "system";
|
|
2725
|
+
readonly "text": string;
|
|
2726
|
+
readonly "createdAt": string;
|
|
2727
|
+
readonly "updatedAt": string;
|
|
2728
|
+
readonly "modelSelection"?: {
|
|
2729
|
+
readonly "provider"?: unknown;
|
|
2730
|
+
readonly "instanceId"?: unknown;
|
|
2731
|
+
readonly "model": unknown;
|
|
2732
|
+
readonly "options"?: unknown;
|
|
2733
|
+
};
|
|
2734
|
+
readonly "source"?: {
|
|
2735
|
+
readonly "kind": "native-session";
|
|
2736
|
+
readonly "provider": "claude" | "codex";
|
|
2737
|
+
readonly "sessionId": string;
|
|
2738
|
+
readonly "messageId": string;
|
|
2739
|
+
readonly "turnId"?: string;
|
|
2740
|
+
readonly "order": number;
|
|
2741
|
+
};
|
|
2742
|
+
}>;
|
|
2743
|
+
readonly "activities"?: ReadonlyArray<{
|
|
2744
|
+
readonly "id": string;
|
|
2745
|
+
readonly "tone": "info" | "tool" | "approval" | "error";
|
|
2746
|
+
readonly "kind": string;
|
|
2747
|
+
readonly "summary": string;
|
|
2748
|
+
readonly "payload": unknown;
|
|
2749
|
+
readonly "turnId": string | null;
|
|
2750
|
+
readonly "sequence"?: number;
|
|
2751
|
+
readonly "createdAt": string;
|
|
2752
|
+
}>;
|
|
2753
|
+
};
|
|
2754
|
+
export type ThreadsExternalMessagesAppendOutput = Objects_47;
|
|
2246
2755
|
export type ThreadsUpdateInput = {
|
|
2247
2756
|
readonly "threadId": string;
|
|
2248
2757
|
readonly "requestId"?: string;
|
|
@@ -2251,7 +2760,7 @@ export type ThreadsUpdateInput = {
|
|
|
2251
2760
|
readonly "modelSelection"?: {
|
|
2252
2761
|
readonly "instanceId": string;
|
|
2253
2762
|
readonly "model": string;
|
|
2254
|
-
readonly "options"?:
|
|
2763
|
+
readonly "options"?: Union_12;
|
|
2255
2764
|
};
|
|
2256
2765
|
readonly "executionSelection"?: {
|
|
2257
2766
|
readonly "environmentId": string;
|
|
@@ -2273,7 +2782,7 @@ export type ThreadsUpdateInput = {
|
|
|
2273
2782
|
} | null;
|
|
2274
2783
|
readonly "presetId"?: string | null;
|
|
2275
2784
|
};
|
|
2276
|
-
export type ThreadsUpdateOutput =
|
|
2785
|
+
export type ThreadsUpdateOutput = Objects_47;
|
|
2277
2786
|
export type ThreadsTurnsStartInput = {
|
|
2278
2787
|
readonly "requestId"?: string;
|
|
2279
2788
|
readonly "threadId": string;
|
|
@@ -2287,7 +2796,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
2287
2796
|
readonly "mimeType": string;
|
|
2288
2797
|
readonly "sizeBytes": number;
|
|
2289
2798
|
readonly "dataUrl": string;
|
|
2290
|
-
readonly "source"?:
|
|
2799
|
+
readonly "source"?: Objects_48;
|
|
2291
2800
|
} | {
|
|
2292
2801
|
readonly "type": "file";
|
|
2293
2802
|
readonly "name": string;
|
|
@@ -2300,7 +2809,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
2300
2809
|
readonly "name": string;
|
|
2301
2810
|
readonly "mimeType": string;
|
|
2302
2811
|
readonly "sizeBytes": number;
|
|
2303
|
-
readonly "source"?:
|
|
2812
|
+
readonly "source"?: Objects_48 | Objects_50;
|
|
2304
2813
|
} | {
|
|
2305
2814
|
readonly "type": "file";
|
|
2306
2815
|
readonly "id": string;
|
|
@@ -2309,7 +2818,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
2309
2818
|
readonly "sizeBytes": number;
|
|
2310
2819
|
readonly "source"?: {
|
|
2311
2820
|
readonly "_tag": "pasted-text";
|
|
2312
|
-
} |
|
|
2821
|
+
} | Objects_50 | {
|
|
2313
2822
|
readonly "_tag": "thread-reference";
|
|
2314
2823
|
readonly "environmentId": string;
|
|
2315
2824
|
readonly "threadId": string;
|
|
@@ -2319,7 +2828,7 @@ export type ThreadsTurnsStartInput = {
|
|
|
2319
2828
|
readonly "modelSelection"?: {
|
|
2320
2829
|
readonly "instanceId": string;
|
|
2321
2830
|
readonly "model": string;
|
|
2322
|
-
readonly "options"?:
|
|
2831
|
+
readonly "options"?: Union_12;
|
|
2323
2832
|
};
|
|
2324
2833
|
readonly "titleSeed"?: string;
|
|
2325
2834
|
readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
|
|
@@ -2427,11 +2936,11 @@ export type ThreadsUserInputRespondInput = {
|
|
|
2427
2936
|
readonly "height": number;
|
|
2428
2937
|
};
|
|
2429
2938
|
readonly "truncated": boolean;
|
|
2430
|
-
readonly "root":
|
|
2939
|
+
readonly "root": Objects_51;
|
|
2431
2940
|
};
|
|
2432
2941
|
readonly "appIdentifier"?: string;
|
|
2433
2942
|
readonly "appIconDataUrl"?: string;
|
|
2434
|
-
} |
|
|
2943
|
+
} | Objects_52;
|
|
2435
2944
|
} | {
|
|
2436
2945
|
readonly "type": "file";
|
|
2437
2946
|
readonly "id": string;
|
|
@@ -2440,7 +2949,7 @@ export type ThreadsUserInputRespondInput = {
|
|
|
2440
2949
|
readonly "sizeBytes": number;
|
|
2441
2950
|
readonly "source"?: {
|
|
2442
2951
|
readonly "_tag": "pasted-text";
|
|
2443
|
-
} |
|
|
2952
|
+
} | Objects_52 | {
|
|
2444
2953
|
readonly "_tag": "thread-reference";
|
|
2445
2954
|
readonly "environmentId": string;
|
|
2446
2955
|
readonly "threadId": string;
|
|
@@ -2448,10 +2957,52 @@ export type ThreadsUserInputRespondInput = {
|
|
|
2448
2957
|
}>;
|
|
2449
2958
|
};
|
|
2450
2959
|
};
|
|
2451
|
-
export type ThreadsUserInputRespondOutput =
|
|
2960
|
+
export type ThreadsUserInputRespondOutput = Objects_47;
|
|
2961
|
+
export type ThreadsTurnsInterruptInput = {
|
|
2962
|
+
readonly "requestId"?: string;
|
|
2963
|
+
readonly "threadId": string;
|
|
2964
|
+
readonly "turnId"?: string;
|
|
2965
|
+
};
|
|
2966
|
+
export type ThreadsTurnsInterruptOutput = Objects_47;
|
|
2967
|
+
export type ThreadsSessionStopInput = {
|
|
2968
|
+
readonly "requestId"?: string;
|
|
2969
|
+
readonly "threadId": string;
|
|
2970
|
+
readonly "onlyIfSettled"?: boolean;
|
|
2971
|
+
readonly "onlyIfNoTurnInFlight"?: boolean;
|
|
2972
|
+
};
|
|
2973
|
+
export type ThreadsSessionStopOutput = Objects_47;
|
|
2974
|
+
export type ApprovalsRespondInput = {
|
|
2975
|
+
readonly "requestId"?: string;
|
|
2976
|
+
readonly "threadId": string;
|
|
2977
|
+
readonly "approvalRequestId": string;
|
|
2978
|
+
readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
|
|
2979
|
+
readonly "reason"?: string;
|
|
2980
|
+
};
|
|
2981
|
+
export type ApprovalsRespondOutput = Objects_47;
|
|
2982
|
+
export type ThreadsTurnIntentsRunInput = {
|
|
2983
|
+
readonly "requestId"?: string;
|
|
2984
|
+
readonly "threadId": string;
|
|
2985
|
+
readonly "intentId": string;
|
|
2986
|
+
readonly "mode": "steer" | "interrupt";
|
|
2987
|
+
readonly "expectedTurnId"?: string | null;
|
|
2988
|
+
};
|
|
2989
|
+
export type ThreadsTurnIntentsRunOutput = Objects_47;
|
|
2990
|
+
export type ThreadsTurnIntentsCancelInput = {
|
|
2991
|
+
readonly "requestId"?: string;
|
|
2992
|
+
readonly "threadId": string;
|
|
2993
|
+
readonly "intentId": string;
|
|
2994
|
+
readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
|
|
2995
|
+
readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
|
|
2996
|
+
};
|
|
2997
|
+
export type ThreadsTurnIntentsCancelOutput = Objects_47;
|
|
2998
|
+
export type ThreadsTurnQueueResumeInput = {
|
|
2999
|
+
readonly "requestId"?: string;
|
|
3000
|
+
readonly "threadId": string;
|
|
3001
|
+
};
|
|
3002
|
+
export type ThreadsTurnQueueResumeOutput = Objects_47;
|
|
2452
3003
|
export type CommunicationPeopleCurrentInput = {};
|
|
2453
3004
|
export type CommunicationPeopleCurrentOutput = {
|
|
2454
|
-
readonly "person":
|
|
3005
|
+
readonly "person": Union_11 | null;
|
|
2455
3006
|
};
|
|
2456
3007
|
export declare const COMMUNICATION_RECORDS_READ_LIMIT = 100;
|
|
2457
3008
|
export declare const THREAD_ACTIVITIES_LIST_LIMIT = 200;
|
|
@@ -2469,6 +3020,13 @@ export interface PluginDataPorts {
|
|
|
2469
3020
|
readonly threads: {
|
|
2470
3021
|
readonly list: (input: ThreadsListInput) => Promise<ThreadsListOutput>;
|
|
2471
3022
|
readonly history: (input: ThreadsHistoryInput) => Promise<ThreadsHistoryOutput>;
|
|
3023
|
+
readonly execution: {
|
|
3024
|
+
readonly summary: (input: ThreadsExecutionSummaryInput) => Promise<ThreadsExecutionSummaryOutput>;
|
|
3025
|
+
};
|
|
3026
|
+
readonly decisions: {
|
|
3027
|
+
readonly request: (input: ThreadsDecisionsRequestInput) => Promise<ThreadsDecisionsRequestOutput>;
|
|
3028
|
+
readonly cancel: (input: ThreadsDecisionsCancelInput) => Promise<ThreadsDecisionsCancelOutput>;
|
|
3029
|
+
};
|
|
2472
3030
|
readonly get: (input: ThreadsGetInput) => Promise<ThreadsGetOutput>;
|
|
2473
3031
|
readonly messages: {
|
|
2474
3032
|
readonly list: (input: ThreadsMessagesListInput) => Promise<ThreadsMessagesListOutput>;
|
|
@@ -2478,13 +3036,28 @@ export interface PluginDataPorts {
|
|
|
2478
3036
|
};
|
|
2479
3037
|
readonly create: (input: ThreadsCreateInput) => Promise<ThreadsCreateOutput>;
|
|
2480
3038
|
readonly fork: (input: ThreadsForkInput) => Promise<ThreadsForkOutput>;
|
|
3039
|
+
readonly import: (input: ThreadsImportInput) => Promise<ThreadsImportOutput>;
|
|
3040
|
+
readonly externalMessages: {
|
|
3041
|
+
readonly append: (input: ThreadsExternalMessagesAppendInput) => Promise<ThreadsExternalMessagesAppendOutput>;
|
|
3042
|
+
};
|
|
2481
3043
|
readonly update: (input: ThreadsUpdateInput) => Promise<ThreadsUpdateOutput>;
|
|
2482
3044
|
readonly turns: {
|
|
2483
3045
|
readonly start: (input: ThreadsTurnsStartInput) => Promise<ThreadsTurnsStartOutput>;
|
|
3046
|
+
readonly interrupt: (input: ThreadsTurnsInterruptInput) => Promise<ThreadsTurnsInterruptOutput>;
|
|
2484
3047
|
};
|
|
2485
3048
|
readonly userInput: {
|
|
2486
3049
|
readonly respond: (input: ThreadsUserInputRespondInput) => Promise<ThreadsUserInputRespondOutput>;
|
|
2487
3050
|
};
|
|
3051
|
+
readonly session: {
|
|
3052
|
+
readonly stop: (input: ThreadsSessionStopInput) => Promise<ThreadsSessionStopOutput>;
|
|
3053
|
+
};
|
|
3054
|
+
readonly turnIntents: {
|
|
3055
|
+
readonly run: (input: ThreadsTurnIntentsRunInput) => Promise<ThreadsTurnIntentsRunOutput>;
|
|
3056
|
+
readonly cancel: (input: ThreadsTurnIntentsCancelInput) => Promise<ThreadsTurnIntentsCancelOutput>;
|
|
3057
|
+
};
|
|
3058
|
+
readonly turnQueue: {
|
|
3059
|
+
readonly resume: (input: ThreadsTurnQueueResumeInput) => Promise<ThreadsTurnQueueResumeOutput>;
|
|
3060
|
+
};
|
|
2488
3061
|
};
|
|
2489
3062
|
readonly projects: {
|
|
2490
3063
|
readonly list: (input: ProjectsListInput) => Promise<ProjectsListOutput>;
|
|
@@ -2500,6 +3073,7 @@ export interface PluginDataPorts {
|
|
|
2500
3073
|
readonly send: (input: CommunicationRecordsSendInput) => Promise<CommunicationRecordsSendOutput>;
|
|
2501
3074
|
readonly withdraw: (input: CommunicationRecordsWithdrawInput) => Promise<CommunicationRecordsWithdrawOutput>;
|
|
2502
3075
|
readonly delete: (input: CommunicationRecordsDeleteInput) => Promise<CommunicationRecordsDeleteOutput>;
|
|
3076
|
+
readonly notify: (input: CommunicationRecordsNotifyInput) => Promise<CommunicationRecordsNotifyOutput>;
|
|
2503
3077
|
};
|
|
2504
3078
|
readonly inbox: {
|
|
2505
3079
|
readonly list: (input: CommunicationInboxListInput) => Promise<CommunicationInboxListOutput>;
|
|
@@ -2513,13 +3087,40 @@ export interface PluginDataPorts {
|
|
|
2513
3087
|
readonly pending: {
|
|
2514
3088
|
readonly list: (input: ApprovalsPendingListInput) => Promise<ApprovalsPendingListOutput>;
|
|
2515
3089
|
};
|
|
3090
|
+
readonly respond: (input: ApprovalsRespondInput) => Promise<ApprovalsRespondOutput>;
|
|
3091
|
+
};
|
|
3092
|
+
readonly providers: {
|
|
3093
|
+
readonly instances: {
|
|
3094
|
+
readonly list: (input: ProvidersInstancesListInput) => Promise<ProvidersInstancesListOutput>;
|
|
3095
|
+
};
|
|
3096
|
+
readonly routing: {
|
|
3097
|
+
readonly get: (input: ProvidersRoutingGetInput) => Promise<ProvidersRoutingGetOutput>;
|
|
3098
|
+
};
|
|
3099
|
+
readonly selection: {
|
|
3100
|
+
readonly resolve: (input: ProvidersSelectionResolveInput) => Promise<ProvidersSelectionResolveOutput>;
|
|
3101
|
+
};
|
|
3102
|
+
readonly executors: {
|
|
3103
|
+
readonly list: (input: ProvidersExecutorsListInput) => Promise<ProvidersExecutorsListOutput>;
|
|
3104
|
+
};
|
|
3105
|
+
readonly workspaceInventory: {
|
|
3106
|
+
readonly get: (input: ProvidersWorkspaceInventoryGetInput) => Promise<ProvidersWorkspaceInventoryGetOutput>;
|
|
3107
|
+
};
|
|
3108
|
+
readonly list: (input: ProvidersListInput) => Promise<ProvidersListOutput>;
|
|
3109
|
+
readonly models: {
|
|
3110
|
+
readonly list: (input: ProvidersModelsListInput) => Promise<ProvidersModelsListOutput>;
|
|
3111
|
+
};
|
|
2516
3112
|
};
|
|
2517
3113
|
readonly plugins: {
|
|
2518
3114
|
readonly projectConfig: {
|
|
2519
3115
|
readonly get: (input: PluginsProjectConfigGetInput) => Promise<PluginsProjectConfigGetOutput>;
|
|
3116
|
+
readonly update: (input: PluginsProjectConfigUpdateInput) => Promise<PluginsProjectConfigUpdateOutput>;
|
|
2520
3117
|
};
|
|
2521
3118
|
readonly installed: {
|
|
2522
3119
|
readonly list: (input: PluginsInstalledListInput) => Promise<PluginsInstalledListOutput>;
|
|
3120
|
+
readonly setEnabled: (input: PluginsInstalledSetEnabledInput) => Promise<PluginsInstalledSetEnabledOutput>;
|
|
3121
|
+
};
|
|
3122
|
+
readonly sessionProjections: {
|
|
3123
|
+
readonly set: (input: PluginsSessionProjectionsSetInput) => Promise<PluginsSessionProjectionsSetOutput>;
|
|
2523
3124
|
};
|
|
2524
3125
|
readonly notifications: {
|
|
2525
3126
|
readonly list: (input: PluginsNotificationsListInput) => Promise<PluginsNotificationsListOutput>;
|
|
@@ -2528,6 +3129,7 @@ export interface PluginDataPorts {
|
|
|
2528
3129
|
};
|
|
2529
3130
|
readonly settingsCards: {
|
|
2530
3131
|
readonly list: (input: PluginsSettingsCardsListInput) => Promise<PluginsSettingsCardsListOutput>;
|
|
3132
|
+
readonly updateValues: (input: PluginsSettingsCardsUpdateValuesInput) => Promise<PluginsSettingsCardsUpdateValuesOutput>;
|
|
2531
3133
|
};
|
|
2532
3134
|
};
|
|
2533
3135
|
readonly usage: {
|
|
@@ -2538,6 +3140,14 @@ export interface PluginDataPorts {
|
|
|
2538
3140
|
readonly get: (input: UsageTokensGetInput) => Promise<UsageTokensGetOutput>;
|
|
2539
3141
|
};
|
|
2540
3142
|
};
|
|
3143
|
+
readonly wakes: {
|
|
3144
|
+
readonly cancel: (input: WakesCancelInput) => Promise<WakesCancelOutput>;
|
|
3145
|
+
readonly list: (input: WakesListInput) => Promise<WakesListOutput>;
|
|
3146
|
+
};
|
|
3147
|
+
readonly skills: {
|
|
3148
|
+
readonly list: (input: SkillsListInput) => Promise<SkillsListOutput>;
|
|
3149
|
+
readonly read: (input: SkillsReadInput) => Promise<SkillsReadOutput>;
|
|
3150
|
+
};
|
|
2541
3151
|
readonly memory: {
|
|
2542
3152
|
readonly experiences: {
|
|
2543
3153
|
readonly list: (input: MemoryExperiencesListInput) => Promise<MemoryExperiencesListOutput>;
|
|
@@ -2634,5 +3244,15 @@ export interface PluginViewerPorts {
|
|
|
2634
3244
|
};
|
|
2635
3245
|
};
|
|
2636
3246
|
}
|
|
3247
|
+
/** 本次本机会话 agent 工具调用的代领端口(`invocation.asCaller`)。 */
|
|
3248
|
+
export interface PluginAsCallerPorts {
|
|
3249
|
+
readonly work: {
|
|
3250
|
+
readonly items: {
|
|
3251
|
+
readonly claim: (input: Omit<WorkItemsClaimInput, "projectId"> & {
|
|
3252
|
+
readonly projectId?: string;
|
|
3253
|
+
}) => Promise<WorkItemsClaimOutput>;
|
|
3254
|
+
};
|
|
3255
|
+
};
|
|
3256
|
+
}
|
|
2637
3257
|
export {};
|
|
2638
3258
|
//# sourceMappingURL=dataPorts.gen.d.ts.map
|