@ora-ai/cli 0.12.0 → 0.13.1

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 (179) hide show
  1. package/README.md +61 -1
  2. package/dist/agent-skills/cli-version.d.ts +2 -0
  3. package/dist/agent-skills/cli-version.d.ts.map +1 -0
  4. package/dist/agent-skills/cli-version.js +14 -0
  5. package/dist/agent-skills/cli-version.js.map +1 -0
  6. package/dist/agent-skills/install-targets.d.ts +14 -0
  7. package/dist/agent-skills/install-targets.d.ts.map +1 -0
  8. package/dist/agent-skills/install-targets.js +20 -0
  9. package/dist/agent-skills/install-targets.js.map +1 -0
  10. package/dist/agent-skills/installer.d.ts +9 -0
  11. package/dist/agent-skills/installer.d.ts.map +1 -0
  12. package/dist/agent-skills/installer.js +15 -0
  13. package/dist/agent-skills/installer.js.map +1 -0
  14. package/dist/agent-skills/skills-command.d.ts +5 -0
  15. package/dist/agent-skills/skills-command.d.ts.map +1 -0
  16. package/dist/agent-skills/skills-command.js +39 -0
  17. package/dist/agent-skills/skills-command.js.map +1 -0
  18. package/dist/agent-skills/studio-skill-source.d.ts +22 -0
  19. package/dist/agent-skills/studio-skill-source.d.ts.map +1 -0
  20. package/dist/agent-skills/studio-skill-source.js +15 -0
  21. package/dist/agent-skills/studio-skill-source.js.map +1 -0
  22. package/dist/auth-commands.d.ts.map +1 -1
  23. package/dist/auth-commands.js +3 -2
  24. package/dist/auth-commands.js.map +1 -1
  25. package/dist/coalesced-read.d.ts +12 -0
  26. package/dist/coalesced-read.d.ts.map +1 -0
  27. package/dist/coalesced-read.js +34 -0
  28. package/dist/coalesced-read.js.map +1 -0
  29. package/dist/core/error-envelope.d.ts +40 -0
  30. package/dist/core/error-envelope.d.ts.map +1 -0
  31. package/dist/core/error-envelope.js +69 -0
  32. package/dist/core/error-envelope.js.map +1 -0
  33. package/dist/core/http.d.ts +9 -2
  34. package/dist/core/http.d.ts.map +1 -1
  35. package/dist/core/http.js +19 -10
  36. package/dist/core/http.js.map +1 -1
  37. package/dist/core/output.d.ts +1 -0
  38. package/dist/core/output.d.ts.map +1 -1
  39. package/dist/core/output.js +27 -3
  40. package/dist/core/output.js.map +1 -1
  41. package/dist/core/run-operation.d.ts +4 -3
  42. package/dist/core/run-operation.d.ts.map +1 -1
  43. package/dist/core/run-operation.js +13 -10
  44. package/dist/core/run-operation.js.map +1 -1
  45. package/dist/generated/operations.d.ts +1 -1
  46. package/dist/generated/operations.d.ts.map +1 -1
  47. package/dist/generated/operations.js +633 -7
  48. package/dist/generated/operations.js.map +1 -1
  49. package/dist/generated/types.d.ts +755 -11
  50. package/dist/generated/types.d.ts.map +1 -1
  51. package/dist/generated/types.js +1 -1
  52. package/dist/measurement-watch.d.ts +3 -0
  53. package/dist/measurement-watch.d.ts.map +1 -0
  54. package/dist/measurement-watch.js +106 -0
  55. package/dist/measurement-watch.js.map +1 -0
  56. package/dist/program.d.ts.map +1 -1
  57. package/dist/program.js +6 -1
  58. package/dist/program.js.map +1 -1
  59. package/dist/render/analytics/analytics-view.d.ts +3 -0
  60. package/dist/render/analytics/analytics-view.d.ts.map +1 -0
  61. package/dist/render/analytics/analytics-view.js +69 -0
  62. package/dist/render/analytics/analytics-view.js.map +1 -0
  63. package/dist/render/analytics/history-view.d.ts +3 -0
  64. package/dist/render/analytics/history-view.d.ts.map +1 -0
  65. package/dist/render/analytics/history-view.js +25 -0
  66. package/dist/render/analytics/history-view.js.map +1 -0
  67. package/dist/render/analytics/recent-view.d.ts +3 -0
  68. package/dist/render/analytics/recent-view.d.ts.map +1 -0
  69. package/dist/render/analytics/recent-view.js +22 -0
  70. package/dist/render/analytics/recent-view.js.map +1 -0
  71. package/dist/render/analytics/renderers.d.ts +4 -0
  72. package/dist/render/analytics/renderers.d.ts.map +1 -0
  73. package/dist/render/analytics/renderers.js +23 -0
  74. package/dist/render/analytics/renderers.js.map +1 -0
  75. package/dist/render/analytics/types.d.ts +73 -0
  76. package/dist/render/analytics/types.d.ts.map +1 -0
  77. package/dist/render/analytics/types.js +2 -0
  78. package/dist/render/analytics/types.js.map +1 -0
  79. package/dist/render/ansi.d.ts +1 -0
  80. package/dist/render/ansi.d.ts.map +1 -1
  81. package/dist/render/ansi.js +38 -0
  82. package/dist/render/ansi.js.map +1 -1
  83. package/dist/render/goal-report-criteria.d.ts +39 -0
  84. package/dist/render/goal-report-criteria.d.ts.map +1 -0
  85. package/dist/render/goal-report-criteria.js +74 -0
  86. package/dist/render/goal-report-criteria.js.map +1 -0
  87. package/dist/render/goal-report-grid.d.ts +24 -0
  88. package/dist/render/goal-report-grid.d.ts.map +1 -0
  89. package/dist/render/goal-report-grid.js +52 -0
  90. package/dist/render/goal-report-grid.js.map +1 -0
  91. package/dist/render/goal-report.d.ts +3 -0
  92. package/dist/render/goal-report.d.ts.map +1 -0
  93. package/dist/render/goal-report.js +69 -0
  94. package/dist/render/goal-report.js.map +1 -0
  95. package/dist/render/index.js +10 -0
  96. package/dist/render/index.js.map +1 -1
  97. package/dist/render/insight-lines.d.ts.map +1 -1
  98. package/dist/render/insight-lines.js +7 -8
  99. package/dist/render/insight-lines.js.map +1 -1
  100. package/dist/render/insight.d.ts +1 -1
  101. package/dist/render/insight.d.ts.map +1 -1
  102. package/dist/render/insight.js +4 -2
  103. package/dist/render/insight.js.map +1 -1
  104. package/dist/render/insights/answers-view.d.ts +6 -0
  105. package/dist/render/insights/answers-view.d.ts.map +1 -0
  106. package/dist/render/insights/answers-view.js +29 -0
  107. package/dist/render/insights/answers-view.js.map +1 -0
  108. package/dist/render/insights/change-view.d.ts +3 -0
  109. package/dist/render/insights/change-view.d.ts.map +1 -0
  110. package/dist/render/insights/change-view.js +52 -0
  111. package/dist/render/insights/change-view.js.map +1 -0
  112. package/dist/render/insights/issues-view.d.ts +3 -0
  113. package/dist/render/insights/issues-view.d.ts.map +1 -0
  114. package/dist/render/insights/issues-view.js +31 -0
  115. package/dist/render/insights/issues-view.js.map +1 -0
  116. package/dist/render/insights/renderer.d.ts +3 -0
  117. package/dist/render/insights/renderer.d.ts.map +1 -0
  118. package/dist/render/insights/renderer.js +40 -0
  119. package/dist/render/insights/renderer.js.map +1 -0
  120. package/dist/render/insights/text.d.ts +3 -0
  121. package/dist/render/insights/text.d.ts.map +1 -0
  122. package/dist/render/insights/text.js +6 -0
  123. package/dist/render/insights/text.js.map +1 -0
  124. package/dist/render/insights/tools-view.d.ts +4 -0
  125. package/dist/render/insights/tools-view.d.ts.map +1 -0
  126. package/dist/render/insights/tools-view.js +51 -0
  127. package/dist/render/insights/tools-view.js.map +1 -0
  128. package/dist/render/insights/types.d.ts +124 -0
  129. package/dist/render/insights/types.d.ts.map +1 -0
  130. package/dist/render/insights/types.js +2 -0
  131. package/dist/render/insights/types.js.map +1 -0
  132. package/dist/render/insights/usage-view.d.ts +3 -0
  133. package/dist/render/insights/usage-view.d.ts.map +1 -0
  134. package/dist/render/insights/usage-view.js +18 -0
  135. package/dist/render/insights/usage-view.js.map +1 -0
  136. package/dist/render/insights/words.d.ts +4 -0
  137. package/dist/render/insights/words.d.ts.map +1 -0
  138. package/dist/render/insights/words.js +24 -0
  139. package/dist/render/insights/words.js.map +1 -0
  140. package/dist/render/links.d.ts +3 -0
  141. package/dist/render/links.d.ts.map +1 -0
  142. package/dist/render/links.js +5 -0
  143. package/dist/render/links.js.map +1 -0
  144. package/dist/render/live-panel.d.ts +2 -0
  145. package/dist/render/live-panel.d.ts.map +1 -1
  146. package/dist/render/live-panel.js +8 -8
  147. package/dist/render/live-panel.js.map +1 -1
  148. package/dist/render/measurement/measure-launch-view.d.ts +20 -0
  149. package/dist/render/measurement/measure-launch-view.d.ts.map +1 -0
  150. package/dist/render/measurement/measure-launch-view.js +31 -0
  151. package/dist/render/measurement/measure-launch-view.js.map +1 -0
  152. package/dist/render/measurement/measure-status-view.d.ts +35 -0
  153. package/dist/render/measurement/measure-status-view.d.ts.map +1 -0
  154. package/dist/render/measurement/measure-status-view.js +105 -0
  155. package/dist/render/measurement/measure-status-view.js.map +1 -0
  156. package/dist/render/measurement/renderers.d.ts +4 -0
  157. package/dist/render/measurement/renderers.d.ts.map +1 -0
  158. package/dist/render/measurement/renderers.js +14 -0
  159. package/dist/render/measurement/renderers.js.map +1 -0
  160. package/dist/render/meter.d.ts +2 -0
  161. package/dist/render/meter.d.ts.map +1 -0
  162. package/dist/render/meter.js +6 -0
  163. package/dist/render/meter.js.map +1 -0
  164. package/dist/render/palette.d.ts +23 -0
  165. package/dist/render/palette.d.ts.map +1 -0
  166. package/dist/render/palette.js +24 -0
  167. package/dist/render/palette.js.map +1 -0
  168. package/dist/render/payload.d.ts +3 -0
  169. package/dist/render/payload.d.ts.map +1 -0
  170. package/dist/render/payload.js +8 -0
  171. package/dist/render/payload.js.map +1 -0
  172. package/dist/watch.d.ts.map +1 -1
  173. package/dist/watch.js +3 -1
  174. package/dist/watch.js.map +1 -1
  175. package/dist/watchers.d.ts +15 -0
  176. package/dist/watchers.d.ts.map +1 -0
  177. package/dist/watchers.js +8 -0
  178. package/dist/watchers.js.map +1 -0
  179. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  // GENERATED by scripts/generate.mjs — DO NOT EDIT.
