@ora-ai/cli 0.16.0 → 0.17.0
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 +2 -0
- package/dist/core/output.js +4 -2
- package/dist/core/output.js.map +1 -1
- package/dist/generated/operations.d.ts +2 -1
- package/dist/generated/operations.d.ts.map +1 -1
- package/dist/generated/operations.js +701 -3
- package/dist/generated/operations.js.map +1 -1
- package/dist/generated/types.d.ts +458 -51
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/generated/types.js +1 -1
- package/dist/program.js +3 -2
- package/dist/program.js.map +1 -1
- package/dist/render/plan/plan-views.d.ts +9 -4
- package/dist/render/plan/plan-views.d.ts.map +1 -1
- package/dist/render/plan/plan-views.js +8 -5
- package/dist/render/plan/plan-views.js.map +1 -1
- package/dist/scan-watch.d.ts +15 -0
- package/dist/scan-watch.d.ts.map +1 -0
- package/dist/scan-watch.js +102 -0
- package/dist/scan-watch.js.map +1 -0
- package/dist/watchers.d.ts.map +1 -1
- package/dist/watchers.js +2 -1
- package/dist/watchers.js.map +1 -1
- package/package.json +6 -1
|
@@ -1,13 +1,576 @@
|
|
|
1
1
|
// GENERATED by scripts/generate.mjs — DO NOT EDIT.
|
|
2
|
-
// Source: openapi/ora-public.openapi.json (sha256
|
|
2
|
+
// Source: openapi/ora-public.openapi.json (sha256 2a740ff3593e1b3291258f65a0522beeb440caa05d088f31df18f0a63a8811af)
|
|
3
3
|
// Regenerate: yarn nx run ora-cli:generate
|
|
4
4
|
export const SPEC = {
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
-
"contentHash": "
|
|
6
|
+
"contentHash": "2a740ff3593e1b3291258f65a0522beeb440caa05d088f31df18f0a63a8811af",
|
|
7
7
|
"server": "https://api.ora.ai",
|
|
8
8
|
"bin": "ora"
|
|
9
9
|
};
|
|
10
10
|
export const OPERATIONS = [
|
|
11
|
+
{
|
|
12
|
+
"id": "actions.createRequestTool",
|
|
13
|
+
"commandPath": [
|
|
14
|
+
"actions",
|
|
15
|
+
"create-request-tool"
|
|
16
|
+
],
|
|
17
|
+
"method": "post",
|
|
18
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools/request-tools",
|
|
19
|
+
"summary": "Add a request tool to the site from a template",
|
|
20
|
+
"scope": "actions:write",
|
|
21
|
+
"product": "studio",
|
|
22
|
+
"pathParams": [
|
|
23
|
+
{
|
|
24
|
+
"name": "entityId"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"queryParams": [],
|
|
28
|
+
"hasBody": true,
|
|
29
|
+
"bodyRequired": true,
|
|
30
|
+
"isStream": false,
|
|
31
|
+
"bodyFields": [
|
|
32
|
+
{
|
|
33
|
+
"name": "mode",
|
|
34
|
+
"required": true,
|
|
35
|
+
"kind": "string",
|
|
36
|
+
"enum": [
|
|
37
|
+
"inbox",
|
|
38
|
+
"deliver",
|
|
39
|
+
"link"
|
|
40
|
+
],
|
|
41
|
+
"placeholder": "inbox"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "title",
|
|
45
|
+
"required": false,
|
|
46
|
+
"kind": "string",
|
|
47
|
+
"placeholder": "<title>"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "about",
|
|
51
|
+
"required": false,
|
|
52
|
+
"kind": "string",
|
|
53
|
+
"placeholder": "<about>"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "template",
|
|
57
|
+
"required": true,
|
|
58
|
+
"kind": "string",
|
|
59
|
+
"placeholder": "<template>"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "webhookUrl",
|
|
63
|
+
"required": false,
|
|
64
|
+
"kind": "string",
|
|
65
|
+
"placeholder": "<webhookUrl>"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "pageUrl",
|
|
69
|
+
"required": false,
|
|
70
|
+
"kind": "string",
|
|
71
|
+
"placeholder": "<pageUrl>"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"watchable": false,
|
|
75
|
+
"help": {
|
|
76
|
+
"command": "ora actions create-request-tool <entityId> --file run.json",
|
|
77
|
+
"body": "{\n \"mode\": \"inbox\",\n \"template\": \"<template>\"\n}"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "actions.createTool",
|
|
82
|
+
"commandPath": [
|
|
83
|
+
"actions",
|
|
84
|
+
"create-tool"
|
|
85
|
+
],
|
|
86
|
+
"method": "post",
|
|
87
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools/tools",
|
|
88
|
+
"summary": "Add a tool your coding agent wrote",
|
|
89
|
+
"scope": "actions:write",
|
|
90
|
+
"product": "studio",
|
|
91
|
+
"pathParams": [
|
|
92
|
+
{
|
|
93
|
+
"name": "entityId"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"queryParams": [],
|
|
97
|
+
"hasBody": true,
|
|
98
|
+
"bodyRequired": true,
|
|
99
|
+
"isStream": false,
|
|
100
|
+
"bodyFields": [
|
|
101
|
+
{
|
|
102
|
+
"name": "title",
|
|
103
|
+
"required": true,
|
|
104
|
+
"kind": "string",
|
|
105
|
+
"placeholder": "<title>"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "description",
|
|
109
|
+
"required": true,
|
|
110
|
+
"kind": "string",
|
|
111
|
+
"placeholder": "<description>"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "inputSchema",
|
|
115
|
+
"required": true,
|
|
116
|
+
"kind": "object",
|
|
117
|
+
"placeholder": "{}"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "outputSchema",
|
|
121
|
+
"required": true,
|
|
122
|
+
"kind": "object",
|
|
123
|
+
"placeholder": "{}"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "examples",
|
|
127
|
+
"required": true,
|
|
128
|
+
"kind": "array",
|
|
129
|
+
"placeholder": "[]"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "name",
|
|
133
|
+
"required": true,
|
|
134
|
+
"kind": "string",
|
|
135
|
+
"placeholder": "<name>"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "source",
|
|
139
|
+
"required": true,
|
|
140
|
+
"kind": "string",
|
|
141
|
+
"placeholder": "<source>"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"watchable": false,
|
|
145
|
+
"help": {
|
|
146
|
+
"command": "ora actions create-tool <entityId> --file run.json",
|
|
147
|
+
"body": "{\n \"title\": \"<title>\",\n \"description\": \"<description>\",\n \"inputSchema\": {},\n \"outputSchema\": {},\n \"examples\": [],\n \"name\": \"<name>\",\n \"source\": \"<source>\"\n}"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "actions.execute",
|
|
152
|
+
"commandPath": [
|
|
153
|
+
"actions",
|
|
154
|
+
"execute"
|
|
155
|
+
],
|
|
156
|
+
"method": "post",
|
|
157
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools/versions/{id}/execute",
|
|
158
|
+
"summary": "Try a tool version against the live site",
|
|
159
|
+
"scope": "actions:write",
|
|
160
|
+
"product": "studio",
|
|
161
|
+
"pathParams": [
|
|
162
|
+
{
|
|
163
|
+
"name": "entityId"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "id"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"queryParams": [],
|
|
170
|
+
"hasBody": true,
|
|
171
|
+
"bodyRequired": true,
|
|
172
|
+
"isStream": false,
|
|
173
|
+
"bodyFields": [
|
|
174
|
+
{
|
|
175
|
+
"name": "args",
|
|
176
|
+
"required": false,
|
|
177
|
+
"kind": "object",
|
|
178
|
+
"placeholder": "{}"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "mode",
|
|
182
|
+
"required": false,
|
|
183
|
+
"kind": "string",
|
|
184
|
+
"enum": [
|
|
185
|
+
"preview",
|
|
186
|
+
"published"
|
|
187
|
+
],
|
|
188
|
+
"placeholder": "preview"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"watchable": false,
|
|
192
|
+
"help": {
|
|
193
|
+
"command": "ora actions execute <entityId> <id> --file run.json",
|
|
194
|
+
"body": "{\n \"args\": {},\n \"mode\": \"preview\"\n}"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"id": "actions.implementationSource",
|
|
199
|
+
"commandPath": [
|
|
200
|
+
"actions",
|
|
201
|
+
"implementation-source"
|
|
202
|
+
],
|
|
203
|
+
"method": "get",
|
|
204
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools/versions/{id}/source",
|
|
205
|
+
"summary": "Inspect generated source",
|
|
206
|
+
"scope": "actions:read",
|
|
207
|
+
"product": "studio",
|
|
208
|
+
"pathParams": [
|
|
209
|
+
{
|
|
210
|
+
"name": "entityId"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "id"
|
|
214
|
+
}
|
|
215
|
+
],
|
|
216
|
+
"queryParams": [],
|
|
217
|
+
"hasBody": false,
|
|
218
|
+
"bodyRequired": false,
|
|
219
|
+
"isStream": false,
|
|
220
|
+
"watchable": false,
|
|
221
|
+
"help": {
|
|
222
|
+
"command": "ora actions implementation-source <entityId> <id>"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"id": "actions.overview",
|
|
227
|
+
"commandPath": [
|
|
228
|
+
"actions",
|
|
229
|
+
"overview"
|
|
230
|
+
],
|
|
231
|
+
"method": "get",
|
|
232
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools",
|
|
233
|
+
"summary": "Read the site's agent tools, their versions, releases and recent generations",
|
|
234
|
+
"scope": "actions:read",
|
|
235
|
+
"product": "studio",
|
|
236
|
+
"pathParams": [
|
|
237
|
+
{
|
|
238
|
+
"name": "entityId"
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"queryParams": [],
|
|
242
|
+
"hasBody": false,
|
|
243
|
+
"bodyRequired": false,
|
|
244
|
+
"isStream": false,
|
|
245
|
+
"watchable": false,
|
|
246
|
+
"help": {
|
|
247
|
+
"command": "ora actions overview <entityId>"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"id": "actions.publish",
|
|
252
|
+
"commandPath": [
|
|
253
|
+
"actions",
|
|
254
|
+
"publish"
|
|
255
|
+
],
|
|
256
|
+
"method": "post",
|
|
257
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools/releases",
|
|
258
|
+
"summary": "Publish a release of tool versions and make it active",
|
|
259
|
+
"scope": "actions:write",
|
|
260
|
+
"product": "studio",
|
|
261
|
+
"pathParams": [
|
|
262
|
+
{
|
|
263
|
+
"name": "entityId"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"queryParams": [],
|
|
267
|
+
"hasBody": true,
|
|
268
|
+
"bodyRequired": true,
|
|
269
|
+
"isStream": false,
|
|
270
|
+
"bodyFields": [
|
|
271
|
+
{
|
|
272
|
+
"name": "versionIds",
|
|
273
|
+
"required": true,
|
|
274
|
+
"kind": "array",
|
|
275
|
+
"placeholder": "[]"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "removeToolIds",
|
|
279
|
+
"required": false,
|
|
280
|
+
"kind": "array",
|
|
281
|
+
"placeholder": "[]"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "expectedActiveReleaseId",
|
|
285
|
+
"required": true,
|
|
286
|
+
"kind": "string",
|
|
287
|
+
"placeholder": "<expectedActiveReleaseId>"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "note",
|
|
291
|
+
"required": false,
|
|
292
|
+
"kind": "string",
|
|
293
|
+
"placeholder": "<note>"
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"watchable": false,
|
|
297
|
+
"help": {
|
|
298
|
+
"command": "ora actions publish <entityId> --file run.json",
|
|
299
|
+
"body": "{\n \"versionIds\": [],\n \"expectedActiveReleaseId\": \"<expectedActiveReleaseId>\"\n}"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"id": "actions.requestTemplates",
|
|
304
|
+
"commandPath": [
|
|
305
|
+
"actions",
|
|
306
|
+
"request-templates"
|
|
307
|
+
],
|
|
308
|
+
"method": "get",
|
|
309
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools/request-templates",
|
|
310
|
+
"summary": "The templates a request tool starts from (book a demo, contact sales…)",
|
|
311
|
+
"scope": "actions:read",
|
|
312
|
+
"product": "studio",
|
|
313
|
+
"pathParams": [
|
|
314
|
+
{
|
|
315
|
+
"name": "entityId"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"queryParams": [],
|
|
319
|
+
"hasBody": false,
|
|
320
|
+
"bodyRequired": false,
|
|
321
|
+
"isStream": false,
|
|
322
|
+
"watchable": false,
|
|
323
|
+
"help": {
|
|
324
|
+
"command": "ora actions request-templates <entityId>"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"id": "actions.saveVersion",
|
|
329
|
+
"commandPath": [
|
|
330
|
+
"actions",
|
|
331
|
+
"save-version"
|
|
332
|
+
],
|
|
333
|
+
"method": "post",
|
|
334
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools/tools/{id}/versions",
|
|
335
|
+
"summary": "Save a tool's next version as your coding agent edited it",
|
|
336
|
+
"scope": "actions:write",
|
|
337
|
+
"product": "studio",
|
|
338
|
+
"pathParams": [
|
|
339
|
+
{
|
|
340
|
+
"name": "entityId"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "id"
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"queryParams": [],
|
|
347
|
+
"hasBody": true,
|
|
348
|
+
"bodyRequired": true,
|
|
349
|
+
"isStream": false,
|
|
350
|
+
"bodyFields": [
|
|
351
|
+
{
|
|
352
|
+
"name": "title",
|
|
353
|
+
"required": false,
|
|
354
|
+
"kind": "string",
|
|
355
|
+
"placeholder": "<title>"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "description",
|
|
359
|
+
"required": false,
|
|
360
|
+
"kind": "string",
|
|
361
|
+
"placeholder": "<description>"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "inputSchema",
|
|
365
|
+
"required": false,
|
|
366
|
+
"kind": "object",
|
|
367
|
+
"placeholder": "{}"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "outputSchema",
|
|
371
|
+
"required": false,
|
|
372
|
+
"kind": "object",
|
|
373
|
+
"placeholder": "{}"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "examples",
|
|
377
|
+
"required": false,
|
|
378
|
+
"kind": "array",
|
|
379
|
+
"placeholder": "[]"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"name": "basedOn",
|
|
383
|
+
"required": true,
|
|
384
|
+
"kind": "string",
|
|
385
|
+
"placeholder": "<basedOn>"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "source",
|
|
389
|
+
"required": false,
|
|
390
|
+
"kind": "string",
|
|
391
|
+
"placeholder": "<source>"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"watchable": false,
|
|
395
|
+
"help": {
|
|
396
|
+
"command": "ora actions save-version <entityId> <id> --file run.json",
|
|
397
|
+
"body": "{\n \"basedOn\": \"<basedOn>\"\n}"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"id": "actions.setLive",
|
|
402
|
+
"commandPath": [
|
|
403
|
+
"actions",
|
|
404
|
+
"set-live"
|
|
405
|
+
],
|
|
406
|
+
"method": "post",
|
|
407
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools/tools/{id}/live",
|
|
408
|
+
"summary": "Turn one tool on or off for agents",
|
|
409
|
+
"scope": "actions:write",
|
|
410
|
+
"product": "studio",
|
|
411
|
+
"pathParams": [
|
|
412
|
+
{
|
|
413
|
+
"name": "entityId"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "id"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"queryParams": [],
|
|
420
|
+
"hasBody": true,
|
|
421
|
+
"bodyRequired": true,
|
|
422
|
+
"isStream": false,
|
|
423
|
+
"bodyFields": [
|
|
424
|
+
{
|
|
425
|
+
"name": "versionId",
|
|
426
|
+
"required": true,
|
|
427
|
+
"kind": "string",
|
|
428
|
+
"placeholder": "<versionId>"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "expectedVersionId",
|
|
432
|
+
"required": true,
|
|
433
|
+
"kind": "string",
|
|
434
|
+
"placeholder": "<expectedVersionId>"
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
"watchable": false,
|
|
438
|
+
"help": {
|
|
439
|
+
"command": "ora actions set-live <entityId> <id> --file run.json",
|
|
440
|
+
"body": "{\n \"versionId\": \"<versionId>\",\n \"expectedVersionId\": \"<expectedVersionId>\"\n}"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"id": "actions.setUi",
|
|
445
|
+
"commandPath": [
|
|
446
|
+
"actions",
|
|
447
|
+
"set-ui"
|
|
448
|
+
],
|
|
449
|
+
"method": "post",
|
|
450
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools/versions/{id}/ui",
|
|
451
|
+
"summary": "Give a verified tool version an app, or take its app away",
|
|
452
|
+
"scope": "actions:write",
|
|
453
|
+
"product": "studio",
|
|
454
|
+
"pathParams": [
|
|
455
|
+
{
|
|
456
|
+
"name": "entityId"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "id"
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"queryParams": [],
|
|
463
|
+
"hasBody": true,
|
|
464
|
+
"bodyRequired": true,
|
|
465
|
+
"isStream": false,
|
|
466
|
+
"bodyFields": [
|
|
467
|
+
{
|
|
468
|
+
"name": "ui",
|
|
469
|
+
"required": true,
|
|
470
|
+
"kind": "string",
|
|
471
|
+
"placeholder": "<ui>"
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
"watchable": false,
|
|
475
|
+
"help": {
|
|
476
|
+
"command": "ora actions set-ui <entityId> <id> --file run.json",
|
|
477
|
+
"body": "{\n \"ui\": \"<ui>\"\n}"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"id": "actions.updateRequestTool",
|
|
482
|
+
"commandPath": [
|
|
483
|
+
"actions",
|
|
484
|
+
"update-request-tool"
|
|
485
|
+
],
|
|
486
|
+
"method": "patch",
|
|
487
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools/request-tools/{id}",
|
|
488
|
+
"summary": "Change how a request tool reaches the business; a live tool stays live",
|
|
489
|
+
"scope": "actions:write",
|
|
490
|
+
"product": "studio",
|
|
491
|
+
"pathParams": [
|
|
492
|
+
{
|
|
493
|
+
"name": "entityId"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"name": "id"
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"queryParams": [],
|
|
500
|
+
"hasBody": true,
|
|
501
|
+
"bodyRequired": true,
|
|
502
|
+
"isStream": false,
|
|
503
|
+
"bodyFields": [
|
|
504
|
+
{
|
|
505
|
+
"name": "mode",
|
|
506
|
+
"required": true,
|
|
507
|
+
"kind": "string",
|
|
508
|
+
"enum": [
|
|
509
|
+
"inbox",
|
|
510
|
+
"deliver",
|
|
511
|
+
"link"
|
|
512
|
+
],
|
|
513
|
+
"placeholder": "inbox"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "title",
|
|
517
|
+
"required": false,
|
|
518
|
+
"kind": "string",
|
|
519
|
+
"placeholder": "<title>"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"name": "about",
|
|
523
|
+
"required": false,
|
|
524
|
+
"kind": "string",
|
|
525
|
+
"placeholder": "<about>"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "webhookUrl",
|
|
529
|
+
"required": false,
|
|
530
|
+
"kind": "string",
|
|
531
|
+
"placeholder": "<webhookUrl>"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "pageUrl",
|
|
535
|
+
"required": false,
|
|
536
|
+
"kind": "string",
|
|
537
|
+
"placeholder": "<pageUrl>"
|
|
538
|
+
}
|
|
539
|
+
],
|
|
540
|
+
"watchable": false,
|
|
541
|
+
"help": {
|
|
542
|
+
"command": "ora actions update-request-tool <entityId> <id> --file run.json",
|
|
543
|
+
"body": "{\n \"mode\": \"inbox\"\n}"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"id": "actions.version",
|
|
548
|
+
"commandPath": [
|
|
549
|
+
"actions",
|
|
550
|
+
"version"
|
|
551
|
+
],
|
|
552
|
+
"method": "get",
|
|
553
|
+
"pathTemplate": "/studio/v1/agent-front/domains/{entityId}/tools/versions/{id}",
|
|
554
|
+
"summary": "Read a tool version's definition, executor and verification report",
|
|
555
|
+
"scope": "actions:read",
|
|
556
|
+
"product": "studio",
|
|
557
|
+
"pathParams": [
|
|
558
|
+
{
|
|
559
|
+
"name": "entityId"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "id"
|
|
563
|
+
}
|
|
564
|
+
],
|
|
565
|
+
"queryParams": [],
|
|
566
|
+
"hasBody": false,
|
|
567
|
+
"bodyRequired": false,
|
|
568
|
+
"isStream": false,
|
|
569
|
+
"watchable": false,
|
|
570
|
+
"help": {
|
|
571
|
+
"command": "ora actions version <entityId> <id>"
|
|
572
|
+
}
|
|
573
|
+
},
|
|
11
574
|
{
|
|
12
575
|
"id": "activity.list",
|
|
13
576
|
"commandPath": [
|
|
@@ -237,6 +800,101 @@ export const OPERATIONS = [
|
|
|
237
800
|
"command": "ora analytics overview"
|
|
238
801
|
}
|
|
239
802
|
},
|
|
803
|
+
{
|
|
804
|
+
"id": "audit.result",
|
|
805
|
+
"commandPath": [
|
|
806
|
+
"audit",
|
|
807
|
+
"result"
|
|
808
|
+
],
|
|
809
|
+
"method": "get",
|
|
810
|
+
"pathTemplate": "/studio/v1/audits/{id}",
|
|
811
|
+
"summary": "One audit: its status and, once it finishes, its score and checks",
|
|
812
|
+
"scope": "audits:read",
|
|
813
|
+
"product": "studio",
|
|
814
|
+
"pathParams": [
|
|
815
|
+
{
|
|
816
|
+
"name": "id"
|
|
817
|
+
}
|
|
818
|
+
],
|
|
819
|
+
"queryParams": [],
|
|
820
|
+
"hasBody": false,
|
|
821
|
+
"bodyRequired": false,
|
|
822
|
+
"isStream": false,
|
|
823
|
+
"watchable": false,
|
|
824
|
+
"help": {
|
|
825
|
+
"command": "ora audit result <id>"
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"id": "audit.run",
|
|
830
|
+
"commandPath": [
|
|
831
|
+
"audit",
|
|
832
|
+
"run"
|
|
833
|
+
],
|
|
834
|
+
"method": "post",
|
|
835
|
+
"pathTemplate": "/studio/v1/audits",
|
|
836
|
+
"summary": "Audit a domain's agent readiness. Returns the audit id at once; follow it with --watch or read it with audit.result",
|
|
837
|
+
"scope": "audits:write",
|
|
838
|
+
"product": "studio",
|
|
839
|
+
"pathParams": [],
|
|
840
|
+
"queryParams": [],
|
|
841
|
+
"hasBody": true,
|
|
842
|
+
"bodyRequired": true,
|
|
843
|
+
"isStream": false,
|
|
844
|
+
"bodyFields": [
|
|
845
|
+
{
|
|
846
|
+
"name": "domain",
|
|
847
|
+
"required": true,
|
|
848
|
+
"kind": "string",
|
|
849
|
+
"description": "The domain to audit, e.g. example.com",
|
|
850
|
+
"placeholder": "example.com"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"name": "mcpUrl",
|
|
854
|
+
"required": false,
|
|
855
|
+
"kind": "string",
|
|
856
|
+
"description": "The site's MCP server URL, when it has one",
|
|
857
|
+
"placeholder": "<mcpUrl>"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"name": "fresh",
|
|
861
|
+
"required": false,
|
|
862
|
+
"kind": "boolean",
|
|
863
|
+
"description": "Run a new audit rather than reuse a recent result. Default true",
|
|
864
|
+
"placeholder": "true"
|
|
865
|
+
}
|
|
866
|
+
],
|
|
867
|
+
"watchable": true,
|
|
868
|
+
"help": {
|
|
869
|
+
"command": "ora audit run --file run.json --watch",
|
|
870
|
+
"body": "{\n \"domain\": \"example.com\"\n}"
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"id": "audit.stream",
|
|
875
|
+
"commandPath": [
|
|
876
|
+
"audit",
|
|
877
|
+
"stream"
|
|
878
|
+
],
|
|
879
|
+
"method": "get",
|
|
880
|
+
"pathTemplate": "/studio/v1/audits/{id}/stream",
|
|
881
|
+
"summary": "Follow one audit live (SSE): its checks as they finish, then the score, and the stream closes",
|
|
882
|
+
"scope": "audits:read",
|
|
883
|
+
"product": "studio",
|
|
884
|
+
"pathParams": [
|
|
885
|
+
{
|
|
886
|
+
"name": "id"
|
|
887
|
+
}
|
|
888
|
+
],
|
|
889
|
+
"queryParams": [],
|
|
890
|
+
"hasBody": false,
|
|
891
|
+
"bodyRequired": false,
|
|
892
|
+
"isStream": true,
|
|
893
|
+
"watchable": false,
|
|
894
|
+
"help": {
|
|
895
|
+
"command": "ora audit stream <id>"
|
|
896
|
+
}
|
|
897
|
+
},
|
|
240
898
|
{
|
|
241
899
|
"id": "autopilot.board.list",
|
|
242
900
|
"commandPath": [
|
|
@@ -5304,6 +5962,43 @@ export const OPERATIONS = [
|
|
|
5304
5962
|
"command": "ora journeys list"
|
|
5305
5963
|
}
|
|
5306
5964
|
},
|
|
5965
|
+
{
|
|
5966
|
+
"id": "mcp.servers.list",
|
|
5967
|
+
"commandPath": [
|
|
5968
|
+
"mcp",
|
|
5969
|
+
"servers",
|
|
5970
|
+
"list"
|
|
5971
|
+
],
|
|
5972
|
+
"method": "get",
|
|
5973
|
+
"pathTemplate": "/studio/v1/mcp/servers",
|
|
5974
|
+
"summary": "List the org's registered MCP servers: id, name, url, auth method and connection health. The ids are what an intent's measurement policy takes in agents[].mcp_server_ids (CLI: ora intents measurement-policy)",
|
|
5975
|
+
"scope": "mcp:read",
|
|
5976
|
+
"product": "studio",
|
|
5977
|
+
"pathParams": [],
|
|
5978
|
+
"queryParams": [
|
|
5979
|
+
{
|
|
5980
|
+
"name": "limit",
|
|
5981
|
+
"flag": "limit",
|
|
5982
|
+
"optionKey": "limit",
|
|
5983
|
+
"required": false,
|
|
5984
|
+
"kind": "number"
|
|
5985
|
+
},
|
|
5986
|
+
{
|
|
5987
|
+
"name": "offset",
|
|
5988
|
+
"flag": "offset",
|
|
5989
|
+
"optionKey": "offset",
|
|
5990
|
+
"required": false,
|
|
5991
|
+
"kind": "number"
|
|
5992
|
+
}
|
|
5993
|
+
],
|
|
5994
|
+
"hasBody": false,
|
|
5995
|
+
"bodyRequired": false,
|
|
5996
|
+
"isStream": false,
|
|
5997
|
+
"watchable": false,
|
|
5998
|
+
"help": {
|
|
5999
|
+
"command": "ora mcp servers list"
|
|
6000
|
+
}
|
|
6001
|
+
},
|
|
5307
6002
|
{
|
|
5308
6003
|
"id": "sessions.catalog",
|
|
5309
6004
|
"commandPath": [
|
|
@@ -9038,7 +9733,7 @@ export const OPERATIONS = [
|
|
|
9038
9733
|
],
|
|
9039
9734
|
"method": "get",
|
|
9040
9735
|
"pathTemplate": "/studio/v1/usage",
|
|
9041
|
-
"summary": "This month's agent runs for your organization:
|
|
9736
|
+
"summary": "This month's agent runs and Ora Score scans for your organization: for each, how many were used, the plan's limit (null when uncapped) and how many remain, plus when the counts reset",
|
|
9042
9737
|
"scope": "intents:read",
|
|
9043
9738
|
"product": "studio",
|
|
9044
9739
|
"pathParams": [],
|
|
@@ -9207,4 +9902,7 @@ export const OPERATIONS = [
|
|
|
9207
9902
|
}
|
|
9208
9903
|
}
|
|
9209
9904
|
];
|
|
9905
|
+
export const COMMAND_GROUPS = {
|
|
9906
|
+
"audit": "Ora Score audits: scan a site for agent readiness and read its score"
|
|
9907
|
+
};
|
|
9210
9908
|
//# sourceMappingURL=operations.js.map
|