@ora-ai/cli 0.14.0 → 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.
@@ -3864,6 +3864,8 @@ export type GoalsUpdateRequest = {
3864
3864
  "statement"?: string;
3865
3865
  "isActive"?: boolean;
3866
3866
  "config"?: unknown;
3867
+ "types"?: "all" | Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
3868
+ "category"?: "recommended" | "accurate" | "informed" | "capability" | "real_steps" | "safe" | "task_done" | "other";
3867
3869
  };
3868
3870
  export type GoalsUpdateResponse = {
3869
3871
  "success": true;
@@ -3872,6 +3874,10 @@ export type GoalsUpdateResponse = {
3872
3874
  "intentId": string;
3873
3875
  "kind": "target_match" | "state_assertion" | "answer_check";
3874
3876
  "criterionGroup": "discover" | "choose" | "verify" | "inform" | "guide" | "act" | null;
3877
+ "allTypes": boolean;
3878
+ "types": Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
3879
+ "category": "recommended" | "accurate" | "informed" | "capability" | "real_steps" | "safe" | "task_done" | "other" | null;
3880
+ "categorySetBy": "ora" | "caller" | null;
3875
3881
  "isDrafted": boolean;
3876
3882
  "title": string;
3877
3883
  "statement": string | null;
@@ -3993,6 +3999,12 @@ export type IntentsCreateRequest = {
3993
3999
  "layer"?: "discovery" | "access" | "use";
3994
4000
  "description"?: string;
3995
4001
  "domainId"?: string;
4002
+ "criteria"?: Array<{
4003
+ "statement": string;
4004
+ "types"?: "all" | Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
4005
+ "category"?: "recommended" | "accurate" | "informed" | "capability" | "real_steps" | "safe" | "task_done" | "other";
4006
+ "needsTools"?: boolean;
4007
+ }>;
3996
4008
  };
3997
4009
  export type IntentsCreateResponse = {
3998
4010
  "success": true;
@@ -4021,6 +4033,12 @@ export type IntentsBulkCreateRequest = {
4021
4033
  "goal"?: {
4022
4034
  "statement": string;
4023
4035
  };
4036
+ "criteria"?: Array<{
4037
+ "statement": string;
4038
+ "types"?: "all" | Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
4039
+ "category"?: "recommended" | "accurate" | "informed" | "capability" | "real_steps" | "safe" | "task_done" | "other";
4040
+ "needsTools"?: boolean;
4041
+ }>;
4024
4042
  "agents"?: Array<{
4025
4043
  "harness": string;
4026
4044
  "model": string;
@@ -4257,11 +4275,33 @@ export type IntentsAnalyticsResponse = {
4257
4275
  };
4258
4276
  };
4259
4277
  };
4278
+ export type GoalsCriteriaQuestionTypesResponse = {
4279
+ "success": true;
4280
+ "data": {
4281
+ "types": Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
4282
+ };
4283
+ };
4284
+ export type GoalsSuggestCriteriaRequest = {
4285
+ "types"?: Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
4286
+ "type"?: "discover" | "choose" | "verify" | "inform" | "guide" | "act";
4287
+ };
4288
+ export type GoalsSuggestCriteriaResponse = {
4289
+ "success": true;
4290
+ "data": {
4291
+ "criteria": Array<{
4292
+ "text": string;
4293
+ "needsTools": boolean;
4294
+ "types": Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
4295
+ }>;
4296
+ };
4297
+ };
4260
4298
  export type IntentsGenerateResponse = {
4261
4299
  "success": true;
4262
4300
  "data": Array<{
4263
4301
  "id": string;
4264
4302
  "text": string;
4303
+ "questionTypes"?: Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
4304
+ "coverage"?: "covered" | "no_criterion_for_type" | "type_not_known" | "not_required";
4265
4305
  "category": string;
4266
4306
  "persona": string | null;
4267
4307
  "branding": "organic" | "named" | "unknown" | null;
@@ -4414,6 +4454,7 @@ export type GoalsReportResponse = {
4414
4454
  "prompts": Array<{
4415
4455
  "promptId": string;
4416
4456
  "text": string;
4457
+ "questionTypes": Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
4417
4458
  }>;
4418
4459
  "agents": Array<{
4419
4460
  "setupKey": string;
@@ -4441,6 +4482,10 @@ export type GoalsListResponse = {
4441
4482
  "intentId": string;
4442
4483
  "kind": "target_match" | "state_assertion" | "answer_check";
4443
4484
  "criterionGroup": "discover" | "choose" | "verify" | "inform" | "guide" | "act" | null;
4485
+ "allTypes": boolean;
4486
+ "types": Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
4487
+ "category": "recommended" | "accurate" | "informed" | "capability" | "real_steps" | "safe" | "task_done" | "other" | null;
4488
+ "categorySetBy": "ora" | "caller" | null;
4444
4489
  "isDrafted": boolean;
4445
4490
  "title": string;
4446
4491
  "statement": string | null;
@@ -4455,6 +4500,8 @@ export type GoalsListResponse = {
4455
4500
  export type GoalsCreateRequest = {
4456
4501
  "kind": "target_match" | "state_assertion" | "answer_check";
4457
4502
  "criterionGroup"?: "discover" | "choose" | "verify" | "inform" | "guide" | "act";
4503
+ "types"?: "all" | Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
4504
+ "category"?: "recommended" | "accurate" | "informed" | "capability" | "real_steps" | "safe" | "task_done" | "other";
4458
4505
  "title": string;
4459
4506
  "statement"?: string | null;
4460
4507
  "config"?: unknown;
@@ -4467,6 +4514,10 @@ export type GoalsCreateResponse = {
4467
4514
  "intentId": string;
4468
4515
  "kind": "target_match" | "state_assertion" | "answer_check";
4469
4516
  "criterionGroup": "discover" | "choose" | "verify" | "inform" | "guide" | "act" | null;
4517
+ "allTypes": boolean;
4518
+ "types": Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
4519
+ "category": "recommended" | "accurate" | "informed" | "capability" | "real_steps" | "safe" | "task_done" | "other" | null;
4520
+ "categorySetBy": "ora" | "caller" | null;
4470
4521
  "isDrafted": boolean;
4471
4522
  "title": string;
4472
4523
  "statement": string | null;
@@ -4790,6 +4841,8 @@ export type IntentsAddPromptResponse = {
4790
4841
  "data"?: {
4791
4842
  "id": string;
4792
4843
  "text": string;
4844
+ "questionTypes"?: Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
4845
+ "coverage"?: "covered" | "no_criterion_for_type" | "type_not_known" | "not_required";
4793
4846
  "category": string;
4794
4847
  "persona": string | null;
4795
4848
  "branding": "organic" | "named" | "unknown" | null;