@epilot/cli 0.1.40 → 0.1.41
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
|
@@ -1265,6 +1265,13 @@
|
|
|
1265
1265
|
"eventName": {
|
|
1266
1266
|
"type": "string"
|
|
1267
1267
|
},
|
|
1268
|
+
"eventVersion": {
|
|
1269
|
+
"type": "string",
|
|
1270
|
+
"nullable": true,
|
|
1271
|
+
"pattern": "^\\d+\\.\\d+$",
|
|
1272
|
+
"description": "Pinned schema version of the Event Catalog event this webhook is subscribed to.\nOnly applicable when `eventName` refers to an Event Catalog event (prefixed with `event_`).\nWhen omitted on creation, it is backfilled lazily on first delivery to match the\nevent's own `_event_version` (the latest at that time, stamped on the event itself).\nAlways MAJOR.MINOR (e.g. \"1.0\", \"2.0\"), mirroring exactly what event-catalog-api\nstamps as `_event_version` and in its `_downgrades[].to` values. Absent for legacy\nconfigs that have not yet received an event.\n",
|
|
1273
|
+
"example": "1.0"
|
|
1274
|
+
},
|
|
1268
1275
|
"url": {
|
|
1269
1276
|
"type": "string"
|
|
1270
1277
|
},
|
|
@@ -1366,6 +1373,26 @@
|
|
|
1366
1373
|
}
|
|
1367
1374
|
}
|
|
1368
1375
|
},
|
|
1376
|
+
"retryPolicy": {
|
|
1377
|
+
"type": "object",
|
|
1378
|
+
"description": "Automatic-retry policy for transient delivery failures (5xx, 429,\nconnection-level errors). Newly-created webhooks are materialized\nwith defaults (`enabled: true`, `maxAttempts: 3`). Webhooks created\nbefore this feature have no policy and are treated as disabled — on\nupdate, omit this field to preserve the existing value. The backoff\ncurve is a fixed Standard Webhooks schedule (5s, 5m, 30m, 2h, 5h);\nonly the first `maxAttempts` intervals are used.\n",
|
|
1379
|
+
"properties": {
|
|
1380
|
+
"enabled": {
|
|
1381
|
+
"type": "boolean",
|
|
1382
|
+
"description": "Master on/off switch for automatic retries."
|
|
1383
|
+
},
|
|
1384
|
+
"maxAttempts": {
|
|
1385
|
+
"type": "integer",
|
|
1386
|
+
"minimum": 1,
|
|
1387
|
+
"maximum": 5,
|
|
1388
|
+
"default": 3,
|
|
1389
|
+
"description": "Maximum number of automatic retries after the initial delivery attempt."
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
"required": [
|
|
1393
|
+
"enabled"
|
|
1394
|
+
]
|
|
1395
|
+
},
|
|
1369
1396
|
"filterConditions": {
|
|
1370
1397
|
"$ref": "#/components/schemas/WebhookConditionGroup"
|
|
1371
1398
|
},
|
|
@@ -1666,6 +1693,10 @@
|
|
|
1666
1693
|
"payload": {
|
|
1667
1694
|
"type": "string",
|
|
1668
1695
|
"description": "stringified payload of the webhook request"
|
|
1696
|
+
},
|
|
1697
|
+
"retry_attempt": {
|
|
1698
|
+
"type": "integer",
|
|
1699
|
+
"description": "Number of automatic delivery retries that preceded this terminal outcome. 0 means the event was delivered (or finally failed) on the first attempt."
|
|
1669
1700
|
}
|
|
1670
1701
|
},
|
|
1671
1702
|
"required": [
|
package/dist/bin/epilot.js
CHANGED
|
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
|
|
|
11
11
|
var main = defineCommand({
|
|
12
12
|
meta: {
|
|
13
13
|
name: "epilot",
|
|
14
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.41",
|
|
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-SCM3DTVX.js").then((m) => m.default),
|
|
34
|
-
upgrade: () => import("../upgrade-
|
|
34
|
+
upgrade: () => import("../upgrade-QPNGIMFZ.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),
|
|
@@ -133,7 +133,7 @@ process.stderr.on("error", (err) => {
|
|
|
133
133
|
if (err.code === "EPIPE") process.exit(0);
|
|
134
134
|
throw err;
|
|
135
135
|
});
|
|
136
|
-
var VERSION = true ? "0.1.
|
|
136
|
+
var VERSION = true ? "0.1.41" : (await null).default.version;
|
|
137
137
|
var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
|
|
138
138
|
process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
|
|
139
139
|
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.
|
|
75
|
+
if (true) return "0.1.41";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|