@epilot/cli 0.1.194 → 0.1.195
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 +89 -1
- package/dist/{access-token-3XCBQDFI.js → access-token-Q2UGZIMP.js} +4 -4
- package/dist/{add-component-GTIUBZP6.js → add-component-USRY2DQG.js} +4 -4
- package/dist/{add-function-5RIKXAEC.js → add-function-RZTEKVSB.js} +4 -4
- package/dist/{address-ACXTZTLB.js → address-AX4UT6BO.js} +4 -4
- package/dist/{address-suggestions-MIUHAFVV.js → address-suggestions-GMVIIZY6.js} +4 -4
- package/dist/agent-auth-A2D2R6FP.js +42 -0
- package/dist/{ai-agents-OWQRQK5A.js → ai-agents-J2ZTLDLV.js} +4 -4
- package/dist/{api-PQZEGSUV.js → api-3L3XZYSQ.js} +4 -4
- package/dist/app-RHHZR5YW.js +26 -0
- package/dist/{audit-logs-3DVFWVWL.js → audit-logs-VLVHBCF5.js} +4 -4
- package/dist/auth-N3CDDMDS.js +235 -0
- package/dist/auth-login-ACQGAE72.js +34 -0
- package/dist/{auth-token-APXLIQAO.js → auth-token-JOSBGVGA.js} +2 -2
- package/dist/{automation-NHRRP6J4.js → automation-NYSYIXDW.js} +4 -4
- package/dist/{billing-PCSW2TQP.js → billing-6SWQNULS.js} +4 -4
- package/dist/bin/epilot.js +84 -60
- package/dist/{blueprint-manifest-BPWLPHIU.js → blueprint-manifest-3RS3SQE6.js} +4 -4
- package/dist/{calendar-Y6AGKVWR.js → calendar-WQIQK46M.js} +4 -4
- package/dist/{chat-567O35XV.js → chat-EMJD5AN5.js} +4 -4
- package/dist/{chunk-WWO5RPHF.js → chunk-36I64456.js} +7 -7
- package/dist/{chunk-5KHD2F3J.js → chunk-5DFIPWJS.js} +3 -3
- package/dist/chunk-5Q3PQUI2.js +602 -0
- package/dist/{chunk-KTCBDUL2.js → chunk-BYNI3AGG.js} +1 -1
- package/dist/{chunk-M3M3C5WH.js → chunk-G564QXNL.js} +17 -3
- package/dist/{chunk-YHQA2AVG.js → chunk-QPUCHKXS.js} +1 -0
- package/dist/{auth-login-3AY5U4JU.js → chunk-U4YGZRJY.js} +378 -11
- package/dist/{config-DGZIMLZK.js → config-PJWYWLQH.js} +1 -1
- package/dist/{configuration-hub-YPOS6ELC.js → configuration-hub-BVTAC26A.js} +4 -4
- package/dist/{consent-SFI4EUGQ.js → consent-UZSED4QQ.js} +4 -4
- package/dist/{customer-portal-UUKBB67Z.js → customer-portal-CZSHTI3Q.js} +4 -4
- package/dist/{dashboard-GERIZIZV.js → dashboard-NQHQ65ME.js} +4 -4
- package/dist/{data-governance-XVJWDVER.js → data-governance-WOUP2NNR.js} +4 -4
- package/dist/{deduplication-JJ46Y2CW.js → deduplication-EUAFCYY3.js} +4 -4
- package/dist/{deploy-GZMQOG6O.js → deploy-LRSKADBB.js} +4 -4
- package/dist/{design-LYYI4DLQ.js → design-XR6C6OTA.js} +4 -4
- package/dist/{dev-HDXS3UPB.js → dev-FGVM3R2Z.js} +4 -4
- package/dist/{document-5MD75ESX.js → document-EWDEIA2Z.js} +4 -4
- package/dist/{email-settings-UKM5LYDQ.js → email-settings-IOHMQBXH.js} +4 -4
- package/dist/{email-template-KT7YPDBF.js → email-template-K6X722R7.js} +4 -4
- package/dist/{entity-AG73SZKS.js → entity-Z6JH5EDY.js} +4 -4
- package/dist/{entity-mapping-6MIHNIDB.js → entity-mapping-PZY5PCRG.js} +4 -4
- package/dist/{environments-W7LRHBDB.js → environments-FL7IAAHN.js} +4 -4
- package/dist/{event-catalog-NCAHETDE.js → event-catalog-GUAWJ3RG.js} +4 -4
- package/dist/{export-2B5BAXHF.js → export-IXXFKWBZ.js} +4 -4
- package/dist/{external-values-NHZ2EZMQ.js → external-values-A7C75KBV.js} +4 -4
- package/dist/{file-Y6B2UFNC.js → file-IRUY5MWL.js} +4 -4
- package/dist/{iban-33N4BJUC.js → iban-3MLGKYKV.js} +4 -4
- package/dist/{identity-GQ5VOASS.js → identity-LI26M7EG.js} +4 -4
- package/dist/{init-5C4IJDPX.js → init-HRF5Q2UW.js} +4 -4
- package/dist/{integration-toolkit-KTUXC24K.js → integration-toolkit-GSDL2CE2.js} +4 -4
- package/dist/{journey-3X6BQOOO.js → journey-ASQNGOEH.js} +4 -4
- package/dist/{kanban-F7PRPBGV.js → kanban-7XW56ILD.js} +4 -4
- package/dist/{message-K4ZMKQJE.js → message-XYB34GBX.js} +4 -4
- package/dist/{metering-ZK6VMFZ7.js → metering-GJSVL6OZ.js} +4 -4
- package/dist/{notes-6Z42UHWN.js → notes-FZPFGPFO.js} +4 -4
- package/dist/{notification-NPY7FMPG.js → notification-X6IHCJDI.js} +4 -4
- package/dist/org-UWRWFPRZ.js +427 -0
- package/dist/{organization-NK3CCP7F.js → organization-374MUWDY.js} +4 -4
- package/dist/{partner-directory-WSFRXNTY.js → partner-directory-BC7XF3VN.js} +4 -4
- package/dist/{permissions-Q36SZHXQ.js → permissions-UAXXL2OG.js} +4 -4
- package/dist/{pricing-JSFN62BD.js → pricing-Q43OPFUT.js} +4 -4
- package/dist/{pricing-tier-XURRWW25.js → pricing-tier-AHRG3AVC.js} +4 -4
- package/dist/{profile-OZJL5ZPT.js → profile-G2FH3DXR.js} +1 -1
- package/dist/{purpose-GKPVUTBK.js → purpose-FXBJ24XT.js} +4 -4
- package/dist/{query-JZUAVWPY.js → query-Y5XZZBFS.js} +4 -4
- package/dist/{remove-component-KLWF3QZO.js → remove-component-WQLTK36T.js} +4 -4
- package/dist/{review-L4QLVEXC.js → review-XWKQ2QBF.js} +4 -4
- package/dist/{sandbox-EKAOWJSR.js → sandbox-7DPZVDMD.js} +4 -4
- package/dist/{sharing-TKHVDJ5B.js → sharing-4IMN5325.js} +4 -4
- package/dist/{snapshot-A2FU3NYU.js → snapshot-OE7NRZGS.js} +4 -4
- package/dist/{submission-NTQTZ2MG.js → submission-R2GYF5UV.js} +4 -4
- package/dist/{targeting-7HCCTEIJ.js → targeting-NLHZEKAE.js} +4 -4
- package/dist/{template-variables-ABHPJ6QR.js → template-variables-BEBZD6IW.js} +4 -4
- package/dist/{upgrade-YRZHOL6I.js → upgrade-ON2KV5LK.js} +1 -1
- package/dist/{user-WEW5SBST.js → user-C2MPCWFC.js} +4 -4
- package/dist/{validate-SX4DIEWH.js → validate-L3EVLLDB.js} +4 -4
- package/dist/{validation-rules-PNUE7RIC.js → validation-rules-MCQP5FYV.js} +4 -4
- package/dist/{versions-D5NPDKRX.js → versions-U4M5UMIX.js} +4 -4
- package/dist/{webhooks-ECQT77EA.js → webhooks-CXLFLDRO.js} +4 -4
- package/dist/{workflow-JOZVUSX2.js → workflow-WGG5Y45V.js} +4 -4
- package/dist/{workflow-definition-GPBXEKKH.js → workflow-definition-P5RIZCJK.js} +4 -4
- package/package.json +3 -2
- package/dist/app-EJONBOTI.js +0 -26
- package/dist/auth-WMXFMPWE.js +0 -119
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.195",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -27,65 +27,66 @@ var main = defineCommand({
|
|
|
27
27
|
jsonata: { type: "string", description: "JSONata expression" }
|
|
28
28
|
},
|
|
29
29
|
subCommands: {
|
|
30
|
-
auth: () => import("../auth-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
auth: () => import("../auth-N3CDDMDS.js").then((m) => m.default),
|
|
31
|
+
org: () => import("../org-UWRWFPRZ.js").then((m) => m.default),
|
|
32
|
+
profile: () => import("../profile-G2FH3DXR.js").then((m) => m.default),
|
|
33
|
+
config: () => import("../config-PJWYWLQH.js").then((m) => m.default),
|
|
33
34
|
completion: () => import("../completion-AACHNJ6B.js").then((m) => m.default),
|
|
34
|
-
upgrade: () => import("../upgrade-
|
|
35
|
-
"access-token": () => import("../access-token-
|
|
36
|
-
address: () => import("../address-
|
|
37
|
-
"address-suggestions": () => import("../address-suggestions-
|
|
38
|
-
"ai-agents": () => import("../ai-agents-
|
|
39
|
-
app: () => import("../app-
|
|
40
|
-
"audit-logs": () => import("../audit-logs-
|
|
41
|
-
automation: () => import("../automation-
|
|
42
|
-
billing: () => import("../billing-
|
|
43
|
-
"blueprint-manifest": () => import("../blueprint-manifest-
|
|
44
|
-
calendar: () => import("../calendar-
|
|
45
|
-
chat: () => import("../chat-
|
|
46
|
-
"configuration-hub": () => import("../configuration-hub-
|
|
47
|
-
consent: () => import("../consent-
|
|
48
|
-
"customer-portal": () => import("../customer-portal-
|
|
49
|
-
dashboard: () => import("../dashboard-
|
|
50
|
-
"data-governance": () => import("../data-governance-
|
|
51
|
-
deduplication: () => import("../deduplication-
|
|
52
|
-
design: () => import("../design-
|
|
53
|
-
document: () => import("../document-
|
|
54
|
-
"email-settings": () => import("../email-settings-
|
|
55
|
-
"email-template": () => import("../email-template-
|
|
56
|
-
entity: () => import("../entity-
|
|
57
|
-
"entity-mapping": () => import("../entity-mapping-
|
|
58
|
-
environments: () => import("../environments-
|
|
59
|
-
"event-catalog": () => import("../event-catalog-
|
|
60
|
-
"external-values": () => import("../external-values-
|
|
61
|
-
file: () => import("../file-
|
|
62
|
-
iban: () => import("../iban-
|
|
63
|
-
identity: () => import("../identity-
|
|
64
|
-
"integration-toolkit": () => import("../integration-toolkit-
|
|
65
|
-
journey: () => import("../journey-
|
|
66
|
-
kanban: () => import("../kanban-
|
|
67
|
-
message: () => import("../message-
|
|
68
|
-
metering: () => import("../metering-
|
|
69
|
-
notes: () => import("../notes-
|
|
70
|
-
notification: () => import("../notification-
|
|
71
|
-
organization: () => import("../organization-
|
|
72
|
-
"partner-directory": () => import("../partner-directory-
|
|
73
|
-
permissions: () => import("../permissions-
|
|
74
|
-
pricing: () => import("../pricing-
|
|
75
|
-
"pricing-tier": () => import("../pricing-tier-
|
|
76
|
-
purpose: () => import("../purpose-
|
|
77
|
-
query: () => import("../query-
|
|
78
|
-
sandbox: () => import("../sandbox-
|
|
79
|
-
sharing: () => import("../sharing-
|
|
80
|
-
snapshot: () => import("../snapshot-
|
|
81
|
-
submission: () => import("../submission-
|
|
82
|
-
targeting: () => import("../targeting-
|
|
83
|
-
"template-variables": () => import("../template-variables-
|
|
84
|
-
user: () => import("../user-
|
|
85
|
-
"validation-rules": () => import("../validation-rules-
|
|
86
|
-
webhooks: () => import("../webhooks-
|
|
87
|
-
workflow: () => import("../workflow-
|
|
88
|
-
"workflow-definition": () => import("../workflow-definition-
|
|
35
|
+
upgrade: () => import("../upgrade-ON2KV5LK.js").then((m) => m.default),
|
|
36
|
+
"access-token": () => import("../access-token-Q2UGZIMP.js").then((m) => m.default),
|
|
37
|
+
address: () => import("../address-AX4UT6BO.js").then((m) => m.default),
|
|
38
|
+
"address-suggestions": () => import("../address-suggestions-GMVIIZY6.js").then((m) => m.default),
|
|
39
|
+
"ai-agents": () => import("../ai-agents-J2ZTLDLV.js").then((m) => m.default),
|
|
40
|
+
app: () => import("../app-RHHZR5YW.js").then((m) => m.default),
|
|
41
|
+
"audit-logs": () => import("../audit-logs-VLVHBCF5.js").then((m) => m.default),
|
|
42
|
+
automation: () => import("../automation-NYSYIXDW.js").then((m) => m.default),
|
|
43
|
+
billing: () => import("../billing-6SWQNULS.js").then((m) => m.default),
|
|
44
|
+
"blueprint-manifest": () => import("../blueprint-manifest-3RS3SQE6.js").then((m) => m.default),
|
|
45
|
+
calendar: () => import("../calendar-WQIQK46M.js").then((m) => m.default),
|
|
46
|
+
chat: () => import("../chat-EMJD5AN5.js").then((m) => m.default),
|
|
47
|
+
"configuration-hub": () => import("../configuration-hub-BVTAC26A.js").then((m) => m.default),
|
|
48
|
+
consent: () => import("../consent-UZSED4QQ.js").then((m) => m.default),
|
|
49
|
+
"customer-portal": () => import("../customer-portal-CZSHTI3Q.js").then((m) => m.default),
|
|
50
|
+
dashboard: () => import("../dashboard-NQHQ65ME.js").then((m) => m.default),
|
|
51
|
+
"data-governance": () => import("../data-governance-WOUP2NNR.js").then((m) => m.default),
|
|
52
|
+
deduplication: () => import("../deduplication-EUAFCYY3.js").then((m) => m.default),
|
|
53
|
+
design: () => import("../design-XR6C6OTA.js").then((m) => m.default),
|
|
54
|
+
document: () => import("../document-EWDEIA2Z.js").then((m) => m.default),
|
|
55
|
+
"email-settings": () => import("../email-settings-IOHMQBXH.js").then((m) => m.default),
|
|
56
|
+
"email-template": () => import("../email-template-K6X722R7.js").then((m) => m.default),
|
|
57
|
+
entity: () => import("../entity-Z6JH5EDY.js").then((m) => m.default),
|
|
58
|
+
"entity-mapping": () => import("../entity-mapping-PZY5PCRG.js").then((m) => m.default),
|
|
59
|
+
environments: () => import("../environments-FL7IAAHN.js").then((m) => m.default),
|
|
60
|
+
"event-catalog": () => import("../event-catalog-GUAWJ3RG.js").then((m) => m.default),
|
|
61
|
+
"external-values": () => import("../external-values-A7C75KBV.js").then((m) => m.default),
|
|
62
|
+
file: () => import("../file-IRUY5MWL.js").then((m) => m.default),
|
|
63
|
+
iban: () => import("../iban-3MLGKYKV.js").then((m) => m.default),
|
|
64
|
+
identity: () => import("../identity-LI26M7EG.js").then((m) => m.default),
|
|
65
|
+
"integration-toolkit": () => import("../integration-toolkit-GSDL2CE2.js").then((m) => m.default),
|
|
66
|
+
journey: () => import("../journey-ASQNGOEH.js").then((m) => m.default),
|
|
67
|
+
kanban: () => import("../kanban-7XW56ILD.js").then((m) => m.default),
|
|
68
|
+
message: () => import("../message-XYB34GBX.js").then((m) => m.default),
|
|
69
|
+
metering: () => import("../metering-GJSVL6OZ.js").then((m) => m.default),
|
|
70
|
+
notes: () => import("../notes-FZPFGPFO.js").then((m) => m.default),
|
|
71
|
+
notification: () => import("../notification-X6IHCJDI.js").then((m) => m.default),
|
|
72
|
+
organization: () => import("../organization-374MUWDY.js").then((m) => m.default),
|
|
73
|
+
"partner-directory": () => import("../partner-directory-BC7XF3VN.js").then((m) => m.default),
|
|
74
|
+
permissions: () => import("../permissions-UAXXL2OG.js").then((m) => m.default),
|
|
75
|
+
pricing: () => import("../pricing-Q43OPFUT.js").then((m) => m.default),
|
|
76
|
+
"pricing-tier": () => import("../pricing-tier-AHRG3AVC.js").then((m) => m.default),
|
|
77
|
+
purpose: () => import("../purpose-FXBJ24XT.js").then((m) => m.default),
|
|
78
|
+
query: () => import("../query-Y5XZZBFS.js").then((m) => m.default),
|
|
79
|
+
sandbox: () => import("../sandbox-7DPZVDMD.js").then((m) => m.default),
|
|
80
|
+
sharing: () => import("../sharing-4IMN5325.js").then((m) => m.default),
|
|
81
|
+
snapshot: () => import("../snapshot-OE7NRZGS.js").then((m) => m.default),
|
|
82
|
+
submission: () => import("../submission-R2GYF5UV.js").then((m) => m.default),
|
|
83
|
+
targeting: () => import("../targeting-NLHZEKAE.js").then((m) => m.default),
|
|
84
|
+
"template-variables": () => import("../template-variables-BEBZD6IW.js").then((m) => m.default),
|
|
85
|
+
user: () => import("../user-C2MPCWFC.js").then((m) => m.default),
|
|
86
|
+
"validation-rules": () => import("../validation-rules-MCQP5FYV.js").then((m) => m.default),
|
|
87
|
+
webhooks: () => import("../webhooks-CXLFLDRO.js").then((m) => m.default),
|
|
88
|
+
workflow: () => import("../workflow-WGG5Y45V.js").then((m) => m.default),
|
|
89
|
+
"workflow-definition": () => import("../workflow-definition-P5RIZCJK.js").then((m) => m.default)
|
|
89
90
|
}
|
|
90
91
|
});
|
|
91
92
|
|
|
@@ -97,6 +98,9 @@ var VALUE_TAKING_FLAGS = /* @__PURE__ */ new Set([
|
|
|
97
98
|
"--server",
|
|
98
99
|
"--jsonata",
|
|
99
100
|
"--definition",
|
|
101
|
+
"--org",
|
|
102
|
+
"--access",
|
|
103
|
+
"--reason",
|
|
100
104
|
// short
|
|
101
105
|
"-t",
|
|
102
106
|
"-s"
|
|
@@ -137,7 +141,7 @@ process.stderr.on("error", (err) => {
|
|
|
137
141
|
if (err.code === "EPIPE") process.exit(0);
|
|
138
142
|
throw err;
|
|
139
143
|
});
|
|
140
|
-
var VERSION = true ? "0.1.
|
|
144
|
+
var VERSION = true ? "0.1.195" : (await null).default.version;
|
|
141
145
|
var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
|
|
142
146
|
process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
|
|
143
147
|
var args = process.argv.slice(2);
|
|
@@ -251,6 +255,22 @@ function printRootHelp() {
|
|
|
251
255
|
w(` ${CYAN}upgrade${R} Upgrade to the latest version
|
|
252
256
|
`);
|
|
253
257
|
w(`
|
|
258
|
+
`);
|
|
259
|
+
w(`${BOLD}AGENT MODE${R} ${DIM}(optional)${R}
|
|
260
|
+
`);
|
|
261
|
+
w(
|
|
262
|
+
` ${CYAN}auth login --agent${R} Register this CLI as an Agent Auth agent ${DIM}(org switching, silent token refresh, scoped access profiles)${R}
|
|
263
|
+
`
|
|
264
|
+
);
|
|
265
|
+
w(` ${CYAN}org list${R} List your organizations and this CLI's access
|
|
266
|
+
`);
|
|
267
|
+
w(` ${CYAN}org use${R} <id> Switch the active organization
|
|
268
|
+
`);
|
|
269
|
+
w(` ${CYAN}org request${R} <id> Request access ${DIM}(--access <profile> --reason "\u2026")${R}
|
|
270
|
+
`);
|
|
271
|
+
w(` ${CYAN}org current${R} Show the active organization
|
|
272
|
+
`);
|
|
273
|
+
w(`
|
|
254
274
|
`);
|
|
255
275
|
w(`${BOLD}APIs${R}
|
|
256
276
|
`);
|
|
@@ -279,6 +299,10 @@ function printRootHelp() {
|
|
|
279
299
|
w(` ${YELLOW}$${R} epilot entity searchEntities --use-dev ${DIM}# target dev environment${R}
|
|
280
300
|
`);
|
|
281
301
|
w(` ${YELLOW}$${R} epilot config set stage dev ${DIM}# persist dev as default${R}
|
|
302
|
+
`);
|
|
303
|
+
w(` ${YELLOW}$${R} epilot auth login --agent --org 739224 ${DIM}# agent mode (optional)${R}
|
|
304
|
+
`);
|
|
305
|
+
w(` ${YELLOW}$${R} epilot org request 739224 --access config:write --reason "Fix the PV journey mapping"
|
|
282
306
|
`);
|
|
283
307
|
w(`
|
|
284
308
|
`);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
callApi
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-36I64456.js";
|
|
5
|
+
import "./chunk-BYNI3AGG.js";
|
|
5
6
|
import "./chunk-IOLKUHUB.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-YHQA2AVG.js";
|
|
7
|
+
import "./chunk-G564QXNL.js";
|
|
8
|
+
import "./chunk-QPUCHKXS.js";
|
|
9
9
|
import "./chunk-7ZQ666ZQ.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/apis/blueprint-manifest.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
callApi
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-36I64456.js";
|
|
5
|
+
import "./chunk-BYNI3AGG.js";
|
|
5
6
|
import "./chunk-IOLKUHUB.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-YHQA2AVG.js";
|
|
7
|
+
import "./chunk-G564QXNL.js";
|
|
8
|
+
import "./chunk-QPUCHKXS.js";
|
|
9
9
|
import "./chunk-7ZQ666ZQ.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/apis/calendar.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
callApi
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-36I64456.js";
|
|
5
|
+
import "./chunk-BYNI3AGG.js";
|
|
5
6
|
import "./chunk-IOLKUHUB.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-YHQA2AVG.js";
|
|
7
|
+
import "./chunk-G564QXNL.js";
|
|
8
|
+
import "./chunk-QPUCHKXS.js";
|
|
9
9
|
import "./chunk-7ZQ666ZQ.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/apis/chat.ts
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
CLI_USER_AGENT
|
|
4
|
+
} from "./chunk-BYNI3AGG.js";
|
|
2
5
|
import {
|
|
3
6
|
formatOperationsTable,
|
|
4
7
|
isInteractive,
|
|
@@ -6,15 +9,12 @@ import {
|
|
|
6
9
|
promptParam
|
|
7
10
|
} from "./chunk-IOLKUHUB.js";
|
|
8
11
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
resolveToken
|
|
13
|
-
} from "./chunk-M3M3C5WH.js";
|
|
12
|
+
resolveTokenAsync
|
|
13
|
+
} from "./chunk-G564QXNL.js";
|
|
14
14
|
import {
|
|
15
15
|
getResolvedProfile,
|
|
16
16
|
getStage
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QPUCHKXS.js";
|
|
18
18
|
import {
|
|
19
19
|
BG_GREEN,
|
|
20
20
|
BG_RED,
|
|
@@ -738,7 +738,7 @@ ${BOLD}Available operations:${RESET}
|
|
|
738
738
|
`);
|
|
739
739
|
process.exit(1);
|
|
740
740
|
}
|
|
741
|
-
let token =
|
|
741
|
+
let token = await resolveTokenAsync(args.token, args.profile);
|
|
742
742
|
if (!token) {
|
|
743
743
|
if (isInteractive({ interactive: args.interactive })) {
|
|
744
744
|
const { promptToken } = await import("./interactive-LSY5SADM.js");
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CLI_USER_AGENT
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BYNI3AGG.js";
|
|
5
5
|
import {
|
|
6
6
|
loadCredentials,
|
|
7
7
|
resolveToken
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G564QXNL.js";
|
|
9
9
|
import {
|
|
10
10
|
getResolvedProfile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QPUCHKXS.js";
|
|
12
12
|
import {
|
|
13
13
|
BOLD,
|
|
14
14
|
DIM,
|