@ora-ai/cli 0.14.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/generated/operations.d.ts +2 -1
- package/dist/generated/operations.d.ts.map +1 -1
- package/dist/generated/operations.js +189 -24
- package/dist/generated/operations.js.map +1 -1
- package/dist/generated/types.d.ts +103 -1
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/generated/types.js +1 -1
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/dist/program.js +6 -2
- package/dist/program.js.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/update-notice/adapters.d.ts +14 -0
- package/dist/update-notice/adapters.d.ts.map +1 -0
- package/dist/update-notice/adapters.js +51 -0
- package/dist/update-notice/adapters.js.map +1 -0
- package/dist/update-notice/update-notice.d.ts +21 -0
- package/dist/update-notice/update-notice.d.ts.map +1 -0
- package/dist/update-notice/update-notice.js +18 -0
- package/dist/update-notice/update-notice.js.map +1 -0
- package/package.json +1 -1
|
@@ -3811,7 +3811,7 @@ export type SkillsGetResponse = {
|
|
|
3811
3811
|
"content": string;
|
|
3812
3812
|
}>;
|
|
3813
3813
|
};
|
|
3814
|
-
export type
|
|
3814
|
+
export type AgentsResponse = {
|
|
3815
3815
|
"success": true;
|
|
3816
3816
|
"data": {
|
|
3817
3817
|
"agents": Array<{
|
|
@@ -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" | "answered" | "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" | "answered" | "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" | "answered" | "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" | "answered" | "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,82 @@ export type IntentsAnalyticsResponse = {
|
|
|
4257
4275
|
};
|
|
4258
4276
|
};
|
|
4259
4277
|
};
|
|
4278
|
+
export type IntentsAnswersResponse = {
|
|
4279
|
+
"success": true;
|
|
4280
|
+
"data": {
|
|
4281
|
+
"intentId": string;
|
|
4282
|
+
"measurementId": string | null;
|
|
4283
|
+
"measurementStatus": string | null;
|
|
4284
|
+
"measuredAt": string | null;
|
|
4285
|
+
"answers": Array<{
|
|
4286
|
+
"runId": string;
|
|
4287
|
+
"prompt": {
|
|
4288
|
+
"id": string | null;
|
|
4289
|
+
"text": string | null;
|
|
4290
|
+
"branding": string | null;
|
|
4291
|
+
};
|
|
4292
|
+
"agent": {
|
|
4293
|
+
"label": string;
|
|
4294
|
+
"harness": string | null;
|
|
4295
|
+
"model": string | null;
|
|
4296
|
+
};
|
|
4297
|
+
"questionType": string | null;
|
|
4298
|
+
"bottomLine": string | null;
|
|
4299
|
+
"you": "recommended" | "conditional" | "mentioned" | "ruled_out" | "not_named" | null;
|
|
4300
|
+
"check": {
|
|
4301
|
+
"verdict": "met" | "not_met" | "not_measured";
|
|
4302
|
+
"reason": string | null;
|
|
4303
|
+
"quote": string | null;
|
|
4304
|
+
} | null;
|
|
4305
|
+
"criteria": Array<{
|
|
4306
|
+
"goalId": string;
|
|
4307
|
+
"text": string;
|
|
4308
|
+
"type": "discover" | "choose" | "verify" | "inform" | "guide" | "act" | null;
|
|
4309
|
+
"result": "met" | "partly" | "not_met" | "not_applicable" | "couldnt_measure";
|
|
4310
|
+
"reason": string | null;
|
|
4311
|
+
"quote": string | null;
|
|
4312
|
+
}>;
|
|
4313
|
+
"brands": Array<{
|
|
4314
|
+
"name": string;
|
|
4315
|
+
"domain": string | null;
|
|
4316
|
+
"isYou": boolean;
|
|
4317
|
+
"status": "recommended" | "conditional" | "mentioned" | "ruled_out";
|
|
4318
|
+
"quote": string;
|
|
4319
|
+
"reasons": Array<string>;
|
|
4320
|
+
"concerns": Array<string>;
|
|
4321
|
+
"conditions": Array<string>;
|
|
4322
|
+
}>;
|
|
4323
|
+
"recommendedInstead": Array<string>;
|
|
4324
|
+
}>;
|
|
4325
|
+
};
|
|
4326
|
+
};
|
|
4327
|
+
export type GoalsCriteriaQuestionTypesResponse = {
|
|
4328
|
+
"success": true;
|
|
4329
|
+
"data": {
|
|
4330
|
+
"types": Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
|
|
4331
|
+
};
|
|
4332
|
+
};
|
|
4333
|
+
export type GoalsSuggestCriteriaRequest = {
|
|
4334
|
+
"types"?: Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
|
|
4335
|
+
"type"?: "discover" | "choose" | "verify" | "inform" | "guide" | "act";
|
|
4336
|
+
};
|
|
4337
|
+
export type GoalsSuggestCriteriaResponse = {
|
|
4338
|
+
"success": true;
|
|
4339
|
+
"data": {
|
|
4340
|
+
"criteria": Array<{
|
|
4341
|
+
"text": string;
|
|
4342
|
+
"needsTools": boolean;
|
|
4343
|
+
"types": Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
|
|
4344
|
+
}>;
|
|
4345
|
+
};
|
|
4346
|
+
};
|
|
4260
4347
|
export type IntentsGenerateResponse = {
|
|
4261
4348
|
"success": true;
|
|
4262
4349
|
"data": Array<{
|
|
4263
4350
|
"id": string;
|
|
4264
4351
|
"text": string;
|
|
4352
|
+
"questionTypes"?: Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
|
|
4353
|
+
"coverage"?: "covered" | "no_criterion_for_type" | "type_not_known" | "not_required";
|
|
4265
4354
|
"category": string;
|
|
4266
4355
|
"persona": string | null;
|
|
4267
4356
|
"branding": "organic" | "named" | "unknown" | null;
|
|
@@ -4414,6 +4503,7 @@ export type GoalsReportResponse = {
|
|
|
4414
4503
|
"prompts": Array<{
|
|
4415
4504
|
"promptId": string;
|
|
4416
4505
|
"text": string;
|
|
4506
|
+
"questionTypes": Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
|
|
4417
4507
|
}>;
|
|
4418
4508
|
"agents": Array<{
|
|
4419
4509
|
"setupKey": string;
|
|
@@ -4441,6 +4531,10 @@ export type GoalsListResponse = {
|
|
|
4441
4531
|
"intentId": string;
|
|
4442
4532
|
"kind": "target_match" | "state_assertion" | "answer_check";
|
|
4443
4533
|
"criterionGroup": "discover" | "choose" | "verify" | "inform" | "guide" | "act" | null;
|
|
4534
|
+
"allTypes": boolean;
|
|
4535
|
+
"types": Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
|
|
4536
|
+
"category": "recommended" | "answered" | "accurate" | "informed" | "capability" | "real_steps" | "safe" | "task_done" | "other" | null;
|
|
4537
|
+
"categorySetBy": "ora" | "caller" | null;
|
|
4444
4538
|
"isDrafted": boolean;
|
|
4445
4539
|
"title": string;
|
|
4446
4540
|
"statement": string | null;
|
|
@@ -4455,6 +4549,8 @@ export type GoalsListResponse = {
|
|
|
4455
4549
|
export type GoalsCreateRequest = {
|
|
4456
4550
|
"kind": "target_match" | "state_assertion" | "answer_check";
|
|
4457
4551
|
"criterionGroup"?: "discover" | "choose" | "verify" | "inform" | "guide" | "act";
|
|
4552
|
+
"types"?: "all" | Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
|
|
4553
|
+
"category"?: "recommended" | "answered" | "accurate" | "informed" | "capability" | "real_steps" | "safe" | "task_done" | "other";
|
|
4458
4554
|
"title": string;
|
|
4459
4555
|
"statement"?: string | null;
|
|
4460
4556
|
"config"?: unknown;
|
|
@@ -4467,6 +4563,10 @@ export type GoalsCreateResponse = {
|
|
|
4467
4563
|
"intentId": string;
|
|
4468
4564
|
"kind": "target_match" | "state_assertion" | "answer_check";
|
|
4469
4565
|
"criterionGroup": "discover" | "choose" | "verify" | "inform" | "guide" | "act" | null;
|
|
4566
|
+
"allTypes": boolean;
|
|
4567
|
+
"types": Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
|
|
4568
|
+
"category": "recommended" | "answered" | "accurate" | "informed" | "capability" | "real_steps" | "safe" | "task_done" | "other" | null;
|
|
4569
|
+
"categorySetBy": "ora" | "caller" | null;
|
|
4470
4570
|
"isDrafted": boolean;
|
|
4471
4571
|
"title": string;
|
|
4472
4572
|
"statement": string | null;
|
|
@@ -4790,6 +4890,8 @@ export type IntentsAddPromptResponse = {
|
|
|
4790
4890
|
"data"?: {
|
|
4791
4891
|
"id": string;
|
|
4792
4892
|
"text": string;
|
|
4893
|
+
"questionTypes"?: Array<"discover" | "choose" | "verify" | "inform" | "guide" | "act">;
|
|
4894
|
+
"coverage"?: "covered" | "no_criterion_for_type" | "type_not_known" | "not_required";
|
|
4793
4895
|
"category": string;
|
|
4794
4896
|
"persona": string | null;
|
|
4795
4897
|
"branding": "organic" | "named" | "unknown" | null;
|