@xano/sdk 1.0.7 → 1.0.8-mesh0.1

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 (224) hide show
  1. package/CHANGELOG.md +20 -5
  2. package/README.md +2 -0
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-DGGSRPJ4.js → agent-file-refresh-YBE5LZFJ.js} +10 -10
  5. package/dist/{agent-skill-command-37DFYS7Q.js → agent-skill-command-DDHOBL3L.js} +42 -42
  6. package/dist/{answer-shape-RBFDCNZ7.js → answer-shape-UMQRXMCX.js} +5 -5
  7. package/dist/{backend-dir-KDD43X7K.js → backend-dir-5GL5WFFV.js} +10 -10
  8. package/dist/{backend-slot-TBOVZXDE.js → backend-slot-TTRNOQF5.js} +4 -4
  9. package/dist/bin.js +43 -43
  10. package/dist/{branch-7PIKNUD7.js → branch-Q7CDJRU6.js} +9 -9
  11. package/dist/{branch-commands-EGY7ZEZE.js → branch-commands-QI575RSG.js} +24 -24
  12. package/dist/bundle.js +2 -2
  13. package/dist/{chunk-5ZG7V2VW.js → chunk-2EQBS63A.js} +3 -3
  14. package/dist/{chunk-HZ6ADG3O.js → chunk-3UZQ5TMG.js} +5 -5
  15. package/dist/{chunk-FNLTFOUD.js → chunk-4AE3AVY3.js} +2 -2
  16. package/dist/{chunk-2ACWDSAQ.js → chunk-4BPUM6DK.js} +3 -3
  17. package/dist/{chunk-L472YIGG.js → chunk-4HQE5CXQ.js} +8 -8
  18. package/dist/{chunk-FENA7K7C.js → chunk-4JKXGPXB.js} +3 -3
  19. package/dist/{chunk-D5OZRJ3T.js → chunk-4KBZ6ZEW.js} +6 -6
  20. package/dist/{chunk-ARWMVNDJ.js → chunk-5QOV52V4.js} +2 -2
  21. package/dist/{chunk-EPFDY5JU.js → chunk-5Y5HWQ2P.js} +2 -2
  22. package/dist/{chunk-5SCPRXFB.js → chunk-64FL5VXX.js} +3 -3
  23. package/dist/{chunk-T4LJ5UR2.js → chunk-6BOKCTCM.js} +52 -22
  24. package/dist/{chunk-567KK6XF.js → chunk-6P3ISGGI.js} +4 -4
  25. package/dist/{chunk-47XT6WQL.js → chunk-6PTITS3M.js} +5 -5
  26. package/dist/{chunk-3FRGNBOC.js → chunk-6S263KTM.js} +2 -2
  27. package/dist/{chunk-TWVUYS63.js → chunk-6TMB3UUM.js} +15 -15
  28. package/dist/{chunk-5QMJOE2K.js → chunk-6ZFJEJXZ.js} +5 -3
  29. package/dist/{chunk-M2C54ZBC.js → chunk-75MKIQON.js} +4 -4
  30. package/dist/{chunk-SDGV76HF.js → chunk-76UAME77.js} +2 -2
  31. package/dist/{chunk-26LHXLD3.js → chunk-7JKNWDYN.js} +2 -2
  32. package/dist/{chunk-JOWY6HFL.js → chunk-7MPI7NIW.js} +3 -3
  33. package/dist/{chunk-BZ6WTG3E.js → chunk-AQ34CEDI.js} +4 -4
  34. package/dist/{chunk-ZGLNHA7T.js → chunk-AQG4FFDT.js} +4 -4
  35. package/dist/{chunk-EF4MHLEW.js → chunk-B3NH5UBI.js} +4 -4
  36. package/dist/{chunk-SLGJIWCY.js → chunk-B5N6EWOM.js} +2 -2
  37. package/dist/{chunk-SGK3PTTM.js → chunk-BVPGV55J.js} +43 -43
  38. package/dist/{chunk-UYFUIHH3.js → chunk-C2GHFADU.js} +2 -2
  39. package/dist/{chunk-CH23ONYG.js → chunk-C6KBZH7M.js} +7 -2
  40. package/dist/{chunk-CT3J5JRZ.js → chunk-CKJK2QTT.js} +7 -7
  41. package/dist/{chunk-2YER2J47.js → chunk-D57SMZVV.js} +5 -5
  42. package/dist/{chunk-AVS4WPPY.js → chunk-DER2CVNC.js} +2 -2
  43. package/dist/{chunk-I6XRUU6U.js → chunk-DESS5BLU.js} +117 -49
  44. package/dist/{chunk-JX6N73H3.js → chunk-DY3EJWWH.js} +2 -2
  45. package/dist/{chunk-PEIBGH2V.js → chunk-EFJBGKRK.js} +22 -22
  46. package/dist/{chunk-SKEG3V2V.js → chunk-EKTIGGFO.js} +2 -2
  47. package/dist/{chunk-A4R5CAY4.js → chunk-F3IA3YWI.js} +1 -1
  48. package/dist/{chunk-FQ53GTII.js → chunk-F5RPNTN7.js} +6 -6
  49. package/dist/{chunk-N3YFCFCO.js → chunk-F647T23K.js} +14 -14
  50. package/dist/{chunk-O56DQKPL.js → chunk-FPQBPJPS.js} +9 -9
  51. package/dist/{chunk-ELPQTDW6.js → chunk-GH6ZWSTH.js} +73 -72
  52. package/dist/{chunk-FDTET7FZ.js → chunk-GN5SQMIQ.js} +4 -4
  53. package/dist/{chunk-QRQ54LUI.js → chunk-H3ZBAR2L.js} +10 -10
  54. package/dist/{chunk-RBU2YX22.js → chunk-HFOGQIII.js} +2 -2
  55. package/dist/{chunk-U5M7T6CI.js → chunk-HOKRELBK.js} +7 -7
  56. package/dist/{chunk-7M6JP3FS.js → chunk-HQPL34O6.js} +2 -2
  57. package/dist/{chunk-CPN6WSBH.js → chunk-HVPSDQJB.js} +3 -3
  58. package/dist/{chunk-NDJAKSE7.js → chunk-IB6SKACE.js} +4 -4
  59. package/dist/{chunk-46PATL23.js → chunk-IBTPQQI6.js} +3 -3
  60. package/dist/{chunk-DIWF7L33.js → chunk-IXISAJ67.js} +3 -3
  61. package/dist/{chunk-YH2JVJAO.js → chunk-JZ4WNPKY.js} +8 -8
  62. package/dist/{chunk-D3KEPRRN.js → chunk-LC3KQ5SO.js} +13 -1
  63. package/dist/{chunk-YCUDOF6Q.js → chunk-LDWK6F57.js} +15 -15
  64. package/dist/{chunk-7VR4IO5B.js → chunk-LI3UQFJY.js} +2 -2
  65. package/dist/{chunk-NV37YGOV.js → chunk-LZ2E76UO.js} +6 -6
  66. package/dist/{chunk-WNCW2RNB.js → chunk-NFSUGVDY.js} +4 -4
  67. package/dist/{chunk-HTQWAQRW.js → chunk-NJHUQSDH.js} +3 -3
  68. package/dist/{chunk-LBJA7IEM.js → chunk-O376UAZS.js} +2 -2
  69. package/dist/{chunk-JOOKM7AH.js → chunk-OBJ7FQDX.js} +2 -2
  70. package/dist/{chunk-VJFMUJWZ.js → chunk-OHTHG3LL.js} +2 -2
  71. package/dist/{chunk-VNDR2T35.js → chunk-P2IPFNP4.js} +7 -7
  72. package/dist/{chunk-S46ODQRA.js → chunk-PBK257CI.js} +2 -2
  73. package/dist/{chunk-AKERAUNH.js → chunk-PFW7WFAT.js} +4 -4
  74. package/dist/{chunk-2SD4LA22.js → chunk-QC3MKMDK.js} +2 -2
  75. package/dist/{chunk-CNZASQPL.js → chunk-QL3ZJWGG.js} +2 -2
  76. package/dist/{chunk-IPNN2KRW.js → chunk-QTMXJQZN.js} +3 -3
  77. package/dist/{chunk-WUEPP5HD.js → chunk-QXOBZSQD.js} +4 -4
  78. package/dist/{chunk-VAGSKUWC.js → chunk-R3LANPQZ.js} +3 -3
  79. package/dist/{chunk-M3NEK3LT.js → chunk-R4NOZBOY.js} +4 -4
  80. package/dist/{chunk-JI3BLXWQ.js → chunk-RB3UNDOE.js} +11 -5
  81. package/dist/{chunk-ZJOAWRED.js → chunk-RGJ7UZFP.js} +4 -4
  82. package/dist/{chunk-ORGNLQN6.js → chunk-S42TFTM5.js} +3 -3
  83. package/dist/{chunk-MYZRMSPM.js → chunk-TG65NWUR.js} +2 -2
  84. package/dist/{chunk-EU32BC5B.js → chunk-TGHRAXKL.js} +8 -8
  85. package/dist/{chunk-L6HZ67P6.js → chunk-TR7EOUQE.js} +2 -2
  86. package/dist/{chunk-IYXL5NYU.js → chunk-TXPWOFJS.js} +2 -2
  87. package/dist/{chunk-B3P25SDP.js → chunk-U32NHVSS.js} +5 -5
  88. package/dist/{chunk-PV25BDCH.js → chunk-UICFYANB.js} +4 -4
  89. package/dist/{chunk-PEX4QZVI.js → chunk-ULUUOUQX.js} +2 -2
  90. package/dist/{chunk-2XWVZRL6.js → chunk-UM42ZIEU.js} +7 -7
  91. package/dist/{chunk-PY722CHR.js → chunk-VD7YTLWL.js} +2 -2
  92. package/dist/{chunk-B2URJBC4.js → chunk-VDG4UKGP.js} +14 -14
  93. package/dist/{chunk-RRMH7WMY.js → chunk-VHV25AAO.js} +7 -7
  94. package/dist/{chunk-MBL7CXJ7.js → chunk-VJTTTIIB.js} +2 -2
  95. package/dist/{chunk-ZXRDD3Q2.js → chunk-VK76LFW2.js} +3 -3
  96. package/dist/{chunk-DXZTL7NA.js → chunk-VL3JRW4S.js} +39 -39
  97. package/dist/{chunk-GHMLRFRX.js → chunk-XC4E3PUJ.js} +5 -5
  98. package/dist/{chunk-DG3APBUJ.js → chunk-XFHLOYUZ.js} +84 -80
  99. package/dist/{chunk-7XXWKTCE.js → chunk-XMV3E7EC.js} +29 -29
  100. package/dist/{chunk-VIJ5D3RC.js → chunk-XQO4A4Q4.js} +3 -3
  101. package/dist/{chunk-QGIZLFAS.js → chunk-YE7MHW45.js} +4 -4
  102. package/dist/{chunk-YHB34BN6.js → chunk-YEH5OIPF.js} +2 -1
  103. package/dist/{chunk-H2K4GFUS.js → chunk-YP76ZCQ5.js} +4 -4
  104. package/dist/{chunk-BSVQEKHO.js → chunk-ZEUEYKQ6.js} +5 -5
  105. package/dist/{chunk-V7MBRUK6.js → chunk-ZO3QWFNV.js} +3 -3
  106. package/dist/cli.d.ts +8 -1
  107. package/dist/cli.js +41 -41
  108. package/dist/{codegen-command-T7TC7PQO.js → codegen-command-AIZB3FUC.js} +61 -61
  109. package/dist/{commands-JDENTDJS.js → commands-FOHIPDKZ.js} +3 -3
  110. package/dist/{completion-YFD5OVJW.js → completion-XUBGMKGV.js} +3 -3
  111. package/dist/{config-YJFUTRJW.js → config-544VCRKP.js} +4 -4
  112. package/dist/{deploy-command-OEVEE6UG.js → deploy-command-V5DMS4ZX.js} +48 -48
  113. package/dist/{deploy-source-HYVZEYXV.js → deploy-source-2TSXX3VB.js} +28 -28
  114. package/dist/{dev-env-sync-EFDCJ6KU.js → dev-env-sync-EQQ3AJGG.js} +42 -42
  115. package/dist/{diagnostics-OMN5Y2AH.js → diagnostics-FNVNRYMB.js} +2 -2
  116. package/dist/{display-name-hint-SW3GB3V7.js → display-name-hint-EZQK2PDU.js} +11 -11
  117. package/dist/{emit-Dov_92kn.d.ts → emit-8lcNcRrd.d.ts} +12 -12
  118. package/dist/{env-example-refresh-WNSOH534.js → env-example-refresh-4IBD3MBJ.js} +62 -62
  119. package/dist/{env-pull-command-UYEXMQ3P.js → env-pull-command-DBRHTBWT.js} +40 -40
  120. package/dist/{env-target-JBSLBKNX.js → env-target-K23V5FZA.js} +10 -10
  121. package/dist/{env-var-command-BJNRAXNV.js → env-var-command-W7ZSG2Z3.js} +38 -38
  122. package/dist/{ephemeral-CEOGMIEA.js → ephemeral-H24NF6WP.js} +9 -9
  123. package/dist/{ephemeral-command-IPSGBCS5.js → ephemeral-command-JSCJSX22.js} +41 -41
  124. package/dist/{ephemeral-state-MTBASPRS.js → ephemeral-state-YLZQIOBF.js} +8 -8
  125. package/dist/{generate-command-XQXODBS6.js → generate-command-M2C6ZZUQ.js} +66 -66
  126. package/dist/{gitignore-RUVCIZO4.js → gitignore-Z6B3GR2I.js} +14 -14
  127. package/dist/{guards-KYEOCVHN.js → guards-4VPSEOAI.js} +6 -4
  128. package/dist/{impersonate-command-MA27O7S5.js → impersonate-command-P63YGMQM.js} +34 -34
  129. package/dist/{import-XKRFHABE.js → import-TXYVFYJS.js} +5 -5
  130. package/dist/index.d.ts +4 -4
  131. package/dist/index.js +8 -8
  132. package/dist/{init-command-6RDTCMAB.js → init-command-EUJ6MUM2.js} +46 -46
  133. package/dist/{init-modules-DHTBOCQT.js → init-modules-GP3KBD4E.js} +8 -8
  134. package/dist/{init-web-ELBXSXDL.js → init-web-MSXDARRF.js} +3 -3
  135. package/dist/internal.d.ts +4 -4
  136. package/dist/internal.js +10 -10
  137. package/dist/{keep-data-merge-TDJOIAVT.js → keep-data-merge-V7NUOHLT.js} +23 -23
  138. package/dist/{landing-record-TPPYFQAS.js → landing-record-7UKEQ25N.js} +16 -16
  139. package/dist/{live-diff-5E2BQWQ7.js → live-diff-Y5VDHSZM.js} +3 -3
  140. package/dist/{local-engine-choice-S6VHPJRU.js → local-engine-choice-AFCKFASJ.js} +31 -31
  141. package/dist/{local-engine-command-4EZCGZ6M.js → local-engine-command-MTPDD4ID.js} +36 -36
  142. package/dist/{local-engine-config-2EBL3QKA.js → local-engine-config-6CB6FOEJ.js} +2 -2
  143. package/dist/{local-engine-deploy-FOPNWU7X.js → local-engine-deploy-ID4JJXB5.js} +14 -14
  144. package/dist/{local-engine-lookup-GM3E3NPP.js → local-engine-lookup-IC7BKAYP.js} +4 -4
  145. package/dist/{local-engine-mcp-bridge-QKZHUGW3.js → local-engine-mcp-bridge-3SOJMZ5T.js} +5 -5
  146. package/dist/{local-engine-mcp-command-BFQVLXZC.js → local-engine-mcp-command-WXZVCUJD.js} +39 -39
  147. package/dist/{local-engine-process-XUQPQENQ.js → local-engine-process-HG5BGG3F.js} +9 -9
  148. package/dist/{local-engine-state-JQPKGB65.js → local-engine-state-JZHTKHDG.js} +3 -3
  149. package/dist/{local-engine-update-check-S7UF6ZF5.js → local-engine-update-check-SKZR7YSC.js} +6 -6
  150. package/dist/{lock-commands-HJ6Y5QVS.js → lock-commands-2I3X22S2.js} +46 -46
  151. package/dist/{login-command-JO55NZAS.js → login-command-RVM2IFKQ.js} +22 -22
  152. package/dist/{logout-command-MPRIRSJA.js → logout-command-EPWRAN3N.js} +13 -13
  153. package/dist/{loop-SUB6C2LK.js → loop-67FOZNJN.js} +3 -3
  154. package/dist/{marketplace-command-BM6G257N.js → marketplace-command-HN35TMQO.js} +29 -29
  155. package/dist/{marketplace-resolve-AWH3RG57.js → marketplace-resolve-PWEYJ2XS.js} +6 -6
  156. package/dist/{meta-client-AOSWODQQ.js → meta-client-52JNOTRR.js} +11 -11
  157. package/dist/{module-manifest-GXI46PEF.js → module-manifest-KY7J63HG.js} +4 -4
  158. package/dist/node.d.ts +4 -4
  159. package/dist/node.js +47 -47
  160. package/dist/{operation-outcome-4UKPXTNC.js → operation-outcome-SZRJPLHR.js} +22 -22
  161. package/dist/{output-target-RAZ4KN5J.js → output-target-OEPSECGR.js} +15 -15
  162. package/dist/{plan-disclosure-JR52DWXN.js → plan-disclosure-NPTMOR2Q.js} +15 -15
  163. package/dist/{plugin-contributions-E6XHLQWK.js → plugin-contributions-PAGG6SUP.js} +5 -5
  164. package/dist/{plugin-prompt-IODX5EU6.js → plugin-prompt-2MX6LF6X.js} +5 -5
  165. package/dist/{plugin-questions-AAAJ7POP.js → plugin-questions-AP6VUTOB.js} +4 -4
  166. package/dist/{preflight-command-7GKJBWOQ.js → preflight-command-ZB7HRYVT.js} +53 -53
  167. package/dist/{profile-command-CM6J7E2M.js → profile-command-RX47NDY4.js} +23 -23
  168. package/dist/{profile-pointer-KTYXL6FU.js → profile-pointer-4HJQH5ZR.js} +4 -4
  169. package/dist/{project-dependency-OQ5575QQ.js → project-dependency-ORX45I74.js} +7 -7
  170. package/dist/{project-sdk-2ESHHZVL.js → project-sdk-IYMFVQRC.js} +4 -4
  171. package/dist/promote-command-KOEKHI34.js +147 -0
  172. package/dist/{prompt-MQPGU4ZI.js → prompt-ZZUYWFQX.js} +4 -4
  173. package/dist/{publish-command-IEMYZ7LF.js → publish-command-ARKUFNJ3.js} +51 -51
  174. package/dist/{pull-command-S5E2ABZ4.js → pull-command-QHPQPFZX.js} +64 -64
  175. package/dist/{pull-superseded-E34BZVLH.js → pull-superseded-UZ3MB53B.js} +4 -4
  176. package/dist/{release-command-7F5TBKO2.js → release-command-KUQ5ZBMW.js} +59 -59
  177. package/dist/{release-ns-command-EK2ZQ4CC.js → release-ns-command-AKHCEYGS.js} +75 -75
  178. package/dist/{retry-command-GL5HCMVB.js → retry-command-VZYLYDVX.js} +8 -8
  179. package/dist/{routes-manifest-YR4ZIMLM.js → routes-manifest-RIZGSOZC.js} +4 -4
  180. package/dist/{routes-manifest-file-LCIKPDAG.js → routes-manifest-file-6MSRYJTC.js} +7 -7
  181. package/dist/{secrets-file-LXREYU3M.js → secrets-file-6HPZRMHS.js} +14 -14
  182. package/dist/{secrets-fill-command-QHZS3KWM.js → secrets-fill-command-ANBQVXOR.js} +45 -45
  183. package/dist/{seed-FRKMDN2Z.js → seed-KEPIS7UZ.js} +5 -5
  184. package/dist/{source-resolve-BBHYTOXI.js → source-resolve-CI7JQVTM.js} +20 -20
  185. package/dist/{static-host-7LC7OZR4.js → static-host-JAOT3N3E.js} +5 -5
  186. package/dist/{status-command-TY253MJT.js → status-command-RS57KOKP.js} +35 -35
  187. package/dist/{store-Boba9OOh.d.ts → store-CuD1k4kV.d.ts} +1 -1
  188. package/dist/{store-VJ3OS6VO.js → store-YFNDD6GZ.js} +6 -6
  189. package/dist/{sync-baseline-DOV5AGIO.js → sync-baseline-WDN3J7NI.js} +7 -5
  190. package/dist/{sync-contributions-63542VE4.js → sync-contributions-WUL5TGW6.js} +9 -9
  191. package/dist/{sync-record-RGHK7EAL.js → sync-record-U65BCPSP.js} +10 -10
  192. package/dist/{table-OAYGFGEN.js → table-E5YTK7QX.js} +7 -7
  193. package/dist/{tables-command-PZIVDAH3.js → tables-command-QYLUJV7Y.js} +34 -34
  194. package/dist/{tenant-Y3II4VY3.js → tenant-DAXJ4P4D.js} +10 -10
  195. package/dist/{tenant-command-G6XON7CF.js → tenant-command-PAMMMYXG.js} +81 -81
  196. package/dist/{test-command-3FZOX7O3.js → test-command-METJGZ5E.js} +33 -33
  197. package/dist/{tests-KF6N6BZ7.js → tests-CLDZWLKF.js} +6 -6
  198. package/dist/{token-DJJUW5HY.js → token-XBCHSFRV.js} +9 -9
  199. package/dist/{toolchain-hooks-7PWCFLSU.js → toolchain-hooks-3ZAAAWPL.js} +6 -6
  200. package/dist/{toolchain-modules-OTNSKK52.js → toolchain-modules-H2X4YWST.js} +5 -5
  201. package/dist/{toolchain-peers-KQ7TQ2AR.js → toolchain-peers-AIKWKJH7.js} +8 -8
  202. package/dist/{tracked-backend-AJCGTO5Y.js → tracked-backend-KTLIMNNQ.js} +31 -31
  203. package/dist/{update-check-4E5L6GAW.js → update-check-5XQA5WRN.js} +44 -44
  204. package/dist/{upgrade-command-BXMSQN4C.js → upgrade-command-ULPZNSVS.js} +46 -46
  205. package/dist/{whoami-command-NLCCIEUM.js → whoami-command-IBLF4B3G.js} +12 -12
  206. package/dist/{workspace-PNMJOXE4.js → workspace-OB2PKO6N.js} +5 -5
  207. package/dist/{workspace-binding-J5GWDFRI.js → workspace-binding-UEFR3SZX.js} +11 -11
  208. package/dist/{workspace-command-MHIIY352.js → workspace-command-JMVE42JJ.js} +84 -89
  209. package/dist/{workspace-env-LLRWCHSA.js → workspace-env-D34C7PFJ.js} +11 -11
  210. package/dist/{workspace-export-BIKAYHWJ.js → workspace-export-UHY22VBI.js} +5 -5
  211. package/dist/{writable-UOTO4WWC.js → writable-2A6MBSFD.js} +4 -4
  212. package/dist/{xano-LCI7VWPS.js → xano-6T6L7TTI.js} +5 -5
  213. package/dist/{xanosdk-import-S7A3CVBN.js → xanosdk-import-KACWOZ2Y.js} +6 -6
  214. package/dist/{xanosdk-project-J4VCFRHP.js → xanosdk-project-PTONYVWE.js} +12 -12
  215. package/guides/codes.md +4 -1
  216. package/guides/deploying.md +17 -1
  217. package/llms/errors.md +1 -1
  218. package/llms/kinds-agent-mcp.md +1 -1
  219. package/llms-full.txt +3 -3
  220. package/llms.txt +1 -1
  221. package/manifest.json +5 -1
  222. package/package.json +1 -1
  223. package/skills/xano-backend/SKILL.md +2 -2
  224. package/dist/promote-command-BDRPG6UU.js +0 -147
