@epilot/cli 0.1.43 → 0.1.44
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
|
@@ -12,7 +12,7 @@ var app_default = defineCommand({
|
|
|
12
12
|
"add-component": () => import("./add-component-IVVCAUGY.js").then((m) => m.default),
|
|
13
13
|
"remove-component": () => import("./remove-component-HJA5OA3H.js").then((m) => m.default),
|
|
14
14
|
validate: () => import("./validate-QUSO4DR4.js").then((m) => m.default),
|
|
15
|
-
deploy: () => import("./deploy-
|
|
15
|
+
deploy: () => import("./deploy-JMJFXUKQ.js").then((m) => m.default),
|
|
16
16
|
export: () => import("./export-JDDMBBNS.js").then((m) => m.default),
|
|
17
17
|
versions: () => import("./versions-EUTT4SNW.js").then((m) => m.default),
|
|
18
18
|
review: () => import("./review-7M27IRW6.js").then((m) => m.default),
|
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.44",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -31,12 +31,12 @@ 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-RRBXKSXL.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),
|
|
38
38
|
"ai-agents": () => import("../ai-agents-HEDTH2EP.js").then((m) => m.default),
|
|
39
|
-
app: () => import("../app-
|
|
39
|
+
app: () => import("../app-EULJIEDB.js").then((m) => m.default),
|
|
40
40
|
"audit-logs": () => import("../audit-logs-YFRK3EFU.js").then((m) => m.default),
|
|
41
41
|
automation: () => import("../automation-4DEE3TUI.js").then((m) => m.default),
|
|
42
42
|
billing: () => import("../billing-XX4VVOPI.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.44" : (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);
|
|
@@ -161,16 +161,13 @@ var deploy_default = defineCommand({
|
|
|
161
161
|
const zipSize = await uploadDirectoryAsZip(upload_url, zipPath);
|
|
162
162
|
log.success(`Uploaded zip for ${comp.id} (${formatFileSize(zipSize)})`);
|
|
163
163
|
if (componentPayload.surfaces && typeof componentPayload.surfaces === "object") {
|
|
164
|
+
const appUrl = artifact_url.replace(/\/[^/]+$/, "/index.html");
|
|
164
165
|
for (const surface of Object.values(
|
|
165
166
|
componentPayload.surfaces
|
|
166
167
|
)) {
|
|
167
168
|
if (surface && typeof surface === "object") {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
if ("zip_url" in surface) {
|
|
172
|
-
surface.zip_url = artifact_url;
|
|
173
|
-
}
|
|
169
|
+
surface.app_url = appUrl;
|
|
170
|
+
surface.zip_url = artifact_url;
|
|
174
171
|
}
|
|
175
172
|
}
|
|
176
173
|
}
|
|
@@ -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.44";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|