@ora-ai/cli 0.22.0 → 0.23.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 CHANGED
@@ -302,9 +302,12 @@ to decide", against a floor or against an earlier study of the same series:
302
302
  ora study series # the organization's series
303
303
  ora study series-trend --series cli/pr-gate # one series over time, split where it stopped being comparable
304
304
  ora study carry-plan <id> # what a series study would carry instead of run, and why the rest runs
305
+ ora study set-carry <id> --file carry.json # turn carrying on or off before launch: {"carry": null} runs every job
306
+ ora study ci run … --no-carry # this one study runs every job, whatever its body file says
305
307
 
306
308
  A study that declares `"carry": {"from": "series"}` takes the runs of its
307
309
  unchanged jobs from the series' previous study instead of running them again.
310
+ Whether it does is yours to change until the study launches.
308
311
 
309
312
  **Reading the runs.**
310
313
 
@@ -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: "0f479e1012ff3fef63b1aed942d4aefabae3782a892c336f372e7b03b0bbb9bd";
44
+ readonly contentHash: "fe3e7f533202e4ed7f17422627f7d89bb2fe15cf3b2e20c064df03ed0cc6113d";
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,WAA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AAM,CAAA;KAAE,CAAC;IACzC,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;CAC9B;AAED,eAAO,MAAM,IAAI;;;;;CAKP,CAAC;AAEX,eAAO,MAAM,UAAU,EAAE,aAAa,EA+5VrC,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 0f479e1012ff3fef63b1aed942d4aefabae3782a892c336f372e7b03b0bbb9bd)
2
+ // Source: openapi/ora-public.openapi.json (sha256 fe3e7f533202e4ed7f17422627f7d89bb2fe15cf3b2e20c064df03ed0cc6113d)
3
3
  // Regenerate: yarn nx run ora-cli:generate
4
4
  export const SPEC = {
5
5
  "version": "1.0.0",
6
- "contentHash": "0f479e1012ff3fef63b1aed942d4aefabae3782a892c336f372e7b03b0bbb9bd",
6
+ "contentHash": "fe3e7f533202e4ed7f17422627f7d89bb2fe15cf3b2e20c064df03ed0cc6113d",
7
7
  "server": "https://api.ora.ai",
8
8
  "bin": "ora"
9
9
  };
@@ -10371,6 +10371,41 @@ export const OPERATIONS = [
10371
10371
  "command": "ora study series-trend --series <series>"
10372
10372
  }
10373
10373
  },
10374
+ {
10375
+ "id": "study.setCarry",
10376
+ "commandPath": [
10377
+ "study",
10378
+ "set-carry"
10379
+ ],
10380
+ "method": "put",
10381
+ "pathTemplate": "/study/v1/studies/{id}/carry",
10382
+ "summary": "Turn carrying on or off for a study that has not launched",
10383
+ "scope": "study.studies:write",
10384
+ "product": "study",
10385
+ "pathParams": [
10386
+ {
10387
+ "name": "id"
10388
+ }
10389
+ ],
10390
+ "queryParams": [],
10391
+ "hasBody": true,
10392
+ "bodyRequired": true,
10393
+ "isStream": false,
10394
+ "bodyFields": [
10395
+ {
10396
+ "name": "carry",
10397
+ "required": true,
10398
+ "kind": "string",
10399
+ "description": "The policy the study takes. null = carry nothing: every job runs when the study launches.",
10400
+ "placeholder": "<carry>"
10401
+ }
10402
+ ],
10403
+ "watchable": false,
10404
+ "help": {
10405
+ "command": "ora study set-carry <id> --file run.json",
10406
+ "body": "{\n \"carry\": \"<carry>\"\n}"
10407
+ }
10408
+ },
10374
10409
  {
10375
10410
  "id": "study.setRunCounting",
10376
10411
  "commandPath": [