@ora-ai/cli 0.17.0 → 0.18.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.
@@ -41,7 +41,7 @@ export interface OperationMeta {
41
41
  }
42
42
  export declare const SPEC: {
43
43
  readonly version: "1.0.0";
44
- readonly contentHash: "2a740ff3593e1b3291258f65a0522beeb440caa05d088f31df18f0a63a8811af";
44
+ readonly contentHash: "49b0bfa44c44187b931e7c050e2a6aaa438211189b9368b9e3ba862e2994ce34";
45
45
  readonly server: "https://api.ora.ai";
46
46
  readonly bin: "ora";
47
47
  };
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/generated/operations.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3D,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IACr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ClB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3D,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IACrB,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IACpD,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,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,EA0tTrC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAEjD,CAAC"}
@@ -1,9 +1,9 @@
1
1
  // GENERATED by scripts/generate.mjs — DO NOT EDIT.
2
- // Source: openapi/ora-public.openapi.json (sha256 2a740ff3593e1b3291258f65a0522beeb440caa05d088f31df18f0a63a8811af)
2
+ // Source: openapi/ora-public.openapi.json (sha256 49b0bfa44c44187b931e7c050e2a6aaa438211189b9368b9e3ba862e2994ce34)
3
3
  // Regenerate: yarn nx run ora-cli:generate
4
4
  export const SPEC = {
5
5
  "version": "1.0.0",
6
- "contentHash": "2a740ff3593e1b3291258f65a0522beeb440caa05d088f31df18f0a63a8811af",
6
+ "contentHash": "49b0bfa44c44187b931e7c050e2a6aaa438211189b9368b9e3ba862e2994ce34",
7
7
  "server": "https://api.ora.ai",
8
8
  "bin": "ora"
9
9
  };
@@ -4611,6 +4611,58 @@ export const OPERATIONS = [
4611
4611
  "command": "ora goals report <id>"
4612
4612
  }
4613
4613
  },
4614
+ {
4615
+ "id": "goals.results",
4616
+ "commandPath": [
4617
+ "goals",
4618
+ "results"
4619
+ ],
4620
+ "method": "get",
4621
+ "pathTemplate": "/studio/v1/intents/{id}/criteria/results",
4622
+ "summary": "Answer criteria results added up over a range of days: every measurement started on a UTC day in the range. Pass `window` (7d, 30d or 90d, counted back from today, today included) or exact `from` and `to` days (inclusive, at most 92 days); with neither, the last 30 days. The response names the exact days counted. Per question type and per criterion, how many judged answers passed, with the same split per agent and per prompt; `scores` adds up each run's criteria passed ÷ judged; `measurements` lists the measurements counted. Nothing is re-judged: each measurement counts as it was scored",
4623
+ "scope": "intents:read",
4624
+ "product": "studio",
4625
+ "pathParams": [
4626
+ {
4627
+ "name": "id"
4628
+ }
4629
+ ],
4630
+ "queryParams": [
4631
+ {
4632
+ "name": "window",
4633
+ "flag": "window",
4634
+ "optionKey": "window",
4635
+ "required": false,
4636
+ "kind": "string",
4637
+ "enum": [
4638
+ "7d",
4639
+ "30d",
4640
+ "90d"
4641
+ ]
4642
+ },
4643
+ {
4644
+ "name": "from",
4645
+ "flag": "from",
4646
+ "optionKey": "from",
4647
+ "required": false,
4648
+ "kind": "string"
4649
+ },
4650
+ {
4651
+ "name": "to",
4652
+ "flag": "to",
4653
+ "optionKey": "to",
4654
+ "required": false,
4655
+ "kind": "string"
4656
+ }
4657
+ ],
4658
+ "hasBody": false,
4659
+ "bodyRequired": false,
4660
+ "isStream": false,
4661
+ "watchable": false,
4662
+ "help": {
4663
+ "command": "ora goals results <id>"
4664
+ }
4665
+ },
4614
4666
  {
4615
4667
  "id": "goals.suggestCriteria",
4616
4668
  "commandPath": [