@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,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
confirm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AESE434J.js";
|
|
4
4
|
import {
|
|
5
5
|
discloseCanonicalMoves,
|
|
6
6
|
movesClause,
|
|
7
7
|
releaseCanonicalMoves
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BBPAXOU6.js";
|
|
9
9
|
import {
|
|
10
10
|
exportWorkspaceBundle
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XIABDKFQ.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_BRANCH_LABEL,
|
|
14
14
|
deleteBranch,
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
liveBranchLabel,
|
|
18
18
|
requireBranch,
|
|
19
19
|
setLiveBranch
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5RLAF6RL.js";
|
|
21
21
|
import {
|
|
22
22
|
sectionKind
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SF2B7MZK.js";
|
|
24
24
|
import {
|
|
25
25
|
assertOneName
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-A4NNCI4O.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CJ76PSJT.js";
|
|
30
30
|
import {
|
|
31
31
|
pipedYes
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-Z4VN347O.js";
|
|
33
33
|
import {
|
|
34
34
|
contextFlags
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-G57RYMKB.js";
|
|
36
36
|
import {
|
|
37
37
|
shellWord
|
|
38
38
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
warn,
|
|
57
57
|
writeJson,
|
|
58
58
|
writeTargetPayload
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-XNZURZ7T.js";
|
|
60
60
|
import {
|
|
61
61
|
suggestAll
|
|
62
62
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -139,7 +139,7 @@ async function runBranchCommand(args) {
|
|
|
139
139
|
const workspaceId = auth.workspaceId;
|
|
140
140
|
const target = { baseUrl: auth.instance, workspaceId };
|
|
141
141
|
const { branches, unaddressable } = await listBranchListing(auth, target).catch(async (err) => {
|
|
142
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
142
|
+
const { unansweredRead } = await import("./source-resolve-OWD3MIEO.js");
|
|
143
143
|
throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
|
|
144
144
|
});
|
|
145
145
|
if (verb === "list") {
|
|
@@ -161,7 +161,7 @@ async function runBranchCommand(args) {
|
|
|
161
161
|
const meant = near.map((n) => `Did you mean "${safeText(n)}"? \`xanosdk workspace branch delete ${shellWord(n)}${again}\` deletes it, after asking to confirm.`);
|
|
162
162
|
const branchesLine = known !== "" ? [`Its branches: ${known}.`] : [];
|
|
163
163
|
if (near.length > 0) {
|
|
164
|
-
const { SourceError } = await import("./source-resolve-
|
|
164
|
+
const { SourceError } = await import("./source-resolve-OWD3MIEO.js");
|
|
165
165
|
throw new SourceError([missed, ...meant, ...branchesLine].join("\n"), "gone", "workspace", near[0], near.length > 1 ? near : void 0);
|
|
166
166
|
}
|
|
167
167
|
warn(missed, "branch.not-found", branchesLine);
|
|
@@ -280,7 +280,7 @@ Check what is serving with \`xanosdk workspace branch list${contextFlags()}\`, t
|
|
|
280
280
|
}
|
|
281
281
|
if (args.expectLive !== void 0) {
|
|
282
282
|
const now = await listBranchListing(auth, target).catch(async (err) => {
|
|
283
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
283
|
+
const { unansweredRead } = await import("./source-resolve-OWD3MIEO.js");
|
|
284
284
|
throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
|
|
285
285
|
});
|
|
286
286
|
const drift = liveMismatch(now, args.expectLive);
|
|
@@ -424,4 +424,4 @@ export {
|
|
|
424
424
|
liveBranchMismatch,
|
|
425
425
|
staleSchemaRefs
|
|
426
426
|
};
|
|
427
|
-
//# sourceMappingURL=chunk-
|
|
427
|
+
//# sourceMappingURL=chunk-YSLMMR2U.js.map
|
|
@@ -9,40 +9,40 @@ import {
|
|
|
9
9
|
staticRetryHint,
|
|
10
10
|
unknownStaticOutcome,
|
|
11
11
|
warnStaticTeardown
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4NEBBKOP.js";
|
|
13
13
|
import {
|
|
14
14
|
shownLabel
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YSLMMR2U.js";
|
|
16
16
|
import {
|
|
17
17
|
confirm,
|
|
18
18
|
needsConfirmation
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AESE434J.js";
|
|
20
20
|
import {
|
|
21
21
|
landedRecordFor,
|
|
22
22
|
landingLockPath,
|
|
23
23
|
recordForeignLanding,
|
|
24
24
|
recordLanding
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ES5A66IH.js";
|
|
26
26
|
import {
|
|
27
27
|
assertStorageModesKept,
|
|
28
28
|
discloseCanonicalMoves,
|
|
29
29
|
movesClause,
|
|
30
30
|
storageChangesPayload
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BBPAXOU6.js";
|
|
32
32
|
import {
|
|
33
33
|
listTables,
|
|
34
34
|
tableRowCounter,
|
|
35
35
|
tableRowIds
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GMVW6ZZK.js";
|
|
37
37
|
import {
|
|
38
38
|
XANOSDK_IMPORT_CONFLICT_CODE,
|
|
39
39
|
XANOSDK_IMPORT_UNIQUENESS_CODE,
|
|
40
40
|
XanoSdkImportRefusal,
|
|
41
41
|
xanosdkImport
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-QOLOQ35F.js";
|
|
43
43
|
import {
|
|
44
44
|
archiveSeedContent
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-PIPIA7K7.js";
|
|
46
46
|
import {
|
|
47
47
|
encodeWorkspaceArchive
|
|
48
48
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
listBranchListing,
|
|
56
56
|
liveBranchLabel,
|
|
57
57
|
setLiveBranch
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-5RLAF6RL.js";
|
|
59
59
|
import {
|
|
60
60
|
compareToLive,
|
|
61
61
|
envValuesOf,
|
|
@@ -66,38 +66,38 @@ import {
|
|
|
66
66
|
sharedSchemaChanges,
|
|
67
67
|
storedColumnsAfter,
|
|
68
68
|
uniqueIndexLabels
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-SF2B7MZK.js";
|
|
70
70
|
import {
|
|
71
71
|
assertBundleFile,
|
|
72
72
|
assertBundleInput,
|
|
73
73
|
loadBundleText,
|
|
74
74
|
resolveLockPath
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-S5KQIFKJ.js";
|
|
76
76
|
import {
|
|
77
77
|
LookupFailedError,
|
|
78
78
|
isUnansweredLookup,
|
|
79
79
|
unansweredCause
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-JXKO6JT7.js";
|
|
81
81
|
import {
|
|
82
82
|
isSignatureRefusal
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-5XVBT6CQ.js";
|
|
84
84
|
import {
|
|
85
85
|
getAccessToken
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-CJ76PSJT.js";
|
|
87
87
|
import {
|
|
88
88
|
ephemeralLandedOn
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-4QBGE3EO.js";
|
|
90
90
|
import {
|
|
91
91
|
pipedYes,
|
|
92
92
|
retryCommand,
|
|
93
93
|
withheldNote
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-Z4VN347O.js";
|
|
95
95
|
import {
|
|
96
96
|
contextFlags
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-G57RYMKB.js";
|
|
98
98
|
import {
|
|
99
99
|
backendDirIn
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-AGD7F7YI.js";
|
|
101
101
|
import {
|
|
102
102
|
shellWord
|
|
103
103
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -106,10 +106,10 @@ import {
|
|
|
106
106
|
} from "./chunk-4KHEMC32.js";
|
|
107
107
|
import {
|
|
108
108
|
seedRowsByTableGuid
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-Y76ERHLK.js";
|
|
110
110
|
import {
|
|
111
111
|
readLockFile
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-SQPIECXD.js";
|
|
113
113
|
import {
|
|
114
114
|
destinationKey,
|
|
115
115
|
groupNames,
|
|
@@ -118,11 +118,11 @@ import {
|
|
|
118
118
|
landedKeyForRow,
|
|
119
119
|
storedColumnsOf,
|
|
120
120
|
withStoredColumns
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-5YBNXNKU.js";
|
|
122
122
|
import {
|
|
123
123
|
TransportError,
|
|
124
124
|
isTimeoutError
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-HLQH3AXB.js";
|
|
126
126
|
import {
|
|
127
127
|
CliError,
|
|
128
128
|
EXIT_OUTCOME_UNKNOWN,
|
|
@@ -142,11 +142,11 @@ import {
|
|
|
142
142
|
warn,
|
|
143
143
|
writeJson,
|
|
144
144
|
writeTargetPayload
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-XNZURZ7T.js";
|
|
146
146
|
import {
|
|
147
147
|
calcSignatureJson,
|
|
148
148
|
signatureHolds
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-XJU6UAFV.js";
|
|
150
150
|
import {
|
|
151
151
|
safeNames
|
|
152
152
|
} from "./chunk-GSGDWJB5.js";
|
|
@@ -157,7 +157,7 @@ import {
|
|
|
157
157
|
lockKey,
|
|
158
158
|
lockNameForObject,
|
|
159
159
|
sdkKindName2 as sdkKindName
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-OKNE3TWU.js";
|
|
161
161
|
import {
|
|
162
162
|
shellQuote
|
|
163
163
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -630,7 +630,7 @@ function isTransientReadFailure(err) {
|
|
|
630
630
|
return isUnansweredLookup(err);
|
|
631
631
|
}
|
|
632
632
|
async function readLive(auth, dest, branch) {
|
|
633
|
-
const { exportWorkspaceBundle } = await import("./workspace-export-
|
|
633
|
+
const { exportWorkspaceBundle } = await import("./workspace-export-3XTVGQVM.js");
|
|
634
634
|
let failure;
|
|
635
635
|
for (let attempt = 0; attempt <= LIVE_READ_RETRY_PAUSES_MS.length; attempt++) {
|
|
636
636
|
try {
|
|
@@ -737,7 +737,7 @@ function targetIsEmpty(live) {
|
|
|
737
737
|
async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
738
738
|
if (live === void 0 || req.mode !== "merge") return false;
|
|
739
739
|
if (req.records === true || req.truncate === true) return false;
|
|
740
|
-
const { compareToLive: compareToLive2 } = await import("./live-diff-
|
|
740
|
+
const { compareToLive: compareToLive2 } = await import("./live-diff-IM4W3ELT.js");
|
|
741
741
|
let result;
|
|
742
742
|
try {
|
|
743
743
|
result = compareToLive2(
|
|
@@ -758,7 +758,7 @@ async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
|
758
758
|
async function unchangedWithLive(live, req, outgoingBundle, pinned) {
|
|
759
759
|
if (live === void 0 || req.mode !== "merge") return void 0;
|
|
760
760
|
if (req.records === true || req.truncate === true) return void 0;
|
|
761
|
-
const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-
|
|
761
|
+
const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-IM4W3ELT.js");
|
|
762
762
|
try {
|
|
763
763
|
const outgoing = JSON.parse(outgoingBundle);
|
|
764
764
|
const result = compareToLive2(outgoing, live, new Set(pinned.map((p) => `${p.payloadKey}:${p.name}`)), {
|
|
@@ -786,7 +786,7 @@ function markUnchanged(presented, unchanged, noun) {
|
|
|
786
786
|
}
|
|
787
787
|
var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
|
|
788
788
|
async function replaceCommandHint(args) {
|
|
789
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-
|
|
789
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-HJZNYCUY.js");
|
|
790
790
|
const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
|
|
791
791
|
const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
|
|
792
792
|
const argv = [];
|
|
@@ -817,7 +817,7 @@ function landingTableFields(losses) {
|
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
819
|
async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "workspace", fromBundle = false, replaceHint = "`xanosdk deploy <source> --to <destination> --replace`.", noun = "workspace", failure, stored) {
|
|
820
|
-
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-
|
|
820
|
+
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-QGL5UYQR.js");
|
|
821
821
|
const none = {
|
|
822
822
|
...tableEffectFields(NO_TABLE_EFFECTS),
|
|
823
823
|
renamedTables: [],
|
|
@@ -836,7 +836,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "worksp
|
|
|
836
836
|
blank();
|
|
837
837
|
return none;
|
|
838
838
|
}
|
|
839
|
-
const { diffAgainstLive, tableAdditions } = await import("./live-diff-
|
|
839
|
+
const { diffAgainstLive, tableAdditions } = await import("./live-diff-IM4W3ELT.js");
|
|
840
840
|
let diff;
|
|
841
841
|
let additions;
|
|
842
842
|
try {
|
|
@@ -1551,7 +1551,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1551
1551
|
const held = guidsOf(live);
|
|
1552
1552
|
const codePinned = codePinnedTables(outgoingDoc, lock, classified);
|
|
1553
1553
|
const { orphanFixUps } = await import("./cli.js");
|
|
1554
|
-
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-
|
|
1554
|
+
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-GUGF7MVZ.js");
|
|
1555
1555
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1556
1556
|
const out = [];
|
|
1557
1557
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -1595,7 +1595,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1595
1595
|
return out;
|
|
1596
1596
|
}
|
|
1597
1597
|
async function pendingRenameRefusal(frame, pending, prune, branch) {
|
|
1598
|
-
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-
|
|
1598
|
+
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-GUGF7MVZ.js");
|
|
1599
1599
|
const one = pending.length === 1;
|
|
1600
1600
|
const lines = pending.flatMap(
|
|
1601
1601
|
(p) => pendingRenameLines(
|
|
@@ -2051,7 +2051,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2051
2051
|
assertBundleFile(args, { command: "deploy" });
|
|
2052
2052
|
const auth = opts.auth ?? await getAccessToken(args);
|
|
2053
2053
|
const withSeed = req.mode === "replace" || req.records === true;
|
|
2054
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
2054
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-FD5ANV2U.js");
|
|
2055
2055
|
const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
|
|
2056
2056
|
const loaded = await loadBundleText(
|
|
2057
2057
|
args.dryRun ? { ...args, lockReadOnly: true } : args,
|
|
@@ -2077,15 +2077,15 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2077
2077
|
});
|
|
2078
2078
|
};
|
|
2079
2079
|
if (!args.dryRun && args.file !== void 0) {
|
|
2080
|
-
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-
|
|
2080
|
+
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-HJZNYCUY.js");
|
|
2081
2081
|
await ignoreBackendSecretFilesRead(args);
|
|
2082
2082
|
}
|
|
2083
2083
|
if (args.static !== void 0) {
|
|
2084
|
-
const { assertNoSeedLeaks } = await import("./deploy-command-
|
|
2084
|
+
const { assertNoSeedLeaks } = await import("./deploy-command-HJZNYCUY.js");
|
|
2085
2085
|
await assertNoSeedLeaks(args.static, nonPublicSeedValues);
|
|
2086
2086
|
}
|
|
2087
2087
|
{
|
|
2088
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
2088
|
+
const { runBundleHooks } = await import("./toolchain-hooks-QVUZ6HZ4.js");
|
|
2089
2089
|
const { readVersion } = await import("./cli.js");
|
|
2090
2090
|
await runBundleHooks(
|
|
2091
2091
|
toolchain.loaded,
|
|
@@ -2191,8 +2191,8 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2191
2191
|
pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
|
|
2192
2192
|
}).catch(async (err) => {
|
|
2193
2193
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2194
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2195
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2194
|
+
const { importInProgressError } = await import("./keep-data-merge-GUGF7MVZ.js");
|
|
2195
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-JRGMZZAC.js");
|
|
2196
2196
|
const retry = retryCommand2(args);
|
|
2197
2197
|
throw importInProgressError(
|
|
2198
2198
|
describeWriteTarget({ base: destBase, workspaceId, label: destShownLabel }),
|
|
@@ -2312,10 +2312,10 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2312
2312
|
}
|
|
2313
2313
|
const dryRunUpToDate = req.branch === void 0 && (plan.operations.length === 0 || converged);
|
|
2314
2314
|
if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
|
|
2315
|
-
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-
|
|
2315
|
+
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-GUGF7MVZ.js");
|
|
2316
2316
|
const triggers = liveTableTriggers(live);
|
|
2317
2317
|
if (triggers.length > 0) {
|
|
2318
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2318
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-JRGMZZAC.js");
|
|
2319
2319
|
const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
|
|
2320
2320
|
throw tableTriggerMergeError(destNoun, triggers, {
|
|
2321
2321
|
command: replace.command,
|
|
@@ -2324,7 +2324,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
}
|
|
2326
2326
|
if (req.mode === "merge" && live !== void 0 && !dryRunUpToDate && losses.storageChanges.length > 0) {
|
|
2327
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2327
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-JRGMZZAC.js");
|
|
2328
2328
|
const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
|
|
2329
2329
|
await assertStorageModesKept(losses.storageChanges, tableRowCounter(auth, { workspaceId, base: destBase }), {
|
|
2330
2330
|
target: destNoun,
|
|
@@ -2407,7 +2407,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2407
2407
|
assertLiveWorkspaceWasRead(live, destNoun, scopeBranch, liveRead.failure, liveKind);
|
|
2408
2408
|
reportPlannedCanonicalMoves(canonicalMoves, "will", movesWhen);
|
|
2409
2409
|
if (req.branch !== void 0 && args.setLive && !args.yes && process.stdin.isTTY !== true) {
|
|
2410
|
-
const { yesRerun } = await import("./retry-command-
|
|
2410
|
+
const { yesRerun } = await import("./retry-command-JRGMZZAC.js");
|
|
2411
2411
|
const { rerun, note } = yesRerun(args, "deploy");
|
|
2412
2412
|
throw needsConfirmation(
|
|
2413
2413
|
`Make "${req.branch}" the live branch?${movesClause(canonicalMoves)} (or drop --set-live to stage it)`,
|
|
@@ -2446,7 +2446,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2446
2446
|
landingRecord: null,
|
|
2447
2447
|
...seeded.length > 0 ? { seedRows: seeded } : {}
|
|
2448
2448
|
});
|
|
2449
|
-
const { yesRerun } = await import("./retry-command-
|
|
2449
|
+
const { yesRerun } = await import("./retry-command-JRGMZZAC.js");
|
|
2450
2450
|
const { rerun, note } = yesRerun(args, "deploy");
|
|
2451
2451
|
const ok = await confirm(`Apply this plan to ${destNoun}?${seedOverwriteClause(seeded)}${movesClause(canonicalMoves, movesWhen === void 0 ? "It" : "Once live, it")}`, {
|
|
2452
2452
|
flag: "--yes",
|
|
@@ -2493,7 +2493,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2493
2493
|
);
|
|
2494
2494
|
} catch (err) {
|
|
2495
2495
|
if (err instanceof XanoSdkImportRefusal) {
|
|
2496
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2496
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-JRGMZZAC.js");
|
|
2497
2497
|
const retry = retryCommand2(args);
|
|
2498
2498
|
reportApplyRefusal(
|
|
2499
2499
|
err,
|
|
@@ -2672,7 +2672,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2672
2672
|
if (isMachineOutput(args)) writeJson(summary);
|
|
2673
2673
|
assertStaticMatchesServedUrls(servedDifferences, planContext);
|
|
2674
2674
|
}
|
|
2675
|
-
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-
|
|
2675
|
+
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-HJZNYCUY.js");
|
|
2676
2676
|
const env = buildStaticEnv(destBase, args.staticEnv);
|
|
2677
2677
|
const explicit = Object.keys(args.staticEnv).length > 0;
|
|
2678
2678
|
const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
|
|
@@ -2724,14 +2724,14 @@ function setLiveRollback(previous, args) {
|
|
|
2724
2724
|
async function assertReleaseIdentitiesFree(args, auth, opts) {
|
|
2725
2725
|
const tenant = opts.tenant;
|
|
2726
2726
|
const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
|
|
2727
|
-
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-
|
|
2727
|
+
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-E3WSIYUE.js");
|
|
2728
2728
|
let capable;
|
|
2729
2729
|
try {
|
|
2730
2730
|
capable = await detectXanoSdkImportRoute(auth, target);
|
|
2731
2731
|
} catch (err) {
|
|
2732
2732
|
if (err?.status === 501) capable = false;
|
|
2733
2733
|
else {
|
|
2734
|
-
const { unreachableProbeError } = await import("./keep-data-merge-
|
|
2734
|
+
const { unreachableProbeError } = await import("./keep-data-merge-GUGF7MVZ.js");
|
|
2735
2735
|
const retry = retryCommand(args, {
|
|
2736
2736
|
add: pipedYes(args) === "" ? [] : ["--yes"],
|
|
2737
2737
|
command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
|
|
@@ -2820,4 +2820,4 @@ export {
|
|
|
2820
2820
|
setLiveRollback,
|
|
2821
2821
|
assertReleaseIdentitiesFree
|
|
2822
2822
|
};
|
|
2823
|
-
//# sourceMappingURL=chunk-
|
|
2823
|
+
//# sourceMappingURL=chunk-Z2BRSQ6M.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sha256Hex
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-64WWE3EF.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeEngineVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JQOX6HW4.js";
|
|
7
7
|
import {
|
|
8
8
|
localEngineBinDir,
|
|
9
9
|
localEngineHome
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PL7AIAWS.js";
|
|
11
11
|
import {
|
|
12
12
|
SDK_PACKAGE,
|
|
13
13
|
composeToolchainConfig,
|
|
14
14
|
readProjectManifest,
|
|
15
15
|
readToolchainBlock,
|
|
16
16
|
writeToolchainConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DXUICABI.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWrite
|
|
20
20
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -77,21 +77,21 @@ function assertSafeCacheDir(dir, env = process.env) {
|
|
|
77
77
|
}
|
|
78
78
|
if (st.isSymbolicLink()) {
|
|
79
79
|
throw new Error(
|
|
80
|
-
`The
|
|
81
|
-
Replace it with a real directory, or point the cache elsewhere with
|
|
80
|
+
`The Xano Engine cache path is a symlink, and a symlink points somewhere these checks never looked: ${current}
|
|
81
|
+
Replace it with a real directory, or point the cache elsewhere with XANOSDK_ENGINE_HOME.`
|
|
82
82
|
);
|
|
83
83
|
}
|
|
84
84
|
if ((st.mode & 18) !== 0) {
|
|
85
85
|
throw new Error(
|
|
86
|
-
`The
|
|
87
|
-
Anything that can write there can replace the engine executable, and an executable this SDK spawns is not a file to leave open. Run \`chmod go-w\` on it, or point the cache somewhere private with
|
|
86
|
+
`The Xano Engine cache is writable by other users on this machine: ${current}
|
|
87
|
+
Anything that can write there can replace the engine executable, and an executable this SDK spawns is not a file to leave open. Run \`chmod go-w\` on it, or point the cache somewhere private with XANOSDK_ENGINE_HOME.`
|
|
88
88
|
);
|
|
89
89
|
}
|
|
90
90
|
const uid = ownerUid();
|
|
91
91
|
if (uid !== void 0 && st.uid !== uid) {
|
|
92
92
|
throw new Error(
|
|
93
|
-
`The
|
|
94
|
-
An executable this SDK spawns has to be one only you can replace. Take ownership of it, or point the cache somewhere you own with
|
|
93
|
+
`The Xano Engine cache is owned by another user: ${current}
|
|
94
|
+
An executable this SDK spawns has to be one only you can replace. Take ownership of it, or point the cache somewhere you own with XANOSDK_ENGINE_HOME.`
|
|
95
95
|
);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
@@ -186,14 +186,14 @@ function verifiedEngineExecutable(entry, env = process.env) {
|
|
|
186
186
|
} catch {
|
|
187
187
|
throw new Error(
|
|
188
188
|
`The cached engine is gone from ${entry.dir}.
|
|
189
|
-
Re-run the same \`xanosdk deploy --local
|
|
189
|
+
Re-run the same \`xanosdk deploy --local\` and it is fetched again.`
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
192
|
const actual = sha256Hex(bytes);
|
|
193
193
|
if (actual !== entry.digest) {
|
|
194
194
|
throw new Error(
|
|
195
195
|
`The cached engine's bytes do not match the digest recorded when it was fetched, so it will not be run: ${entry.dir}
|
|
196
|
-
Something replaced it after it was downloaded. Delete that directory and re-run the same \`xanosdk deploy --local
|
|
196
|
+
Something replaced it after it was downloaded. Delete that directory and re-run the same \`xanosdk deploy --local\` to get it again.`
|
|
197
197
|
);
|
|
198
198
|
}
|
|
199
199
|
return entry.executable;
|
|
@@ -291,7 +291,7 @@ function diskBytes(path) {
|
|
|
291
291
|
// src/deploy/local-engine-pin.ts
|
|
292
292
|
import { existsSync, writeFileSync as writeFileSync2 } from "fs";
|
|
293
293
|
import { join as join2 } from "path";
|
|
294
|
-
var PIN_FIELD = "
|
|
294
|
+
var PIN_FIELD = "engine";
|
|
295
295
|
function isUnusablePin(pin) {
|
|
296
296
|
return typeof pin === "object" && pin !== null;
|
|
297
297
|
}
|
|
@@ -301,7 +301,7 @@ function readPin(projectDir, opts = {}) {
|
|
|
301
301
|
const manifest = readProjectManifest(projectDir);
|
|
302
302
|
if (manifest === null) {
|
|
303
303
|
opts.warn?.(
|
|
304
|
-
`${path} could not be parsed as a JSON object, so its
|
|
304
|
+
`${path} could not be parsed as a JSON object, so its Xano Engine pin was not read.`
|
|
305
305
|
);
|
|
306
306
|
return { unusable: void 0 };
|
|
307
307
|
}
|
|
@@ -323,7 +323,7 @@ function readPin(projectDir, opts = {}) {
|
|
|
323
323
|
function writePin(projectDir, version) {
|
|
324
324
|
if (!RELEASE_VERSION.test(version)) {
|
|
325
325
|
throw new Error(
|
|
326
|
-
`cannot pin
|
|
326
|
+
`cannot pin Xano Engine version ${JSON.stringify(version)}: expected vMAJOR.MINOR.PATCH, like "v0.1.5".`
|
|
327
327
|
);
|
|
328
328
|
}
|
|
329
329
|
const path = join2(projectDir, "package.json");
|
|
@@ -362,4 +362,4 @@ export {
|
|
|
362
362
|
readPin,
|
|
363
363
|
writePin
|
|
364
364
|
};
|
|
365
|
-
//# sourceMappingURL=chunk-
|
|
365
|
+
//# sourceMappingURL=chunk-Z3SNX45M.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
contextFlags,
|
|
6
6
|
isCredentialStoreCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-G57RYMKB.js";
|
|
8
8
|
import {
|
|
9
9
|
shellQuote
|
|
10
10
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -77,7 +77,7 @@ function retryCommand(args, opts = {}) {
|
|
|
77
77
|
if (!attached && (CREDENTIAL_VALUE_FLAGS.has(spelling) || createOnly.has(spelling))) i += 1;
|
|
78
78
|
continue;
|
|
79
79
|
}
|
|
80
|
-
if (token === "--local") continue;
|
|
80
|
+
if (token === "--local-auth") continue;
|
|
81
81
|
kept.push(shellQuote(token));
|
|
82
82
|
}
|
|
83
83
|
const stdin = secretAt === void 0 ? "" : `printf %s "${STDIN_VALUE}" | `;
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
pipedYes,
|
|
107
107
|
withheldNote
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-Z4VN347O.js.map
|