@epilot/cli 0.1.43 → 0.1.45
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 +1 -1
- package/definitions/automation.json +120 -0
- package/definitions/integration-toolkit.json +857 -108
- package/dist/{app-TIFX5AYN.js → app-EULJIEDB.js} +1 -1
- package/dist/bin/epilot.js +7 -7
- package/dist/{chunk-HB3KW5QT.js → chunk-AD4IN7WQ.js} +6 -1
- package/dist/{completion-SCM3DTVX.js → completion-PNTLTEUY.js} +1 -1
- package/dist/{deploy-HN3M5VTA.js → deploy-JMJFXUKQ.js} +3 -6
- package/dist/{upgrade-KTCCOOQW.js → upgrade-FYUQBQYC.js} +1 -1
- package/package.json +1 -1
|
@@ -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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
API_LIST
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-AD4IN7WQ.js";
|
|
5
5
|
|
|
6
6
|
// bin/epilot.ts
|
|
7
7
|
import { runMain } from "citty";
|
|
@@ -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.45",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -30,13 +30,13 @@ var main = defineCommand({
|
|
|
30
30
|
auth: () => import("../auth-CN5EFFDE.js").then((m) => m.default),
|
|
31
31
|
profile: () => import("../profile-OZJL5ZPT.js").then((m) => m.default),
|
|
32
32
|
config: () => import("../config-DGZIMLZK.js").then((m) => m.default),
|
|
33
|
-
completion: () => import("../completion-
|
|
34
|
-
upgrade: () => import("../upgrade-
|
|
33
|
+
completion: () => import("../completion-PNTLTEUY.js").then((m) => m.default),
|
|
34
|
+
upgrade: () => import("../upgrade-FYUQBQYC.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,13 +133,13 @@ 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.45" : (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);
|
|
140
140
|
var completionsIdx = args.indexOf("--_completions");
|
|
141
141
|
if (completionsIdx >= 0) {
|
|
142
|
-
const { handleCompletions } = await import("../completion-
|
|
142
|
+
const { handleCompletions } = await import("../completion-PNTLTEUY.js");
|
|
143
143
|
handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
|
|
144
144
|
process.exit(0);
|
|
145
145
|
}
|
|
@@ -745,7 +745,7 @@ var API_LIST = [
|
|
|
745
745
|
kebabName: "integration-toolkit",
|
|
746
746
|
title: "Integration Toolkit API",
|
|
747
747
|
serverUrl: "https://integration-toolkit.sls.epilot.io",
|
|
748
|
-
operationCount:
|
|
748
|
+
operationCount: 51,
|
|
749
749
|
operationIds: [
|
|
750
750
|
"acknowledgeTracking",
|
|
751
751
|
"triggerErp",
|
|
@@ -781,6 +781,11 @@ var API_LIST = [
|
|
|
781
781
|
"getMonitoringStats",
|
|
782
782
|
"getMonitoringTimeSeries",
|
|
783
783
|
"getOutboundStatus",
|
|
784
|
+
"pollOutboundMessages",
|
|
785
|
+
"ackOutboundMessages",
|
|
786
|
+
"listOutboundDlqMessages",
|
|
787
|
+
"redriveOutboundDlqMessages",
|
|
788
|
+
"unblockOutboundStream",
|
|
784
789
|
"queryAccessLogs",
|
|
785
790
|
"queryOutboundMonitoringEvents",
|
|
786
791
|
"queryMonitoringEventsV2",
|
|
@@ -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.45";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|