@epilot/cli 0.1.55 → 0.1.57
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 +3 -3
- package/definitions/ai-agents.json +971 -98
- package/definitions/integration-toolkit.json +557 -1
- package/definitions/workflow.json +445 -60
- package/dist/{ai-agents-HEDTH2EP.js → ai-agents-53M2KHPI.js} +1 -1
- package/dist/bin/epilot.js +7 -7
- package/dist/{chunk-44NTPQBR.js → chunk-XSH56QUG.js} +15 -5
- package/dist/{completion-4HOIJNFX.js → completion-WEFTQNAT.js} +1 -1
- package/dist/{upgrade-SJPZVQ2P.js → upgrade-HHRA4FVT.js} +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import "./chunk-7ZQ666ZQ.js";
|
|
|
10
10
|
// src/commands/apis/ai-agents.ts
|
|
11
11
|
import { defineCommand } from "citty";
|
|
12
12
|
var ai_agents_default = defineCommand({
|
|
13
|
-
meta: { name: "ai-agents", description: "AI Agents API
|
|
13
|
+
meta: { name: "ai-agents", description: "AI Agents API" },
|
|
14
14
|
args: {
|
|
15
15
|
operation: { type: "positional", description: "operationId to call", required: false },
|
|
16
16
|
param: { type: "string", alias: "p", description: "Parameter key=value" },
|
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-XSH56QUG.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.57",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -30,12 +30,12 @@ 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-WEFTQNAT.js").then((m) => m.default),
|
|
34
|
+
upgrade: () => import("../upgrade-HHRA4FVT.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
|
-
"ai-agents": () => import("../ai-agents-
|
|
38
|
+
"ai-agents": () => import("../ai-agents-53M2KHPI.js").then((m) => m.default),
|
|
39
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),
|
|
@@ -134,13 +134,13 @@ 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.57" : (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);
|
|
141
141
|
var completionsIdx = args.indexOf("--_completions");
|
|
142
142
|
if (completionsIdx >= 0) {
|
|
143
|
-
const { handleCompletions } = await import("../completion-
|
|
143
|
+
const { handleCompletions } = await import("../completion-WEFTQNAT.js");
|
|
144
144
|
handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
|
|
145
145
|
process.exit(0);
|
|
146
146
|
}
|
|
@@ -39,9 +39,9 @@ var API_LIST = [
|
|
|
39
39
|
{
|
|
40
40
|
apiName: "aiAgents",
|
|
41
41
|
kebabName: "ai-agents",
|
|
42
|
-
title: "AI Agents API
|
|
42
|
+
title: "AI Agents API",
|
|
43
43
|
serverUrl: "https://ai-agents.sls.epilot.io",
|
|
44
|
-
operationCount:
|
|
44
|
+
operationCount: 19,
|
|
45
45
|
operationIds: [
|
|
46
46
|
"listAgents",
|
|
47
47
|
"createAgent",
|
|
@@ -49,12 +49,19 @@ var API_LIST = [
|
|
|
49
49
|
"updateAgentById",
|
|
50
50
|
"deleteAgentById",
|
|
51
51
|
"executeAgent",
|
|
52
|
+
"executeAgentStream",
|
|
52
53
|
"listExecutions",
|
|
53
54
|
"getExecution",
|
|
54
55
|
"cancelExecution",
|
|
55
56
|
"getExecutionTrace",
|
|
56
57
|
"approveExecution",
|
|
57
|
-
"rejectExecution"
|
|
58
|
+
"rejectExecution",
|
|
59
|
+
"streamExecution",
|
|
60
|
+
"chat",
|
|
61
|
+
"listConversations",
|
|
62
|
+
"getConversation",
|
|
63
|
+
"deleteConversation",
|
|
64
|
+
"submitConversationFeedback"
|
|
58
65
|
]
|
|
59
66
|
},
|
|
60
67
|
{
|
|
@@ -753,7 +760,7 @@ var API_LIST = [
|
|
|
753
760
|
kebabName: "integration-toolkit",
|
|
754
761
|
title: "Integration Toolkit API",
|
|
755
762
|
serverUrl: "https://integration-toolkit.sls.epilot.io",
|
|
756
|
-
operationCount:
|
|
763
|
+
operationCount: 53,
|
|
757
764
|
operationIds: [
|
|
758
765
|
"acknowledgeTracking",
|
|
759
766
|
"triggerErp",
|
|
@@ -780,6 +787,8 @@ var API_LIST = [
|
|
|
780
787
|
"getIntegrationV2",
|
|
781
788
|
"updateIntegrationV2",
|
|
782
789
|
"deleteIntegrationV2",
|
|
790
|
+
"listNotificationHistory",
|
|
791
|
+
"testSendNotification",
|
|
783
792
|
"getSecureProxyWhitelist",
|
|
784
793
|
"updateSecureProxyWhitelist",
|
|
785
794
|
"listSecureProxyWhitelistHistory",
|
|
@@ -1337,7 +1346,7 @@ var API_LIST = [
|
|
|
1337
1346
|
kebabName: "workflow",
|
|
1338
1347
|
title: "Workflows Executions",
|
|
1339
1348
|
serverUrl: "https://workflows-execution.sls.epilot.io",
|
|
1340
|
-
operationCount:
|
|
1349
|
+
operationCount: 25,
|
|
1341
1350
|
operationIds: [
|
|
1342
1351
|
"getExecutions",
|
|
1343
1352
|
"createExecution",
|
|
@@ -1361,6 +1370,7 @@ var API_LIST = [
|
|
|
1361
1370
|
"patchPhase",
|
|
1362
1371
|
"addTask",
|
|
1363
1372
|
"cancelTaskSchedule",
|
|
1373
|
+
"reconcileAutomationTask",
|
|
1364
1374
|
"runTaskScheduleNow",
|
|
1365
1375
|
"cancelSchedule"
|
|
1366
1376
|
]
|
|
@@ -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.57";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|