@epilot/cli 0.1.101 → 0.1.102
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
|
@@ -1348,10 +1348,22 @@
|
|
|
1348
1348
|
"post": {
|
|
1349
1349
|
"operationId": "createSmtpConnection",
|
|
1350
1350
|
"summary": "createSmtpConnection",
|
|
1351
|
-
"description": "Creates a new custom SMTP connection. Runs a live verify against the SMTP server\nbefore persisting; on failure the request is rejected and nothing is saved
|
|
1351
|
+
"description": "Creates a new custom SMTP connection. Runs a live verify against the SMTP server\nbefore persisting; on failure the request is rejected and nothing is saved. Pass\n`skip_test=true` to store the configuration untested instead.\n",
|
|
1352
1352
|
"tags": [
|
|
1353
1353
|
"Custom SMTP"
|
|
1354
1354
|
],
|
|
1355
|
+
"parameters": [
|
|
1356
|
+
{
|
|
1357
|
+
"name": "skip_test",
|
|
1358
|
+
"in": "query",
|
|
1359
|
+
"required": false,
|
|
1360
|
+
"description": "Save without running the live verify. Use when the server is not reachable from\nepilot yet, or when a referenced `{{ env.* }}` secret has not been set. The\nconnection is stored untested — `last_test_status` is left unset rather than\nclaimed as `ok` — and env references are not resolved either, since an\nunresolvable one is expected in this case.\n",
|
|
1361
|
+
"schema": {
|
|
1362
|
+
"type": "boolean",
|
|
1363
|
+
"default": false
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
],
|
|
1355
1367
|
"requestBody": {
|
|
1356
1368
|
"required": true,
|
|
1357
1369
|
"content": {
|
|
@@ -1428,10 +1440,22 @@
|
|
|
1428
1440
|
"put": {
|
|
1429
1441
|
"operationId": "updateSmtpConnection",
|
|
1430
1442
|
"summary": "updateSmtpConnection",
|
|
1431
|
-
"description": "Partial update; omitted fields keep their existing values. The merged\nconfiguration is verified against the SMTP server before persisting.\n",
|
|
1443
|
+
"description": "Partial update; omitted fields keep their existing values. The merged\nconfiguration is verified against the SMTP server before persisting. Pass\n`skip_test=true` to store it untested instead, which also clears any previous\ntest result — it described a configuration that no longer applies.\n",
|
|
1432
1444
|
"tags": [
|
|
1433
1445
|
"Custom SMTP"
|
|
1434
1446
|
],
|
|
1447
|
+
"parameters": [
|
|
1448
|
+
{
|
|
1449
|
+
"name": "skip_test",
|
|
1450
|
+
"in": "query",
|
|
1451
|
+
"required": false,
|
|
1452
|
+
"description": "Save without running the live verify. Use when the server is not reachable from\nepilot yet, or when a referenced `{{ env.* }}` secret has not been set. The\nconnection is stored untested — `last_test_status` is left unset rather than\nclaimed as `ok` — and env references are not resolved either, since an\nunresolvable one is expected in this case.\n",
|
|
1453
|
+
"schema": {
|
|
1454
|
+
"type": "boolean",
|
|
1455
|
+
"default": false
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
],
|
|
1435
1459
|
"requestBody": {
|
|
1436
1460
|
"required": true,
|
|
1437
1461
|
"content": {
|
|
@@ -3335,8 +3359,8 @@
|
|
|
3335
3359
|
"description": "Hostname of the SMTP server (e.g. smtp.mailgun.org)"
|
|
3336
3360
|
},
|
|
3337
3361
|
"smtp_port": {
|
|
3338
|
-
"type": "
|
|
3339
|
-
"description": "SMTP port (typically 587 for STARTTLS or 465 for TLS)"
|
|
3362
|
+
"type": "string",
|
|
3363
|
+
"description": "SMTP port (typically 587 for STARTTLS or 465 for TLS). A string, because it\nmay hold a `{{ env.your_key }}` reference rather than a literal port.\n"
|
|
3340
3364
|
},
|
|
3341
3365
|
"smtp_secure": {
|
|
3342
3366
|
"type": "string",
|
|
@@ -3408,9 +3432,17 @@
|
|
|
3408
3432
|
"type": "string"
|
|
3409
3433
|
},
|
|
3410
3434
|
"smtp_port": {
|
|
3411
|
-
"
|
|
3412
|
-
"
|
|
3413
|
-
|
|
3435
|
+
"description": "A port between 1 and 65535, or a `{{ env.your_key }}` template resolving to\none. An integer is still accepted, so callers predating the template support\nkeep working.\n",
|
|
3436
|
+
"oneOf": [
|
|
3437
|
+
{
|
|
3438
|
+
"type": "string"
|
|
3439
|
+
},
|
|
3440
|
+
{
|
|
3441
|
+
"type": "integer",
|
|
3442
|
+
"minimum": 1,
|
|
3443
|
+
"maximum": 65535
|
|
3444
|
+
}
|
|
3445
|
+
]
|
|
3414
3446
|
},
|
|
3415
3447
|
"smtp_secure": {
|
|
3416
3448
|
"type": "string",
|
|
@@ -3437,9 +3469,17 @@
|
|
|
3437
3469
|
"type": "string"
|
|
3438
3470
|
},
|
|
3439
3471
|
"smtp_port": {
|
|
3440
|
-
"
|
|
3441
|
-
"
|
|
3442
|
-
|
|
3472
|
+
"description": "A port between 1 and 65535, or a `{{ env.your_key }}` template resolving to\none. An integer is still accepted, so callers predating the template support\nkeep working.\n",
|
|
3473
|
+
"oneOf": [
|
|
3474
|
+
{
|
|
3475
|
+
"type": "string"
|
|
3476
|
+
},
|
|
3477
|
+
{
|
|
3478
|
+
"type": "integer",
|
|
3479
|
+
"minimum": 1,
|
|
3480
|
+
"maximum": 65535
|
|
3481
|
+
}
|
|
3482
|
+
]
|
|
3443
3483
|
},
|
|
3444
3484
|
"smtp_secure": {
|
|
3445
3485
|
"type": "string",
|
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.102",
|
|
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-JKVTLZX7.js").then((m) => m.default),
|
|
34
|
-
upgrade: () => import("../upgrade-
|
|
34
|
+
upgrade: () => import("../upgrade-MIWXKJAW.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.
|
|
137
|
+
var VERSION = true ? "0.1.102" : (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.
|
|
75
|
+
if (true) return "0.1.102";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|