@ora-ai/cli 0.13.1 → 0.15.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/dist/generated/operations.d.ts +2 -2
- package/dist/generated/operations.d.ts.map +1 -1
- package/dist/generated/operations.js +168 -10
- package/dist/generated/operations.js.map +1 -1
- package/dist/generated/types.d.ts +79 -1
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/generated/types.js +1 -1
- package/dist/render/analytics/analytics-view.d.ts.map +1 -1
- package/dist/render/analytics/analytics-view.js +2 -1
- package/dist/render/analytics/analytics-view.js.map +1 -1
- package/dist/render/analytics/types.d.ts +2 -0
- package/dist/render/analytics/types.d.ts.map +1 -1
- package/dist/render/goal-report-grid.d.ts +1 -0
- package/dist/render/goal-report-grid.d.ts.map +1 -1
- package/dist/render/goal-report-grid.js +2 -1
- package/dist/render/goal-report-grid.js.map +1 -1
- package/dist/render/index.js +3 -0
- package/dist/render/index.js.map +1 -1
- package/dist/render/plan/plan-views.d.ts +23 -0
- package/dist/render/plan/plan-views.d.ts.map +1 -0
- package/dist/render/plan/plan-views.js +35 -0
- package/dist/render/plan/plan-views.js.map +1 -0
- package/dist/render/plan/renderers.d.ts +4 -0
- package/dist/render/plan/renderers.d.ts.map +1 -0
- package/dist/render/plan/renderers.js +13 -0
- package/dist/render/plan/renderers.js.map +1 -0
- package/package.json +1 -1
|
@@ -40,8 +40,8 @@ export interface OperationMeta {
|
|
|
40
40
|
}
|
|
41
41
|
export declare const SPEC: {
|
|
42
42
|
readonly version: "1.0.0";
|
|
43
|
-
readonly contentHash: "
|
|
44
|
-
readonly server: "https://api.
|
|
43
|
+
readonly contentHash: "45a15097f294c3d57602c6fd2b1c8b03adcd15bd3c0b16904766dbbd87f71698";
|
|
44
|
+
readonly server: "https://api.ora.ai";
|
|
45
45
|
readonly bin: "ora";
|
|
46
46
|
};
|
|
47
47
|
export declare const OPERATIONS: OperationMeta[];
|
|
@@ -1 +1 @@
|
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U,EAAE,aAAa,EAAE,CAAC;IAC5B,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACzC,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;CAC9B;AAED,eAAO,MAAM,IAAI;;;;;CAKP,CAAC;AAEX,eAAO,MAAM,UAAU,EAAE,aAAa,EAq8RrC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
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 45a15097f294c3d57602c6fd2b1c8b03adcd15bd3c0b16904766dbbd87f71698)
|
|
3
3
|
// Regenerate: yarn nx run ora-cli:generate
|
|
4
4
|
export const SPEC = {
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
-
"contentHash": "
|
|
7
|
-
"server": "https://api.
|
|
6
|
+
"contentHash": "45a15097f294c3d57602c6fd2b1c8b03adcd15bd3c0b16904766dbbd87f71698",
|
|
7
|
+
"server": "https://api.ora.ai",
|
|
8
8
|
"bin": "ora"
|
|
9
9
|
};
|
|
10
10
|
export const OPERATIONS = [
|
|
@@ -3722,7 +3722,7 @@ export const OPERATIONS = [
|
|
|
3722
3722
|
],
|
|
3723
3723
|
"method": "post",
|
|
3724
3724
|
"pathTemplate": "/studio/v1/intents/{id}/goals",
|
|
3725
|
-
"summary": "Add a goal to an intent. An answer_check goal is an answer criterion
|
|
3725
|
+
"summary": "Add a goal to an intent. An answer_check goal is an answer criterion, checked on the question types in `types` (discover, choose, verify, inform, guide, act), or on every type with `types: \"all\"` (the default)",
|
|
3726
3726
|
"scope": "intents:write",
|
|
3727
3727
|
"product": "studio",
|
|
3728
3728
|
"pathParams": [
|
|
@@ -3760,6 +3760,28 @@ export const OPERATIONS = [
|
|
|
3760
3760
|
],
|
|
3761
3761
|
"placeholder": "choose"
|
|
3762
3762
|
},
|
|
3763
|
+
{
|
|
3764
|
+
"name": "types",
|
|
3765
|
+
"required": false,
|
|
3766
|
+
"kind": "string",
|
|
3767
|
+
"placeholder": "<types>"
|
|
3768
|
+
},
|
|
3769
|
+
{
|
|
3770
|
+
"name": "category",
|
|
3771
|
+
"required": false,
|
|
3772
|
+
"kind": "string",
|
|
3773
|
+
"enum": [
|
|
3774
|
+
"recommended",
|
|
3775
|
+
"accurate",
|
|
3776
|
+
"informed",
|
|
3777
|
+
"capability",
|
|
3778
|
+
"real_steps",
|
|
3779
|
+
"safe",
|
|
3780
|
+
"task_done",
|
|
3781
|
+
"other"
|
|
3782
|
+
],
|
|
3783
|
+
"placeholder": "recommended"
|
|
3784
|
+
},
|
|
3763
3785
|
{
|
|
3764
3786
|
"name": "title",
|
|
3765
3787
|
"required": true,
|
|
@@ -3791,6 +3813,31 @@ export const OPERATIONS = [
|
|
|
3791
3813
|
"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
3814
|
}
|
|
3793
3815
|
},
|
|
3816
|
+
{
|
|
3817
|
+
"id": "goals.criteriaQuestionTypes",
|
|
3818
|
+
"commandPath": [
|
|
3819
|
+
"goals",
|
|
3820
|
+
"criteria-question-types"
|
|
3821
|
+
],
|
|
3822
|
+
"method": "get",
|
|
3823
|
+
"pathTemplate": "/studio/v1/intents/{id}/criteria/question-types",
|
|
3824
|
+
"summary": "The question types the intent's prompts ask, each of which takes answer criteria",
|
|
3825
|
+
"scope": "intents:read",
|
|
3826
|
+
"product": "studio",
|
|
3827
|
+
"pathParams": [
|
|
3828
|
+
{
|
|
3829
|
+
"name": "id"
|
|
3830
|
+
}
|
|
3831
|
+
],
|
|
3832
|
+
"queryParams": [],
|
|
3833
|
+
"hasBody": false,
|
|
3834
|
+
"bodyRequired": false,
|
|
3835
|
+
"isStream": false,
|
|
3836
|
+
"watchable": false,
|
|
3837
|
+
"help": {
|
|
3838
|
+
"command": "ora goals criteria-question-types <id>"
|
|
3839
|
+
}
|
|
3840
|
+
},
|
|
3794
3841
|
{
|
|
3795
3842
|
"id": "goals.delete",
|
|
3796
3843
|
"commandPath": [
|
|
@@ -3879,6 +3926,54 @@ export const OPERATIONS = [
|
|
|
3879
3926
|
"command": "ora goals report <id>"
|
|
3880
3927
|
}
|
|
3881
3928
|
},
|
|
3929
|
+
{
|
|
3930
|
+
"id": "goals.suggestCriteria",
|
|
3931
|
+
"commandPath": [
|
|
3932
|
+
"goals",
|
|
3933
|
+
"suggest-criteria"
|
|
3934
|
+
],
|
|
3935
|
+
"method": "post",
|
|
3936
|
+
"pathTemplate": "/studio/v1/intents/{id}/criteria/suggestions",
|
|
3937
|
+
"summary": "Ora's suggested criteria for the question types the intent's prompts ask (or the `types` given), from the business profile, the intent and its tools. Nothing is saved",
|
|
3938
|
+
"scope": "intents:write",
|
|
3939
|
+
"product": "studio",
|
|
3940
|
+
"pathParams": [
|
|
3941
|
+
{
|
|
3942
|
+
"name": "id"
|
|
3943
|
+
}
|
|
3944
|
+
],
|
|
3945
|
+
"queryParams": [],
|
|
3946
|
+
"hasBody": true,
|
|
3947
|
+
"bodyRequired": true,
|
|
3948
|
+
"isStream": false,
|
|
3949
|
+
"bodyFields": [
|
|
3950
|
+
{
|
|
3951
|
+
"name": "types",
|
|
3952
|
+
"required": false,
|
|
3953
|
+
"kind": "array",
|
|
3954
|
+
"placeholder": "[]"
|
|
3955
|
+
},
|
|
3956
|
+
{
|
|
3957
|
+
"name": "type",
|
|
3958
|
+
"required": false,
|
|
3959
|
+
"kind": "string",
|
|
3960
|
+
"enum": [
|
|
3961
|
+
"discover",
|
|
3962
|
+
"choose",
|
|
3963
|
+
"verify",
|
|
3964
|
+
"inform",
|
|
3965
|
+
"guide",
|
|
3966
|
+
"act"
|
|
3967
|
+
],
|
|
3968
|
+
"placeholder": "discover"
|
|
3969
|
+
}
|
|
3970
|
+
],
|
|
3971
|
+
"watchable": false,
|
|
3972
|
+
"help": {
|
|
3973
|
+
"command": "ora goals suggest-criteria <id> --file run.json",
|
|
3974
|
+
"body": "{\n \"types\": [],\n \"type\": \"discover\"\n}"
|
|
3975
|
+
}
|
|
3976
|
+
},
|
|
3882
3977
|
{
|
|
3883
3978
|
"id": "goals.update",
|
|
3884
3979
|
"commandPath": [
|
|
@@ -3923,6 +4018,28 @@ export const OPERATIONS = [
|
|
|
3923
4018
|
"required": false,
|
|
3924
4019
|
"kind": "string",
|
|
3925
4020
|
"placeholder": "<config>"
|
|
4021
|
+
},
|
|
4022
|
+
{
|
|
4023
|
+
"name": "types",
|
|
4024
|
+
"required": false,
|
|
4025
|
+
"kind": "string",
|
|
4026
|
+
"placeholder": "<types>"
|
|
4027
|
+
},
|
|
4028
|
+
{
|
|
4029
|
+
"name": "category",
|
|
4030
|
+
"required": false,
|
|
4031
|
+
"kind": "string",
|
|
4032
|
+
"enum": [
|
|
4033
|
+
"recommended",
|
|
4034
|
+
"accurate",
|
|
4035
|
+
"informed",
|
|
4036
|
+
"capability",
|
|
4037
|
+
"real_steps",
|
|
4038
|
+
"safe",
|
|
4039
|
+
"task_done",
|
|
4040
|
+
"other"
|
|
4041
|
+
],
|
|
4042
|
+
"placeholder": "recommended"
|
|
3926
4043
|
}
|
|
3927
4044
|
],
|
|
3928
4045
|
"watchable": false,
|
|
@@ -4110,6 +4227,27 @@ export const OPERATIONS = [
|
|
|
4110
4227
|
"body": "{\n \"text\": \"<text>\"\n}"
|
|
4111
4228
|
}
|
|
4112
4229
|
},
|
|
4230
|
+
{
|
|
4231
|
+
"id": "intents.agents",
|
|
4232
|
+
"commandPath": [
|
|
4233
|
+
"intents",
|
|
4234
|
+
"agents"
|
|
4235
|
+
],
|
|
4236
|
+
"method": "get",
|
|
4237
|
+
"pathTemplate": "/studio/v1/agents",
|
|
4238
|
+
"summary": "The agents (harness × model) Studio can measure with for your organization. `available: false` gives the reason, such as a plan that doesn't include it. Use these pairs in measurement-policy `agents`",
|
|
4239
|
+
"scope": "intents:read",
|
|
4240
|
+
"product": "studio",
|
|
4241
|
+
"pathParams": [],
|
|
4242
|
+
"queryParams": [],
|
|
4243
|
+
"hasBody": false,
|
|
4244
|
+
"bodyRequired": false,
|
|
4245
|
+
"isStream": false,
|
|
4246
|
+
"watchable": false,
|
|
4247
|
+
"help": {
|
|
4248
|
+
"command": "ora intents agents"
|
|
4249
|
+
}
|
|
4250
|
+
},
|
|
4113
4251
|
{
|
|
4114
4252
|
"id": "intents.analytics",
|
|
4115
4253
|
"commandPath": [
|
|
@@ -4297,6 +4435,12 @@ export const OPERATIONS = [
|
|
|
4297
4435
|
"required": false,
|
|
4298
4436
|
"kind": "string",
|
|
4299
4437
|
"placeholder": "<domainId>"
|
|
4438
|
+
},
|
|
4439
|
+
{
|
|
4440
|
+
"name": "criteria",
|
|
4441
|
+
"required": false,
|
|
4442
|
+
"kind": "array",
|
|
4443
|
+
"placeholder": "[]"
|
|
4300
4444
|
}
|
|
4301
4445
|
],
|
|
4302
4446
|
"watchable": false,
|
|
@@ -5049,12 +5193,6 @@ export const OPERATIONS = [
|
|
|
5049
5193
|
"required": false,
|
|
5050
5194
|
"kind": "object",
|
|
5051
5195
|
"placeholder": "{}"
|
|
5052
|
-
},
|
|
5053
|
-
{
|
|
5054
|
-
"name": "schedule",
|
|
5055
|
-
"required": false,
|
|
5056
|
-
"kind": "string",
|
|
5057
|
-
"placeholder": "<schedule>"
|
|
5058
5196
|
}
|
|
5059
5197
|
],
|
|
5060
5198
|
"watchable": false,
|
|
@@ -8851,6 +8989,26 @@ export const OPERATIONS = [
|
|
|
8851
8989
|
"command": "ora tunnels revoke <id>"
|
|
8852
8990
|
}
|
|
8853
8991
|
},
|
|
8992
|
+
{
|
|
8993
|
+
"id": "usage",
|
|
8994
|
+
"commandPath": [
|
|
8995
|
+
"usage"
|
|
8996
|
+
],
|
|
8997
|
+
"method": "get",
|
|
8998
|
+
"pathTemplate": "/studio/v1/usage",
|
|
8999
|
+
"summary": "This month's agent runs for your organization: runs used, the plan's limit (null when uncapped), runs remaining, and when the count resets",
|
|
9000
|
+
"scope": "intents:read",
|
|
9001
|
+
"product": "studio",
|
|
9002
|
+
"pathParams": [],
|
|
9003
|
+
"queryParams": [],
|
|
9004
|
+
"hasBody": false,
|
|
9005
|
+
"bodyRequired": false,
|
|
9006
|
+
"isStream": false,
|
|
9007
|
+
"watchable": false,
|
|
9008
|
+
"help": {
|
|
9009
|
+
"command": "ora usage"
|
|
9010
|
+
}
|
|
9011
|
+
},
|
|
8854
9012
|
{
|
|
8855
9013
|
"id": "webmcp.arena.create",
|
|
8856
9014
|
"commandPath": [
|