@xano/sdk 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +32 -4
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-67QIX45H.js → agent-file-refresh-QJO3MT6Q.js} +13 -13
  5. package/dist/agent-skill-command-GBR4KUUG.js +414 -0
  6. package/dist/{answer-shape-UCDUKPAN.js → answer-shape-UMQRXMCX.js} +5 -5
  7. package/dist/{backend-dir-3LIL6SCT.js → backend-dir-PFUIPCV3.js} +15 -15
  8. package/dist/{backend-slot-JREP27UD.js → backend-slot-TTRNOQF5.js} +4 -4
  9. package/dist/bin.js +54 -53
  10. package/dist/{branch-2IPHOAYS.js → branch-Q7CDJRU6.js} +12 -11
  11. package/dist/{branch-commands-KTKAXBAN.js → branch-commands-CR3SAHMV.js} +27 -26
  12. package/dist/bundle.js +5 -5
  13. package/dist/{chunk-YKP4ZKVO.js → chunk-2HZDWZM2.js} +3 -3
  14. package/dist/{chunk-ZDP6GDAB.js → chunk-33KELF2X.js} +103 -94
  15. package/dist/{chunk-7VR4IO5B.js → chunk-3P35HT64.js} +2 -2
  16. package/dist/{chunk-2FLIJGBZ.js → chunk-3UZQ5TMG.js} +47 -8
  17. package/dist/{chunk-AWQ7BQTQ.js → chunk-4GPIOIAC.js} +6 -1
  18. package/dist/{chunk-YYLUBYXM.js → chunk-4JKXGPXB.js} +3 -3
  19. package/dist/{chunk-EQFYOOO6.js → chunk-5GIOCDUM.js} +829 -893
  20. package/dist/{chunk-26MOFAJT.js → chunk-5QOV52V4.js} +6 -3
  21. package/dist/{chunk-Q22BMRPF.js → chunk-5Y5HWQ2P.js} +2 -2
  22. package/dist/{chunk-T4LJ5UR2.js → chunk-6BOKCTCM.js} +52 -22
  23. package/dist/{chunk-FNLTFOUD.js → chunk-6NEV2PEC.js} +2 -2
  24. package/dist/{chunk-QJM5XZ4K.js → chunk-6PTITS3M.js} +8 -8
  25. package/dist/{chunk-N5I37JFB.js → chunk-6S263KTM.js} +2 -2
  26. package/dist/{chunk-JI3BLXWQ.js → chunk-6YOH2L3G.js} +11 -5
  27. package/dist/{chunk-5QMJOE2K.js → chunk-6ZFJEJXZ.js} +5 -3
  28. package/dist/{chunk-NPODGBVJ.js → chunk-75MKIQON.js} +4 -4
  29. package/dist/{chunk-SPITRSOF.js → chunk-76UAME77.js} +2 -2
  30. package/dist/{chunk-JRVQ7M7W.js → chunk-77GV772V.js} +8 -8
  31. package/dist/{chunk-GWTFI3GA.js → chunk-7JKNWDYN.js} +2 -2
  32. package/dist/{chunk-6X6BJN6Y.js → chunk-7MPI7NIW.js} +3 -3
  33. package/dist/{chunk-3II44CUJ.js → chunk-7UWUEUVJ.js} +24 -24
  34. package/dist/{chunk-ENMBEXOP.js → chunk-AS4G2MIE.js} +3 -3
  35. package/dist/{chunk-PMMHSX4H.js → chunk-B3NH5UBI.js} +4 -4
  36. package/dist/{chunk-SLGJIWCY.js → chunk-B5N6EWOM.js} +2 -2
  37. package/dist/chunk-BRANWM4U.js +853 -0
  38. package/dist/{chunk-6X3MY2JP.js → chunk-C2GHFADU.js} +2 -2
  39. package/dist/{chunk-CCU5CCRX.js → chunk-C2I4GC36.js} +8 -8
  40. package/dist/{chunk-D7BUMOKU.js → chunk-C6KBZH7M.js} +82 -6
  41. package/dist/{chunk-LAOMN6QQ.js → chunk-CRE7P7P2.js} +3 -3
  42. package/dist/{chunk-AVS4WPPY.js → chunk-DER2CVNC.js} +2 -2
  43. package/dist/{chunk-UIVMR7UK.js → chunk-DY3EJWWH.js} +2 -2
  44. package/dist/{chunk-SKEG3V2V.js → chunk-EKTIGGFO.js} +2 -2
  45. package/dist/{chunk-PL7AIAWS.js → chunk-F3IA3YWI.js} +4 -111
  46. package/dist/{chunk-FQ53GTII.js → chunk-F5RPNTN7.js} +6 -6
  47. package/dist/{chunk-2WBH5HUY.js → chunk-FHQYXGAY.js} +7 -7
  48. package/dist/{chunk-ND43ZOS3.js → chunk-FN7E6XGD.js} +7 -7
  49. package/dist/{chunk-3BBIDW3Y.js → chunk-GN5SQMIQ.js} +5 -5
  50. package/dist/{chunk-SSITMX7I.js → chunk-H3ZBAR2L.js} +16 -14
  51. package/dist/{chunk-OIKLDDYC.js → chunk-HFOGQIII.js} +3 -3
  52. package/dist/chunk-HKLBDSML.js +995 -0
  53. package/dist/{chunk-JXVJGF3Y.js → chunk-HQPL34O6.js} +2 -2
  54. package/dist/{chunk-CHINR7WD.js → chunk-HTP2CLRQ.js} +5 -5
  55. package/dist/{chunk-ROY4YAEQ.js → chunk-HU7F56VF.js} +22 -2
  56. package/dist/{chunk-TECTL2NU.js → chunk-HVPSDQJB.js} +4 -4
  57. package/dist/{chunk-IYXL5NYU.js → chunk-I53OTC3O.js} +2 -2
  58. package/dist/{chunk-M5CSVB23.js → chunk-IB6SKACE.js} +11 -8
  59. package/dist/{chunk-UD2Z7K6W.js → chunk-JG642U5D.js} +4 -4
  60. package/dist/{chunk-ZJSTUD6D.js → chunk-JJGK7XGC.js} +8 -8
  61. package/dist/{local-engine-command-RYLGMQ2O.js → chunk-JPRZ4ZGU.js} +22 -77
  62. package/dist/{chunk-QZEAANWP.js → chunk-K75BFHQQ.js} +8 -8
  63. package/dist/chunk-LCOCRJ4K.js +116 -0
  64. package/dist/{chunk-3EDSPMXN.js → chunk-LJM5CIY4.js} +5 -1
  65. package/dist/{chunk-D3KEPRRN.js → chunk-LTPF25L2.js} +2 -1
  66. package/dist/{chunk-HCG7NDIL.js → chunk-M3RLLT4O.js} +5 -5
  67. package/dist/{chunk-IXFJORNH.js → chunk-NFSUGVDY.js} +4 -4
  68. package/dist/{chunk-GHQ4BVI4.js → chunk-NFZUXS7D.js} +14 -14
  69. package/dist/{chunk-LBJA7IEM.js → chunk-O376UAZS.js} +2 -2
  70. package/dist/{chunk-LD6ARK3A.js → chunk-OBJ7FQDX.js} +2 -2
  71. package/dist/{chunk-VJFMUJWZ.js → chunk-OHTHG3LL.js} +2 -2
  72. package/dist/{chunk-U35MTOXQ.js → chunk-P5W6DBV6.js} +3 -3
  73. package/dist/{chunk-A7MRZ4GF.js → chunk-PAS5HOG3.js} +5 -5
  74. package/dist/{chunk-WZHLMU6T.js → chunk-PBK257CI.js} +2 -2
  75. package/dist/{chunk-SPKA2LV6.js → chunk-PFW7WFAT.js} +4 -4
  76. package/dist/{chunk-GOLFAEUV.js → chunk-QC3MKMDK.js} +2 -2
  77. package/dist/{chunk-YGLMRH5U.js → chunk-QE2GNFMP.js} +12 -12
  78. package/dist/{chunk-763M6LX3.js → chunk-QL3ZJWGG.js} +2 -2
  79. package/dist/{chunk-ITC2R2OT.js → chunk-QRKBFXIB.js} +7 -7
  80. package/dist/{chunk-KPFS3RGM.js → chunk-QTMXJQZN.js} +4 -4
  81. package/dist/{chunk-BTVUYHWV.js → chunk-QXOBZSQD.js} +4 -4
  82. package/dist/{chunk-NDWVJ2QZ.js → chunk-R3LANPQZ.js} +3 -3
  83. package/dist/{chunk-QXYMDARD.js → chunk-R4NOZBOY.js} +4 -4
  84. package/dist/{chunk-YYC2DZMG.js → chunk-RYMGK2K5.js} +6 -6
  85. package/dist/{chunk-IF4PEGVD.js → chunk-S2F7KVUL.js} +11 -11
  86. package/dist/{chunk-I3VHW6XM.js → chunk-S3STXOAO.js} +18 -18
  87. package/dist/{chunk-JFBRXRJD.js → chunk-S3WN6GGO.js} +40 -40
  88. package/dist/{chunk-U6MTGB46.js → chunk-S42TFTM5.js} +5 -5
  89. package/dist/{chunk-7GAIJW62.js → chunk-TG65NWUR.js} +2 -2
  90. package/dist/{chunk-YR2I5HGE.js → chunk-TR7EOUQE.js} +2 -2
  91. package/dist/{chunk-I3H3HCPY.js → chunk-U7XNJ33Q.js} +34 -31
  92. package/dist/{chunk-FU3VCE5A.js → chunk-UKJFCEMI.js} +13 -9
  93. package/dist/{chunk-5TVFLG3C.js → chunk-ULUUOUQX.js} +2 -2
  94. package/dist/{chunk-PFBXSVZF.js → chunk-UU7EEREQ.js} +7 -7
  95. package/dist/{chunk-ATJ2W7DC.js → chunk-V7KMIEMF.js} +286 -126
  96. package/dist/{chunk-VDHA5SSQ.js → chunk-VD7YTLWL.js} +2 -2
  97. package/dist/{chunk-EADVVTDK.js → chunk-VHV25AAO.js} +7 -7
  98. package/dist/{chunk-BL3AZ3AP.js → chunk-VJTTTIIB.js} +2 -2
  99. package/dist/{chunk-TTEIDD5Q.js → chunk-W2BVP27L.js} +4 -4
  100. package/dist/{chunk-GZHLCUZ6.js → chunk-WEQFI55W.js} +7 -7
  101. package/dist/{chunk-WBH4KJWM.js → chunk-XQO4A4Q4.js} +3 -3
  102. package/dist/{chunk-Z4ZGTCCD.js → chunk-XYTVP4WI.js} +6 -6
  103. package/dist/{chunk-5YQV35C2.js → chunk-Y5ET37NN.js} +7 -7
  104. package/dist/{chunk-VW4CWVYX.js → chunk-YE7MHW45.js} +4 -4
  105. package/dist/{chunk-YHB34BN6.js → chunk-YEH5OIPF.js} +2 -1
  106. package/dist/{chunk-GLY552SI.js → chunk-YG7S3N7P.js} +128 -60
  107. package/dist/{chunk-MBDFH7XB.js → chunk-YP76ZCQ5.js} +4 -4
  108. package/dist/{chunk-XFBGXB7X.js → chunk-ZJCHS7FM.js} +163 -107
  109. package/dist/{chunk-IMELQ2I6.js → chunk-ZO3QWFNV.js} +3 -3
  110. package/dist/{chunk-RIN4YY34.js → chunk-ZQ5WZWHF.js} +106 -69
  111. package/dist/{chunk-GW5RHGOB.js → chunk-ZT2B22VQ.js} +9 -9
  112. package/dist/cli.d.ts +32 -4
  113. package/dist/cli.js +51 -48
  114. package/dist/{codegen-command-R5IASBFC.js → codegen-command-4YXDJSLU.js} +69 -68
  115. package/dist/{commands-H7CPMMHH.js → commands-FOHIPDKZ.js} +3 -3
  116. package/dist/{completion-W5ZAI6TN.js → completion-XUBGMKGV.js} +9 -5
  117. package/dist/{config-MZ5KG4EP.js → config-544VCRKP.js} +8 -8
  118. package/dist/{deploy-command-34T2LKQ5.js → deploy-command-FIDS56ZC.js} +56 -55
  119. package/dist/{deploy-source-YLQ7WMYR.js → deploy-source-FPNNNNOW.js} +34 -33
  120. package/dist/{dev-env-sync-TMJTNU3U.js → dev-env-sync-RBJ2U3HG.js} +54 -53
  121. package/dist/{diagnostics-OMN5Y2AH.js → diagnostics-FNVNRYMB.js} +2 -2
  122. package/dist/{display-name-hint-ZJGFNJKQ.js → display-name-hint-EZQK2PDU.js} +14 -13
  123. package/dist/{emit-D125xxty.d.ts → emit-8lcNcRrd.d.ts} +12 -12
  124. package/dist/env-example-refresh-6UTTMDOI.js +134 -0
  125. package/dist/{env-pull-command-UTG6IC2K.js → env-pull-command-P5MATITQ.js} +46 -45
  126. package/dist/{env-target-FZROWYFS.js → env-target-F75YF25S.js} +13 -12
  127. package/dist/{env-var-command-VYDBQJJW.js → env-var-command-H3GHROVB.js} +50 -49
  128. package/dist/{ephemeral-BIE6FMJV.js → ephemeral-H24NF6WP.js} +11 -10
  129. package/dist/{ephemeral-command-OZ26RGXF.js → ephemeral-command-NH2XW3YK.js} +64 -63
  130. package/dist/{ephemeral-state-SNZOX2YK.js → ephemeral-state-YLZQIOBF.js} +11 -10
  131. package/dist/{generate-command-4HR7MR36.js → generate-command-IANKN6WV.js} +84 -82
  132. package/dist/{gitignore-EWQBXNX2.js → gitignore-FT2LVOMI.js} +19 -19
  133. package/dist/{guards-KYEOCVHN.js → guards-4VPSEOAI.js} +6 -4
  134. package/dist/{impersonate-command-WC7OGKUM.js → impersonate-command-7B67ICPL.js} +42 -41
  135. package/dist/{import-7Z4GCCPO.js → import-TXYVFYJS.js} +5 -5
  136. package/dist/index.d.ts +4 -4
  137. package/dist/index.js +8 -8
  138. package/dist/{init-command-HAO3WXH3.js → init-command-QOA4TJI2.js} +68 -53
  139. package/dist/{init-modules-NSKD4ASY.js → init-modules-KEEJ4HAF.js} +8 -8
  140. package/dist/{init-web-MKFFOQUU.js → init-web-MSXDARRF.js} +3 -3
  141. package/dist/internal.d.ts +4 -4
  142. package/dist/internal.js +10 -10
  143. package/dist/{keep-data-merge-QR2TMKEO.js → keep-data-merge-BIBW4QR4.js} +28 -28
  144. package/dist/{lambda-config-reconcile-7FJXXV6V.js → lambda-config-reconcile-47X5C2E4.js} +6 -5
  145. package/dist/{landing-record-MWXFIRCP.js → landing-record-DO3PM7QP.js} +22 -22
  146. package/dist/{live-diff-5E2BQWQ7.js → live-diff-CGTGOH3S.js} +3 -3
  147. package/dist/{local-engine-choice-VD5LNXJU.js → local-engine-choice-2UF7S5QZ.js} +37 -36
  148. package/dist/local-engine-command-WGMMZRQL.js +85 -0
  149. package/dist/{local-engine-config-W3KB7RWM.js → local-engine-config-6CB6FOEJ.js} +3 -2
  150. package/dist/{local-engine-deploy-6O7NKZCA.js → local-engine-deploy-ID4JJXB5.js} +18 -16
  151. package/dist/local-engine-lookup-IC7BKAYP.js +43 -0
  152. package/dist/local-engine-mcp-bridge-3SOJMZ5T.js +423 -0
  153. package/dist/local-engine-mcp-command-RMVUH4FL.js +181 -0
  154. package/dist/{local-engine-process-ZLLZEIRF.js → local-engine-process-HG5BGG3F.js} +12 -9
  155. package/dist/{local-engine-state-OCW5YDD7.js → local-engine-state-JZHTKHDG.js} +4 -3
  156. package/dist/{local-engine-update-check-LVX4HBBI.js → local-engine-update-check-SKZR7YSC.js} +7 -6
  157. package/dist/{lock-commands-X2OECR4R.js → lock-commands-5NMQWBGH.js} +57 -56
  158. package/dist/{login-command-RLLKD565.js → login-command-GLLFZWHT.js} +33 -33
  159. package/dist/{logout-command-XDMSXCDO.js → logout-command-NCMKMJWF.js} +16 -15
  160. package/dist/{loop-SUB6C2LK.js → loop-XFDS65OD.js} +3 -3
  161. package/dist/{marketplace-command-2NHHY2X3.js → marketplace-command-Y3RRUEWL.js} +34 -34
  162. package/dist/{marketplace-resolve-OTZYT4FG.js → marketplace-resolve-PWEYJ2XS.js} +6 -6
  163. package/dist/{meta-client-TMHVBZFY.js → meta-client-Y7N6WDS2.js} +14 -13
  164. package/dist/{module-manifest-FNMW23IX.js → module-manifest-KY7J63HG.js} +4 -4
  165. package/dist/node.d.ts +4 -4
  166. package/dist/node.js +60 -59
  167. package/dist/operation-outcome-4BFISK2R.js +53 -0
  168. package/dist/{output-target-MOLCTPBP.js → output-target-MFANTVGZ.js} +20 -20
  169. package/dist/{plan-disclosure-CY7AF6KP.js → plan-disclosure-GNLDYV2A.js} +17 -16
  170. package/dist/{plugin-contributions-WR26U7NT.js → plugin-contributions-PAGG6SUP.js} +6 -6
  171. package/dist/{plugin-prompt-ZUYQQIX4.js → plugin-prompt-2MX6LF6X.js} +5 -5
  172. package/dist/{plugin-questions-HAZOQ67R.js → plugin-questions-AP6VUTOB.js} +4 -4
  173. package/dist/{preflight-command-OHJXYND3.js → preflight-command-Q6XOKRM6.js} +61 -60
  174. package/dist/{profile-command-6JWT2BTL.js → profile-command-XPQIXFWN.js} +34 -34
  175. package/dist/{profile-pointer-PDA5XBIB.js → profile-pointer-4HJQH5ZR.js} +5 -4
  176. package/dist/{project-dependency-GZWWGWEW.js → project-dependency-ORX45I74.js} +7 -7
  177. package/dist/{project-sdk-3W72H5QO.js → project-sdk-IYMFVQRC.js} +4 -4
  178. package/dist/promote-command-DN64QK7O.js +147 -0
  179. package/dist/{prompt-U37K5RPQ.js → prompt-ZZUYWFQX.js} +4 -4
  180. package/dist/{publish-command-BUS27HGB.js → publish-command-SLE46MQX.js} +61 -60
  181. package/dist/{pull-command-ZGUNP27P.js → pull-command-UVK3IOXM.js} +72 -71
  182. package/dist/{pull-superseded-EZBGYRZF.js → pull-superseded-UZ3MB53B.js} +4 -4
  183. package/dist/{release-command-BQ6OHS3P.js → release-command-MKNESNGB.js} +67 -66
  184. package/dist/{release-ns-command-ATGVBVIU.js → release-ns-command-HLR46IKP.js} +92 -91
  185. package/dist/{retry-command-QJ57WVW7.js → retry-command-VZYLYDVX.js} +10 -9
  186. package/dist/{routes-manifest-YR4ZIMLM.js → routes-manifest-RIZGSOZC.js} +4 -4
  187. package/dist/{routes-manifest-file-UALYSZLY.js → routes-manifest-file-UHVVL2YB.js} +8 -8
  188. package/dist/scaffold.js +4 -4
  189. package/dist/secrets-IV4N5HYI.js +20 -0
  190. package/dist/{secrets-file-LMS7KX3E.js → secrets-file-HST7BMQC.js} +19 -19
  191. package/dist/{secrets-fill-command-QNBDGCGM.js → secrets-fill-command-FQJ4QFBP.js} +55 -54
  192. package/dist/{seed-SZ6OS5DQ.js → seed-KEPIS7UZ.js} +6 -6
  193. package/dist/{source-resolve-MKLNYFWG.js → source-resolve-LNRUITLS.js} +24 -22
  194. package/dist/{static-host-ONEHA4LI.js → static-host-JAOT3N3E.js} +5 -5
  195. package/dist/{status-command-XKIFKBGM.js → status-command-S5CBG2SW.js} +53 -52
  196. package/dist/{store-Bg4Na6Sm.d.ts → store-CuD1k4kV.d.ts} +1 -1
  197. package/dist/{store-X6ZH7EC3.js → store-YFNDD6GZ.js} +8 -7
  198. package/dist/{sync-baseline-DOV5AGIO.js → sync-baseline-3CDL4PKT.js} +7 -5
  199. package/dist/{sync-contributions-HNVHDIQW.js → sync-contributions-O5ZRM2JN.js} +10 -10
  200. package/dist/{sync-record-PRXHLK4S.js → sync-record-U65BCPSP.js} +14 -13
  201. package/dist/{table-DC36QA4Y.js → table-E5YTK7QX.js} +7 -7
  202. package/dist/{tables-command-UQLKTELN.js → tables-command-7KI2KZOS.js} +40 -39
  203. package/dist/{tenant-EKNQGG5A.js → tenant-DAXJ4P4D.js} +12 -11
  204. package/dist/{tenant-command-2LWP2MPB.js → tenant-command-MQTLNETR.js} +97 -96
  205. package/dist/{test-command-IU5MBBXY.js → test-command-NLYMAAPD.js} +42 -41
  206. package/dist/{tests-RG2Y5EQ4.js → tests-CLDZWLKF.js} +6 -6
  207. package/dist/{token-7AWSJLKO.js → token-3IPTVEEW.js} +12 -11
  208. package/dist/{toolchain-hooks-4ZMQLBPQ.js → toolchain-hooks-3ZAAAWPL.js} +7 -7
  209. package/dist/{toolchain-modules-VU7SURVJ.js → toolchain-modules-K46KYJ4G.js} +5 -5
  210. package/dist/{toolchain-peers-CIDNEEQV.js → toolchain-peers-AIKWKJH7.js} +8 -8
  211. package/dist/{tracked-backend-4BHSV7NC.js → tracked-backend-FQFXTTYZ.js} +37 -36
  212. package/dist/{update-check-A7FXIINW.js → update-check-FHRRUDEC.js} +52 -51
  213. package/dist/{upgrade-command-C5KBITFI.js → upgrade-command-WNBPKUXN.js} +58 -55
  214. package/dist/{whoami-command-7WQII2H4.js → whoami-command-DPGDK35H.js} +15 -14
  215. package/dist/{workspace-Z46PUZNI.js → workspace-2GMONZ2A.js} +5 -5
  216. package/dist/{workspace-binding-JE6YNDZJ.js → workspace-binding-PAUOIK3V.js} +14 -13
  217. package/dist/{workspace-command-FC4IMLAE.js → workspace-command-KEKL27Y4.js} +99 -103
  218. package/dist/{workspace-env-N4ZPFT6A.js → workspace-env-GGEZVZDY.js} +16 -16
  219. package/dist/{workspace-export-3A5BZTPS.js → workspace-export-UHY22VBI.js} +5 -5
  220. package/dist/{writable-D7KCZI5N.js → writable-2A6MBSFD.js} +4 -4
  221. package/dist/{xano-LCI7VWPS.js → xano-6T6L7TTI.js} +5 -5
  222. package/dist/{xanosdk-import-P2A2KSXM.js → xanosdk-import-HYHABD5U.js} +6 -6
  223. package/dist/{xanosdk-project-6AGMW2SL.js → xanosdk-project-2T56DRYS.js} +16 -16
  224. package/guides/README.md +2 -2
  225. package/guides/cli.md +69 -0
  226. package/guides/codegen.md +23 -5
  227. package/guides/codes.md +5 -1
  228. package/guides/coverage.md +5 -0
  229. package/guides/deploying.md +45 -1
  230. package/guides/scaffold.md +61 -10
  231. package/llms/errors.md +1 -1
  232. package/llms/kinds-agent-mcp.md +1 -1
  233. package/llms-full.txt +3 -3
  234. package/llms.txt +1 -1
  235. package/manifest.json +67 -5
  236. package/package.json +5 -2
  237. package/skills/xano-backend/SKILL.md +119 -0
  238. package/dist/chunk-LL7SGTRC.js +0 -663
  239. package/dist/chunk-M6ZFSTIZ.js +0 -630
  240. package/dist/env-example-refresh-CQP3ZMKM.js +0 -133
  241. package/dist/operation-outcome-RN62735X.js +0 -51
  242. package/dist/promote-command-UYAMUXKB.js +0 -146
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  openBrowser
3
3
  } from "./chunk-FQOF7E2E.js";
