@xano/sdk 1.0.3 → 1.0.5
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 +30 -4
- package/README.md +232 -334
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-MQKCS7QZ.js → agent-file-refresh-KVLR7M5Y.js} +13 -13
- package/dist/{answer-shape-LVV2SVBK.js → answer-shape-XGR2DGWY.js} +5 -5
- package/dist/{backend-dir-DGAQL4K5.js → backend-dir-IE4RMUFH.js} +12 -12
- package/dist/{backend-slot-NSCTWCUX.js → backend-slot-6HBWG5FN.js} +3 -3
- package/dist/bin.js +52 -52
- package/dist/{branch-ONWPJ4V6.js → branch-T2APKPVG.js} +9 -9
- package/dist/{branch-commands-R4PPN3Z7.js → branch-commands-HXXTCSOO.js} +26 -26
- package/dist/{capture-3JNUA6C2.js → capture-HBXFXZEW.js} +4 -4
- package/dist/{chunk-A6QTTJUI.js → chunk-3BJYQGAZ.js} +2 -2
- package/dist/{chunk-5W7DOMIU.js → chunk-3IYVHVM6.js} +2 -2
- package/dist/{chunk-ANHOEBTJ.js → chunk-3VX7VAQT.js} +4 -4
- package/dist/{chunk-FWXSTFN2.js → chunk-3WHWOKU4.js} +4 -4
- package/dist/{chunk-LXNQWHZM.js → chunk-44CWK6YC.js} +3 -3
- package/dist/{chunk-KCAL4QYP.js → chunk-4GDEEY2U.js} +4 -4
- package/dist/{chunk-KTGRGWZW.js → chunk-4NEBBKOP.js} +7 -7
- package/dist/{chunk-UKUIUS3E.js → chunk-4QBGE3EO.js} +5 -5
- package/dist/{chunk-IVKRT476.js → chunk-4QFBEKXI.js} +2 -2
- package/dist/{chunk-OOXWYAA4.js → chunk-57A5ZKPO.js} +1 -1
- package/dist/{chunk-A4KBHTMK.js → chunk-57B56I4B.js} +29 -29
- package/dist/{chunk-OPHB5ORL.js → chunk-57HMNJGB.js} +120 -76
- package/dist/{chunk-JTM5D7CT.js → chunk-5D6DGF3W.js} +8 -8
- package/dist/{chunk-E65QIWOO.js → chunk-5RLAF6RL.js} +4 -4
- package/dist/{chunk-MEE5RZ6G.js → chunk-5XVBT6CQ.js} +2 -2
- package/dist/{chunk-RX3EMQGN.js → chunk-5YBNXNKU.js} +2 -2
- package/dist/{chunk-NA3PXMEF.js → chunk-64WWE3EF.js} +1 -1
- package/dist/{chunk-2LVTBPW2.js → chunk-65SW2BA5.js} +3 -3
- package/dist/{chunk-D3XOH7E7.js → chunk-7DBM6XHR.js} +8 -8
- package/dist/{chunk-DIG3NITC.js → chunk-A4NNCI4O.js} +3 -3
- package/dist/{chunk-4APOHK7Y.js → chunk-AESE434J.js} +2 -2
- package/dist/{chunk-ERJNHEFV.js → chunk-AGD7F7YI.js} +3 -3
- package/dist/{chunk-K3LE5B5E.js → chunk-AGSCOISO.js} +139 -139
- package/dist/{chunk-NPXM6ZQY.js → chunk-AMBEITWL.js} +4 -4
- package/dist/{chunk-5T2CTWTB.js → chunk-BBPAXOU6.js} +5 -5
- package/dist/{chunk-WGA25EV5.js → chunk-BMCZQZMI.js} +4 -4
- package/dist/{chunk-CJPLBFFY.js → chunk-CJ76PSJT.js} +9 -9
- package/dist/{chunk-6NYLVUSZ.js → chunk-CV54PASI.js} +53 -50
- package/dist/{chunk-XCPF7BEJ.js → chunk-DEVGLLNZ.js} +5 -5
- package/dist/{chunk-JTUKLCXS.js → chunk-DXUICABI.js} +1 -1
- package/dist/{chunk-LAKHO2B7.js → chunk-ES5A66IH.js} +8 -8
- package/dist/{chunk-UDE5C2XN.js → chunk-F3557PVM.js} +3 -3
- package/dist/{chunk-HHFPIJGL.js → chunk-F6IKWAIU.js} +21 -17
- package/dist/{chunk-II747OWE.js → chunk-FV55SRQU.js} +7 -7
- package/dist/{chunk-SEUCZZCP.js → chunk-G57RYMKB.js} +3 -3
- package/dist/{chunk-MNVDVR3M.js → chunk-GMVW6ZZK.js} +4 -4
- package/dist/{chunk-MN2PB6WB.js → chunk-HLQH3AXB.js} +3 -3
- package/dist/{chunk-HSEQYBDO.js → chunk-HOOOOJJP.js} +3 -3
- package/dist/{chunk-IXUPUFCG.js → chunk-I5VEROXW.js} +2 -2
- package/dist/{chunk-UI4OPTYR.js → chunk-IV446ZLJ.js} +2 -2
- package/dist/{chunk-CYB7UQA2.js → chunk-JQOX6HW4.js} +5 -5
- package/dist/{chunk-OPG4DYX2.js → chunk-JSEVKRVJ.js} +3 -3
- package/dist/{chunk-46TUUNM3.js → chunk-JXKO6JT7.js} +36 -36
- package/dist/{chunk-FPBGAT5D.js → chunk-JZWUAEMO.js} +3 -3
- package/dist/{chunk-6R7S775T.js → chunk-K6CB5TKM.js} +2 -2
- package/dist/{chunk-OO63ZU46.js → chunk-K6PRKPFX.js} +8 -8
- package/dist/{chunk-W5ONYLOP.js → chunk-KQLACS4Q.js} +4 -4
- package/dist/{chunk-SEATQLFB.js → chunk-KUU7T4ZE.js} +31 -31
- package/dist/{chunk-KXYW3DRR.js → chunk-L3BDO2BI.js} +9 -9
- package/dist/{chunk-IRQCV3OT.js → chunk-LLS2WO2K.js} +4 -4
- package/dist/{chunk-7KLAMYMS.js → chunk-LZDA6SVD.js} +46 -45
- package/dist/{chunk-UCQ2VUTG.js → chunk-M6ZFSTIZ.js} +2 -2
- package/dist/{chunk-DYG5D3FD.js → chunk-M7GJ6YUF.js} +2 -2
- package/dist/{chunk-XXZZGXW2.js → chunk-MEIJDRHU.js} +2 -2
- package/dist/{chunk-QXTKSOFI.js → chunk-MF4W6FHU.js} +1 -1
- package/dist/{chunk-FSYVOCS7.js → chunk-MYLPOVX6.js} +12 -13
- package/dist/{chunk-ZH5R7NKN.js → chunk-N6BWB35H.js} +3 -3
- package/dist/{chunk-PWIXETG7.js → chunk-NGAODDLX.js} +5 -5
- package/dist/{chunk-Z5UCPWGU.js → chunk-NNB7VUCH.js} +23 -23
- package/dist/{chunk-QEZL5MPJ.js → chunk-NUU76247.js} +3 -3
- package/dist/{chunk-2CGPQ7IM.js → chunk-OGUMHW2X.js} +6 -6
- package/dist/{chunk-I2BGYNHD.js → chunk-OJPZEUPH.js} +7 -7
- package/dist/{chunk-OOGXZL7Z.js → chunk-OKNE3TWU.js} +2 -2
- package/dist/{chunk-KUTFFHUM.js → chunk-OVV2HXJ6.js} +2 -2
- package/dist/{chunk-7KGASMCE.js → chunk-PIPIA7K7.js} +8 -8
- package/dist/{chunk-AM4FKL4J.js → chunk-PL7AIAWS.js} +12 -12
- package/dist/{chunk-WL2DSNJV.js → chunk-Q22BMRPF.js} +2 -2
- package/dist/{chunk-AMTJ4G32.js → chunk-QOLOQ35F.js} +6 -6
- package/dist/{chunk-BUECLQXK.js → chunk-QZTJ2556.js} +4 -4
- package/dist/{chunk-O7QOWS6M.js → chunk-RXCT3OCU.js} +12 -12
- package/dist/{chunk-F5KILDDO.js → chunk-S5KQIFKJ.js} +122 -98
- package/dist/{chunk-CBYQ2ZN3.js → chunk-S5TEJIGP.js} +2 -2
- package/dist/{chunk-HMLGM2MW.js → chunk-SF2B7MZK.js} +3 -3
- package/dist/{chunk-FURLOAUM.js → chunk-SNGFEESM.js} +3 -3
- package/dist/{chunk-VD32O6KZ.js → chunk-SQPIECXD.js} +3 -3
- package/dist/{chunk-5YL5OC2G.js → chunk-SRX6B544.js} +5 -5
- package/dist/{chunk-CFSFBKHP.js → chunk-TEBS7FE6.js} +2 -2
- package/dist/{chunk-TTVAHCWP.js → chunk-TM5LRSBB.js} +2 -2
- package/dist/{chunk-ZZEIC5PT.js → chunk-TUEFTRC2.js} +5 -5
- package/dist/{chunk-EWCDPFW5.js → chunk-U6DR6464.js} +4 -4
- package/dist/{chunk-7TXBKK5G.js → chunk-UIEFE6FU.js} +7 -7
- package/dist/{chunk-3H3EPMFY.js → chunk-UJ6ZZJDD.js} +2 -2
- package/dist/{chunk-YTPGQV5C.js → chunk-V4IBHDIY.js} +11 -11
- package/dist/{chunk-XNCP4KYO.js → chunk-VQPDATQT.js} +1 -1
- package/dist/{chunk-4PQHO74B.js → chunk-VZ22VUAS.js} +2 -2
- package/dist/{chunk-BUJRS7XB.js → chunk-WYS6XVZ3.js} +2 -2
- package/dist/{chunk-QV3GXQRE.js → chunk-XIABDKFQ.js} +2 -2
- package/dist/{chunk-EESV6NU2.js → chunk-XJU6UAFV.js} +2 -2
- package/dist/{chunk-SBR2WZXG.js → chunk-XNZURZ7T.js} +59 -52
- package/dist/{chunk-WFG67AYS.js → chunk-Y6NO3DLQ.js} +3 -3
- package/dist/{chunk-37AHZ7JX.js → chunk-Y76ERHLK.js} +5 -5
- package/dist/{chunk-HHW5AWVD.js → chunk-YI76TURL.js} +30 -30
- package/dist/{chunk-ZVYN4FXD.js → chunk-YSLMMR2U.js} +14 -14
- package/dist/{chunk-ZTUNCVAR.js → chunk-Z2BRSQ6M.js} +49 -49
- package/dist/{chunk-D64XUF5Q.js → chunk-Z3SNX45M.js} +16 -16
- package/dist/{chunk-FMOEVAGT.js → chunk-Z4VN347O.js} +3 -3
- package/dist/{chunk-UWY3R4TS.js → chunk-ZHGWR45B.js} +22 -22
- package/dist/cli.d.ts +20 -18
- package/dist/cli.js +50 -50
- package/dist/{codegen-command-SW2AP7KR.js → codegen-command-L2OO6OTE.js} +63 -63
- package/dist/{commands-CVFYC4GK.js → commands-2E4JB3DB.js} +2 -2
- package/dist/{completion-AUEQC4XJ.js → completion-LPJIH5VQ.js} +11 -11
- package/dist/{config-JU6OQC77.js → config-QDCRKEWD.js} +4 -4
- package/dist/{deploy-command-RD6W7PXN.js → deploy-command-HJZNYCUY.js} +57 -57
- package/dist/{deploy-source-ULSWF2V7.js → deploy-source-5COWTBOC.js} +34 -34
- package/dist/{dev-env-sync-E2GFIVC5.js → dev-env-sync-GZ4QQJGV.js} +51 -51
- package/dist/{display-name-hint-DMORHANO.js → display-name-hint-AHCNH6TF.js} +11 -11
- package/dist/{emit-hOFbgzde.d.ts → emit-DqG6qddr.d.ts} +2 -2
- package/dist/env-example-refresh-DWQIOQYR.js +127 -0
- package/dist/{env-pull-command-QYQEOUE3.js → env-pull-command-Z4RLVEGJ.js} +46 -46
- package/dist/{env-target-KUWQYHZ7.js → env-target-ZHQUS5BO.js} +13 -13
- package/dist/{env-var-command-2ZAVIPNY.js → env-var-command-FKQ4VVQ6.js} +47 -47
- package/dist/{ephemeral-BMFY55BQ.js → ephemeral-L4KUOGEU.js} +9 -9
- package/dist/{ephemeral-command-UKHBT3OW.js → ephemeral-command-GRPFI3TD.js} +47 -47
- package/dist/{ephemeral-state-6TY4JIPA.js → ephemeral-state-VLYU2BXR.js} +11 -11
- package/dist/{generate-command-YN3HZWHG.js → generate-command-XNODJFDQ.js} +68 -68
- package/dist/{gitignore-AU5X5F3I.js → gitignore-VWRSZX5F.js} +16 -16
- package/dist/{guards-EJU2ONAX.js → guards-OPSGB6LG.js} +5 -5
- package/dist/{hosted-file-PSHJB3HX.js → hosted-file-S7YUQAH6.js} +2 -2
- package/dist/{impersonate-command-ZKE77GFT.js → impersonate-command-AEKIZHHK.js} +40 -40
- package/dist/{import-TBTOTU52.js → import-PHSSFFLA.js} +5 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +10 -10
- package/dist/{init-command-NPXBMJNG.js → init-command-TI3HCKXZ.js} +55 -55
- package/dist/{init-modules-5TSTLGH5.js → init-modules-SGSX7XEY.js} +9 -9
- package/dist/{init-web-Y2PBNJTQ.js → init-web-6HX3YLQP.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +24 -25
- package/dist/{io-ZUKAGFVE.js → io-TAF4WXYQ.js} +5 -5
- package/dist/{keep-data-merge-TDSELE5U.js → keep-data-merge-GUGF7MVZ.js} +28 -28
- package/dist/{lambda-config-reconcile-OUZ4OYAB.js → lambda-config-reconcile-65U6I4KU.js} +3 -3
- package/dist/{landed-6VO7CX5P.js → landed-QA6PRTV2.js} +4 -4
- package/dist/{landing-record-W7VQ4KV4.js → landing-record-FCAWLCZU.js} +22 -22
- package/dist/{live-diff-2S7E3SBZ.js → live-diff-IM4W3ELT.js} +5 -5
- package/dist/local-engine-choice-FPJAZSSD.js +79 -0
- package/dist/{local-engine-command-5MTGZIZ4.js → local-engine-command-73NHWD6V.js} +92 -92
- package/dist/{local-engine-config-5U3SC434.js → local-engine-config-W3KB7RWM.js} +2 -2
- package/dist/{local-engine-deploy-TXAOYRGF.js → local-engine-deploy-Y4OAWL7K.js} +16 -16
- package/dist/{local-engine-process-6VZ7JJBP.js → local-engine-process-6YPJHKYM.js} +11 -11
- package/dist/{local-engine-state-TJWPWCC4.js → local-engine-state-OCW5YDD7.js} +3 -3
- package/dist/{local-engine-update-check-R5SPDVEJ.js → local-engine-update-check-X7TZGRFL.js} +7 -7
- package/dist/{lock-TS465GVY.js → lock-WXXC3QHL.js} +3 -3
- package/dist/{lock-commands-OBXAUSZX.js → lock-commands-PKDBNRSD.js} +55 -55
- package/dist/{login-command-CB3O3UDZ.js → login-command-V4U4FA5G.js} +27 -27
- package/dist/{logout-command-J5CP5HZZ.js → logout-command-TV3P545Z.js} +16 -16
- package/dist/{loop-UFHKSOQ4.js → loop-VKHGQ6MP.js} +6 -6
- package/dist/{marketplace-command-A5S25ZHF.js → marketplace-command-LEFOAEAV.js} +31 -31
- package/dist/{marketplace-resolve-GRXMK5YD.js → marketplace-resolve-ME7O7JBJ.js} +7 -7
- package/dist/{meta-client-FB73643X.js → meta-client-TEEECA5W.js} +14 -14
- package/dist/{module-manifest-GIKFNXPE.js → module-manifest-7YLGIRCY.js} +3 -3
- package/dist/node.d.ts +4 -4
- package/dist/node.js +56 -56
- package/dist/operation-outcome-GNDD35WL.js +51 -0
- package/dist/{output-target-6HNPK6KC.js → output-target-5FWX3NGZ.js} +17 -17
- package/dist/{plan-disclosure-BHYG7TZ7.js → plan-disclosure-QGL5UYQR.js} +16 -16
- package/dist/{plugin-contributions-X4V22PJQ.js → plugin-contributions-GNFTWDEB.js} +4 -4
- package/dist/{plugin-prompt-DKNQHW6Y.js → plugin-prompt-VEQGMZ4T.js} +4 -4
- package/dist/{plugin-questions-CQRVOWFK.js → plugin-questions-BGRL23GO.js} +3 -3
- package/dist/{preflight-command-NZ75PSRL.js → preflight-command-VKJKXRRI.js} +63 -63
- package/dist/{profile-command-KIRI4GA4.js → profile-command-P7A3BH26.js} +29 -29
- package/dist/{profile-pointer-UOO7JNFG.js → profile-pointer-HG7IXE4I.js} +4 -4
- package/dist/{profile-select-74TRDEPD.js → profile-select-45G5VPJK.js} +2 -2
- package/dist/{project-dependency-JGCJZ26H.js → project-dependency-Z4CKOCJI.js} +8 -8
- package/dist/{project-sdk-FOR4IOXL.js → project-sdk-JWZWGXXR.js} +3 -3
- package/dist/promote-command-KHTIK44I.js +141 -0
- package/dist/{prompt-5GUQTCSP.js → prompt-SURZOUUW.js} +3 -3
- package/dist/{publish-command-74HMEZ7E.js → publish-command-HGAB3H4A.js} +131 -60
- package/dist/{pull-command-VO5RRGZ5.js → pull-command-EUEWBRXZ.js} +66 -66
- package/dist/{pull-superseded-GGURV5J3.js → pull-superseded-TOT5S4QU.js} +3 -3
- package/dist/{release-command-ZHM5FA4M.js → release-command-WOVQAMUY.js} +64 -64
- package/dist/{release-ns-command-2TL26YOM.js → release-ns-command-WOQE2BDQ.js} +87 -87
- package/dist/{retry-command-Y5YJGOH3.js → retry-command-JRGMZZAC.js} +8 -8
- package/dist/{routes-manifest-3BNZIVST.js → routes-manifest-URFMAWJE.js} +5 -5
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-NBBR6DYS.js → secrets-file-YWZWVJ52.js} +16 -16
- package/dist/{secrets-fill-command-X3HQ4JYN.js → secrets-fill-command-HIHK3VH2.js} +54 -54
- package/dist/{seed-GJHJSEUE.js → seed-24DTEY5S.js} +7 -7
- package/dist/{source-resolve-NTI3JFO6.js → source-resolve-OWD3MIEO.js} +23 -23
- package/dist/{static-host-WM24RG25.js → static-host-UIR2OLPQ.js} +9 -9
- package/dist/{status-command-RVMOLYPR.js → status-command-JKTHH5QE.js} +53 -53
- package/dist/{store-MR7IKXKK.js → store-5YAQS6KU.js} +6 -6
- package/dist/{store-CfgPaVPO.d.ts → store-zxw2go0f.d.ts} +3 -3
- package/dist/sveltekit.d.ts +5 -5
- package/dist/sveltekit.js +1 -1
- package/dist/{sync-contributions-KGCVRH2J.js → sync-contributions-RBB6JVOL.js} +9 -9
- package/dist/{table-ZBDPKMNH.js → table-MQFVYA4K.js} +8 -8
- package/dist/{tables-command-GAOXJPMA.js → tables-command-5Q4BSUNO.js} +39 -39
- package/dist/{tenant-GKXMOYLK.js → tenant-Q3LPVSSM.js} +10 -10
- package/dist/{tenant-command-FAJ7WZTH.js → tenant-command-BFVU2PEX.js} +84 -84
- package/dist/{test-command-53FRDZ32.js → test-command-F4VUU4QR.js} +40 -40
- package/dist/{tests-C55M5EQS.js → tests-5ZSDFVIJ.js} +6 -6
- package/dist/{token-44CKLYWD.js → token-TERSTNU4.js} +12 -12
- package/dist/{toolchain-hooks-BGZBDFAT.js → toolchain-hooks-QVUZ6HZ4.js} +2 -2
- package/dist/{toolchain-modules-MPPH633S.js → toolchain-modules-FD5ANV2U.js} +5 -5
- package/dist/tracked-backend-B4HTME4S.js +80 -0
- package/dist/{update-check-Q4HJHHL5.js → update-check-O4C2LCZH.js} +53 -53
- package/dist/{upgrade-command-C63HIBVH.js → upgrade-command-NVFWLMTA.js} +56 -56
- package/dist/{whoami-command-WC5EKB4W.js → whoami-command-YKNTISIV.js} +15 -15
- package/dist/{workspace-EJVWTIWX.js → workspace-GGVGE2S5.js} +5 -5
- package/dist/{workspace-binding-BRPPUSWG.js → workspace-binding-OS4ZOX4S.js} +14 -14
- package/dist/{workspace-command-Y6STVPYO.js → workspace-command-GTUNVN7K.js} +77 -77
- package/dist/{workspace-env-SIINWNMP.js → workspace-env-467C5KHM.js} +13 -13
- package/dist/{workspace-export-AIGM6LC7.js → workspace-export-3XTVGQVM.js} +5 -5
- package/dist/{writable-FYJBTJOU.js → writable-7SSWUQJ3.js} +3 -3
- package/dist/{xano-BSHYVFSE.js → xano-6RS5XQZE.js} +7 -7
- package/dist/{xanosdk-import-UKEO7R7O.js → xanosdk-import-E3WSIYUE.js} +9 -9
- package/dist/{xanosdk-project-MQTZKITV.js → xanosdk-project-KH5TZ2KI.js} +14 -14
- package/guides/README.md +1 -0
- package/guides/authoring.md +3 -5
- package/guides/bundle.md +45 -0
- package/guides/cli.md +32 -30
- package/guides/codegen.md +5 -4
- package/guides/codes.md +9 -9
- package/guides/deploying.md +63 -58
- package/guides/environment.md +14 -14
- package/guides/marketplace.md +7 -4
- package/guides/project-structure.md +14 -0
- package/llms/client.md +3 -4
- package/llms/errors.md +1 -1
- package/llms/tests.md +2 -2
- package/llms-full.txt +14 -15
- package/llms.txt +8 -8
- package/manifest.json +110 -107
- package/package.json +4 -4
- package/dist/env-example-refresh-WFKGILLY.js +0 -127
- package/dist/local-engine-choice-OXULXWEP.js +0 -79
- package/dist/operation-outcome-V4FUJI7V.js +0 -51
- package/dist/promote-command-IPDH5OBT.js +0 -141
- package/dist/tracked-backend-AJLHRGLF.js +0 -80
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PIPIA7K7.js";
|
|
4
4
|
import {
|
|
5
5
|
isUnusablePin,
|
|
6
6
|
readPin,
|
|
7
7
|
writePin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Z3SNX45M.js";
|
|
9
9
|
import {
|
|
10
10
|
ENGINE_RELEASES_URL_ENV,
|
|
11
11
|
EngineReleaseNotFoundError,
|
|
12
12
|
usesCustomReleaseManager
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JQOX6HW4.js";
|
|
14
14
|
import {
|
|
15
15
|
LOCAL_ENGINE_OVERRIDE_ENV,
|
|
16
16
|
engineOverrideFromEnv,
|
|
17
17
|
resolveEnginePlatform,
|
|
18
18
|
resolveEngineSource
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PL7AIAWS.js";
|
|
20
20
|
import {
|
|
21
21
|
ORIGIN_READ_ONLY_BY_REFRESH
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-G57RYMKB.js";
|
|
23
23
|
import {
|
|
24
24
|
UsageError,
|
|
25
25
|
info,
|
|
26
26
|
warn
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XNZURZ7T.js";
|
|
28
28
|
|
|
29
29
|
// src/emit/local-engine-choice.ts
|
|
30
30
|
function refuseCredentialFlagsForLocal(args, kinds) {
|
|
31
|
-
if (kinds.some((k) => k !== "local
|
|
32
|
-
const why = "and a
|
|
31
|
+
if (kinds.some((k) => k !== "local")) return;
|
|
32
|
+
const why = "and a Xano Engine takes none \u2014 it is reached with the engine's own bearer.";
|
|
33
33
|
const or = "or deploy from a hosted backend that reads it.";
|
|
34
34
|
const refuse = (message) => {
|
|
35
35
|
throw new UsageError(message, { hintFor: { command: "deploy" } });
|
|
@@ -38,7 +38,7 @@ function refuseCredentialFlagsForLocal(args, kinds) {
|
|
|
38
38
|
refuse(`\`--config ${args.authFile}\` names a Xano credential file, ${why} Drop \`--config\`, ${or}`);
|
|
39
39
|
}
|
|
40
40
|
if (args.local === true) {
|
|
41
|
-
refuse(`\`--local\` selects the project-local Xano credential file, ${why} Drop \`--local\`, ${or}`);
|
|
41
|
+
refuse(`\`--local-auth\` selects the project-local Xano credential file, ${why} Drop \`--local-auth\`, ${or}`);
|
|
42
42
|
}
|
|
43
43
|
if (args.authHost !== void 0) {
|
|
44
44
|
refuse(`\`--origin\` names a Xano sign-in server, ${why} ${ORIGIN_READ_ONLY_BY_REFRESH}`);
|
|
@@ -47,7 +47,7 @@ function refuseCredentialFlagsForLocal(args, kinds) {
|
|
|
47
47
|
async function chooseLocalEngine(flagValue, dir, machineOutput) {
|
|
48
48
|
if (flagValue !== void 0 && flagValue !== "") {
|
|
49
49
|
const source = resolveEngineSource(flagValue);
|
|
50
|
-
announceOverride(source, "--local
|
|
50
|
+
announceOverride(source, "--local", "run `--local` bare to go back to it");
|
|
51
51
|
return { source, pinWrite: void 0, pin: "none", override: "flag" };
|
|
52
52
|
}
|
|
53
53
|
const fromEnv = engineOverrideFromEnv();
|
|
@@ -63,8 +63,8 @@ async function chooseLocalEngine(flagValue, dir, machineOutput) {
|
|
|
63
63
|
}
|
|
64
64
|
const pin = readPin(dir, {
|
|
65
65
|
warn: (message) => warn(
|
|
66
|
-
`${message} This deploy runs the latest
|
|
67
|
-
"local
|
|
66
|
+
`${message} This deploy runs the latest Xano Engine and the field is left as written \u2014 set it to a version like "v0.1.5", or run \`xanosdk local update\` to pin one.`,
|
|
67
|
+
"local.version-invalid"
|
|
68
68
|
)
|
|
69
69
|
});
|
|
70
70
|
if (isUnusablePin(pin)) {
|
|
@@ -72,8 +72,8 @@ async function chooseLocalEngine(flagValue, dir, machineOutput) {
|
|
|
72
72
|
}
|
|
73
73
|
if (pin === void 0 && resolveProjectEntry(dir) === void 0) {
|
|
74
74
|
warn(
|
|
75
|
-
`No package.json in ${dir}, and it is not a Xano SDK project, so the
|
|
76
|
-
"local
|
|
75
|
+
`No package.json in ${dir}, and it is not a Xano SDK project, so the Xano Engine was not pinned \u2014 this deploy runs the latest engine.`,
|
|
76
|
+
"local.not-pinned"
|
|
77
77
|
);
|
|
78
78
|
return { source: resolveEngineSource(void 0), pinWrite: void 0, pin: "none" };
|
|
79
79
|
}
|
|
@@ -87,7 +87,7 @@ async function chooseLocalEngine(flagValue, dir, machineOutput) {
|
|
|
87
87
|
};
|
|
88
88
|
const platform = resolveEnginePlatform();
|
|
89
89
|
if (platform === void 0) return keep;
|
|
90
|
-
const check = await import("./local-engine-update-check-
|
|
90
|
+
const check = await import("./local-engine-update-check-X7TZGRFL.js");
|
|
91
91
|
const latest = await check.latestKnownVersion({ platform });
|
|
92
92
|
if (latest === void 0) return keep;
|
|
93
93
|
const decision = check.decideUpdate({
|
|
@@ -101,10 +101,10 @@ async function chooseLocalEngine(flagValue, dir, machineOutput) {
|
|
|
101
101
|
info(check.updateNoticeText(pin, latest));
|
|
102
102
|
return keep;
|
|
103
103
|
}
|
|
104
|
-
const { confirm } = await import("./prompt-
|
|
104
|
+
const { confirm } = await import("./prompt-SURZOUUW.js");
|
|
105
105
|
const yes = await confirm(check.updatePromptText(pin, latest), {
|
|
106
|
-
flag: "`xanosdk local
|
|
107
|
-
refusal: { details: { updated: false }, rerun: "xanosdk local
|
|
106
|
+
flag: "`xanosdk local update`",
|
|
107
|
+
refusal: { details: { updated: false }, rerun: "xanosdk local update" }
|
|
108
108
|
});
|
|
109
109
|
if (!yes) {
|
|
110
110
|
check.recordDeclined(dir, latest);
|
|
@@ -126,7 +126,7 @@ function explainOverrideFailure(choice, err) {
|
|
|
126
126
|
const missing = err instanceof EngineReleaseNotFoundError || (message?.includes("has no archive for") ?? false);
|
|
127
127
|
if (override !== "flag" && override !== "env" || message === void 0 || !missing) throw err;
|
|
128
128
|
const what = message.split("\n")[0];
|
|
129
|
-
const remedy = override === "flag" ? "Check the version, or drop it: `xanosdk deploy --local
|
|
129
|
+
const remedy = override === "flag" ? "Check the version, or drop it: `xanosdk deploy --local` (bare) runs this project's pinned engine, and `xanosdk local update` moves that pin to the latest release." : `Check ${LOCAL_ENGINE_OVERRIDE_ENV}, or unset it to run this project's pinned engine.`;
|
|
130
130
|
const text = `${what}
|
|
131
131
|
${remedy}`;
|
|
132
132
|
throw err instanceof EngineReleaseNotFoundError ? new EngineReleaseNotFoundError(text, { cause: err }) : new Error(text, { cause: err });
|
|
@@ -156,10 +156,10 @@ function announceLocalEnginePin(ctx) {
|
|
|
156
156
|
info(pinWrittenText({ ...written, moved: choice.pinWrite === "move" }));
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
159
|
-
if (failure !== void 0) warn(`The
|
|
159
|
+
if (failure !== void 0) warn(`The Xano Engine version was not pinned: ${failure}`, "local.not-pinned");
|
|
160
160
|
}
|
|
161
161
|
function pinWrittenText(written) {
|
|
162
|
-
const what = written.created ? `Created ${written.path} to pin
|
|
162
|
+
const what = written.created ? `Created ${written.path} to pin Xano Engine ${written.version}` : `${written.moved ? "Moved the Xano Engine pin to" : "Pinned Xano Engine"} ${written.version} in ${written.path}`;
|
|
163
163
|
return `${what} \u2014 commit it so everyone on this project runs the same engine.`;
|
|
164
164
|
}
|
|
165
165
|
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
pinAfterAcquire,
|
|
171
171
|
pinWrittenText
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chunk-
|
|
173
|
+
//# sourceMappingURL=chunk-ZHGWR45B.js.map
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as Bundle, L as LockFile, X as Xano, c9 as emit } from './emit-
|
|
1
|
+
import { B as Bundle, L as LockFile, X as Xano, c9 as emit } from './emit-DqG6qddr.js';
|
|
2
2
|
import './raw-where-EoWl5fqY.js';
|
|
3
3
|
import './xdo-CxDr2Q1C.js';
|
|
4
4
|
|
|
@@ -345,11 +345,11 @@ interface ParsedArgs {
|
|
|
345
345
|
/** `--config <path>`: explicit credential file. Default: $XANO_CONFIG, then ./.xano/auth.json. */
|
|
346
346
|
authFile: string | undefined;
|
|
347
347
|
/**
|
|
348
|
-
* `--local`: use the project-local `./.xano/auth.json` cache instead of the
|
|
349
|
-
* shared `~/.xanosdk/auth.json` one (the default). `login --local` writes
|
|
350
|
-
* there; other commands read it. Without `--local`, reads still prefer an
|
|
348
|
+
* `--local-auth`: use the project-local `./.xano/auth.json` cache instead of the
|
|
349
|
+
* shared `~/.xanosdk/auth.json` one (the default). `login --local-auth` writes
|
|
350
|
+
* there; other commands read it. Without `--local-auth`, reads still prefer an
|
|
351
351
|
* existing project-local cache before falling back to the global one, so a
|
|
352
|
-
* `--local` project keeps working without repeating the flag.
|
|
352
|
+
* `--local-auth` project keeps working without repeating the flag.
|
|
353
353
|
*/
|
|
354
354
|
local: boolean;
|
|
355
355
|
/** `logout --all`: clear every stored profile, not just the active one. */
|
|
@@ -400,7 +400,7 @@ interface ParsedArgs {
|
|
|
400
400
|
runtime: boolean;
|
|
401
401
|
/** `preflight --capture`: write each round-tripped function's fetched JSON (candidate fixtures). */
|
|
402
402
|
capture: boolean;
|
|
403
|
-
/** `local
|
|
403
|
+
/** `local cache clear --legacy-runtime`: remove the runtime copies earlier builds left in the user's own cache directory. */
|
|
404
404
|
legacyRuntime: boolean;
|
|
405
405
|
/** `preflight --verbose`: print full diffs / raw engine detail instead of a projected summary. */
|
|
406
406
|
verbose: boolean;
|
|
@@ -512,7 +512,7 @@ interface ParsedArgs {
|
|
|
512
512
|
* (`.env.local`) at the backend this deploy made. The write is a managed
|
|
513
513
|
* block that leaves the rest of the file alone, so the opt-out is for the
|
|
514
514
|
* developer who wants that variable to stay exactly where they put it —
|
|
515
|
-
* pinned at a colleague's environment, say, or at a
|
|
515
|
+
* pinned at a colleague's environment, say, or at a Xano Engine.
|
|
516
516
|
*/
|
|
517
517
|
noDevEnv: boolean;
|
|
518
518
|
/**
|
|
@@ -637,30 +637,32 @@ interface ParsedArgs {
|
|
|
637
637
|
*/
|
|
638
638
|
to: string | undefined;
|
|
639
639
|
/**
|
|
640
|
-
* `deploy
|
|
641
|
-
*
|
|
640
|
+
* `deploy` to the Xano Engine on THIS machine: the default for a deploy that
|
|
641
|
+
* names no other destination, and what `--local` asks for explicitly.
|
|
642
642
|
*
|
|
643
|
-
* A DESTINATION, not a modifier — mutually exclusive with {@link to}
|
|
644
|
-
*
|
|
643
|
+
* A DESTINATION, not a modifier — mutually exclusive with {@link to} and
|
|
644
|
+
* {@link ephemeral}.
|
|
645
645
|
*/
|
|
646
646
|
localEngine: boolean;
|
|
647
|
+
/** `deploy --ephemeral`: send this deploy to a disposable ephemeral on Xano's cloud instead. */
|
|
648
|
+
ephemeral: boolean;
|
|
647
649
|
/**
|
|
648
|
-
* `deploy --local
|
|
650
|
+
* `deploy --local=<version|url|path>`: an OVERRIDE engine — a
|
|
649
651
|
* published version (`v0.1.8`, the `v` optional), an `http(s)` URL to fetch it
|
|
650
652
|
* from, or the path to an engine archive already on disk (`~` and relative
|
|
651
653
|
* paths both resolve). An override never reads or writes the project's pin
|
|
652
|
-
* and skips the update check.
|
|
654
|
+
* and skips the update check. XANOSDK_ENGINE_OVERRIDE supplies the same
|
|
653
655
|
* value from the environment when the flag carries none.
|
|
654
656
|
*
|
|
655
|
-
* Absent (a bare `--local
|
|
656
|
-
* version from `package.json` (`"xanosdk": { "@xano/sdk": { "
|
|
657
|
+
* Absent (a bare `--local`), the run uses the project's pinned engine
|
|
658
|
+
* version from `package.json` (`"xanosdk": { "@xano/sdk": { "engine" } }`),
|
|
657
659
|
* or on the first run the latest published engine, which it then pins. A
|
|
658
660
|
* newer published engine is offered on a terminal and never applied without
|
|
659
661
|
* an explicit yes.
|
|
660
662
|
*/
|
|
661
663
|
localEngineUrl: string | undefined;
|
|
662
664
|
/**
|
|
663
|
-
* `local
|
|
665
|
+
* `local update --version <v>` / `local cache clear --version <v>`:
|
|
664
666
|
* the engine version to move the pin to, or the cached one to remove. Taken as
|
|
665
667
|
* typed; the command normalizes it (`0.1.5` → `v0.1.5`). Only the first token
|
|
666
668
|
* spells the CLI's own version (`xanosdk --version`), so this cannot collide.
|
|
@@ -884,12 +886,12 @@ declare function isPathlessRun(args: Pick<ParsedArgs, "command" | "subcommand">)
|
|
|
884
886
|
* `whoami --version` said "--version expects an engine version", and
|
|
885
887
|
* `status -v` "Unknown flag -v". Not when a value follows (`deploy --version
|
|
886
888
|
* v0.1.5` is an engine version on the wrong command, refused as such), not on
|
|
887
|
-
* a verb that DOES take one (`local
|
|
889
|
+
* a verb that DOES take one (`local update --version v0.1.5`), not past
|
|
888
890
|
* `--`, and never on `env set`, whose value may be `-v`.
|
|
889
891
|
*/
|
|
890
892
|
declare function globalVersionAsked(argv: readonly string[]): boolean;
|
|
891
893
|
/**
|
|
892
|
-
* `status -v extra`, `tables --version local
|
|
894
|
+
* `status -v extra`, `tables --version local`: the global version flag
|
|
893
895
|
* followed by a positional. Neither reading is safe to guess — the run the
|
|
894
896
|
* reader wanted, or the version — so it is one usage error naming both ways
|
|
895
897
|
* out, never "Unknown flag -v. Did you mean: --version". An engine-version-
|
package/dist/cli.js
CHANGED
|
@@ -33,75 +33,75 @@ import {
|
|
|
33
33
|
setGuidFixUp,
|
|
34
34
|
tsxRemedy,
|
|
35
35
|
withoutSecretValue
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-S5KQIFKJ.js";
|
|
37
|
+
import "./chunk-A4NNCI4O.js";
|
|
38
|
+
import "./chunk-LLS2WO2K.js";
|
|
39
|
+
import "./chunk-KUU7T4ZE.js";
|
|
40
|
+
import "./chunk-HOOOOJJP.js";
|
|
41
|
+
import "./chunk-NGAODDLX.js";
|
|
42
|
+
import "./chunk-JXKO6JT7.js";
|
|
43
|
+
import "./chunk-3BJYQGAZ.js";
|
|
44
|
+
import "./chunk-5XVBT6CQ.js";
|
|
45
|
+
import "./chunk-CJ76PSJT.js";
|
|
46
|
+
import "./chunk-V4IBHDIY.js";
|
|
47
|
+
import "./chunk-KQLACS4Q.js";
|
|
48
|
+
import "./chunk-4GDEEY2U.js";
|
|
49
49
|
import "./chunk-2MNLRIOX.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-Q22BMRPF.js";
|
|
51
|
+
import "./chunk-PL7AIAWS.js";
|
|
52
|
+
import "./chunk-TUEFTRC2.js";
|
|
53
|
+
import "./chunk-F3557PVM.js";
|
|
54
|
+
import "./chunk-AMBEITWL.js";
|
|
55
|
+
import "./chunk-4QBGE3EO.js";
|
|
56
56
|
import "./chunk-ZYJP6BOO.js";
|
|
57
57
|
import "./chunk-QO6BVGS5.js";
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-UJ6ZZJDD.js";
|
|
59
|
+
import "./chunk-QZTJ2556.js";
|
|
60
|
+
import "./chunk-TEBS7FE6.js";
|
|
61
|
+
import "./chunk-Z4VN347O.js";
|
|
62
62
|
import "./chunk-622HUCZT.js";
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-G57RYMKB.js";
|
|
64
|
+
import "./chunk-AGD7F7YI.js";
|
|
65
|
+
import "./chunk-F6IKWAIU.js";
|
|
66
|
+
import "./chunk-OGUMHW2X.js";
|
|
67
|
+
import "./chunk-3VX7VAQT.js";
|
|
68
68
|
import "./chunk-ZFDZKNGG.js";
|
|
69
69
|
import "./chunk-FWD7AL6N.js";
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-MYLPOVX6.js";
|
|
71
|
+
import "./chunk-DXUICABI.js";
|
|
72
72
|
import "./chunk-4KHEMC32.js";
|
|
73
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-Y76ERHLK.js";
|
|
74
74
|
import "./chunk-ROY4YAEQ.js";
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-SQPIECXD.js";
|
|
76
|
+
import "./chunk-5YBNXNKU.js";
|
|
77
77
|
import "./chunk-WRBKLYSJ.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-M7GJ6YUF.js";
|
|
79
|
+
import "./chunk-OJPZEUPH.js";
|
|
80
80
|
import "./chunk-AWQ7BQTQ.js";
|
|
81
81
|
import "./chunk-EUUUMY7J.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-HLQH3AXB.js";
|
|
83
|
+
import "./chunk-JZWUAEMO.js";
|
|
84
84
|
import "./chunk-LLNZGEFK.js";
|
|
85
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-MF4W6FHU.js";
|
|
86
86
|
import "./chunk-X2NL4KUO.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-57HMNJGB.js";
|
|
88
|
+
import "./chunk-M6ZFSTIZ.js";
|
|
89
89
|
import "./chunk-DGWHAVRG.js";
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-K6CB5TKM.js";
|
|
91
|
+
import "./chunk-XNZURZ7T.js";
|
|
92
|
+
import "./chunk-FV55SRQU.js";
|
|
93
|
+
import "./chunk-3IYVHVM6.js";
|
|
94
94
|
import "./chunk-6JAEMMZ7.js";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-SRX6B544.js";
|
|
96
96
|
import "./chunk-45ZUMF4E.js";
|
|
97
97
|
import "./chunk-7KPKDHHI.js";
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-XJU6UAFV.js";
|
|
99
|
+
import "./chunk-JSEVKRVJ.js";
|
|
100
100
|
import "./chunk-ICK36EGF.js";
|
|
101
101
|
import "./chunk-BEXZ4XRV.js";
|
|
102
102
|
import "./chunk-ETAZIGNT.js";
|
|
103
103
|
import "./chunk-GSGDWJB5.js";
|
|
104
|
-
import "./chunk-
|
|
104
|
+
import "./chunk-VZ22VUAS.js";
|
|
105
105
|
import "./chunk-ERVIASGL.js";
|
|
106
106
|
import "./chunk-VTMTIBKP.js";
|
|
107
107
|
import "./chunk-H2V3N23D.js";
|
|
@@ -109,9 +109,9 @@ import "./chunk-3JDU4VRL.js";
|
|
|
109
109
|
import "./chunk-WTPZRR4I.js";
|
|
110
110
|
import "./chunk-GPI3OWRE.js";
|
|
111
111
|
import "./chunk-UTI5G6OJ.js";
|
|
112
|
-
import "./chunk-
|
|
112
|
+
import "./chunk-OKNE3TWU.js";
|
|
113
113
|
import "./chunk-5ZSO4T2G.js";
|
|
114
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-VQPDATQT.js";
|
|
115
115
|
import "./chunk-UDZX2ZL4.js";
|
|
116
116
|
import "./chunk-ZY55DO5P.js";
|
|
117
117
|
import "./chunk-A2AOUBJS.js";
|
|
@@ -26,94 +26,94 @@ import {
|
|
|
26
26
|
writeBundleEnvValues,
|
|
27
27
|
writeDocumentationTokens,
|
|
28
28
|
writeSourceLock
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-LZDA6SVD.js";
|
|
30
|
+
import "./chunk-CV54PASI.js";
|
|
31
|
+
import "./chunk-TM5LRSBB.js";
|
|
32
|
+
import "./chunk-AESE434J.js";
|
|
33
33
|
import "./chunk-WOGJB2F6.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-PIPIA7K7.js";
|
|
35
|
+
import "./chunk-XIABDKFQ.js";
|
|
36
36
|
import "./chunk-3DRXWLJ5.js";
|
|
37
37
|
import "./chunk-X4DVXBFY.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-5RLAF6RL.js";
|
|
39
|
+
import "./chunk-DEVGLLNZ.js";
|
|
40
|
+
import "./chunk-OVV2HXJ6.js";
|
|
41
41
|
import "./chunk-2TFRR6JV.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-MEIJDRHU.js";
|
|
43
|
+
import "./chunk-3WHWOKU4.js";
|
|
44
|
+
import "./chunk-S5KQIFKJ.js";
|
|
45
|
+
import "./chunk-A4NNCI4O.js";
|
|
46
|
+
import "./chunk-LLS2WO2K.js";
|
|
47
|
+
import "./chunk-KUU7T4ZE.js";
|
|
48
|
+
import "./chunk-HOOOOJJP.js";
|
|
49
|
+
import "./chunk-NGAODDLX.js";
|
|
50
|
+
import "./chunk-JXKO6JT7.js";
|
|
51
|
+
import "./chunk-3BJYQGAZ.js";
|
|
52
|
+
import "./chunk-5XVBT6CQ.js";
|
|
53
|
+
import "./chunk-CJ76PSJT.js";
|
|
54
|
+
import "./chunk-V4IBHDIY.js";
|
|
55
|
+
import "./chunk-KQLACS4Q.js";
|
|
56
|
+
import "./chunk-4GDEEY2U.js";
|
|
57
57
|
import "./chunk-2MNLRIOX.js";
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-Q22BMRPF.js";
|
|
59
|
+
import "./chunk-PL7AIAWS.js";
|
|
60
|
+
import "./chunk-TUEFTRC2.js";
|
|
61
|
+
import "./chunk-F3557PVM.js";
|
|
62
|
+
import "./chunk-AMBEITWL.js";
|
|
63
|
+
import "./chunk-4QBGE3EO.js";
|
|
64
64
|
import "./chunk-ZYJP6BOO.js";
|
|
65
65
|
import "./chunk-QO6BVGS5.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-UJ6ZZJDD.js";
|
|
67
|
+
import "./chunk-QZTJ2556.js";
|
|
68
|
+
import "./chunk-TEBS7FE6.js";
|
|
69
|
+
import "./chunk-Z4VN347O.js";
|
|
70
70
|
import "./chunk-622HUCZT.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-G57RYMKB.js";
|
|
72
|
+
import "./chunk-AGD7F7YI.js";
|
|
73
|
+
import "./chunk-F6IKWAIU.js";
|
|
74
|
+
import "./chunk-OGUMHW2X.js";
|
|
75
|
+
import "./chunk-3VX7VAQT.js";
|
|
76
76
|
import "./chunk-ZFDZKNGG.js";
|
|
77
77
|
import "./chunk-FWD7AL6N.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-MYLPOVX6.js";
|
|
79
|
+
import "./chunk-DXUICABI.js";
|
|
80
80
|
import "./chunk-4KHEMC32.js";
|
|
81
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-Y76ERHLK.js";
|
|
82
82
|
import "./chunk-ROY4YAEQ.js";
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-SQPIECXD.js";
|
|
84
|
+
import "./chunk-5YBNXNKU.js";
|
|
85
85
|
import "./chunk-WRBKLYSJ.js";
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-M7GJ6YUF.js";
|
|
87
|
+
import "./chunk-OJPZEUPH.js";
|
|
88
88
|
import "./chunk-AWQ7BQTQ.js";
|
|
89
89
|
import "./chunk-EUUUMY7J.js";
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-HLQH3AXB.js";
|
|
91
|
+
import "./chunk-JZWUAEMO.js";
|
|
92
92
|
import "./chunk-LLNZGEFK.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-MF4W6FHU.js";
|
|
94
94
|
import "./chunk-X2NL4KUO.js";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-S5TEJIGP.js";
|
|
96
96
|
import "./chunk-XMDDBEEM.js";
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
97
|
+
import "./chunk-57HMNJGB.js";
|
|
98
|
+
import "./chunk-M6ZFSTIZ.js";
|
|
99
99
|
import "./chunk-DGWHAVRG.js";
|
|
100
100
|
import "./chunk-7THDHQ4R.js";
|
|
101
101
|
import "./chunk-3YW23UFH.js";
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-
|
|
104
|
-
import "./chunk-
|
|
105
|
-
import "./chunk-
|
|
102
|
+
import "./chunk-K6CB5TKM.js";
|
|
103
|
+
import "./chunk-XNZURZ7T.js";
|
|
104
|
+
import "./chunk-FV55SRQU.js";
|
|
105
|
+
import "./chunk-3IYVHVM6.js";
|
|
106
106
|
import "./chunk-6JAEMMZ7.js";
|
|
107
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-SRX6B544.js";
|
|
108
108
|
import "./chunk-45ZUMF4E.js";
|
|
109
109
|
import "./chunk-7KPKDHHI.js";
|
|
110
|
-
import "./chunk-
|
|
111
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-XJU6UAFV.js";
|
|
111
|
+
import "./chunk-JSEVKRVJ.js";
|
|
112
112
|
import "./chunk-ICK36EGF.js";
|
|
113
113
|
import "./chunk-BEXZ4XRV.js";
|
|
114
114
|
import "./chunk-ETAZIGNT.js";
|
|
115
115
|
import "./chunk-GSGDWJB5.js";
|
|
116
|
-
import "./chunk-
|
|
116
|
+
import "./chunk-VZ22VUAS.js";
|
|
117
117
|
import "./chunk-ERVIASGL.js";
|
|
118
118
|
import "./chunk-VTMTIBKP.js";
|
|
119
119
|
import "./chunk-H2V3N23D.js";
|
|
@@ -121,9 +121,9 @@ import "./chunk-3JDU4VRL.js";
|
|
|
121
121
|
import "./chunk-WTPZRR4I.js";
|
|
122
122
|
import "./chunk-GPI3OWRE.js";
|
|
123
123
|
import "./chunk-UTI5G6OJ.js";
|
|
124
|
-
import "./chunk-
|
|
124
|
+
import "./chunk-OKNE3TWU.js";
|
|
125
125
|
import "./chunk-5ZSO4T2G.js";
|
|
126
|
-
import "./chunk-
|
|
126
|
+
import "./chunk-VQPDATQT.js";
|
|
127
127
|
import "./chunk-UDZX2ZL4.js";
|
|
128
128
|
import "./chunk-ZY55DO5P.js";
|
|
129
129
|
import "./chunk-A2AOUBJS.js";
|
|
@@ -171,4 +171,4 @@ export {
|
|
|
171
171
|
writeDocumentationTokens,
|
|
172
172
|
writeSourceLock
|
|
173
173
|
};
|
|
174
|
-
//# sourceMappingURL=codegen-command-
|
|
174
|
+
//# sourceMappingURL=codegen-command-L2OO6OTE.js.map
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
tablesCommand,
|
|
31
31
|
takesProfileFlag,
|
|
32
32
|
visibleFlags
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XNZURZ7T.js";
|
|
34
34
|
import "./chunk-GPI3OWRE.js";
|
|
35
35
|
import {
|
|
36
36
|
suggest
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
takesProfileFlag,
|
|
74
74
|
visibleFlags
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=commands-
|
|
76
|
+
//# sourceMappingURL=commands-2E4JB3DB.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
liveSubcommandNames,
|
|
11
11
|
takesProfileFlag,
|
|
12
12
|
visibleFlags
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XNZURZ7T.js";
|
|
14
14
|
import "./chunk-GPI3OWRE.js";
|
|
15
15
|
import "./chunk-UTI5G6OJ.js";
|
|
16
16
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -141,7 +141,7 @@ var PROFILE_NAMES_JS = [
|
|
|
141
141
|
"for(let i=0;i<a.length;i++){const w=a[i];",
|
|
142
142
|
// bash splits `--config=/alt.json` at the `=` (COMP_WORDBREAKS): `--config`, `=`, `/alt.json`.
|
|
143
143
|
'if(w==="--config"){cfg=a[++i];if(cfg==="=")cfg=a[++i];}else if(w.startsWith("--config="))cfg=w.slice(9);',
|
|
144
|
-
'else if(w==="--local")local=true;else if(w==="-p"||w==="--profile"){i++;if(a[i]==="=")i++;}',
|
|
144
|
+
'else if(w==="--local-auth")local=true;else if(w==="-p"||w==="--profile"){i++;if(a[i]==="=")i++;}',
|
|
145
145
|
'else if(!w.startsWith("-")&&cmd===undefined)cmd=w;}',
|
|
146
146
|
// A leading `~` the shell left unexpanded (quoted, or after `--config=`) is the home directory.
|
|
147
147
|
'const tl=(f)=>f&&(f==="~"||f.startsWith("~/"))?p.join(os.homedir(),f.slice(1)):f;',
|
|
@@ -156,7 +156,7 @@ var PROFILE_NAMES_JS = [
|
|
|
156
156
|
'const n=names(file);if(n.length)console.log(n.join(" "));'
|
|
157
157
|
].join("");
|
|
158
158
|
var ENGINE_NAME_VERBS = ["stop", "token"];
|
|
159
|
-
var ENGINE_RECORDS = { homeEnv: "
|
|
159
|
+
var ENGINE_RECORDS = { homeEnv: "XANOSDK_ENGINE_HOME", file: "engines.json" };
|
|
160
160
|
var ENGINE_NAMES_JS = [
|
|
161
161
|
'const fs=require("fs"),os=require("os"),p=require("path");',
|
|
162
162
|
`const home=process.env.${ENGINE_RECORDS.homeEnv}||p.join(os.homedir(),".xanosdk","local-engine");`,
|
|
@@ -261,7 +261,7 @@ _xanosdk_profiles() {
|
|
|
261
261
|
node -e ${sq(PROFILE_NAMES_JS)} -- "\${COMP_WORDS[@]:1:COMP_CWORD-1}" 2>/dev/null
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
#
|
|
264
|
+
# Xano Engine names, from the engine records on this machine \u2014 nothing is started.
|
|
265
265
|
_xanosdk_engines() {
|
|
266
266
|
command -v node >/dev/null 2>&1 || return
|
|
267
267
|
node -e ${sq(ENGINE_NAMES_JS)} 2>/dev/null
|
|
@@ -387,8 +387,8 @@ _xanosdk() {
|
|
|
387
387
|
COMPREPLY=( $(compgen -W "$(_xanosdk_profiles)" -- "$cur") )
|
|
388
388
|
return
|
|
389
389
|
;;
|
|
390
|
-
# The engine name \`local
|
|
391
|
-
${ENGINE_NAME_VERBS.map((v) => sq(`local
|
|
390
|
+
# The engine name \`local stop|token\` takes.
|
|
391
|
+
${ENGINE_NAME_VERBS.map((v) => sq(`local ${v}`)).join("|")})
|
|
392
392
|
COMPREPLY=( $(compgen -W "$(_xanosdk_engines)" -- "$cur") )
|
|
393
393
|
return
|
|
394
394
|
;;
|
|
@@ -547,9 +547,9 @@ ${flagKindBlocks}
|
|
|
547
547
|
return
|
|
548
548
|
;;
|
|
549
549
|
esac
|
|
550
|
-
# The engine name \`local
|
|
550
|
+
# The engine name \`local stop|token\` takes, from the engine records on this machine.
|
|
551
551
|
case "$scope" in
|
|
552
|
-
${ENGINE_NAME_VERBS.map((v) => sq(`local
|
|
552
|
+
${ENGINE_NAME_VERBS.map((v) => sq(`local ${v}`)).join("|")})
|
|
553
553
|
(( $+commands[node] )) && compadd -- \${=$(node -e ${sq(ENGINE_NAMES_JS)} 2>/dev/null)}
|
|
554
554
|
return
|
|
555
555
|
;;
|
|
@@ -642,7 +642,7 @@ function renderFish() {
|
|
|
642
642
|
` node -e ${sq(PROFILE_NAMES_JS)} -- $words[2..-1] 2>/dev/null | string split ' '`,
|
|
643
643
|
"end",
|
|
644
644
|
"",
|
|
645
|
-
"#
|
|
645
|
+
"# Xano Engine names, from the engine records on this machine \u2014 nothing is started.",
|
|
646
646
|
"function __xanosdk_engines",
|
|
647
647
|
" command -q node; or return",
|
|
648
648
|
` node -e ${sq(ENGINE_NAMES_JS)} 2>/dev/null | string split ' '`,
|
|
@@ -698,7 +698,7 @@ function renderFish() {
|
|
|
698
698
|
if (PROFILE_NAME_VERBS.some((v) => scope.key === `profile ${v}`)) {
|
|
699
699
|
lines.push(`complete -c xanosdk -n ${sq(condition)} -a '(__xanosdk_profiles)'`);
|
|
700
700
|
}
|
|
701
|
-
if (ENGINE_NAME_VERBS.some((v) => scope.key === `local
|
|
701
|
+
if (ENGINE_NAME_VERBS.some((v) => scope.key === `local ${v}`)) {
|
|
702
702
|
lines.push(`complete -c xanosdk -n ${sq(condition)} -a '(__xanosdk_engines)'`);
|
|
703
703
|
}
|
|
704
704
|
if (scope.paths) lines.push(`complete -c xanosdk -n ${sq(condition)} -F`);
|
|
@@ -735,4 +735,4 @@ export {
|
|
|
735
735
|
runCompletionCommand,
|
|
736
736
|
valueKind
|
|
737
737
|
};
|
|
738
|
-
//# sourceMappingURL=completion-
|
|
738
|
+
//# sourceMappingURL=completion-LPJIH5VQ.js.map
|