@@ -9,47 +9,47 @@ import {
9
9
  staticRetryHint,
10
10
  unknownStaticOutcome,
11
11
  warnStaticTeardown
12
- } from "./chunk-RRMH7WMY.js";
12
+ } from "./chunk-VHV25AAO.js";
13
13
  import {
14
14
  objectDigests,
15
15
  syncDigests
16
- } from "./chunk-JI3BLXWQ.js";
16
+ } from "./chunk-RB3UNDOE.js";
17
17
  import {
18
18
  archiveSeedContent
19
- } from "./chunk-NV37YGOV.js";
19
+ } from "./chunk-LZ2E76UO.js";
20
20
  import {
21
21
  shownLabel
22
- } from "./chunk-N3YFCFCO.js";
22
+ } from "./chunk-F647T23K.js";
23
23
  import {
24
24
  confirm,
25
25
  needsConfirmation
26
- } from "./chunk-7M6JP3FS.js";
26
+ } from "./chunk-HQPL34O6.js";
27
27
  import {
28
28
  assertStorageModesKept,
29
29
  discloseCanonicalMoves,
30
30
  movesClause,
31
31
  storageChangesPayload
32
- } from "./chunk-BSVQEKHO.js";
32
+ } from "./chunk-ZEUEYKQ6.js";
33
33
  import {
34
34
  listTables,
35
35
  tableRowCounter,
36
36
  tableRowIds
37
- } from "./chunk-H2K4GFUS.js";
37
+ } from "./chunk-YP76ZCQ5.js";
38
38
  import {
39
39
  landedRecordFor,
40
40
  landingLockPath,
41
41
  recordForeignLanding,
42
42
  recordLanding
43
- } from "./chunk-2YER2J47.js";
43
+ } from "./chunk-D57SMZVV.js";
44
44
  import {
45
45
  recordSync
46
- } from "./chunk-VAGSKUWC.js";
46
+ } from "./chunk-R3LANPQZ.js";
47
47
  import {
48
48
  XANOSDK_IMPORT_CONFLICT_CODE,
49
49
  XANOSDK_IMPORT_UNIQUENESS_CODE,
50
50
  XanoSdkImportRefusal,
51
51
  xanosdkImport
52
- } from "./chunk-567KK6XF.js";
52
+ } from "./chunk-6P3ISGGI.js";
53
53
  import {
54
54
  encodeWorkspaceArchive
55
55
  } from "./chunk-3DRXWLJ5.js";