2
- // Source: openapi/ora-public.openapi.json (sha256 3828287c3b61e3e50d14a269d6e4ad84ce3fcf8c50cfbd4ac6a98266261fa50e)
2
+ // Source: openapi/ora-public.openapi.json (sha256 9dad38738b7813e7e3ff8a1e2a2b8d342f84e26f546f0b814e593c7ff171dad4)
3
3
  // Regenerate: yarn nx run ora-cli:generate
4
4
  export const SPEC = {
5
5
  "version": "1.0.0",
6
- "contentHash": "3828287c3b61e3e50d14a269d6e4ad84ce3fcf8c50cfbd4ac6a98266261fa50e",
6
+ "contentHash": "9dad38738b7813e7e3ff8a1e2a2b8d342f84e26f546f0b814e593c7ff171dad4",
7
7
  "server": "https://api.agentfront.sh",
8
8
  "bin": "ora"
9
9
  };
@@ -72,7 +72,8 @@ export const OPERATIONS = [
72
72
  "kind": "string",
73
73
  "enum": [
74
74
  "run",
75
- "session"
75
+ "session",
76
+ "managed"
76
77
  ]
77
78
  }
78
79
  ],
@@ -482,6 +483,12 @@ export const OPERATIONS = [
482
483
  "required": false,
483
484
  "kind": "string",
484
485
  "placeholder": "<position>"
486
+ },
487
+ {
488
+ "name": "kit",
489
+ "required": false,
490
+ "kind": "object",
491
+ "placeholder": "{}"
485
492
  }
