@epilot/cli 0.1.62 → 0.1.63

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
@@ -29,7 +29,7 @@ npm install -g @epilot/cli
29
29
 
30
30
  <!-- usage-help -->
31
31
  ```
32
- epilot v0.1.62 — CLI for epilot APIs
32
+ epilot v0.1.63 — CLI for epilot APIs
33
33
 
34
34
  USAGE
35
35
  epilot <api> <operationId> [params...] [flags]
@@ -3345,6 +3345,14 @@
3345
3345
  "type": "string",
3346
3346
  "description": "Schedule Id which indicates the schedule of the actions inside the condition"
3347
3347
  },
3348
+ "evaluation_order": {
3349
+ "type": "string",
3350
+ "enum": [
3351
+ "AFTER_SCHEDULE",
3352
+ "BEFORE_SCHEDULE"
3353
+ ],
3354
+ "description": "Determines how the condition and its schedule combine in time, when the condition block also has a schedule.\n\n- `AFTER_SCHEDULE` (default): the schedule is created first and the condition is evaluated when the schedule fires, against the data at that moment (\"wait, then check\").\n- `BEFORE_SCHEDULE`: the condition is evaluated at trigger time against the current data; only when it passes is the schedule created, and it is not re-evaluated when it fires (\"check now, then wait\"). A failing condition skips the block immediately.\n\nAn absent value is treated as `AFTER_SCHEDULE` for backwards compatibility."
3355
+ },
3348
3356
  "evaluationResult": {
3349
3357
  "type": "boolean",
3350
3358
  "description": "Result of the condition evaluation"
@@ -3352,6 +3360,10 @@
3352
3360
  "error_output": {
3353
3361
  "$ref": "#/components/schemas/ErrorOutput"
3354
3362
  },
3363
+ "allow_failure": {
3364
+ "description": "Whether the execution should continue when processing the condition\nblock itself fails (e.g. its schedule cannot be computed). When true,\nthe block's actions are cancelled and the execution moves on to the\nnext action instead of stopping in a failed state.\n",
3365
+ "type": "boolean"
3366
+ },
3355
3367
  "statements": {
3356
3368
  "type": "array",
3357
3369
  "items": {
@@ -3536,6 +3548,13 @@
3536
3548
  "additionalProperties": {
3537
3549
  "$ref": "#/components/schemas/AutomationLoopState"
3538
3550
  }
3551
+ },
3552
+ "chain": {
3553
+ "type": "array",
3554
+ "description": "Ordered automation flow ids in this execution's trigger chain (multi-automation loop prevention).",
3555
+ "items": {
3556
+ "type": "string"
3557
+ }
3539
3558
  }
3540
3559
  },
3541
3560
  "required": [
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
11
11
  var main = defineCommand({
12
12
  meta: {
13
13
  name: "epilot",
14
- version: "0.1.62",
14
+ version: "0.1.63",
15
15
  description: "CLI for epilot APIs"
16
16
  },
17
17
  args: {
@@ -31,7 +31,7 @@ var main = defineCommand({
31
31
  profile: () => import("../profile-OZJL5ZPT.js").then((m) => m.default),
32
32
  config: () => import("../config-DGZIMLZK.js").then((m) => m.default),
33
33
  completion: () => import("../completion-H6LKKRG6.js").then((m) => m.default),
34
- upgrade: () => import("../upgrade-GZ3ME7R5.js").then((m) => m.default),
34
+ upgrade: () => import("../upgrade-QS2D5IZE.js").then((m) => m.default),
35
35
  "access-token": () => import("../access-token-WWE6BDJH.js").then((m) => m.default),
36
36
  address: () => import("../address-EH3C4CVB.js").then((m) => m.default),
37
37
  "address-suggestions": () => import("../address-suggestions-RRSLOBFW.js").then((m) => m.default),
@@ -134,7 +134,7 @@ process.stderr.on("error", (err) => {
134
134
  if (err.code === "EPIPE") process.exit(0);
135
135
  throw err;
136
136
  });
137
- var VERSION = true ? "0.1.62" : (await null).default.version;
137
+ var VERSION = true ? "0.1.63" : (await null).default.version;
138
138
  var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
139
139
  process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
140
140
  var args = process.argv.slice(2);
@@ -72,7 +72,7 @@ ${GREEN}${BOLD}Upgraded to @epilot/cli@${latest}${RESET}
72
72
  }
73
73
  });
74
74
  var getCurrentVersion = () => {
75
- if (true) return "0.1.62";
75
+ if (true) return "0.1.63";
76
76
  try {
77
77
  const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
78
78
  encoding: "utf-8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/cli",
3
- "version": "0.1.62",
3
+ "version": "0.1.63",
4
4
  "description": "CLI for epilot APIs",
5
5
  "type": "module",
6
6
  "bin": {