4
+ import {
5
+ passwordHashesWarning,
6
+ passwordOrigin
7
+ } from "./chunk-JJGK7XGC.js";
4
8
  import {
5
9
  isAwaited,
6
10
  microserviceLine,
7
11
  readyRatio,
8
12
  waitForMicroservices
9
- } from "./chunk-QXYMDARD.js";
10
- import {
11
- passwordHashesWarning,
12
- passwordOrigin
13
- } from "./chunk-ZJSTUD6D.js";
13
+ } from "./chunk-R4NOZBOY.js";
14
14
  import {
15
15
  EXIT_STATIC_FAILED,
16
16
  assertStaticHostExists,
@@ -25,13 +25,13 @@ import {
25
25
  staticRetryHint,
26
26
  unknownStaticOutcome,
27
27
  warnStaticTeardown
28
- } from "./chunk-EADVVTDK.js";
28
+ } from "./chunk-VHV25AAO.js";
29
29
  import {
30
30
  HostedFilesUnresolvedError,
31
31
  ImportNotSentError,
32
32
  XanoSdkImportRefusal,
33
33
  xanosdkImport
34
- } from "./chunk-ND43ZOS3.js";
34
+ } from "./chunk-FN7E6XGD.js";
35
35
  import {
36
36
  archiveHostedFiles,
37
37
  decodeWorkspaceArchive,
@@ -48,23 +48,37 @@ import {
48
48
  missingLockDir,
49
49
  refuseCompileValueFlags,
50
50
  refuseValueFlagsBesideBundle
51
- } from "./chunk-XFBGXB7X.js";
51
+ } from "./chunk-ZJCHS7FM.js";
52
52
  import {
53
53
  recordDeployed
54
- } from "./chunk-WZHLMU6T.js";
54
+ } from "./chunk-PBK257CI.js";
55
55
  import {
56
56
  lookupEphemeral
57
- } from "./chunk-3II44CUJ.js";
57
+ } from "./chunk-7UWUEUVJ.js";
58
58
  import {
59
59
  getAccessToken
60
- } from "./chunk-YGLMRH5U.js";
60
+ } from "./chunk-QE2GNFMP.js";
61
61
  import {
62
62
  otherCredentialRefusal
63
- } from "./chunk-ITC2R2OT.js";
63
+ } from "./chunk-QRKBFXIB.js";
64
64
  import {
65
65
  engineNameForProject,
66
66
  getEngineRecord
67
- } from "./chunk-Q22BMRPF.js";
67
+ } from "./chunk-5Y5HWQ2P.js";
68
+ import {
69
+ createEphemeral,
70
+ getEphemeral,
71
+ isEphemeralDisabled,
72
+ isExpired,
73
+ isUnansweredPoll,
74
+ listEphemeral,
75
+ namedEphemeral,
76
+ renameEphemeral,
77
+ waitUntilReady
78
+ } from "./chunk-PFW7WFAT.js";
79
+ import {
80
+ readLockFile
81
+ } from "./chunk-CJDPSCMX.js";
68
82
  import {
69
83
  environmentKey,
70
84
  ephemeralLandedOn,
@@ -75,52 +89,38 @@ import {
75
89
  readEphemeralState,
76
90
  recordStaticUrl,
77
91
  setEnvironment
78
- } from "./chunk-U6MTGB46.js";
92
+ } from "./chunk-S42TFTM5.js";
79
93
  import {
80
94
  selectDeployArm
81
95
  } from "./chunk-ZYJP6BOO.js";