486
493
  ],
487
494
  "watchable": false,
@@ -490,6 +497,65 @@ export const OPERATIONS = [
490
497
  "body": "{\n \"handle\": \"<handle>\",\n \"harness\": \"<harness>\"\n}"
491
498
  }
492
499
  },
500
+ {
501
+ "id": "autopilot.members.applyKit",
502
+ "commandPath": [
503
+ "autopilot",
504
+ "members",
505
+ "apply-kit"
506
+ ],
507
+ "method": "post",
508
+ "pathTemplate": "/experiment/v1/autopilot/teams/{team}/members/{member}/kit/apply",
509
+ "summary": "Apply a member's kit and model on a fresh workspace (the disk is replaced; replaceDisk must be true); with kit, set it and apply it in one call",
510
+ "scope": "autopilot:write",
511
+ "product": "experiment",
512
+ "pathParams": [
513
+ {
514
+ "name": "team"
515
+ },
516
+ {
517
+ "name": "member"
518
+ }
519
+ ],
520
+ "queryParams": [],
521
+ "hasBody": true,
522
+ "bodyRequired": true,
523
+ "isStream": false,
524
+ "bodyFields": [
525
+ {
526
+ "name": "mode",
527
+ "required": true,
528
+ "kind": "string",
529
+ "enum": [
530
+ "fresh-workspace"
531
+ ],
532
+ "placeholder": "fresh-workspace"
533
+ },
534
+ {
535
+ "name": "replaceDisk",
536
+ "required": true,
537
+ "kind": "boolean",
538
+ "placeholder": "true"
539
+ },
540
+ {
541
+ "name": "kit",
542
+ "required": false,
543
+ "kind": "object",
544
+ "placeholder": "{}"
545
+ },
546
+ {
547
+ "name": "clientKey",
548
+ "required": false,
549
+ "kind": "string",
550
+ "placeholder": "<clientKey>"
551
+ }
552
+ ],
553
+ "watchable": false,
554
+ "help": {
555
+ "command": "ora autopilot members apply-kit <team> <member> --file run.json",
556
+ "body": "{\n \"mode\": \"fresh-workspace\",\n \"replaceDisk\": true\n}"
557
+ }
558
+ },
493
559
  {
494
560
  "id": "autopilot.members.list",
495
561
  "commandPath": [
@@ -591,7 +657,7 @@ export const OPERATIONS = [
591
657
  ],
592
658
  "method": "patch",
593
659
  "pathTemplate": "/experiment/v1/autopilot/teams/{team}/members/{member}",
594
- "summary": "Change a member's model or position (a position change is logged as member.position_assigned)",
660
+ "summary": "Change a member's model, position or kit (a position change is logged as member.position_assigned; a model or kit change is pending until a fresh workspace applies it)",
595
661
  "scope": "autopilot:write",
596
662
  "product": "experiment",
597
663
  "pathParams": [
@@ -618,12 +684,18 @@ export const OPERATIONS = [
618
684
  "required": false,
619
685
  "kind": "string",
620
686
  "placeholder": "<position>"
687
+ },
688
+ {
689
+ "name": "kit",
690
+ "required": false,
691
+ "kind": "object",
692
+ "placeholder": "{}"
621
693
  }
622
694
  ],
623
695
  "watchable": false,
624
696
  "help": {
625
697
  "command": "ora autopilot members update <team> <member> --file run.json",
626
- "body": "{\n \"model\": \"<model>\",\n \"position\": \"<position>\"\n}"
698
+ "body": "{\n \"model\": \"<model>\",\n \"position\": \"<position>\",\n \"kit\": {}\n}"
627
699
  }
628
700
  },
629
701
  {
@@ -1207,6 +1279,28 @@ export const OPERATIONS = [
1207
1279
  "command": "ora autopilot presets list"
1208
1280
  }
1209
1281
  },
1282
+ {
1283
+ "id": "autopilot.secrets.holders",
1284
+ "commandPath": [
1285
+ "autopilot",
1286
+ "secrets",
1287
+ "holders"
1288
+ ],
1289
+ "method": "get",
1290
+ "pathTemplate": "/experiment/v1/autopilot/secret-holders",
1291
+ "summary": "The teams whose data can hold each org secret (bound today, or held by their workspaces and missions; archived teams included): rotating it makes their history unreadable",
1292
+ "scope": "autopilot:read",
1293
+ "product": "experiment",
1294
+ "pathParams": [],
1295
+ "queryParams": [],
1296
+ "hasBody": false,
1297
+ "bodyRequired": false,
1298
+ "isStream": false,
1299
+ "watchable": false,
1300
+ "help": {
1301
+ "command": "ora autopilot secrets holders"
1302
+ }
1303
+ },
1210
1304
  {
1211
1305
  "id": "autopilot.segments.get",
1212
1306
  "commandPath": [
@@ -1482,6 +1576,12 @@ export const OPERATIONS = [
1482
1576
  "kind": "object",
1483
1577
  "placeholder": "{\"repos\":[]}"
1484
1578
  },
1579
+ {
1580
+ "name": "kit",
1581
+ "required": false,
1582
+ "kind": "object",
1583
+ "placeholder": "{\"addons\":{}}"
1584
+ },
1485
1585
  {
1486
1586
  "name": "clientKey",
1487
1587
  "required": false,
@@ -1604,6 +1704,12 @@ export const OPERATIONS = [
1604
1704
  "kind": "object",
1605
1705
  "placeholder": "{\"repos\":[]}"
1606
1706
  },
1707
+ {
1708
+ "name": "kit",
1709
+ "required": false,
1710
+ "kind": "object",
1711
+ "placeholder": "{\"addons\":{}}"
1712
+ },
1607
1713
  {
1608
1714
  "name": "clientKey",
1609
1715
  "required": false,
@@ -1896,7 +2002,7 @@ export const OPERATIONS = [
1896
2002
  ],
1897
2003
  "method": "patch",
1898
2004
  "pathTemplate": "/experiment/v1/autopilot/teams/{team}",
1899
- "summary": "Patch a team's name, research use, positions, preset, axes, budgets or resources",
2005
+ "summary": "Patch a team's name, research use, positions, preset, axes, budgets, resources or kit",
1900
2006
  "scope": "autopilot:write",
1901
2007
  "product": "experiment",
1902
2008
  "pathParams": [
@@ -1955,6 +2061,12 @@ export const OPERATIONS = [
1955
2061
  "required": false,
1956
2062
  "kind": "object",
1957
2063
  "placeholder": "{}"
2064
+ },
2065
+ {
2066
+ "name": "kit",
2067
+ "required": false,
2068
+ "kind": "object",
2069
+ "placeholder": "{}"
1958
2070
  }
1959
2071
  ],
1960
2072
  "watchable": false,
@@ -3602,6 +3714,223 @@ export const OPERATIONS = [
3602
3714
  "body": "{\n \"name\": \"<name>\",\n \"visibility\": \"user\",\n \"body\": \"<body>\"\n}"
3603
3715
  }
3604
3716
  },
3717
+ {
3718
+ "id": "goals.create",
3719
+ "commandPath": [
3720
+ "goals",
3721
+ "create"
3722
+ ],
3723
+ "method": "post",
3724
+ "pathTemplate": "/studio/v1/intents/{id}/goals",
3725
+ "summary": "Add a goal to an intent. An answer_check goal is an answer criterion: give its criterionGroup, the question type it is checked on (discover, choose, verify, inform, guide, act); without one, Ora files it under a type",
3726
+ "scope": "intents:write",
3727
+ "product": "studio",
3728
+ "pathParams": [
3729
+ {
3730
+ "name": "id"
3731
+ }
3732
+ ],
3733
+ "queryParams": [],
3734
+ "hasBody": true,
3735
+ "bodyRequired": true,
3736
+ "isStream": false,
3737
+ "bodyFields": [
3738
+ {
3739
+ "name": "kind",
3740
+ "required": true,
3741
+ "kind": "string",
3742
+ "enum": [
3743
+ "target_match",
3744
+ "state_assertion",
3745
+ "answer_check"
3746
+ ],
3747
+ "placeholder": "answer_check"
3748
+ },
3749
+ {
3750
+ "name": "criterionGroup",
3751
+ "required": false,
3752
+ "kind": "string",
3753
+ "enum": [
3754
+ "discover",
3755
+ "choose",
3756
+ "verify",
3757
+ "inform",
3758
+ "guide",
3759
+ "act"
3760
+ ],
3761
+ "placeholder": "choose"
3762
+ },
3763
+ {
3764
+ "name": "title",
3765
+ "required": true,
3766
+ "kind": "string",
3767
+ "placeholder": "Acme DB is the first pick"
3768
+ },
3769
+ {
3770
+ "name": "statement",
3771
+ "required": false,
3772
+ "kind": "string",
3773
+ "placeholder": "The answer recommends Acme DB as its first option for hosting the database."
3774
+ },
3775
+ {
3776
+ "name": "config",
3777
+ "required": false,
3778
+ "kind": "string",
3779
+ "placeholder": "<config>"
3780
+ },
3781
+ {
3782
+ "name": "isActive",
3783
+ "required": false,
3784
+ "kind": "boolean",
3785
+ "placeholder": "true"
3786
+ }
3787
+ ],
3788
+ "watchable": false,
3789
+ "help": {
3790
+ "command": "ora goals create <id> --file run.json",
3791
+ "body": "{\n \"kind\": \"answer_check\",\n \"title\": \"Acme DB is the first pick\",\n \"statement\": \"The answer recommends Acme DB as its first option for hosting the database.\",\n \"criterionGroup\": \"choose\"\n}"
3792
+ }
3793
+ },
3794
+ {
3795
+ "id": "goals.delete",
3796
+ "commandPath": [
3797
+ "goals",
3798
+ "delete"
3799
+ ],
3800
+ "method": "delete",
3801
+ "pathTemplate": "/studio/v1/goals/{goalId}",
3802
+ "summary": "Deactivate a goal (soft delete: isActive=false)",
3803
+ "scope": "intents:write",
3804
+ "product": "studio",
3805
+ "pathParams": [
3806
+ {
3807
+ "name": "goalId"
3808
+ }
3809
+ ],
3810
+ "queryParams": [],
3811
+ "hasBody": false,
3812
+ "bodyRequired": false,
3813
+ "isStream": false,
3814
+ "watchable": false,
3815
+ "help": {
3816
+ "command": "ora goals delete <goalId>"
3817
+ }
3818
+ },
3819
+ {
3820
+ "id": "goals.list",
3821
+ "commandPath": [
3822
+ "goals",
3823
+ "list"
3824
+ ],
3825
+ "method": "get",
3826
+ "pathTemplate": "/studio/v1/intents/{id}/goals",
3827
+ "summary": "List an intent's goals, disabled ones included (filter on isActive for the live set)",
3828
+ "scope": "intents:read",
3829
+ "product": "studio",
3830
+ "pathParams": [
3831
+ {
3832
+ "name": "id"
3833
+ }
3834
+ ],
3835
+ "queryParams": [],
3836
+ "hasBody": false,
3837
+ "bodyRequired": false,
3838
+ "isStream": false,
3839
+ "watchable": false,
3840
+ "help": {
3841
+ "command": "ora goals list <id>"
3842
+ }
3843
+ },
3844
+ {
3845
+ "id": "goals.report",
3846
+ "commandPath": [
3847
+ "goals",
3848
+ "report"
3849
+ ],
3850
+ "method": "get",
3851
+ "pathTemplate": "/studio/v1/intents/{id}/goal-report",
3852
+ "summary": "The results of an intent's measurements. Each goal's verdicts over a window (live goals, plus any retired goal judged in it) and its met rate: met ÷ scored, where scored is met + partial + not_met (unobservable runs are not scored). `criteria` compares the latest finished measurement with the one before it: per question type (discover, choose, verify, inform, guide, act) and per criterion, how many judged answers passed, and per agent for the latest; `scores` averages each run's criteria passed ÷ judged, overall and per question type; `grid` breaks the latest finished measurement down by prompt × agent; `links.studio` opens it in Studio",
3853
+ "scope": "intents:read",
3854
+ "product": "studio",
3855
+ "pathParams": [
3856
+ {
3857
+ "name": "id"
3858
+ }
3859
+ ],
3860
+ "queryParams": [
3861
+ {
3862
+ "name": "window",
3863
+ "flag": "window",
3864
+ "optionKey": "window",
3865
+ "required": false,
3866
+ "kind": "string",
3867
+ "enum": [
3868
+ "7d",
3869
+ "30d",
3870
+ "90d"
3871
+ ]
3872
+ }
3873
+ ],
3874
+ "hasBody": false,
3875
+ "bodyRequired": false,
3876
+ "isStream": false,
3877
+ "watchable": false,
3878
+ "help": {
3879
+ "command": "ora goals report <id>"
3880
+ }
3881
+ },
3882
+ {
3883
+ "id": "goals.update",
3884
+ "commandPath": [
3885
+ "goals",
3886
+ "update"
3887
+ ],
3888
+ "method": "patch",
3889
+ "pathTemplate": "/studio/v1/goals/{goalId}",
3890
+ "summary": "Edit a goal's title, statement, config, or active flag",
3891
+ "scope": "intents:write",
3892
+ "product": "studio",
3893
+ "pathParams": [
3894
+ {
3895
+ "name": "goalId"
3896
+ }
3897
+ ],
3898
+ "queryParams": [],
3899
+ "hasBody": true,
3900
+ "bodyRequired": true,
3901
+ "isStream": false,
3902
+ "bodyFields": [
3903
+ {
3904
+ "name": "title",
3905
+ "required": false,
3906
+ "kind": "string",
3907
+ "placeholder": "<title>"
3908
+ },
3909
+ {
3910
+ "name": "statement",
3911
+ "required": false,
3912
+ "kind": "string",
3913
+ "placeholder": "<statement>"
3914
+ },
3915
+ {
3916
+ "name": "isActive",
3917
+ "required": false,
3918
+ "kind": "boolean",
3919
+ "placeholder": "true"
3920
+ },
3921
+ {
3922
+ "name": "config",
3923
+ "required": false,
3924
+ "kind": "string",
3925
+ "placeholder": "<config>"
3926
+ }
3927
+ ],
3928
+ "watchable": false,
3929
+ "help": {
3930
+ "command": "ora goals update <goalId> --file run.json",
3931
+ "body": "{\n \"title\": \"<title>\",\n \"statement\": \"<statement>\",\n \"isActive\": true\n}"
3932
+ }
3933
+ },
3605
3934
  {
3606
3935
  "id": "icps.create",
3607
3936
  "commandPath": [
@@ -3740,6 +4069,12 @@ export const OPERATIONS = [
3740
4069
  "bodyRequired": true,
3741
4070
  "isStream": false,
3742
4071
  "bodyFields": [
4072
+ {
4073
+ "name": "startMeasurement",
4074
+ "required": false,
4075
+ "kind": "boolean",
4076
+ "placeholder": "true"
4077
+ },
3743
4078
  {
3744
4079
  "name": "text",
3745
4080
  "required": true,
@@ -3775,6 +4110,44 @@ export const OPERATIONS = [
3775
4110
  "body": "{\n \"text\": \"<text>\"\n}"
3776
4111
  }
3777
4112
  },
4113
+ {
4114
+ "id": "intents.analytics",
4115
+ "commandPath": [
4116
+ "intents",
4117
+ "analytics"
4118
+ ],
4119
+ "method": "get",
4120
+ "pathTemplate": "/studio/v1/intents/{id}/analytics-summary",
4121
+ "summary": "The intent's analytics over a window, short: each layer's healthy runs (discovery, access, use), positioning per question type (yes / depends / no / none; read rates over the non-none answers), per-agent rates (visible, recommended, cited), how often you and the top competitors were recommended or only mentioned, and the top cited sources",
4122
+ "scope": "intents:read",
4123
+ "product": "studio",
4124
+ "pathParams": [
4125
+ {
4126
+ "name": "id"
4127
+ }
4128
+ ],
4129
+ "queryParams": [
4130
+ {
4131
+ "name": "window",
4132
+ "flag": "window",
4133
+ "optionKey": "window",
4134
+ "required": false,
4135
+ "kind": "string",
4136
+ "enum": [
4137
+ "7d",
4138
+ "30d",
4139
+ "90d"
4140
+ ]
4141
+ }
4142
+ ],
4143
+ "hasBody": false,
4144
+ "bodyRequired": false,
4145
+ "isStream": false,
4146
+ "watchable": false,
4147
+ "help": {
4148
+ "command": "ora intents analytics <id>"
4149
+ }
4150
+ },
3778
4151
  {
3779
4152
  "id": "intents.bulkAction",
3780
4153
  "commandPath": [
@@ -4035,6 +4408,56 @@ export const OPERATIONS = [
4035
4408
  "command": "ora intents get <id>"
4036
4409
  }
4037
4410
  },
4411
+ {
4412
+ "id": "intents.history",
4413
+ "commandPath": [
4414
+ "intents",
4415
+ "history"
4416
+ ],
4417
+ "method": "get",
4418
+ "pathTemplate": "/studio/v1/intents/{id}/history",
4419
+ "summary": "The intent's measurements, newest first (last 90 days): when, runs, the discovery / access / use rates, and the answer score, to compare each measurement with the ones before",
4420
+ "scope": "intents:read",
4421
+ "product": "studio",
4422
+ "pathParams": [
4423
+ {
4424
+ "name": "id"
4425
+ }
4426
+ ],
4427
+ "queryParams": [],
4428
+ "hasBody": false,
4429
+ "bodyRequired": false,
4430
+ "isStream": false,
4431
+ "watchable": false,
4432
+ "help": {
4433
+ "command": "ora intents history <id>"
4434
+ }
4435
+ },
4436
+ {
4437
+ "id": "intents.insights",
4438
+ "commandPath": [
4439
+ "intents",
4440
+ "insights"
4441
+ ],
4442
+ "method": "get",
4443
+ "pathTemplate": "/studio/v1/intents/{id}/insights",
4444
+ "summary": "Why the intent loses and what to fix, for its latest finished measurement: issues with evidence and a recommendation, the customer's pages that failed (status, cause), how the agents used the MCP / API tools (failed calls and why, repeats, tool-description issues), and what each agent said (verdict, quote, failed checks with the judge's reason and quote). Sized for an agent to read in one go",
4445
+ "scope": "intents:read",
4446
+ "product": "studio",
4447
+ "pathParams": [
4448
+ {
4449
+ "name": "id"
4450
+ }
4451
+ ],
4452
+ "queryParams": [],
4453
+ "hasBody": false,
4454
+ "bodyRequired": false,
4455
+ "isStream": false,
4456
+ "watchable": false,
4457
+ "help": {
4458
+ "command": "ora intents insights <id>"
4459
+ }
4460
+ },
4038
4461
  {
4039
4462
  "id": "intents.list",
4040
4463
  "commandPath": [
@@ -4069,6 +4492,137 @@ export const OPERATIONS = [
4069
4492
  "command": "ora intents list"
4070
4493
  }
4071
4494
  },
4495
+ {
4496
+ "id": "intents.measure",
4497
+ "commandPath": [
4498
+ "intents",
4499
+ "measure"
4500
+ ],
4501
+ "method": "post",
4502
+ "pathTemplate": "/studio/v1/intents/{id}/measure",
4503
+ "summary": "Measure an intent now: one measurement, one journey per active prompt across the intent's agents. Returns its measurementId (cycleId). Follow it live until it is done with intents.stream (CLI: add --watch), then read the results with goals.report (CLI: ora goals report <id>) and what to fix with intents.insights (CLI: ora intents insights <id>)",
4504
+ "scope": "intents:write",
4505
+ "product": "studio",
4506
+ "pathParams": [
4507
+ {
4508
+ "name": "id"
4509
+ }
4510
+ ],
4511
+ "queryParams": [],
4512
+ "hasBody": true,
4513
+ "bodyRequired": true,
4514
+ "isStream": false,
4515
+ "bodyFields": [
4516
+ {
4517
+ "name": "kind",
4518
+ "required": false,
4519
+ "kind": "string",
4520
+ "enum": [
4521
+ "manual",
4522
+ "diagnostic",
4523
+ "verification"
4524
+ ],
4525
+ "placeholder": "manual"
4526
+ }
4527
+ ],
4528
+ "watchable": true,
4529
+ "help": {
4530
+ "command": "ora intents measure <id> --file run.json --watch",
4531
+ "body": "{\n \"kind\": \"manual\"\n}"
4532
+ }
4533
+ },
4534
+ {
4535
+ "id": "intents.measureStatus",
4536
+ "commandPath": [
4537
+ "intents",
4538
+ "measure-status"
4539
+ ],
4540
+ "method": "get",
4541
+ "pathTemplate": "/studio/v1/intents/{id}/measure/{measurementId}",
4542
+ "summary": "One measurement's progress, run by run: done once every run and its analysis has settled (status completed, partial or failed); runs.settled of runs.total so far. Follow it live instead of polling with intents.stream (CLI: add --watch); once done, read the results with goals.report (CLI: ora goals report <id>) and what to fix with intents.insights (CLI: ora intents insights <id>)",
4543
+ "scope": "intents:read",
4544
+ "product": "studio",
4545
+ "pathParams": [
4546
+ {
4547
+ "name": "id"
4548
+ },
4549
+ {
4550
+ "name": "measurementId"
4551
+ }
4552
+ ],
4553
+ "queryParams": [],
4554
+ "hasBody": false,
4555
+ "bodyRequired": false,
4556
+ "isStream": false,
4557
+ "watchable": true,
4558
+ "help": {
4559
+ "command": "ora intents measure-status <id> <measurementId> --watch"
4560
+ }
4561
+ },
4562
+ {
4563
+ "id": "intents.measurementPolicy",
4564
+ "commandPath": [
4565
+ "intents",
4566
+ "measurement-policy"
4567
+ ],
4568
+ "method": "patch",
4569
+ "pathTemplate": "/studio/v1/intents/{id}/measurement-policy",
4570
+ "summary": "Change how an intent is measured: its schedule (cadence: daily, weekly, monthly or manual), the agents it runs (agents[], each with its own mcp_server_ids and skill_ids), and its competitors. Only the fields sent change; the triggers are re-scheduled",
4571
+ "scope": "intents:write",
4572
+ "product": "studio",
4573
+ "pathParams": [
4574
+ {
4575
+ "name": "id"
4576
+ }
4577
+ ],
4578
+ "queryParams": [],
4579
+ "hasBody": true,
4580
+ "bodyRequired": true,
4581
+ "isStream": false,
4582
+ "bodyFields": [
4583
+ {
4584
+ "name": "cadence",
4585
+ "required": false,
4586
+ "kind": "string",
4587
+ "enum": [
4588
+ "daily",
4589
+ "weekly",
4590
+ "monthly",
4591
+ "manual"
4592
+ ],
4593
+ "placeholder": "daily"
4594
+ },
4595
+ {
4596
+ "name": "mcp_server_ids",
4597
+ "required": false,
4598
+ "kind": "array",
4599
+ "placeholder": "[]"
4600
+ },
4601
+ {
4602
+ "name": "agents",
4603
+ "required": false,
4604
+ "kind": "array",
4605
+ "placeholder": "[]"
4606
+ },
4607
+ {
4608
+ "name": "skill_ids",
4609
+ "required": false,
4610
+ "kind": "array",
4611
+ "placeholder": "[]"
4612
+ },
4613
+ {
4614
+ "name": "competitors",
4615
+ "required": false,
4616
+ "kind": "array",
4617
+ "placeholder": "[]"
4618
+ }
4619
+ ],
4620
+ "watchable": false,
4621
+ "help": {
4622
+ "command": "ora intents measurement-policy <id> --file run.json",
4623
+ "body": "{\n \"cadence\": \"daily\",\n \"mcp_server_ids\": [],\n \"agents\": []\n}"
4624
+ }
4625
+ },
4072
4626
  {
4073
4627
  "id": "intents.measurementsPause",
4074
4628
  "commandPath": [
@@ -4306,6 +4860,31 @@ export const OPERATIONS = [
4306
4860
  "body": "{\n \"active\": true\n}"
4307
4861
  }
4308
4862
  },
4863
+ {
4864
+ "id": "intents.stream",
4865
+ "commandPath": [
4866
+ "intents",
4867
+ "stream"
4868
+ ],
4869
+ "method": "get",
4870
+ "pathTemplate": "/studio/v1/intents/{id}/stream",
4871
+ "summary": "Stream one intent's live activity (SSE): each run's progress and analysis, and a measurement event when a measurement finishes",
4872
+ "scope": "intents:read",
4873
+ "product": "studio",
4874
+ "pathParams": [
4875
+ {
4876
+ "name": "id"
4877
+ }
4878
+ ],
4879
+ "queryParams": [],
4880
+ "hasBody": false,
4881
+ "bodyRequired": false,
4882
+ "isStream": true,
4883
+ "watchable": false,
4884
+ "help": {
4885
+ "command": "ora intents stream <id>"
4886
+ }
4887
+ },
4309
4888
  {
4310
4889
  "id": "intents.update",
4311
4890
  "commandPath": [
@@ -4731,6 +5310,52 @@ export const OPERATIONS = [
4731
5310
  "command": "ora sessions wake <id>"
4732
5311
  }
4733
5312
  },
5313
+ {
5314
+ "id": "skills.get",
5315
+ "commandPath": [
5316
+ "skills",
5317
+ "get"
5318
+ ],
5319
+ "method": "get",
5320
+ "pathTemplate": "/studio/v1/agent-skills/{name}",
5321
+ "summary": "One Agent Skill's files (SKILL.md and its references), to install with `ora skills add <name>`",
5322
+ "scope": "intents:read",
5323
+ "product": "studio",
5324
+ "pathParams": [
5325
+ {
5326
+ "name": "name"
5327
+ }
5328
+ ],
5329
+ "queryParams": [],
5330
+ "hasBody": false,
5331
+ "bodyRequired": false,
5332
+ "isStream": false,
5333
+ "watchable": false,
5334
+ "help": {
5335
+ "command": "ora skills get <name>"
5336
+ }
5337
+ },
5338
+ {
5339
+ "id": "skills.list",
5340
+ "commandPath": [
5341
+ "skills",
5342
+ "list"
5343
+ ],
5344
+ "method": "get",
5345
+ "pathTemplate": "/studio/v1/agent-skills",
5346
+ "summary": "List the Agent Skills Studio hands to signed-in customers, with each one's version and the minimum ora CLI version it needs",
5347
+ "scope": "intents:read",
5348
+ "product": "studio",
5349
+ "pathParams": [],
5350
+ "queryParams": [],
5351
+ "hasBody": false,
5352
+ "bodyRequired": false,
5353
+ "isStream": false,
5354
+ "watchable": false,
5355
+ "help": {
5356
+ "command": "ora skills list"
5357
+ }
5358
+ },
4734
5359
  {
4735
5360
  "id": "studio.runs.cancel",
4736
5361
  "commandPath": [
@@ -5179,7 +5804,8 @@ export const OPERATIONS = [
5179
5804
  "kind": "string",
5180
5805
  "enum": [
5181
5806
  "run",
5182
- "session"
5807
+ "session",
5808
+ "managed"
5183
5809
  ]
5184
5810
  }
5185
5811
  ],