@xano/sdk 1.0.11 → 1.0.12
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/CHANGELOG.md +15 -0
- package/README.md +5 -4
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-CKLYJRIS.js → agent-file-refresh-YM5VRRHE.js} +9 -9
- package/dist/{agent-skill-command-QKQG5NIZ.js → agent-skill-command-GVVCBAGF.js} +34 -34
- package/dist/{answer-shape-UMQRXMCX.js → answer-shape-CBUQRSXI.js} +4 -4
- package/dist/{backend-dir-V2FELHYM.js → backend-dir-NZOLU7TL.js} +9 -9
- package/dist/{backend-slot-TTRNOQF5.js → backend-slot-X5AUX2TT.js} +3 -3
- package/dist/bin.js +35 -35
- package/dist/{branch-Q7CDJRU6.js → branch-YS2K3VOB.js} +8 -8
- package/dist/{branch-commands-ZY2W3ICB.js → branch-commands-Q46PCVHU.js} +20 -20
- package/dist/{chunk-4JKXGPXB.js → chunk-2BHYGUTI.js} +2 -2
- package/dist/{chunk-ZS7VI7RK.js → chunk-2K2G5TSR.js} +3 -3
- package/dist/{chunk-KYTQW3YT.js → chunk-2PAVJ3QD.js} +7 -7
- package/dist/{chunk-3Q43PZGI.js → chunk-2RDZDDPR.js} +24 -24
- package/dist/{chunk-VHV25AAO.js → chunk-373AVIL2.js} +7 -7
- package/dist/{chunk-YP76ZCQ5.js → chunk-3RZ4UJWV.js} +3 -3
- package/dist/{chunk-7YSZSEZL.js → chunk-3XZ44H2E.js} +3 -3
- package/dist/{chunk-TG65NWUR.js → chunk-3ZVSOZZC.js} +2 -2
- package/dist/{chunk-UUYKEIHP.js → chunk-4COXXP55.js} +4 -4
- package/dist/{chunk-76UAME77.js → chunk-4CS4DKQC.js} +2 -2
- package/dist/{chunk-DRWUMFSP.js → chunk-4GSXWOBS.js} +3 -3
- package/dist/{chunk-QAY4RW2E.js → chunk-5RSPMSSQ.js} +4 -4
- package/dist/{chunk-J746QNTP.js → chunk-5SZSLAAC.js} +3 -3
- package/dist/{chunk-RNKP5TA2.js → chunk-6IOBEJWA.js} +4 -4
- package/dist/{chunk-VJTTTIIB.js → chunk-6QJORUHC.js} +2 -2
- package/dist/{chunk-YKCDUHBR.js → chunk-74NRFGL7.js} +5 -5
- package/dist/{chunk-YE7MHW45.js → chunk-7NNLRNXE.js} +4 -4
- package/dist/{chunk-VTZF3ZNR.js → chunk-7XOQXZ6W.js} +7 -7
- package/dist/{chunk-6S263KTM.js → chunk-A3CT26GX.js} +2 -2
- package/dist/{chunk-LYN3XNDE.js → chunk-AMHAGMJM.js} +102 -122
- package/dist/{chunk-U4LRDTIM.js → chunk-ANBIMJPM.js} +8 -8
- package/dist/{chunk-ULUUOUQX.js → chunk-AUYXBKGR.js} +2 -2
- package/dist/{chunk-4WBZ6T76.js → chunk-BXVNRUDB.js} +3 -3
- package/dist/{chunk-6PTITS3M.js → chunk-C4TZP5PQ.js} +5 -5
- package/dist/{chunk-AM5T76NQ.js → chunk-CPFWVB3V.js} +13 -13
- package/dist/{chunk-HFOGQIII.js → chunk-CTUIMNEM.js} +2 -2
- package/dist/{chunk-C6KBZH7M.js → chunk-D4VKPOD4.js} +2 -2
- package/dist/{chunk-HVPSDQJB.js → chunk-DB7P2SSK.js} +3 -3
- package/dist/{chunk-GN5SQMIQ.js → chunk-DFCYAEBE.js} +2 -2
- package/dist/{chunk-HW2JPR5W.js → chunk-DH32QXVI.js} +40 -40
- package/dist/{chunk-TR7EOUQE.js → chunk-DILYWJVP.js} +2 -2
- package/dist/{chunk-ZO3QWFNV.js → chunk-DYGRTWAI.js} +3 -3
- package/dist/{chunk-VD7YTLWL.js → chunk-DZUNF7IH.js} +2 -2
- package/dist/{chunk-NU7EME32.js → chunk-EC5P4W2D.js} +27 -27
- package/dist/{chunk-DY3EJWWH.js → chunk-EGEANMMK.js} +2 -2
- package/dist/{chunk-D2PSNKZD.js → chunk-EMAFZROF.js} +8 -8
- package/dist/{chunk-NPW6DSZB.js → chunk-ETMP7SJ3.js} +6 -6
- package/dist/{chunk-QXOBZSQD.js → chunk-FLDFKG24.js} +4 -4
- package/dist/{chunk-HXRXQAZE.js → chunk-G3A3XKCS.js} +43 -43
- package/dist/{chunk-QL3ZJWGG.js → chunk-H5FAYLCR.js} +2 -2
- package/dist/{chunk-7JKNWDYN.js → chunk-H7GMGZHI.js} +2 -2
- package/dist/{chunk-4BR5TEXI.js → chunk-HA5Y645X.js} +21 -21
- package/dist/{chunk-KCCZCIDJ.js → chunk-HJSAGGHU.js} +3 -3
- package/dist/{chunk-5QOV52V4.js → chunk-I2AVVARA.js} +2 -2
- package/dist/{chunk-B3NH5UBI.js → chunk-JKGRQW6D.js} +4 -4
- package/dist/{chunk-I5XSXMJQ.js → chunk-JPAUQ7MK.js} +3 -3
- package/dist/{chunk-XQO4A4Q4.js → chunk-K6BQPFRS.js} +3 -3
- package/dist/{chunk-FNA5CUVN.js → chunk-LDSZPRGV.js} +4 -4
- package/dist/{chunk-NFSUGVDY.js → chunk-M7DIIJPW.js} +4 -4
- package/dist/{chunk-D5NAWB4P.js → chunk-MFEO3EHL.js} +3 -3
- package/dist/{chunk-C2GHFADU.js → chunk-N3XSXGAL.js} +2 -2
- package/dist/{chunk-S42TFTM5.js → chunk-OBRMA2VK.js} +3 -3
- package/dist/{chunk-3UZQ5TMG.js → chunk-OCNTMJSY.js} +3 -3
- package/dist/{chunk-KDPXO5PO.js → chunk-OK7CBTFW.js} +5 -5
- package/dist/{chunk-KSBUHLNF.js → chunk-OKR66IGL.js} +7 -7
- package/dist/{chunk-IB6SKACE.js → chunk-P5JF3U65.js} +4 -4
- package/dist/{chunk-NHXBKFHG.js → chunk-PBIV4DE2.js} +67 -67
- package/dist/{chunk-75MKIQON.js → chunk-PCHIHVX6.js} +4 -4
- package/dist/{chunk-PBK257CI.js → chunk-POZ6V4MU.js} +2 -2
- package/dist/{chunk-QC3MKMDK.js → chunk-R7XZW4SB.js} +2 -2
- package/dist/{chunk-4ZTXYT3T.js → chunk-RFB4EXM5.js} +8 -8
- package/dist/{chunk-KI6U2GD2.js → chunk-RNVGXJJZ.js} +13 -13
- package/dist/{chunk-OBJ7FQDX.js → chunk-RZABQ4YH.js} +2 -2
- package/dist/{chunk-FGNDJBT4.js → chunk-SAKWZG5I.js} +6 -6
- package/dist/{chunk-FDPW2M3S.js → chunk-SAYHY2N3.js} +8 -8
- package/dist/{chunk-SNKABK5L.js → chunk-TOW4EJON.js} +5 -5
- package/dist/{chunk-SFOUFU4C.js → chunk-U4DSFCH5.js} +55 -5
- package/dist/{chunk-7FPFYYCW.js → chunk-U5CTYBAN.js} +7 -7
- package/dist/{chunk-R4NOZBOY.js → chunk-UFFIU57H.js} +4 -4
- package/dist/{chunk-B7JRCM2S.js → chunk-UZ55F3UK.js} +4 -4
- package/dist/{chunk-R3LANPQZ.js → chunk-VA4JK4TW.js} +3 -3
- package/dist/{chunk-3BI62SPQ.js → chunk-W5MKVFBQ.js} +4 -4
- package/dist/{chunk-64ODZADR.js → chunk-WQNN6WLB.js} +13 -13
- package/dist/{chunk-WM7Y3MDE.js → chunk-WXLZCBPG.js} +14 -14
- package/dist/{chunk-HQPL34O6.js → chunk-XFQAA2SU.js} +2 -2
- package/dist/{chunk-H3ZBAR2L.js → chunk-XM56DAM7.js} +8 -8
- package/dist/{chunk-PFW7WFAT.js → chunk-XVOODRNK.js} +4 -4
- package/dist/{chunk-7MPI7NIW.js → chunk-YJK4NPXC.js} +3 -3
- package/dist/cli.js +33 -33
- package/dist/{codegen-command-6AB3REIV.js → codegen-command-H3HO7UFA.js} +47 -47
- package/dist/{commands-FOHIPDKZ.js → commands-IFRAGWGK.js} +2 -2
- package/dist/{completion-XUBGMKGV.js → completion-RTXCODHS.js} +2 -2
- package/dist/{config-544VCRKP.js → config-EHFXNFSP.js} +3 -3
- package/dist/{deploy-command-LRJBO4LX.js → deploy-command-7PWQJ4VV.js} +40 -40
- package/dist/{deploy-source-JTPMMO3B.js → deploy-source-CJHEVGOS.js} +25 -25
- package/dist/{dev-env-sync-ODJYGSWT.js → dev-env-sync-VVLYQUPR.js} +34 -34
- package/dist/{display-name-hint-EZQK2PDU.js → display-name-hint-BKPMISQU.js} +10 -10
- package/dist/{env-example-refresh-DR44A6YZ.js → env-example-refresh-GLFC2FTE.js} +48 -48
- package/dist/{env-pull-command-47XQO5J2.js → env-pull-command-OY3SXNJC.js} +35 -35
- package/dist/{env-target-HBY2LQUA.js → env-target-PDDDAA5I.js} +9 -9
- package/dist/{env-var-command-HTKKTBOC.js → env-var-command-UTYDJN24.js} +35 -35
- package/dist/{ephemeral-H24NF6WP.js → ephemeral-CART6DIR.js} +8 -8
- package/dist/{ephemeral-command-T5EFYCEY.js → ephemeral-command-ALIHUF7G.js} +36 -36
- package/dist/{ephemeral-state-YLZQIOBF.js → ephemeral-state-HPKSKC4Y.js} +7 -7
- package/dist/{generate-command-36OWZF23.js → generate-command-S37XFYPD.js} +52 -52
- package/dist/{gitignore-NLLQURLD.js → gitignore-DKDWGWPS.js} +13 -13
- package/dist/{impersonate-command-HJYBQV6X.js → impersonate-command-HPCSKJAV.js} +31 -31
- package/dist/{import-TXYVFYJS.js → import-RUBCGLCA.js} +4 -4
- package/dist/{init-command-54M3AA27.js → init-command-RWXBXJPG.js} +38 -38
- package/dist/{init-modules-MVULNRKR.js → init-modules-LFLW2PQC.js} +7 -7
- package/dist/{init-web-MSXDARRF.js → init-web-OGKACAOC.js} +2 -2
- package/dist/internal.js +1 -1
- package/dist/{keep-data-merge-Y6PYJOPW.js → keep-data-merge-7JGGZKDM.js} +18 -18
- package/dist/{landing-record-LBJMKORB.js → landing-record-QJV7KNS4.js} +15 -15
- package/dist/{local-engine-choice-SXSWNCZT.js → local-engine-choice-NNSHE5FO.js} +28 -28
- package/dist/{local-engine-command-3GICPJPL.js → local-engine-command-UGIZ4UO6.js} +33 -33
- package/dist/{local-engine-deploy-ID4JJXB5.js → local-engine-deploy-ZZVHBI2X.js} +11 -11
- package/dist/{local-engine-lookup-IC7BKAYP.js → local-engine-lookup-QFRKO35F.js} +2 -2
- package/dist/{local-engine-mcp-bridge-3SOJMZ5T.js → local-engine-mcp-bridge-T2EFRRAF.js} +4 -4
- package/dist/{local-engine-mcp-command-ZUS7LQ7F.js → local-engine-mcp-command-YUSZC7MF.js} +35 -35
- package/dist/{local-engine-process-HG5BGG3F.js → local-engine-process-XH35DURU.js} +6 -6
- package/dist/{local-engine-update-check-SKZR7YSC.js → local-engine-update-check-HAXE7BVG.js} +4 -4
- package/dist/{lock-commands-PTBKQE72.js → lock-commands-VT4R2DEE.js} +38 -38
- package/dist/{login-command-HH4FA65C.js → login-command-4D3KPQUY.js} +21 -21
- package/dist/{logout-command-WPUWLZSW.js → logout-command-ALKHCJKS.js} +12 -12
- package/dist/{marketplace-command-ISG2U5NA.js → marketplace-command-64TE2NGV.js} +28 -28
- package/dist/{marketplace-resolve-PWEYJ2XS.js → marketplace-resolve-HPCRNV5O.js} +5 -5
- package/dist/{meta-client-P7E6PCB7.js → meta-client-7MLLUZB4.js} +10 -10
- package/dist/{module-manifest-KY7J63HG.js → module-manifest-EFE6JBZW.js} +3 -3
- package/dist/node.js +35 -35
- package/dist/{operation-outcome-2Z6II4HB.js → operation-outcome-TYAOVNOM.js} +19 -19
- package/dist/{output-target-MWYZ5HYN.js → output-target-63ECBUX2.js} +14 -14
- package/dist/{plan-disclosure-PQAXSAUH.js → plan-disclosure-WEMB5ZJ2.js} +11 -11
- package/dist/{plugin-contributions-PAGG6SUP.js → plugin-contributions-U5PAZKBE.js} +4 -4
- package/dist/{plugin-prompt-2MX6LF6X.js → plugin-prompt-O5PAMV5B.js} +4 -4
- package/dist/{plugin-questions-AP6VUTOB.js → plugin-questions-ZVYNKDRB.js} +3 -3
- package/dist/{preflight-command-6LCPYVTV.js → preflight-command-OUVAX5IJ.js} +42 -42
- package/dist/{profile-command-74AR3FB7.js → profile-command-NUO5U2HQ.js} +22 -22
- package/dist/{profile-pointer-4HJQH5ZR.js → profile-pointer-VTOZDBHM.js} +3 -3
- package/dist/{project-dependency-ORX45I74.js → project-dependency-EZNTHMWI.js} +6 -6
- package/dist/{project-sdk-IYMFVQRC.js → project-sdk-ZGJM4WYQ.js} +3 -3
- package/dist/{promote-command-YD3YQWJG.js → promote-command-MGLAYQDY.js} +57 -57
- package/dist/{prompt-ZZUYWFQX.js → prompt-F7UVH4GP.js} +3 -3
- package/dist/{publish-command-7VKTBVVP.js → publish-command-KVGNFBSU.js} +43 -43
- package/dist/{pull-command-XIYO7WTF.js → pull-command-OVXIMVUB.js} +50 -50
- package/dist/{pull-superseded-UZ3MB53B.js → pull-superseded-77UZ7CHH.js} +3 -3
- package/dist/{release-command-NADSTRM2.js → release-command-E54WUJKB.js} +46 -46
- package/dist/{release-ns-command-2VUTJ4A6.js → release-ns-command-SLRL3O3W.js} +65 -65
- package/dist/{retry-command-VZYLYDVX.js → retry-command-S5QALD5Z.js} +7 -7
- package/dist/{routes-manifest-Z7I4TZIL.js → routes-manifest-ET2TTSCL.js} +12 -2
- package/dist/{routes-manifest-file-BDJ6XQXF.js → routes-manifest-file-IX4TOZCO.js} +5 -5
- package/dist/{secrets-file-KBMEY2SS.js → secrets-file-4NQWGCJG.js} +13 -13
- package/dist/{secrets-fill-command-YUAJSOZW.js → secrets-fill-command-5NNHSYFX.js} +37 -37
- package/dist/{seed-KEPIS7UZ.js → seed-5YLQRT2D.js} +3 -3
- package/dist/{source-resolve-KB7NWL3I.js → source-resolve-HSJSVKUC.js} +17 -17
- package/dist/{static-host-JAOT3N3E.js → static-host-TQP3FXPI.js} +4 -4
- package/dist/{status-command-YRIB6UJP.js → status-command-UFIMW7SZ.js} +32 -32
- package/dist/{store-YFNDD6GZ.js → store-ZE5BXCOW.js} +5 -5
- package/dist/{sync-contributions-LMLYV7VL.js → sync-contributions-35ZAYBUH.js} +8 -8
- package/dist/{sync-record-U65BCPSP.js → sync-record-ILWS44DG.js} +9 -9
- package/dist/{table-E5YTK7QX.js → table-V3LTQUY6.js} +5 -5
- package/dist/{tables-command-IONX4ZF2.js → tables-command-TISOU6DR.js} +30 -30
- package/dist/{tenant-DAXJ4P4D.js → tenant-7WUS7Q6V.js} +9 -9
- package/dist/{tenant-command-635Y2YCR.js → tenant-command-ITCPN43T.js} +67 -67
- package/dist/{test-command-CN76VVUK.js → test-command-7SFAJ6HX.js} +30 -30
- package/dist/{tests-CLDZWLKF.js → tests-ENFUACKD.js} +5 -5
- package/dist/{token-WL7SSK64.js → token-OXGOA6WE.js} +8 -8
- package/dist/{toolchain-hooks-VI2WOPST.js → toolchain-hooks-QIFGPGH2.js} +4 -4
- package/dist/{toolchain-modules-OXUU342N.js → toolchain-modules-Q3Z6APPF.js} +4 -4
- package/dist/{toolchain-peers-AIKWKJH7.js → toolchain-peers-K44IINPG.js} +7 -7
- package/dist/{tracked-backend-ON5V2RBJ.js → tracked-backend-IYTIZZYV.js} +28 -28
- package/dist/{update-check-I75SHTAD.js → update-check-LSCQRDRR.js} +36 -36
- package/dist/{upgrade-command-2J7P5NSX.js → upgrade-command-RQEQJO5Y.js} +38 -38
- package/dist/{whoami-command-HJJK2QJS.js → whoami-command-NT3FVBZM.js} +11 -11
- package/dist/{workspace-7QVUA7HI.js → workspace-5RHOJC7K.js} +4 -4
- package/dist/{workspace-binding-D7HZTF7N.js → workspace-binding-YUU6KB53.js} +10 -10
- package/dist/{workspace-command-KXTR5SOE.js → workspace-command-QSJHX5RS.js} +61 -61
- package/dist/{workspace-env-RASIOYSN.js → workspace-env-M7RYVJB3.js} +10 -10
- package/dist/{workspace-export-UHY22VBI.js → workspace-export-GHMUSX2P.js} +4 -4
- package/dist/{writable-2A6MBSFD.js → writable-Y6CE2CGK.js} +3 -3
- package/dist/{xanosdk-import-767BQ2HP.js → xanosdk-import-4TLNYFKC.js} +5 -5
- package/dist/{xanosdk-project-PETOFVUQ.js → xanosdk-project-4NH6332J.js} +11 -11
- package/guides/cli.md +1 -1
- package/guides/codes.md +2 -2
- package/guides/typed-frontend.md +14 -0
- package/llms-full.txt +1 -1
- package/llms.txt +1 -1
- package/manifest.json +2 -2
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
UsageError,
|
|
6
6
|
displayPath
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D4VKPOD4.js";
|
|
8
8
|
|
|
9
9
|
// src/emit/writable.ts
|
|
10
10
|
import { accessSync, constants, existsSync, statSync } from "fs";
|
|
@@ -63,4 +63,4 @@ export {
|
|
|
63
63
|
unreadableError,
|
|
64
64
|
assertReadWritable
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-AUYXBKGR.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
MANIFEST_HEADER,
|
|
3
3
|
ROUTES_MANIFEST_BASENAME,
|
|
4
4
|
RouteManifestError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-U4DSFCH5.js";
|
|
6
6
|
import {
|
|
7
7
|
byCodeUnit
|
|
8
8
|
} from "./chunk-WAVNUTMT.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
detail,
|
|
17
17
|
info,
|
|
18
18
|
warn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-D4VKPOD4.js";
|
|
20
20
|
|
|
21
21
|
// src/emit/routes-manifest-modules.ts
|
|
22
22
|
var MODULE_DIALECT = {
|
|
@@ -254,4 +254,4 @@ export {
|
|
|
254
254
|
fireRoutesManifest,
|
|
255
255
|
anyDeclares
|
|
256
256
|
};
|
|
257
|
-
//# sourceMappingURL=chunk-
|
|
257
|
+
//# sourceMappingURL=chunk-BXVNRUDB.js.map
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
parseJsonAnswer,
|
|
8
8
|
serverMessage,
|
|
9
9
|
statusLabel
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DILYWJVP.js";
|
|
11
11
|
import {
|
|
12
12
|
localPackageName,
|
|
13
13
|
packageNameOf
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-H5FAYLCR.js";
|
|
15
15
|
import {
|
|
16
16
|
readEnvVar
|
|
17
17
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
CliError,
|
|
20
20
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
21
21
|
info
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-D4VKPOD4.js";
|
|
23
23
|
import {
|
|
24
24
|
suggest
|
|
25
25
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -359,7 +359,7 @@ async function unlistedModuleError(command, name) {
|
|
|
359
359
|
}
|
|
360
360
|
async function withCatalogueRerun(err, args, command) {
|
|
361
361
|
if (!isCatalogueOutage(err)) return err;
|
|
362
|
-
const { retryCommand } = await import("./retry-command-
|
|
362
|
+
const { retryCommand } = await import("./retry-command-S5QALD5Z.js");
|
|
363
363
|
const rerun = retryCommand(args, { command }).command;
|
|
364
364
|
return new CliError("SDK_ERROR", `${err.message}
|
|
365
365
|
Run \`${rerun}\` again once it answers.`, {
|
|
@@ -386,4 +386,4 @@ export {
|
|
|
386
386
|
unlistedModuleError,
|
|
387
387
|
withCatalogueRerun
|
|
388
388
|
};
|
|
389
|
-
//# sourceMappingURL=chunk-
|
|
389
|
+
//# sourceMappingURL=chunk-C4TZP5PQ.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pinWrittenText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EMAFZROF.js";
|
|
4
4
|
import {
|
|
5
5
|
acquireEngine,
|
|
6
6
|
restartMismatchedEngine
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XM56DAM7.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveProjectEntry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ETMP7SJ3.js";
|
|
11
11
|
import {
|
|
12
12
|
confirm
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XFQAA2SU.js";
|
|
14
14
|
import {
|
|
15
15
|
cachedEngineEntry,
|
|
16
16
|
engineVersion,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
stopAllEngines,
|
|
21
21
|
stopEngineNamed,
|
|
22
22
|
stopOrphanedEngineProcesses
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OCNTMJSY.js";
|
|
24
24
|
import {
|
|
25
25
|
diskBytes,
|
|
26
26
|
listLegacyCacheDirs,
|
|
@@ -29,18 +29,18 @@ import {
|
|
|
29
29
|
readEngineEntry,
|
|
30
30
|
readPin,
|
|
31
31
|
writePin
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2BHYGUTI.js";
|
|
33
33
|
import {
|
|
34
34
|
ENGINE_RELEASES_URL_ENV,
|
|
35
35
|
normalizeEngineVersion,
|
|
36
36
|
resolveEngineRelease,
|
|
37
37
|
usesCustomReleaseManager
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-CTUIMNEM.js";
|
|
39
39
|
import {
|
|
40
40
|
NO_CREDENTIAL,
|
|
41
41
|
SourceError,
|
|
42
42
|
resolveSource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-WXLZCBPG.js";
|
|
44
44
|
import {
|
|
45
45
|
clearEngineRecordsNamed,
|
|
46
46
|
clearEngineRecordsStillMatching,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
} from "./chunk-F3IA3YWI.js";
|
|
56
56
|
import {
|
|
57
57
|
yesRerun
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-N3XSXGAL.js";
|
|
59
59
|
import {
|
|
60
60
|
UsageError,
|
|
61
61
|
detail,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
unknownSubcommand,
|
|
69
69
|
warn,
|
|
70
70
|
writeJson
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-D4VKPOD4.js";
|
|
72
72
|
import {
|
|
73
73
|
suggest,
|
|
74
74
|
suggestAll
|
|
@@ -84,7 +84,7 @@ async function runLocalEngineCommand(args, opts = {}) {
|
|
|
84
84
|
case "token":
|
|
85
85
|
return runToken(args, opts);
|
|
86
86
|
case "mcp":
|
|
87
|
-
return (await import("./local-engine-mcp-command-
|
|
87
|
+
return (await import("./local-engine-mcp-command-YUSZC7MF.js")).runMcp(args, opts);
|
|
88
88
|
case "stop":
|
|
89
89
|
return runStop(args, opts);
|
|
90
90
|
case "update":
|
|
@@ -372,7 +372,7 @@ Run this from the project's root.`
|
|
|
372
372
|
}
|
|
373
373
|
async function repointDevEnvAfterRestart(dir, restarted) {
|
|
374
374
|
if (restarted.previousUrl === void 0) return void 0;
|
|
375
|
-
const { repointDevEnv } = await import("./dev-env-sync-
|
|
375
|
+
const { repointDevEnv } = await import("./dev-env-sync-VVLYQUPR.js");
|
|
376
376
|
try {
|
|
377
377
|
return repointDevEnv(dir, restarted.previousUrl, restarted.url);
|
|
378
378
|
} catch (err) {
|
|
@@ -704,4 +704,4 @@ export {
|
|
|
704
704
|
reportOrphanSweep,
|
|
705
705
|
resolveLiveEngine
|
|
706
706
|
};
|
|
707
|
-
//# sourceMappingURL=chunk-
|
|
707
|
+
//# sourceMappingURL=chunk-CPFWVB3V.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
TransportError,
|
|
6
6
|
describeTransportFailure,
|
|
7
7
|
fetchOrExplain
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DILYWJVP.js";
|
|
9
9
|
import {
|
|
10
10
|
readEnvVar
|
|
11
11
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
EngineReleaseNotFoundError,
|
|
180
180
|
resolveEngineRelease
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-CTUIMNEM.js.map
|
|
@@ -1865,7 +1865,7 @@ var COMMANDS = {
|
|
|
1865
1865
|
routes: {
|
|
1866
1866
|
group: "Author",
|
|
1867
1867
|
display: "routes <file>",
|
|
1868
|
-
summary: "List
|
|
1868
|
+
summary: "List every address a frontend references \u2014 api:<canonical>/<name> routes, realtime sockets and channels, MCP servers",
|
|
1869
1869
|
args: [{ name: "file", required: true, path: true }],
|
|
1870
1870
|
flags: [
|
|
1871
1871
|
"lock",
|
|
@@ -3116,4 +3116,4 @@ export {
|
|
|
3116
3116
|
movedVerb,
|
|
3117
3117
|
installCliDiagnosticSink
|
|
3118
3118
|
};
|
|
3119
|
-
//# sourceMappingURL=chunk-
|
|
3119
|
+
//# sourceMappingURL=chunk-D4VKPOD4.js.map
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
hostLabel,
|
|
6
6
|
questionSets,
|
|
7
7
|
resolvePluginAnswers
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EGEANMMK.js";
|
|
9
9
|
import {
|
|
10
10
|
gitattributesSpec
|
|
11
11
|
} from "./chunk-LJM5CIY4.js";
|
|
12
12
|
import {
|
|
13
13
|
UsageError,
|
|
14
14
|
warn
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-D4VKPOD4.js";
|
|
16
16
|
import {
|
|
17
17
|
withArticle
|
|
18
18
|
} from "./chunk-36JUQZVQ.js";
|
|
@@ -221,4 +221,4 @@ export {
|
|
|
221
221
|
contributionOutcomes,
|
|
222
222
|
resolveContributions
|
|
223
223
|
};
|
|
224
|
-
//# sourceMappingURL=chunk-
|
|
224
|
+
//# sourceMappingURL=chunk-DB7P2SSK.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-HU7F56VF.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalFileNotFoundError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-D4VKPOD4.js";
|
|
7
7
|
import {
|
|
8
8
|
buildContentEnvelope
|
|
9
9
|
} from "./chunk-7FIMUFBP.js";
|
|
@@ -404,4 +404,4 @@ export {
|
|
|
404
404
|
collectNonPublicSeedValues,
|
|
405
405
|
seedRowsByTableGuid
|
|
406
406
|
};
|
|
407
|
-
//# sourceMappingURL=chunk-
|
|
407
|
+
//# sourceMappingURL=chunk-DFCYAEBE.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ROUTES_MANIFEST_BASENAME
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-U4DSFCH5.js";
|
|
4
4
|
import {
|
|
5
5
|
questionOrCancel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XFQAA2SU.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LDSZPRGV.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AMHAGMJM.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5RSPMSSQ.js";
|
|
17
17
|
import {
|
|
18
18
|
parseSlot,
|
|
19
19
|
requireBackendSlot
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DZUNF7IH.js";
|
|
21
21
|
import {
|
|
22
22
|
MERGED_IN_EXISTING,
|
|
23
23
|
XANO_DIR,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
existingProjectClashes,
|
|
27
27
|
isNonEmptyDir,
|
|
28
28
|
scaffoldProject
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3XZ44H2E.js";
|
|
30
30
|
import {
|
|
31
31
|
inProject,
|
|
32
32
|
installModules,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
preflightPackages,
|
|
35
35
|
rebaseLocalSpec,
|
|
36
36
|
renderXanoIndexWithModules
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-SAKWZG5I.js";
|
|
38
38
|
import {
|
|
39
39
|
npmViewVersion
|
|
40
40
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -43,14 +43,14 @@ import {
|
|
|
43
43
|
} from "./chunk-FWD7AL6N.js";
|
|
44
44
|
import {
|
|
45
45
|
isLocalSpecifier
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-C4TZP5PQ.js";
|
|
47
47
|
import {
|
|
48
48
|
readToolchainBlock,
|
|
49
49
|
readToolchainConfig
|
|
50
50
|
} from "./chunk-DXUICABI.js";
|
|
51
51
|
import {
|
|
52
52
|
statusLabel
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-DILYWJVP.js";
|
|
54
54
|
import {
|
|
55
55
|
detectInstallRoot,
|
|
56
56
|
detectPackageManager,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
localPathOf,
|
|
63
63
|
packageNameOf,
|
|
64
64
|
readInstalledManifestState
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-H5FAYLCR.js";
|
|
66
66
|
import {
|
|
67
67
|
readEnvVar
|
|
68
68
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -130,7 +130,7 @@ import {
|
|
|
130
130
|
unknownFlag,
|
|
131
131
|
warn,
|
|
132
132
|
writeJson
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-D4VKPOD4.js";
|
|
134
134
|
import {
|
|
135
135
|
suggest
|
|
136
136
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -652,8 +652,8 @@ Nothing was written. ` + (process.stdin.isTTY === true ? `Re-run with --force to
|
|
|
652
652
|
...listed.length > 30 ? [`\u2026 and ${listed.length - 30} more`] : []
|
|
653
653
|
]);
|
|
654
654
|
if (args.yes === true) return scripts;
|
|
655
|
-
const { confirm } = await import("./prompt-
|
|
656
|
-
const { yesRerun } = await import("./retry-command-
|
|
655
|
+
const { confirm } = await import("./prompt-F7UVH4GP.js");
|
|
656
|
+
const { yesRerun } = await import("./retry-command-S5QALD5Z.js");
|
|
657
657
|
const { rerun, note } = yesRerun(args, "init");
|
|
658
658
|
const noun = scripts.length === 0 ? "file" : changed.length === 0 ? "script" : "file and script";
|
|
659
659
|
const ok = await confirm(
|
|
@@ -728,7 +728,7 @@ async function runInitCommand(args) {
|
|
|
728
728
|
}
|
|
729
729
|
const source = resolveFromSource(args.from);
|
|
730
730
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
731
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
731
|
+
const { runInitFromCommand } = await import("./codegen-command-H3HO7UFA.js");
|
|
732
732
|
return runInitFromCommand(args, source);
|
|
733
733
|
}
|
|
734
734
|
rejectPullOnlyFlags(args);
|
|
@@ -748,10 +748,10 @@ async function runInitCommand(args) {
|
|
|
748
748
|
return flagNames().includes(bare) || bare.startsWith("no-") && flagNames().includes(bare.slice(3));
|
|
749
749
|
});
|
|
750
750
|
if (unclaimable.length > 0) throw unknownFlag(unclaimable, { command: "init" });
|
|
751
|
-
const { refusePlugAndPlay } = await import("./project-dependency-
|
|
752
|
-
const { retryCommand } = await import("./retry-command-
|
|
751
|
+
const { refusePlugAndPlay } = await import("./project-dependency-EZNTHMWI.js");
|
|
752
|
+
const { retryCommand } = await import("./retry-command-S5QALD5Z.js");
|
|
753
753
|
refusePlugAndPlay(targetDir, retryCommand(args, { command: "init" }).command);
|
|
754
|
-
const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-
|
|
754
|
+
const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-HPCRNV5O.js");
|
|
755
755
|
const resolvedModules = typedModules.length === 0 ? [] : await resolveMarketplaceSpecs(typedModules, "xanosdk init --marketplace").catch(async (err) => {
|
|
756
756
|
throw await withCatalogueRerun(err, args, "init");
|
|
757
757
|
});
|
|
@@ -785,20 +785,20 @@ async function runInitCommand(args) {
|
|
|
785
785
|
blank();
|
|
786
786
|
moduleOutcome = await installModules(targetDir, modules);
|
|
787
787
|
if (moduleOutcome.toolchain.length > 0) {
|
|
788
|
-
const { addToolchainPeers } = await import("./toolchain-peers-
|
|
788
|
+
const { addToolchainPeers } = await import("./toolchain-peers-K44IINPG.js");
|
|
789
789
|
const rerun = retryCommand(args, { command: "init" }).command;
|
|
790
790
|
for (const pkg of moduleOutcome.toolchain) await addToolchainPeers(targetDir, pkg, rerun);
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
793
|
let scaffolded = false;
|
|
794
794
|
try {
|
|
795
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
795
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-Q3Z6APPF.js");
|
|
796
796
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
797
797
|
const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
|
|
798
798
|
if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
|
|
799
799
|
const choice = await resolveThemeChoice(args);
|
|
800
|
-
const { pluginPrompter } = await import("./plugin-prompt-
|
|
801
|
-
const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-
|
|
800
|
+
const { pluginPrompter } = await import("./plugin-prompt-O5PAMV5B.js");
|
|
801
|
+
const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-U5PAZKBE.js");
|
|
802
802
|
const { answers: pluginAnswers } = await runPluginQuestionnaire(toolchain.loaded, {
|
|
803
803
|
host: "init",
|
|
804
804
|
unknownFlags: args.unknownFlags,
|
|
@@ -924,10 +924,10 @@ async function runInitCommand(args) {
|
|
|
924
924
|
}
|
|
925
925
|
}
|
|
926
926
|
if (result.install === "installed") {
|
|
927
|
-
const { skewedProjectSdk } = await import("./project-sdk-
|
|
927
|
+
const { skewedProjectSdk } = await import("./project-sdk-ZGJM4WYQ.js");
|
|
928
928
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
929
929
|
if (installedSdk !== void 0) {
|
|
930
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
930
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-RQEQJO5Y.js");
|
|
931
931
|
const rendered = reconcileWithInstalled(targetDir);
|
|
932
932
|
if (rendered.length > 0) {
|
|
933
933
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -1070,15 +1070,15 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
|
|
|
1070
1070
|
const { resetLockOverrides, seedLockOverrides } = await import("./store-6VNCD4D7.js");
|
|
1071
1071
|
const { readLockFile, writeLockFile } = await import("./io-PGTCBSIQ.js");
|
|
1072
1072
|
const { setDiagnosticSink } = await import("./diagnostics-FNVNRYMB.js");
|
|
1073
|
-
const { planRouteManifest } = await import("./routes-manifest-
|
|
1074
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
1075
|
-
const { isEnabled } = await import("./toolchain-modules-
|
|
1073
|
+
const { planRouteManifest } = await import("./routes-manifest-ET2TTSCL.js");
|
|
1074
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-IX4TOZCO.js");
|
|
1075
|
+
const { isEnabled } = await import("./toolchain-modules-Q3Z6APPF.js");
|
|
1076
1076
|
const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
|
|
1077
1077
|
resetLockOverrides();
|
|
1078
1078
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
1079
1079
|
const ctx = createLockContext(existing);
|
|
1080
1080
|
const { envNamesRead } = await import("./guards-RU4C7TFG.js");
|
|
1081
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
1081
|
+
const { refreshEnvExample } = await import("./env-example-refresh-GLFC2FTE.js");
|
|
1082
1082
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
1083
1083
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
1084
1084
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -1137,15 +1137,15 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1137
1137
|
const name = args.profile ?? (fromEnv ? envRaw : void 0);
|
|
1138
1138
|
if (name === void 0) return;
|
|
1139
1139
|
if (fromEnv && targetDir !== void 0) {
|
|
1140
|
-
const { POINTER_FILE } = await import("./profile-pointer-
|
|
1140
|
+
const { POINTER_FILE } = await import("./profile-pointer-VTOZDBHM.js");
|
|
1141
1141
|
if (existsSync(join(targetDir, POINTER_FILE))) return;
|
|
1142
1142
|
}
|
|
1143
|
-
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-
|
|
1143
|
+
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-ZE5BXCOW.js");
|
|
1144
1144
|
const path = resolveAuthFilePath(args, "read");
|
|
1145
1145
|
const file = readCredentialFile(path);
|
|
1146
1146
|
const stored = file === null ? [] : profileNames(file);
|
|
1147
1147
|
if (stored.includes(name)) return;
|
|
1148
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
1148
|
+
const { ProfileNotFoundError } = await import("./token-OXGOA6WE.js");
|
|
1149
1149
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
1150
1150
|
throw new ProfileNotFoundError(
|
|
1151
1151
|
`No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
|
|
@@ -1154,7 +1154,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1154
1154
|
);
|
|
1155
1155
|
}
|
|
1156
1156
|
async function envCredentialSet() {
|
|
1157
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
1157
|
+
const { envMetaCredentialVarsSet } = await import("./token-OXGOA6WE.js");
|
|
1158
1158
|
return envMetaCredentialVarsSet().length > 0;
|
|
1159
1159
|
}
|
|
1160
1160
|
function loginNextStep(pin, projectDir) {
|
|
@@ -1178,8 +1178,8 @@ function runFromHere(text, targetDir) {
|
|
|
1178
1178
|
return text.replace(/`npx xanosdk /g, `\`${inProject(targetDir)}xanosdk `);
|
|
1179
1179
|
}
|
|
1180
1180
|
async function planProfilePin(args, targetDir, opts = {}) {
|
|
1181
|
-
const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-
|
|
1182
|
-
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-
|
|
1181
|
+
const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-VTOZDBHM.js");
|
|
1182
|
+
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-ZE5BXCOW.js");
|
|
1183
1183
|
const credentialPath = resolveAuthFilePath(args, "read");
|
|
1184
1184
|
const file = readCredentialFile(credentialPath);
|
|
1185
1185
|
const signedIn = file !== null && profileNames(file).length > 0 || await envCredentialSet();
|
|
@@ -1209,7 +1209,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1209
1209
|
};
|
|
1210
1210
|
}
|
|
1211
1211
|
if (opts.credentialRead === true) {
|
|
1212
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1212
|
+
const { environmentCredentialVars } = await import("./token-OXGOA6WE.js");
|
|
1213
1213
|
const env = environmentCredentialVars();
|
|
1214
1214
|
if (env.complete) {
|
|
1215
1215
|
return {
|
|
@@ -1232,7 +1232,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1232
1232
|
});
|
|
1233
1233
|
const stored = file === null ? [] : profileNames(file);
|
|
1234
1234
|
if (!stored.includes(selection.name)) {
|
|
1235
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1235
|
+
const env = stored.length === 0 ? (await import("./token-OXGOA6WE.js")).environmentCredentialVars() : void 0;
|
|
1236
1236
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1237
1237
|
return {
|
|
1238
1238
|
name: null,
|
|
@@ -1256,7 +1256,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1256
1256
|
};
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
|
-
const { writePointerFile } = await import("./profile-pointer-
|
|
1259
|
+
const { writePointerFile } = await import("./profile-pointer-VTOZDBHM.js");
|
|
1260
1260
|
return {
|
|
1261
1261
|
name: selection.name,
|
|
1262
1262
|
signedIn,
|
|
@@ -1273,7 +1273,7 @@ async function envAddressesElsewhere(file, name, credentialPath) {
|
|
|
1273
1273
|
const instance = readEnvVar("XANO_INSTANCE_URL")?.trim();
|
|
1274
1274
|
const workspace = readEnvVar("XANO_WORKSPACE_ID")?.trim();
|
|
1275
1275
|
if (instance === void 0 || workspace === void 0 || readEnvVar("XANO_META_TOKEN") === void 0) return null;
|
|
1276
|
-
const { readProfile, sameOriginAs } = await import("./store-
|
|
1276
|
+
const { readProfile, sameOriginAs } = await import("./store-ZE5BXCOW.js");
|
|
1277
1277
|
let record;
|
|
1278
1278
|
try {
|
|
1279
1279
|
record = readProfile(file, name, credentialPath);
|
|
@@ -1289,7 +1289,7 @@ async function envAddressesElsewhere(file, name, credentialPath) {
|
|
|
1289
1289
|
};
|
|
1290
1290
|
}
|
|
1291
1291
|
async function storeEnvCredentialCommand(credentialPath, targetDir) {
|
|
1292
|
-
const { credentialFileFlag, profileAddCommand } = await import("./store-
|
|
1292
|
+
const { credentialFileFlag, profileAddCommand } = await import("./store-ZE5BXCOW.js");
|
|
1293
1293
|
const { DEFAULT_PROFILE } = await import("./profile-select-45G5VPJK.js");
|
|
1294
1294
|
const instance = readEnvVar("XANO_INSTANCE_URL");
|
|
1295
1295
|
const workspaceId = readEnvVar("XANO_WORKSPACE_ID");
|
|
@@ -1325,4 +1325,4 @@ export {
|
|
|
1325
1325
|
projectCli,
|
|
1326
1326
|
planProfilePin
|
|
1327
1327
|
};
|
|
1328
|
-
//# sourceMappingURL=chunk-
|
|
1328
|
+
//# sourceMappingURL=chunk-DH32QXVI.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-X2NL4KUO.js";
|
|
7
7
|
import {
|
|
8
8
|
UsageError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D4VKPOD4.js";
|
|
10
10
|
|
|
11
11
|
// src/util/last-credential.ts
|
|
12
12
|
import { AsyncLocalStorage } from "async_hooks";
|
|
@@ -650,4 +650,4 @@ export {
|
|
|
650
650
|
fetchReadOrExplain,
|
|
651
651
|
retryingFetch
|
|
652
652
|
};
|
|
653
|
-
//# sourceMappingURL=chunk-
|
|
653
|
+
//# sourceMappingURL=chunk-DILYWJVP.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
questionOrCancel
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XFQAA2SU.js";
|
|
4
4
|
import {
|
|
5
5
|
style,
|
|
6
6
|
terminalText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D4VKPOD4.js";
|
|
8
8
|
|
|
9
9
|
// src/emit/plugin-prompt.ts
|
|
10
10
|
import { createInterface } from "readline/promises";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
promptPluginQuestion,
|
|
55
55
|
pluginPrompter
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-DYGRTWAI.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
isKindShaped,
|
|
8
8
|
parseSource,
|
|
9
9
|
sourceSpellings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D4VKPOD4.js";
|
|
11
11
|
|
|
12
12
|
// src/emit/backend-slot.ts
|
|
13
13
|
function commandPath(command, subcommand) {
|
|
@@ -124,4 +124,4 @@ export {
|
|
|
124
124
|
refusedKind,
|
|
125
125
|
parseSlot
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-DZUNF7IH.js.map
|