@xano/sdk 1.0.6 → 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 +30 -0
- package/README.md +32 -4
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-67QIX45H.js → agent-file-refresh-QJO3MT6Q.js} +13 -13
- package/dist/agent-skill-command-GBR4KUUG.js +414 -0
- package/dist/{answer-shape-UCDUKPAN.js → answer-shape-UMQRXMCX.js} +5 -5
- package/dist/{backend-dir-3LIL6SCT.js → backend-dir-PFUIPCV3.js} +15 -15
- package/dist/{backend-slot-JREP27UD.js → backend-slot-TTRNOQF5.js} +4 -4
- package/dist/bin.js +54 -53
- package/dist/{branch-2IPHOAYS.js → branch-Q7CDJRU6.js} +12 -11
- package/dist/{branch-commands-KTKAXBAN.js → branch-commands-CR3SAHMV.js} +27 -26
- package/dist/bundle.js +5 -5
- package/dist/{chunk-YKP4ZKVO.js → chunk-2HZDWZM2.js} +3 -3
- package/dist/{chunk-ZDP6GDAB.js → chunk-33KELF2X.js} +103 -94
- package/dist/{chunk-7VR4IO5B.js → chunk-3P35HT64.js} +2 -2
- package/dist/{chunk-2FLIJGBZ.js → chunk-3UZQ5TMG.js} +47 -8
- package/dist/{chunk-AWQ7BQTQ.js → chunk-4GPIOIAC.js} +6 -1
- package/dist/{chunk-YYLUBYXM.js → chunk-4JKXGPXB.js} +3 -3
- package/dist/{chunk-EQFYOOO6.js → chunk-5GIOCDUM.js} +829 -893
- package/dist/{chunk-26MOFAJT.js → chunk-5QOV52V4.js} +6 -3
- package/dist/{chunk-Q22BMRPF.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-QJM5XZ4K.js → chunk-6PTITS3M.js} +8 -8
- package/dist/{chunk-N5I37JFB.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-NPODGBVJ.js → chunk-75MKIQON.js} +4 -4
- package/dist/{chunk-SPITRSOF.js → chunk-76UAME77.js} +2 -2
- package/dist/{chunk-JRVQ7M7W.js → chunk-77GV772V.js} +8 -8
- package/dist/{chunk-GWTFI3GA.js → chunk-7JKNWDYN.js} +2 -2
- package/dist/{chunk-6X6BJN6Y.js → chunk-7MPI7NIW.js} +3 -3
- package/dist/{chunk-3II44CUJ.js → chunk-7UWUEUVJ.js} +24 -24
- package/dist/{chunk-ENMBEXOP.js → chunk-AS4G2MIE.js} +3 -3
- package/dist/{chunk-PMMHSX4H.js → chunk-B3NH5UBI.js} +4 -4
- package/dist/{chunk-SLGJIWCY.js → chunk-B5N6EWOM.js} +2 -2
- package/dist/chunk-BRANWM4U.js +853 -0
- package/dist/{chunk-6X3MY2JP.js → chunk-C2GHFADU.js} +2 -2
- package/dist/{chunk-CCU5CCRX.js → chunk-C2I4GC36.js} +8 -8
- package/dist/{chunk-D7BUMOKU.js → chunk-C6KBZH7M.js} +82 -6
- package/dist/{chunk-LAOMN6QQ.js → chunk-CRE7P7P2.js} +3 -3
- package/dist/{chunk-AVS4WPPY.js → chunk-DER2CVNC.js} +2 -2
- package/dist/{chunk-UIVMR7UK.js → chunk-DY3EJWWH.js} +2 -2
- package/dist/{chunk-SKEG3V2V.js → chunk-EKTIGGFO.js} +2 -2
- package/dist/{chunk-PL7AIAWS.js → chunk-F3IA3YWI.js} +4 -111
- package/dist/{chunk-FQ53GTII.js → chunk-F5RPNTN7.js} +6 -6
- package/dist/{chunk-2WBH5HUY.js → chunk-FHQYXGAY.js} +7 -7
- package/dist/{chunk-ND43ZOS3.js → chunk-FN7E6XGD.js} +7 -7
- package/dist/{chunk-3BBIDW3Y.js → chunk-GN5SQMIQ.js} +5 -5
- package/dist/{chunk-SSITMX7I.js → chunk-H3ZBAR2L.js} +16 -14
- package/dist/{chunk-OIKLDDYC.js → chunk-HFOGQIII.js} +3 -3
- package/dist/chunk-HKLBDSML.js +995 -0
- package/dist/{chunk-JXVJGF3Y.js → chunk-HQPL34O6.js} +2 -2
- package/dist/{chunk-CHINR7WD.js → chunk-HTP2CLRQ.js} +5 -5
- package/dist/{chunk-ROY4YAEQ.js → chunk-HU7F56VF.js} +22 -2
- package/dist/{chunk-TECTL2NU.js → chunk-HVPSDQJB.js} +4 -4
- package/dist/{chunk-IYXL5NYU.js → chunk-I53OTC3O.js} +2 -2
- package/dist/{chunk-M5CSVB23.js → chunk-IB6SKACE.js} +11 -8
- package/dist/{chunk-UD2Z7K6W.js → chunk-JG642U5D.js} +4 -4
- package/dist/{chunk-ZJSTUD6D.js → chunk-JJGK7XGC.js} +8 -8
- package/dist/{local-engine-command-RYLGMQ2O.js → chunk-JPRZ4ZGU.js} +22 -77
- package/dist/{chunk-QZEAANWP.js → chunk-K75BFHQQ.js} +8 -8
- package/dist/chunk-LCOCRJ4K.js +116 -0
- package/dist/{chunk-3EDSPMXN.js → chunk-LJM5CIY4.js} +5 -1
- package/dist/{chunk-D3KEPRRN.js → chunk-LTPF25L2.js} +2 -1
- package/dist/{chunk-HCG7NDIL.js → chunk-M3RLLT4O.js} +5 -5
- package/dist/{chunk-IXFJORNH.js → chunk-NFSUGVDY.js} +4 -4
- package/dist/{chunk-GHQ4BVI4.js → chunk-NFZUXS7D.js} +14 -14
- package/dist/{chunk-LBJA7IEM.js → chunk-O376UAZS.js} +2 -2
- package/dist/{chunk-LD6ARK3A.js → chunk-OBJ7FQDX.js} +2 -2
- package/dist/{chunk-VJFMUJWZ.js → chunk-OHTHG3LL.js} +2 -2
- package/dist/{chunk-U35MTOXQ.js → chunk-P5W6DBV6.js} +3 -3
- package/dist/{chunk-A7MRZ4GF.js → chunk-PAS5HOG3.js} +5 -5
- package/dist/{chunk-WZHLMU6T.js → chunk-PBK257CI.js} +2 -2
- package/dist/{chunk-SPKA2LV6.js → chunk-PFW7WFAT.js} +4 -4
- package/dist/{chunk-GOLFAEUV.js → chunk-QC3MKMDK.js} +2 -2
- package/dist/{chunk-YGLMRH5U.js → chunk-QE2GNFMP.js} +12 -12
- package/dist/{chunk-763M6LX3.js → chunk-QL3ZJWGG.js} +2 -2
- package/dist/{chunk-ITC2R2OT.js → chunk-QRKBFXIB.js} +7 -7
- package/dist/{chunk-KPFS3RGM.js → chunk-QTMXJQZN.js} +4 -4
- package/dist/{chunk-BTVUYHWV.js → chunk-QXOBZSQD.js} +4 -4
- package/dist/{chunk-NDWVJ2QZ.js → chunk-R3LANPQZ.js} +3 -3
- package/dist/{chunk-QXYMDARD.js → chunk-R4NOZBOY.js} +4 -4
- package/dist/{chunk-YYC2DZMG.js → chunk-RYMGK2K5.js} +6 -6
- package/dist/{chunk-IF4PEGVD.js → chunk-S2F7KVUL.js} +11 -11
- package/dist/{chunk-I3VHW6XM.js → chunk-S3STXOAO.js} +18 -18
- package/dist/{chunk-JFBRXRJD.js → chunk-S3WN6GGO.js} +40 -40
- package/dist/{chunk-U6MTGB46.js → chunk-S42TFTM5.js} +5 -5
- package/dist/{chunk-7GAIJW62.js → chunk-TG65NWUR.js} +2 -2
- package/dist/{chunk-YR2I5HGE.js → chunk-TR7EOUQE.js} +2 -2
- package/dist/{chunk-I3H3HCPY.js → chunk-U7XNJ33Q.js} +34 -31
- package/dist/{chunk-FU3VCE5A.js → chunk-UKJFCEMI.js} +13 -9
- package/dist/{chunk-5TVFLG3C.js → chunk-ULUUOUQX.js} +2 -2
- package/dist/{chunk-PFBXSVZF.js → chunk-UU7EEREQ.js} +7 -7
- package/dist/{chunk-ATJ2W7DC.js → chunk-V7KMIEMF.js} +286 -126
- package/dist/{chunk-VDHA5SSQ.js → chunk-VD7YTLWL.js} +2 -2
- package/dist/{chunk-EADVVTDK.js → chunk-VHV25AAO.js} +7 -7
- package/dist/{chunk-BL3AZ3AP.js → chunk-VJTTTIIB.js} +2 -2
- package/dist/{chunk-TTEIDD5Q.js → chunk-W2BVP27L.js} +4 -4
- package/dist/{chunk-GZHLCUZ6.js → chunk-WEQFI55W.js} +7 -7
- package/dist/{chunk-WBH4KJWM.js → chunk-XQO4A4Q4.js} +3 -3
- package/dist/{chunk-Z4ZGTCCD.js → chunk-XYTVP4WI.js} +6 -6
- package/dist/{chunk-5YQV35C2.js → chunk-Y5ET37NN.js} +7 -7
- package/dist/{chunk-VW4CWVYX.js → chunk-YE7MHW45.js} +4 -4
- package/dist/{chunk-YHB34BN6.js → chunk-YEH5OIPF.js} +2 -1
- package/dist/{chunk-GLY552SI.js → chunk-YG7S3N7P.js} +128 -60
- package/dist/{chunk-MBDFH7XB.js → chunk-YP76ZCQ5.js} +4 -4
- package/dist/{chunk-XFBGXB7X.js → chunk-ZJCHS7FM.js} +163 -107
- package/dist/{chunk-IMELQ2I6.js → chunk-ZO3QWFNV.js} +3 -3
- package/dist/{chunk-RIN4YY34.js → chunk-ZQ5WZWHF.js} +106 -69
- package/dist/{chunk-GW5RHGOB.js → chunk-ZT2B22VQ.js} +9 -9
- package/dist/cli.d.ts +32 -4
- package/dist/cli.js +51 -48
- package/dist/{codegen-command-R5IASBFC.js → codegen-command-4YXDJSLU.js} +69 -68
- package/dist/{commands-H7CPMMHH.js → commands-FOHIPDKZ.js} +3 -3
- package/dist/{completion-W5ZAI6TN.js → completion-XUBGMKGV.js} +9 -5
- package/dist/{config-MZ5KG4EP.js → config-544VCRKP.js} +8 -8
- package/dist/{deploy-command-34T2LKQ5.js → deploy-command-FIDS56ZC.js} +56 -55
- package/dist/{deploy-source-YLQ7WMYR.js → deploy-source-FPNNNNOW.js} +34 -33
- package/dist/{dev-env-sync-TMJTNU3U.js → dev-env-sync-RBJ2U3HG.js} +54 -53
- package/dist/{diagnostics-OMN5Y2AH.js → diagnostics-FNVNRYMB.js} +2 -2
- package/dist/{display-name-hint-ZJGFNJKQ.js → display-name-hint-EZQK2PDU.js} +14 -13
- package/dist/{emit-D125xxty.d.ts → emit-8lcNcRrd.d.ts} +12 -12
- package/dist/env-example-refresh-6UTTMDOI.js +134 -0
- package/dist/{env-pull-command-UTG6IC2K.js → env-pull-command-P5MATITQ.js} +46 -45
- package/dist/{env-target-FZROWYFS.js → env-target-F75YF25S.js} +13 -12
- package/dist/{env-var-command-VYDBQJJW.js → env-var-command-H3GHROVB.js} +50 -49
- package/dist/{ephemeral-BIE6FMJV.js → ephemeral-H24NF6WP.js} +11 -10
- package/dist/{ephemeral-command-OZ26RGXF.js → ephemeral-command-NH2XW3YK.js} +64 -63
- package/dist/{ephemeral-state-SNZOX2YK.js → ephemeral-state-YLZQIOBF.js} +11 -10
- package/dist/{generate-command-4HR7MR36.js → generate-command-IANKN6WV.js} +84 -82
- package/dist/{gitignore-EWQBXNX2.js → gitignore-FT2LVOMI.js} +19 -19
- package/dist/{guards-KYEOCVHN.js → guards-4VPSEOAI.js} +6 -4
- package/dist/{impersonate-command-WC7OGKUM.js → impersonate-command-7B67ICPL.js} +42 -41
- package/dist/{import-7Z4GCCPO.js → import-TXYVFYJS.js} +5 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +8 -8
- package/dist/{init-command-HAO3WXH3.js → init-command-QOA4TJI2.js} +68 -53
- package/dist/{init-modules-NSKD4ASY.js → init-modules-KEEJ4HAF.js} +8 -8
- package/dist/{init-web-MKFFOQUU.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-QR2TMKEO.js → keep-data-merge-BIBW4QR4.js} +28 -28
- package/dist/{lambda-config-reconcile-7FJXXV6V.js → lambda-config-reconcile-47X5C2E4.js} +6 -5
- package/dist/{landing-record-MWXFIRCP.js → landing-record-DO3PM7QP.js} +22 -22
- package/dist/{live-diff-5E2BQWQ7.js → live-diff-CGTGOH3S.js} +3 -3
- package/dist/{local-engine-choice-VD5LNXJU.js → local-engine-choice-2UF7S5QZ.js} +37 -36
- package/dist/local-engine-command-WGMMZRQL.js +85 -0
- package/dist/{local-engine-config-W3KB7RWM.js → local-engine-config-6CB6FOEJ.js} +3 -2
- package/dist/{local-engine-deploy-6O7NKZCA.js → local-engine-deploy-ID4JJXB5.js} +18 -16
- package/dist/local-engine-lookup-IC7BKAYP.js +43 -0
- package/dist/local-engine-mcp-bridge-3SOJMZ5T.js +423 -0
- package/dist/local-engine-mcp-command-RMVUH4FL.js +181 -0
- package/dist/{local-engine-process-ZLLZEIRF.js → local-engine-process-HG5BGG3F.js} +12 -9
- package/dist/{local-engine-state-OCW5YDD7.js → local-engine-state-JZHTKHDG.js} +4 -3
- package/dist/{local-engine-update-check-LVX4HBBI.js → local-engine-update-check-SKZR7YSC.js} +7 -6
- package/dist/{lock-commands-X2OECR4R.js → lock-commands-5NMQWBGH.js} +57 -56
- package/dist/{login-command-RLLKD565.js → login-command-GLLFZWHT.js} +33 -33
- package/dist/{logout-command-XDMSXCDO.js → logout-command-NCMKMJWF.js} +16 -15
- package/dist/{loop-SUB6C2LK.js → loop-XFDS65OD.js} +3 -3
- package/dist/{marketplace-command-2NHHY2X3.js → marketplace-command-Y3RRUEWL.js} +34 -34
- package/dist/{marketplace-resolve-OTZYT4FG.js → marketplace-resolve-PWEYJ2XS.js} +6 -6
- package/dist/{meta-client-TMHVBZFY.js → meta-client-Y7N6WDS2.js} +14 -13
- package/dist/{module-manifest-FNMW23IX.js → module-manifest-KY7J63HG.js} +4 -4
- package/dist/node.d.ts +4 -4
- package/dist/node.js +60 -59
- package/dist/operation-outcome-4BFISK2R.js +53 -0
- package/dist/{output-target-MOLCTPBP.js → output-target-MFANTVGZ.js} +20 -20
- package/dist/{plan-disclosure-CY7AF6KP.js → plan-disclosure-GNLDYV2A.js} +17 -16
- package/dist/{plugin-contributions-WR26U7NT.js → plugin-contributions-PAGG6SUP.js} +6 -6
- package/dist/{plugin-prompt-ZUYQQIX4.js → plugin-prompt-2MX6LF6X.js} +5 -5
- package/dist/{plugin-questions-HAZOQ67R.js → plugin-questions-AP6VUTOB.js} +4 -4
- package/dist/{preflight-command-OHJXYND3.js → preflight-command-Q6XOKRM6.js} +61 -60
- package/dist/{profile-command-6JWT2BTL.js → profile-command-XPQIXFWN.js} +34 -34
- package/dist/{profile-pointer-PDA5XBIB.js → profile-pointer-4HJQH5ZR.js} +5 -4
- package/dist/{project-dependency-GZWWGWEW.js → project-dependency-ORX45I74.js} +7 -7
- package/dist/{project-sdk-3W72H5QO.js → project-sdk-IYMFVQRC.js} +4 -4
- package/dist/promote-command-DN64QK7O.js +147 -0
- package/dist/{prompt-U37K5RPQ.js → prompt-ZZUYWFQX.js} +4 -4
- package/dist/{publish-command-BUS27HGB.js → publish-command-SLE46MQX.js} +61 -60
- package/dist/{pull-command-ZGUNP27P.js → pull-command-UVK3IOXM.js} +72 -71
- package/dist/{pull-superseded-EZBGYRZF.js → pull-superseded-UZ3MB53B.js} +4 -4
- package/dist/{release-command-BQ6OHS3P.js → release-command-MKNESNGB.js} +67 -66
- package/dist/{release-ns-command-ATGVBVIU.js → release-ns-command-HLR46IKP.js} +92 -91
- package/dist/{retry-command-QJ57WVW7.js → retry-command-VZYLYDVX.js} +10 -9
- package/dist/{routes-manifest-YR4ZIMLM.js → routes-manifest-RIZGSOZC.js} +4 -4
- package/dist/{routes-manifest-file-UALYSZLY.js → routes-manifest-file-UHVVL2YB.js} +8 -8
- package/dist/scaffold.js +4 -4
- package/dist/secrets-IV4N5HYI.js +20 -0
- package/dist/{secrets-file-LMS7KX3E.js → secrets-file-HST7BMQC.js} +19 -19
- package/dist/{secrets-fill-command-QNBDGCGM.js → secrets-fill-command-FQJ4QFBP.js} +55 -54
- package/dist/{seed-SZ6OS5DQ.js → seed-KEPIS7UZ.js} +6 -6
- package/dist/{source-resolve-MKLNYFWG.js → source-resolve-LNRUITLS.js} +24 -22
- package/dist/{static-host-ONEHA4LI.js → static-host-JAOT3N3E.js} +5 -5
- package/dist/{status-command-XKIFKBGM.js → status-command-S5CBG2SW.js} +53 -52
- package/dist/{store-Bg4Na6Sm.d.ts → store-CuD1k4kV.d.ts} +1 -1
- package/dist/{store-X6ZH7EC3.js → store-YFNDD6GZ.js} +8 -7
- package/dist/{sync-baseline-DOV5AGIO.js → sync-baseline-3CDL4PKT.js} +7 -5
- package/dist/{sync-contributions-HNVHDIQW.js → sync-contributions-O5ZRM2JN.js} +10 -10
- package/dist/{sync-record-PRXHLK4S.js → sync-record-U65BCPSP.js} +14 -13
- package/dist/{table-DC36QA4Y.js → table-E5YTK7QX.js} +7 -7
- package/dist/{tables-command-UQLKTELN.js → tables-command-7KI2KZOS.js} +40 -39
- package/dist/{tenant-EKNQGG5A.js → tenant-DAXJ4P4D.js} +12 -11
- package/dist/{tenant-command-2LWP2MPB.js → tenant-command-MQTLNETR.js} +97 -96
- package/dist/{test-command-IU5MBBXY.js → test-command-NLYMAAPD.js} +42 -41
- package/dist/{tests-RG2Y5EQ4.js → tests-CLDZWLKF.js} +6 -6
- package/dist/{token-7AWSJLKO.js → token-3IPTVEEW.js} +12 -11
- package/dist/{toolchain-hooks-4ZMQLBPQ.js → toolchain-hooks-3ZAAAWPL.js} +7 -7
- package/dist/{toolchain-modules-VU7SURVJ.js → toolchain-modules-K46KYJ4G.js} +5 -5
- package/dist/{toolchain-peers-CIDNEEQV.js → toolchain-peers-AIKWKJH7.js} +8 -8
- package/dist/{tracked-backend-4BHSV7NC.js → tracked-backend-FQFXTTYZ.js} +37 -36
- package/dist/{update-check-A7FXIINW.js → update-check-FHRRUDEC.js} +52 -51
- package/dist/{upgrade-command-C5KBITFI.js → upgrade-command-WNBPKUXN.js} +58 -55
- package/dist/{whoami-command-7WQII2H4.js → whoami-command-DPGDK35H.js} +15 -14
- package/dist/{workspace-Z46PUZNI.js → workspace-2GMONZ2A.js} +5 -5
- package/dist/{workspace-binding-JE6YNDZJ.js → workspace-binding-PAUOIK3V.js} +14 -13
- package/dist/{workspace-command-FC4IMLAE.js → workspace-command-KEKL27Y4.js} +99 -103
- package/dist/{workspace-env-N4ZPFT6A.js → workspace-env-GGEZVZDY.js} +16 -16
- package/dist/{workspace-export-3A5BZTPS.js → workspace-export-UHY22VBI.js} +5 -5
- package/dist/{writable-D7KCZI5N.js → writable-2A6MBSFD.js} +4 -4
- package/dist/{xano-LCI7VWPS.js → xano-6T6L7TTI.js} +5 -5
- package/dist/{xanosdk-import-P2A2KSXM.js → xanosdk-import-HYHABD5U.js} +6 -6
- package/dist/{xanosdk-project-6AGMW2SL.js → xanosdk-project-2T56DRYS.js} +16 -16
- package/guides/README.md +2 -2
- package/guides/cli.md +69 -0
- package/guides/codegen.md +23 -5
- package/guides/codes.md +5 -1
- package/guides/coverage.md +5 -0
- package/guides/deploying.md +45 -1
- package/guides/scaffold.md +61 -10
- 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 +67 -5
- package/package.json +5 -2
- package/skills/xano-backend/SKILL.md +119 -0
- package/dist/chunk-LL7SGTRC.js +0 -663
- package/dist/chunk-M6ZFSTIZ.js +0 -630
- package/dist/env-example-refresh-CQP3ZMKM.js +0 -133
- package/dist/operation-outcome-RN62735X.js +0 -51
- package/dist/promote-command-UYAMUXKB.js +0 -146
|
@@ -9,47 +9,47 @@ import {
|
|
|
9
9
|
staticRetryHint,
|
|
10
10
|
unknownStaticOutcome,
|
|
11
11
|
warnStaticTeardown
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VHV25AAO.js";
|
|
13
|
+
import {
|
|
14
|
+
objectDigests,
|
|
15
|
+
syncDigests
|
|
16
|
+
} from "./chunk-6YOH2L3G.js";
|
|
17
|
+
import {
|
|
18
|
+
archiveSeedContent
|
|
19
|
+
} from "./chunk-XYTVP4WI.js";
|
|
13
20
|
import {
|
|
14
21
|
shownLabel
|
|
15
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NFZUXS7D.js";
|
|
16
23
|
import {
|
|
17
24
|
confirm,
|
|
18
25
|
needsConfirmation
|
|
19
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HQPL34O6.js";
|
|
20
27
|
import {
|
|
21
28
|
assertStorageModesKept,
|
|
22
29
|
discloseCanonicalMoves,
|
|
23
30
|
movesClause,
|
|
24
31
|
storageChangesPayload
|
|
25
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HTP2CLRQ.js";
|
|
26
33
|
import {
|
|
27
34
|
listTables,
|
|
28
35
|
tableRowCounter,
|
|
29
36
|
tableRowIds
|
|
30
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-YP76ZCQ5.js";
|
|
31
38
|
import {
|
|
32
39
|
landedRecordFor,
|
|
33
40
|
landingLockPath,
|
|
34
41
|
recordForeignLanding,
|
|
35
42
|
recordLanding
|
|
36
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-S2F7KVUL.js";
|
|
37
44
|
import {
|
|
38
45
|
recordSync
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import {
|
|
41
|
-
objectDigests,
|
|
42
|
-
syncDigests
|
|
43
|
-
} from "./chunk-JI3BLXWQ.js";
|
|
46
|
+
} from "./chunk-R3LANPQZ.js";
|
|
44
47
|
import {
|
|
45
48
|
XANOSDK_IMPORT_CONFLICT_CODE,
|
|
46
49
|
XANOSDK_IMPORT_UNIQUENESS_CODE,
|
|
47
50
|
XanoSdkImportRefusal,
|
|
48
51
|
xanosdkImport
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
archiveSeedContent
|
|
52
|
-
} from "./chunk-Z4ZGTCCD.js";
|
|
52
|
+
} from "./chunk-FN7E6XGD.js";
|
|
53
53
|
import {
|
|
54
54
|
encodeWorkspaceArchive
|
|
55
55
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
listBranchListing,
|
|
63
63
|
liveBranchLabel,
|
|
64
64
|
setLiveBranch
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-75MKIQON.js";
|
|
66
66
|
import {
|
|
67
67
|
compareToLive,
|
|
68
68
|
envValuesOf,
|
|
@@ -73,50 +73,54 @@ import {
|
|
|
73
73
|
sharedSchemaChanges,
|
|
74
74
|
storedColumnsAfter,
|
|
75
75
|
uniqueIndexLabels
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-I53OTC3O.js";
|
|
77
77
|
import {
|
|
78
78
|
assertBundleFile,
|
|
79
79
|
assertBundleInput,
|
|
80
80
|
loadBundleText,
|
|
81
81
|
resolveLockPath
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-ZJCHS7FM.js";
|
|
83
83
|
import {
|
|
84
84
|
LookupFailedError,
|
|
85
85
|
isUnansweredLookup,
|
|
86
86
|
unansweredCause
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-7UWUEUVJ.js";
|
|
88
88
|
import {
|
|
89
89
|
isSignatureRefusal
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-VJTTTIIB.js";
|
|
91
91
|
import {
|
|
92
92
|
getAccessToken
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-QE2GNFMP.js";
|
|
94
|
+
import {
|
|
95
|
+
readLockFile
|
|
96
|
+
} from "./chunk-CJDPSCMX.js";
|
|
94
97
|
import {
|
|
95
98
|
ephemeralLandedOn
|
|
96
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-S42TFTM5.js";
|
|
97
100
|
import {
|
|
98
101
|
pipedYes,
|
|
99
102
|
retryCommand,
|
|
100
103
|
withheldNote
|
|
101
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-C2GHFADU.js";
|
|
102
105
|
import {
|
|
103
106
|
contextFlags
|
|
104
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-6S263KTM.js";
|
|
105
108
|
import {
|
|
106
109
|
backendDirIn
|
|
107
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-W2BVP27L.js";
|
|
108
111
|
import {
|
|
109
112
|
shellWord
|
|
110
113
|
} from "./chunk-FWD7AL6N.js";
|
|
114
|
+
import {
|
|
115
|
+
TransportError,
|
|
116
|
+
isTimeoutError
|
|
117
|
+
} from "./chunk-TR7EOUQE.js";
|
|
111
118
|
import {
|
|
112
119
|
describeWrite
|
|
113
120
|
} from "./chunk-4KHEMC32.js";
|
|
114
121
|
import {
|
|
115
122
|
seedRowsByTableGuid
|
|
116
|
-
} from "./chunk-
|
|
117
|
-
import {
|
|
118
|
-
readLockFile
|
|
119
|
-
} from "./chunk-CJDPSCMX.js";
|
|
123
|
+
} from "./chunk-GN5SQMIQ.js";
|
|
120
124
|
import {
|
|
121
125
|
destinationKey,
|
|
122
126
|
groupNames,
|
|
@@ -126,10 +130,6 @@ import {
|
|
|
126
130
|
storedColumnsOf,
|
|
127
131
|
withStoredColumns
|
|
128
132
|
} from "./chunk-MFWF2NZJ.js";
|
|
129
|
-
import {
|
|
130
|
-
TransportError,
|
|
131
|
-
isTimeoutError
|
|
132
|
-
} from "./chunk-YR2I5HGE.js";
|
|
133
133
|
import {
|
|
134
134
|
CliError,
|
|
135
135
|
EXIT_OUTCOME_UNKNOWN,
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
warn,
|
|
150
150
|
writeJson,
|
|
151
151
|
writeTargetPayload
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-C6KBZH7M.js";
|
|
153
153
|
import {
|
|
154
154
|
calcSignatureJson,
|
|
155
155
|
signatureHolds
|
|
@@ -637,7 +637,7 @@ function isTransientReadFailure(err) {
|
|
|
637
637
|
return isUnansweredLookup(err);
|
|
638
638
|
}
|
|
639
639
|
async function readLive(auth, dest, branch) {
|
|
640
|
-
const { exportWorkspaceBundle } = await import("./workspace-export-
|
|
640
|
+
const { exportWorkspaceBundle } = await import("./workspace-export-UHY22VBI.js");
|
|
641
641
|
let failure;
|
|
642
642
|
for (let attempt = 0; attempt <= LIVE_READ_RETRY_PAUSES_MS.length; attempt++) {
|
|
643
643
|
try {
|
|
@@ -744,7 +744,7 @@ function targetIsEmpty(live) {
|
|
|
744
744
|
async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
745
745
|
if (live === void 0 || req.mode !== "merge") return false;
|
|
746
746
|
if (req.records === true || req.truncate === true) return false;
|
|
747
|
-
const { compareToLive: compareToLive2 } = await import("./live-diff-
|
|
747
|
+
const { compareToLive: compareToLive2 } = await import("./live-diff-CGTGOH3S.js");
|
|
748
748
|
let result;
|
|
749
749
|
try {
|
|
750
750
|
result = compareToLive2(
|
|
@@ -765,7 +765,7 @@ async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
|
765
765
|
async function unchangedWithLive(live, req, outgoingBundle, pinned) {
|
|
766
766
|
if (live === void 0 || req.mode !== "merge") return void 0;
|
|
767
767
|
if (req.records === true || req.truncate === true) return void 0;
|
|
768
|
-
const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-
|
|
768
|
+
const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-CGTGOH3S.js");
|
|
769
769
|
try {
|
|
770
770
|
const outgoing = JSON.parse(outgoingBundle);
|
|
771
771
|
const result = compareToLive2(outgoing, live, new Set(pinned.map((p) => `${p.payloadKey}:${p.name}`)), {
|
|
@@ -793,7 +793,7 @@ function markUnchanged(presented, unchanged, noun) {
|
|
|
793
793
|
}
|
|
794
794
|
var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
|
|
795
795
|
async function replaceCommandHint(args) {
|
|
796
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-
|
|
796
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-FIDS56ZC.js");
|
|
797
797
|
const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
|
|
798
798
|
const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
|
|
799
799
|
const argv = [];
|
|
@@ -824,7 +824,7 @@ function landingTableFields(losses) {
|
|
|
824
824
|
};
|
|
825
825
|
}
|
|
826
826
|
async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "workspace", fromBundle = false, replaceHint = "`xanosdk deploy <source> --to <destination> --replace`.", noun = "workspace", failure, stored) {
|
|
827
|
-
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-
|
|
827
|
+
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-GNLDYV2A.js");
|
|
828
828
|
const none = {
|
|
829
829
|
...tableEffectFields(NO_TABLE_EFFECTS),
|
|
830
830
|
renamedTables: [],
|
|
@@ -843,7 +843,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "worksp
|
|
|
843
843
|
blank();
|
|
844
844
|
return none;
|
|
845
845
|
}
|
|
846
|
-
const { diffAgainstLive, tableAdditions } = await import("./live-diff-
|
|
846
|
+
const { diffAgainstLive, tableAdditions } = await import("./live-diff-CGTGOH3S.js");
|
|
847
847
|
let diff;
|
|
848
848
|
let additions;
|
|
849
849
|
try {
|
|
@@ -1256,9 +1256,9 @@ function gatedSchemaChanges(changes) {
|
|
|
1256
1256
|
return details.length === 0 ? [] : [{ ...c, details }];
|
|
1257
1257
|
});
|
|
1258
1258
|
}
|
|
1259
|
-
function refuseOrReport(args, message, result, details) {
|
|
1259
|
+
function refuseOrReport(args, message, result, details, code = "SDK_SHARED_SCHEMA_CHANGE") {
|
|
1260
1260
|
if (!args.dryRun) {
|
|
1261
|
-
throw new CliError(
|
|
1261
|
+
throw new CliError(code, message, {
|
|
1262
1262
|
exitCode: 2,
|
|
1263
1263
|
details: { landed: false, declined: false, ...details }
|
|
1264
1264
|
});
|
|
@@ -1272,6 +1272,57 @@ function refuseOrReport(args, message, result, details) {
|
|
|
1272
1272
|
blank();
|
|
1273
1273
|
return result;
|
|
1274
1274
|
}
|
|
1275
|
+
async function assertWorkspaceUnchanged(args, ctx) {
|
|
1276
|
+
const { readSyncBaseline } = await import("./sync-record-U65BCPSP.js");
|
|
1277
|
+
const baseline = readSyncBaseline(ctx.lockPath, ctx.target);
|
|
1278
|
+
if (baseline === void 0) return [];
|
|
1279
|
+
const { directedComparison } = await import("./sync-baseline-3CDL4PKT.js");
|
|
1280
|
+
let compared;
|
|
1281
|
+
try {
|
|
1282
|
+
compared = directedComparison(
|
|
1283
|
+
JSON.parse(ctx.bundle),
|
|
1284
|
+
ctx.live,
|
|
1285
|
+
new Set(ctx.pinned.map((p) => `${p.payloadKey}:${p.name}`)),
|
|
1286
|
+
baseline
|
|
1287
|
+
);
|
|
1288
|
+
} catch {
|
|
1289
|
+
return [];
|
|
1290
|
+
}
|
|
1291
|
+
const { result, direction } = compared;
|
|
1292
|
+
if (direction.baseline === null) return [];
|
|
1293
|
+
const written = /* @__PURE__ */ new Set([...result.differing, ...result.missing, ...ctx.deletes ? result.liveOnly : []]);
|
|
1294
|
+
const both = new Set(direction.changedBoth);
|
|
1295
|
+
const objects = [...direction.changedThere, ...direction.changedBoth].filter((l) => written.has(l)).sort();
|
|
1296
|
+
if (objects.length === 0) return objects;
|
|
1297
|
+
if (args.overwrite) {
|
|
1298
|
+
warn(
|
|
1299
|
+
`\`--overwrite\`: ${objects.length} object${objects.length === 1 ? "" : "s"} changed in Xano since the last sync ${args.dryRun ? "would be" : "will be"} overwritten:`,
|
|
1300
|
+
"deploy.overwrite-changed",
|
|
1301
|
+
objects
|
|
1302
|
+
);
|
|
1303
|
+
return objects;
|
|
1304
|
+
}
|
|
1305
|
+
const lines = objects.map((l) => ` ${l}${both.has(l) ? " (changed here too)" : ""}`);
|
|
1306
|
+
const pull = `xanosdk pull workspace${ctx.pullBranch !== void 0 ? ` --branch ${ctx.pullBranch}` : ""}`;
|
|
1307
|
+
const waive = retryCommand(args, { add: ["--overwrite"] });
|
|
1308
|
+
refuseOrReport(
|
|
1309
|
+
args,
|
|
1310
|
+
`Refusing to deploy to branch "${ctx.target.branch}": ${objects.length} object${objects.length === 1 ? " was" : "s were"} changed in Xano since the last sync (${baseline.by}, ${baseline.at}), and this deploy would overwrite ${objects.length === 1 ? "it" : "them"}:
|
|
1311
|
+
${lines.join("\n")}
|
|
1312
|
+
|
|
1313
|
+
Bring the change into this project first (\`${pull}\`, then commit and deploy), or deploy over it: \`${waive.command}\`${withheldNote(waive.withheld)}.`,
|
|
1314
|
+
objects,
|
|
1315
|
+
{
|
|
1316
|
+
reason: "workspace-changed",
|
|
1317
|
+
objects,
|
|
1318
|
+
changedThere: direction.changedThere.filter((l) => written.has(l)),
|
|
1319
|
+
changedBoth: direction.changedBoth.filter((l) => written.has(l)),
|
|
1320
|
+
baseline: direction.baseline
|
|
1321
|
+
},
|
|
1322
|
+
"SDK_WORKSPACE_CHANGED"
|
|
1323
|
+
);
|
|
1324
|
+
return objects;
|
|
1325
|
+
}
|
|
1275
1326
|
function releaseCanonicalLock(args, classified) {
|
|
1276
1327
|
if (classified !== void 0) return classified;
|
|
1277
1328
|
const lockPath = args.lockPath ?? (args.file !== void 0 ? resolveLockPath(args, args.file) : void 0);
|
|
@@ -1558,7 +1609,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1558
1609
|
const held = guidsOf(live);
|
|
1559
1610
|
const codePinned = codePinnedTables(outgoingDoc, lock, classified);
|
|
1560
1611
|
const { orphanFixUps } = await import("./cli.js");
|
|
1561
|
-
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-
|
|
1612
|
+
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
1562
1613
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1563
1614
|
const out = [];
|
|
1564
1615
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -1602,7 +1653,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1602
1653
|
return out;
|
|
1603
1654
|
}
|
|
1604
1655
|
async function pendingRenameRefusal(frame, pending, prune, branch) {
|
|
1605
|
-
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-
|
|
1656
|
+
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
1606
1657
|
const one = pending.length === 1;
|
|
1607
1658
|
const lines = pending.flatMap(
|
|
1608
1659
|
(p) => pendingRenameLines(
|
|
@@ -2058,7 +2109,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2058
2109
|
assertBundleFile(args, { command: "deploy" });
|
|
2059
2110
|
const auth = opts.auth ?? await getAccessToken(args);
|
|
2060
2111
|
const withSeed = req.mode === "replace" || req.records === true;
|
|
2061
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
2112
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-K46KYJ4G.js");
|
|
2062
2113
|
const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
|
|
2063
2114
|
const loaded = await loadBundleText(
|
|
2064
2115
|
args.dryRun ? { ...args, lockReadOnly: true } : args,
|
|
@@ -2084,15 +2135,15 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2084
2135
|
});
|
|
2085
2136
|
};
|
|
2086
2137
|
if (!args.dryRun && args.file !== void 0) {
|
|
2087
|
-
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-
|
|
2138
|
+
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-FIDS56ZC.js");
|
|
2088
2139
|
await ignoreBackendSecretFilesRead(args);
|
|
2089
2140
|
}
|
|
2090
2141
|
if (args.static !== void 0) {
|
|
2091
|
-
const { assertNoSeedLeaks } = await import("./deploy-command-
|
|
2142
|
+
const { assertNoSeedLeaks } = await import("./deploy-command-FIDS56ZC.js");
|
|
2092
2143
|
await assertNoSeedLeaks(args.static, nonPublicSeedValues);
|
|
2093
2144
|
}
|
|
2094
2145
|
{
|
|
2095
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
2146
|
+
const { runBundleHooks } = await import("./toolchain-hooks-3ZAAAWPL.js");
|
|
2096
2147
|
const { readVersion } = await import("./cli.js");
|
|
2097
2148
|
await runBundleHooks(
|
|
2098
2149
|
toolchain.loaded,
|
|
@@ -2198,8 +2249,8 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2198
2249
|
pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
|
|
2199
2250
|
}).catch(async (err) => {
|
|
2200
2251
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2201
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2202
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2252
|
+
const { importInProgressError } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
2253
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
|
|
2203
2254
|
const retry = retryCommand2(args);
|
|
2204
2255
|
throw importInProgressError(
|
|
2205
2256
|
describeWriteTarget({ base: destBase, workspaceId, label: destShownLabel }),
|
|
@@ -2318,11 +2369,25 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2318
2369
|
if (pending.length > 0) throw await pendingRenameRefusal(refusalFrame, pending, req.prune === true, preview.branch);
|
|
2319
2370
|
}
|
|
2320
2371
|
const dryRunUpToDate = req.branch === void 0 && (plan.operations.length === 0 || converged);
|
|
2372
|
+
const changedInXano = landingDest?.kind === "workspace" && live !== void 0 && !dryRunUpToDate && (req.branch === void 0 || scopeBranch !== void 0) ? await (async () => {
|
|
2373
|
+
const readLabel = scopeBranch ?? liveBranchLabel(branches) ?? preview.branch;
|
|
2374
|
+
if (readLabel === void 0) return [];
|
|
2375
|
+
const guardLock = args.file === void 0 && args.lockPath === void 0 ? landingLockPath(args) : landingLockPath(args, { entryFile: args.file, fromProject: false });
|
|
2376
|
+
return assertWorkspaceUnchanged(args, {
|
|
2377
|
+
live,
|
|
2378
|
+
bundle,
|
|
2379
|
+
pinned,
|
|
2380
|
+
lockPath: guardLock,
|
|
2381
|
+
target: { instance: auth.instance, workspaceId: landingDest.workspaceId, branch: readLabel },
|
|
2382
|
+
deletes: req.mode === "replace" || req.prune === true,
|
|
2383
|
+
pullBranch: scopeBranch
|
|
2384
|
+
});
|
|
2385
|
+
})() : [];
|
|
2321
2386
|
if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
|
|
2322
|
-
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-
|
|
2387
|
+
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
2323
2388
|
const triggers = liveTableTriggers(live);
|
|
2324
2389
|
if (triggers.length > 0) {
|
|
2325
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2390
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
|
|
2326
2391
|
const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
|
|
2327
2392
|
throw tableTriggerMergeError(destNoun, triggers, {
|
|
2328
2393
|
command: replace.command,
|
|
@@ -2331,7 +2396,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2331
2396
|
}
|
|
2332
2397
|
}
|
|
2333
2398
|
if (req.mode === "merge" && live !== void 0 && !dryRunUpToDate && losses.storageChanges.length > 0) {
|
|
2334
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2399
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
|
|
2335
2400
|
const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
|
|
2336
2401
|
await assertStorageModesKept(losses.storageChanges, tableRowCounter(auth, { workspaceId, base: destBase }), {
|
|
2337
2402
|
target: destNoun,
|
|
@@ -2398,6 +2463,9 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2398
2463
|
// `--allow-shared-schema-changes`, the real run refuses.
|
|
2399
2464
|
...req.branch !== void 0 ? { sharedSchemaChanges: sharedChanges?.length ?? null } : {},
|
|
2400
2465
|
...unnamedPublicUrls.length > 0 ? { unnamedPublicUrls: [...unnamedPublicUrls] } : {},
|
|
2466
|
+
// Objects changed in Xano since the last sync that the deploy writes
|
|
2467
|
+
// over: without `--overwrite`, the real run refuses (`SDK_WORKSPACE_CHANGED`).
|
|
2468
|
+
...changedInXano.length > 0 ? { changedInXano: [...changedInXano] } : {},
|
|
2401
2469
|
...staticRemovedField(staticRead?.teardown, void 0)
|
|
2402
2470
|
});
|
|
2403
2471
|
}
|
|
@@ -2415,7 +2483,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2415
2483
|
assertLiveWorkspaceWasRead(live, destNoun, scopeBranch, liveRead.failure, liveKind);
|
|
2416
2484
|
reportPlannedCanonicalMoves(canonicalMoves, "will", movesWhen);
|
|
2417
2485
|
if (req.branch !== void 0 && args.setLive && !args.yes && process.stdin.isTTY !== true) {
|
|
2418
|
-
const { yesRerun } = await import("./retry-command-
|
|
2486
|
+
const { yesRerun } = await import("./retry-command-VZYLYDVX.js");
|
|
2419
2487
|
const { rerun, note } = yesRerun(args, "deploy");
|
|
2420
2488
|
throw needsConfirmation(
|
|
2421
2489
|
`Make "${req.branch}" the live branch?${movesClause(canonicalMoves)} (or drop --set-live to stage it)`,
|
|
@@ -2455,7 +2523,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2455
2523
|
syncBaseline: null,
|
|
2456
2524
|
...seeded.length > 0 ? { seedRows: seeded } : {}
|
|
2457
2525
|
});
|
|
2458
|
-
const { yesRerun } = await import("./retry-command-
|
|
2526
|
+
const { yesRerun } = await import("./retry-command-VZYLYDVX.js");
|
|
2459
2527
|
const { rerun, note } = yesRerun(args, "deploy");
|
|
2460
2528
|
const ok = await confirm(`Apply this plan to ${destNoun}?${seedOverwriteClause(seeded)}${movesClause(canonicalMoves, movesWhen === void 0 ? "It" : "Once live, it")}`, {
|
|
2461
2529
|
flag: "--yes",
|
|
@@ -2502,7 +2570,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2502
2570
|
);
|
|
2503
2571
|
} catch (err) {
|
|
2504
2572
|
if (err instanceof XanoSdkImportRefusal) {
|
|
2505
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2573
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
|
|
2506
2574
|
const retry = retryCommand2(args);
|
|
2507
2575
|
reportApplyRefusal(
|
|
2508
2576
|
err,
|
|
@@ -2699,7 +2767,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2699
2767
|
if (isMachineOutput(args)) writeJson(summary);
|
|
2700
2768
|
assertStaticMatchesServedUrls(servedDifferences, planContext);
|
|
2701
2769
|
}
|
|
2702
|
-
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-
|
|
2770
|
+
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-FIDS56ZC.js");
|
|
2703
2771
|
const env = buildStaticEnv(destBase, args.staticEnv);
|
|
2704
2772
|
const explicit = Object.keys(args.staticEnv).length > 0;
|
|
2705
2773
|
const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
|
|
@@ -2751,14 +2819,14 @@ function setLiveRollback(previous, args) {
|
|
|
2751
2819
|
async function assertReleaseIdentitiesFree(args, auth, opts) {
|
|
2752
2820
|
const tenant = opts.tenant;
|
|
2753
2821
|
const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
|
|
2754
|
-
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-
|
|
2822
|
+
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-HYHABD5U.js");
|
|
2755
2823
|
let capable;
|
|
2756
2824
|
try {
|
|
2757
2825
|
capable = await detectXanoSdkImportRoute(auth, target);
|
|
2758
2826
|
} catch (err) {
|
|
2759
2827
|
if (err?.status === 501) capable = false;
|
|
2760
2828
|
else {
|
|
2761
|
-
const { unreachableProbeError } = await import("./keep-data-merge-
|
|
2829
|
+
const { unreachableProbeError } = await import("./keep-data-merge-BIBW4QR4.js");
|
|
2762
2830
|
const retry = retryCommand(args, {
|
|
2763
2831
|
add: pipedYes(args) === "" ? [] : ["--yes"],
|
|
2764
2832
|
command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
|
|
@@ -2847,4 +2915,4 @@ export {
|
|
|
2847
2915
|
setLiveRollback,
|
|
2848
2916
|
assertReleaseIdentitiesFree
|
|
2849
2917
|
};
|
|
2850
|
-
//# sourceMappingURL=chunk-
|
|
2918
|
+
//# sourceMappingURL=chunk-YG7S3N7P.js.map
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
listAnswer,
|
|
4
4
|
notTheAnswer,
|
|
5
5
|
writeTransportFailure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TG65NWUR.js";
|
|
7
7
|
import {
|
|
8
8
|
SENT_AFTERMATH,
|
|
9
9
|
fetchOrExplain,
|
|
10
10
|
readBodyText,
|
|
11
11
|
safeHttpFailure,
|
|
12
12
|
withWriteStatusAftermath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TR7EOUQE.js";
|
|
14
14
|
import {
|
|
15
15
|
isNonPublicColumn
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-B5N6EWOM.js";
|
|
17
17
|
|
|
18
18
|
// src/deploy/table.ts
|
|
19
19
|
var TIMEOUT_MS = 3e4;
|
|
@@ -184,4 +184,4 @@ export {
|
|
|
184
184
|
truncateTable,
|
|
185
185
|
insertTableRows
|
|
186
186
|
};
|
|
187
|
-
//# sourceMappingURL=chunk-
|
|
187
|
+
//# sourceMappingURL=chunk-YP76ZCQ5.js.map
|