82
- import {
83
- createEphemeral,
84
- getEphemeral,
85
- isEphemeralDisabled,
86
- isExpired,
87
- isUnansweredPoll,
88
- listEphemeral,
89
- namedEphemeral,
90
- renameEphemeral,
91
- waitUntilReady
92
- } from "./chunk-SPKA2LV6.js";
93
96
  import {
94
97
  pipedYes,
95
98
  retryCommand,
96
99
  withheldNote,
97
100
  yesRerun
98
- } from "./chunk-6X3MY2JP.js";
101
+ } from "./chunk-C2GHFADU.js";
99
102
  import {
100
103
  andList
101
104
  } from "./chunk-622HUCZT.js";
102
105
  import {
103
106
  contextFlags,
104
107
  credentialFileOf
105
- } from "./chunk-N5I37JFB.js";
108
+ } from "./chunk-6S263KTM.js";
109
+ import {
110
+ SENT_AFTERMATH,
111
+ TransportError,
112
+ certificateFailureCode,
113
+ closeSentence,
114
+ withoutReadAftermath
115
+ } from "./chunk-TR7EOUQE.js";
106
116
  import {
107
117
  describeWrite,
108
118
  noteLanded
109
119
  } from "./chunk-4KHEMC32.js";
110
- import {
111
- readLockFile
112
- } from "./chunk-CJDPSCMX.js";
113
120
  import {
114
121
  storedColumnsOf,
115
122
  withStoredColumns
116
123
  } from "./chunk-MFWF2NZJ.js";
