@ora-ai/cli 0.1.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.
Files changed (147) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +102 -0
  3. package/dist/auth-commands.d.ts +39 -0
  4. package/dist/auth-commands.d.ts.map +1 -0
  5. package/dist/auth-commands.js +116 -0
  6. package/dist/auth-commands.js.map +1 -0
  7. package/dist/core/auth.d.ts +41 -0
  8. package/dist/core/auth.d.ts.map +1 -0
  9. package/dist/core/auth.js +110 -0
  10. package/dist/core/auth.js.map +1 -0
  11. package/dist/core/config.d.ts +26 -0
  12. package/dist/core/config.d.ts.map +1 -0
  13. package/dist/core/config.js +51 -0
  14. package/dist/core/config.js.map +1 -0
  15. package/dist/core/http.d.ts +46 -0
  16. package/dist/core/http.d.ts.map +1 -0
  17. package/dist/core/http.js +82 -0
  18. package/dist/core/http.js.map +1 -0
  19. package/dist/core/login.d.ts +14 -0
  20. package/dist/core/login.d.ts.map +1 -0
  21. package/dist/core/login.js +70 -0
  22. package/dist/core/login.js.map +1 -0
  23. package/dist/core/output.d.ts +18 -0
  24. package/dist/core/output.d.ts.map +1 -0
  25. package/dist/core/output.js +94 -0
  26. package/dist/core/output.js.map +1 -0
  27. package/dist/core/run-operation.d.ts +57 -0
  28. package/dist/core/run-operation.d.ts.map +1 -0
  29. package/dist/core/run-operation.js +119 -0
  30. package/dist/core/run-operation.js.map +1 -0
  31. package/dist/core/sse.d.ts +13 -0
  32. package/dist/core/sse.d.ts.map +1 -0
  33. package/dist/core/sse.js +63 -0
  34. package/dist/core/sse.js.map +1 -0
  35. package/dist/generated/operations.d.ts +47 -0
  36. package/dist/generated/operations.d.ts.map +1 -0
  37. package/dist/generated/operations.js +2050 -0
  38. package/dist/generated/operations.js.map +1 -0
  39. package/dist/generated/types.d.ts +1039 -0
  40. package/dist/generated/types.d.ts.map +1 -0
  41. package/dist/generated/types.js +5 -0
  42. package/dist/generated/types.js.map +1 -0
  43. package/dist/index.d.ts +7 -0
  44. package/dist/index.d.ts.map +1 -0
  45. package/dist/index.js +17 -0
  46. package/dist/index.js.map +1 -0
  47. package/dist/interactive/derive-prompts.d.ts +44 -0
  48. package/dist/interactive/derive-prompts.d.ts.map +1 -0
  49. package/dist/interactive/derive-prompts.js +58 -0
  50. package/dist/interactive/derive-prompts.js.map +1 -0
  51. package/dist/interactive/inquirer-prompter.d.ts +11 -0
  52. package/dist/interactive/inquirer-prompter.d.ts.map +1 -0
  53. package/dist/interactive/inquirer-prompter.js +64 -0
  54. package/dist/interactive/inquirer-prompter.js.map +1 -0
  55. package/dist/interactive/menu.d.ts +25 -0
  56. package/dist/interactive/menu.d.ts.map +1 -0
  57. package/dist/interactive/menu.js +57 -0
  58. package/dist/interactive/menu.js.map +1 -0
  59. package/dist/interactive/prompter.d.ts +25 -0
  60. package/dist/interactive/prompter.d.ts.map +1 -0
  61. package/dist/interactive/prompter.js +14 -0
  62. package/dist/interactive/prompter.js.map +1 -0
  63. package/dist/interactive/session.d.ts +19 -0
  64. package/dist/interactive/session.d.ts.map +1 -0
  65. package/dist/interactive/session.js +204 -0
  66. package/dist/interactive/session.js.map +1 -0
  67. package/dist/program.d.ts +81 -0
  68. package/dist/program.d.ts.map +1 -0
  69. package/dist/program.js +178 -0
  70. package/dist/program.js.map +1 -0
  71. package/dist/render/ansi.d.ts +13 -0
  72. package/dist/render/ansi.d.ts.map +1 -0
  73. package/dist/render/ansi.js +34 -0
  74. package/dist/render/ansi.js.map +1 -0
  75. package/dist/render/banner.d.ts +7 -0
  76. package/dist/render/banner.d.ts.map +1 -0
  77. package/dist/render/banner.js +18 -0
  78. package/dist/render/banner.js.map +1 -0
  79. package/dist/render/glyphs.d.ts +39 -0
  80. package/dist/render/glyphs.d.ts.map +1 -0
  81. package/dist/render/glyphs.js +83 -0
  82. package/dist/render/glyphs.js.map +1 -0
  83. package/dist/render/index.d.ts +13 -0
  84. package/dist/render/index.d.ts.map +1 -0
  85. package/dist/render/index.js +24 -0
  86. package/dist/render/index.js.map +1 -0
  87. package/dist/render/insight-lines.d.ts +8 -0
  88. package/dist/render/insight-lines.d.ts.map +1 -0
  89. package/dist/render/insight-lines.js +62 -0
  90. package/dist/render/insight-lines.js.map +1 -0
  91. package/dist/render/insight.d.ts +9 -0
  92. package/dist/render/insight.d.ts.map +1 -0
  93. package/dist/render/insight.js +68 -0
  94. package/dist/render/insight.js.map +1 -0
  95. package/dist/render/journey-graph.d.ts +73 -0
  96. package/dist/render/journey-graph.d.ts.map +1 -0
  97. package/dist/render/journey-graph.js +250 -0
  98. package/dist/render/journey-graph.js.map +1 -0
  99. package/dist/render/journey.d.ts +14 -0
  100. package/dist/render/journey.d.ts.map +1 -0
  101. package/dist/render/journey.js +67 -0
  102. package/dist/render/journey.js.map +1 -0
  103. package/dist/render/live-panel.d.ts +34 -0
  104. package/dist/render/live-panel.d.ts.map +1 -0
  105. package/dist/render/live-panel.js +84 -0
  106. package/dist/render/live-panel.js.map +1 -0
  107. package/dist/render/mode.d.ts +19 -0
  108. package/dist/render/mode.d.ts.map +1 -0
  109. package/dist/render/mode.js +23 -0
  110. package/dist/render/mode.js.map +1 -0
  111. package/dist/render/registry.d.ts +17 -0
  112. package/dist/render/registry.d.ts.map +1 -0
  113. package/dist/render/registry.js +34 -0
  114. package/dist/render/registry.js.map +1 -0
  115. package/dist/render/run-list.d.ts +11 -0
  116. package/dist/render/run-list.d.ts.map +1 -0
  117. package/dist/render/run-list.js +53 -0
  118. package/dist/render/run-list.js.map +1 -0
  119. package/dist/render/spinner.d.ts +14 -0
  120. package/dist/render/spinner.d.ts.map +1 -0
  121. package/dist/render/spinner.js +37 -0
  122. package/dist/render/spinner.js.map +1 -0
  123. package/dist/render/table.d.ts +20 -0
  124. package/dist/render/table.d.ts.map +1 -0
  125. package/dist/render/table.js +29 -0
  126. package/dist/render/table.js.map +1 -0
  127. package/dist/render/trajectory.d.ts +19 -0
  128. package/dist/render/trajectory.d.ts.map +1 -0
  129. package/dist/render/trajectory.js +75 -0
  130. package/dist/render/trajectory.js.map +1 -0
  131. package/dist/render/tunnel.d.ts +10 -0
  132. package/dist/render/tunnel.d.ts.map +1 -0
  133. package/dist/render/tunnel.js +108 -0
  134. package/dist/render/tunnel.js.map +1 -0
  135. package/dist/render/usage.d.ts +29 -0
  136. package/dist/render/usage.d.ts.map +1 -0
  137. package/dist/render/usage.js +83 -0
  138. package/dist/render/usage.js.map +1 -0
  139. package/dist/tunnel-command.d.ts +15 -0
  140. package/dist/tunnel-command.d.ts.map +1 -0
  141. package/dist/tunnel-command.js +267 -0
  142. package/dist/tunnel-command.js.map +1 -0
  143. package/dist/watch.d.ts +53 -0
  144. package/dist/watch.d.ts.map +1 -0
  145. package/dist/watch.js +305 -0
  146. package/dist/watch.js.map +1 -0
  147. package/package.json +36 -0
