@xano/sdk 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +26 -16
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-KVLR7M5Y.js → agent-file-refresh-67QIX45H.js} +14 -13
- package/dist/{answer-shape-XGR2DGWY.js → answer-shape-UCDUKPAN.js} +5 -5
- package/dist/{backend-dir-IE4RMUFH.js → backend-dir-3LIL6SCT.js} +13 -12
- package/dist/{backend-slot-6HBWG5FN.js → backend-slot-JREP27UD.js} +4 -4
- package/dist/bin.js +53 -52
- package/dist/{branch-T2APKPVG.js → branch-2IPHOAYS.js} +9 -9
- package/dist/{branch-commands-HXXTCSOO.js → branch-commands-KTKAXBAN.js} +29 -30
- package/dist/bundle.js +9 -39
- package/dist/{capture-HBXFXZEW.js → capture-GW5KNKMB.js} +3 -3
- package/dist/{chunk-JZWUAEMO.js → chunk-26MOFAJT.js} +2 -2
- package/dist/{chunk-RXCT3OCU.js → chunk-2FLIJGBZ.js} +3 -3
- package/dist/{chunk-UIEFE6FU.js → chunk-2WBH5HUY.js} +7 -7
- package/dist/{chunk-Y76ERHLK.js → chunk-3BBIDW3Y.js} +5 -5
- package/dist/{chunk-DGWHAVRG.js → chunk-3EDSPMXN.js} +12 -1
- package/dist/{chunk-JXKO6JT7.js → chunk-3II44CUJ.js} +14 -14
- package/dist/{chunk-7GX445AE.js → chunk-4XHAT7C5.js} +2 -2
- package/dist/{chunk-OKNE3TWU.js → chunk-5KJBWIDZ.js} +83 -5
- package/dist/{chunk-SRX6B544.js → chunk-5QMJOE2K.js} +5 -5
- package/dist/{chunk-UJ6ZZJDD.js → chunk-5TVFLG3C.js} +2 -2
- package/dist/{chunk-L3BDO2BI.js → chunk-5YQV35C2.js} +7 -7
- package/dist/{chunk-Z4VN347O.js → chunk-6X3MY2JP.js} +2 -2
- package/dist/{chunk-65SW2BA5.js → chunk-6X6BJN6Y.js} +3 -3
- package/dist/{chunk-M7GJ6YUF.js → chunk-763M6LX3.js} +16 -2
- package/dist/{chunk-XJU6UAFV.js → chunk-7FIMUFBP.js} +2 -2
- package/dist/{chunk-TEBS7FE6.js → chunk-7GAIJW62.js} +2 -2
- package/dist/{chunk-K6CB5TKM.js → chunk-7REDHC4N.js} +2 -2
- package/dist/chunk-7VR4IO5B.js +44 -0
- package/dist/chunk-A7MRZ4GF.js +78 -0
- package/dist/{chunk-CV54PASI.js → chunk-ATJ2W7DC.js} +70 -50
- package/dist/{chunk-WYS6XVZ3.js → chunk-AVS4WPPY.js} +2 -2
- package/dist/{chunk-5XVBT6CQ.js → chunk-BL3AZ3AP.js} +2 -2
- package/dist/chunk-BTVUYHWV.js +111 -0
- package/dist/{chunk-NGAODDLX.js → chunk-CCU5CCRX.js} +4 -4
- package/dist/{chunk-BBPAXOU6.js → chunk-CHINR7WD.js} +6 -6
- package/dist/{chunk-SQPIECXD.js → chunk-CJDPSCMX.js} +45 -5
- package/dist/{chunk-3HOGFGKG.js → chunk-D3KEPRRN.js} +2 -2
- package/dist/{chunk-XNZURZ7T.js → chunk-D7BUMOKU.js} +2 -2
- package/dist/{chunk-WRBKLYSJ.js → chunk-DNBP4GJN.js} +4 -3
- package/dist/{chunk-XMDDBEEM.js → chunk-E763QI3G.js} +2 -2
- package/dist/{chunk-4NEBBKOP.js → chunk-EADVVTDK.js} +7 -7
- package/dist/{chunk-N6BWB35H.js → chunk-ENMBEXOP.js} +3 -3
- package/dist/{chunk-57HMNJGB.js → chunk-EQFYOOO6.js} +69 -34
- package/dist/{chunk-WOGJB2F6.js → chunk-FNLTFOUD.js} +4 -9
- package/dist/{chunk-FV55SRQU.js → chunk-FQ53GTII.js} +9 -9
- package/dist/{chunk-TUEFTRC2.js → chunk-FU3VCE5A.js} +45 -26
- package/dist/{chunk-YSLMMR2U.js → chunk-GHQ4BVI4.js} +14 -14
- package/dist/{chunk-Z2BRSQ6M.js → chunk-GLY552SI.js} +84 -57
- package/dist/{chunk-XIABDKFQ.js → chunk-GOLFAEUV.js} +2 -2
- package/dist/{chunk-ZHGWR45B.js → chunk-GW5RHGOB.js} +8 -8
- package/dist/{chunk-3BJYQGAZ.js → chunk-GWTFI3GA.js} +2 -2
- package/dist/{chunk-K6PRKPFX.js → chunk-GZHLCUZ6.js} +7 -7
- package/dist/{chunk-LLS2WO2K.js → chunk-HCG7NDIL.js} +4 -4
- package/dist/{chunk-NNB7VUCH.js → chunk-I3H3HCPY.js} +47 -26
- package/dist/{chunk-KUU7T4ZE.js → chunk-I3VHW6XM.js} +13 -13
- package/dist/{chunk-ES5A66IH.js → chunk-IF4PEGVD.js} +8 -8
- package/dist/{chunk-Y6NO3DLQ.js → chunk-IMELQ2I6.js} +3 -3
- package/dist/{chunk-V4IBHDIY.js → chunk-ITC2R2OT.js} +7 -7
- package/dist/{chunk-KQLACS4Q.js → chunk-IXFJORNH.js} +4 -4
- package/dist/{chunk-SF2B7MZK.js → chunk-IYXL5NYU.js} +259 -31
- package/dist/{chunk-57B56I4B.js → chunk-JFBRXRJD.js} +58 -34
- package/dist/chunk-JI3BLXWQ.js +107 -0
- package/dist/{chunk-4DJTQ6W4.js → chunk-JIKGT7DO.js} +2 -1
- package/dist/{chunk-5D6DGF3W.js → chunk-JRVQ7M7W.js} +8 -8
- package/dist/{chunk-AESE434J.js → chunk-JXVJGF3Y.js} +2 -2
- package/dist/chunk-KPFS3RGM.js +257 -0
- package/dist/{chunk-SNGFEESM.js → chunk-LAOMN6QQ.js} +3 -3
- package/dist/{chunk-TM5LRSBB.js → chunk-LBJA7IEM.js} +370 -45
- package/dist/{chunk-OVV2HXJ6.js → chunk-LD6ARK3A.js} +2 -2
- package/dist/{chunk-F6IKWAIU.js → chunk-LL7SGTRC.js} +18 -19
- package/dist/{chunk-OJPZEUPH.js → chunk-M5CSVB23.js} +4 -4
- package/dist/{chunk-GMVW6ZZK.js → chunk-MBDFH7XB.js} +4 -4
- package/dist/{chunk-5YBNXNKU.js → chunk-MFWF2NZJ.js} +12 -5
- package/dist/{chunk-G57RYMKB.js → chunk-N5I37JFB.js} +2 -2
- package/dist/{chunk-QOLOQ35F.js → chunk-ND43ZOS3.js} +5 -5
- package/dist/chunk-NDWVJ2QZ.js +67 -0
- package/dist/{chunk-5RLAF6RL.js → chunk-NPODGBVJ.js} +4 -4
- package/dist/{chunk-JQOX6HW4.js → chunk-OIKLDDYC.js} +2 -2
- package/dist/{chunk-AMBEITWL.js → chunk-PFBXSVZF.js} +4 -4
- package/dist/{chunk-3VX7VAQT.js → chunk-PMMHSX4H.js} +26 -9
- package/dist/{chunk-MYLPOVX6.js → chunk-QJM5XZ4K.js} +5 -5
- package/dist/{chunk-U6DR6464.js → chunk-QXYMDARD.js} +4 -4
- package/dist/{chunk-DEVGLLNZ.js → chunk-QZEAANWP.js} +5 -5
- package/dist/{chunk-LZDA6SVD.js → chunk-RIN4YY34.js} +78 -65
- package/dist/{chunk-37FBPMNE.js → chunk-S56YBYMN.js} +5 -2
- package/dist/{chunk-S5TEJIGP.js → chunk-SKEG3V2V.js} +2 -2
- package/dist/{chunk-VZ22VUAS.js → chunk-SLGJIWCY.js} +3 -3
- package/dist/{chunk-4QFBEKXI.js → chunk-SPITRSOF.js} +2 -2
- package/dist/{chunk-QZTJ2556.js → chunk-SPKA2LV6.js} +4 -4
- package/dist/{chunk-YI76TURL.js → chunk-SSITMX7I.js} +8 -8
- package/dist/{chunk-JSEVKRVJ.js → chunk-T4LJ5UR2.js} +29 -7
- package/dist/{chunk-44CWK6YC.js → chunk-TECTL2NU.js} +4 -4
- package/dist/{chunk-AGD7F7YI.js → chunk-TTEIDD5Q.js} +3 -3
- package/dist/{chunk-NUU76247.js → chunk-U35MTOXQ.js} +3 -3
- package/dist/{chunk-4QBGE3EO.js → chunk-U6MTGB46.js} +4 -4
- package/dist/{chunk-3WHWOKU4.js → chunk-UD2Z7K6W.js} +4 -4
- package/dist/{chunk-I5VEROXW.js → chunk-UIVMR7UK.js} +2 -2
- package/dist/{chunk-F3557PVM.js → chunk-VDHA5SSQ.js} +2 -2
- package/dist/{chunk-3IYVHVM6.js → chunk-VJFMUJWZ.js} +4 -4
- package/dist/{chunk-4GDEEY2U.js → chunk-VW4CWVYX.js} +4 -4
- package/dist/chunk-WAVNUTMT.js +9 -0
- package/dist/{chunk-A4NNCI4O.js → chunk-WBH4KJWM.js} +3 -3
- package/dist/{chunk-HOOOOJJP.js → chunk-WZHLMU6T.js} +2 -2
- package/dist/{chunk-S5KQIFKJ.js → chunk-XFBGXB7X.js} +130 -86
- package/dist/{chunk-IV446ZLJ.js → chunk-Y453TW6J.js} +2 -2
- package/dist/{chunk-CJ76PSJT.js → chunk-YGLMRH5U.js} +8 -8
- package/dist/{chunk-GPI3OWRE.js → chunk-YHB34BN6.js} +2 -1
- package/dist/{chunk-BMCZQZMI.js → chunk-YKP4ZKVO.js} +13 -9
- package/dist/{chunk-HLQH3AXB.js → chunk-YR2I5HGE.js} +2 -2
- package/dist/{chunk-OGUMHW2X.js → chunk-YYC2DZMG.js} +7 -7
- package/dist/{chunk-Z3SNX45M.js → chunk-YYLUBYXM.js} +2 -2
- package/dist/{chunk-PIPIA7K7.js → chunk-Z4ZGTCCD.js} +7 -7
- package/dist/{chunk-AGSCOISO.js → chunk-ZDP6GDAB.js} +75 -75
- package/dist/{chunk-7DBM6XHR.js → chunk-ZJSTUD6D.js} +8 -8
- package/dist/cli.d.ts +17 -9
- package/dist/cli.js +51 -50
- package/dist/{codegen-command-L2OO6OTE.js → codegen-command-R5IASBFC.js} +72 -66
- package/dist/codegen.d.ts +2 -2
- package/dist/codegen.js +2 -2
- package/dist/{commands-2E4JB3DB.js → commands-H7CPMMHH.js} +3 -3
- package/dist/{completion-LPJIH5VQ.js → completion-W5ZAI6TN.js} +3 -3
- package/dist/{config-QDCRKEWD.js → config-MZ5KG4EP.js} +4 -4
- package/dist/{deploy-command-HJZNYCUY.js → deploy-command-34T2LKQ5.js} +58 -57
- package/dist/{deploy-source-5COWTBOC.js → deploy-source-YLQ7WMYR.js} +32 -31
- package/dist/{dev-env-sync-GZ4QQJGV.js → dev-env-sync-TMJTNU3U.js} +52 -51
- package/dist/{diagnostics-LSMGB4TY.js → diagnostics-OMN5Y2AH.js} +2 -2
- package/dist/{display-name-hint-AHCNH6TF.js → display-name-hint-ZJGFNJKQ.js} +11 -11
- package/dist/{emit-DqG6qddr.d.ts → emit-D125xxty.d.ts} +66 -20
- package/dist/env-example-refresh-CQP3ZMKM.js +133 -0
- package/dist/{env-pull-command-Z4RLVEGJ.js → env-pull-command-UTG6IC2K.js} +46 -46
- package/dist/{env-target-ZHQUS5BO.js → env-target-FZROWYFS.js} +12 -12
- package/dist/{env-var-command-FKQ4VVQ6.js → env-var-command-VYDBQJJW.js} +41 -40
- package/dist/{ephemeral-L4KUOGEU.js → ephemeral-BIE6FMJV.js} +9 -9
- package/dist/{ephemeral-command-GRPFI3TD.js → ephemeral-command-OZ26RGXF.js} +47 -47
- package/dist/{ephemeral-state-VLYU2BXR.js → ephemeral-state-SNZOX2YK.js} +10 -10
- package/dist/{generate-command-XNODJFDQ.js → generate-command-4HR7MR36.js} +80 -72
- package/dist/{gitignore-VWRSZX5F.js → gitignore-EWQBXNX2.js} +17 -16
- package/dist/{guards-OPSGB6LG.js → guards-KYEOCVHN.js} +6 -6
- package/dist/{impersonate-command-AEKIZHHK.js → impersonate-command-WC7OGKUM.js} +37 -36
- package/dist/{import-PHSSFFLA.js → import-7Z4GCCPO.js} +5 -5
- package/dist/index.d.ts +14 -20
- package/dist/index.js +13 -13
- package/dist/{init-command-TI3HCKXZ.js → init-command-HAO3WXH3.js} +57 -55
- package/dist/{init-modules-SGSX7XEY.js → init-modules-NSKD4ASY.js} +10 -9
- package/dist/{init-web-6HX3YLQP.js → init-web-MKFFOQUU.js} +3 -3
- package/dist/internal.d.ts +5 -5
- package/dist/internal.js +47 -20
- package/dist/{io-TAF4WXYQ.js → io-PGTCBSIQ.js} +6 -4
- package/dist/{keep-data-merge-GUGF7MVZ.js → keep-data-merge-QR2TMKEO.js} +28 -29
- package/dist/{lambda-config-reconcile-65U6I4KU.js → lambda-config-reconcile-7FJXXV6V.js} +3 -3
- package/dist/{landed-QA6PRTV2.js → landed-F7PCHGCK.js} +3 -3
- package/dist/{landing-record-FCAWLCZU.js → landing-record-MWXFIRCP.js} +22 -21
- package/dist/{live-diff-IM4W3ELT.js → live-diff-5E2BQWQ7.js} +9 -8
- package/dist/{local-engine-choice-FPJAZSSD.js → local-engine-choice-VD5LNXJU.js} +35 -34
- package/dist/{local-engine-command-73NHWD6V.js → local-engine-command-RYLGMQ2O.js} +40 -39
- package/dist/{local-engine-deploy-Y4OAWL7K.js → local-engine-deploy-6O7NKZCA.js} +12 -12
- package/dist/{local-engine-process-6YPJHKYM.js → local-engine-process-ZLLZEIRF.js} +7 -7
- package/dist/{local-engine-update-check-X7TZGRFL.js → local-engine-update-check-LVX4HBBI.js} +5 -5
- package/dist/{lock-WXXC3QHL.js → lock-HDCHD2ON.js} +4 -2
- package/dist/{lock-commands-PKDBNRSD.js → lock-commands-X2OECR4R.js} +56 -55
- package/dist/{login-command-V4U4FA5G.js → login-command-RLLKD565.js} +27 -26
- package/dist/{logout-command-TV3P545Z.js → logout-command-XDMSXCDO.js} +15 -15
- package/dist/{loop-VKHGQ6MP.js → loop-SUB6C2LK.js} +8 -9
- package/dist/{marketplace-command-LEFOAEAV.js → marketplace-command-2NHHY2X3.js} +86 -50
- package/dist/{marketplace-resolve-ME7O7JBJ.js → marketplace-resolve-OTZYT4FG.js} +7 -6
- package/dist/{meta-client-TEEECA5W.js → meta-client-TMHVBZFY.js} +13 -13
- package/dist/{module-manifest-7YLGIRCY.js → module-manifest-FNMW23IX.js} +7 -4
- package/dist/node.d.ts +5 -5
- package/dist/node.js +57 -57
- package/dist/{operation-outcome-GNDD35WL.js → operation-outcome-RN62735X.js} +22 -22
- package/dist/{output-target-5FWX3NGZ.js → output-target-MOLCTPBP.js} +18 -17
- package/dist/{package-manager-PRAHUSCN.js → package-manager-K762W7XT.js} +2 -2
- package/dist/{plan-disclosure-QGL5UYQR.js → plan-disclosure-CY7AF6KP.js} +19 -20
- package/dist/{plugin-contributions-GNFTWDEB.js → plugin-contributions-WR26U7NT.js} +6 -6
- package/dist/{plugin-prompt-VEQGMZ4T.js → plugin-prompt-ZUYQQIX4.js} +5 -5
- package/dist/{plugin-questions-BGRL23GO.js → plugin-questions-HAZOQ67R.js} +4 -4
- package/dist/plugin.d.ts +254 -10
- package/dist/{preflight-command-VKJKXRRI.js → preflight-command-OHJXYND3.js} +64 -64
- package/dist/{profile-command-P7A3BH26.js → profile-command-6JWT2BTL.js} +28 -27
- package/dist/{profile-pointer-HG7IXE4I.js → profile-pointer-PDA5XBIB.js} +4 -4
- package/dist/{project-dependency-Z4CKOCJI.js → project-dependency-GZWWGWEW.js} +11 -8
- package/dist/{project-sdk-JWZWGXXR.js → project-sdk-3W72H5QO.js} +4 -4
- package/dist/promote-command-UYAMUXKB.js +146 -0
- package/dist/{prompt-SURZOUUW.js → prompt-U37K5RPQ.js} +4 -4
- package/dist/{publish-command-HGAB3H4A.js → publish-command-BUS27HGB.js} +61 -60
- package/dist/{pull-command-EUEWBRXZ.js → pull-command-ZGUNP27P.js} +75 -69
- package/dist/{pull-superseded-TOT5S4QU.js → pull-superseded-EZBGYRZF.js} +4 -4
- package/dist/{raw-where-EoWl5fqY.d.ts → raw-where-ZMLND6AG.d.ts} +20 -3
- package/dist/{release-command-WOVQAMUY.js → release-command-BQ6OHS3P.js} +69 -66
- package/dist/{release-ns-command-WOQE2BDQ.js → release-ns-command-ATGVBVIU.js} +85 -85
- package/dist/{retry-command-JRGMZZAC.js → retry-command-QJ57WVW7.js} +8 -8
- package/dist/{routes-manifest-URFMAWJE.js → routes-manifest-YR4ZIMLM.js} +15 -7
- package/dist/routes-manifest-file-UALYSZLY.js +41 -0
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-YWZWVJ52.js → secrets-file-LMS7KX3E.js} +17 -16
- package/dist/{secrets-fill-command-HIHK3VH2.js → secrets-fill-command-QNBDGCGM.js} +55 -54
- package/dist/{seed-24DTEY5S.js → seed-SZ6OS5DQ.js} +8 -8
- package/dist/{source-resolve-OWD3MIEO.js → source-resolve-MKLNYFWG.js} +20 -20
- package/dist/{static-host-UIR2OLPQ.js → static-host-ONEHA4LI.js} +5 -5
- package/dist/{status-command-JKTHH5QE.js → status-command-XKIFKBGM.js} +38 -37
- package/dist/{store-zxw2go0f.d.ts → store-Bg4Na6Sm.d.ts} +2 -2
- package/dist/{store-5YAQS6KU.js → store-X6ZH7EC3.js} +6 -6
- package/dist/sync-baseline-DOV5AGIO.js +36 -0
- package/dist/{sync-contributions-RBB6JVOL.js → sync-contributions-HNVHDIQW.js} +20 -12
- package/dist/sync-record-PRXHLK4S.js +42 -0
- package/dist/{table-MQFVYA4K.js → table-DC36QA4Y.js} +8 -8
- package/dist/{tables-command-5Q4BSUNO.js → tables-command-UQLKTELN.js} +38 -37
- package/dist/{tenant-Q3LPVSSM.js → tenant-EKNQGG5A.js} +10 -10
- package/dist/{tenant-command-BFVU2PEX.js → tenant-command-2LWP2MPB.js} +99 -94
- package/dist/{test-command-F4VUU4QR.js → test-command-IU5MBBXY.js} +36 -35
- package/dist/{tests-5ZSDFVIJ.js → tests-RG2Y5EQ4.js} +6 -6
- package/dist/{token-TERSTNU4.js → token-7AWSJLKO.js} +11 -11
- package/dist/toolchain-hooks-4ZMQLBPQ.js +46 -0
- package/dist/{toolchain-modules-FD5ANV2U.js → toolchain-modules-VU7SURVJ.js} +8 -5
- package/dist/toolchain-peers-CIDNEEQV.js +28 -0
- package/dist/{tracked-backend-B4HTME4S.js → tracked-backend-4BHSV7NC.js} +34 -33
- package/dist/{update-check-O4C2LCZH.js → update-check-A7FXIINW.js} +54 -53
- package/dist/{upgrade-command-NVFWLMTA.js → upgrade-command-C5KBITFI.js} +58 -57
- package/dist/{whoami-command-YKNTISIV.js → whoami-command-7WQII2H4.js} +14 -14
- package/dist/{workspace-GGVGE2S5.js → workspace-Z46PUZNI.js} +5 -5
- package/dist/{workspace-binding-OS4ZOX4S.js → workspace-binding-JE6YNDZJ.js} +13 -13
- package/dist/{workspace-command-GTUNVN7K.js → workspace-command-FC4IMLAE.js} +113 -82
- package/dist/{workspace-env-467C5KHM.js → workspace-env-N4ZPFT6A.js} +14 -13
- package/dist/{workspace-export-3XTVGQVM.js → workspace-export-3A5BZTPS.js} +5 -5
- package/dist/{writable-7SSWUQJ3.js → writable-D7KCZI5N.js} +4 -4
- package/dist/{xano-6RS5XQZE.js → xano-LCI7VWPS.js} +8 -8
- package/dist/{xanosdk-import-E3WSIYUE.js → xanosdk-import-P2A2KSXM.js} +8 -8
- package/dist/{xanosdk-project-KH5TZ2KI.js → xanosdk-project-6AGMW2SL.js} +15 -14
- package/guides/cli.md +4 -4
- package/guides/codes.md +7 -2
- package/guides/deploying.md +52 -0
- package/guides/marketplace.md +21 -0
- package/guides/module-contract.md +80 -4
- package/guides/typed-frontend.md +37 -0
- package/llms/client.md +11 -1
- package/llms/filters.md +4 -0
- package/llms/kinds-core.md +1 -1
- package/llms/statements-data.md +3 -2
- package/llms/toolchain.md +12 -0
- package/llms-full.txt +34 -7
- package/llms.txt +3 -3
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/chunk-MEIJDRHU.js +0 -243
- package/dist/env-example-refresh-DWQIOQYR.js +0 -127
- package/dist/promote-command-KHTIK44I.js +0 -141
- package/dist/toolchain-hooks-QVUZ6HZ4.js +0 -96
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
confirm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JXVJGF3Y.js";
|
|
4
4
|
import {
|
|
5
5
|
discloseCanonicalMoves,
|
|
6
6
|
movesClause,
|
|
7
7
|
releaseCanonicalMoves
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CHINR7WD.js";
|
|
9
9
|
import {
|
|
10
10
|
exportWorkspaceBundle
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GOLFAEUV.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-NPODGBVJ.js";
|
|
21
21
|
import {
|
|
22
22
|
sectionKind
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IYXL5NYU.js";
|
|
24
24
|
import {
|
|
25
25
|
assertOneName
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WBH4KJWM.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YGLMRH5U.js";
|
|
30
30
|
import {
|
|
31
31
|
pipedYes
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6X3MY2JP.js";
|
|
33
33
|
import {
|
|
34
34
|
contextFlags
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-N5I37JFB.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-D7BUMOKU.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-MKLNYFWG.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-MKLNYFWG.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-MKLNYFWG.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-GHQ4BVI4.js.map
|
|
@@ -9,40 +9,47 @@ import {
|
|
|
9
9
|
staticRetryHint,
|
|
10
10
|
unknownStaticOutcome,
|
|
11
11
|
warnStaticTeardown
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EADVVTDK.js";
|
|
13
13
|
import {
|
|
14
14
|
shownLabel
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GHQ4BVI4.js";
|
|
16
16
|
import {
|
|
17
17
|
confirm,
|
|
18
18
|
needsConfirmation
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
landedRecordFor,
|
|
22
|
-
landingLockPath,
|
|
23
|
-
recordForeignLanding,
|
|
24
|
-
recordLanding
|
|
25
|
-
} from "./chunk-ES5A66IH.js";
|
|
19
|
+
} from "./chunk-JXVJGF3Y.js";
|
|
26
20
|
import {
|
|
27
21
|
assertStorageModesKept,
|
|
28
22
|
discloseCanonicalMoves,
|
|
29
23
|
movesClause,
|
|
30
24
|
storageChangesPayload
|
|
31
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CHINR7WD.js";
|
|
32
26
|
import {
|
|
33
27
|
listTables,
|
|
34
28
|
tableRowCounter,
|
|
35
29
|
tableRowIds
|
|
36
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MBDFH7XB.js";
|
|
31
|
+
import {
|
|
32
|
+
landedRecordFor,
|
|
33
|
+
landingLockPath,
|
|
34
|
+
recordForeignLanding,
|
|
35
|
+
recordLanding
|
|
36
|
+
} from "./chunk-IF4PEGVD.js";
|
|
37
|
+
import {
|
|
38
|
+
recordSync
|
|
39
|
+
} from "./chunk-NDWVJ2QZ.js";
|
|
40
|
+
import {
|
|
41
|
+
objectDigests,
|
|
42
|
+
syncDigests
|
|
43
|
+
} from "./chunk-JI3BLXWQ.js";
|
|
37
44
|
import {
|
|
38
45
|
XANOSDK_IMPORT_CONFLICT_CODE,
|
|
39
46
|
XANOSDK_IMPORT_UNIQUENESS_CODE,
|
|
40
47
|
XanoSdkImportRefusal,
|
|
41
48
|
xanosdkImport
|
|
42
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ND43ZOS3.js";
|
|
43
50
|
import {
|
|
44
51
|
archiveSeedContent
|
|
45
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-Z4ZGTCCD.js";
|
|
46
53
|
import {
|
|
47
54
|
encodeWorkspaceArchive
|
|
48
55
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -55,7 +62,7 @@ import {
|
|
|
55
62
|
listBranchListing,
|
|
56
63
|
liveBranchLabel,
|
|
57
64
|
setLiveBranch
|
|
58
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-NPODGBVJ.js";
|
|
59
66
|
import {
|
|
60
67
|
compareToLive,
|
|
61
68
|
envValuesOf,
|
|
@@ -66,38 +73,38 @@ import {
|
|
|
66
73
|
sharedSchemaChanges,
|
|
67
74
|
storedColumnsAfter,
|
|
68
75
|
uniqueIndexLabels
|
|
69
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-IYXL5NYU.js";
|
|
70
77
|
import {
|
|
71
78
|
assertBundleFile,
|
|
72
79
|
assertBundleInput,
|
|
73
80
|
loadBundleText,
|
|
74
81
|
resolveLockPath
|
|
75
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-XFBGXB7X.js";
|
|
76
83
|
import {
|
|
77
84
|
LookupFailedError,
|
|
78
85
|
isUnansweredLookup,
|
|
79
86
|
unansweredCause
|
|
80
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-3II44CUJ.js";
|
|
81
88
|
import {
|
|
82
89
|
isSignatureRefusal
|
|
83
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-BL3AZ3AP.js";
|
|
84
91
|
import {
|
|
85
92
|
getAccessToken
|
|
86
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-YGLMRH5U.js";
|
|
87
94
|
import {
|
|
88
95
|
ephemeralLandedOn
|
|
89
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-U6MTGB46.js";
|
|
90
97
|
import {
|
|
91
98
|
pipedYes,
|
|
92
99
|
retryCommand,
|
|
93
100
|
withheldNote
|
|
94
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-6X3MY2JP.js";
|
|
95
102
|
import {
|
|
96
103
|
contextFlags
|
|
97
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-N5I37JFB.js";
|
|
98
105
|
import {
|
|
99
106
|
backendDirIn
|
|
100
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-TTEIDD5Q.js";
|
|
101
108
|
import {
|
|
102
109
|
shellWord
|
|
103
110
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -106,10 +113,10 @@ import {
|
|
|
106
113
|
} from "./chunk-4KHEMC32.js";
|
|
107
114
|
import {
|
|
108
115
|
seedRowsByTableGuid
|
|
109
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-3BBIDW3Y.js";
|
|
110
117
|
import {
|
|
111
118
|
readLockFile
|
|
112
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-CJDPSCMX.js";
|
|
113
120
|
import {
|
|
114
121
|
destinationKey,
|
|
115
122
|
groupNames,
|
|
@@ -118,11 +125,11 @@ import {
|
|
|
118
125
|
landedKeyForRow,
|
|
119
126
|
storedColumnsOf,
|
|
120
127
|
withStoredColumns
|
|
121
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-MFWF2NZJ.js";
|
|
122
129
|
import {
|
|
123
130
|
TransportError,
|
|
124
131
|
isTimeoutError
|
|
125
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-YR2I5HGE.js";
|
|
126
133
|
import {
|
|
127
134
|
CliError,
|
|
128
135
|
EXIT_OUTCOME_UNKNOWN,
|
|
@@ -142,11 +149,11 @@ import {
|
|
|
142
149
|
warn,
|
|
143
150
|
writeJson,
|
|
144
151
|
writeTargetPayload
|
|
145
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-D7BUMOKU.js";
|
|
146
153
|
import {
|
|
147
154
|
calcSignatureJson,
|
|
148
155
|
signatureHolds
|
|
149
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-7FIMUFBP.js";
|
|
150
157
|
import {
|
|
151
158
|
safeNames
|
|
152
159
|
} from "./chunk-GSGDWJB5.js";
|
|
@@ -157,7 +164,7 @@ import {
|
|
|
157
164
|
lockKey,
|
|
158
165
|
lockNameForObject,
|
|
159
166
|
sdkKindName2 as sdkKindName
|
|
160
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-5KJBWIDZ.js";
|
|
161
168
|
import {
|
|
162
169
|
shellQuote
|
|
163
170
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -630,7 +637,7 @@ function isTransientReadFailure(err) {
|
|
|
630
637
|
return isUnansweredLookup(err);
|
|
631
638
|
}
|
|
632
639
|
async function readLive(auth, dest, branch) {
|
|
633
|
-
const { exportWorkspaceBundle } = await import("./workspace-export-
|
|
640
|
+
const { exportWorkspaceBundle } = await import("./workspace-export-3A5BZTPS.js");
|
|
634
641
|
let failure;
|
|
635
642
|
for (let attempt = 0; attempt <= LIVE_READ_RETRY_PAUSES_MS.length; attempt++) {
|
|
636
643
|
try {
|
|
@@ -737,7 +744,7 @@ function targetIsEmpty(live) {
|
|
|
737
744
|
async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
738
745
|
if (live === void 0 || req.mode !== "merge") return false;
|
|
739
746
|
if (req.records === true || req.truncate === true) return false;
|
|
740
|
-
const { compareToLive: compareToLive2 } = await import("./live-diff-
|
|
747
|
+
const { compareToLive: compareToLive2 } = await import("./live-diff-5E2BQWQ7.js");
|
|
741
748
|
let result;
|
|
742
749
|
try {
|
|
743
750
|
result = compareToLive2(
|
|
@@ -758,7 +765,7 @@ async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
|
758
765
|
async function unchangedWithLive(live, req, outgoingBundle, pinned) {
|
|
759
766
|
if (live === void 0 || req.mode !== "merge") return void 0;
|
|
760
767
|
if (req.records === true || req.truncate === true) return void 0;
|
|
761
|
-
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-5E2BQWQ7.js");
|
|
762
769
|
try {
|
|
763
770
|
const outgoing = JSON.parse(outgoingBundle);
|
|
764
771
|
const result = compareToLive2(outgoing, live, new Set(pinned.map((p) => `${p.payloadKey}:${p.name}`)), {
|
|
@@ -786,7 +793,7 @@ function markUnchanged(presented, unchanged, noun) {
|
|
|
786
793
|
}
|
|
787
794
|
var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
|
|
788
795
|
async function replaceCommandHint(args) {
|
|
789
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-
|
|
796
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-34T2LKQ5.js");
|
|
790
797
|
const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
|
|
791
798
|
const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
|
|
792
799
|
const argv = [];
|
|
@@ -817,7 +824,7 @@ function landingTableFields(losses) {
|
|
|
817
824
|
};
|
|
818
825
|
}
|
|
819
826
|
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-
|
|
827
|
+
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-CY7AF6KP.js");
|
|
821
828
|
const none = {
|
|
822
829
|
...tableEffectFields(NO_TABLE_EFFECTS),
|
|
823
830
|
renamedTables: [],
|
|
@@ -836,7 +843,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "worksp
|
|
|
836
843
|
blank();
|
|
837
844
|
return none;
|
|
838
845
|
}
|
|
839
|
-
const { diffAgainstLive, tableAdditions } = await import("./live-diff-
|
|
846
|
+
const { diffAgainstLive, tableAdditions } = await import("./live-diff-5E2BQWQ7.js");
|
|
840
847
|
let diff;
|
|
841
848
|
let additions;
|
|
842
849
|
try {
|
|
@@ -1551,7 +1558,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1551
1558
|
const held = guidsOf(live);
|
|
1552
1559
|
const codePinned = codePinnedTables(outgoingDoc, lock, classified);
|
|
1553
1560
|
const { orphanFixUps } = await import("./cli.js");
|
|
1554
|
-
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-
|
|
1561
|
+
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-QR2TMKEO.js");
|
|
1555
1562
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1556
1563
|
const out = [];
|
|
1557
1564
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -1595,7 +1602,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1595
1602
|
return out;
|
|
1596
1603
|
}
|
|
1597
1604
|
async function pendingRenameRefusal(frame, pending, prune, branch) {
|
|
1598
|
-
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-
|
|
1605
|
+
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-QR2TMKEO.js");
|
|
1599
1606
|
const one = pending.length === 1;
|
|
1600
1607
|
const lines = pending.flatMap(
|
|
1601
1608
|
(p) => pendingRenameLines(
|
|
@@ -2051,7 +2058,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2051
2058
|
assertBundleFile(args, { command: "deploy" });
|
|
2052
2059
|
const auth = opts.auth ?? await getAccessToken(args);
|
|
2053
2060
|
const withSeed = req.mode === "replace" || req.records === true;
|
|
2054
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
2061
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-VU7SURVJ.js");
|
|
2055
2062
|
const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
|
|
2056
2063
|
const loaded = await loadBundleText(
|
|
2057
2064
|
args.dryRun ? { ...args, lockReadOnly: true } : args,
|
|
@@ -2077,15 +2084,15 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2077
2084
|
});
|
|
2078
2085
|
};
|
|
2079
2086
|
if (!args.dryRun && args.file !== void 0) {
|
|
2080
|
-
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-
|
|
2087
|
+
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-34T2LKQ5.js");
|
|
2081
2088
|
await ignoreBackendSecretFilesRead(args);
|
|
2082
2089
|
}
|
|
2083
2090
|
if (args.static !== void 0) {
|
|
2084
|
-
const { assertNoSeedLeaks } = await import("./deploy-command-
|
|
2091
|
+
const { assertNoSeedLeaks } = await import("./deploy-command-34T2LKQ5.js");
|
|
2085
2092
|
await assertNoSeedLeaks(args.static, nonPublicSeedValues);
|
|
2086
2093
|
}
|
|
2087
2094
|
{
|
|
2088
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
2095
|
+
const { runBundleHooks } = await import("./toolchain-hooks-4ZMQLBPQ.js");
|
|
2089
2096
|
const { readVersion } = await import("./cli.js");
|
|
2090
2097
|
await runBundleHooks(
|
|
2091
2098
|
toolchain.loaded,
|
|
@@ -2191,8 +2198,8 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2191
2198
|
pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
|
|
2192
2199
|
}).catch(async (err) => {
|
|
2193
2200
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2194
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2195
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2201
|
+
const { importInProgressError } = await import("./keep-data-merge-QR2TMKEO.js");
|
|
2202
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-QJ57WVW7.js");
|
|
2196
2203
|
const retry = retryCommand2(args);
|
|
2197
2204
|
throw importInProgressError(
|
|
2198
2205
|
describeWriteTarget({ base: destBase, workspaceId, label: destShownLabel }),
|
|
@@ -2312,10 +2319,10 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2312
2319
|
}
|
|
2313
2320
|
const dryRunUpToDate = req.branch === void 0 && (plan.operations.length === 0 || converged);
|
|
2314
2321
|
if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
|
|
2315
|
-
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-
|
|
2322
|
+
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-QR2TMKEO.js");
|
|
2316
2323
|
const triggers = liveTableTriggers(live);
|
|
2317
2324
|
if (triggers.length > 0) {
|
|
2318
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2325
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-QJ57WVW7.js");
|
|
2319
2326
|
const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
|
|
2320
2327
|
throw tableTriggerMergeError(destNoun, triggers, {
|
|
2321
2328
|
command: replace.command,
|
|
@@ -2324,7 +2331,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2324
2331
|
}
|
|
2325
2332
|
}
|
|
2326
2333
|
if (req.mode === "merge" && live !== void 0 && !dryRunUpToDate && losses.storageChanges.length > 0) {
|
|
2327
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2334
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-QJ57WVW7.js");
|
|
2328
2335
|
const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
|
|
2329
2336
|
await assertStorageModesKept(losses.storageChanges, tableRowCounter(auth, { workspaceId, base: destBase }), {
|
|
2330
2337
|
target: destNoun,
|
|
@@ -2356,6 +2363,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2356
2363
|
// Always present; a dry run records nothing — what it would land is
|
|
2357
2364
|
// not landed, and the record is what a prune deletes by.
|
|
2358
2365
|
landingRecord: null,
|
|
2366
|
+
syncBaseline: null,
|
|
2359
2367
|
workspaceId,
|
|
2360
2368
|
destination: destinationPayload(resolvedDest, dest, auth),
|
|
2361
2369
|
// The verdict the real run would reach, said up front: a wrapper
|
|
@@ -2407,7 +2415,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2407
2415
|
assertLiveWorkspaceWasRead(live, destNoun, scopeBranch, liveRead.failure, liveKind);
|
|
2408
2416
|
reportPlannedCanonicalMoves(canonicalMoves, "will", movesWhen);
|
|
2409
2417
|
if (req.branch !== void 0 && args.setLive && !args.yes && process.stdin.isTTY !== true) {
|
|
2410
|
-
const { yesRerun } = await import("./retry-command-
|
|
2418
|
+
const { yesRerun } = await import("./retry-command-QJ57WVW7.js");
|
|
2411
2419
|
const { rerun, note } = yesRerun(args, "deploy");
|
|
2412
2420
|
throw needsConfirmation(
|
|
2413
2421
|
`Make "${req.branch}" the live branch?${movesClause(canonicalMoves)} (or drop --set-live to stage it)`,
|
|
@@ -2444,9 +2452,10 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2444
2452
|
workspaceRename: losses.workspaceRename ?? null,
|
|
2445
2453
|
workspaceSettingsNotApplied: withheldSettings,
|
|
2446
2454
|
landingRecord: null,
|
|
2455
|
+
syncBaseline: null,
|
|
2447
2456
|
...seeded.length > 0 ? { seedRows: seeded } : {}
|
|
2448
2457
|
});
|
|
2449
|
-
const { yesRerun } = await import("./retry-command-
|
|
2458
|
+
const { yesRerun } = await import("./retry-command-QJ57WVW7.js");
|
|
2450
2459
|
const { rerun, note } = yesRerun(args, "deploy");
|
|
2451
2460
|
const ok = await confirm(`Apply this plan to ${destNoun}?${seedOverwriteClause(seeded)}${movesClause(canonicalMoves, movesWhen === void 0 ? "It" : "Once live, it")}`, {
|
|
2452
2461
|
flag: "--yes",
|
|
@@ -2493,7 +2502,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2493
2502
|
);
|
|
2494
2503
|
} catch (err) {
|
|
2495
2504
|
if (err instanceof XanoSdkImportRefusal) {
|
|
2496
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2505
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-QJ57WVW7.js");
|
|
2497
2506
|
const retry = retryCommand2(args);
|
|
2498
2507
|
reportApplyRefusal(
|
|
2499
2508
|
err,
|
|
@@ -2584,8 +2593,10 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2584
2593
|
priorStored,
|
|
2585
2594
|
req.mode === "replace" ? "rebuild" : "merge"
|
|
2586
2595
|
);
|
|
2587
|
-
const
|
|
2588
|
-
|
|
2596
|
+
const sentForeign = args.file === void 0 && args.lockPath === void 0;
|
|
2597
|
+
const landingLock = sentForeign ? landingLockPath(args) : landingLockPath(args, { entryFile: args.file, fromProject: false });
|
|
2598
|
+
const landingRecord = landingDest === void 0 ? null : sentForeign ? recordForeignLanding({
|
|
2599
|
+
lockPath: landingLock,
|
|
2589
2600
|
instance: auth.instance,
|
|
2590
2601
|
dest: landingDest,
|
|
2591
2602
|
bundle: parsedOrUndefined(bundle),
|
|
@@ -2593,7 +2604,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2593
2604
|
removed: pruned,
|
|
2594
2605
|
...storedAfter !== void 0 ? { stored: storedAfter } : {}
|
|
2595
2606
|
}) : recordLanding({
|
|
2596
|
-
lockPath:
|
|
2607
|
+
lockPath: landingLock,
|
|
2597
2608
|
instance: auth.instance,
|
|
2598
2609
|
dest: landingDest,
|
|
2599
2610
|
update: {
|
|
@@ -2602,6 +2613,21 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2602
2613
|
removed: pruned
|
|
2603
2614
|
}
|
|
2604
2615
|
});
|
|
2616
|
+
const syncBaseline = landingDest?.kind !== "workspace" ? null : await recordDeploySync();
|
|
2617
|
+
async function recordDeploySync() {
|
|
2618
|
+
if (landingDest?.kind !== "workspace" || landingLock === void 0 || !existsSync(landingLock)) return null;
|
|
2619
|
+
const sent = parsedOrUndefined(bundle);
|
|
2620
|
+
const branch = req.mode === "replace" ? DEFAULT_BRANCH_LABEL : applyResponse?.branch ?? preview.branch;
|
|
2621
|
+
const stored = upToDate ? live : (await readLive(auth, resolvedDest, req.branch !== void 0 ? branch : void 0)).live;
|
|
2622
|
+
const digests = stored !== void 0 ? syncDigests({ held: [stored], heldLabels: new Set(Object.keys(objectDigests(sent, "carried"))) }) : syncDigests({ held: [sent], others: req.mode === "replace" ? [] : [live] });
|
|
2623
|
+
return recordSync({
|
|
2624
|
+
lockPath: landingLock,
|
|
2625
|
+
target: { instance: auth.instance, workspaceId: landingDest.workspaceId, branch },
|
|
2626
|
+
digests,
|
|
2627
|
+
by: "deploy",
|
|
2628
|
+
complete: stored !== void 0 || req.mode === "replace" || live !== void 0
|
|
2629
|
+
});
|
|
2630
|
+
}
|
|
2605
2631
|
const servedDifferences = canonicalDifferences((applyResponse ?? preview).canonicals);
|
|
2606
2632
|
reportCanonicalDifferences(servedDifferences, planContext);
|
|
2607
2633
|
if (!args.dryRun) opts.afterLanding?.(parsedOrUndefined(bundle));
|
|
@@ -2615,6 +2641,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2615
2641
|
dryRun: false,
|
|
2616
2642
|
declined: false,
|
|
2617
2643
|
landingRecord,
|
|
2644
|
+
syncBaseline,
|
|
2618
2645
|
workspaceId,
|
|
2619
2646
|
plan: planForOutput(plan, presented, destIsTenant, converged),
|
|
2620
2647
|
conflicts: conflictsForOutput((applyResponse ?? preview).conflicts, planContext),
|
|
@@ -2672,7 +2699,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2672
2699
|
if (isMachineOutput(args)) writeJson(summary);
|
|
2673
2700
|
assertStaticMatchesServedUrls(servedDifferences, planContext);
|
|
2674
2701
|
}
|
|
2675
|
-
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-
|
|
2702
|
+
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-34T2LKQ5.js");
|
|
2676
2703
|
const env = buildStaticEnv(destBase, args.staticEnv);
|
|
2677
2704
|
const explicit = Object.keys(args.staticEnv).length > 0;
|
|
2678
2705
|
const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
|
|
@@ -2724,14 +2751,14 @@ function setLiveRollback(previous, args) {
|
|
|
2724
2751
|
async function assertReleaseIdentitiesFree(args, auth, opts) {
|
|
2725
2752
|
const tenant = opts.tenant;
|
|
2726
2753
|
const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
|
|
2727
|
-
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-
|
|
2754
|
+
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-P2A2KSXM.js");
|
|
2728
2755
|
let capable;
|
|
2729
2756
|
try {
|
|
2730
2757
|
capable = await detectXanoSdkImportRoute(auth, target);
|
|
2731
2758
|
} catch (err) {
|
|
2732
2759
|
if (err?.status === 501) capable = false;
|
|
2733
2760
|
else {
|
|
2734
|
-
const { unreachableProbeError } = await import("./keep-data-merge-
|
|
2761
|
+
const { unreachableProbeError } = await import("./keep-data-merge-QR2TMKEO.js");
|
|
2735
2762
|
const retry = retryCommand(args, {
|
|
2736
2763
|
add: pipedYes(args) === "" ? [] : ["--yes"],
|
|
2737
2764
|
command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
|
|
@@ -2820,4 +2847,4 @@ export {
|
|
|
2820
2847
|
setLiveRollback,
|
|
2821
2848
|
assertReleaseIdentitiesFree
|
|
2822
2849
|
};
|
|
2823
|
-
//# sourceMappingURL=chunk-
|
|
2850
|
+
//# sourceMappingURL=chunk-GLY552SI.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
serverMessage,
|
|
10
10
|
statusLabel,
|
|
11
11
|
transportTarget
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YR2I5HGE.js";
|
|
13
13
|
import {
|
|
14
14
|
withArticle
|
|
15
15
|
} from "./chunk-36JUQZVQ.js";
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
assertBranchReadSupported,
|
|
111
111
|
exportWorkspaceBundle
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-GOLFAEUV.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z4ZGTCCD.js";
|
|
4
4
|
import {
|
|
5
5
|
isUnusablePin,
|
|
6
6
|
readPin,
|
|
7
7
|
writePin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YYLUBYXM.js";
|
|
9
9
|
import {
|
|
10
10
|
ENGINE_RELEASES_URL_ENV,
|
|
11
11
|
EngineReleaseNotFoundError,
|
|
12
12
|
usesCustomReleaseManager
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OIKLDDYC.js";
|
|
14
14
|
import {
|
|
15
15
|
LOCAL_ENGINE_OVERRIDE_ENV,
|
|
16
16
|
engineOverrideFromEnv,
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
} from "./chunk-PL7AIAWS.js";
|
|
20
20
|
import {
|
|
21
21
|
ORIGIN_READ_ONLY_BY_REFRESH
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-N5I37JFB.js";
|
|
23
23
|
import {
|
|
24
24
|
UsageError,
|
|
25
25
|
info,
|
|
26
26
|
warn
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-D7BUMOKU.js";
|
|
28
28
|
|
|
29
29
|
// src/emit/local-engine-choice.ts
|
|
30
30
|
function refuseCredentialFlagsForLocal(args, kinds) {
|
|
@@ -87,7 +87,7 @@ async function chooseLocalEngine(flagValue, dir, machineOutput) {
|
|
|
87
87
|
};
|
|
88
88
|
const platform = resolveEnginePlatform();
|
|
89
89
|
if (platform === void 0) return keep;
|
|
90
|
-
const check = await import("./local-engine-update-check-
|
|
90
|
+
const check = await import("./local-engine-update-check-LVX4HBBI.js");
|
|
91
91
|
const latest = await check.latestKnownVersion({ platform });
|
|
92
92
|
if (latest === void 0) return keep;
|
|
93
93
|
const decision = check.decideUpdate({
|
|
@@ -101,7 +101,7 @@ async function chooseLocalEngine(flagValue, dir, machineOutput) {
|
|
|
101
101
|
info(check.updateNoticeText(pin, latest));
|
|
102
102
|
return keep;
|
|
103
103
|
}
|
|
104
|
-
const { confirm } = await import("./prompt-
|
|
104
|
+
const { confirm } = await import("./prompt-U37K5RPQ.js");
|
|
105
105
|
const yes = await confirm(check.updatePromptText(pin, latest), {
|
|
106
106
|
flag: "`xanosdk local update`",
|
|
107
107
|
refusal: { details: { updated: false }, rerun: "xanosdk local update" }
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
pinAfterAcquire,
|
|
171
171
|
pinWrittenText
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chunk-
|
|
173
|
+
//# sourceMappingURL=chunk-GW5RHGOB.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
safeHttpFailure,
|
|
11
11
|
statusLabel,
|
|
12
12
|
writeStatusAftermath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YR2I5HGE.js";
|
|
14
14
|
|
|
15
15
|
// src/deploy/release.ts
|
|
16
16
|
var TIMEOUT_MS = 3e4;
|
|
@@ -405,4 +405,4 @@ export {
|
|
|
405
405
|
exportRelease,
|
|
406
406
|
deleteRelease
|
|
407
407
|
};
|
|
408
|
-
//# sourceMappingURL=chunk-
|
|
408
|
+
//# sourceMappingURL=chunk-GWTFI3GA.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
reachableLines,
|
|
4
4
|
readReachableWorkspaces,
|
|
5
5
|
workspaceIdFix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2WBH5HUY.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialRejected,
|
|
9
9
|
getAccessToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YGLMRH5U.js";
|
|
11
11
|
import {
|
|
12
12
|
CREDENTIAL_FILE_VERSION,
|
|
13
13
|
UPGRADE_REMEDY,
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
loginCommand,
|
|
16
16
|
readCredentialFile,
|
|
17
17
|
resolveAuthFilePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-M5CSVB23.js";
|
|
19
19
|
import {
|
|
20
20
|
fetchOrExplain,
|
|
21
21
|
httpFailure,
|
|
22
22
|
parseJsonAnswer
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YR2I5HGE.js";
|
|
24
24
|
import {
|
|
25
25
|
profileSourceLabel,
|
|
26
26
|
selectionDocument
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
stdoutStyle,
|
|
33
33
|
warn,
|
|
34
34
|
writeJson
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-D7BUMOKU.js";
|
|
36
36
|
import {
|
|
37
37
|
shellQuote
|
|
38
38
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -165,7 +165,7 @@ function prettyProfile(p) {
|
|
|
165
165
|
}
|
|
166
166
|
async function runWhoamiCommand(args) {
|
|
167
167
|
const profile = await fetchProfile(args).catch(async (err) => {
|
|
168
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
168
|
+
const { unansweredRead } = await import("./source-resolve-MKLNYFWG.js");
|
|
169
169
|
throw unansweredRead(err, "read the signed-in user", "workspace");
|
|
170
170
|
});
|
|
171
171
|
if (isMachineOutput(args)) {
|
|
@@ -185,4 +185,4 @@ export {
|
|
|
185
185
|
profileValue,
|
|
186
186
|
runWhoamiCommand
|
|
187
187
|
};
|
|
188
|
-
//# sourceMappingURL=chunk-
|
|
188
|
+
//# sourceMappingURL=chunk-GZHLCUZ6.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backendDirFor,
|
|
3
3
|
backendDirIn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TTEIDD5Q.js";
|
|
5
5
|
import {
|
|
6
6
|
XANO_DIR
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LL7SGTRC.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-ROY4YAEQ.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
LocalFileNotFoundError,
|
|
13
13
|
UsageError,
|
|
14
14
|
displayPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-D7BUMOKU.js";
|
|
16
16
|
import {
|
|
17
17
|
isRepresentableName
|
|
18
18
|
} from "./chunk-GSGDWJB5.js";
|
|
@@ -242,4 +242,4 @@ export {
|
|
|
242
242
|
namesInEnvExample,
|
|
243
243
|
renderWorkspaceEnvFile
|
|
244
244
|
};
|
|
245
|
-
//# sourceMappingURL=chunk-
|
|
245
|
+
//# sourceMappingURL=chunk-HCG7NDIL.js.map
|