@@ -62,7 +62,7 @@ import {
62
62
  listBranchListing,
63
63
  liveBranchLabel,
64
64
  setLiveBranch
65
- } from "./chunk-M2C54ZBC.js";
65
+ } from "./chunk-75MKIQON.js";
66
66
  import {
67
67
  compareToLive,
68
68
  envValuesOf,
@@ -73,54 +73,54 @@ import {
73
73
  sharedSchemaChanges,
74
74
  storedColumnsAfter,
75
75
  uniqueIndexLabels
76
- } from "./chunk-IYXL5NYU.js";
76
+ } from "./chunk-TXPWOFJS.js";
77
77
  import {
78
78
  assertBundleFile,
79
79
  assertBundleInput,
80
80
  loadBundleText,
81
81
  resolveLockPath
82
- } from "./chunk-DG3APBUJ.js";
82
+ } from "./chunk-XFHLOYUZ.js";
83
83
  import {
84
84
  LookupFailedError,
85
85
  isUnansweredLookup,
86
86
  unansweredCause
87
- } from "./chunk-TWVUYS63.js";
87
+ } from "./chunk-6TMB3UUM.js";
88
88
  import {
89
89
  isSignatureRefusal
90
- } from "./chunk-MBL7CXJ7.js";
90
+ } from "./chunk-VJTTTIIB.js";
91
91
  import {
92
92
  getAccessToken
93
- } from "./chunk-YH2JVJAO.js";
93
+ } from "./chunk-JZ4WNPKY.js";
94
94
  import {
95
95
  readLockFile
96
96
  } from "./chunk-CJDPSCMX.js";