@@ -0,0 +1,2050 @@
1
+ // GENERATED by scripts/generate.mjs — DO NOT EDIT.
2
+ // Source: openapi/ora-public.openapi.json (sha256 d1aeca5bf5255cdfbdf7836aace5a10fc4242ce23a30dd16761092e8383291b0)
3
+ // Regenerate: yarn nx run ora-cli:generate
4
+ export const SPEC = {
5
+ "version": "1.0.0",
6
+ "contentHash": "d1aeca5bf5255cdfbdf7836aace5a10fc4242ce23a30dd16761092e8383291b0",
7
+ "server": "https://api.agentfront.sh",
8
+ "bin": "ora"
9
+ };
10
+ export const OPERATIONS = [
11
+ {
12
+ "id": "activity.list",
13
+ "commandPath": [
14
+ "activity",
15
+ "list"
16
+ ],
17
+ "method": "get",
18
+ "pathTemplate": "/studio/v1/activity",
19
+ "summary": "The org's account-change activity feed",
20
+ "scope": "activity:read",
21
+ "product": "studio",
22
+ "pathParams": [],
23
+ "queryParams": [
24
+ {
25
+ "name": "limit",
26
+ "flag": "limit",
27
+ "optionKey": "limit",
28
+ "required": false,
29
+ "kind": "number"
30
+ },
31
+ {
32
+ "name": "offset",
33
+ "flag": "offset",
34
+ "optionKey": "offset",
35
+ "required": false,
36
+ "kind": "number"
37
+ }
38
+ ],
39
+ "hasBody": false,
40
+ "bodyRequired": false,
41
+ "isStream": false,
42
+ "watchable": false,
43
+ "help": {
44
+ "command": "ora activity list"
45
+ }
46
+ },
47
+ {
48
+ "id": "addons.list",
49
+ "commandPath": [
50
+ "addons",
51
+ "list"
52
+ ],
53
+ "method": "get",
54
+ "pathTemplate": "/experiment/v1/addons",
55
+ "summary": "The add-on catalog (harness/surface-filtered)",
56
+ "scope": "addons:read",
57
+ "product": "experiment",
58
+ "pathParams": [],
59
+ "queryParams": [
60
+ {
61
+ "name": "harness",
62
+ "flag": "harness",
63
+ "optionKey": "harness",
64
+ "required": false,
65
+ "kind": "string"
66
+ },
67
+ {
68
+ "name": "surface",
69
+ "flag": "surface",
70
+ "optionKey": "surface",
71
+ "required": false,
72
+ "kind": "string",
73
+ "enum": [
74
+ "run",
75
+ "session"
76
+ ]
77
+ }
78
+ ],
79
+ "hasBody": false,
80
+ "bodyRequired": false,
81
+ "isStream": false,
82
+ "watchable": false,
83
+ "help": {
84
+ "command": "ora addons list"
85
+ }
86
+ },
87
+ {
88
+ "id": "analytics.export",
89
+ "commandPath": [
90
+ "analytics",
91
+ "export"
92
+ ],
93
+ "method": "get",
94
+ "pathTemplate": "/studio/v1/analytics/export.csv",
95
+ "summary": "The same Overview data as a downloadable CSV",
96
+ "scope": "analytics:read",
97
+ "product": "studio",
98
+ "pathParams": [],
99
+ "queryParams": [
100
+ {
101
+ "name": "range",
102
+ "flag": "range",
103
+ "optionKey": "range",
104
+ "required": false,
105
+ "kind": "string",
106
+ "enum": [
107
+ "7d",
108
+ "30d",
109
+ "90d",
110
+ "12m"
111
+ ]
112
+ },
113
+ {
114
+ "name": "domain",
115
+ "flag": "domain",
116
+ "optionKey": "domain",
117
+ "required": false,
118
+ "kind": "string"
119
+ },
120
+ {
121
+ "name": "intents",
122
+ "flag": "intents",
123
+ "optionKey": "intents",
124
+ "required": false,
125
+ "kind": "string"
126
+ },
127
+ {
128
+ "name": "models",
129
+ "flag": "models",
130
+ "optionKey": "models",
131
+ "required": false,
132
+ "kind": "string"
133
+ },
134
+ {
135
+ "name": "layers",
136
+ "flag": "layers",
137
+ "optionKey": "layers",
138
+ "required": false,
139
+ "kind": "string"
140
+ }
141
+ ],
142
+ "hasBody": false,
143
+ "bodyRequired": false,
144
+ "isStream": false,
145
+ "watchable": false,
146
+ "help": {
147
+ "command": "ora analytics export"
148
+ }
149
+ },
150
+ {
151
+ "id": "analytics.overview",
152
+ "commandPath": [
153
+ "analytics",
154
+ "overview"
155
+ ],
156
+ "method": "get",
157
+ "pathTemplate": "/studio/v1/analytics/overview",
158
+ "summary": "The org's analytics Overview dashboard payload",
159
+ "scope": "analytics:read",
160
+ "product": "studio",
161
+ "pathParams": [],
162
+ "queryParams": [
163
+ {
164
+ "name": "range",
165
+ "flag": "range",
166
+ "optionKey": "range",
167
+ "required": false,
168
+ "kind": "string",
169
+ "enum": [
170
+ "7d",
171
+ "30d",
172
+ "90d",
173
+ "12m"
174
+ ]
175
+ },
176
+ {
177
+ "name": "domain",
178
+ "flag": "domain",
179
+ "optionKey": "domain",
180
+ "required": false,
181
+ "kind": "string"
182
+ },
183
+ {
184
+ "name": "intents",
185
+ "flag": "intents",
186
+ "optionKey": "intents",
187
+ "required": false,
188
+ "kind": "string"
189
+ },
190
+ {
191
+ "name": "models",
192
+ "flag": "models",
193
+ "optionKey": "models",
194
+ "required": false,
195
+ "kind": "string"
196
+ },
197
+ {
198
+ "name": "layers",
199
+ "flag": "layers",
200
+ "optionKey": "layers",
201
+ "required": false,
202
+ "kind": "string"
203
+ }
204
+ ],
205
+ "hasBody": false,
206
+ "bodyRequired": false,
207
+ "isStream": false,
208
+ "watchable": false,
209
+ "help": {
210
+ "command": "ora analytics overview"
211
+ }
212
+ },
213
+ {
214
+ "id": "domains.add",
215
+ "commandPath": [
216
+ "domains",
217
+ "add"
218
+ ],
219
+ "method": "post",
220
+ "pathTemplate": "/studio/v1/org/domains",
221
+ "summary": "Track a new domain",
222
+ "scope": "domains:write",
223
+ "product": "studio",
224
+ "pathParams": [],
225
+ "queryParams": [],
226
+ "hasBody": true,
227
+ "bodyRequired": true,
228
+ "isStream": false,
229
+ "bodyFields": [
230
+ {
231
+ "name": "domain",
232
+ "required": true,
233
+ "kind": "string",
234
+ "placeholder": "<domain>"
235
+ }
236
+ ],
237
+ "watchable": false,
238
+ "help": {
239
+ "command": "ora domains add --file run.json",
240
+ "body": "{\n \"domain\": \"<domain>\"\n}"
241
+ }
242
+ },
243
+ {
244
+ "id": "domains.list",
245
+ "commandPath": [
246
+ "domains",
247
+ "list"
248
+ ],
249
+ "method": "get",
250
+ "pathTemplate": "/studio/v1/org/domains",
251
+ "summary": "List the org's tracked domains (oldest = primary)",
252
+ "scope": "domains:read",
253
+ "product": "studio",
254
+ "pathParams": [],
255
+ "queryParams": [],
256
+ "hasBody": false,
257
+ "bodyRequired": false,
258
+ "isStream": false,
259
+ "watchable": false,
260
+ "help": {
261
+ "command": "ora domains list"
262
+ }
263
+ },
264
+ {
265
+ "id": "domains.remove",
266
+ "commandPath": [
267
+ "domains",
268
+ "remove"
269
+ ],
270
+ "method": "delete",
271
+ "pathTemplate": "/studio/v1/org/domains/{id}",
272
+ "summary": "Stop tracking a domain (the primary domain cannot be removed)",
273
+ "scope": "domains:write",
274
+ "product": "studio",
275
+ "pathParams": [
276
+ {
277
+ "name": "id"
278
+ }
279
+ ],
280
+ "queryParams": [],
281
+ "hasBody": false,
282
+ "bodyRequired": false,
283
+ "isStream": false,
284
+ "watchable": false,
285
+ "help": {
286
+ "command": "ora domains remove <id>"
287
+ }
288
+ },
289
+ {
290
+ "id": "experiment.runs.create",
291
+ "commandPath": [
292
+ "experiment",
293
+ "runs",
294
+ "create"
295
+ ],
296
+ "method": "post",
297
+ "pathTemplate": "/experiment/v1/runs",
298
+ "summary": "Create a run",
299
+ "scope": "runs:write",
300
+ "product": "platform",
301
+ "pathParams": [],
302
+ "queryParams": [],
303
+ "hasBody": true,
304
+ "bodyRequired": true,
305
+ "isStream": false,
306
+ "bodyFields": [
307
+ {
308
+ "name": "product_key",
309
+ "required": false,
310
+ "kind": "string",
311
+ "placeholder": "<product_key>"
312
+ },
313
+ {
314
+ "name": "intent",
315
+ "required": true,
316
+ "kind": "string",
317
+ "placeholder": "check pricing for acme.com"
318
+ },
319
+ {
320
+ "name": "domain",
321
+ "required": false,
322
+ "kind": "string",
323
+ "placeholder": "<domain>"
324
+ },
325
+ {
326
+ "name": "harness",
327
+ "required": false,
328
+ "kind": "string",
329
+ "placeholder": "eve"
330
+ },
331
+ {
332
+ "name": "model",
333
+ "required": false,
334
+ "kind": "string",
335
+ "placeholder": "claude-sonnet-5"
336
+ },
337
+ {
338
+ "name": "mode",
339
+ "required": false,
340
+ "kind": "string",
341
+ "enum": [
342
+ "task",
343
+ "session"
344
+ ],
345
+ "placeholder": "task"
346
+ },
347
+ {
348
+ "name": "addons",
349
+ "required": false,
350
+ "kind": "object",
351
+ "placeholder": "{}"
352
+ },
353
+ {
354
+ "name": "engine",
355
+ "required": false,
356
+ "kind": "string",
357
+ "placeholder": "<engine>"
358
+ },
359
+ {
360
+ "name": "execution_kind",
361
+ "required": false,
362
+ "kind": "string",
363
+ "enum": [
364
+ "harness",
365
+ "direct"
366
+ ],
367
+ "placeholder": "harness"
368
+ },
369
+ {
370
+ "name": "tools",
371
+ "required": false,
372
+ "kind": "string",
373
+ "placeholder": "<tools>"
374
+ },
375
+ {
376
+ "name": "wait",
377
+ "required": false,
378
+ "kind": "boolean",
379
+ "placeholder": "true"
380
+ }
381
+ ],
382
+ "watchable": true,
383
+ "help": {
384
+ "command": "ora experiment runs create --file run.json --watch",
385
+ "body": "{\n \"intent\": \"check pricing for acme.com\",\n \"harness\": \"eve\",\n \"model\": \"claude-sonnet-5\"\n}"
386
+ }
387
+ },
388
+ {
389
+ "id": "experiment.runs.directSignals",
390
+ "commandPath": [
391
+ "experiment",
392
+ "runs",
393
+ "direct-signals"
394
+ ],
395
+ "method": "get",
396
+ "pathTemplate": "/experiment/v1/runs/{id}/direct-signals",
397
+ "summary": "Read a direct run's extracted DirectSignals artifact",
398
+ "scope": "runs:read",
399
+ "product": "platform",
400
+ "pathParams": [
401
+ {
402
+ "name": "id"
403
+ }
404
+ ],
405
+ "queryParams": [],
406
+ "hasBody": false,
407
+ "bodyRequired": false,
408
+ "isStream": false,
409
+ "watchable": false,
410
+ "help": {
411
+ "command": "ora experiment runs direct-signals <id>"
412
+ }
413
+ },
414
+ {
415
+ "id": "experiment.runs.feed",
416
+ "commandPath": [
417
+ "experiment",
418
+ "runs",
419
+ "feed"
420
+ ],
421
+ "method": "get",
422
+ "pathTemplate": "/experiment/v1/runs/stream",
423
+ "summary": "Org-scoped live feed of run status patches (SSE)",
424
+ "scope": "runs:read",
425
+ "product": "platform",
426
+ "pathParams": [],
427
+ "queryParams": [],
428
+ "hasBody": false,
429
+ "bodyRequired": false,
430
+ "isStream": true,
431
+ "watchable": false,
432
+ "help": {
433
+ "command": "ora experiment runs feed"
434
+ }
435
+ },
436
+ {
437
+ "id": "experiment.runs.insight",
438
+ "commandPath": [
439
+ "experiment",
440
+ "runs",
441
+ "insight"
442
+ ],
443
+ "method": "get",
444
+ "pathTemplate": "/experiment/v1/runs/{id}/insight",
445
+ "summary": "Read a run's stored insight artifact",
446
+ "scope": "runs:read",
447
+ "product": "platform",
448
+ "pathParams": [
449
+ {
450
+ "name": "id"
451
+ }
452
+ ],
453
+ "queryParams": [],
454
+ "hasBody": false,
455
+ "bodyRequired": false,
456
+ "isStream": false,
457
+ "watchable": false,
458
+ "help": {
459
+ "command": "ora experiment runs insight <id>"
460
+ }
461
+ },
462
+ {
463
+ "id": "experiment.runs.list",
464
+ "commandPath": [
465
+ "experiment",
466
+ "runs",
467
+ "list"
468
+ ],
469
+ "method": "get",
470
+ "pathTemplate": "/experiment/v1/runs",
471
+ "summary": "List runs",
472
+ "scope": "runs:read",
473
+ "product": "platform",
474
+ "pathParams": [],
475
+ "queryParams": [
476
+ {
477
+ "name": "pageSize",
478
+ "flag": "page-size",
479
+ "optionKey": "pageSize",
480
+ "required": false,
481
+ "kind": "number"
482
+ },
483
+ {
484
+ "name": "pageToken",
485
+ "flag": "page-token",
486
+ "optionKey": "pageToken",
487
+ "required": false,
488
+ "kind": "string"
489
+ }
490
+ ],
491
+ "hasBody": false,
492
+ "bodyRequired": false,
493
+ "isStream": false,
494
+ "watchable": false,
495
+ "help": {
496
+ "command": "ora experiment runs list"
497
+ }
498
+ },
499
+ {
500
+ "id": "experiment.runs.rawTrace",
501
+ "commandPath": [
502
+ "experiment",
503
+ "runs",
504
+ "raw-trace"
505
+ ],
506
+ "method": "get",
507
+ "pathTemplate": "/experiment/v1/runs/{id}/raw-trace",
508
+ "summary": "Read a run's full raw frame stream (pre-truncation trace artifact)",
509
+ "scope": "runs:read",
510
+ "product": "platform",
511
+ "pathParams": [
512
+ {
513
+ "name": "id"
514
+ }
515
+ ],
516
+ "queryParams": [],
517
+ "hasBody": false,
518
+ "bodyRequired": false,
519
+ "isStream": false,
520
+ "watchable": false,
521
+ "help": {
522
+ "command": "ora experiment runs raw-trace <id>"
523
+ }
524
+ },
525
+ {
526
+ "id": "experiment.runs.stream",
527
+ "commandPath": [
528
+ "experiment",
529
+ "runs",
530
+ "stream"
531
+ ],
532
+ "method": "get",
533
+ "pathTemplate": "/experiment/v1/runs/{id}/stream",
534
+ "summary": "Stream a run's live trajectory (SSE)",
535
+ "scope": "runs:read",
536
+ "product": "platform",
537
+ "pathParams": [
538
+ {
539
+ "name": "id"
540
+ }
541
+ ],
542
+ "queryParams": [],
543
+ "hasBody": false,
544
+ "bodyRequired": false,
545
+ "isStream": true,
546
+ "watchable": false,
547
+ "help": {
548
+ "command": "ora experiment runs stream <id>"
549
+ }
550
+ },
551
+ {
552
+ "id": "experiment.runs.trajectory",
553
+ "commandPath": [
554
+ "experiment",
555
+ "runs",
556
+ "trajectory"
557
+ ],
558
+ "method": "get",
559
+ "pathTemplate": "/experiment/v1/runs/{id}/trajectory",
560
+ "summary": "Read a run's normalized trajectory snapshot",
561
+ "scope": "runs:read",
562
+ "product": "platform",
563
+ "pathParams": [
564
+ {
565
+ "name": "id"
566
+ }
567
+ ],
568
+ "queryParams": [
569
+ {
570
+ "name": "profile",
571
+ "flag": "profile",
572
+ "optionKey": "profile",
573
+ "required": false,
574
+ "kind": "string",
575
+ "enum": [
576
+ "raw",
577
+ "heuristic",
578
+ "full"
579
+ ]
580
+ }
581
+ ],
582
+ "hasBody": false,
583
+ "bodyRequired": false,
584
+ "isStream": false,
585
+ "watchable": false,
586
+ "help": {
587
+ "command": "ora experiment runs trajectory <id>"
588
+ }
589
+ },
590
+ {
591
+ "id": "intents.addPrompt",
592
+ "commandPath": [
593
+ "intents",
594
+ "add-prompt"
595
+ ],
596
+ "method": "post",
597
+ "pathTemplate": "/studio/v1/intents/{id}/prompts",
598
+ "summary": "Add a prompt to an intent",
599
+ "scope": "intents:write",
600
+ "product": "studio",
601
+ "pathParams": [
602
+ {
603
+ "name": "id"
604
+ }
605
+ ],
606
+ "queryParams": [],
607
+ "hasBody": true,
608
+ "bodyRequired": true,
609
+ "isStream": false,
610
+ "bodyFields": [
611
+ {
612
+ "name": "text",
613
+ "required": true,
614
+ "kind": "string",
615
+ "placeholder": "<text>"
616
+ },
617
+ {
618
+ "name": "category",
619
+ "required": false,
620
+ "kind": "string",
621
+ "placeholder": "<category>"
622
+ },
623
+ {
624
+ "name": "persona",
625
+ "required": false,
626
+ "kind": "string",
627
+ "placeholder": "<persona>"
628
+ }
629
+ ],
630
+ "watchable": false,
631
+ "help": {
632
+ "command": "ora intents add-prompt <id> --file run.json",
633
+ "body": "{\n \"text\": \"<text>\"\n}"
634
+ }
635
+ },
636
+ {
637
+ "id": "intents.bulkAction",
638
+ "commandPath": [
639
+ "intents",
640
+ "bulk-action"
641
+ ],
642
+ "method": "post",
643
+ "pathTemplate": "/studio/v1/intents/bulk",
644
+ "summary": "Pause, resume, or delete a selection of intents",
645
+ "scope": "intents:write",
646
+ "product": "studio",
647
+ "pathParams": [],
648
+ "queryParams": [],
649
+ "hasBody": true,
650
+ "bodyRequired": true,
651
+ "isStream": false,
652
+ "bodyFields": [
653
+ {
654
+ "name": "action",
655
+ "required": true,
656
+ "kind": "string",
657
+ "enum": [
658
+ "pause",
659
+ "resume",
660
+ "delete"
661
+ ],
662
+ "placeholder": "pause"
663
+ },
664
+ {
665
+ "name": "ids",
666
+ "required": true,
667
+ "kind": "array",
668
+ "placeholder": "[]"
669
+ }
670
+ ],
671
+ "watchable": false,
672
+ "help": {
673
+ "command": "ora intents bulk-action --file run.json",
674
+ "body": "{\n \"action\": \"pause\",\n \"ids\": []\n}"
675
+ }
676
+ },
677
+ {
678
+ "id": "intents.bulkCreate",
679
+ "commandPath": [
680
+ "intents",
681
+ "bulk-create"
682
+ ],
683
+ "method": "post",
684
+ "pathTemplate": "/studio/v1/intents/bulk-create",
685
+ "summary": "Bulk-create intents with their prompts (CSV import / create-modal commit)",
686
+ "scope": "intents:write",
687
+ "product": "studio",
688
+ "pathParams": [],
689
+ "queryParams": [],
690
+ "hasBody": true,
691
+ "bodyRequired": true,
692
+ "isStream": false,
693
+ "bodyFields": [
694
+ {
695
+ "name": "source",
696
+ "required": false,
697
+ "kind": "string",
698
+ "enum": [
699
+ "csv",
700
+ "manual"
701
+ ],
702
+ "placeholder": "csv"
703
+ },
704
+ {
705
+ "name": "intents",
706
+ "required": true,
707
+ "kind": "array",
708
+ "placeholder": "[]"
709
+ },
710
+ {
711
+ "name": "domainId",
712
+ "required": false,
713
+ "kind": "string",
714
+ "placeholder": "<domainId>"
715
+ }
716
+ ],
717
+ "watchable": false,
718
+ "help": {
719
+ "command": "ora intents bulk-create --file run.json",
720
+ "body": "{\n \"intents\": []\n}"
721
+ }
722
+ },
723
+ {
724
+ "id": "intents.create",
725
+ "commandPath": [
726
+ "intents",
727
+ "create"
728
+ ],
729
+ "method": "post",
730
+ "pathTemplate": "/studio/v1/intents",
731
+ "summary": "Create an intent",
732
+ "scope": "intents:write",
733
+ "product": "studio",
734
+ "pathParams": [],
735
+ "queryParams": [],
736
+ "hasBody": true,
737
+ "bodyRequired": true,
738
+ "isStream": false,
739
+ "bodyFields": [
740
+ {
741
+ "name": "title",
742
+ "required": true,
743
+ "kind": "string",
744
+ "placeholder": "Best AEO platform for B2B SaaS"
745
+ },
746
+ {
747
+ "name": "layer",
748
+ "required": false,
749
+ "kind": "string",
750
+ "enum": [
751
+ "discovery",
752
+ "access",
753
+ "use"
754
+ ],
755
+ "placeholder": "discovery"
756
+ },
757
+ {
758
+ "name": "description",
759
+ "required": false,
760
+ "kind": "string",
761
+ "placeholder": "<description>"
762
+ },
763
+ {
764
+ "name": "domainId",
765
+ "required": false,
766
+ "kind": "string",
767
+ "placeholder": "<domainId>"
768
+ }
769
+ ],
770
+ "watchable": false,
771
+ "help": {
772
+ "command": "ora intents create --file run.json",
773
+ "body": "{\n \"title\": \"Best AEO platform for B2B SaaS\",\n \"layer\": \"discovery\"\n}"
774
+ }
775
+ },
776
+ {
777
+ "id": "intents.delete",
778
+ "commandPath": [
779
+ "intents",
780
+ "delete"
781
+ ],
782
+ "method": "delete",
783
+ "pathTemplate": "/studio/v1/intents/{id}",
784
+ "summary": "Soft-delete an intent and its prompts",
785
+ "scope": "intents:write",
786
+ "product": "studio",
787
+ "pathParams": [
788
+ {
789
+ "name": "id"
790
+ }
791
+ ],
792
+ "queryParams": [],
793
+ "hasBody": false,
794
+ "bodyRequired": false,
795
+ "isStream": false,
796
+ "watchable": false,
797
+ "help": {
798
+ "command": "ora intents delete <id>"
799
+ }
800
+ },
801
+ {
802
+ "id": "intents.deletePrompt",
803
+ "commandPath": [
804
+ "intents",
805
+ "delete-prompt"
806
+ ],
807
+ "method": "delete",
808
+ "pathTemplate": "/studio/v1/intents/{id}/prompts/{promptId}",
809
+ "summary": "Soft-delete a prompt",
810
+ "scope": "intents:write",
811
+ "product": "studio",
812
+ "pathParams": [
813
+ {
814
+ "name": "id"
815
+ },
816
+ {
817
+ "name": "promptId"
818
+ }
819
+ ],
820
+ "queryParams": [],
821
+ "hasBody": false,
822
+ "bodyRequired": false,
823
+ "isStream": false,
824
+ "watchable": false,
825
+ "help": {
826
+ "command": "ora intents delete-prompt <id> <promptId>"
827
+ }
828
+ },
829
+ {
830
+ "id": "intents.generate",
831
+ "commandPath": [
832
+ "intents",
833
+ "generate"
834
+ ],
835
+ "method": "post",
836
+ "pathTemplate": "/studio/v1/intents/{id}/generate",
837
+ "summary": "Generate and persist prompts for an intent via its layer strategy",
838
+ "scope": "intents:write",
839
+ "product": "studio",
840
+ "pathParams": [
841
+ {
842
+ "name": "id"
843
+ }
844
+ ],
845
+ "queryParams": [],
846
+ "hasBody": false,
847
+ "bodyRequired": false,
848
+ "isStream": false,
849
+ "watchable": false,
850
+ "help": {
851
+ "command": "ora intents generate <id>"
852
+ }
853
+ },
854
+ {
855
+ "id": "intents.get",
856
+ "commandPath": [
857
+ "intents",
858
+ "get"
859
+ ],
860
+ "method": "get",
861
+ "pathTemplate": "/studio/v1/intents/{id}",
862
+ "summary": "Read one intent, its prompts, and its computed metrics",
863
+ "scope": "intents:read",
864
+ "product": "studio",
865
+ "pathParams": [
866
+ {
867
+ "name": "id"
868
+ }
869
+ ],
870
+ "queryParams": [],
871
+ "hasBody": false,
872
+ "bodyRequired": false,
873
+ "isStream": false,
874
+ "watchable": false,
875
+ "help": {
876
+ "command": "ora intents get <id>"
877
+ }
878
+ },
879
+ {
880
+ "id": "intents.list",
881
+ "commandPath": [
882
+ "intents",
883
+ "list"
884
+ ],
885
+ "method": "get",
886
+ "pathTemplate": "/studio/v1/intents",
887
+ "summary": "List the org's intents",
888
+ "scope": "intents:read",
889
+ "product": "studio",
890
+ "pathParams": [],
891
+ "queryParams": [],
892
+ "hasBody": false,
893
+ "bodyRequired": false,
894
+ "isStream": false,
895
+ "watchable": false,
896
+ "help": {
897
+ "command": "ora intents list"
898
+ }
899
+ },
900
+ {
901
+ "id": "intents.measurementsPause",
902
+ "commandPath": [
903
+ "intents",
904
+ "measurements-pause"
905
+ ],
906
+ "method": "post",
907
+ "pathTemplate": "/studio/v1/intents/{id}/measurements/pause",
908
+ "summary": "Pause measurement triggers for one intent's prompts",
909
+ "scope": "intents:write",
910
+ "product": "studio",
911
+ "pathParams": [
912
+ {
913
+ "name": "id"
914
+ }
915
+ ],
916
+ "queryParams": [],
917
+ "hasBody": false,
918
+ "bodyRequired": false,
919
+ "isStream": false,
920
+ "watchable": false,
921
+ "help": {
922
+ "command": "ora intents measurements-pause <id>"
923
+ }
924
+ },
925
+ {
926
+ "id": "intents.measurementsPauseAll",
927
+ "commandPath": [
928
+ "intents",
929
+ "measurements-pause-all"
930
+ ],
931
+ "method": "post",
932
+ "pathTemplate": "/studio/v1/intents/measurements/pause-all",
933
+ "summary": "Pause every measurement trigger in the org",
934
+ "scope": "intents:write",
935
+ "product": "studio",
936
+ "pathParams": [],
937
+ "queryParams": [],
938
+ "hasBody": false,
939
+ "bodyRequired": false,
940
+ "isStream": false,
941
+ "watchable": false,
942
+ "help": {
943
+ "command": "ora intents measurements-pause-all"
944
+ }
945
+ },
946
+ {
947
+ "id": "intents.measurementsResume",
948
+ "commandPath": [
949
+ "intents",
950
+ "measurements-resume"
951
+ ],
952
+ "method": "post",
953
+ "pathTemplate": "/studio/v1/intents/{id}/measurements/resume",
954
+ "summary": "Resume measurement triggers for one intent's prompts",
955
+ "scope": "intents:write",
956
+ "product": "studio",
957
+ "pathParams": [
958
+ {
959
+ "name": "id"
960
+ }
961
+ ],
962
+ "queryParams": [],
963
+ "hasBody": false,
964
+ "bodyRequired": false,
965
+ "isStream": false,
966
+ "watchable": false,
967
+ "help": {
968
+ "command": "ora intents measurements-resume <id>"
969
+ }
970
+ },
971
+ {
972
+ "id": "intents.measurementsResumeAll",
973
+ "commandPath": [
974
+ "intents",
975
+ "measurements-resume-all"
976
+ ],
977
+ "method": "post",
978
+ "pathTemplate": "/studio/v1/intents/measurements/resume-all",
979
+ "summary": "Resume every measurement trigger in the org",
980
+ "scope": "intents:write",
981
+ "product": "studio",
982
+ "pathParams": [],
983
+ "queryParams": [],
984
+ "hasBody": false,
985
+ "bodyRequired": false,
986
+ "isStream": false,
987
+ "watchable": false,
988
+ "help": {
989
+ "command": "ora intents measurements-resume-all"
990
+ }
991
+ },
992
+ {
993
+ "id": "intents.measurementsStatus",
994
+ "commandPath": [
995
+ "intents",
996
+ "measurements-status"
997
+ ],
998
+ "method": "get",
999
+ "pathTemplate": "/studio/v1/intents/measurements/status",
1000
+ "summary": "Org-wide measurement-trigger census (active/paused/error)",
1001
+ "scope": "intents:read",
1002
+ "product": "studio",
1003
+ "pathParams": [],
1004
+ "queryParams": [],
1005
+ "hasBody": false,
1006
+ "bodyRequired": false,
1007
+ "isStream": false,
1008
+ "watchable": false,
1009
+ "help": {
1010
+ "command": "ora intents measurements-status"
1011
+ }
1012
+ },
1013
+ {
1014
+ "id": "intents.measurementsStatusById",
1015
+ "commandPath": [
1016
+ "intents",
1017
+ "measurements-status-by-id"
1018
+ ],
1019
+ "method": "get",
1020
+ "pathTemplate": "/studio/v1/intents/{id}/measurements/status",
1021
+ "summary": "Per-intent measurement-trigger census (active/paused/error)",
1022
+ "scope": "intents:read",
1023
+ "product": "studio",
1024
+ "pathParams": [
1025
+ {
1026
+ "name": "id"
1027
+ }
1028
+ ],
1029
+ "queryParams": [],
1030
+ "hasBody": false,
1031
+ "bodyRequired": false,
1032
+ "isStream": false,
1033
+ "watchable": false,
1034
+ "help": {
1035
+ "command": "ora intents measurements-status-by-id <id>"
1036
+ }
1037
+ },
1038
+ {
1039
+ "id": "intents.update",
1040
+ "commandPath": [
1041
+ "intents",
1042
+ "update"
1043
+ ],
1044
+ "method": "patch",
1045
+ "pathTemplate": "/studio/v1/intents/{id}",
1046
+ "summary": "Update an intent's title, layer, or description",
1047
+ "scope": "intents:write",
1048
+ "product": "studio",
1049
+ "pathParams": [
1050
+ {
1051
+ "name": "id"
1052
+ }
1053
+ ],
1054
+ "queryParams": [],
1055
+ "hasBody": true,
1056
+ "bodyRequired": true,
1057
+ "isStream": false,
1058
+ "bodyFields": [
1059
+ {
1060
+ "name": "title",
1061
+ "required": false,
1062
+ "kind": "string",
1063
+ "placeholder": "<title>"
1064
+ },
1065
+ {
1066
+ "name": "layer",
1067
+ "required": false,
1068
+ "kind": "string",
1069
+ "enum": [
1070
+ "discovery",
1071
+ "access",
1072
+ "use"
1073
+ ],
1074
+ "placeholder": "discovery"
1075
+ },
1076
+ {
1077
+ "name": "description",
1078
+ "required": false,
1079
+ "kind": "string",
1080
+ "placeholder": "<description>"
1081
+ }
1082
+ ],
1083
+ "watchable": false,
1084
+ "help": {
1085
+ "command": "ora intents update <id> --file run.json",
1086
+ "body": "{\n \"title\": \"<title>\",\n \"layer\": \"discovery\",\n \"description\": \"<description>\"\n}"
1087
+ }
1088
+ },
1089
+ {
1090
+ "id": "intents.updatePrompt",
1091
+ "commandPath": [
1092
+ "intents",
1093
+ "update-prompt"
1094
+ ],
1095
+ "method": "patch",
1096
+ "pathTemplate": "/studio/v1/intents/{id}/prompts/{promptId}",
1097
+ "summary": "Edit a prompt's text or category",
1098
+ "scope": "intents:write",
1099
+ "product": "studio",
1100
+ "pathParams": [
1101
+ {
1102
+ "name": "id"
1103
+ },
1104
+ {
1105
+ "name": "promptId"
1106
+ }
1107
+ ],
1108
+ "queryParams": [],
1109
+ "hasBody": true,
1110
+ "bodyRequired": true,
1111
+ "isStream": false,
1112
+ "bodyFields": [
1113
+ {
1114
+ "name": "text",
1115
+ "required": false,
1116
+ "kind": "string",
1117
+ "placeholder": "<text>"
1118
+ },
1119
+ {
1120
+ "name": "category",
1121
+ "required": false,
1122
+ "kind": "string",
1123
+ "placeholder": "<category>"
1124
+ }
1125
+ ],
1126
+ "watchable": false,
1127
+ "help": {
1128
+ "command": "ora intents update-prompt <id> <promptId> --file run.json",
1129
+ "body": "{\n \"text\": \"<text>\",\n \"category\": \"<category>\"\n}"
1130
+ }
1131
+ },
1132
+ {
1133
+ "id": "journeys.create",
1134
+ "commandPath": [
1135
+ "journeys",
1136
+ "create"
1137
+ ],
1138
+ "method": "post",
1139
+ "pathTemplate": "/studio/v1/journeys",
1140
+ "summary": "Launch a journey: fan a goal out across N agents",
1141
+ "scope": "journeys:write",
1142
+ "product": "studio",
1143
+ "pathParams": [],
1144
+ "queryParams": [],
1145
+ "hasBody": true,
1146
+ "bodyRequired": true,
1147
+ "isStream": false,
1148
+ "bodyFields": [
1149
+ {
1150
+ "name": "goal",
1151
+ "required": true,
1152
+ "kind": "string",
1153
+ "placeholder": "<goal>"
1154
+ },
1155
+ {
1156
+ "name": "agents",
1157
+ "required": true,
1158
+ "kind": "array",
1159
+ "placeholder": "[]"
1160
+ },
1161
+ {
1162
+ "name": "intentId",
1163
+ "required": false,
1164
+ "kind": "string",
1165
+ "placeholder": "<intentId>"
1166
+ },
1167
+ {
1168
+ "name": "targetDomain",
1169
+ "required": false,
1170
+ "kind": "string",
1171
+ "placeholder": "<targetDomain>"
1172
+ },
1173
+ {
1174
+ "name": "compareDomains",
1175
+ "required": false,
1176
+ "kind": "array",
1177
+ "placeholder": "[]"
1178
+ },
1179
+ {
1180
+ "name": "competitors",
1181
+ "required": false,
1182
+ "kind": "array",
1183
+ "placeholder": "[]"
1184
+ },
1185
+ {
1186
+ "name": "schedule",
1187
+ "required": false,
1188
+ "kind": "string",
1189
+ "placeholder": "<schedule>"
1190
+ }
1191
+ ],
1192
+ "watchable": false,
1193
+ "help": {
1194
+ "command": "ora journeys create --file run.json",
1195
+ "body": "{\n \"goal\": \"<goal>\",\n \"agents\": []\n}"
1196
+ }
1197
+ },
1198
+ {
1199
+ "id": "journeys.get",
1200
+ "commandPath": [
1201
+ "journeys",
1202
+ "get"
1203
+ ],
1204
+ "method": "get",
1205
+ "pathTemplate": "/studio/v1/journeys/{id}",
1206
+ "summary": "Read one journey and its per-agent runs",
1207
+ "scope": "journeys:read",
1208
+ "product": "studio",
1209
+ "pathParams": [
1210
+ {
1211
+ "name": "id"
1212
+ }
1213
+ ],
1214
+ "queryParams": [],
1215
+ "hasBody": false,
1216
+ "bodyRequired": false,
1217
+ "isStream": false,
1218
+ "watchable": false,
1219
+ "help": {
1220
+ "command": "ora journeys get <id>"
1221
+ }
1222
+ },
1223
+ {
1224
+ "id": "journeys.list",
1225
+ "commandPath": [
1226
+ "journeys",
1227
+ "list"
1228
+ ],
1229
+ "method": "get",
1230
+ "pathTemplate": "/studio/v1/journeys",
1231
+ "summary": "List the org's journeys (keyset-paginated)",
1232
+ "scope": "journeys:read",
1233
+ "product": "studio",
1234
+ "pathParams": [],
1235
+ "queryParams": [
1236
+ {
1237
+ "name": "pageSize",
1238
+ "flag": "page-size",
1239
+ "optionKey": "pageSize",
1240
+ "required": false,
1241
+ "kind": "number"
1242
+ },
1243
+ {
1244
+ "name": "pageToken",
1245
+ "flag": "page-token",
1246
+ "optionKey": "pageToken",
1247
+ "required": false,
1248
+ "kind": "string"
1249
+ }
1250
+ ],
1251
+ "hasBody": false,
1252
+ "bodyRequired": false,
1253
+ "isStream": false,
1254
+ "watchable": false,
1255
+ "help": {
1256
+ "command": "ora journeys list"
1257
+ }
1258
+ },
1259
+ {
1260
+ "id": "sessions.catalog",
1261
+ "commandPath": [
1262
+ "sessions",
1263
+ "catalog"
1264
+ ],
1265
+ "method": "get",
1266
+ "pathTemplate": "/experiment/v1/sessions/catalog",
1267
+ "summary": "The offered dedicated-harness catalog",
1268
+ "scope": "sessions:read",
1269
+ "product": "experiment",
1270
+ "pathParams": [],
1271
+ "queryParams": [],
1272
+ "hasBody": false,
1273
+ "bodyRequired": false,
1274
+ "isStream": false,
1275
+ "watchable": false,
1276
+ "help": {
1277
+ "command": "ora sessions catalog"
1278
+ }
1279
+ },
1280
+ {
1281
+ "id": "sessions.create",
1282
+ "commandPath": [
1283
+ "sessions",
1284
+ "create"
1285
+ ],
1286
+ "method": "post",
1287
+ "pathTemplate": "/experiment/v1/sessions",
1288
+ "summary": "Create a dedicated session",
1289
+ "scope": "sessions:write",
1290
+ "product": "experiment",
1291
+ "pathParams": [],
1292
+ "queryParams": [],
1293
+ "hasBody": true,
1294
+ "bodyRequired": true,
1295
+ "isStream": false,
1296
+ "bodyFields": [
1297
+ {
1298
+ "name": "displayName",
1299
+ "required": true,
1300
+ "kind": "string",
1301
+ "placeholder": "<displayName>"
1302
+ },
1303
+ {
1304
+ "name": "harness",
1305
+ "required": true,
1306
+ "kind": "string",
1307
+ "placeholder": "<harness>"
1308
+ },
1309
+ {
1310
+ "name": "addons",
1311
+ "required": false,
1312
+ "kind": "object",
1313
+ "placeholder": "{}"
1314
+ }
1315
+ ],
1316
+ "watchable": false,
1317
+ "help": {
1318
+ "command": "ora sessions create --file run.json",
1319
+ "body": "{\n \"displayName\": \"<displayName>\",\n \"harness\": \"<harness>\"\n}"
1320
+ }
1321
+ },
1322
+ {
1323
+ "id": "sessions.delete",
1324
+ "commandPath": [
1325
+ "sessions",
1326
+ "delete"
1327
+ ],
1328
+ "method": "delete",
1329
+ "pathTemplate": "/experiment/v1/sessions/{id}",
1330
+ "summary": "Delete a dedicated session (async teardown)",
1331
+ "scope": "sessions:write",
1332
+ "product": "experiment",
1333
+ "pathParams": [
1334
+ {
1335
+ "name": "id"
1336
+ }
1337
+ ],
1338
+ "queryParams": [],
1339
+ "hasBody": false,
1340
+ "bodyRequired": false,
1341
+ "isStream": false,
1342
+ "watchable": false,
1343
+ "help": {
1344
+ "command": "ora sessions delete <id>"
1345
+ }
1346
+ },
1347
+ {
1348
+ "id": "sessions.hibernate",
1349
+ "commandPath": [
1350
+ "sessions",
1351
+ "hibernate"
1352
+ ],
1353
+ "method": "post",
1354
+ "pathTemplate": "/experiment/v1/sessions/{id}/hibernate",
1355
+ "summary": "Hibernate a ready dedicated session",
1356
+ "scope": "sessions:write",
1357
+ "product": "experiment",
1358
+ "pathParams": [
1359
+ {
1360
+ "name": "id"
1361
+ }
1362
+ ],
1363
+ "queryParams": [],
1364
+ "hasBody": false,
1365
+ "bodyRequired": false,
1366
+ "isStream": false,
1367
+ "watchable": false,
1368
+ "help": {
1369
+ "command": "ora sessions hibernate <id>"
1370
+ }
1371
+ },
1372
+ {
1373
+ "id": "sessions.list",
1374
+ "commandPath": [
1375
+ "sessions",
1376
+ "list"
1377
+ ],
1378
+ "method": "get",
1379
+ "pathTemplate": "/experiment/v1/sessions",
1380
+ "summary": "List the caller's dedicated sessions",
1381
+ "scope": "sessions:read",
1382
+ "product": "experiment",
1383
+ "pathParams": [],
1384
+ "queryParams": [],
1385
+ "hasBody": false,
1386
+ "bodyRequired": false,
1387
+ "isStream": false,
1388
+ "watchable": false,
1389
+ "help": {
1390
+ "command": "ora sessions list"
1391
+ }
1392
+ },
1393
+ {
1394
+ "id": "sessions.stream",
1395
+ "commandPath": [
1396
+ "sessions",
1397
+ "stream"
1398
+ ],
1399
+ "method": "get",
1400
+ "pathTemplate": "/experiment/v1/sessions/stream",
1401
+ "summary": "Org-scoped live feed of session status patches (SSE)",
1402
+ "scope": "sessions:read",
1403
+ "product": "experiment",
1404
+ "pathParams": [],
1405
+ "queryParams": [],
1406
+ "hasBody": false,
1407
+ "bodyRequired": false,
1408
+ "isStream": true,
1409
+ "watchable": false,
1410
+ "help": {
1411
+ "command": "ora sessions stream"
1412
+ }
1413
+ },
1414
+ {
1415
+ "id": "sessions.wake",
1416
+ "commandPath": [
1417
+ "sessions",
1418
+ "wake"
1419
+ ],
1420
+ "method": "post",
1421
+ "pathTemplate": "/experiment/v1/sessions/{id}/wake",
1422
+ "summary": "Wake a hibernated dedicated session",
1423
+ "scope": "sessions:write",
1424
+ "product": "experiment",
1425
+ "pathParams": [
1426
+ {
1427
+ "name": "id"
1428
+ }
1429
+ ],
1430
+ "queryParams": [],
1431
+ "hasBody": false,
1432
+ "bodyRequired": false,
1433
+ "isStream": false,
1434
+ "watchable": false,
1435
+ "help": {
1436
+ "command": "ora sessions wake <id>"
1437
+ }
1438
+ },
1439
+ {
1440
+ "id": "skills.create",
1441
+ "commandPath": [
1442
+ "skills",
1443
+ "create"
1444
+ ],
1445
+ "method": "post",
1446
+ "pathTemplate": "/experiment/v1/skills",
1447
+ "summary": "Create a skill (custom or git-imported)",
1448
+ "scope": "skills:write",
1449
+ "product": "experiment",
1450
+ "pathParams": [],
1451
+ "queryParams": [],
1452
+ "hasBody": true,
1453
+ "bodyRequired": true,
1454
+ "isStream": false,
1455
+ "bodyFields": [
1456
+ {
1457
+ "name": "source",
1458
+ "required": true,
1459
+ "kind": "string",
1460
+ "placeholder": "custom"
1461
+ },
1462
+ {
1463
+ "name": "name",
1464
+ "required": true,
1465
+ "kind": "string",
1466
+ "placeholder": "<name>"
1467
+ },
1468
+ {
1469
+ "name": "body",
1470
+ "required": true,
1471
+ "kind": "string",
1472
+ "placeholder": "<body>"
1473
+ },
1474
+ {
1475
+ "name": "visibility",
1476
+ "required": false,
1477
+ "kind": "string",
1478
+ "enum": [
1479
+ "user",
1480
+ "org"
1481
+ ],
1482
+ "placeholder": "user"
1483
+ }
1484
+ ],
1485
+ "watchable": false,
1486
+ "help": {
1487
+ "command": "ora skills create --file run.json",
1488
+ "body": "{\n \"source\": \"custom\",\n \"name\": \"<name>\",\n \"body\": \"<body>\"\n}"
1489
+ }
1490
+ },
1491
+ {
1492
+ "id": "skills.delete",
1493
+ "commandPath": [
1494
+ "skills",
1495
+ "delete"
1496
+ ],
1497
+ "method": "delete",
1498
+ "pathTemplate": "/experiment/v1/skills/{id}",
1499
+ "summary": "Delete a skill",
1500
+ "scope": "skills:write",
1501
+ "product": "experiment",
1502
+ "pathParams": [
1503
+ {
1504
+ "name": "id"
1505
+ }
1506
+ ],
1507
+ "queryParams": [],
1508
+ "hasBody": false,
1509
+ "bodyRequired": false,
1510
+ "isStream": false,
1511
+ "watchable": false,
1512
+ "help": {
1513
+ "command": "ora skills delete <id>"
1514
+ }
1515
+ },
1516
+ {
1517
+ "id": "skills.list",
1518
+ "commandPath": [
1519
+ "skills",
1520
+ "list"
1521
+ ],
1522
+ "method": "get",
1523
+ "pathTemplate": "/experiment/v1/skills",
1524
+ "summary": "List the caller's usable skills catalog",
1525
+ "scope": "skills:read",
1526
+ "product": "experiment",
1527
+ "pathParams": [],
1528
+ "queryParams": [],
1529
+ "hasBody": false,
1530
+ "bodyRequired": false,
1531
+ "isStream": false,
1532
+ "watchable": false,
1533
+ "help": {
1534
+ "command": "ora skills list"
1535
+ }
1536
+ },
1537
+ {
1538
+ "id": "skills.update",
1539
+ "commandPath": [
1540
+ "skills",
1541
+ "update"
1542
+ ],
1543
+ "method": "put",
1544
+ "pathTemplate": "/experiment/v1/skills/{id}",
1545
+ "summary": "Update a skill",
1546
+ "scope": "skills:write",
1547
+ "product": "experiment",
1548
+ "pathParams": [
1549
+ {
1550
+ "name": "id"
1551
+ }
1552
+ ],
1553
+ "queryParams": [],
1554
+ "hasBody": true,
1555
+ "bodyRequired": true,
1556
+ "isStream": false,
1557
+ "bodyFields": [
1558
+ {
1559
+ "name": "name",
1560
+ "required": false,
1561
+ "kind": "string",
1562
+ "placeholder": "<name>"
1563
+ },
1564
+ {
1565
+ "name": "visibility",
1566
+ "required": false,
1567
+ "kind": "string",
1568
+ "enum": [
1569
+ "user",
1570
+ "org"
1571
+ ],
1572
+ "placeholder": "user"
1573
+ },
1574
+ {
1575
+ "name": "body",
1576
+ "required": false,
1577
+ "kind": "string",
1578
+ "placeholder": "<body>"
1579
+ },
1580
+ {
1581
+ "name": "repoUrl",
1582
+ "required": false,
1583
+ "kind": "string",
1584
+ "placeholder": "<repoUrl>"
1585
+ },
1586
+ {
1587
+ "name": "gitRef",
1588
+ "required": false,
1589
+ "kind": "string",
1590
+ "placeholder": "<gitRef>"
1591
+ },
1592
+ {
1593
+ "name": "subpath",
1594
+ "required": false,
1595
+ "kind": "string",
1596
+ "placeholder": "<subpath>"
1597
+ }
1598
+ ],
1599
+ "watchable": false,
1600
+ "help": {
1601
+ "command": "ora skills update <id> --file run.json",
1602
+ "body": "{\n \"name\": \"<name>\",\n \"visibility\": \"user\",\n \"body\": \"<body>\"\n}"
1603
+ }
1604
+ },
1605
+ {
1606
+ "id": "studio.runs.create",
1607
+ "commandPath": [
1608
+ "studio",
1609
+ "runs",
1610
+ "create"
1611
+ ],
1612
+ "method": "post",
1613
+ "pathTemplate": "/studio/v1/runs",
1614
+ "summary": "Create a run",
1615
+ "scope": "runs:write",
1616
+ "product": "platform",
1617
+ "pathParams": [],
1618
+ "queryParams": [],
1619
+ "hasBody": true,
1620
+ "bodyRequired": true,
1621
+ "isStream": false,
1622
+ "bodyFields": [
1623
+ {
1624
+ "name": "product_key",
1625
+ "required": false,
1626
+ "kind": "string",
1627
+ "placeholder": "<product_key>"
1628
+ },
1629
+ {
1630
+ "name": "intent",
1631
+ "required": true,
1632
+ "kind": "string",
1633
+ "placeholder": "check pricing for acme.com"
1634
+ },
1635
+ {
1636
+ "name": "domain",
1637
+ "required": false,
1638
+ "kind": "string",
1639
+ "placeholder": "<domain>"
1640
+ },
1641
+ {
1642
+ "name": "harness",
1643
+ "required": false,
1644
+ "kind": "string",
1645
+ "placeholder": "eve"
1646
+ },
1647
+ {
1648
+ "name": "model",
1649
+ "required": false,
1650
+ "kind": "string",
1651
+ "placeholder": "claude-sonnet-5"
1652
+ },
1653
+ {
1654
+ "name": "mode",
1655
+ "required": false,
1656
+ "kind": "string",
1657
+ "enum": [
1658
+ "task",
1659
+ "session"
1660
+ ],
1661
+ "placeholder": "task"
1662
+ },
1663
+ {
1664
+ "name": "addons",
1665
+ "required": false,
1666
+ "kind": "object",
1667
+ "placeholder": "{}"
1668
+ },
1669
+ {
1670
+ "name": "engine",
1671
+ "required": false,
1672
+ "kind": "string",
1673
+ "placeholder": "<engine>"
1674
+ },
1675
+ {
1676
+ "name": "execution_kind",
1677
+ "required": false,
1678
+ "kind": "string",
1679
+ "enum": [
1680
+ "harness",
1681
+ "direct"
1682
+ ],
1683
+ "placeholder": "harness"
1684
+ },
1685
+ {
1686
+ "name": "tools",
1687
+ "required": false,
1688
+ "kind": "string",
1689
+ "placeholder": "<tools>"
1690
+ },
1691
+ {
1692
+ "name": "wait",
1693
+ "required": false,
1694
+ "kind": "boolean",
1695
+ "placeholder": "true"
1696
+ }
1697
+ ],
1698
+ "watchable": true,
1699
+ "help": {
1700
+ "command": "ora studio runs create --file run.json --watch",
1701
+ "body": "{\n \"intent\": \"check pricing for acme.com\",\n \"harness\": \"eve\",\n \"model\": \"claude-sonnet-5\"\n}"
1702
+ }
1703
+ },
1704
+ {
1705
+ "id": "studio.runs.directSignals",
1706
+ "commandPath": [
1707
+ "studio",
1708
+ "runs",
1709
+ "direct-signals"
1710
+ ],
1711
+ "method": "get",
1712
+ "pathTemplate": "/studio/v1/runs/{id}/direct-signals",
1713
+ "summary": "Read a direct run's extracted DirectSignals artifact",
1714
+ "scope": "runs:read",
1715
+ "product": "platform",
1716
+ "pathParams": [
1717
+ {
1718
+ "name": "id"
1719
+ }
1720
+ ],
1721
+ "queryParams": [],
1722
+ "hasBody": false,
1723
+ "bodyRequired": false,
1724
+ "isStream": false,
1725
+ "watchable": false,
1726
+ "help": {
1727
+ "command": "ora studio runs direct-signals <id>"
1728
+ }
1729
+ },
1730
+ {
1731
+ "id": "studio.runs.feed",
1732
+ "commandPath": [
1733
+ "studio",
1734
+ "runs",
1735
+ "feed"
1736
+ ],
1737
+ "method": "get",
1738
+ "pathTemplate": "/studio/v1/runs/stream",
1739
+ "summary": "Org-scoped live feed of run status patches (SSE)",
1740
+ "scope": "runs:read",
1741
+ "product": "platform",
1742
+ "pathParams": [],
1743
+ "queryParams": [],
1744
+ "hasBody": false,
1745
+ "bodyRequired": false,
1746
+ "isStream": true,
1747
+ "watchable": false,
1748
+ "help": {
1749
+ "command": "ora studio runs feed"
1750
+ }
1751
+ },
1752
+ {
1753
+ "id": "studio.runs.insight",
1754
+ "commandPath": [
1755
+ "studio",
1756
+ "runs",
1757
+ "insight"
1758
+ ],
1759
+ "method": "get",
1760
+ "pathTemplate": "/studio/v1/runs/{id}/insight",
1761
+ "summary": "Read a run's stored insight artifact",
1762
+ "scope": "runs:read",
1763
+ "product": "platform",
1764
+ "pathParams": [
1765
+ {
1766
+ "name": "id"
1767
+ }
1768
+ ],
1769
+ "queryParams": [],
1770
+ "hasBody": false,
1771
+ "bodyRequired": false,
1772
+ "isStream": false,
1773
+ "watchable": false,
1774
+ "help": {
1775
+ "command": "ora studio runs insight <id>"
1776
+ }
1777
+ },
1778
+ {
1779
+ "id": "studio.runs.list",
1780
+ "commandPath": [
1781
+ "studio",
1782
+ "runs",
1783
+ "list"
1784
+ ],
1785
+ "method": "get",
1786
+ "pathTemplate": "/studio/v1/runs",
1787
+ "summary": "List runs",
1788
+ "scope": "runs:read",
1789
+ "product": "platform",
1790
+ "pathParams": [],
1791
+ "queryParams": [
1792
+ {
1793
+ "name": "pageSize",
1794
+ "flag": "page-size",
1795
+ "optionKey": "pageSize",
1796
+ "required": false,
1797
+ "kind": "number"
1798
+ },
1799
+ {
1800
+ "name": "pageToken",
1801
+ "flag": "page-token",
1802
+ "optionKey": "pageToken",
1803
+ "required": false,
1804
+ "kind": "string"
1805
+ }
1806
+ ],
1807
+ "hasBody": false,
1808
+ "bodyRequired": false,
1809
+ "isStream": false,
1810
+ "watchable": false,
1811
+ "help": {
1812
+ "command": "ora studio runs list"
1813
+ }
1814
+ },
1815
+ {
1816
+ "id": "studio.runs.rawTrace",
1817
+ "commandPath": [
1818
+ "studio",
1819
+ "runs",
1820
+ "raw-trace"
1821
+ ],
1822
+ "method": "get",
1823
+ "pathTemplate": "/studio/v1/runs/{id}/raw-trace",
1824
+ "summary": "Read a run's full raw frame stream (pre-truncation trace artifact)",
1825
+ "scope": "runs:read",
1826
+ "product": "platform",
1827
+ "pathParams": [
1828
+ {
1829
+ "name": "id"
1830
+ }
1831
+ ],
1832
+ "queryParams": [],
1833
+ "hasBody": false,
1834
+ "bodyRequired": false,
1835
+ "isStream": false,
1836
+ "watchable": false,
1837
+ "help": {
1838
+ "command": "ora studio runs raw-trace <id>"
1839
+ }
1840
+ },
1841
+ {
1842
+ "id": "studio.runs.stream",
1843
+ "commandPath": [
1844
+ "studio",
1845
+ "runs",
1846
+ "stream"
1847
+ ],
1848
+ "method": "get",
1849
+ "pathTemplate": "/studio/v1/runs/{id}/stream",
1850
+ "summary": "Stream a run's live trajectory (SSE)",
1851
+ "scope": "runs:read",
1852
+ "product": "platform",
1853
+ "pathParams": [
1854
+ {
1855
+ "name": "id"
1856
+ }
1857
+ ],
1858
+ "queryParams": [],
1859
+ "hasBody": false,
1860
+ "bodyRequired": false,
1861
+ "isStream": true,
1862
+ "watchable": false,
1863
+ "help": {
1864
+ "command": "ora studio runs stream <id>"
1865
+ }
1866
+ },
1867
+ {
1868
+ "id": "studio.runs.trajectory",
1869
+ "commandPath": [
1870
+ "studio",
1871
+ "runs",
1872
+ "trajectory"
1873
+ ],
1874
+ "method": "get",
1875
+ "pathTemplate": "/studio/v1/runs/{id}/trajectory",
1876
+ "summary": "Read a run's normalized trajectory snapshot",
1877
+ "scope": "runs:read",
1878
+ "product": "platform",
1879
+ "pathParams": [
1880
+ {
1881
+ "name": "id"
1882
+ }
1883
+ ],
1884
+ "queryParams": [
1885
+ {
1886
+ "name": "profile",
1887
+ "flag": "profile",
1888
+ "optionKey": "profile",
1889
+ "required": false,
1890
+ "kind": "string",
1891
+ "enum": [
1892
+ "raw",
1893
+ "heuristic",
1894
+ "full"
1895
+ ]
1896
+ }
1897
+ ],
1898
+ "hasBody": false,
1899
+ "bodyRequired": false,
1900
+ "isStream": false,
1901
+ "watchable": false,
1902
+ "help": {
1903
+ "command": "ora studio runs trajectory <id>"
1904
+ }
1905
+ },
1906
+ {
1907
+ "id": "tunnels.create",
1908
+ "commandPath": [
1909
+ "tunnels",
1910
+ "create"
1911
+ ],
1912
+ "method": "post",
1913
+ "pathTemplate": "/tunnels/v1",
1914
+ "summary": "Create a dev tunnel",
1915
+ "scope": "tunnels:write",
1916
+ "product": "platform",
1917
+ "pathParams": [],
1918
+ "queryParams": [],
1919
+ "hasBody": true,
1920
+ "bodyRequired": true,
1921
+ "isStream": false,
1922
+ "bodyFields": [
1923
+ {
1924
+ "name": "name",
1925
+ "required": true,
1926
+ "kind": "string",
1927
+ "placeholder": "<name>"
1928
+ },
1929
+ {
1930
+ "name": "productKey",
1931
+ "required": false,
1932
+ "kind": "string",
1933
+ "placeholder": "<productKey>"
1934
+ },
1935
+ {
1936
+ "name": "access",
1937
+ "required": true,
1938
+ "kind": "string",
1939
+ "enum": [
1940
+ "private",
1941
+ "protected",
1942
+ "public"
1943
+ ],
1944
+ "placeholder": "private"
1945
+ }
1946
+ ],
1947
+ "watchable": false,
1948
+ "help": {
1949
+ "command": "ora tunnels create --file run.json",
1950
+ "body": "{\n \"name\": \"<name>\",\n \"access\": \"private\"\n}"
1951
+ }
1952
+ },
1953
+ {
1954
+ "id": "tunnels.delete",
1955
+ "commandPath": [
1956
+ "tunnels",
1957
+ "delete"
1958
+ ],
1959
+ "method": "delete",
1960
+ "pathTemplate": "/tunnels/v1/{id}",
1961
+ "summary": "Delete a dev tunnel (revokes any live connection, removes the row)",
1962
+ "scope": "tunnels:write",
1963
+ "product": "platform",
1964
+ "pathParams": [
1965
+ {
1966
+ "name": "id"
1967
+ }
1968
+ ],
1969
+ "queryParams": [],
1970
+ "hasBody": false,
1971
+ "bodyRequired": false,
1972
+ "isStream": false,
1973
+ "watchable": false,
1974
+ "help": {
1975
+ "command": "ora tunnels delete <id>"
1976
+ }
1977
+ },
1978
+ {
1979
+ "id": "tunnels.get",
1980
+ "commandPath": [
1981
+ "tunnels",
1982
+ "get"
1983
+ ],
1984
+ "method": "get",
1985
+ "pathTemplate": "/tunnels/v1/{id}",
1986
+ "summary": "Get a dev tunnel",
1987
+ "scope": "tunnels:read",
1988
+ "product": "platform",
1989
+ "pathParams": [
1990
+ {
1991
+ "name": "id"
1992
+ }
1993
+ ],
1994
+ "queryParams": [],
1995
+ "hasBody": false,
1996
+ "bodyRequired": false,
1997
+ "isStream": false,
1998
+ "watchable": false,
1999
+ "help": {
2000
+ "command": "ora tunnels get <id>"
2001
+ }
2002
+ },
2003
+ {
2004
+ "id": "tunnels.list",
2005
+ "commandPath": [
2006
+ "tunnels",
2007
+ "list"
2008
+ ],
2009
+ "method": "get",
2010
+ "pathTemplate": "/tunnels/v1",
2011
+ "summary": "List dev tunnels",
2012
+ "scope": "tunnels:read",
2013
+ "product": "platform",
2014
+ "pathParams": [],
2015
+ "queryParams": [],
2016
+ "hasBody": false,
2017
+ "bodyRequired": false,
2018
+ "isStream": false,
2019
+ "watchable": false,
2020
+ "help": {
2021
+ "command": "ora tunnels list"
2022
+ }
2023
+ },
2024
+ {
2025
+ "id": "tunnels.revoke",
2026
+ "commandPath": [
2027
+ "tunnels",
2028
+ "revoke"
2029
+ ],
2030
+ "method": "post",
2031
+ "pathTemplate": "/tunnels/v1/{id}/revoke",
2032
+ "summary": "Revoke a dev tunnel (kill the connection, keep the row)",
2033
+ "scope": "tunnels:write",
2034
+ "product": "platform",
2035
+ "pathParams": [
2036
+ {
2037
+ "name": "id"
2038
+ }
2039
+ ],
2040
+ "queryParams": [],
2041
+ "hasBody": false,
2042
+ "bodyRequired": false,
2043
+ "isStream": false,
2044
+ "watchable": false,
2045
+ "help": {
2046
+ "command": "ora tunnels revoke <id>"
2047
+ }
2048
+ }
2049
+ ];
2050
+ //# sourceMappingURL=operations.js.map