@xano/sdk 1.0.21 → 1.0.22
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 +11 -0
- package/README.md +1 -1
- package/dist/{agent-file-refresh-5R5ALFEV.js → agent-file-refresh-LV5ZBJEW.js} +14 -14
- package/dist/{agent-skill-command-JBX7Z6AK.js → agent-skill-command-NPWUUIKI.js} +47 -47
- package/dist/{ai-models-command-I3FU6GYP.js → ai-models-command-BVOVIC6C.js} +9 -9
- package/dist/{answer-shape-BCGPH73R.js → answer-shape-4HVMTHYM.js} +5 -5
- package/dist/{backend-dir-VOMHDVFP.js → backend-dir-6S23WBVQ.js} +13 -13
- package/dist/{backend-slot-WSWAHL2W.js → backend-slot-FS7G67MV.js} +4 -4
- package/dist/bin.js +50 -49
- package/dist/{branch-6DBHVVUT.js → branch-EV4K6G2F.js} +9 -9
- package/dist/{branch-commands-JOSHDOXH.js → branch-commands-VZKHIPDP.js} +25 -25
- package/dist/bundle.d.ts +2 -2
- package/dist/{chunk-OG6WYZNA.js → chunk-2T73ZZEB.js} +5 -5
- package/dist/{chunk-C7KO5KKB.js → chunk-2XRO4TQP.js} +7 -6
- package/dist/{chunk-4QRDNBPY.js → chunk-3WPQOIE5.js} +2 -2
- package/dist/{chunk-DAXFWXSV.js → chunk-4EFBDSVU.js} +3 -3
- package/dist/{chunk-QLXGLHK3.js → chunk-4RE636YS.js} +47 -44
- package/dist/{chunk-4DVP42ZC.js → chunk-5MVSDE67.js} +2 -2
- package/dist/{chunk-KU4HLYWT.js → chunk-5WCHWKLJ.js} +3 -3
- package/dist/{chunk-LZDH5COS.js → chunk-6H57HQFN.js} +3 -3
- package/dist/{chunk-T2LFOMOP.js → chunk-6JOQSH5G.js} +4 -4
- package/dist/{chunk-JHAZK4RY.js → chunk-6VKDIKJI.js} +2 -2
- package/dist/{chunk-M42Y53Z4.js → chunk-7GE6FZVU.js} +7 -6
- package/dist/{chunk-FSHW3GQU.js → chunk-A2TTPUAG.js} +3 -3
- package/dist/{chunk-PAWLPNBA.js → chunk-A2YRUMSZ.js} +7 -7
- package/dist/{chunk-OFKFZSHS.js → chunk-A5IFOUCW.js} +4 -4
- package/dist/{chunk-QZ2PC6B7.js → chunk-ABC7LY6Q.js} +69 -3
- package/dist/{chunk-KL4PGJ2G.js → chunk-AEEZIZ2A.js} +3 -3
- package/dist/{chunk-HXVNBJVA.js → chunk-ATEB3WHX.js} +49 -49
- package/dist/{chunk-WXY24GKO.js → chunk-ATRMTNSR.js} +4 -4
- package/dist/{chunk-N2JZU6VR.js → chunk-BISPJIDL.js} +3 -3
- package/dist/{chunk-LYR6W5LV.js → chunk-BJFO44A3.js} +5 -5
- package/dist/{chunk-YF7PDN6T.js → chunk-BQ7PALBF.js} +29 -29
- package/dist/{chunk-I5YD7QPI.js → chunk-BUNNVRO3.js} +41 -5
- package/dist/{chunk-5KSVMHFS.js → chunk-CUS54UAR.js} +3 -3
- package/dist/{chunk-ZCXWOGFL.js → chunk-CUVZ3RT5.js} +3 -3
- package/dist/{chunk-SVQMDVND.js → chunk-CZISUZJ6.js} +2 -2
- package/dist/{chunk-YSSAJQH4.js → chunk-E4I6DR7F.js} +3 -3
- package/dist/{chunk-N3LPULRE.js → chunk-EAR66AGQ.js} +11 -8
- package/dist/{chunk-MGC5S6OE.js → chunk-ED6N6TMS.js} +23 -15
- package/dist/{chunk-TDSRZDQP.js → chunk-EFP5WRUV.js} +2 -2
- package/dist/{chunk-Q77C32ZB.js → chunk-EPMDBGJ6.js} +4 -4
- package/dist/{chunk-FLM6TN7Q.js → chunk-EU63V7YR.js} +3 -3
- package/dist/{chunk-XWEDFVJ6.js → chunk-F7YI4K7J.js} +14 -14
- package/dist/{chunk-VJCUFHTQ.js → chunk-F7YMUAEI.js} +15 -15
- package/dist/{chunk-EPD5J3WA.js → chunk-FIVLDAIK.js} +3 -3
- package/dist/{chunk-DJ7JH4UE.js → chunk-FTGMEKYL.js} +7 -7
- package/dist/{chunk-KHX6VQ4M.js → chunk-FWGPIQMW.js} +2 -2
- package/dist/{chunk-MJA5BP2M.js → chunk-GG4KEISG.js} +5 -5
- package/dist/{chunk-YFVD3LNL.js → chunk-HDY5IY5M.js} +2 -2
- package/dist/{chunk-5Z4WQQHC.js → chunk-HWD2Z72H.js} +2 -2
- package/dist/{chunk-IUBGFCJJ.js → chunk-IH6NGW5Z.js} +6 -6
- package/dist/{chunk-ZNGUETV7.js → chunk-ILPZJJVY.js} +88 -120
- package/dist/{chunk-QHNSBURP.js → chunk-IMU3T4B3.js} +60 -18
- package/dist/{chunk-VV7FVGOX.js → chunk-KSW6PW36.js} +8 -8
- package/dist/{chunk-J564PMKW.js → chunk-KYZ6QCR3.js} +6 -6
- package/dist/{chunk-QZXSPUNS.js → chunk-L37MTTU4.js} +6 -6
- package/dist/{chunk-EOWNLLLV.js → chunk-LAZUQLWU.js} +7 -6
- package/dist/{chunk-FMXPV5JI.js → chunk-LEODZXR7.js} +4 -4
- package/dist/{chunk-OTUPQ7M3.js → chunk-LJSYTEPF.js} +14 -14
- package/dist/{chunk-64F6ET45.js → chunk-LOXVHC7B.js} +8 -8
- package/dist/{chunk-CGLYG2VF.js → chunk-M3DIFMJX.js} +2 -2
- package/dist/{chunk-GODAKJ3L.js → chunk-MKZDHVVE.js} +46 -46
- package/dist/{chunk-3HK7VELD.js → chunk-MO4SSEPP.js} +2 -2
- package/dist/{chunk-M5GXZEX7.js → chunk-N5O76SCI.js} +4 -4
- package/dist/{chunk-IWFKPEWJ.js → chunk-NHGED6BY.js} +9 -9
- package/dist/{chunk-LMX4VE4H.js → chunk-NRFE7KLI.js} +4 -4
- package/dist/{chunk-4TVHSC4V.js → chunk-ODS5M4Y7.js} +5 -5
- package/dist/{chunk-6ODQ5GDZ.js → chunk-OI34XIHM.js} +2 -2
- package/dist/{chunk-X7EK5PTK.js → chunk-OT3DSWIT.js} +5 -5
- package/dist/{chunk-6TAYTKFM.js → chunk-P3G2Z2L3.js} +4 -4
- package/dist/{chunk-GUHJV7C5.js → chunk-Q25OESFL.js} +3 -3
- package/dist/{chunk-4Y3SWNPE.js → chunk-Q2ADIN5G.js} +2 -2
- package/dist/{chunk-PC7XEO7F.js → chunk-Q5VLI567.js} +2 -2
- package/dist/{chunk-CJ5WRCVE.js → chunk-Q6ZLVVJW.js} +5 -5
- package/dist/{chunk-WK5QDV25.js → chunk-QXGRUEU7.js} +3 -3
- package/dist/{chunk-OF5YFPSK.js → chunk-RQ7EYCPF.js} +6 -6
- package/dist/{chunk-5ABAIJVV.js → chunk-TANRKGHA.js} +2 -2
- package/dist/{chunk-Z7IINILG.js → chunk-TSCO37LJ.js} +5 -5
- package/dist/{chunk-SQVETROU.js → chunk-TW64BHNV.js} +4 -4
- package/dist/{chunk-T6KQYCAU.js → chunk-TXA37G44.js} +3 -3
- package/dist/{chunk-FJS5I6V4.js → chunk-U27YUJE2.js} +4 -4
- package/dist/{chunk-7J7YRAZB.js → chunk-U66T5MAB.js} +4 -4
- package/dist/{chunk-DORGB2Y2.js → chunk-UEY2ADOJ.js} +2 -2
- package/dist/{chunk-OZVZ3KCH.js → chunk-UMQRDEZG.js} +4 -4
- package/dist/{chunk-RHH6SCB4.js → chunk-UO5ZFNIV.js} +4 -4
- package/dist/{chunk-BBFHZMQA.js → chunk-VBOCHX7Y.js} +2 -2
- package/dist/{chunk-VEA6EXJL.js → chunk-VEW3ESAC.js} +3 -3
- package/dist/{chunk-T4HTNHXR.js → chunk-VRDEZVLP.js} +7 -7
- package/dist/{chunk-6L32HAIP.js → chunk-VRHJTYBO.js} +2 -2
- package/dist/{chunk-6534P3VH.js → chunk-VZIGBEF4.js} +2 -2
- package/dist/{chunk-YAZEB255.js → chunk-WAUIPPMF.js} +2 -2
- package/dist/{chunk-IA4FMPJ3.js → chunk-WHZJWZTF.js} +7 -7
- package/dist/{chunk-745NOWB7.js → chunk-WNDTIUTA.js} +4 -4
- package/dist/{chunk-52QAENY6.js → chunk-WYOQNVM2.js} +4 -4
- package/dist/{chunk-JXX2QXPP.js → chunk-X7BDJ6WU.js} +2 -2
- package/dist/{chunk-EME5G4YP.js → chunk-XGNYUZLW.js} +9 -8
- package/dist/{chunk-7SGMHGLI.js → chunk-XJ7SRNW2.js} +21 -18
- package/dist/{chunk-P3WIMLG2.js → chunk-XNXZZU3W.js} +2 -2
- package/dist/{chunk-XD5FOBMZ.js → chunk-XTDSS57C.js} +8 -8
- package/dist/{chunk-OSMPI45P.js → chunk-XXVP7E62.js} +3 -3
- package/dist/{chunk-MKRREVNB.js → chunk-Y7TZZ6NW.js} +8 -2
- package/dist/{chunk-I52AKG2O.js → chunk-YDGBFJUA.js} +4 -4
- package/dist/{chunk-OQMXCNN7.js → chunk-YDZJN26I.js} +4 -4
- package/dist/{chunk-WAP5362D.js → chunk-YHENFBYW.js} +2 -2
- package/dist/{chunk-ANCNHQCH.js → chunk-YLHAGHS6.js} +23 -23
- package/dist/{chunk-EBSJUSID.js → chunk-ZBAINZJB.js} +2 -2
- package/dist/{chunk-JVMAWMO3.js → chunk-ZCGGTZQY.js} +74 -78
- package/dist/{chunk-FVBJKM6N.js → chunk-ZV2AEGZA.js} +2 -2
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +46 -46
- package/dist/{codegen-command-ZXABRPVP.js → codegen-command-BLQBH3TH.js} +63 -63
- package/dist/codegen.d.ts +3 -3
- package/dist/{commands-EN4RLPOP.js → commands-VHQIAW5C.js} +3 -3
- package/dist/{completion-KH45QD3E.js → completion-6R3KZY4A.js} +3 -3
- package/dist/{config-AKHBFTKA.js → config-KGXHN3JU.js} +4 -4
- package/dist/{deploy-command-KO5FATR6.js → deploy-command-TID6CA7V.js} +53 -53
- package/dist/{deploy-source-7GCMMZKV.js → deploy-source-2XGWS4YS.js} +29 -29
- package/dist/{dev-env-sync-LZ22CSKD.js → dev-env-sync-QJIIUU7R.js} +47 -47
- package/dist/{diagnostics-T3RN3372.js → diagnostics-EYMAH4DV.js} +2 -2
- package/dist/{display-name-hint-QMT562BI.js → display-name-hint-5UJ3HFXY.js} +11 -11
- package/dist/{emit-BfHifhJy.d.ts → emit-CezfsIMN.d.ts} +44 -6
- package/dist/{env-example-refresh-DWGV4DFX.js → env-example-refresh-POWYBDLK.js} +64 -64
- package/dist/{env-pull-command-5N5AUKJK.js → env-pull-command-7IZ6YGTU.js} +43 -43
- package/dist/{env-target-CXZXMK3W.js → env-target-KAVQVPDO.js} +10 -10
- package/dist/{env-var-command-4RGQALIH.js → env-var-command-Q5ZWB7GA.js} +39 -39
- package/dist/{ephemeral-MNHEWSZ6.js → ephemeral-XJO3TZCY.js} +9 -9
- package/dist/{ephemeral-command-GIB63YX3.js → ephemeral-command-2P6K6LKO.js} +44 -44
- package/dist/{ephemeral-state-QTT5JHD5.js → ephemeral-state-X5HR4FAK.js} +8 -8
- package/dist/{generate-command-GW42CN4I.js → generate-command-6EIPQUYK.js} +68 -68
- package/dist/{gitignore-RDEUQHHG.js → gitignore-KNOLQB42.js} +17 -17
- package/dist/{guards-N4PUFKN5.js → guards-6KAY65CV.js} +6 -6
- package/dist/{impersonate-command-H72JM5IF.js → impersonate-command-2SZFKFTW.js} +35 -35
- package/dist/{import-7HFTOT7M.js → import-7TYP5VND.js} +5 -5
- package/dist/index.d.ts +8 -8
- package/dist/index.js +11 -11
- package/dist/{init-command-ERRMSKPB.js → init-command-25SUJRAE.js} +51 -51
- package/dist/{init-modules-UH7PPQTB.js → init-modules-A73RV2OJ.js} +10 -10
- package/dist/{init-web-YCPD6BYN.js → init-web-KRQCA43B.js} +3 -3
- package/dist/internal.d.ts +6 -6
- package/dist/internal.js +18 -17
- package/dist/{keep-data-merge-BNX3HEHM.js → keep-data-merge-4QFPEJBN.js} +24 -24
- package/dist/{lambda-config-reconcile-CC5QIP6E.js → lambda-config-reconcile-GWEMI2PL.js} +3 -3
- package/dist/{landing-record-ZY4O7OLQ.js → landing-record-4CZTNKZT.js} +19 -19
- package/dist/{live-diff-GZ6JUNP6.js → live-diff-CPFDW6T4.js} +5 -5
- package/dist/{local-engine-ai-YWAMTHME.js → local-engine-ai-6FF34RSX.js} +11 -11
- package/dist/{local-engine-choice-PCM45R3A.js → local-engine-choice-P3GZBFTE.js} +37 -37
- package/dist/{local-engine-command-ACJ6YUP7.js → local-engine-command-A76ADITM.js} +43 -43
- package/dist/{local-engine-deploy-IUHWB43Q.js → local-engine-deploy-SEPTWYYD.js} +18 -16
- package/dist/{local-engine-lookup-2VSUWEQY.js → local-engine-lookup-C6YIQY7S.js} +3 -3
- package/dist/{local-engine-mcp-bridge-ECGTK7LF.js → local-engine-mcp-bridge-HQDIYT26.js} +10 -7
- package/dist/{local-engine-mcp-command-EODMA3X5.js → local-engine-mcp-command-4OXNZDCM.js} +46 -46
- package/dist/{local-engine-process-P5T2766M.js → local-engine-process-YHQTPIK2.js} +22 -12
- package/dist/{local-engine-release-OK6GKULS.js → local-engine-release-DV4NJS24.js} +6 -6
- package/dist/{local-engine-state-BOKHLNRQ.js → local-engine-state-QJRY4IVD.js} +2 -2
- package/dist/{local-engine-update-check-C72LSVUQ.js → local-engine-update-check-YJ655C6V.js} +5 -5
- package/dist/{lock-commands-YBBTZB6M.js → lock-commands-CSUAP3CZ.js} +51 -51
- package/dist/{login-command-DJCCEN5O.js → login-command-TE4CGIEZ.js} +25 -25
- package/dist/{logout-command-6FQLSD5H.js → logout-command-YR2G5OIN.js} +13 -13
- package/dist/{loop-EMTBWN4X.js → loop-H44NE3R6.js} +5 -5
- package/dist/{marketplace-command-2JZERTJW.js → marketplace-command-4N5IIDSA.js} +32 -32
- package/dist/{marketplace-resolve-LT76KHJD.js → marketplace-resolve-NSCLONXK.js} +8 -8
- package/dist/{meta-client-KDTBLP6X.js → meta-client-XEMGHUUK.js} +14 -13
- package/dist/{module-manifest-B432UFBK.js → module-manifest-FGT5VXFQ.js} +4 -4
- package/dist/node.d.ts +7 -7
- package/dist/node.js +51 -51
- package/dist/{operation-outcome-POYID3M6.js → operation-outcome-D5QHO5LT.js} +21 -21
- package/dist/{output-target-55RSDDTO.js → output-target-CYAPGP3A.js} +18 -18
- package/dist/{plan-disclosure-5HM7CMRW.js → plan-disclosure-MWMOGKX2.js} +16 -16
- package/dist/{plugin-contributions-MEXUR7TY.js → plugin-contributions-6FOQ7TWS.js} +5 -5
- package/dist/{plugin-prompt-XM4ATAWA.js → plugin-prompt-CP5EVTAD.js} +5 -5
- package/dist/{plugin-questions-VGU3B4LE.js → plugin-questions-5R3CBBNM.js} +4 -4
- package/dist/{preflight-command-ZP7VVE5T.js → preflight-command-WT4RIL5P.js} +57 -57
- package/dist/{profile-command-EP7N7LNQ.js → profile-command-5RXNMDIX.js} +26 -26
- package/dist/{profile-pointer-DHOU26Q2.js → profile-pointer-UURS2P3M.js} +4 -4
- package/dist/{project-config-SGRYMHBT.js → project-config-2DVU3VV6.js} +6 -6
- package/dist/{project-dependency-WTH776QE.js → project-dependency-IEGZVZNO.js} +9 -9
- package/dist/{project-sdk-FYNY7RTO.js → project-sdk-ZYTIHEVU.js} +4 -4
- package/dist/promote-command-HOW24EMD.js +150 -0
- package/dist/{prompt-JVYQH4OR.js → prompt-H2XC5AR7.js} +4 -4
- package/dist/{publish-command-DW5VLFJN.js → publish-command-E6F5D3FY.js} +56 -56
- package/dist/{pull-command-ZUDJRRXV.js → pull-command-ZBJJ6MDT.js} +66 -66
- package/dist/{pull-superseded-7EZ7M54I.js → pull-superseded-2UECGKGU.js} +4 -4
- package/dist/{raw-where-CinW0keO.d.ts → raw-where-B8Bx158p.d.ts} +1 -1
- package/dist/{release-command-Z3HXXLLO.js → release-command-65Z3VDBQ.js} +61 -61
- package/dist/{release-ns-command-JS3OUEFQ.js → release-ns-command-CH23BRI3.js} +79 -79
- package/dist/{retry-command-HG4IFE65.js → retry-command-FXAPSP5X.js} +8 -8
- package/dist/{routes-manifest-N73THJB3.js → routes-manifest-SXKLGPSQ.js} +6 -6
- package/dist/{routes-manifest-file-PIKQ3BIJ.js → routes-manifest-file-NAXVFRVN.js} +9 -9
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-QLVCR2JD.js → secrets-file-KKGISTCY.js} +17 -17
- package/dist/{secrets-fill-command-BK7NVKPY.js → secrets-fill-command-R3JTP2VN.js} +50 -50
- package/dist/{seed-M33F4OJW.js → seed-WQJYWO3I.js} +6 -6
- package/dist/{source-resolve-GGRHO6NW.js → source-resolve-TS2CWDZ6.js} +19 -19
- package/dist/{static-host-HCKD26Q3.js → static-host-K4YVJQNR.js} +5 -5
- package/dist/{status-command-3DISBMGH.js → status-command-FWE65NQQ.js} +36 -36
- package/dist/{store-Dt-5vOSe.d.ts → store-CscLDS9B.d.ts} +3 -3
- package/dist/{store-ZWQFSXH5.js → store-UIIOQ4G3.js} +6 -6
- package/dist/{sync-baseline-XLRJQZCS.js → sync-baseline-6J7SQUPN.js} +6 -6
- package/dist/{sync-contributions-GAV6PZEY.js → sync-contributions-MV7UXGUN.js} +12 -12
- package/dist/{sync-record-UFEJDNLR.js → sync-record-ASVPKPKZ.js} +10 -10
- package/dist/{table-JHPGUJ2Z.js → table-RYGYFUV6.js} +8 -8
- package/dist/{tables-command-D7DSJAXI.js → tables-command-W3KSMKYR.js} +36 -36
- package/dist/{tenant-SSWC7B3V.js → tenant-C7TDXCIN.js} +10 -10
- package/dist/{tenant-command-6S5RU4PP.js → tenant-command-ZPNAY7AM.js} +83 -83
- package/dist/{test-command-FSRARFF7.js → test-command-7Z5F5SKW.js} +34 -34
- package/dist/{tests-ZFQWDWS2.js → tests-6OXEGO3H.js} +6 -6
- package/dist/{token-XTU3C2DI.js → token-UPSKG3BH.js} +9 -9
- package/dist/{toolchain-hooks-IRPM6LYL.js → toolchain-hooks-GST2SEDT.js} +8 -8
- package/dist/{toolchain-modules-YSM6DMDB.js → toolchain-modules-V7AOUVZ3.js} +8 -8
- package/dist/{toolchain-peers-NOIM44ED.js → toolchain-peers-7PXXNC4P.js} +10 -10
- package/dist/{tracked-backend-7XW4KPIR.js → tracked-backend-CCBFWEJV.js} +32 -32
- package/dist/{update-check-KKDYZG3X.js → update-check-D7EVYWDB.js} +49 -49
- package/dist/{upgrade-command-LRJ7V3UW.js → upgrade-command-7AJQ265B.js} +52 -52
- package/dist/{whoami-command-FBRWLX5Q.js → whoami-command-LNFEE5XP.js} +12 -12
- package/dist/{workspace-DTM3ZNTM.js → workspace-KNMGO3LZ.js} +5 -5
- package/dist/{workspace-binding-M7XSJIWC.js → workspace-binding-CEB7LD2Y.js} +11 -11
- package/dist/{workspace-command-3T6CT7UA.js → workspace-command-DY5K6A5L.js} +79 -79
- package/dist/{workspace-env-RIKENQFC.js → workspace-env-VPEHJVRV.js} +14 -14
- package/dist/{workspace-export-A4L6272C.js → workspace-export-O33G7GRU.js} +5 -5
- package/dist/{writable-762DMPHW.js → writable-YP3UI2XU.js} +4 -4
- package/dist/{xano-XZN5SRDH.js → xano-Y3J4S433.js} +7 -7
- package/dist/{xanosdk-import-L3ZZIT6I.js → xanosdk-import-TC2YGIEJ.js} +6 -6
- package/dist/{xanosdk-project-YVLCGM3Y.js → xanosdk-project-J5VAVLCA.js} +15 -15
- package/dist/{xdo-DNGZGO1j.d.ts → xdo-BEYX5ihv.d.ts} +2 -2
- package/guides/deploying.md +13 -4
- package/guides/environment.md +15 -0
- package/llms/kinds-agent-mcp.md +2 -2
- package/llms/kinds-core.md +1 -1
- package/llms/object-kinds.md +1 -1
- package/llms/tests.md +3 -2
- package/llms-full.txt +9 -8
- package/llms.txt +2 -2
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/promote-command-LX5UWQYG.js +0 -150
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
microserviceLine,
|
|
7
7
|
readyRatio,
|
|
8
8
|
waitForMicroservices
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LAZUQLWU.js";
|
|
10
10
|
import {
|
|
11
11
|
passwordHashesWarning,
|
|
12
12
|
passwordOrigin
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KSW6PW36.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-FTGMEKYL.js";
|
|
29
29
|
import {
|
|
30
30
|
HostedFilesUnresolvedError,
|
|
31
31
|
ImportNotSentError,
|
|
32
32
|
XanoSdkImportRefusal,
|
|
33
33
|
xanosdkImport
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-7GE6FZVU.js";
|
|
35
35
|
import {
|
|
36
36
|
archiveHostedFiles,
|
|
37
37
|
decodeWorkspaceArchive,
|
|
@@ -48,13 +48,13 @@ import {
|
|
|
48
48
|
missingLockDir,
|
|
49
49
|
refuseCompileValueFlags,
|
|
50
50
|
refuseValueFlagsBesideBundle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ILPZJJVY.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-HWD2Z72H.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-F7YMUAEI.js";
|
|
58
58
|
import {
|
|
59
59
|
createEphemeral,
|
|
60
60
|
getEphemeral,
|
|
@@ -65,13 +65,13 @@ import {
|
|
|
65
65
|
namedEphemeral,
|
|
66
66
|
renameEphemeral,
|
|
67
67
|
waitUntilReady
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-WNDTIUTA.js";
|
|
69
69
|
import {
|
|
70
70
|
getAccessToken
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-LOXVHC7B.js";
|
|
72
72
|
import {
|
|
73
73
|
otherCredentialRefusal
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-A2YRUMSZ.js";
|
|
75
75
|
import {
|
|
76
76
|
environmentKey,
|
|
77
77
|
ephemeralLandedOn,
|
|
@@ -82,11 +82,11 @@ import {
|
|
|
82
82
|
readEphemeralState,
|
|
83
83
|
recordStaticUrl,
|
|
84
84
|
setEnvironment
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-4EFBDSVU.js";
|
|
86
86
|
import {
|
|
87
87
|
engineNameForProject,
|
|
88
88
|
getEngineRecord
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-Y7TZZ6NW.js";
|
|
90
90
|
import {
|
|
91
91
|
selectDeployArm
|
|
92
92
|
} from "./chunk-ZYJP6BOO.js";
|
|
@@ -102,14 +102,14 @@ import {
|
|
|
102
102
|
retryCommand,
|
|
103
103
|
withheldNote,
|
|
104
104
|
yesRerun
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-Q5VLI567.js";
|
|
106
106
|
import {
|
|
107
107
|
andList
|
|
108
108
|
} from "./chunk-622HUCZT.js";
|
|
109
109
|
import {
|
|
110
110
|
contextFlags,
|
|
111
111
|
credentialFileOf
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-5MVSDE67.js";
|
|
113
113
|
import {
|
|
114
114
|
describeWrite,
|
|
115
115
|
noteLanded
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
certificateFailureCode,
|
|
121
121
|
closeSentence,
|
|
122
122
|
withoutReadAftermath
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-ABC7LY6Q.js";
|
|
124
124
|
import {
|
|
125
125
|
DEFAULT_PROFILE
|
|
126
126
|
} from "./chunk-Q4R2ABFL.js";
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
withSpinner,
|
|
152
152
|
writeJson,
|
|
153
153
|
writeTargetPayload
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-VZIGBEF4.js";
|
|
155
155
|
import {
|
|
156
156
|
codePinnedTables
|
|
157
157
|
} from "./chunk-VQDVEHDB.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-K4YVJQNR.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-7Z5F5SKW.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-7Z5F5SKW.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-7Z5F5SKW.js");
|
|
299
|
+
const { qualifiedName } = await import("./tests-6OXEGO3H.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-VPEHJVRV.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-KKGISTCY.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-UIIOQ4G3.js");
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-KNOLQB42.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-X5HR4FAK.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-FS7G67MV.js");
|
|
425
|
+
const { resolveSource, describeBackend } = await import("./source-resolve-TS2CWDZ6.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-2XGWS4YS.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-FXAPSP5X.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-C7TDXCIN.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-65Z3VDBQ.js");
|
|
502
502
|
return runReleaseCommand(args, {
|
|
503
503
|
base: resolved.target.base,
|
|
504
504
|
workspaceId: resolved.target.workspaceId,
|
|
@@ -638,12 +638,12 @@ async function assertLocalEngineUsable(args, dest) {
|
|
|
638
638
|
async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
639
639
|
const { startedAt } = ctx;
|
|
640
640
|
const dir = process.cwd();
|
|
641
|
-
const { resolveAiBilling } = await import("./project-config-
|
|
641
|
+
const { resolveAiBilling } = await import("./project-config-2DVU3VV6.js");
|
|
642
642
|
const aiBilling = resolveAiBilling(args.aiBilling, dir);
|
|
643
643
|
const fetchedSource = sourceCredential !== void 0 && args.file !== void 0 ? { credential: sourceCredential, spec: args.file } : void 0;
|
|
644
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
644
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-V7AOUVZ3.js");
|
|
645
645
|
const toolchain = await discoverToolchainPlugins(dir, { frozen: args.frozenLock === true });
|
|
646
|
-
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-
|
|
646
|
+
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-2XGWS4YS.js").then(async (m) => {
|
|
647
647
|
const f = await m.fetchSourceArchive(fetchedSource.credential, fetchedSource.spec, dir);
|
|
648
648
|
const decoded = decodeWorkspaceArchive(f.archive);
|
|
649
649
|
noteReleaseCarriesNoEnv(fetchedSource.spec, m.gatedApiGroups(decoded));
|
|
@@ -686,7 +686,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
686
686
|
}
|
|
687
687
|
step(`Deploying ${shownSource} \u2192 Xano Engine`);
|
|
688
688
|
{
|
|
689
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
689
|
+
const { runBundleHooks } = await import("./toolchain-hooks-GST2SEDT.js");
|
|
690
690
|
const { readVersion } = await import("./cli.js");
|
|
691
691
|
await runBundleHooks(
|
|
692
692
|
toolchain.loaded,
|
|
@@ -704,10 +704,10 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
704
704
|
"; nothing was deployed"
|
|
705
705
|
);
|
|
706
706
|
}
|
|
707
|
-
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-
|
|
707
|
+
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-P3GZBFTE.js");
|
|
708
708
|
const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
|
|
709
|
-
const { ensureProjectEngine } = await import("./local-engine-deploy-
|
|
710
|
-
const { ENGINE_LICENSE_NOTICE } = await import("./local-engine-release-
|
|
709
|
+
const { ensureProjectEngine, replacedEngineLine } = await import("./local-engine-deploy-SEPTWYYD.js");
|
|
710
|
+
const { ENGINE_LICENSE_NOTICE } = await import("./local-engine-release-DV4NJS24.js");
|
|
711
711
|
const pin = pinAfterAcquire(choice, dir);
|
|
712
712
|
let downloadedEngine = false;
|
|
713
713
|
const flags = { keepData: args.keepData, reset: args.reset };
|
|
@@ -734,12 +734,8 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
734
734
|
`Stopped ${sweptOrphans.length === 1 ? "a process" : `${sweptOrphans.length} processes`} a crashed Xano Engine left running (pid ${sweptOrphans.join(", ")}).`
|
|
735
735
|
);
|
|
736
736
|
}
|
|
737
|
-
if (replaced !== void 0)
|
|
738
|
-
|
|
739
|
-
`Replaced Xano Engine ${replaced.name} (${replaced.from ?? "an unrecorded version"} \u2192 ${replaced.to ?? "the resolved engine"}). It starts empty, so this deploy seeds it.`
|
|
740
|
-
);
|
|
741
|
-
}
|
|
742
|
-
const { aiOutcomeDocument, aiOutcomeLine } = await import("./local-engine-ai-YWAMTHME.js");
|
|
737
|
+
if (replaced !== void 0) info(replacedEngineLine(replaced));
|
|
738
|
+
const { aiOutcomeDocument, aiOutcomeLine } = await import("./local-engine-ai-6FF34RSX.js");
|
|
743
739
|
if (ai !== void 0) info(aiOutcomeLine(ai));
|
|
744
740
|
const arm = selectDeployArm({
|
|
745
741
|
...flags,
|
|
@@ -765,7 +761,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
765
761
|
};
|
|
766
762
|
try {
|
|
767
763
|
if (arm.arm === "merge") {
|
|
768
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
764
|
+
const { mergeKeepingData } = await import("./keep-data-merge-4QFPEJBN.js");
|
|
769
765
|
merged = await mergeKeepingData({
|
|
770
766
|
auth: bearer,
|
|
771
767
|
baseUrl: engine.url,
|
|
@@ -807,10 +803,10 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
807
803
|
}
|
|
808
804
|
} catch (err) {
|
|
809
805
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
810
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
806
|
+
const { importInProgressError } = await import("./keep-data-merge-4QFPEJBN.js");
|
|
811
807
|
throw importInProgressError(`Xano Engine ${engine.name}`, rerunOf(args), err);
|
|
812
808
|
}
|
|
813
|
-
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-
|
|
809
|
+
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-SEPTWYYD.js");
|
|
814
810
|
const unsupported = explainUnsupportedEngineImport(err, engineVersion, {
|
|
815
811
|
latest: await latestEngineRelease(err),
|
|
816
812
|
resetRerun: arm.arm === "merge" ? `${rerunOf(args).command} --reset` : void 0
|
|
@@ -829,7 +825,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
829
825
|
throw unsupported ?? err;
|
|
830
826
|
}
|
|
831
827
|
commitLock?.();
|
|
832
|
-
const { markEngineFilled } = await import("./local-engine-state-
|
|
828
|
+
const { markEngineFilled } = await import("./local-engine-state-QJRY4IVD.js");
|
|
833
829
|
markEngineFilled(dir, engine.url);
|
|
834
830
|
const urlChanged = !reused || previousUrl !== engine.url;
|
|
835
831
|
if (urlChanged) {
|
|
@@ -931,7 +927,7 @@ async function publishStaticToLocalEngine(args, dir, engine, engineVersion) {
|
|
|
931
927
|
}
|
|
932
928
|
}
|
|
933
929
|
async function parseDeploySource(raw) {
|
|
934
|
-
const { requireBackendSlot, parseSlot } = await import("./backend-slot-
|
|
930
|
+
const { requireBackendSlot, parseSlot } = await import("./backend-slot-FS7G67MV.js");
|
|
935
931
|
const source = parseSlot(requireBackendSlot("deploy", void 0, "subject"), raw);
|
|
936
932
|
if (source.kind === "file") throw new Error(`Internal: "${raw}" parsed as a bundle path on the fetch arm.`);
|
|
937
933
|
return source;
|
|
@@ -1137,15 +1133,15 @@ async function runDeploy(args) {
|
|
|
1137
1133
|
if (args.reset && !args.keepData) {
|
|
1138
1134
|
info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
|
|
1139
1135
|
}
|
|
1140
|
-
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-
|
|
1136
|
+
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-2XGWS4YS.js");
|
|
1141
1137
|
const fetching = args.file !== void 0 && looksLikeSource(args.file);
|
|
1142
1138
|
const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
|
|
1143
1139
|
if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
|
|
1144
1140
|
if (destination.kind === "local") {
|
|
1145
1141
|
refuseSameEngine(sourceSpec, process.cwd());
|
|
1146
|
-
const { refuseProfileForLocal } = await import("./tracked-backend-
|
|
1142
|
+
const { refuseProfileForLocal } = await import("./tracked-backend-CCBFWEJV.js");
|
|
1147
1143
|
refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind], void 0, {});
|
|
1148
|
-
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-
|
|
1144
|
+
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-P3GZBFTE.js");
|
|
1149
1145
|
refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind]);
|
|
1150
1146
|
}
|
|
1151
1147
|
if (!fetching) {
|
|
@@ -1161,7 +1157,7 @@ async function runDeploy(args) {
|
|
|
1161
1157
|
}
|
|
1162
1158
|
refuseMissingStaticDir(args);
|
|
1163
1159
|
if (destination.kind === "local") {
|
|
1164
|
-
const { memoCredential } = await import("./tracked-backend-
|
|
1160
|
+
const { memoCredential } = await import("./tracked-backend-CCBFWEJV.js");
|
|
1165
1161
|
return deployToLocalEngine(
|
|
1166
1162
|
args,
|
|
1167
1163
|
destination,
|
|
@@ -1173,7 +1169,7 @@ async function runDeploy(args) {
|
|
|
1173
1169
|
const auth = await getAccessToken(args);
|
|
1174
1170
|
refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
|
|
1175
1171
|
await noteRunScopeFor(auth);
|
|
1176
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
1172
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-V7AOUVZ3.js");
|
|
1177
1173
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
1178
1174
|
frozen: args.frozenLock === true
|
|
1179
1175
|
});
|
|
@@ -1217,7 +1213,7 @@ async function runDeploy(args) {
|
|
|
1217
1213
|
);
|
|
1218
1214
|
}
|
|
1219
1215
|
{
|
|
1220
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
1216
|
+
const { runBundleHooks } = await import("./toolchain-hooks-GST2SEDT.js");
|
|
1221
1217
|
const { readVersion } = await import("./cli.js");
|
|
1222
1218
|
await runBundleHooks(
|
|
1223
1219
|
toolchain.loaded,
|
|
@@ -1307,9 +1303,9 @@ async function runDeploy(args) {
|
|
|
1307
1303
|
}).finally(() => noteLanded(void 0));
|
|
1308
1304
|
if (staticSummary !== void 0) summary.static = staticSummary;
|
|
1309
1305
|
if (summary.ephemeral !== void 0) {
|
|
1310
|
-
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-
|
|
1306
|
+
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-4CZTNKZT.js");
|
|
1311
1307
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1312
|
-
const { storedColumnsAfter } = await import("./live-diff-
|
|
1308
|
+
const { storedColumnsAfter } = await import("./live-diff-CPFDW6T4.js");
|
|
1313
1309
|
const sent = JSON.parse(bundle);
|
|
1314
1310
|
const stored = summary.data === "kept" ? removedOut.storedColumns : storedColumnsAfter(sent, void 0, /* @__PURE__ */ new Map(), "rebuild");
|
|
1315
1311
|
if (fetching || args.bundle !== void 0) {
|
|
@@ -1371,7 +1367,7 @@ async function runDeploy(args) {
|
|
|
1371
1367
|
async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
|
|
1372
1368
|
if (args.noDevEnv || summary.url === void 0) return;
|
|
1373
1369
|
if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
|
|
1374
|
-
const { staleDevEnv } = await import("./dev-env-sync-
|
|
1370
|
+
const { staleDevEnv } = await import("./dev-env-sync-QJIIUU7R.js");
|
|
1375
1371
|
let stale;
|
|
1376
1372
|
try {
|
|
1377
1373
|
stale = staleDevEnv(cwd, summary.url);
|
|
@@ -1385,7 +1381,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
|
|
|
1385
1381
|
}
|
|
1386
1382
|
return;
|
|
1387
1383
|
}
|
|
1388
|
-
const { syncDevEnv } = await import("./dev-env-sync-
|
|
1384
|
+
const { syncDevEnv } = await import("./dev-env-sync-QJIIUU7R.js");
|
|
1389
1385
|
try {
|
|
1390
1386
|
const written = syncDevEnv(cwd, summary.url);
|
|
1391
1387
|
if (written === void 0) return;
|
|
@@ -1485,22 +1481,22 @@ function rerunOf(args) {
|
|
|
1485
1481
|
return { command: retry.command, note: withheldNote(retry.withheld) };
|
|
1486
1482
|
}
|
|
1487
1483
|
async function latestEngineRelease(err) {
|
|
1488
|
-
const { ImportHttpError } = await import("./import-
|
|
1484
|
+
const { ImportHttpError } = await import("./import-7TYP5VND.js");
|
|
1489
1485
|
if (!(err instanceof ImportHttpError) || err.status !== 501) return void 0;
|
|
1490
1486
|
const { resolveEnginePlatform } = await import("./local-engine-config-MVNWKHZ4.js");
|
|
1491
1487
|
const platform = resolveEnginePlatform();
|
|
1492
1488
|
if (platform === void 0) return void 0;
|
|
1493
|
-
const { latestKnownVersion } = await import("./local-engine-update-check-
|
|
1489
|
+
const { latestKnownVersion } = await import("./local-engine-update-check-YJ655C6V.js");
|
|
1494
1490
|
return latestKnownVersion({ platform });
|
|
1495
1491
|
}
|
|
1496
1492
|
async function mergeGuards(args, lock, outgoing) {
|
|
1497
1493
|
const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
|
|
1498
|
-
const pinned = outgoing === void 0 ? [] : (await import("./release-command-
|
|
1494
|
+
const pinned = outgoing === void 0 ? [] : (await import("./release-command-65Z3VDBQ.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
|
|
1499
1495
|
const guards = {
|
|
1500
1496
|
...pinned.length > 0 ? { pinned } : {},
|
|
1501
1497
|
allowForeignDeletes: args.yes === true,
|
|
1502
1498
|
...interactive ? {
|
|
1503
|
-
confirm: async (q) => (await import("./prompt-
|
|
1499
|
+
confirm: async (q) => (await import("./prompt-H2XC5AR7.js")).confirm(q, {
|
|
1504
1500
|
flag: "--yes",
|
|
1505
1501
|
refusal: { details: { deployed: false }, ...yesRerun(args, "deploy") }
|
|
1506
1502
|
})
|
|
@@ -1516,7 +1512,7 @@ async function mergeGuards(args, lock, outgoing) {
|
|
|
1516
1512
|
for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
|
|
1517
1513
|
}
|
|
1518
1514
|
const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
|
|
1519
|
-
const { clearReplacedCommand } = await import("./keep-data-merge-
|
|
1515
|
+
const { clearReplacedCommand } = await import("./keep-data-merge-4QFPEJBN.js");
|
|
1520
1516
|
const lockPath = resolveLockPath(args, entry);
|
|
1521
1517
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1522
1518
|
const keys = Object.keys(lock.objects);
|
|
@@ -1755,9 +1751,9 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
|
|
|
1755
1751
|
{ exitCode: 1, details: { reason: "needs-confirmation", ...details } }
|
|
1756
1752
|
);
|
|
1757
1753
|
}
|
|
1758
|
-
const { confirm } = await import("./prompt-
|
|
1754
|
+
const { confirm } = await import("./prompt-H2XC5AR7.js");
|
|
1759
1755
|
if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
|
|
1760
|
-
const { KeepDataDeclined } = await import("./keep-data-merge-
|
|
1756
|
+
const { KeepDataDeclined } = await import("./keep-data-merge-4QFPEJBN.js");
|
|
1761
1757
|
throw new KeepDataDeclined(label, "deployed");
|
|
1762
1758
|
}
|
|
1763
1759
|
function recordedEntry(file) {
|
|
@@ -1792,7 +1788,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
|
|
|
1792
1788
|
{ hintFor: { command: "deploy" } }
|
|
1793
1789
|
);
|
|
1794
1790
|
if (refusal === void 0) return;
|
|
1795
|
-
const { reachableFirst } = await import("./env-target-
|
|
1791
|
+
const { reachableFirst } = await import("./env-target-KAVQVPDO.js");
|
|
1796
1792
|
throw await reachableFirst(refusal, auth);
|
|
1797
1793
|
}
|
|
1798
1794
|
async function refuseKeepDataElsewhere(state, auth) {
|
|
@@ -1806,7 +1802,7 @@ async function refuseKeepDataElsewhere(state, auth) {
|
|
|
1806
1802
|
{ hintFor: { command: "deploy" } }
|
|
1807
1803
|
);
|
|
1808
1804
|
if (refusal === void 0) return;
|
|
1809
|
-
const { reachableFirst } = await import("./env-target-
|
|
1805
|
+
const { reachableFirst } = await import("./env-target-KAVQVPDO.js");
|
|
1810
1806
|
throw await reachableFirst(refusal, auth);
|
|
1811
1807
|
}
|
|
1812
1808
|
async function reconcileRename(err, auth, name, display) {
|
|
@@ -1841,7 +1837,7 @@ If no deploy is running in this project, its guard was left behind: remove \`${s
|
|
|
1841
1837
|
}
|
|
1842
1838
|
async function deployEphemeral(auth, ctx) {
|
|
1843
1839
|
const dir = process.cwd();
|
|
1844
|
-
const { assertReadWritable } = await import("./writable-
|
|
1840
|
+
const { assertReadWritable } = await import("./writable-YP3UI2XU.js");
|
|
1845
1841
|
assertReadWritable(ephemeralStatePath(dir));
|
|
1846
1842
|
const guard = await takeCreateGuard(dir, ctx.args);
|
|
1847
1843
|
try {
|
|
@@ -1860,7 +1856,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1860
1856
|
};
|
|
1861
1857
|
const parentWorkspaceId = auth.workspaceId;
|
|
1862
1858
|
const dir = process.cwd();
|
|
1863
|
-
const { assertReadWritable, assertWritable } = await import("./writable-
|
|
1859
|
+
const { assertReadWritable, assertWritable } = await import("./writable-YP3UI2XU.js");
|
|
1864
1860
|
assertReadWritable(ephemeralStatePath(dir));
|
|
1865
1861
|
if (ctx.lockPath !== void 0) assertWritable(ctx.lockPath, "build without a lock with `--no-lock`");
|
|
1866
1862
|
const state = readEphemeralState(dir);
|
|
@@ -1918,7 +1914,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1918
1914
|
}).finally(() => creating?.clear()).catch(async (err) => {
|
|
1919
1915
|
if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
|
|
1920
1916
|
if (err.status === 404) {
|
|
1921
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
1917
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-CEB7LD2Y.js");
|
|
1922
1918
|
await refuseUnreachableWorkspace(auth);
|
|
1923
1919
|
}
|
|
1924
1920
|
throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
|
|
@@ -1986,7 +1982,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
1986
1982
|
if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
|
|
1987
1983
|
else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
|
|
1988
1984
|
if (arm.arm === "replace") {
|
|
1989
|
-
const { gateForeignReplace } = await import("./keep-data-merge-
|
|
1985
|
+
const { gateForeignReplace } = await import("./keep-data-merge-4QFPEJBN.js");
|
|
1990
1986
|
const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
|
|
1991
1987
|
await gateForeignReplace({
|
|
1992
1988
|
auth,
|
|
@@ -2058,7 +2054,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2058
2054
|
let merged;
|
|
2059
2055
|
try {
|
|
2060
2056
|
if (arm.arm === "merge") {
|
|
2061
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
2057
|
+
const { mergeKeepingData } = await import("./keep-data-merge-4QFPEJBN.js");
|
|
2062
2058
|
merged = await mergeKeepingData({
|
|
2063
2059
|
auth,
|
|
2064
2060
|
baseUrl,
|
|
@@ -2112,11 +2108,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2112
2108
|
if (!lockCommitted) ctx.warnOrphansUncommitted?.();
|
|
2113
2109
|
if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
|
|
2114
2110
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2115
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2111
|
+
const { importInProgressError } = await import("./keep-data-merge-4QFPEJBN.js");
|
|
2116
2112
|
const retry = retryCommand(args);
|
|
2117
2113
|
throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
|
|
2118
2114
|
}
|
|
2119
|
-
const { withSignatureHint } = await import("./release-command-
|
|
2115
|
+
const { withSignatureHint } = await import("./release-command-65Z3VDBQ.js");
|
|
2120
2116
|
importFailure = withSignatureHint(err, args.bundle);
|
|
2121
2117
|
}
|
|
2122
2118
|
if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
|
|
@@ -2280,7 +2276,7 @@ ${createdButFailedNote(target.name, unknown, args, landedUnresolved, { futile })
|
|
|
2280
2276
|
};
|
|
2281
2277
|
}
|
|
2282
2278
|
async function deployStaticTo(dir, auth, target, env, explicit, host, skipLiveness, routing, dirLabel, opts = {}) {
|
|
2283
|
-
const { deployStaticHost } = await import("./static-host-
|
|
2279
|
+
const { deployStaticHost } = await import("./static-host-K4YVJQNR.js");
|
|
2284
2280
|
const where = target.label && target.label !== "" ? target.label : `workspace #${target.workspaceId}`;
|
|
2285
2281
|
if (target.announced !== true) step(`Deploying static frontend ${dir} \u2192 ${where}${host ? ` (host: ${host})` : ""}`);
|
|
2286
2282
|
const sh = await describeWrite(
|
|
@@ -2410,4 +2406,4 @@ export {
|
|
|
2410
2406
|
unknownCreateOutcome,
|
|
2411
2407
|
deployStaticTo
|
|
2412
2408
|
};
|
|
2413
|
-
//# sourceMappingURL=chunk-
|
|
2409
|
+
//# sourceMappingURL=chunk-ZCGGTZQY.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
TransportError,
|
|
6
6
|
describeTransportFailure,
|
|
7
7
|
fetchOrExplain
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ABC7LY6Q.js";
|
|
9
9
|
import {
|
|
10
10
|
readEnvVar
|
|
11
11
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
EngineReleaseNotFoundError,
|
|
180
180
|
resolveEngineRelease
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-ZV2AEGZA.js.map
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as Bundle, L as LockFile, X as Xano, ce as emit } from './emit-
|
|
2
|
-
import './raw-where-
|
|
3
|
-
import './xdo-
|
|
1
|
+
import { B as Bundle, L as LockFile, X as Xano, ce as emit } from './emit-CezfsIMN.js';
|
|
2
|
+
import './raw-where-B8Bx158p.js';
|
|
3
|
+
import './xdo-BEYX5ihv.js';
|
|
4
4
|
|
|
5
5
|
/** Who a local engine's Xano AI usage is billed to. */
|
|
6
6
|
type AiBilling = "user" | "instance";
|