@bctrl/cli 0.1.7 → 0.1.9
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 +17 -89
- package/dist/api/client.d.ts +1 -0
- package/dist/api/client.js +1 -0
- package/dist/api/errors.js +2 -2
- package/dist/bin/bctrl.js +0 -0
- package/dist/commands/{vault → account}/index.d.ts +1 -1
- package/dist/commands/account/index.js +21 -0
- package/dist/commands/ai/index.js +13 -8
- package/dist/commands/api-key/index.js +1 -1
- package/dist/commands/browser-extension/index.js +8 -8
- package/dist/commands/conversation/index.d.ts +3 -0
- package/dist/commands/conversation/index.js +51 -0
- package/dist/commands/file/index.js +8 -3
- package/dist/commands/run/index.js +23 -292
- package/dist/commands/runtime/index.js +32 -453
- package/dist/commands/shared/operation.d.ts +3 -0
- package/dist/commands/shared/operation.js +20 -7
- package/dist/commands/space/index.js +0 -25
- package/dist/commands/subaccount/index.js +2 -2
- package/dist/commands/tool/index.js +15 -5
- package/dist/commands/tool-call/index.js +22 -6
- package/dist/commands/toolset/index.js +1 -1
- package/dist/commands/view/index.d.ts +3 -0
- package/dist/commands/view/index.js +26 -0
- package/dist/commands/webhook/index.d.ts +3 -0
- package/dist/commands/webhook/index.js +64 -0
- package/dist/generated/help.d.ts +4896 -5977
- package/dist/generated/help.js +6208 -7532
- package/dist/generated/openapi-routes.d.ts +114 -142
- package/dist/generated/openapi-routes.js +37 -44
- package/dist/generated/openapi-types.d.ts +4451 -5302
- package/dist/root.js +8 -2
- package/package.json +14 -12
- package/dist/commands/vault/index.js +0 -171
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
export declare const CLI_OPENAPI_ROUTES: {
|
|
2
|
+
readonly "account.get": {
|
|
3
|
+
readonly method: "get";
|
|
4
|
+
readonly path: "/account";
|
|
5
|
+
};
|
|
6
|
+
readonly "account.update": {
|
|
7
|
+
readonly method: "patch";
|
|
8
|
+
readonly path: "/account";
|
|
9
|
+
};
|
|
2
10
|
readonly "ai.credentials.create": {
|
|
3
11
|
readonly method: "post";
|
|
4
12
|
readonly path: "/ai/credentials";
|
|
@@ -43,29 +51,53 @@ export declare const CLI_OPENAPI_ROUTES: {
|
|
|
43
51
|
readonly method: "get";
|
|
44
52
|
readonly path: "/auth/whoami";
|
|
45
53
|
};
|
|
46
|
-
readonly "browser
|
|
54
|
+
readonly "browser.extensions.create": {
|
|
55
|
+
readonly method: "post";
|
|
56
|
+
readonly path: "/browser/extensions";
|
|
57
|
+
};
|
|
58
|
+
readonly "browser.extensions.delete": {
|
|
47
59
|
readonly method: "delete";
|
|
48
|
-
readonly path: "/browser
|
|
60
|
+
readonly path: "/browser/extensions/{extensionId}";
|
|
49
61
|
};
|
|
50
|
-
readonly "browser
|
|
62
|
+
readonly "browser.extensions.get": {
|
|
51
63
|
readonly method: "get";
|
|
52
|
-
readonly path: "/browser
|
|
64
|
+
readonly path: "/browser/extensions/{extensionId}";
|
|
53
65
|
};
|
|
54
|
-
readonly "browser
|
|
66
|
+
readonly "browser.extensions.list": {
|
|
67
|
+
readonly method: "get";
|
|
68
|
+
readonly path: "/browser/extensions";
|
|
69
|
+
};
|
|
70
|
+
readonly "browser.extensions.update": {
|
|
71
|
+
readonly method: "patch";
|
|
72
|
+
readonly path: "/browser/extensions/{extensionId}";
|
|
73
|
+
};
|
|
74
|
+
readonly "conversations.cancel": {
|
|
55
75
|
readonly method: "post";
|
|
56
|
-
readonly path: "/
|
|
76
|
+
readonly path: "/conversations/{conversationId}/cancel";
|
|
57
77
|
};
|
|
58
|
-
readonly "
|
|
78
|
+
readonly "conversations.create": {
|
|
79
|
+
readonly method: "post";
|
|
80
|
+
readonly path: "/conversations";
|
|
81
|
+
};
|
|
82
|
+
readonly "conversations.get": {
|
|
59
83
|
readonly method: "get";
|
|
60
|
-
readonly path: "/
|
|
84
|
+
readonly path: "/conversations/{conversationId}";
|
|
61
85
|
};
|
|
62
|
-
readonly "
|
|
63
|
-
readonly method: "
|
|
64
|
-
readonly path: "/
|
|
86
|
+
readonly "conversations.list": {
|
|
87
|
+
readonly method: "get";
|
|
88
|
+
readonly path: "/conversations";
|
|
65
89
|
};
|
|
66
|
-
readonly "
|
|
90
|
+
readonly "conversations.messages.create": {
|
|
67
91
|
readonly method: "post";
|
|
68
|
-
readonly path: "/
|
|
92
|
+
readonly path: "/conversations/{conversationId}/messages";
|
|
93
|
+
};
|
|
94
|
+
readonly "conversations.stream": {
|
|
95
|
+
readonly method: "get";
|
|
96
|
+
readonly path: "/conversations/{conversationId}/stream";
|
|
97
|
+
};
|
|
98
|
+
readonly "conversations.update": {
|
|
99
|
+
readonly method: "patch";
|
|
100
|
+
readonly path: "/conversations/{conversationId}";
|
|
69
101
|
};
|
|
70
102
|
readonly "files.content": {
|
|
71
103
|
readonly method: "get";
|
|
@@ -151,26 +183,10 @@ export declare const CLI_OPENAPI_ROUTES: {
|
|
|
151
183
|
readonly method: "patch";
|
|
152
184
|
readonly path: "/proxies/{proxyId}";
|
|
153
185
|
};
|
|
154
|
-
readonly "runs.activity.list": {
|
|
155
|
-
readonly method: "get";
|
|
156
|
-
readonly path: "/runs/{runId}/activity";
|
|
157
|
-
};
|
|
158
|
-
readonly "runs.activity.stream": {
|
|
159
|
-
readonly method: "get";
|
|
160
|
-
readonly path: "/runs/{runId}/activity/stream";
|
|
161
|
-
};
|
|
162
186
|
readonly "runs.events.list": {
|
|
163
187
|
readonly method: "get";
|
|
164
188
|
readonly path: "/runs/{runId}/events";
|
|
165
189
|
};
|
|
166
|
-
readonly "runs.events.stream": {
|
|
167
|
-
readonly method: "get";
|
|
168
|
-
readonly path: "/runs/{runId}/events/stream";
|
|
169
|
-
};
|
|
170
|
-
readonly "runs.files.export": {
|
|
171
|
-
readonly method: "post";
|
|
172
|
-
readonly path: "/runs/{runId}/files/export";
|
|
173
|
-
};
|
|
174
190
|
readonly "runs.files.list": {
|
|
175
191
|
readonly method: "get";
|
|
176
192
|
readonly path: "/runs/{runId}/files";
|
|
@@ -179,25 +195,17 @@ export declare const CLI_OPENAPI_ROUTES: {
|
|
|
179
195
|
readonly method: "get";
|
|
180
196
|
readonly path: "/runs/{runId}";
|
|
181
197
|
};
|
|
182
|
-
readonly "runs.invocations.get": {
|
|
183
|
-
readonly method: "get";
|
|
184
|
-
readonly path: "/runs/{runId}/invocations/{invocationId}";
|
|
185
|
-
};
|
|
186
|
-
readonly "runs.invocations.list": {
|
|
187
|
-
readonly method: "get";
|
|
188
|
-
readonly path: "/runs/{runId}/invocations";
|
|
189
|
-
};
|
|
190
198
|
readonly "runs.list": {
|
|
191
199
|
readonly method: "get";
|
|
192
200
|
readonly path: "/runs";
|
|
193
201
|
};
|
|
194
|
-
readonly "runs.
|
|
195
|
-
readonly method: "
|
|
196
|
-
readonly path: "/runs/{runId}/
|
|
202
|
+
readonly "runs.stream": {
|
|
203
|
+
readonly method: "get";
|
|
204
|
+
readonly path: "/runs/{runId}/stream";
|
|
197
205
|
};
|
|
198
|
-
readonly "runs.
|
|
199
|
-
readonly method: "
|
|
200
|
-
readonly path: "/runs/{runId}/
|
|
206
|
+
readonly "runs.trace.list": {
|
|
207
|
+
readonly method: "get";
|
|
208
|
+
readonly path: "/runs/{runId}/trace";
|
|
201
209
|
};
|
|
202
210
|
readonly "runtimes.create": {
|
|
203
211
|
readonly method: "post";
|
|
@@ -207,58 +215,10 @@ export declare const CLI_OPENAPI_ROUTES: {
|
|
|
207
215
|
readonly method: "delete";
|
|
208
216
|
readonly path: "/runtimes/{runtimeId}";
|
|
209
217
|
};
|
|
210
|
-
readonly "runtimes.files.collect": {
|
|
211
|
-
readonly method: "post";
|
|
212
|
-
readonly path: "/runtimes/{runtimeId}/files/collect";
|
|
213
|
-
};
|
|
214
|
-
readonly "runtimes.files.list": {
|
|
215
|
-
readonly method: "get";
|
|
216
|
-
readonly path: "/runtimes/{runtimeId}/files";
|
|
217
|
-
};
|
|
218
|
-
readonly "runtimes.files.stage": {
|
|
219
|
-
readonly method: "post";
|
|
220
|
-
readonly path: "/runtimes/{runtimeId}/files/stage";
|
|
221
|
-
};
|
|
222
|
-
readonly "runtimes.files.upload": {
|
|
223
|
-
readonly method: "post";
|
|
224
|
-
readonly path: "/runtimes/{runtimeId}/files/upload";
|
|
225
|
-
};
|
|
226
218
|
readonly "runtimes.get": {
|
|
227
219
|
readonly method: "get";
|
|
228
220
|
readonly path: "/runtimes/{runtimeId}";
|
|
229
221
|
};
|
|
230
|
-
readonly "runtimes.human-actions.cancel": {
|
|
231
|
-
readonly method: "post";
|
|
232
|
-
readonly path: "/runtimes/{runtimeId}/human-actions/cancel";
|
|
233
|
-
};
|
|
234
|
-
readonly "runtimes.human-actions.complete": {
|
|
235
|
-
readonly method: "post";
|
|
236
|
-
readonly path: "/runtimes/{runtimeId}/human-actions/complete";
|
|
237
|
-
};
|
|
238
|
-
readonly "runtimes.human-actions.create": {
|
|
239
|
-
readonly method: "post";
|
|
240
|
-
readonly path: "/runtimes/{runtimeId}/human-actions";
|
|
241
|
-
};
|
|
242
|
-
readonly "runtimes.human-actions.get": {
|
|
243
|
-
readonly method: "get";
|
|
244
|
-
readonly path: "/runtimes/{runtimeId}/human-actions";
|
|
245
|
-
};
|
|
246
|
-
readonly "runtimes.human-actions.wait": {
|
|
247
|
-
readonly method: "post";
|
|
248
|
-
readonly path: "/runtimes/{runtimeId}/human-actions/wait";
|
|
249
|
-
};
|
|
250
|
-
readonly "runtimes.invocations.cancel": {
|
|
251
|
-
readonly method: "post";
|
|
252
|
-
readonly path: "/runtimes/{runtimeId}/invocations/{invocationId}/cancel";
|
|
253
|
-
};
|
|
254
|
-
readonly "runtimes.invocations.create": {
|
|
255
|
-
readonly method: "post";
|
|
256
|
-
readonly path: "/runtimes/{runtimeId}/invocations";
|
|
257
|
-
};
|
|
258
|
-
readonly "runtimes.invocations.wait": {
|
|
259
|
-
readonly method: "post";
|
|
260
|
-
readonly path: "/runtimes/{runtimeId}/invocations/{invocationId}/wait";
|
|
261
|
-
};
|
|
262
222
|
readonly "runtimes.list": {
|
|
263
223
|
readonly method: "get";
|
|
264
224
|
readonly path: "/runtimes";
|
|
@@ -271,26 +231,6 @@ export declare const CLI_OPENAPI_ROUTES: {
|
|
|
271
231
|
readonly method: "post";
|
|
272
232
|
readonly path: "/runtimes/{runtimeId}/stop";
|
|
273
233
|
};
|
|
274
|
-
readonly "runtimes.targets.activate": {
|
|
275
|
-
readonly method: "post";
|
|
276
|
-
readonly path: "/runtimes/{runtimeId}/targets/{targetId}/activate";
|
|
277
|
-
};
|
|
278
|
-
readonly "runtimes.targets.create": {
|
|
279
|
-
readonly method: "post";
|
|
280
|
-
readonly path: "/runtimes/{runtimeId}/targets";
|
|
281
|
-
};
|
|
282
|
-
readonly "runtimes.targets.delete": {
|
|
283
|
-
readonly method: "delete";
|
|
284
|
-
readonly path: "/runtimes/{runtimeId}/targets/{targetId}";
|
|
285
|
-
};
|
|
286
|
-
readonly "runtimes.targets.get": {
|
|
287
|
-
readonly method: "get";
|
|
288
|
-
readonly path: "/runtimes/{runtimeId}/targets/{targetId}";
|
|
289
|
-
};
|
|
290
|
-
readonly "runtimes.targets.list": {
|
|
291
|
-
readonly method: "get";
|
|
292
|
-
readonly path: "/runtimes/{runtimeId}/targets";
|
|
293
|
-
};
|
|
294
234
|
readonly "runtimes.update": {
|
|
295
235
|
readonly method: "patch";
|
|
296
236
|
readonly path: "/runtimes/{runtimeId}";
|
|
@@ -303,14 +243,6 @@ export declare const CLI_OPENAPI_ROUTES: {
|
|
|
303
243
|
readonly method: "delete";
|
|
304
244
|
readonly path: "/spaces/{spaceId}";
|
|
305
245
|
};
|
|
306
|
-
readonly "spaces.environment.get": {
|
|
307
|
-
readonly method: "get";
|
|
308
|
-
readonly path: "/spaces/{spaceId}/environment";
|
|
309
|
-
};
|
|
310
|
-
readonly "spaces.environment.update": {
|
|
311
|
-
readonly method: "patch";
|
|
312
|
-
readonly path: "/spaces/{spaceId}/environment";
|
|
313
|
-
};
|
|
314
246
|
readonly "spaces.get": {
|
|
315
247
|
readonly method: "get";
|
|
316
248
|
readonly path: "/spaces/{spaceId}";
|
|
@@ -347,6 +279,10 @@ export declare const CLI_OPENAPI_ROUTES: {
|
|
|
347
279
|
readonly method: "get";
|
|
348
280
|
readonly path: "/subaccounts/usage";
|
|
349
281
|
};
|
|
282
|
+
readonly "tool-calls.cancel": {
|
|
283
|
+
readonly method: "post";
|
|
284
|
+
readonly path: "/tool-calls/{toolCallId}/cancel";
|
|
285
|
+
};
|
|
350
286
|
readonly "tool-calls.get": {
|
|
351
287
|
readonly method: "get";
|
|
352
288
|
readonly path: "/tool-calls/{toolCallId}";
|
|
@@ -355,29 +291,41 @@ export declare const CLI_OPENAPI_ROUTES: {
|
|
|
355
291
|
readonly method: "get";
|
|
356
292
|
readonly path: "/tool-calls";
|
|
357
293
|
};
|
|
294
|
+
readonly "tool-calls.respond": {
|
|
295
|
+
readonly method: "post";
|
|
296
|
+
readonly path: "/tool-calls/{toolCallId}/respond";
|
|
297
|
+
};
|
|
298
|
+
readonly "tool-calls.result": {
|
|
299
|
+
readonly method: "get";
|
|
300
|
+
readonly path: "/tool-calls/{toolCallId}/result";
|
|
301
|
+
};
|
|
302
|
+
readonly "tools.call": {
|
|
303
|
+
readonly method: "post";
|
|
304
|
+
readonly path: "/tools/{toolRef}/call";
|
|
305
|
+
};
|
|
306
|
+
readonly "tools.calls.create": {
|
|
307
|
+
readonly method: "post";
|
|
308
|
+
readonly path: "/tools/{toolRef}/calls";
|
|
309
|
+
};
|
|
358
310
|
readonly "tools.create": {
|
|
359
311
|
readonly method: "post";
|
|
360
312
|
readonly path: "/tools";
|
|
361
313
|
};
|
|
362
314
|
readonly "tools.delete": {
|
|
363
315
|
readonly method: "delete";
|
|
364
|
-
readonly path: "/tools/{
|
|
316
|
+
readonly path: "/tools/{toolRef}";
|
|
365
317
|
};
|
|
366
318
|
readonly "tools.get": {
|
|
367
319
|
readonly method: "get";
|
|
368
|
-
readonly path: "/tools/{
|
|
320
|
+
readonly path: "/tools/{toolRef}";
|
|
369
321
|
};
|
|
370
322
|
readonly "tools.list": {
|
|
371
323
|
readonly method: "get";
|
|
372
324
|
readonly path: "/tools";
|
|
373
325
|
};
|
|
374
|
-
readonly "tools.test": {
|
|
375
|
-
readonly method: "post";
|
|
376
|
-
readonly path: "/tools/{toolId}/test";
|
|
377
|
-
};
|
|
378
326
|
readonly "tools.update": {
|
|
379
327
|
readonly method: "patch";
|
|
380
|
-
readonly path: "/tools/{
|
|
328
|
+
readonly path: "/tools/{toolRef}";
|
|
381
329
|
};
|
|
382
330
|
readonly "toolsets.create": {
|
|
383
331
|
readonly method: "post";
|
|
@@ -403,33 +351,57 @@ export declare const CLI_OPENAPI_ROUTES: {
|
|
|
403
351
|
readonly method: "get";
|
|
404
352
|
readonly path: "/usage";
|
|
405
353
|
};
|
|
406
|
-
readonly "
|
|
354
|
+
readonly "views.create": {
|
|
355
|
+
readonly method: "post";
|
|
356
|
+
readonly path: "/views";
|
|
357
|
+
};
|
|
358
|
+
readonly "views.delete": {
|
|
407
359
|
readonly method: "delete";
|
|
408
|
-
readonly path: "/
|
|
360
|
+
readonly path: "/views/{viewId}";
|
|
409
361
|
};
|
|
410
|
-
readonly "
|
|
362
|
+
readonly "views.get": {
|
|
411
363
|
readonly method: "get";
|
|
412
|
-
readonly path: "/
|
|
364
|
+
readonly path: "/views/{viewId}";
|
|
413
365
|
};
|
|
414
|
-
readonly "
|
|
366
|
+
readonly "views.list": {
|
|
415
367
|
readonly method: "get";
|
|
416
|
-
readonly path: "/
|
|
368
|
+
readonly path: "/views";
|
|
369
|
+
};
|
|
370
|
+
readonly "webhooks.create": {
|
|
371
|
+
readonly method: "post";
|
|
372
|
+
readonly path: "/webhooks";
|
|
373
|
+
};
|
|
374
|
+
readonly "webhooks.delete": {
|
|
375
|
+
readonly method: "delete";
|
|
376
|
+
readonly path: "/webhooks/{webhookId}";
|
|
417
377
|
};
|
|
418
|
-
readonly "
|
|
378
|
+
readonly "webhooks.deliveries.list": {
|
|
419
379
|
readonly method: "get";
|
|
420
|
-
readonly path: "/
|
|
380
|
+
readonly path: "/webhooks/{webhookId}/deliveries";
|
|
421
381
|
};
|
|
422
|
-
readonly "
|
|
423
|
-
readonly method: "
|
|
424
|
-
readonly path: "/
|
|
382
|
+
readonly "webhooks.deliveries.redeliver": {
|
|
383
|
+
readonly method: "post";
|
|
384
|
+
readonly path: "/webhooks/{webhookId}/deliveries/{deliveryId}/redeliver";
|
|
425
385
|
};
|
|
426
|
-
readonly "
|
|
427
|
-
readonly method: "
|
|
428
|
-
readonly path: "/
|
|
386
|
+
readonly "webhooks.get": {
|
|
387
|
+
readonly method: "get";
|
|
388
|
+
readonly path: "/webhooks/{webhookId}";
|
|
429
389
|
};
|
|
430
|
-
readonly "
|
|
390
|
+
readonly "webhooks.list": {
|
|
431
391
|
readonly method: "get";
|
|
432
|
-
readonly path: "/
|
|
392
|
+
readonly path: "/webhooks";
|
|
393
|
+
};
|
|
394
|
+
readonly "webhooks.rotate-secret": {
|
|
395
|
+
readonly method: "post";
|
|
396
|
+
readonly path: "/webhooks/{webhookId}/rotate-secret";
|
|
397
|
+
};
|
|
398
|
+
readonly "webhooks.test": {
|
|
399
|
+
readonly method: "post";
|
|
400
|
+
readonly path: "/webhooks/{webhookId}/test";
|
|
401
|
+
};
|
|
402
|
+
readonly "webhooks.update": {
|
|
403
|
+
readonly method: "patch";
|
|
404
|
+
readonly path: "/webhooks/{webhookId}";
|
|
433
405
|
};
|
|
434
406
|
};
|
|
435
407
|
export type CliOpenApiRouteId = keyof typeof CLI_OPENAPI_ROUTES;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// Generated by scripts/generate/cli-contracts.ts. Do not edit by hand.
|
|
2
2
|
export const CLI_OPENAPI_ROUTES = {
|
|
3
|
+
"account.get": { method: "get", path: "/account" },
|
|
4
|
+
"account.update": { method: "patch", path: "/account" },
|
|
3
5
|
"ai.credentials.create": { method: "post", path: "/ai/credentials" },
|
|
4
6
|
"ai.credentials.delete": { method: "delete", path: "/ai/credentials/{credentialId}" },
|
|
5
7
|
"ai.credentials.get": { method: "get", path: "/ai/credentials/{credentialId}" },
|
|
@@ -11,12 +13,18 @@ export const CLI_OPENAPI_ROUTES = {
|
|
|
11
13
|
"api-keys.delete": { method: "delete", path: "/api-keys/{keyId}" },
|
|
12
14
|
"api-keys.list": { method: "get", path: "/api-keys" },
|
|
13
15
|
"auth.whoami": { method: "get", path: "/auth/whoami" },
|
|
14
|
-
"browser
|
|
15
|
-
"browser
|
|
16
|
-
"browser
|
|
17
|
-
"browser
|
|
18
|
-
"browser
|
|
19
|
-
"
|
|
16
|
+
"browser.extensions.create": { method: "post", path: "/browser/extensions" },
|
|
17
|
+
"browser.extensions.delete": { method: "delete", path: "/browser/extensions/{extensionId}" },
|
|
18
|
+
"browser.extensions.get": { method: "get", path: "/browser/extensions/{extensionId}" },
|
|
19
|
+
"browser.extensions.list": { method: "get", path: "/browser/extensions" },
|
|
20
|
+
"browser.extensions.update": { method: "patch", path: "/browser/extensions/{extensionId}" },
|
|
21
|
+
"conversations.cancel": { method: "post", path: "/conversations/{conversationId}/cancel" },
|
|
22
|
+
"conversations.create": { method: "post", path: "/conversations" },
|
|
23
|
+
"conversations.get": { method: "get", path: "/conversations/{conversationId}" },
|
|
24
|
+
"conversations.list": { method: "get", path: "/conversations" },
|
|
25
|
+
"conversations.messages.create": { method: "post", path: "/conversations/{conversationId}/messages" },
|
|
26
|
+
"conversations.stream": { method: "get", path: "/conversations/{conversationId}/stream" },
|
|
27
|
+
"conversations.update": { method: "patch", path: "/conversations/{conversationId}" },
|
|
20
28
|
"files.content": { method: "get", path: "/files/{fileId}/content" },
|
|
21
29
|
"files.delete": { method: "delete", path: "/files/{fileId}" },
|
|
22
30
|
"files.get": { method: "get", path: "/files/{fileId}" },
|
|
@@ -38,46 +46,21 @@ export const CLI_OPENAPI_ROUTES = {
|
|
|
38
46
|
"proxies.pools.list": { method: "get", path: "/proxies/pools" },
|
|
39
47
|
"proxies.test": { method: "post", path: "/proxies/{proxyId}/test" },
|
|
40
48
|
"proxies.update": { method: "patch", path: "/proxies/{proxyId}" },
|
|
41
|
-
"runs.activity.list": { method: "get", path: "/runs/{runId}/activity" },
|
|
42
|
-
"runs.activity.stream": { method: "get", path: "/runs/{runId}/activity/stream" },
|
|
43
49
|
"runs.events.list": { method: "get", path: "/runs/{runId}/events" },
|
|
44
|
-
"runs.events.stream": { method: "get", path: "/runs/{runId}/events/stream" },
|
|
45
|
-
"runs.files.export": { method: "post", path: "/runs/{runId}/files/export" },
|
|
46
50
|
"runs.files.list": { method: "get", path: "/runs/{runId}/files" },
|
|
47
51
|
"runs.get": { method: "get", path: "/runs/{runId}" },
|
|
48
|
-
"runs.invocations.get": { method: "get", path: "/runs/{runId}/invocations/{invocationId}" },
|
|
49
|
-
"runs.invocations.list": { method: "get", path: "/runs/{runId}/invocations" },
|
|
50
52
|
"runs.list": { method: "get", path: "/runs" },
|
|
51
|
-
"runs.
|
|
52
|
-
"runs.
|
|
53
|
+
"runs.stream": { method: "get", path: "/runs/{runId}/stream" },
|
|
54
|
+
"runs.trace.list": { method: "get", path: "/runs/{runId}/trace" },
|
|
53
55
|
"runtimes.create": { method: "post", path: "/runtimes" },
|
|
54
56
|
"runtimes.delete": { method: "delete", path: "/runtimes/{runtimeId}" },
|
|
55
|
-
"runtimes.files.collect": { method: "post", path: "/runtimes/{runtimeId}/files/collect" },
|
|
56
|
-
"runtimes.files.list": { method: "get", path: "/runtimes/{runtimeId}/files" },
|
|
57
|
-
"runtimes.files.stage": { method: "post", path: "/runtimes/{runtimeId}/files/stage" },
|
|
58
|
-
"runtimes.files.upload": { method: "post", path: "/runtimes/{runtimeId}/files/upload" },
|
|
59
57
|
"runtimes.get": { method: "get", path: "/runtimes/{runtimeId}" },
|
|
60
|
-
"runtimes.human-actions.cancel": { method: "post", path: "/runtimes/{runtimeId}/human-actions/cancel" },
|
|
61
|
-
"runtimes.human-actions.complete": { method: "post", path: "/runtimes/{runtimeId}/human-actions/complete" },
|
|
62
|
-
"runtimes.human-actions.create": { method: "post", path: "/runtimes/{runtimeId}/human-actions" },
|
|
63
|
-
"runtimes.human-actions.get": { method: "get", path: "/runtimes/{runtimeId}/human-actions" },
|
|
64
|
-
"runtimes.human-actions.wait": { method: "post", path: "/runtimes/{runtimeId}/human-actions/wait" },
|
|
65
|
-
"runtimes.invocations.cancel": { method: "post", path: "/runtimes/{runtimeId}/invocations/{invocationId}/cancel" },
|
|
66
|
-
"runtimes.invocations.create": { method: "post", path: "/runtimes/{runtimeId}/invocations" },
|
|
67
|
-
"runtimes.invocations.wait": { method: "post", path: "/runtimes/{runtimeId}/invocations/{invocationId}/wait" },
|
|
68
58
|
"runtimes.list": { method: "get", path: "/runtimes" },
|
|
69
59
|
"runtimes.start": { method: "post", path: "/runtimes/{runtimeId}/start" },
|
|
70
60
|
"runtimes.stop": { method: "post", path: "/runtimes/{runtimeId}/stop" },
|
|
71
|
-
"runtimes.targets.activate": { method: "post", path: "/runtimes/{runtimeId}/targets/{targetId}/activate" },
|
|
72
|
-
"runtimes.targets.create": { method: "post", path: "/runtimes/{runtimeId}/targets" },
|
|
73
|
-
"runtimes.targets.delete": { method: "delete", path: "/runtimes/{runtimeId}/targets/{targetId}" },
|
|
74
|
-
"runtimes.targets.get": { method: "get", path: "/runtimes/{runtimeId}/targets/{targetId}" },
|
|
75
|
-
"runtimes.targets.list": { method: "get", path: "/runtimes/{runtimeId}/targets" },
|
|
76
61
|
"runtimes.update": { method: "patch", path: "/runtimes/{runtimeId}" },
|
|
77
62
|
"spaces.create": { method: "post", path: "/spaces" },
|
|
78
63
|
"spaces.delete": { method: "delete", path: "/spaces/{spaceId}" },
|
|
79
|
-
"spaces.environment.get": { method: "get", path: "/spaces/{spaceId}/environment" },
|
|
80
|
-
"spaces.environment.update": { method: "patch", path: "/spaces/{spaceId}/environment" },
|
|
81
64
|
"spaces.get": { method: "get", path: "/spaces/{spaceId}" },
|
|
82
65
|
"spaces.list": { method: "get", path: "/spaces" },
|
|
83
66
|
"spaces.update": { method: "patch", path: "/spaces/{spaceId}" },
|
|
@@ -87,25 +70,35 @@ export const CLI_OPENAPI_ROUTES = {
|
|
|
87
70
|
"subaccounts.list": { method: "get", path: "/subaccounts" },
|
|
88
71
|
"subaccounts.update": { method: "patch", path: "/subaccounts/{subaccountId}" },
|
|
89
72
|
"subaccounts.usage.list": { method: "get", path: "/subaccounts/usage" },
|
|
73
|
+
"tool-calls.cancel": { method: "post", path: "/tool-calls/{toolCallId}/cancel" },
|
|
90
74
|
"tool-calls.get": { method: "get", path: "/tool-calls/{toolCallId}" },
|
|
91
75
|
"tool-calls.list": { method: "get", path: "/tool-calls" },
|
|
76
|
+
"tool-calls.respond": { method: "post", path: "/tool-calls/{toolCallId}/respond" },
|
|
77
|
+
"tool-calls.result": { method: "get", path: "/tool-calls/{toolCallId}/result" },
|
|
78
|
+
"tools.call": { method: "post", path: "/tools/{toolRef}/call" },
|
|
79
|
+
"tools.calls.create": { method: "post", path: "/tools/{toolRef}/calls" },
|
|
92
80
|
"tools.create": { method: "post", path: "/tools" },
|
|
93
|
-
"tools.delete": { method: "delete", path: "/tools/{
|
|
94
|
-
"tools.get": { method: "get", path: "/tools/{
|
|
81
|
+
"tools.delete": { method: "delete", path: "/tools/{toolRef}" },
|
|
82
|
+
"tools.get": { method: "get", path: "/tools/{toolRef}" },
|
|
95
83
|
"tools.list": { method: "get", path: "/tools" },
|
|
96
|
-
"tools.
|
|
97
|
-
"tools.update": { method: "patch", path: "/tools/{toolId}" },
|
|
84
|
+
"tools.update": { method: "patch", path: "/tools/{toolRef}" },
|
|
98
85
|
"toolsets.create": { method: "post", path: "/toolsets" },
|
|
99
86
|
"toolsets.delete": { method: "delete", path: "/toolsets/{toolsetId}" },
|
|
100
87
|
"toolsets.get": { method: "get", path: "/toolsets/{toolsetId}" },
|
|
101
88
|
"toolsets.list": { method: "get", path: "/toolsets" },
|
|
102
89
|
"toolsets.update": { method: "patch", path: "/toolsets/{toolsetId}" },
|
|
103
90
|
"usage.get": { method: "get", path: "/usage" },
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
91
|
+
"views.create": { method: "post", path: "/views" },
|
|
92
|
+
"views.delete": { method: "delete", path: "/views/{viewId}" },
|
|
93
|
+
"views.get": { method: "get", path: "/views/{viewId}" },
|
|
94
|
+
"views.list": { method: "get", path: "/views" },
|
|
95
|
+
"webhooks.create": { method: "post", path: "/webhooks" },
|
|
96
|
+
"webhooks.delete": { method: "delete", path: "/webhooks/{webhookId}" },
|
|
97
|
+
"webhooks.deliveries.list": { method: "get", path: "/webhooks/{webhookId}/deliveries" },
|
|
98
|
+
"webhooks.deliveries.redeliver": { method: "post", path: "/webhooks/{webhookId}/deliveries/{deliveryId}/redeliver" },
|
|
99
|
+
"webhooks.get": { method: "get", path: "/webhooks/{webhookId}" },
|
|
100
|
+
"webhooks.list": { method: "get", path: "/webhooks" },
|
|
101
|
+
"webhooks.rotate-secret": { method: "post", path: "/webhooks/{webhookId}/rotate-secret" },
|
|
102
|
+
"webhooks.test": { method: "post", path: "/webhooks/{webhookId}/test" },
|
|
103
|
+
"webhooks.update": { method: "patch", path: "/webhooks/{webhookId}" },
|
|
111
104
|
};
|