117
- import {
118
- SENT_AFTERMATH,
119
- TransportError,
120
- certificateFailureCode,
121
- closeSentence,
122
- withoutReadAftermath
123
- } from "./chunk-YR2I5HGE.js";
124
124
  import {
125
125
  DEFAULT_PROFILE
126
126
  } from "./chunk-MF4W6FHU.js";
@@ -151,7 +151,7 @@ import {
151
151
  withSpinner,
152
152
  writeJson,
153
153
  writeTargetPayload
154
- } from "./chunk-D7BUMOKU.js";
154
+ } from "./chunk-C6KBZH7M.js";
155
155
  import {
156
156
  codePinnedTables
157
157
  } from "./chunk-5KJBWIDZ.js";
@@ -204,7 +204,7 @@ function deriveDisplay(bundleText, cwd, source) {
204
204
  return basename(cwd) || "xanosdk-app";
205
205
  }
206
206
  async function assertNoSeedLeaks(dir, values, opts = {}) {
207
- const { assertStaticDir, findSeedLeaks, StaticDirError } = await import("./static-host-ONEHA4LI.js");
207
+ const { assertStaticDir, findSeedLeaks, StaticDirError } = await import("./static-host-JAOT3N3E.js");
208
208
  try {
209
209
  assertStaticDir(dir, "--static", void 0, opts);
210
210
  } catch (err) {
@@ -266,7 +266,7 @@ async function runDeployedTests(auth, summary, args) {
266
266
  try {
267
267
  return await runTestsOrThrow(auth, summary, args, settled, notRun);
268
268
  } catch (err) {
269
- const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-IU5MBBXY.js");
269
+ const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-NLYMAAPD.js");
270
270
  const message = err instanceof Error ? err.message : String(err);
271
271
  const reason = isSuiteUnreachable(err) ? `${message.split("\n")[0] ?? message}
272
272
  ${suiteUnreachableCheck(
@@ -291,12 +291,12 @@ function testRunAllCommand(summary, args) {
291
291
  return `xanosdk test run-all --on ${on}${kind}${concurrency}${flags}`;
292
292
  }
293
293
  async function testSummaryOf(outcomes, notRun = []) {
294
- const { suiteCounts, testRow } = await import("./test-command-IU5MBBXY.js");
294
+ const { suiteCounts, testRow } = await import("./test-command-NLYMAAPD.js");
295
295
  return { ...suiteCounts(outcomes, notRun), tests: outcomes.map(testRow) };
296
296
  }
297
297
  async function runTestsOrThrow(auth, summary, args, settled, notRun) {
298
- const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-IU5MBBXY.js");
299
- const { qualifiedName } = await import("./tests-RG2Y5EQ4.js");
298
+ const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-NLYMAAPD.js");
299
+ const { qualifiedName } = await import("./tests-CLDZWLKF.js");
300
300
  if (summary.url === void 0) {
301
301
  warn("Skipped --test: the ephemeral reported no base URL to run against.", "deploy.tests-not-run");
302
302
  return void 0;
@@ -339,15 +339,15 @@ async function ignoreBackendSecretFilesRead(args) {
339
339
  if (args.bundle !== void 0 || args.file === void 0) return;
340
340
  const paths = [];
341
341
  if (args.envFile === void 0) {
342
- const { defaultWorkspaceEnvPath } = await import("./workspace-env-N4ZPFT6A.js");
342
+ const { defaultWorkspaceEnvPath } = await import("./workspace-env-GGEZVZDY.js");
343
343
  paths.push(defaultWorkspaceEnvPath(args.file));
344
344
  }
345
345
  if (args.secretsFile === void 0) {
346
- const { defaultWorkspaceSecretsPath } = await import("./secrets-file-LMS7KX3E.js");
346
+ const { defaultWorkspaceSecretsPath } = await import("./secrets-file-HST7BMQC.js");
347
347
  paths.push(defaultWorkspaceSecretsPath(args.file));
348
348
  }
349
- const { gitSaysIgnored } = await import("./store-X6ZH7EC3.js");
350
- const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-EWQBXNX2.js");
349
+ const { gitSaysIgnored } = await import("./store-YFNDD6GZ.js");
350
+ const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-FT2LVOMI.js");
351
351
  for (const path of paths) {
352
352
  if (!existsSync(path)) continue;
353
353
  if (gitSaysIgnored(path) !== false) continue;
@@ -416,14 +416,14 @@ function shipsStoredFiles(bundle) {
416
416
  return Array.isArray(payload?.vault) && payload.vault.length > 0;
417
417
  }
418
418
  async function soleTrackedEphemeral() {
419
- const { readEphemeralState: readEphemeralState2 } = await import("./ephemeral-state-SNZOX2YK.js");
419
+ const { readEphemeralState: readEphemeralState2 } = await import("./ephemeral-state-YLZQIOBF.js");
420
420
  const names = new Set(Object.values(readEphemeralState2(process.cwd()).environments).map((r) => r.name));
421
421
  return names.size === 1 ? [...names][0] : void 0;
422
422
  }
423
423
  async function runDeployToDestination(args, to) {
424
- const { requireBackendSlot, parseSlot } = await import("./backend-slot-JREP27UD.js");
425
- const { resolveSource, describeBackend } = await import("./source-resolve-MKLNYFWG.js");
426
- const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-YLQ7WMYR.js");
424
+ const { requireBackendSlot, parseSlot } = await import("./backend-slot-TTRNOQF5.js");
425
+ const { resolveSource, describeBackend } = await import("./source-resolve-LNRUITLS.js");
426
+ const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-FPNNNNOW.js");
427
427
  const dest = parseSlot(requireBackendSlot("deploy", void 0, "to"), to, to.trim() === "ephemeral" ? await soleTrackedEphemeral() : void 0);
428
428
  if (dest.kind !== "workspace" && dest.kind !== "tenant") {
429
429
  throw new Error(`Internal: \`deploy --to\` parsed ${withArticle(dest.kind)}, which its slot does not accept.`);
@@ -432,7 +432,7 @@ async function runDeployToDestination(args, to) {
432
432
  const flags = contextFlags(args);
433
433
  const release = /^release:(.*)$/.exec(args.file)?.[1];
434
434
  const releaseWord = release === void 0 || release === "" ? "<name>" : shellQuote(release);
435
- const { pipedYes: pipedYes2 } = await import("./retry-command-QJ57WVW7.js");
435
+ const { pipedYes: pipedYes2 } = await import("./retry-command-VZYLYDVX.js");
436
436
  const yes = args.dryRun === true ? "" : pipedYes2(args);
437
437
  const tenantLanding = `\`xanosdk tenant deploy ${dest.kind === "tenant" ? shellQuote(dest.name) : "<tenant>"} ${releaseWord}${yes}${flags}\``;
438
438
  const landing = `${args.branch === void 0 ? "" : ` --branch ${shellQuote(args.branch)}`}${args.setLive === true ? " --set-live" : ""}`;
@@ -473,7 +473,7 @@ async function runDeployToDestination(args, to) {
473
473
  }
474
474
  const named = describeBackend(resolved);
475
475
  if (dest.kind === "tenant" && !isEphemeral && resolved.backend.kind === "hosted") {
476
- const { tenantHasWorkspace } = await import("./tenant-EKNQGG5A.js");
476
+ const { tenantHasWorkspace } = await import("./tenant-DAXJ4P4D.js");
477
477
  if (!await tenantHasWorkspace(resolved.backend.auth, resolved.target.base)) {
478
478
  throw tenantWithoutWorkspace(dest.name, named, typed, args);
479
479
  }
@@ -498,7 +498,7 @@ async function runDeployToDestination(args, to) {
498
498
  )
499
499
  );
500
500
  };
501
- const { runReleaseCommand } = await import("./release-command-BQ6OHS3P.js");
501
+ const { runReleaseCommand } = await import("./release-command-MKNESNGB.js");
502
502
  return runReleaseCommand(args, {
503
503
  base: resolved.target.base,
504
504
  workspaceId: resolved.target.workspaceId,
@@ -528,6 +528,7 @@ var DESTINATION_ONLY = [
528
528
  { key: "resetData", flag: "--reset-data", why: "a refresh already replaces the rows unless `--keep-data` keeps them (`--reset` overrides that)" },
529
529
  { key: "seed", flag: "--seed", why: "a refresh already seeds when it replaces and never when `--keep-data` keeps the rows" },
530
530
  { key: "allowSharedSchemaChanges", flag: "--allow-shared-schema-changes", why: "the environment is this project's own, with no shared schema to gate" },
531
+ { key: "overwrite", flag: "--overwrite", why: "an ephemeral or Xano Engine keeps no sync baseline, so nothing there is guarded" },
531
532
  { key: "allowBranchDeletion", flag: "--allow-branch-deletion", why: "an ephemeral or Xano Engine has no branches to delete" },
532
533
  { key: "branch", flag: "--branch", why: "an ephemeral or Xano Engine has no branch to name" },
533
534
  { key: "setLive", flag: "--set-live", why: "an ephemeral or Xano Engine has no branch to make live" },
@@ -622,7 +623,7 @@ async function assertLocalEngineUsable(args, dest) {
622
623
  { hintFor: { command: "deploy" } }
623
624
  );
624
625
  }
625
- const { engineSourceRefusal, MISSING_ARCHIVE, resolveEnginePlatform, SUPPORTED_PLATFORMS } = await import("./local-engine-config-W3KB7RWM.js");
626
+ const { engineSourceRefusal, MISSING_ARCHIVE, resolveEnginePlatform, SUPPORTED_PLATFORMS } = await import("./local-engine-config-6CB6FOEJ.js");
626
627
  const sourceRefusal = engineSourceRefusal(dest.downloadUrl);
627
628
  if (sourceRefusal !== void 0) {
628
629
  const Refusal = sourceRefusal.startsWith(MISSING_ARCHIVE) ? LocalFileNotFoundError : UsageError;
@@ -638,9 +639,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
638
639
  const { startedAt } = ctx;
639
640
  const dir = process.cwd();
640
641
  const fetchedSource = sourceCredential !== void 0 && args.file !== void 0 ? { credential: sourceCredential, spec: args.file } : void 0;
641
- const { discoverToolchainPlugins } = await import("./toolchain-modules-VU7SURVJ.js");
642
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-K46KYJ4G.js");
642
643
  const toolchain = await discoverToolchainPlugins(dir, { frozen: args.frozenLock === true });
643
- const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-YLQ7WMYR.js").then(async (m) => {
644
+ const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-FPNNNNOW.js").then(async (m) => {
644
645
  const f = await m.fetchSourceArchive(fetchedSource.credential, fetchedSource.spec, dir);
645
646
  const decoded = decodeWorkspaceArchive(f.archive);
646
647
  noteReleaseCarriesNoEnv(fetchedSource.spec, m.gatedApiGroups(decoded));
@@ -683,7 +684,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
683
684
  }
684
685
  step(`Deploying ${shownSource} \u2192 Xano Engine`);
685
686
  {
686
- const { runBundleHooks } = await import("./toolchain-hooks-4ZMQLBPQ.js");
687
+ const { runBundleHooks } = await import("./toolchain-hooks-3ZAAAWPL.js");
687
688
  const { readVersion } = await import("./cli.js");
688
689
  await runBundleHooks(
689
690
  toolchain.loaded,
@@ -701,9 +702,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
701
702
  "; nothing was deployed"
702
703
  );
703
704
  }
704
- const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-VD5LNXJU.js");
705
+ const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-2UF7S5QZ.js");
705
706
  const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
706
- const { ensureProjectEngine } = await import("./local-engine-deploy-6O7NKZCA.js");
707
+ const { ensureProjectEngine } = await import("./local-engine-deploy-ID4JJXB5.js");
707
708
  const pin = pinAfterAcquire(choice, dir);
708
709
  const flags = { keepData: args.keepData, reset: args.reset };
709
710
  const { engine, reused, previousUrl, hadRecord, priorFilled, engineVersion, replaced, sweptOrphans } = await withSpinner(
@@ -752,7 +753,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
752
753
  };
753
754
  try {
754
755
  if (arm.arm === "merge") {
755
- const { mergeKeepingData } = await import("./keep-data-merge-QR2TMKEO.js");
756
+ const { mergeKeepingData } = await import("./keep-data-merge-BIBW4QR4.js");
756
757
  merged = await mergeKeepingData({
757
758
  auth: bearer,
758
759
  baseUrl: engine.url,
@@ -794,10 +795,10 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
794
795
  }
795
796
  } catch (err) {
796
797
  if (err instanceof XanoSdkImportRefusal && err.retryable) {
797
- const { importInProgressError } = await import("./keep-data-merge-QR2TMKEO.js");
798
+ const { importInProgressError } = await import("./keep-data-merge-BIBW4QR4.js");
798
799
  throw importInProgressError(`Xano Engine ${engine.name}`, rerunOf(args), err);
799
800
  }
800
- const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-6O7NKZCA.js");
801
+ const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-ID4JJXB5.js");
801
802
  const unsupported = explainUnsupportedEngineImport(err, engineVersion, {
802
803
  latest: await latestEngineRelease(err),
803
804
  resetRerun: arm.arm === "merge" ? `${rerunOf(args).command} --reset` : void 0
@@ -816,7 +817,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
816
817
  throw unsupported ?? err;
817
818
  }
818
819
  commitLock?.();
819
- const { markEngineFilled } = await import("./local-engine-state-OCW5YDD7.js");
820
+ const { markEngineFilled } = await import("./local-engine-state-JZHTKHDG.js");
820
821
  markEngineFilled(dir, engine.url);
821
822
  const urlChanged = !reused || previousUrl !== engine.url;
822
823
  if (urlChanged) {
@@ -830,6 +831,13 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
830
831
  }
831
832
  detail(`Open the builder: ${engine.signInUrl}`);
832
833
  detail(`Meta API bearer (the local XANO_META_TOKEN): \`xanosdk local token\``);
834
+ if (engine.mcpUrl !== void 0) {
835
+ detail(`MCP server for coding agents: ${engine.mcpUrl} \u2014 connect one with \`xanosdk local mcp\``);
836
+ } else if (choice.override === void 0) {
837
+ detail("This engine serves no MCP server for coding agents; `xanosdk local update` moves the project to one that does.");
838
+ } else {
839
+ detail("This engine serves no MCP server for coding agents; choose a newer engine to get one.");
840
+ }
833
841
  detail(`Stop it with \`xanosdk local stop ${engine.name}\``);
834
842
  let staticSummary;
835
843
  if (args.static !== void 0) {
@@ -851,6 +859,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
851
859
  name: engine.name,
852
860
  workspaceId: engine.workspaceId,
853
861
  logPath: engine.logPath,
862
+ mcpUrl: engine.mcpUrl ?? null,
854
863
  ...engineVersion === void 0 ? {} : { engineVersion },
855
864
  pin: pin.outcome(),
856
865
  ...choice.override === void 0 ? {} : { override: choice.override }
@@ -909,7 +918,7 @@ async function publishStaticToLocalEngine(args, dir, engine, engineVersion) {
909
918
  }
910
919
  }
911
920
  async function parseDeploySource(raw) {
912
- const { requireBackendSlot, parseSlot } = await import("./backend-slot-JREP27UD.js");
921
+ const { requireBackendSlot, parseSlot } = await import("./backend-slot-TTRNOQF5.js");
913
922
  const source = parseSlot(requireBackendSlot("deploy", void 0, "subject"), raw);
914
923
  if (source.kind === "file") throw new Error(`Internal: "${raw}" parsed as a bundle path on the fetch arm.`);
915
924
  return source;
@@ -1109,15 +1118,15 @@ async function runDeploy(args) {
1109
1118
  if (args.reset && !args.keepData) {
1110
1119
  info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
1111
1120
  }
1112
- const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-YLQ7WMYR.js");
1121
+ const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-FPNNNNOW.js");
1113
1122
  const fetching = args.file !== void 0 && looksLikeSource(args.file);
1114
1123
  const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
1115
1124
  if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
1116
1125
  if (destination.kind === "local") {
1117
1126
  refuseSameEngine(sourceSpec, process.cwd());
1118
- const { refuseProfileForLocal } = await import("./tracked-backend-4BHSV7NC.js");
1127
+ const { refuseProfileForLocal } = await import("./tracked-backend-FQFXTTYZ.js");
1119
1128
  refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind], void 0, {});
1120
- const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-VD5LNXJU.js");
1129
+ const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-2UF7S5QZ.js");
1121
1130
  refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind]);
1122
1131
  }
1123
1132
  if (!fetching) {
@@ -1133,7 +1142,7 @@ async function runDeploy(args) {
1133
1142
  }
1134
1143
  refuseMissingStaticDir(args);
1135
1144
  if (destination.kind === "local") {
1136
- const { memoCredential } = await import("./tracked-backend-4BHSV7NC.js");
1145
+ const { memoCredential } = await import("./tracked-backend-FQFXTTYZ.js");
1137
1146
  return deployToLocalEngine(
1138
1147
  args,
1139
1148
  destination,
@@ -1145,7 +1154,7 @@ async function runDeploy(args) {
1145
1154
  const auth = await getAccessToken(args);
1146
1155
  refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
1147
1156
  await noteRunScopeFor(auth);
1148
- const { discoverToolchainPlugins } = await import("./toolchain-modules-VU7SURVJ.js");
1157
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-K46KYJ4G.js");
1149
1158
  const toolchain = await discoverToolchainPlugins(process.cwd(), {
1150
1159
  frozen: args.frozenLock === true
1151
1160
  });
@@ -1189,7 +1198,7 @@ async function runDeploy(args) {
1189
1198
  );
1190
1199
  }
1191
1200
  {
1192
- const { runBundleHooks } = await import("./toolchain-hooks-4ZMQLBPQ.js");
1201
+ const { runBundleHooks } = await import("./toolchain-hooks-3ZAAAWPL.js");
1193
1202
  const { readVersion } = await import("./cli.js");
1194
1203
  await runBundleHooks(
1195
1204
  toolchain.loaded,
@@ -1279,9 +1288,9 @@ async function runDeploy(args) {
1279
1288
  }).finally(() => noteLanded(void 0));
1280
1289
  if (staticSummary !== void 0) summary.static = staticSummary;
1281
1290
  if (summary.ephemeral !== void 0) {
1282
- const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-MWXFIRCP.js");
1291
+ const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-DO3PM7QP.js");
1283
1292
  const dest = { kind: "ephemeral", name: summary.ephemeral.name };
1284
- const { storedColumnsAfter } = await import("./live-diff-5E2BQWQ7.js");
1293
+ const { storedColumnsAfter } = await import("./live-diff-CGTGOH3S.js");
1285
1294
  const sent = JSON.parse(bundle);
1286
1295
  const stored = summary.data === "kept" ? removedOut.storedColumns : storedColumnsAfter(sent, void 0, /* @__PURE__ */ new Map(), "rebuild");
1287
1296
  if (fetching || args.bundle !== void 0) {
@@ -1343,7 +1352,7 @@ async function runDeploy(args) {
1343
1352
  async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
1344
1353
  if (args.noDevEnv || summary.url === void 0) return;
1345
1354
  if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
1346
- const { staleDevEnv } = await import("./dev-env-sync-TMJTNU3U.js");
1355
+ const { staleDevEnv } = await import("./dev-env-sync-RBJ2U3HG.js");
1347
1356
  let stale;
1348
1357
  try {
1349
1358
  stale = staleDevEnv(cwd, summary.url);
@@ -1357,7 +1366,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
1357
1366
  }
1358
1367
  return;
1359
1368
  }
1360
- const { syncDevEnv } = await import("./dev-env-sync-TMJTNU3U.js");
1369
+ const { syncDevEnv } = await import("./dev-env-sync-RBJ2U3HG.js");
1361
1370
  try {
1362
1371
  const written = syncDevEnv(cwd, summary.url);
1363
1372
  if (written === void 0) return;
@@ -1457,22 +1466,22 @@ function rerunOf(args) {
1457
1466
  return { command: retry.command, note: withheldNote(retry.withheld) };
1458
1467
  }
1459
1468
  async function latestEngineRelease(err) {
1460
- const { ImportHttpError } = await import("./import-7Z4GCCPO.js");
1469
+ const { ImportHttpError } = await import("./import-TXYVFYJS.js");
1461
1470
  if (!(err instanceof ImportHttpError) || err.status !== 501) return void 0;
1462
- const { resolveEnginePlatform } = await import("./local-engine-config-W3KB7RWM.js");
1471
+ const { resolveEnginePlatform } = await import("./local-engine-config-6CB6FOEJ.js");
1463
1472
  const platform = resolveEnginePlatform();
1464
1473
  if (platform === void 0) return void 0;
1465
- const { latestKnownVersion } = await import("./local-engine-update-check-LVX4HBBI.js");
1474
+ const { latestKnownVersion } = await import("./local-engine-update-check-SKZR7YSC.js");
1466
1475
  return latestKnownVersion({ platform });
1467
1476
  }
1468
1477
  async function mergeGuards(args, lock, outgoing) {
1469
1478
  const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
1470
- const pinned = outgoing === void 0 ? [] : (await import("./release-command-BQ6OHS3P.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
1479
+ const pinned = outgoing === void 0 ? [] : (await import("./release-command-MKNESNGB.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
1471
1480
  const guards = {
1472
1481
  ...pinned.length > 0 ? { pinned } : {},
1473
1482
  allowForeignDeletes: args.yes === true,
1474
1483
  ...interactive ? {
1475
- confirm: async (q) => (await import("./prompt-U37K5RPQ.js")).confirm(q, {
1484
+ confirm: async (q) => (await import("./prompt-ZZUYWFQX.js")).confirm(q, {
1476
1485
  flag: "--yes",
1477
1486
  refusal: { details: { deployed: false }, ...yesRerun(args, "deploy") }
1478
1487
  })
@@ -1488,7 +1497,7 @@ async function mergeGuards(args, lock, outgoing) {
1488
1497
  for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
1489
1498
  }
1490
1499
  const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
1491
- const { clearReplacedCommand } = await import("./keep-data-merge-QR2TMKEO.js");
1500
+ const { clearReplacedCommand } = await import("./keep-data-merge-BIBW4QR4.js");
1492
1501
  const lockPath = resolveLockPath(args, entry);
1493
1502
  const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
1494
1503
  const keys = Object.keys(lock.objects);
@@ -1727,9 +1736,9 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
1727
1736
  { exitCode: 1, details: { reason: "needs-confirmation", ...details } }
1728
1737
  );
1729
1738
  }
1730
- const { confirm } = await import("./prompt-U37K5RPQ.js");
1739
+ const { confirm } = await import("./prompt-ZZUYWFQX.js");
1731
1740
  if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
1732
- const { KeepDataDeclined } = await import("./keep-data-merge-QR2TMKEO.js");
1741
+ const { KeepDataDeclined } = await import("./keep-data-merge-BIBW4QR4.js");
1733
1742
  throw new KeepDataDeclined(label, "deployed");
1734
1743
  }
1735
1744
  function recordedEntry(file) {
@@ -1764,7 +1773,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
1764
1773
  { hintFor: { command: "deploy" } }
1765
1774
  );
1766
1775
  if (refusal === void 0) return;
1767
- const { reachableFirst } = await import("./env-target-FZROWYFS.js");
1776
+ const { reachableFirst } = await import("./env-target-F75YF25S.js");
1768
1777
  throw await reachableFirst(refusal, auth);
1769
1778
  }
1770
1779
  async function refuseKeepDataElsewhere(state, auth) {
@@ -1778,7 +1787,7 @@ async function refuseKeepDataElsewhere(state, auth) {
1778
1787
  { hintFor: { command: "deploy" } }
1779
1788
  );
1780
1789
  if (refusal === void 0) return;
1781
- const { reachableFirst } = await import("./env-target-FZROWYFS.js");
1790
+ const { reachableFirst } = await import("./env-target-F75YF25S.js");
1782
1791
  throw await reachableFirst(refusal, auth);
1783
1792
  }
1784
1793
  async function reconcileRename(err, auth, name, display) {
@@ -1813,7 +1822,7 @@ If no deploy is running in this project, its guard was left behind: remove \`${s
1813
1822
  }
1814
1823
  async function deployEphemeral(auth, ctx) {
1815
1824
  const dir = process.cwd();
1816
- const { assertReadWritable } = await import("./writable-D7KCZI5N.js");
1825
+ const { assertReadWritable } = await import("./writable-2A6MBSFD.js");
1817
1826
  assertReadWritable(ephemeralStatePath(dir));
1818
1827
  const guard = await takeCreateGuard(dir, ctx.args);
1819
1828
  try {
@@ -1832,7 +1841,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
1832
1841
  };
1833
1842
  const parentWorkspaceId = auth.workspaceId;
1834
1843
  const dir = process.cwd();
1835
- const { assertReadWritable, assertWritable } = await import("./writable-D7KCZI5N.js");
1844
+ const { assertReadWritable, assertWritable } = await import("./writable-2A6MBSFD.js");
1836
1845
  assertReadWritable(ephemeralStatePath(dir));
1837
1846
  if (ctx.lockPath !== void 0) assertWritable(ctx.lockPath, "build without a lock with `--no-lock`");
1838
1847
  const state = readEphemeralState(dir);
@@ -1890,7 +1899,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
1890
1899
  }).finally(() => creating?.clear()).catch(async (err) => {
1891
1900
  if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
1892
1901
  if (err.status === 404) {
1893
- const { refuseUnreachableWorkspace } = await import("./workspace-binding-JE6YNDZJ.js");
1902
+ const { refuseUnreachableWorkspace } = await import("./workspace-binding-PAUOIK3V.js");
1894
1903
  await refuseUnreachableWorkspace(auth);
1895
1904
  }
1896
1905
  throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
@@ -1958,7 +1967,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
1958
1967
  if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
1959
1968
  else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
1960
1969
  if (arm.arm === "replace") {
1961
- const { gateForeignReplace } = await import("./keep-data-merge-QR2TMKEO.js");
1970
+ const { gateForeignReplace } = await import("./keep-data-merge-BIBW4QR4.js");
1962
1971
  const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
1963
1972
  await gateForeignReplace({
1964
1973
  auth,
@@ -2030,7 +2039,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
2030
2039
  let merged;
2031
2040
  try {
2032
2041
  if (arm.arm === "merge") {
2033
- const { mergeKeepingData } = await import("./keep-data-merge-QR2TMKEO.js");
2042
+ const { mergeKeepingData } = await import("./keep-data-merge-BIBW4QR4.js");
2034
2043
  merged = await mergeKeepingData({
2035
2044
  auth,
2036
2045
  baseUrl,
@@ -2084,11 +2093,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
2084
2093
  if (!lockCommitted) ctx.warnOrphansUncommitted?.();
2085
2094
  if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
2086
2095
  if (err instanceof XanoSdkImportRefusal && err.retryable) {
2087
- const { importInProgressError } = await import("./keep-data-merge-QR2TMKEO.js");
2096
+ const { importInProgressError } = await import("./keep-data-merge-BIBW4QR4.js");
2088
2097
  const retry = retryCommand(args);
2089
2098
  throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
2090
2099
  }
2091
- const { withSignatureHint } = await import("./release-command-BQ6OHS3P.js");
2100
+ const { withSignatureHint } = await import("./release-command-MKNESNGB.js");
2092
2101
  importFailure = withSignatureHint(err, args.bundle);
2093
2102
  }
2094
2103
  if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
@@ -2252,7 +2261,7 @@ ${createdButFailedNote(target.name, unknown, args, landedUnresolved, { futile })
2252
2261
  };
2253
2262
  }
2254
2263
  async function deployStaticTo(dir, auth, target, env, explicit, host, skipLiveness, routing, dirLabel, opts = {}) {
2255
- const { deployStaticHost } = await import("./static-host-ONEHA4LI.js");
2264
+ const { deployStaticHost } = await import("./static-host-JAOT3N3E.js");
2256
2265
  const where = target.label && target.label !== "" ? target.label : `workspace #${target.workspaceId}`;
2257
2266
  if (target.announced !== true) step(`Deploying static frontend ${dir} \u2192 ${where}${host ? ` (host: ${host})` : ""}`);
2258
2267
  const sh = await describeWrite(
@@ -2382,4 +2391,4 @@ export {
2382
2391
  unknownCreateOutcome,
2383
2392
  deployStaticTo
2384
2393
  };
2385
- //# sourceMappingURL=chunk-ZDP6GDAB.js.map
2394
+ //# sourceMappingURL=chunk-33KELF2X.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  normalize
3
- } from "./chunk-D3KEPRRN.js";
3
+ } from "./chunk-LTPF25L2.js";
4
4
  import {
5
5
  sha1Bytes
6
6
  } from "./chunk-OHX6MIUZ.js";
@@ -41,4 +41,4 @@ export {
41
41
  canonicalJson,
42
42
  structuralHash
43
43
  };
44
- //# sourceMappingURL=chunk-7VR4IO5B.js.map
44
+ //# sourceMappingURL=chunk-3P35HT64.js.map