97
97
  import {
98
98
  ephemeralLandedOn
99
- } from "./chunk-ORGNLQN6.js";
99
+ } from "./chunk-S42TFTM5.js";
100
100
  import {
101
101
  pipedYes,
102
102
  retryCommand,
103
103
  withheldNote
104
- } from "./chunk-UYFUIHH3.js";
104
+ } from "./chunk-C2GHFADU.js";
105
105
  import {
106
106
  contextFlags
107
- } from "./chunk-3FRGNBOC.js";
107
+ } from "./chunk-6S263KTM.js";
108
108
  import {
109
109
  backendDirIn
110
- } from "./chunk-5SCPRXFB.js";
110
+ } from "./chunk-64FL5VXX.js";
111
111
  import {
112
112
  shellWord
113
113
  } from "./chunk-FWD7AL6N.js";
114
114
  import {
115
115
  TransportError,
116
116
  isTimeoutError
117
- } from "./chunk-L6HZ67P6.js";
117
+ } from "./chunk-TR7EOUQE.js";
118
118
  import {
119
119
  describeWrite
120
120
  } from "./chunk-4KHEMC32.js";
121
121
  import {
122
122
  seedRowsByTableGuid
123
- } from "./chunk-FDTET7FZ.js";
123
+ } from "./chunk-GN5SQMIQ.js";
124
124
  import {
125
125
  destinationKey,
126
126
  groupNames,
@@ -149,7 +149,7 @@ import {
149
149
  warn,
150
150
  writeJson,
151
151
  writeTargetPayload
152
- } from "./chunk-CH23ONYG.js";
152
+ } from "./chunk-C6KBZH7M.js";
153
153
  import {
154
154
  calcSignatureJson,
155
155
  signatureHolds
@@ -637,7 +637,7 @@ function isTransientReadFailure(err) {
637
637
  return isUnansweredLookup(err);
638
638
  }
639
639
  async function readLive(auth, dest, branch) {
640
- const { exportWorkspaceBundle } = await import("./workspace-export-BIKAYHWJ.js");
640
+ const { exportWorkspaceBundle } = await import("./workspace-export-UHY22VBI.js");
641
641
  let failure;
642
642
  for (let attempt = 0; attempt <= LIVE_READ_RETRY_PAUSES_MS.length; attempt++) {
643
643
  try {
@@ -744,7 +744,7 @@ function targetIsEmpty(live) {
744
744
  async function convergedWithLive(live, req, outgoingBundle, pinned) {
745
745
  if (live === void 0 || req.mode !== "merge") return false;
746
746
  if (req.records === true || req.truncate === true) return false;
747
- const { compareToLive: compareToLive2 } = await import("./live-diff-5E2BQWQ7.js");
747
+ const { compareToLive: compareToLive2 } = await import("./live-diff-Y5VDHSZM.js");
748
748
  let result;
749
749
  try {
750
750
  result = compareToLive2(
@@ -765,7 +765,7 @@ async function convergedWithLive(live, req, outgoingBundle, pinned) {
765
765
  async function unchangedWithLive(live, req, outgoingBundle, pinned) {
766
766
  if (live === void 0 || req.mode !== "merge") return void 0;
767
767
  if (req.records === true || req.truncate === true) return void 0;
768
- const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-5E2BQWQ7.js");
768
+ const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-Y5VDHSZM.js");
769
769
  try {
770
770
  const outgoing = JSON.parse(outgoingBundle);
771
771
  const result = compareToLive2(outgoing, live, new Set(pinned.map((p) => `${p.payloadKey}:${p.name}`)), {
@@ -793,7 +793,7 @@ function markUnchanged(presented, unchanged, noun) {
793
793
  }
794
794
  var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
795
795
  async function replaceCommandHint(args) {
796
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-OEVEE6UG.js");
796
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-V5DMS4ZX.js");
797
797
  const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
798
798
  const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
799
799
  const argv = [];
@@ -824,7 +824,7 @@ function landingTableFields(losses) {
824
824
  };
825
825
  }
826
826
  async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "workspace", fromBundle = false, replaceHint = "`xanosdk deploy <source> --to <destination> --replace`.", noun = "workspace", failure, stored) {
827
- const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-JR52DWXN.js");
827
+ const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-NPTMOR2Q.js");
828
828
  const none = {
829
829
  ...tableEffectFields(NO_TABLE_EFFECTS),
830
830
  renamedTables: [],
@@ -843,7 +843,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "worksp
843
843
  blank();
844
844
  return none;
845
845
  }
846
- const { diffAgainstLive, tableAdditions } = await import("./live-diff-5E2BQWQ7.js");
846
+ const { diffAgainstLive, tableAdditions } = await import("./live-diff-Y5VDHSZM.js");
847
847
  let diff;
848
848
  let additions;
849
849
  try {
@@ -1256,9 +1256,9 @@ function gatedSchemaChanges(changes) {
1256
1256
  return details.length === 0 ? [] : [{ ...c, details }];
1257
1257
  });
1258
1258
  }
1259
- function refuseOrReport(args, message, result, details) {
1259
+ function refuseOrReport(args, message, result, details, code = "SDK_SHARED_SCHEMA_CHANGE") {
1260
1260
  if (!args.dryRun) {
1261
- throw new CliError("SDK_SHARED_SCHEMA_CHANGE", message, {
1261
+ throw new CliError(code, message, {
1262
1262
  exitCode: 2,
1263
1263
  details: { landed: false, declined: false, ...details }
1264
1264
  });
@@ -1272,6 +1272,57 @@ function refuseOrReport(args, message, result, details) {
1272
1272
  blank();
1273
1273
  return result;
1274
1274
  }
1275
+ async function assertWorkspaceUnchanged(args, ctx) {
1276
+ const { readSyncBaseline } = await import("./sync-record-U65BCPSP.js");
1277
+ const baseline = readSyncBaseline(ctx.lockPath, ctx.target);
1278
+ if (baseline === void 0) return [];
1279
+ const { directedComparison } = await import("./sync-baseline-WDN3J7NI.js");
1280
+ let compared;
1281
+ try {
1282
+ compared = directedComparison(
1283
+ JSON.parse(ctx.bundle),
1284
+ ctx.live,
1285
+ new Set(ctx.pinned.map((p) => `${p.payloadKey}:${p.name}`)),
1286
+ baseline
1287
+ );
1288
+ } catch {
1289
+ return [];
1290
+ }
1291
+ const { result, direction } = compared;
1292
+ if (direction.baseline === null) return [];
1293
+ const written = /* @__PURE__ */ new Set([...result.differing, ...result.missing, ...ctx.deletes ? result.liveOnly : []]);
1294
+ const both = new Set(direction.changedBoth);
1295
+ const objects = [...direction.changedThere, ...direction.changedBoth].filter((l) => written.has(l)).sort();
1296
+ if (objects.length === 0) return objects;
1297
+ if (args.overwrite) {
1298
+ warn(
1299
+ `\`--overwrite\`: ${objects.length} object${objects.length === 1 ? "" : "s"} changed in Xano since the last sync ${args.dryRun ? "would be" : "will be"} overwritten:`,
1300
+ "deploy.overwrite-changed",
1301
+ objects
1302
+ );
1303
+ return objects;
1304
+ }
1305
+ const lines = objects.map((l) => ` ${l}${both.has(l) ? " (changed here too)" : ""}`);
1306
+ const pull = `xanosdk pull workspace${ctx.pullBranch !== void 0 ? ` --branch ${ctx.pullBranch}` : ""}`;
1307
+ const waive = retryCommand(args, { add: ["--overwrite"] });
1308
+ refuseOrReport(
1309
+ args,
1310
+ `Refusing to deploy to branch "${ctx.target.branch}": ${objects.length} object${objects.length === 1 ? " was" : "s were"} changed in Xano since the last sync (${baseline.by}, ${baseline.at}), and this deploy would overwrite ${objects.length === 1 ? "it" : "them"}:
1311
+ ${lines.join("\n")}
1312
+
1313
+ Bring the change into this project first (\`${pull}\`, then commit and deploy), or deploy over it: \`${waive.command}\`${withheldNote(waive.withheld)}.`,
1314
+ objects,
1315
+ {
1316
+ reason: "workspace-changed",
1317
+ objects,
1318
+ changedThere: direction.changedThere.filter((l) => written.has(l)),
1319
+ changedBoth: direction.changedBoth.filter((l) => written.has(l)),
1320
+ baseline: direction.baseline
1321
+ },
1322
+ "SDK_WORKSPACE_CHANGED"
1323
+ );
1324
+ return objects;
1325
+ }
1275
1326
  function releaseCanonicalLock(args, classified) {
1276
1327
  if (classified !== void 0) return classified;
1277
1328
  const lockPath = args.lockPath ?? (args.file !== void 0 ? resolveLockPath(args, args.file) : void 0);
@@ -1558,7 +1609,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
1558
1609
  const held = guidsOf(live);
1559
1610
  const codePinned = codePinnedTables(outgoingDoc, lock, classified);
1560
1611
  const { orphanFixUps } = await import("./cli.js");
1561
- const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-TDJOIAVT.js");
1612
+ const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-V7NUOHLT.js");
1562
1613
  const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
1563
1614
  const out = [];
1564
1615
  const seen = /* @__PURE__ */ new Set();
@@ -1602,7 +1653,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
1602
1653
  return out;
1603
1654
  }
1604
1655
  async function pendingRenameRefusal(frame, pending, prune, branch) {
1605
- const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-TDJOIAVT.js");
1656
+ const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-V7NUOHLT.js");
1606
1657
  const one = pending.length === 1;
1607
1658
  const lines = pending.flatMap(
1608
1659
  (p) => pendingRenameLines(
@@ -2058,7 +2109,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2058
2109
  assertBundleFile(args, { command: "deploy" });
2059
2110
  const auth = opts.auth ?? await getAccessToken(args);
2060
2111
  const withSeed = req.mode === "replace" || req.records === true;
2061
- const { discoverToolchainPlugins } = await import("./toolchain-modules-OTNSKK52.js");
2112
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-H2X4YWST.js");
2062
2113
  const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
2063
2114
  const loaded = await loadBundleText(
2064
2115
  args.dryRun ? { ...args, lockReadOnly: true } : args,
@@ -2084,15 +2135,15 @@ async function runReleaseCommand(args, dest, opts = {}) {
2084
2135
  });
2085
2136
  };
2086
2137
  if (!args.dryRun && args.file !== void 0) {
2087
- const { ignoreBackendSecretFilesRead } = await import("./deploy-command-OEVEE6UG.js");
2138
+ const { ignoreBackendSecretFilesRead } = await import("./deploy-command-V5DMS4ZX.js");
2088
2139
  await ignoreBackendSecretFilesRead(args);
2089
2140
  }
2090
2141
  if (args.static !== void 0) {
2091
- const { assertNoSeedLeaks } = await import("./deploy-command-OEVEE6UG.js");
2142
+ const { assertNoSeedLeaks } = await import("./deploy-command-V5DMS4ZX.js");
2092
2143
  await assertNoSeedLeaks(args.static, nonPublicSeedValues);
2093
2144
  }
2094
2145
  {
2095
- const { runBundleHooks } = await import("./toolchain-hooks-7PWCFLSU.js");
2146
+ const { runBundleHooks } = await import("./toolchain-hooks-3ZAAAWPL.js");
2096
2147
  const { readVersion } = await import("./cli.js");
2097
2148
  await runBundleHooks(
2098
2149
  toolchain.loaded,
@@ -2198,8 +2249,8 @@ async function runReleaseCommand(args, dest, opts = {}) {
2198
2249
  pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
2199
2250
  }).catch(async (err) => {
2200
2251
  if (err instanceof XanoSdkImportRefusal && err.retryable) {
2201
- const { importInProgressError } = await import("./keep-data-merge-TDJOIAVT.js");
2202
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-GL5HCMVB.js");
2252
+ const { importInProgressError } = await import("./keep-data-merge-V7NUOHLT.js");
2253
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
2203
2254
  const retry = retryCommand2(args);
2204
2255
  throw importInProgressError(
2205
2256
  describeWriteTarget({ base: destBase, workspaceId, label: destShownLabel }),
@@ -2318,11 +2369,25 @@ async function runReleaseCommand(args, dest, opts = {}) {
2318
2369
  if (pending.length > 0) throw await pendingRenameRefusal(refusalFrame, pending, req.prune === true, preview.branch);
2319
2370
  }
2320
2371
  const dryRunUpToDate = req.branch === void 0 && (plan.operations.length === 0 || converged);
2372
+ const changedInXano = landingDest?.kind === "workspace" && live !== void 0 && !dryRunUpToDate && (req.branch === void 0 || scopeBranch !== void 0) ? await (async () => {
2373
+ const readLabel = scopeBranch ?? liveBranchLabel(branches) ?? preview.branch;
2374
+ if (readLabel === void 0) return [];
2375
+ const guardLock = args.file === void 0 && args.lockPath === void 0 ? landingLockPath(args) : landingLockPath(args, { entryFile: args.file, fromProject: false });
2376
+ return assertWorkspaceUnchanged(args, {
2377
+ live,
2378
+ bundle,
2379
+ pinned,
2380
+ lockPath: guardLock,
2381
+ target: { instance: auth.instance, workspaceId: landingDest.workspaceId, branch: readLabel },
2382
+ deletes: req.mode === "replace" || req.prune === true,
2383
+ pullBranch: scopeBranch
2384
+ });
2385
+ })() : [];
2321
2386
  if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
2322
- const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-TDJOIAVT.js");
2387
+ const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-V7NUOHLT.js");
2323
2388
  const triggers = liveTableTriggers(live);
2324
2389
  if (triggers.length > 0) {
2325
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-GL5HCMVB.js");
2390
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
2326
2391
  const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
2327
2392
  throw tableTriggerMergeError(destNoun, triggers, {
2328
2393
  command: replace.command,
@@ -2331,7 +2396,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2331
2396
  }
2332
2397
  }
2333
2398
  if (req.mode === "merge" && live !== void 0 && !dryRunUpToDate && losses.storageChanges.length > 0) {
2334
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-GL5HCMVB.js");
2399
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
2335
2400
  const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
2336
2401
  await assertStorageModesKept(losses.storageChanges, tableRowCounter(auth, { workspaceId, base: destBase }), {
2337
2402
  target: destNoun,
@@ -2398,6 +2463,9 @@ async function runReleaseCommand(args, dest, opts = {}) {
2398
2463
  // `--allow-shared-schema-changes`, the real run refuses.
2399
2464
  ...req.branch !== void 0 ? { sharedSchemaChanges: sharedChanges?.length ?? null } : {},
2400
2465
  ...unnamedPublicUrls.length > 0 ? { unnamedPublicUrls: [...unnamedPublicUrls] } : {},
2466
+ // Objects changed in Xano since the last sync that the deploy writes
2467
+ // over: without `--overwrite`, the real run refuses (`SDK_WORKSPACE_CHANGED`).
2468
+ ...changedInXano.length > 0 ? { changedInXano: [...changedInXano] } : {},
2401
2469
  ...staticRemovedField(staticRead?.teardown, void 0)
2402
2470
  });
2403
2471
  }
@@ -2415,7 +2483,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2415
2483
  assertLiveWorkspaceWasRead(live, destNoun, scopeBranch, liveRead.failure, liveKind);
2416
2484
  reportPlannedCanonicalMoves(canonicalMoves, "will", movesWhen);
2417
2485
  if (req.branch !== void 0 && args.setLive && !args.yes && process.stdin.isTTY !== true) {
2418
- const { yesRerun } = await import("./retry-command-GL5HCMVB.js");
2486
+ const { yesRerun } = await import("./retry-command-VZYLYDVX.js");
2419
2487
  const { rerun, note } = yesRerun(args, "deploy");
2420
2488
  throw needsConfirmation(
2421
2489
  `Make "${req.branch}" the live branch?${movesClause(canonicalMoves)} (or drop --set-live to stage it)`,
@@ -2455,7 +2523,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2455
2523
  syncBaseline: null,
2456
2524
  ...seeded.length > 0 ? { seedRows: seeded } : {}
2457
2525
  });
2458
- const { yesRerun } = await import("./retry-command-GL5HCMVB.js");
2526
+ const { yesRerun } = await import("./retry-command-VZYLYDVX.js");
2459
2527
  const { rerun, note } = yesRerun(args, "deploy");
2460
2528
  const ok = await confirm(`Apply this plan to ${destNoun}?${seedOverwriteClause(seeded)}${movesClause(canonicalMoves, movesWhen === void 0 ? "It" : "Once live, it")}`, {
2461
2529
  flag: "--yes",
@@ -2502,7 +2570,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
2502
2570
  );
2503
2571
  } catch (err) {
2504
2572
  if (err instanceof XanoSdkImportRefusal) {
2505
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-GL5HCMVB.js");
2573
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
2506
2574
  const retry = retryCommand2(args);
2507
2575
  reportApplyRefusal(
2508
2576
  err,
@@ -2699,7 +2767,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
2699
2767
  if (isMachineOutput(args)) writeJson(summary);
2700
2768
  assertStaticMatchesServedUrls(servedDifferences, planContext);
2701
2769
  }
2702
- const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-OEVEE6UG.js");
2770
+ const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-V5DMS4ZX.js");
2703
2771
  const env = buildStaticEnv(destBase, args.staticEnv);
2704
2772
  const explicit = Object.keys(args.staticEnv).length > 0;
2705
2773
  const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
@@ -2751,14 +2819,14 @@ function setLiveRollback(previous, args) {
2751
2819
  async function assertReleaseIdentitiesFree(args, auth, opts) {
2752
2820
  const tenant = opts.tenant;
2753
2821
  const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
2754
- const { detectXanoSdkImportRoute } = await import("./xanosdk-import-S7A3CVBN.js");
2822
+ const { detectXanoSdkImportRoute } = await import("./xanosdk-import-KACWOZ2Y.js");
2755
2823
  let capable;
2756
2824
  try {
2757
2825
  capable = await detectXanoSdkImportRoute(auth, target);
2758
2826
  } catch (err) {
2759
2827
  if (err?.status === 501) capable = false;
2760
2828
  else {
2761
- const { unreachableProbeError } = await import("./keep-data-merge-TDJOIAVT.js");
2829
+ const { unreachableProbeError } = await import("./keep-data-merge-V7NUOHLT.js");
2762
2830
  const retry = retryCommand(args, {
2763
2831
  add: pipedYes(args) === "" ? [] : ["--yes"],
2764
2832
  command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
@@ -2847,4 +2915,4 @@ export {
2847
2915
  setLiveRollback,
2848
2916
  assertReleaseIdentitiesFree
2849
2917
  };
2850
- //# sourceMappingURL=chunk-I6XRUU6U.js.map
2918
+ //# sourceMappingURL=chunk-DESS5BLU.js.map
@@ -2,7 +2,7 @@ import {
2
2
  UsageError,
3
3
  flagNames,
4
4
  unknownFlag
5
- } from "./chunk-CH23ONYG.js";
5
+ } from "./chunk-C6KBZH7M.js";
6
6
 
7
7
  // src/emit/plugin-questions.ts
8
8
  function hostLabel(host) {
@@ -156,4 +156,4 @@ export {
156
156
  assertNoFlagCollisions,
157
157
  resolvePluginAnswers
158
158
  };
159
- //# sourceMappingURL=chunk-JX6N73H3.js.map
159
+ //# sourceMappingURL=chunk-DY3EJWWH.js.map
@@ -2,10 +2,10 @@ import {
2
2
  keptDuplicates,
3
3
  replacedRegistrations,
4
4
  reportSuperseded
5
- } from "./chunk-SDGV76HF.js";
5
+ } from "./chunk-76UAME77.js";
6
6
  import {
7
7
  rerenderEnvExample
8
- } from "./chunk-HTQWAQRW.js";
8
+ } from "./chunk-NJHUQSDH.js";
9
9
  import {
10
10
  carriedSeedRows,
11
11
  decodeBundle,
@@ -17,62 +17,62 @@ import {
17
17
  verifyPulledTree,
18
18
  withSourceIdentities,
19
19
  writeDocumentationTokens
20
- } from "./chunk-DXZTL7NA.js";
20
+ } from "./chunk-VL3JRW4S.js";
21
21
  import {
22
22
  ROUTES_MANIFEST_BASENAME
23
- } from "./chunk-LBJA7IEM.js";
23
+ } from "./chunk-O376UAZS.js";
24
24
  import {
25
25
  syncDigests
26
- } from "./chunk-JI3BLXWQ.js";
26
+ } from "./chunk-RB3UNDOE.js";
27
27
  import {
28
28
  fetchSourceArchive
29
- } from "./chunk-NV37YGOV.js";
29
+ } from "./chunk-LZ2E76UO.js";
30
30
  import {
31
31
  confirm
32
- } from "./chunk-7M6JP3FS.js";
32
+ } from "./chunk-HQPL34O6.js";
33
33
  import {
34
34
  recordSync,
35
35
  syncBranchLabel
36
- } from "./chunk-VAGSKUWC.js";
36
+ } from "./chunk-R3LANPQZ.js";
37
37
  import {
38
38
  decodeWorkspaceArchive,
39
39
  encodeWorkspaceArchive
40
40
  } from "./chunk-3DRXWLJ5.js";
41
41
  import {
42
42
  ensureSecretPathGitignored
43
- } from "./chunk-BZ6WTG3E.js";
43
+ } from "./chunk-AQ34CEDI.js";
44
44
  import {
45
45
  readVersion,
46
46
  refreshAgentGuidance
47
- } from "./chunk-DG3APBUJ.js";
47
+ } from "./chunk-XFHLOYUZ.js";
48
48
  import {
49
49
  WORKSPACE_ENV_BASENAME,
50
50
  WORKSPACE_ENV_EXAMPLE_BASENAME,
51
51
  namesInEnvExample,
52
52
  readWorkspaceEnvFile
53
- } from "./chunk-PV25BDCH.js";
53
+ } from "./chunk-UICFYANB.js";
54
54
  import {
55
55
  memoCredential,
56
56
  refuseProfileForLocal,
57
57
  selectBackend
58
- } from "./chunk-B2URJBC4.js";
58
+ } from "./chunk-VDG4UKGP.js";
59
59
  import {
60
60
  getAccessToken
61
- } from "./chunk-YH2JVJAO.js";
61
+ } from "./chunk-JZ4WNPKY.js";
62
62
  import {
63
63
  readLockFile,
64
64
  writeLockFile
65
65
  } from "./chunk-CJDPSCMX.js";
66
66
  import {
67
67
  requireBackendSlot
68
- } from "./chunk-PY722CHR.js";
68
+ } from "./chunk-VD7YTLWL.js";
69
69
  import {
70
70
  contextFlags
71
- } from "./chunk-3FRGNBOC.js";
71
+ } from "./chunk-6S263KTM.js";
72
72
  import {
73
73
  backendDirIn,
74
74
  resolveBackendDir
75
- } from "./chunk-5SCPRXFB.js";
75
+ } from "./chunk-64FL5VXX.js";
76
76
  import {
77
77
  CODEGEN_MARKER,
78
78
  DECODE_MARKER,
@@ -87,7 +87,7 @@ import {
87
87
  readDecodeRecord,
88
88
  removeEmptiedDirs,
89
89
  removeFiles
90
- } from "./chunk-DIWF7L33.js";
90
+ } from "./chunk-IXISAJ67.js";
91
91
  import {
92
92
  holdsProjectManifest
93
93
  } from "./chunk-HU7F56VF.js";
@@ -107,7 +107,7 @@ import {
107
107
  terminalText,
108
108
  warn,
109
109
  writeJson
110
- } from "./chunk-CH23ONYG.js";
110
+ } from "./chunk-C6KBZH7M.js";
111
111
  import {
112
112
  WORKSPACE_SECRETS_BASENAME
113
113
  } from "./chunk-3JDU4VRL.js";
@@ -319,7 +319,7 @@ async function runPullCommand(args) {
319
319
  });
320
320
  refuseDuplicateSourceGuids(project);
321
321
  const seedRows = carriedSeedRows(fetched.archive, bundle.payload);
322
- const { discoverManifestModules } = await import("./routes-manifest-file-LCIKPDAG.js");
322
+ const { discoverManifestModules } = await import("./routes-manifest-file-6MSRYJTC.js");
323
323
  const modules = await discoverManifestModules(cwd, join(cwd, backendDir, ROUTES_MANIFEST_BASENAME), readVersion());
324
324
  const placed = placeGeneratedFiles(project, backendDir, void 0, void 0, modules);
325
325
  const settings = source.kind === "release" ? keepProjectSettings(placed, backendDir, join(cwd, backendDir)) : { files: placed, kept: false, lost: [], from: WORKSPACE_SETTINGS_FILE };
@@ -440,7 +440,7 @@ async function runPullCommand(args) {
440
440
  );
441
441
  }
442
442
  if (args.yes !== true) {
443
- const { yesRerun } = await import("./retry-command-GL5HCMVB.js");
443
+ const { yesRerun } = await import("./retry-command-VZYLYDVX.js");
444
444
  const { rerun, note } = yesRerun(args, "pull");
445
445
  const ok = await confirm(`Replace ${backendDir}/ from ${fetched.label}?`, {
446
446
  flag: "--yes",
@@ -915,7 +915,7 @@ function envFillRemedy(kind, args, one = false) {
915
915
  return `fill ${them} in, or run \`xanosdk env pull${from}${flags}\`.`;
916
916
  }
917
917
  async function needsYes(args, head, why, details) {
918
- const { yesRerun } = await import("./retry-command-GL5HCMVB.js");
918
+ const { yesRerun } = await import("./retry-command-VZYLYDVX.js");
919
919
  const { rerun, note } = yesRerun(args, "pull");
920
920
  return new CliError("SDK_USAGE", `${head} Re-run as \`${rerun}\` ${why}.${note}`, {
921
921
  exitCode: 1,
@@ -944,4 +944,4 @@ export {
944
944
  projectWorkspaceName,
945
945
  envFillRemedy
946
946
  };
947
- //# sourceMappingURL=chunk-PEIBGH2V.js.map
947
+ //# sourceMappingURL=chunk-EFJBGKRK.js.map
@@ -3,7 +3,7 @@ import {
3
3
  HEADER_NAME,
4
4
  generated,
5
5
  literalText
6
- } from "./chunk-T4LJ5UR2.js";
6
+ } from "./chunk-6BOKCTCM.js";
7
7
  import {
8
8
  fl
9
9
  } from "./chunk-BEXZ4XRV.js";
@@ -238,4 +238,4 @@ export {
238
238
  TEST_EXPECT_TYPES,
239
239
  expect
240
240
  };
241
- //# sourceMappingURL=chunk-SKEG3V2V.js.map
241
+ //# sourceMappingURL=chunk-EKTIGGFO.js.map
@@ -127,4 +127,4 @@ export {
127
127
  engineOverrideFromEnv,
128
128
  resolveEngineSource
129
129
  };
130
- //# sourceMappingURL=chunk-A4R5CAY4.js.map
130
+ //# sourceMappingURL=chunk-F3IA3YWI.js.map
@@ -7,7 +7,7 @@ import {
7
7
  parsePathParams,
8
8
  queryKind,
9
9
  warnUnboundReturn
10
- } from "./chunk-VJFMUJWZ.js";
10
+ } from "./chunk-OHTHG3LL.js";
11
11
  import {
12
12
  workspaceKind
13
13
  } from "./chunk-6JAEMMZ7.js";
@@ -16,7 +16,7 @@ import {
16
16
  encodeMcpOauth,
17
17
  refuseUnknown,
18
18
  standaloneDefKind
19
- } from "./chunk-5QMJOE2K.js";
19
+ } from "./chunk-6ZFJEJXZ.js";
20
20
  import {
21
21
  resolveAuthRef
22
22
  } from "./chunk-45ZUMF4E.js";
@@ -68,7 +68,7 @@ import {
68
68
  registerSpec,
69
69
  resolveEnumValue,
70
70
  throwError
71
- } from "./chunk-T4LJ5UR2.js";
71
+ } from "./chunk-6BOKCTCM.js";
72
72
  import {
73
73
  assertCanonical,
74
74
  assertStoredName,
@@ -83,7 +83,7 @@ import {
83
83
  encodeExpression,
84
84
  encodeRuntimeCondition,
85
85
  tableKind
86
- } from "./chunk-SLGJIWCY.js";
86
+ } from "./chunk-B5N6EWOM.js";
87
87
  import {
88
88
  brandDef
89
89
  } from "./chunk-ERVIASGL.js";
@@ -99,7 +99,7 @@ import {
99
99
  } from "./chunk-WTPZRR4I.js";
100
100
  import {
101
101
  emitDiagnostic
102
- } from "./chunk-YHB34BN6.js";
102
+ } from "./chunk-YEH5OIPF.js";
103
103
  import {
104
104
  lockKey
105
105
  } from "./chunk-5KJBWIDZ.js";
@@ -3058,4 +3058,4 @@ export {
3058
3058
  serializeBundle,
3059
3059
  emitBundle
3060
3060
  };
3061
- //# sourceMappingURL=chunk-FQ53GTII.js.map
3061
+ //# sourceMappingURL=chunk-F5RPNTN7.js.map