@xano/sdk 1.0.7 → 1.0.8
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 +20 -5
- package/README.md +2 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-DGGSRPJ4.js → agent-file-refresh-QJO3MT6Q.js} +10 -10
- package/dist/{agent-skill-command-37DFYS7Q.js → agent-skill-command-GBR4KUUG.js} +42 -42
- package/dist/{answer-shape-RBFDCNZ7.js → answer-shape-UMQRXMCX.js} +5 -5
- package/dist/{backend-dir-KDD43X7K.js → backend-dir-PFUIPCV3.js} +10 -10
- package/dist/{backend-slot-TBOVZXDE.js → backend-slot-TTRNOQF5.js} +4 -4
- package/dist/bin.js +43 -43
- package/dist/{branch-7PIKNUD7.js → branch-Q7CDJRU6.js} +9 -9
- package/dist/{branch-commands-EGY7ZEZE.js → branch-commands-CR3SAHMV.js} +24 -24
- package/dist/bundle.js +2 -2
- package/dist/{chunk-46PATL23.js → chunk-2HZDWZM2.js} +3 -3
- package/dist/{chunk-ELPQTDW6.js → chunk-33KELF2X.js} +73 -72
- package/dist/{chunk-7VR4IO5B.js → chunk-3P35HT64.js} +2 -2
- package/dist/{chunk-HZ6ADG3O.js → chunk-3UZQ5TMG.js} +5 -5
- package/dist/{chunk-FENA7K7C.js → chunk-4JKXGPXB.js} +3 -3
- package/dist/{chunk-ARWMVNDJ.js → chunk-5QOV52V4.js} +2 -2
- package/dist/{chunk-EPFDY5JU.js → chunk-5Y5HWQ2P.js} +2 -2
- package/dist/{chunk-T4LJ5UR2.js → chunk-6BOKCTCM.js} +52 -22
- package/dist/{chunk-FNLTFOUD.js → chunk-6NEV2PEC.js} +2 -2
- package/dist/{chunk-47XT6WQL.js → chunk-6PTITS3M.js} +5 -5
- package/dist/{chunk-3FRGNBOC.js → chunk-6S263KTM.js} +2 -2
- package/dist/{chunk-JI3BLXWQ.js → chunk-6YOH2L3G.js} +11 -5
- package/dist/{chunk-5QMJOE2K.js → chunk-6ZFJEJXZ.js} +5 -3
- package/dist/{chunk-M2C54ZBC.js → chunk-75MKIQON.js} +4 -4
- package/dist/{chunk-SDGV76HF.js → chunk-76UAME77.js} +2 -2
- package/dist/{chunk-L472YIGG.js → chunk-77GV772V.js} +8 -8
- package/dist/{chunk-26LHXLD3.js → chunk-7JKNWDYN.js} +2 -2
- package/dist/{chunk-JOWY6HFL.js → chunk-7MPI7NIW.js} +3 -3
- package/dist/{chunk-TWVUYS63.js → chunk-7UWUEUVJ.js} +15 -15
- package/dist/{chunk-2ACWDSAQ.js → chunk-AS4G2MIE.js} +3 -3
- package/dist/{chunk-EF4MHLEW.js → chunk-B3NH5UBI.js} +4 -4
- package/dist/{chunk-SLGJIWCY.js → chunk-B5N6EWOM.js} +2 -2
- package/dist/{chunk-UYFUIHH3.js → chunk-C2GHFADU.js} +2 -2
- package/dist/{chunk-ZJOAWRED.js → chunk-C2I4GC36.js} +4 -4
- package/dist/{chunk-CH23ONYG.js → chunk-C6KBZH7M.js} +7 -2
- package/dist/{chunk-5ZG7V2VW.js → chunk-CRE7P7P2.js} +3 -3
- package/dist/{chunk-AVS4WPPY.js → chunk-DER2CVNC.js} +2 -2
- package/dist/{chunk-JX6N73H3.js → chunk-DY3EJWWH.js} +2 -2
- package/dist/{chunk-SKEG3V2V.js → chunk-EKTIGGFO.js} +2 -2
- package/dist/{chunk-A4R5CAY4.js → chunk-F3IA3YWI.js} +1 -1
- package/dist/{chunk-FQ53GTII.js → chunk-F5RPNTN7.js} +6 -6
- package/dist/{chunk-U5M7T6CI.js → chunk-FHQYXGAY.js} +7 -7
- package/dist/{chunk-567KK6XF.js → chunk-FN7E6XGD.js} +4 -4
- package/dist/{chunk-FDTET7FZ.js → chunk-GN5SQMIQ.js} +4 -4
- package/dist/{chunk-QRQ54LUI.js → chunk-H3ZBAR2L.js} +10 -10
- package/dist/{chunk-RBU2YX22.js → chunk-HFOGQIII.js} +2 -2
- package/dist/{chunk-DIWF7L33.js → chunk-HKLBDSML.js} +3 -3
- package/dist/{chunk-7M6JP3FS.js → chunk-HQPL34O6.js} +2 -2
- package/dist/{chunk-BSVQEKHO.js → chunk-HTP2CLRQ.js} +5 -5
- package/dist/{chunk-CPN6WSBH.js → chunk-HVPSDQJB.js} +3 -3
- package/dist/{chunk-IYXL5NYU.js → chunk-I53OTC3O.js} +2 -2
- package/dist/{chunk-NDJAKSE7.js → chunk-IB6SKACE.js} +4 -4
- package/dist/{chunk-BZ6WTG3E.js → chunk-JG642U5D.js} +4 -4
- package/dist/{chunk-EU32BC5B.js → chunk-JJGK7XGC.js} +8 -8
- package/dist/{chunk-YCUDOF6Q.js → chunk-JPRZ4ZGU.js} +15 -15
- package/dist/{chunk-GHMLRFRX.js → chunk-K75BFHQQ.js} +5 -5
- package/dist/{chunk-D3KEPRRN.js → chunk-LTPF25L2.js} +2 -1
- package/dist/{chunk-PV25BDCH.js → chunk-M3RLLT4O.js} +4 -4
- package/dist/{chunk-WNCW2RNB.js → chunk-NFSUGVDY.js} +4 -4
- package/dist/{chunk-N3YFCFCO.js → chunk-NFZUXS7D.js} +14 -14
- package/dist/{chunk-LBJA7IEM.js → chunk-O376UAZS.js} +2 -2
- package/dist/{chunk-JOOKM7AH.js → chunk-OBJ7FQDX.js} +2 -2
- package/dist/{chunk-VJFMUJWZ.js → chunk-OHTHG3LL.js} +2 -2
- package/dist/{chunk-HTQWAQRW.js → chunk-P5W6DBV6.js} +3 -3
- package/dist/{chunk-B3P25SDP.js → chunk-PAS5HOG3.js} +5 -5
- package/dist/{chunk-S46ODQRA.js → chunk-PBK257CI.js} +2 -2
- package/dist/{chunk-AKERAUNH.js → chunk-PFW7WFAT.js} +4 -4
- package/dist/{chunk-2SD4LA22.js → chunk-QC3MKMDK.js} +2 -2
- package/dist/{chunk-YH2JVJAO.js → chunk-QE2GNFMP.js} +8 -8
- package/dist/{chunk-CNZASQPL.js → chunk-QL3ZJWGG.js} +2 -2
- package/dist/{chunk-VNDR2T35.js → chunk-QRKBFXIB.js} +7 -7
- package/dist/{chunk-IPNN2KRW.js → chunk-QTMXJQZN.js} +3 -3
- package/dist/{chunk-WUEPP5HD.js → chunk-QXOBZSQD.js} +4 -4
- package/dist/{chunk-VAGSKUWC.js → chunk-R3LANPQZ.js} +3 -3
- package/dist/{chunk-M3NEK3LT.js → chunk-R4NOZBOY.js} +4 -4
- package/dist/{chunk-D5OZRJ3T.js → chunk-RYMGK2K5.js} +6 -6
- package/dist/{chunk-2YER2J47.js → chunk-S2F7KVUL.js} +5 -5
- package/dist/{chunk-B2URJBC4.js → chunk-S3STXOAO.js} +14 -14
- package/dist/{chunk-7XXWKTCE.js → chunk-S3WN6GGO.js} +29 -29
- package/dist/{chunk-ORGNLQN6.js → chunk-S42TFTM5.js} +3 -3
- package/dist/{chunk-MYZRMSPM.js → chunk-TG65NWUR.js} +2 -2
- package/dist/{chunk-L6HZ67P6.js → chunk-TR7EOUQE.js} +2 -2
- package/dist/{chunk-PEIBGH2V.js → chunk-U7XNJ33Q.js} +22 -22
- package/dist/{chunk-ZXRDD3Q2.js → chunk-UKJFCEMI.js} +3 -3
- package/dist/{chunk-PEX4QZVI.js → chunk-ULUUOUQX.js} +2 -2
- package/dist/{chunk-ZGLNHA7T.js → chunk-UU7EEREQ.js} +4 -4
- package/dist/{chunk-SGK3PTTM.js → chunk-V7KMIEMF.js} +43 -43
- package/dist/{chunk-PY722CHR.js → chunk-VD7YTLWL.js} +2 -2
- package/dist/{chunk-RRMH7WMY.js → chunk-VHV25AAO.js} +7 -7
- package/dist/{chunk-MBL7CXJ7.js → chunk-VJTTTIIB.js} +2 -2
- package/dist/{chunk-5SCPRXFB.js → chunk-W2BVP27L.js} +3 -3
- package/dist/{chunk-2XWVZRL6.js → chunk-WEQFI55W.js} +7 -7
- package/dist/{chunk-VIJ5D3RC.js → chunk-XQO4A4Q4.js} +3 -3
- package/dist/{chunk-NV37YGOV.js → chunk-XYTVP4WI.js} +6 -6
- package/dist/{chunk-CT3J5JRZ.js → chunk-Y5ET37NN.js} +7 -7
- package/dist/{chunk-QGIZLFAS.js → chunk-YE7MHW45.js} +4 -4
- package/dist/{chunk-YHB34BN6.js → chunk-YEH5OIPF.js} +2 -1
- package/dist/{chunk-I6XRUU6U.js → chunk-YG7S3N7P.js} +117 -49
- package/dist/{chunk-H2K4GFUS.js → chunk-YP76ZCQ5.js} +4 -4
- package/dist/{chunk-DG3APBUJ.js → chunk-ZJCHS7FM.js} +84 -80
- package/dist/{chunk-V7MBRUK6.js → chunk-ZO3QWFNV.js} +3 -3
- package/dist/{chunk-DXZTL7NA.js → chunk-ZQ5WZWHF.js} +39 -39
- package/dist/{chunk-O56DQKPL.js → chunk-ZT2B22VQ.js} +9 -9
- package/dist/cli.d.ts +8 -1
- package/dist/cli.js +41 -41
- package/dist/{codegen-command-T7TC7PQO.js → codegen-command-4YXDJSLU.js} +61 -61
- package/dist/{commands-JDENTDJS.js → commands-FOHIPDKZ.js} +3 -3
- package/dist/{completion-YFD5OVJW.js → completion-XUBGMKGV.js} +3 -3
- package/dist/{config-YJFUTRJW.js → config-544VCRKP.js} +4 -4
- package/dist/{deploy-command-OEVEE6UG.js → deploy-command-FIDS56ZC.js} +48 -48
- package/dist/{deploy-source-HYVZEYXV.js → deploy-source-FPNNNNOW.js} +28 -28
- package/dist/{dev-env-sync-EFDCJ6KU.js → dev-env-sync-RBJ2U3HG.js} +42 -42
- package/dist/{diagnostics-OMN5Y2AH.js → diagnostics-FNVNRYMB.js} +2 -2
- package/dist/{display-name-hint-SW3GB3V7.js → display-name-hint-EZQK2PDU.js} +11 -11
- package/dist/{emit-Dov_92kn.d.ts → emit-8lcNcRrd.d.ts} +12 -12
- package/dist/{env-example-refresh-WNSOH534.js → env-example-refresh-6UTTMDOI.js} +62 -62
- package/dist/{env-pull-command-UYEXMQ3P.js → env-pull-command-P5MATITQ.js} +40 -40
- package/dist/{env-target-JBSLBKNX.js → env-target-F75YF25S.js} +10 -10
- package/dist/{env-var-command-BJNRAXNV.js → env-var-command-H3GHROVB.js} +38 -38
- package/dist/{ephemeral-CEOGMIEA.js → ephemeral-H24NF6WP.js} +9 -9
- package/dist/{ephemeral-command-IPSGBCS5.js → ephemeral-command-NH2XW3YK.js} +41 -41
- package/dist/{ephemeral-state-MTBASPRS.js → ephemeral-state-YLZQIOBF.js} +8 -8
- package/dist/{generate-command-XQXODBS6.js → generate-command-IANKN6WV.js} +66 -66
- package/dist/{gitignore-RUVCIZO4.js → gitignore-FT2LVOMI.js} +14 -14
- package/dist/{guards-KYEOCVHN.js → guards-4VPSEOAI.js} +6 -4
- package/dist/{impersonate-command-MA27O7S5.js → impersonate-command-7B67ICPL.js} +34 -34
- package/dist/{import-XKRFHABE.js → import-TXYVFYJS.js} +5 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +8 -8
- package/dist/{init-command-6RDTCMAB.js → init-command-QOA4TJI2.js} +46 -46
- package/dist/{init-modules-DHTBOCQT.js → init-modules-KEEJ4HAF.js} +8 -8
- package/dist/{init-web-ELBXSXDL.js → init-web-MSXDARRF.js} +3 -3
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +10 -10
- package/dist/{keep-data-merge-TDJOIAVT.js → keep-data-merge-BIBW4QR4.js} +23 -23
- package/dist/{landing-record-TPPYFQAS.js → landing-record-DO3PM7QP.js} +16 -16
- package/dist/{live-diff-5E2BQWQ7.js → live-diff-CGTGOH3S.js} +3 -3
- package/dist/{local-engine-choice-S6VHPJRU.js → local-engine-choice-2UF7S5QZ.js} +31 -31
- package/dist/{local-engine-command-4EZCGZ6M.js → local-engine-command-WGMMZRQL.js} +36 -36
- package/dist/{local-engine-config-2EBL3QKA.js → local-engine-config-6CB6FOEJ.js} +2 -2
- package/dist/{local-engine-deploy-FOPNWU7X.js → local-engine-deploy-ID4JJXB5.js} +14 -14
- package/dist/{local-engine-lookup-GM3E3NPP.js → local-engine-lookup-IC7BKAYP.js} +4 -4
- package/dist/{local-engine-mcp-bridge-QKZHUGW3.js → local-engine-mcp-bridge-3SOJMZ5T.js} +5 -5
- package/dist/{local-engine-mcp-command-BFQVLXZC.js → local-engine-mcp-command-RMVUH4FL.js} +39 -39
- package/dist/{local-engine-process-XUQPQENQ.js → local-engine-process-HG5BGG3F.js} +9 -9
- package/dist/{local-engine-state-JQPKGB65.js → local-engine-state-JZHTKHDG.js} +3 -3
- package/dist/{local-engine-update-check-S7UF6ZF5.js → local-engine-update-check-SKZR7YSC.js} +6 -6
- package/dist/{lock-commands-HJ6Y5QVS.js → lock-commands-5NMQWBGH.js} +46 -46
- package/dist/{login-command-JO55NZAS.js → login-command-GLLFZWHT.js} +22 -22
- package/dist/{logout-command-MPRIRSJA.js → logout-command-NCMKMJWF.js} +13 -13
- package/dist/{loop-SUB6C2LK.js → loop-XFDS65OD.js} +3 -3
- package/dist/{marketplace-command-BM6G257N.js → marketplace-command-Y3RRUEWL.js} +29 -29
- package/dist/{marketplace-resolve-AWH3RG57.js → marketplace-resolve-PWEYJ2XS.js} +6 -6
- package/dist/{meta-client-AOSWODQQ.js → meta-client-Y7N6WDS2.js} +11 -11
- package/dist/{module-manifest-GXI46PEF.js → module-manifest-KY7J63HG.js} +4 -4
- package/dist/node.d.ts +4 -4
- package/dist/node.js +47 -47
- package/dist/{operation-outcome-4UKPXTNC.js → operation-outcome-4BFISK2R.js} +22 -22
- package/dist/{output-target-RAZ4KN5J.js → output-target-MFANTVGZ.js} +15 -15
- package/dist/{plan-disclosure-JR52DWXN.js → plan-disclosure-GNLDYV2A.js} +15 -15
- package/dist/{plugin-contributions-E6XHLQWK.js → plugin-contributions-PAGG6SUP.js} +5 -5
- package/dist/{plugin-prompt-IODX5EU6.js → plugin-prompt-2MX6LF6X.js} +5 -5
- package/dist/{plugin-questions-AAAJ7POP.js → plugin-questions-AP6VUTOB.js} +4 -4
- package/dist/{preflight-command-7GKJBWOQ.js → preflight-command-Q6XOKRM6.js} +53 -53
- package/dist/{profile-command-CM6J7E2M.js → profile-command-XPQIXFWN.js} +23 -23
- package/dist/{profile-pointer-KTYXL6FU.js → profile-pointer-4HJQH5ZR.js} +4 -4
- package/dist/{project-dependency-OQ5575QQ.js → project-dependency-ORX45I74.js} +7 -7
- package/dist/{project-sdk-2ESHHZVL.js → project-sdk-IYMFVQRC.js} +4 -4
- package/dist/promote-command-DN64QK7O.js +147 -0
- package/dist/{prompt-MQPGU4ZI.js → prompt-ZZUYWFQX.js} +4 -4
- package/dist/{publish-command-IEMYZ7LF.js → publish-command-SLE46MQX.js} +51 -51
- package/dist/{pull-command-S5E2ABZ4.js → pull-command-UVK3IOXM.js} +64 -64
- package/dist/{pull-superseded-E34BZVLH.js → pull-superseded-UZ3MB53B.js} +4 -4
- package/dist/{release-command-7F5TBKO2.js → release-command-MKNESNGB.js} +59 -59
- package/dist/{release-ns-command-EK2ZQ4CC.js → release-ns-command-HLR46IKP.js} +75 -75
- package/dist/{retry-command-GL5HCMVB.js → retry-command-VZYLYDVX.js} +8 -8
- package/dist/{routes-manifest-YR4ZIMLM.js → routes-manifest-RIZGSOZC.js} +4 -4
- package/dist/{routes-manifest-file-LCIKPDAG.js → routes-manifest-file-UHVVL2YB.js} +7 -7
- package/dist/{secrets-file-LXREYU3M.js → secrets-file-HST7BMQC.js} +14 -14
- package/dist/{secrets-fill-command-QHZS3KWM.js → secrets-fill-command-FQJ4QFBP.js} +45 -45
- package/dist/{seed-FRKMDN2Z.js → seed-KEPIS7UZ.js} +5 -5
- package/dist/{source-resolve-BBHYTOXI.js → source-resolve-LNRUITLS.js} +20 -20
- package/dist/{static-host-7LC7OZR4.js → static-host-JAOT3N3E.js} +5 -5
- package/dist/{status-command-TY253MJT.js → status-command-S5CBG2SW.js} +35 -35
- package/dist/{store-Boba9OOh.d.ts → store-CuD1k4kV.d.ts} +1 -1
- package/dist/{store-VJ3OS6VO.js → store-YFNDD6GZ.js} +6 -6
- package/dist/{sync-baseline-DOV5AGIO.js → sync-baseline-3CDL4PKT.js} +7 -5
- package/dist/{sync-contributions-63542VE4.js → sync-contributions-O5ZRM2JN.js} +9 -9
- package/dist/{sync-record-RGHK7EAL.js → sync-record-U65BCPSP.js} +10 -10
- package/dist/{table-OAYGFGEN.js → table-E5YTK7QX.js} +7 -7
- package/dist/{tables-command-PZIVDAH3.js → tables-command-7KI2KZOS.js} +34 -34
- package/dist/{tenant-Y3II4VY3.js → tenant-DAXJ4P4D.js} +10 -10
- package/dist/{tenant-command-G6XON7CF.js → tenant-command-MQTLNETR.js} +81 -81
- package/dist/{test-command-3FZOX7O3.js → test-command-NLYMAAPD.js} +33 -33
- package/dist/{tests-KF6N6BZ7.js → tests-CLDZWLKF.js} +6 -6
- package/dist/{token-DJJUW5HY.js → token-3IPTVEEW.js} +9 -9
- package/dist/{toolchain-hooks-7PWCFLSU.js → toolchain-hooks-3ZAAAWPL.js} +6 -6
- package/dist/{toolchain-modules-OTNSKK52.js → toolchain-modules-K46KYJ4G.js} +5 -5
- package/dist/{toolchain-peers-KQ7TQ2AR.js → toolchain-peers-AIKWKJH7.js} +8 -8
- package/dist/{tracked-backend-AJCGTO5Y.js → tracked-backend-FQFXTTYZ.js} +31 -31
- package/dist/{update-check-4E5L6GAW.js → update-check-FHRRUDEC.js} +44 -44
- package/dist/{upgrade-command-BXMSQN4C.js → upgrade-command-WNBPKUXN.js} +46 -46
- package/dist/{whoami-command-NLCCIEUM.js → whoami-command-DPGDK35H.js} +12 -12
- package/dist/{workspace-PNMJOXE4.js → workspace-2GMONZ2A.js} +5 -5
- package/dist/{workspace-binding-J5GWDFRI.js → workspace-binding-PAUOIK3V.js} +11 -11
- package/dist/{workspace-command-MHIIY352.js → workspace-command-KEKL27Y4.js} +84 -89
- package/dist/{workspace-env-LLRWCHSA.js → workspace-env-GGEZVZDY.js} +11 -11
- package/dist/{workspace-export-BIKAYHWJ.js → workspace-export-UHY22VBI.js} +5 -5
- package/dist/{writable-UOTO4WWC.js → writable-2A6MBSFD.js} +4 -4
- package/dist/{xano-LCI7VWPS.js → xano-6T6L7TTI.js} +5 -5
- package/dist/{xanosdk-import-S7A3CVBN.js → xanosdk-import-HYHABD5U.js} +6 -6
- package/dist/{xanosdk-project-J4VCFRHP.js → xanosdk-project-2T56DRYS.js} +12 -12
- package/guides/codes.md +4 -1
- package/guides/deploying.md +17 -1
- package/llms/errors.md +1 -1
- package/llms/kinds-agent-mcp.md +1 -1
- package/llms-full.txt +3 -3
- package/llms.txt +1 -1
- package/manifest.json +5 -1
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/promote-command-BDRPG6UU.js +0 -147
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
passwordHashesWarning,
|
|
6
6
|
passwordOrigin
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JJGK7XGC.js";
|
|
8
8
|
import {
|
|
9
9
|
isAwaited,
|
|
10
10
|
microserviceLine,
|
|
11
11
|
readyRatio,
|
|
12
12
|
waitForMicroservices
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-R4NOZBOY.js";
|
|
14
14
|
import {
|
|
15
15
|
EXIT_STATIC_FAILED,
|
|
16
16
|
assertStaticHostExists,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
staticRetryHint,
|
|
26
26
|
unknownStaticOutcome,
|
|
27
27
|
warnStaticTeardown
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VHV25AAO.js";
|
|
29
29
|
import {
|
|
30
30
|
HostedFilesUnresolvedError,
|
|
31
31
|
ImportNotSentError,
|
|
32
32
|
XanoSdkImportRefusal,
|
|
33
33
|
xanosdkImport
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FN7E6XGD.js";
|
|
35
35
|
import {
|
|
36
36
|
archiveHostedFiles,
|
|
37
37
|
decodeWorkspaceArchive,
|
|
@@ -48,23 +48,23 @@ import {
|
|
|
48
48
|
missingLockDir,
|
|
49
49
|
refuseCompileValueFlags,
|
|
50
50
|
refuseValueFlagsBesideBundle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZJCHS7FM.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-PBK257CI.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-7UWUEUVJ.js";
|
|
58
58
|
import {
|
|
59
59
|
getAccessToken
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-QE2GNFMP.js";
|
|
61
61
|
import {
|
|
62
62
|
otherCredentialRefusal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-QRKBFXIB.js";
|
|
64
64
|
import {
|
|
65
65
|
engineNameForProject,
|
|
66
66
|
getEngineRecord
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-5Y5HWQ2P.js";
|
|
68
68
|
import {
|
|
69
69
|
createEphemeral,
|
|
70
70
|
getEphemeral,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
namedEphemeral,
|
|
76
76
|
renameEphemeral,
|
|
77
77
|
waitUntilReady
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-PFW7WFAT.js";
|
|
79
79
|
import {
|
|
80
80
|
readLockFile
|
|
81
81
|
} from "./chunk-CJDPSCMX.js";
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
readEphemeralState,
|
|
90
90
|
recordStaticUrl,
|
|
91
91
|
setEnvironment
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-S42TFTM5.js";
|
|
93
93
|
import {
|
|
94
94
|
selectDeployArm
|
|
95
95
|
} from "./chunk-ZYJP6BOO.js";
|
|
@@ -98,21 +98,21 @@ import {
|
|
|
98
98
|
retryCommand,
|
|
99
99
|
withheldNote,
|
|
100
100
|
yesRerun
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-C2GHFADU.js";
|
|
102
102
|
import {
|
|
103
103
|
andList
|
|
104
104
|
} from "./chunk-622HUCZT.js";
|
|
105
105
|
import {
|
|
106
106
|
contextFlags,
|
|
107
107
|
credentialFileOf
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-6S263KTM.js";
|
|
109
109
|
import {
|
|
110
110
|
SENT_AFTERMATH,
|
|
111
111
|
TransportError,
|
|
112
112
|
certificateFailureCode,
|
|
113
113
|
closeSentence,
|
|
114
114
|
withoutReadAftermath
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-TR7EOUQE.js";
|
|
116
116
|
import {
|
|
117
117
|
describeWrite,
|
|
118
118
|
noteLanded
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
withSpinner,
|
|
152
152
|
writeJson,
|
|
153
153
|
writeTargetPayload
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-C6KBZH7M.js";
|
|
155
155
|
import {
|
|
156
156
|
codePinnedTables
|
|
157
157
|
} from "./chunk-5KJBWIDZ.js";
|
|
@@ -204,7 +204,7 @@ function deriveDisplay(bundleText, cwd, source) {
|
|
|
204
204
|
return basename(cwd) || "xanosdk-app";
|
|
205
205
|
}
|
|
206
206
|
async function assertNoSeedLeaks(dir, values, opts = {}) {
|
|
207
|
-
const { assertStaticDir, findSeedLeaks, StaticDirError } = await import("./static-host-
|
|
207
|
+
const { assertStaticDir, findSeedLeaks, StaticDirError } = await import("./static-host-JAOT3N3E.js");
|
|
208
208
|
try {
|
|
209
209
|
assertStaticDir(dir, "--static", void 0, opts);
|
|
210
210
|
} catch (err) {
|
|
@@ -266,7 +266,7 @@ async function runDeployedTests(auth, summary, args) {
|
|
|
266
266
|
try {
|
|
267
267
|
return await runTestsOrThrow(auth, summary, args, settled, notRun);
|
|
268
268
|
} catch (err) {
|
|
269
|
-
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-
|
|
269
|
+
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-NLYMAAPD.js");
|
|
270
270
|
const message = err instanceof Error ? err.message : String(err);
|
|
271
271
|
const reason = isSuiteUnreachable(err) ? `${message.split("\n")[0] ?? message}
|
|
272
272
|
${suiteUnreachableCheck(
|
|
@@ -291,12 +291,12 @@ function testRunAllCommand(summary, args) {
|
|
|
291
291
|
return `xanosdk test run-all --on ${on}${kind}${concurrency}${flags}`;
|
|
292
292
|
}
|
|
293
293
|
async function testSummaryOf(outcomes, notRun = []) {
|
|
294
|
-
const { suiteCounts, testRow } = await import("./test-command-
|
|
294
|
+
const { suiteCounts, testRow } = await import("./test-command-NLYMAAPD.js");
|
|
295
295
|
return { ...suiteCounts(outcomes, notRun), tests: outcomes.map(testRow) };
|
|
296
296
|
}
|
|
297
297
|
async function runTestsOrThrow(auth, summary, args, settled, notRun) {
|
|
298
|
-
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-
|
|
299
|
-
const { qualifiedName } = await import("./tests-
|
|
298
|
+
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-NLYMAAPD.js");
|
|
299
|
+
const { qualifiedName } = await import("./tests-CLDZWLKF.js");
|
|
300
300
|
if (summary.url === void 0) {
|
|
301
301
|
warn("Skipped --test: the ephemeral reported no base URL to run against.", "deploy.tests-not-run");
|
|
302
302
|
return void 0;
|
|
@@ -339,15 +339,15 @@ async function ignoreBackendSecretFilesRead(args) {
|
|
|
339
339
|
if (args.bundle !== void 0 || args.file === void 0) return;
|
|
340
340
|
const paths = [];
|
|
341
341
|
if (args.envFile === void 0) {
|
|
342
|
-
const { defaultWorkspaceEnvPath } = await import("./workspace-env-
|
|
342
|
+
const { defaultWorkspaceEnvPath } = await import("./workspace-env-GGEZVZDY.js");
|
|
343
343
|
paths.push(defaultWorkspaceEnvPath(args.file));
|
|
344
344
|
}
|
|
345
345
|
if (args.secretsFile === void 0) {
|
|
346
|
-
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-
|
|
346
|
+
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-HST7BMQC.js");
|
|
347
347
|
paths.push(defaultWorkspaceSecretsPath(args.file));
|
|
348
348
|
}
|
|
349
|
-
const { gitSaysIgnored } = await import("./store-
|
|
350
|
-
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-
|
|
349
|
+
const { gitSaysIgnored } = await import("./store-YFNDD6GZ.js");
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-FT2LVOMI.js");
|
|
351
351
|
for (const path of paths) {
|
|
352
352
|
if (!existsSync(path)) continue;
|
|
353
353
|
if (gitSaysIgnored(path) !== false) continue;
|
|
@@ -416,14 +416,14 @@ function shipsStoredFiles(bundle) {
|
|
|
416
416
|
return Array.isArray(payload?.vault) && payload.vault.length > 0;
|
|
417
417
|
}
|
|
418
418
|
async function soleTrackedEphemeral() {
|
|
419
|
-
const { readEphemeralState: readEphemeralState2 } = await import("./ephemeral-state-
|
|
419
|
+
const { readEphemeralState: readEphemeralState2 } = await import("./ephemeral-state-YLZQIOBF.js");
|
|
420
420
|
const names = new Set(Object.values(readEphemeralState2(process.cwd()).environments).map((r) => r.name));
|
|
421
421
|
return names.size === 1 ? [...names][0] : void 0;
|
|
422
422
|
}
|
|
423
423
|
async function runDeployToDestination(args, to) {
|
|
424
|
-
const { requireBackendSlot, parseSlot } = await import("./backend-slot-
|
|
425
|
-
const { resolveSource, describeBackend } = await import("./source-resolve-
|
|
426
|
-
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-
|
|
424
|
+
const { requireBackendSlot, parseSlot } = await import("./backend-slot-TTRNOQF5.js");
|
|
425
|
+
const { resolveSource, describeBackend } = await import("./source-resolve-LNRUITLS.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-FPNNNNOW.js");
|
|
427
427
|
const dest = parseSlot(requireBackendSlot("deploy", void 0, "to"), to, to.trim() === "ephemeral" ? await soleTrackedEphemeral() : void 0);
|
|
428
428
|
if (dest.kind !== "workspace" && dest.kind !== "tenant") {
|
|
429
429
|
throw new Error(`Internal: \`deploy --to\` parsed ${withArticle(dest.kind)}, which its slot does not accept.`);
|
|
@@ -432,7 +432,7 @@ async function runDeployToDestination(args, to) {
|
|
|
432
432
|
const flags = contextFlags(args);
|
|
433
433
|
const release = /^release:(.*)$/.exec(args.file)?.[1];
|
|
434
434
|
const releaseWord = release === void 0 || release === "" ? "<name>" : shellQuote(release);
|
|
435
|
-
const { pipedYes: pipedYes2 } = await import("./retry-command-
|
|
435
|
+
const { pipedYes: pipedYes2 } = await import("./retry-command-VZYLYDVX.js");
|
|
436
436
|
const yes = args.dryRun === true ? "" : pipedYes2(args);
|
|
437
437
|
const tenantLanding = `\`xanosdk tenant deploy ${dest.kind === "tenant" ? shellQuote(dest.name) : "<tenant>"} ${releaseWord}${yes}${flags}\``;
|
|
438
438
|
const landing = `${args.branch === void 0 ? "" : ` --branch ${shellQuote(args.branch)}`}${args.setLive === true ? " --set-live" : ""}`;
|
|
@@ -473,7 +473,7 @@ async function runDeployToDestination(args, to) {
|
|
|
473
473
|
}
|
|
474
474
|
const named = describeBackend(resolved);
|
|
475
475
|
if (dest.kind === "tenant" && !isEphemeral && resolved.backend.kind === "hosted") {
|
|
476
|
-
const { tenantHasWorkspace } = await import("./tenant-
|
|
476
|
+
const { tenantHasWorkspace } = await import("./tenant-DAXJ4P4D.js");
|
|
477
477
|
if (!await tenantHasWorkspace(resolved.backend.auth, resolved.target.base)) {
|
|
478
478
|
throw tenantWithoutWorkspace(dest.name, named, typed, args);
|
|
479
479
|
}
|
|
@@ -498,7 +498,7 @@ async function runDeployToDestination(args, to) {
|
|
|
498
498
|
)
|
|
499
499
|
);
|
|
500
500
|
};
|
|
501
|
-
const { runReleaseCommand } = await import("./release-command-
|
|
501
|
+
const { runReleaseCommand } = await import("./release-command-MKNESNGB.js");
|
|
502
502
|
return runReleaseCommand(args, {
|
|
503
503
|
base: resolved.target.base,
|
|
504
504
|
workspaceId: resolved.target.workspaceId,
|
|
@@ -528,6 +528,7 @@ var DESTINATION_ONLY = [
|
|
|
528
528
|
{ key: "resetData", flag: "--reset-data", why: "a refresh already replaces the rows unless `--keep-data` keeps them (`--reset` overrides that)" },
|
|
529
529
|
{ key: "seed", flag: "--seed", why: "a refresh already seeds when it replaces and never when `--keep-data` keeps the rows" },
|
|
530
530
|
{ key: "allowSharedSchemaChanges", flag: "--allow-shared-schema-changes", why: "the environment is this project's own, with no shared schema to gate" },
|
|
531
|
+
{ key: "overwrite", flag: "--overwrite", why: "an ephemeral or Xano Engine keeps no sync baseline, so nothing there is guarded" },
|
|
531
532
|
{ key: "allowBranchDeletion", flag: "--allow-branch-deletion", why: "an ephemeral or Xano Engine has no branches to delete" },
|
|
532
533
|
{ key: "branch", flag: "--branch", why: "an ephemeral or Xano Engine has no branch to name" },
|
|
533
534
|
{ key: "setLive", flag: "--set-live", why: "an ephemeral or Xano Engine has no branch to make live" },
|
|
@@ -622,7 +623,7 @@ async function assertLocalEngineUsable(args, dest) {
|
|
|
622
623
|
{ hintFor: { command: "deploy" } }
|
|
623
624
|
);
|
|
624
625
|
}
|
|
625
|
-
const { engineSourceRefusal, MISSING_ARCHIVE, resolveEnginePlatform, SUPPORTED_PLATFORMS } = await import("./local-engine-config-
|
|
626
|
+
const { engineSourceRefusal, MISSING_ARCHIVE, resolveEnginePlatform, SUPPORTED_PLATFORMS } = await import("./local-engine-config-6CB6FOEJ.js");
|
|
626
627
|
const sourceRefusal = engineSourceRefusal(dest.downloadUrl);
|
|
627
628
|
if (sourceRefusal !== void 0) {
|
|
628
629
|
const Refusal = sourceRefusal.startsWith(MISSING_ARCHIVE) ? LocalFileNotFoundError : UsageError;
|
|
@@ -638,9 +639,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
638
639
|
const { startedAt } = ctx;
|
|
639
640
|
const dir = process.cwd();
|
|
640
641
|
const fetchedSource = sourceCredential !== void 0 && args.file !== void 0 ? { credential: sourceCredential, spec: args.file } : void 0;
|
|
641
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
642
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-K46KYJ4G.js");
|
|
642
643
|
const toolchain = await discoverToolchainPlugins(dir, { frozen: args.frozenLock === true });
|
|
643
|
-
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-
|
|
644
|
+
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-FPNNNNOW.js").then(async (m) => {
|
|
644
645
|
const f = await m.fetchSourceArchive(fetchedSource.credential, fetchedSource.spec, dir);
|
|
645
646
|
const decoded = decodeWorkspaceArchive(f.archive);
|
|
646
647
|
noteReleaseCarriesNoEnv(fetchedSource.spec, m.gatedApiGroups(decoded));
|
|
@@ -683,7 +684,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
683
684
|
}
|
|
684
685
|
step(`Deploying ${shownSource} \u2192 Xano Engine`);
|
|
685
686
|
{
|
|
686
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
687
|
+
const { runBundleHooks } = await import("./toolchain-hooks-3ZAAAWPL.js");
|
|
687
688
|
const { readVersion } = await import("./cli.js");
|
|
688
689
|
await runBundleHooks(
|
|
689
690
|
toolchain.loaded,
|
|
@@ -701,9 +702,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
701
702
|
"; nothing was deployed"
|
|
702
703
|
);
|
|
703
704
|
}
|
|
704
|
-
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-
|
|
705
|
+
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-2UF7S5QZ.js");
|
|
705
706
|
const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
|
|
706
|
-
const { ensureProjectEngine } = await import("./local-engine-deploy-
|
|
707
|
+
const { ensureProjectEngine } = await import("./local-engine-deploy-ID4JJXB5.js");
|
|
707
708
|
const pin = pinAfterAcquire(choice, dir);
|
|
708
709
|
const flags = { keepData: args.keepData, reset: args.reset };
|
|
709
710
|
const { engine, reused, previousUrl, hadRecord, priorFilled, engineVersion, replaced, sweptOrphans } = await withSpinner(
|
|
@@ -752,7 +753,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
752
753
|
};
|
|
753
754
|
try {
|
|
754
755
|
if (arm.arm === "merge") {
|
|
755
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
756
|
+
const { mergeKeepingData } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
756
757
|
merged = await mergeKeepingData({
|
|
757
758
|
auth: bearer,
|
|
758
759
|
baseUrl: engine.url,
|
|
@@ -794,10 +795,10 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
794
795
|
}
|
|
795
796
|
} catch (err) {
|
|
796
797
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
797
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
798
|
+
const { importInProgressError } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
798
799
|
throw importInProgressError(`Xano Engine ${engine.name}`, rerunOf(args), err);
|
|
799
800
|
}
|
|
800
|
-
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-
|
|
801
|
+
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-ID4JJXB5.js");
|
|
801
802
|
const unsupported = explainUnsupportedEngineImport(err, engineVersion, {
|
|
802
803
|
latest: await latestEngineRelease(err),
|
|
803
804
|
resetRerun: arm.arm === "merge" ? `${rerunOf(args).command} --reset` : void 0
|
|
@@ -816,7 +817,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
816
817
|
throw unsupported ?? err;
|
|
817
818
|
}
|
|
818
819
|
commitLock?.();
|
|
819
|
-
const { markEngineFilled } = await import("./local-engine-state-
|
|
820
|
+
const { markEngineFilled } = await import("./local-engine-state-JZHTKHDG.js");
|
|
820
821
|
markEngineFilled(dir, engine.url);
|
|
821
822
|
const urlChanged = !reused || previousUrl !== engine.url;
|
|
822
823
|
if (urlChanged) {
|
|
@@ -917,7 +918,7 @@ async function publishStaticToLocalEngine(args, dir, engine, engineVersion) {
|
|
|
917
918
|
}
|
|
918
919
|
}
|
|
919
920
|
async function parseDeploySource(raw) {
|
|
920
|
-
const { requireBackendSlot, parseSlot } = await import("./backend-slot-
|
|
921
|
+
const { requireBackendSlot, parseSlot } = await import("./backend-slot-TTRNOQF5.js");
|
|
921
922
|
const source = parseSlot(requireBackendSlot("deploy", void 0, "subject"), raw);
|
|
922
923
|
if (source.kind === "file") throw new Error(`Internal: "${raw}" parsed as a bundle path on the fetch arm.`);
|
|
923
924
|
return source;
|
|
@@ -1117,15 +1118,15 @@ async function runDeploy(args) {
|
|
|
1117
1118
|
if (args.reset && !args.keepData) {
|
|
1118
1119
|
info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
|
|
1119
1120
|
}
|
|
1120
|
-
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-
|
|
1121
|
+
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-FPNNNNOW.js");
|
|
1121
1122
|
const fetching = args.file !== void 0 && looksLikeSource(args.file);
|
|
1122
1123
|
const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
|
|
1123
1124
|
if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
|
|
1124
1125
|
if (destination.kind === "local") {
|
|
1125
1126
|
refuseSameEngine(sourceSpec, process.cwd());
|
|
1126
|
-
const { refuseProfileForLocal } = await import("./tracked-backend-
|
|
1127
|
+
const { refuseProfileForLocal } = await import("./tracked-backend-FQFXTTYZ.js");
|
|
1127
1128
|
refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind], void 0, {});
|
|
1128
|
-
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-
|
|
1129
|
+
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-2UF7S5QZ.js");
|
|
1129
1130
|
refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind]);
|
|
1130
1131
|
}
|
|
1131
1132
|
if (!fetching) {
|
|
@@ -1141,7 +1142,7 @@ async function runDeploy(args) {
|
|
|
1141
1142
|
}
|
|
1142
1143
|
refuseMissingStaticDir(args);
|
|
1143
1144
|
if (destination.kind === "local") {
|
|
1144
|
-
const { memoCredential } = await import("./tracked-backend-
|
|
1145
|
+
const { memoCredential } = await import("./tracked-backend-FQFXTTYZ.js");
|
|
1145
1146
|
return deployToLocalEngine(
|
|
1146
1147
|
args,
|
|
1147
1148
|
destination,
|
|
@@ -1153,7 +1154,7 @@ async function runDeploy(args) {
|
|
|
1153
1154
|
const auth = await getAccessToken(args);
|
|
1154
1155
|
refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
|
|
1155
1156
|
await noteRunScopeFor(auth);
|
|
1156
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
1157
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-K46KYJ4G.js");
|
|
1157
1158
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
1158
1159
|
frozen: args.frozenLock === true
|
|
1159
1160
|
});
|
|
@@ -1197,7 +1198,7 @@ async function runDeploy(args) {
|
|
|
1197
1198
|
);
|
|
1198
1199
|
}
|
|
1199
1200
|
{
|
|
1200
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
1201
|
+
const { runBundleHooks } = await import("./toolchain-hooks-3ZAAAWPL.js");
|
|
1201
1202
|
const { readVersion } = await import("./cli.js");
|
|
1202
1203
|
await runBundleHooks(
|
|
1203
1204
|
toolchain.loaded,
|
|
@@ -1287,9 +1288,9 @@ async function runDeploy(args) {
|
|
|
1287
1288
|
}).finally(() => noteLanded(void 0));
|
|
1288
1289
|
if (staticSummary !== void 0) summary.static = staticSummary;
|
|
1289
1290
|
if (summary.ephemeral !== void 0) {
|
|
1290
|
-
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-
|
|
1291
|
+
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-DO3PM7QP.js");
|
|
1291
1292
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1292
|
-
const { storedColumnsAfter } = await import("./live-diff-
|
|
1293
|
+
const { storedColumnsAfter } = await import("./live-diff-CGTGOH3S.js");
|
|
1293
1294
|
const sent = JSON.parse(bundle);
|
|
1294
1295
|
const stored = summary.data === "kept" ? removedOut.storedColumns : storedColumnsAfter(sent, void 0, /* @__PURE__ */ new Map(), "rebuild");
|
|
1295
1296
|
if (fetching || args.bundle !== void 0) {
|
|
@@ -1351,7 +1352,7 @@ async function runDeploy(args) {
|
|
|
1351
1352
|
async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
|
|
1352
1353
|
if (args.noDevEnv || summary.url === void 0) return;
|
|
1353
1354
|
if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
|
|
1354
|
-
const { staleDevEnv } = await import("./dev-env-sync-
|
|
1355
|
+
const { staleDevEnv } = await import("./dev-env-sync-RBJ2U3HG.js");
|
|
1355
1356
|
let stale;
|
|
1356
1357
|
try {
|
|
1357
1358
|
stale = staleDevEnv(cwd, summary.url);
|
|
@@ -1365,7 +1366,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
|
|
|
1365
1366
|
}
|
|
1366
1367
|
return;
|
|
1367
1368
|
}
|
|
1368
|
-
const { syncDevEnv } = await import("./dev-env-sync-
|
|
1369
|
+
const { syncDevEnv } = await import("./dev-env-sync-RBJ2U3HG.js");
|
|
1369
1370
|
try {
|
|
1370
1371
|
const written = syncDevEnv(cwd, summary.url);
|
|
1371
1372
|
if (written === void 0) return;
|
|
@@ -1465,22 +1466,22 @@ function rerunOf(args) {
|
|
|
1465
1466
|
return { command: retry.command, note: withheldNote(retry.withheld) };
|
|
1466
1467
|
}
|
|
1467
1468
|
async function latestEngineRelease(err) {
|
|
1468
|
-
const { ImportHttpError } = await import("./import-
|
|
1469
|
+
const { ImportHttpError } = await import("./import-TXYVFYJS.js");
|
|
1469
1470
|
if (!(err instanceof ImportHttpError) || err.status !== 501) return void 0;
|
|
1470
|
-
const { resolveEnginePlatform } = await import("./local-engine-config-
|
|
1471
|
+
const { resolveEnginePlatform } = await import("./local-engine-config-6CB6FOEJ.js");
|
|
1471
1472
|
const platform = resolveEnginePlatform();
|
|
1472
1473
|
if (platform === void 0) return void 0;
|
|
1473
|
-
const { latestKnownVersion } = await import("./local-engine-update-check-
|
|
1474
|
+
const { latestKnownVersion } = await import("./local-engine-update-check-SKZR7YSC.js");
|
|
1474
1475
|
return latestKnownVersion({ platform });
|
|
1475
1476
|
}
|
|
1476
1477
|
async function mergeGuards(args, lock, outgoing) {
|
|
1477
1478
|
const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
|
|
1478
|
-
const pinned = outgoing === void 0 ? [] : (await import("./release-command-
|
|
1479
|
+
const pinned = outgoing === void 0 ? [] : (await import("./release-command-MKNESNGB.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
|
|
1479
1480
|
const guards = {
|
|
1480
1481
|
...pinned.length > 0 ? { pinned } : {},
|
|
1481
1482
|
allowForeignDeletes: args.yes === true,
|
|
1482
1483
|
...interactive ? {
|
|
1483
|
-
confirm: async (q) => (await import("./prompt-
|
|
1484
|
+
confirm: async (q) => (await import("./prompt-ZZUYWFQX.js")).confirm(q, {
|
|
1484
1485
|
flag: "--yes",
|
|
1485
1486
|
refusal: { details: { deployed: false }, ...yesRerun(args, "deploy") }
|
|
1486
1487
|
})
|
|
@@ -1496,7 +1497,7 @@ async function mergeGuards(args, lock, outgoing) {
|
|
|
1496
1497
|
for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
|
|
1497
1498
|
}
|
|
1498
1499
|
const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
|
|
1499
|
-
const { clearReplacedCommand } = await import("./keep-data-merge-
|
|
1500
|
+
const { clearReplacedCommand } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
1500
1501
|
const lockPath = resolveLockPath(args, entry);
|
|
1501
1502
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1502
1503
|
const keys = Object.keys(lock.objects);
|
|
@@ -1735,9 +1736,9 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
|
|
|
1735
1736
|
{ exitCode: 1, details: { reason: "needs-confirmation", ...details } }
|
|
1736
1737
|
);
|
|
1737
1738
|
}
|
|
1738
|
-
const { confirm } = await import("./prompt-
|
|
1739
|
+
const { confirm } = await import("./prompt-ZZUYWFQX.js");
|
|
1739
1740
|
if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
|
|
1740
|
-
const { KeepDataDeclined } = await import("./keep-data-merge-
|
|
1741
|
+
const { KeepDataDeclined } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
1741
1742
|
throw new KeepDataDeclined(label, "deployed");
|
|
1742
1743
|
}
|
|
1743
1744
|
function recordedEntry(file) {
|
|
@@ -1772,7 +1773,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
|
|
|
1772
1773
|
{ hintFor: { command: "deploy" } }
|
|
1773
1774
|
);
|
|
1774
1775
|
if (refusal === void 0) return;
|
|
1775
|
-
const { reachableFirst } = await import("./env-target-
|
|
1776
|
+
const { reachableFirst } = await import("./env-target-F75YF25S.js");
|
|
1776
1777
|
throw await reachableFirst(refusal, auth);
|
|
1777
1778
|
}
|
|
1778
1779
|
async function refuseKeepDataElsewhere(state, auth) {
|
|
@@ -1786,7 +1787,7 @@ async function refuseKeepDataElsewhere(state, auth) {
|
|
|
1786
1787
|
{ hintFor: { command: "deploy" } }
|
|
1787
1788
|
);
|
|
1788
1789
|
if (refusal === void 0) return;
|
|
1789
|
-
const { reachableFirst } = await import("./env-target-
|
|
1790
|
+
const { reachableFirst } = await import("./env-target-F75YF25S.js");
|
|
1790
1791
|
throw await reachableFirst(refusal, auth);
|
|
1791
1792
|
}
|
|
1792
1793
|
async function reconcileRename(err, auth, name, display) {
|
|
@@ -1821,7 +1822,7 @@ If no deploy is running in this project, its guard was left behind: remove \`${s
|
|
|
1821
1822
|
}
|
|
1822
1823
|
async function deployEphemeral(auth, ctx) {
|
|
1823
1824
|
const dir = process.cwd();
|
|
1824
|
-
const { assertReadWritable } = await import("./writable-
|
|
1825
|
+
const { assertReadWritable } = await import("./writable-2A6MBSFD.js");
|
|
1825
1826
|
assertReadWritable(ephemeralStatePath(dir));
|
|
1826
1827
|
const guard = await takeCreateGuard(dir, ctx.args);
|
|
1827
1828
|
try {
|
|
@@ -1840,7 +1841,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1840
1841
|
};
|
|
1841
1842
|
const parentWorkspaceId = auth.workspaceId;
|
|
1842
1843
|
const dir = process.cwd();
|
|
1843
|
-
const { assertReadWritable, assertWritable } = await import("./writable-
|
|
1844
|
+
const { assertReadWritable, assertWritable } = await import("./writable-2A6MBSFD.js");
|
|
1844
1845
|
assertReadWritable(ephemeralStatePath(dir));
|
|
1845
1846
|
if (ctx.lockPath !== void 0) assertWritable(ctx.lockPath, "build without a lock with `--no-lock`");
|
|
1846
1847
|
const state = readEphemeralState(dir);
|
|
@@ -1898,7 +1899,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1898
1899
|
}).finally(() => creating?.clear()).catch(async (err) => {
|
|
1899
1900
|
if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
|
|
1900
1901
|
if (err.status === 404) {
|
|
1901
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
1902
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-PAUOIK3V.js");
|
|
1902
1903
|
await refuseUnreachableWorkspace(auth);
|
|
1903
1904
|
}
|
|
1904
1905
|
throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
|
|
@@ -1966,7 +1967,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
1966
1967
|
if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
|
|
1967
1968
|
else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
|
|
1968
1969
|
if (arm.arm === "replace") {
|
|
1969
|
-
const { gateForeignReplace } = await import("./keep-data-merge-
|
|
1970
|
+
const { gateForeignReplace } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
1970
1971
|
const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
|
|
1971
1972
|
await gateForeignReplace({
|
|
1972
1973
|
auth,
|
|
@@ -2038,7 +2039,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2038
2039
|
let merged;
|
|
2039
2040
|
try {
|
|
2040
2041
|
if (arm.arm === "merge") {
|
|
2041
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
2042
|
+
const { mergeKeepingData } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
2042
2043
|
merged = await mergeKeepingData({
|
|
2043
2044
|
auth,
|
|
2044
2045
|
baseUrl,
|
|
@@ -2092,11 +2093,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2092
2093
|
if (!lockCommitted) ctx.warnOrphansUncommitted?.();
|
|
2093
2094
|
if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
|
|
2094
2095
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2095
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2096
|
+
const { importInProgressError } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
2096
2097
|
const retry = retryCommand(args);
|
|
2097
2098
|
throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
|
|
2098
2099
|
}
|
|
2099
|
-
const { withSignatureHint } = await import("./release-command-
|
|
2100
|
+
const { withSignatureHint } = await import("./release-command-MKNESNGB.js");
|
|
2100
2101
|
importFailure = withSignatureHint(err, args.bundle);
|
|
2101
2102
|
}
|
|
2102
2103
|
if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
|
|
@@ -2260,7 +2261,7 @@ ${createdButFailedNote(target.name, unknown, args, landedUnresolved, { futile })
|
|
|
2260
2261
|
};
|
|
2261
2262
|
}
|
|
2262
2263
|
async function deployStaticTo(dir, auth, target, env, explicit, host, skipLiveness, routing, dirLabel, opts = {}) {
|
|
2263
|
-
const { deployStaticHost } = await import("./static-host-
|
|
2264
|
+
const { deployStaticHost } = await import("./static-host-JAOT3N3E.js");
|
|
2264
2265
|
const where = target.label && target.label !== "" ? target.label : `workspace #${target.workspaceId}`;
|
|
2265
2266
|
if (target.announced !== true) step(`Deploying static frontend ${dir} \u2192 ${where}${host ? ` (host: ${host})` : ""}`);
|
|
2266
2267
|
const sh = await describeWrite(
|
|
@@ -2390,4 +2391,4 @@ export {
|
|
|
2390
2391
|
unknownCreateOutcome,
|
|
2391
2392
|
deployStaticTo
|
|
2392
2393
|
};
|
|
2393
|
-
//# sourceMappingURL=chunk-
|
|
2394
|
+
//# sourceMappingURL=chunk-33KELF2X.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalize
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LTPF25L2.js";
|
|
4
4
|
import {
|
|
5
5
|
sha1Bytes
|
|
6
6
|
} from "./chunk-OHX6MIUZ.js";
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
canonicalJson,
|
|
42
42
|
structuralHash
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-3P35HT64.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
readEngineEntry,
|
|
5
5
|
readPin,
|
|
6
6
|
verifiedEngineExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4JKXGPXB.js";
|
|
8
8
|
import {
|
|
9
9
|
clearEngineRecordsNamed,
|
|
10
10
|
listEngineRecords
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5Y5HWQ2P.js";
|
|
12
12
|
import {
|
|
13
13
|
engineCacheDir,
|
|
14
14
|
engineRunHome,
|
|
15
15
|
localEngineHome
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-F3IA3YWI.js";
|
|
17
17
|
import {
|
|
18
18
|
assertLoopbackUrl,
|
|
19
19
|
parseEngineHandshake,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
fetchOrExplain,
|
|
24
24
|
httpFailureError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TR7EOUQE.js";
|
|
26
26
|
|
|
27
27
|
// src/deploy/local-engine-process.ts
|
|
28
28
|
import { spawn as nodeSpawn, spawnSync } from "child_process";
|
|
@@ -432,4 +432,4 @@ export {
|
|
|
432
432
|
findOrphanedEngineProcesses,
|
|
433
433
|
stopOrphanedEngineProcesses
|
|
434
434
|
};
|
|
435
|
-
//# sourceMappingURL=chunk-
|
|
435
|
+
//# sourceMappingURL=chunk-3UZQ5TMG.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-64WWE3EF.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeEngineVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HFOGQIII.js";
|
|
7
7
|
import {
|
|
8
8
|
localEngineBinDir,
|
|
9
9
|
localEngineHome
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-F3IA3YWI.js";
|
|
11
11
|
import {
|
|
12
12
|
SDK_PACKAGE,
|
|
13
13
|
composeToolchainConfig,
|
|
@@ -362,4 +362,4 @@ export {
|
|
|
362
362
|
readPin,
|
|
363
363
|
writePin
|
|
364
364
|
};
|
|
365
|
-
//# sourceMappingURL=chunk-
|
|
365
|
+
//# sourceMappingURL=chunk-4JKXGPXB.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-MF4W6FHU.js";
|
|
10
10
|
import {
|
|
11
11
|
UsageError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-C6KBZH7M.js";
|
|
13
13
|
import {
|
|
14
14
|
shellQuote
|
|
15
15
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -159,4 +159,4 @@ export {
|
|
|
159
159
|
pointerRootFor,
|
|
160
160
|
projectRootFor
|
|
161
161
|
};
|
|
162
|
-
//# sourceMappingURL=chunk-
|
|
162
|
+
//# sourceMappingURL=chunk-5QOV52V4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
localEngineHome
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F3IA3YWI.js";
|
|
4
4
|
import {
|
|
5
5
|
filledAt,
|
|
6
6
|
withValidFilled
|
|
@@ -141,4 +141,4 @@ export {
|
|
|
141
141
|
clearEngineRecordsNamed,
|
|
142
142
|
clearEngineRecordsStillMatching
|
|
143
143
|
};
|
|
144
|
-
//# sourceMappingURL=chunk-
|
|
144
|
+
//# sourceMappingURL=chunk-5Y5HWQ2P.js.map
|