@xano/sdk 1.0.5 → 1.0.7

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 (277) hide show
  1. package/CHANGELOG.md +35 -5
  2. package/README.md +56 -20
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-KVLR7M5Y.js → agent-file-refresh-DGGSRPJ4.js} +15 -14
  5. package/dist/agent-skill-command-37DFYS7Q.js +414 -0
  6. package/dist/{answer-shape-XGR2DGWY.js → answer-shape-RBFDCNZ7.js} +5 -5
  7. package/dist/{backend-dir-IE4RMUFH.js → backend-dir-KDD43X7K.js} +16 -15
  8. package/dist/{backend-slot-6HBWG5FN.js → backend-slot-TBOVZXDE.js} +4 -4
  9. package/dist/bin.js +63 -61
  10. package/dist/{branch-T2APKPVG.js → branch-7PIKNUD7.js} +12 -11
  11. package/dist/{branch-commands-HXXTCSOO.js → branch-commands-EGY7ZEZE.js} +32 -32
  12. package/dist/bundle.js +9 -39
  13. package/dist/{capture-HBXFXZEW.js → capture-GW5KNKMB.js} +3 -3
  14. package/dist/{chunk-3BJYQGAZ.js → chunk-26LHXLD3.js} +2 -2
  15. package/dist/{chunk-N6BWB35H.js → chunk-2ACWDSAQ.js} +3 -3
  16. package/dist/{chunk-XIABDKFQ.js → chunk-2SD4LA22.js} +2 -2
  17. package/dist/{chunk-K6PRKPFX.js → chunk-2XWVZRL6.js} +7 -7
  18. package/dist/{chunk-ES5A66IH.js → chunk-2YER2J47.js} +13 -13
  19. package/dist/{chunk-G57RYMKB.js → chunk-3FRGNBOC.js} +2 -2
  20. package/dist/{chunk-BMCZQZMI.js → chunk-46PATL23.js} +13 -9
  21. package/dist/{chunk-MYLPOVX6.js → chunk-47XT6WQL.js} +8 -8
  22. package/dist/{chunk-AWQ7BQTQ.js → chunk-4GPIOIAC.js} +6 -1
  23. package/dist/{chunk-7GX445AE.js → chunk-4XHAT7C5.js} +2 -2
  24. package/dist/{chunk-QOLOQ35F.js → chunk-567KK6XF.js} +8 -8
  25. package/dist/{chunk-57HMNJGB.js → chunk-5GIOCDUM.js} +893 -922
  26. package/dist/{chunk-OKNE3TWU.js → chunk-5KJBWIDZ.js} +83 -5
  27. package/dist/{chunk-SRX6B544.js → chunk-5QMJOE2K.js} +5 -5
  28. package/dist/{chunk-AGD7F7YI.js → chunk-5SCPRXFB.js} +4 -4
  29. package/dist/{chunk-SNGFEESM.js → chunk-5ZG7V2VW.js} +3 -3
  30. package/dist/{chunk-XJU6UAFV.js → chunk-7FIMUFBP.js} +2 -2
  31. package/dist/{chunk-AESE434J.js → chunk-7M6JP3FS.js} +2 -2
  32. package/dist/{chunk-K6CB5TKM.js → chunk-7REDHC4N.js} +2 -2
  33. package/dist/chunk-7VR4IO5B.js +44 -0
  34. package/dist/{chunk-57B56I4B.js → chunk-7XXWKTCE.js} +65 -41
  35. package/dist/{chunk-PL7AIAWS.js → chunk-A4R5CAY4.js} +4 -111
  36. package/dist/{chunk-QZTJ2556.js → chunk-AKERAUNH.js} +4 -4
  37. package/dist/{chunk-JZWUAEMO.js → chunk-ARWMVNDJ.js} +6 -3
  38. package/dist/{chunk-WYS6XVZ3.js → chunk-AVS4WPPY.js} +2 -2
  39. package/dist/{chunk-KUU7T4ZE.js → chunk-B2URJBC4.js} +18 -18
  40. package/dist/chunk-B3P25SDP.js +78 -0
  41. package/dist/chunk-BRANWM4U.js +853 -0
  42. package/dist/{chunk-BBPAXOU6.js → chunk-BSVQEKHO.js} +6 -6
  43. package/dist/{chunk-3WHWOKU4.js → chunk-BZ6WTG3E.js} +4 -4
  44. package/dist/{chunk-XNZURZ7T.js → chunk-CH23ONYG.js} +77 -6
  45. package/dist/{chunk-SQPIECXD.js → chunk-CJDPSCMX.js} +45 -5
  46. package/dist/{chunk-M7GJ6YUF.js → chunk-CNZASQPL.js} +16 -2
  47. package/dist/{chunk-44CWK6YC.js → chunk-CPN6WSBH.js} +4 -4
  48. package/dist/{chunk-L3BDO2BI.js → chunk-CT3J5JRZ.js} +7 -7
  49. package/dist/{chunk-3HOGFGKG.js → chunk-D3KEPRRN.js} +2 -2
  50. package/dist/{chunk-OGUMHW2X.js → chunk-D5OZRJ3T.js} +7 -7
  51. package/dist/{chunk-S5KQIFKJ.js → chunk-DG3APBUJ.js} +208 -112
  52. package/dist/chunk-DIWF7L33.js +995 -0
  53. package/dist/{chunk-WRBKLYSJ.js → chunk-DNBP4GJN.js} +4 -3
  54. package/dist/{chunk-LZDA6SVD.js → chunk-DXZTL7NA.js} +141 -91
  55. package/dist/{chunk-XMDDBEEM.js → chunk-E763QI3G.js} +2 -2
  56. package/dist/{chunk-3VX7VAQT.js → chunk-EF4MHLEW.js} +26 -9
  57. package/dist/{chunk-AGSCOISO.js → chunk-ELPQTDW6.js} +108 -100
  58. package/dist/{chunk-Q22BMRPF.js → chunk-EPFDY5JU.js} +2 -2
  59. package/dist/{chunk-7DBM6XHR.js → chunk-EU32BC5B.js} +8 -8
  60. package/dist/{chunk-Y76ERHLK.js → chunk-FDTET7FZ.js} +6 -6
  61. package/dist/{chunk-Z3SNX45M.js → chunk-FENA7K7C.js} +3 -3
  62. package/dist/{chunk-WOGJB2F6.js → chunk-FNLTFOUD.js} +4 -9
  63. package/dist/{chunk-FV55SRQU.js → chunk-FQ53GTII.js} +9 -9
  64. package/dist/{chunk-DEVGLLNZ.js → chunk-GHMLRFRX.js} +8 -8
  65. package/dist/{chunk-GMVW6ZZK.js → chunk-H2K4GFUS.js} +4 -4
  66. package/dist/{chunk-NUU76247.js → chunk-HTQWAQRW.js} +3 -3
  67. package/dist/{chunk-ROY4YAEQ.js → chunk-HU7F56VF.js} +22 -2
  68. package/dist/{chunk-RXCT3OCU.js → chunk-HZ6ADG3O.js} +47 -8
  69. package/dist/{chunk-Z2BRSQ6M.js → chunk-I6XRUU6U.js} +91 -64
  70. package/dist/chunk-IPNN2KRW.js +257 -0
  71. package/dist/{chunk-SF2B7MZK.js → chunk-IYXL5NYU.js} +259 -31
  72. package/dist/chunk-JI3BLXWQ.js +107 -0
  73. package/dist/{chunk-4DJTQ6W4.js → chunk-JIKGT7DO.js} +2 -1
  74. package/dist/{chunk-OVV2HXJ6.js → chunk-JOOKM7AH.js} +2 -2
  75. package/dist/{chunk-65SW2BA5.js → chunk-JOWY6HFL.js} +3 -3
  76. package/dist/{chunk-I5VEROXW.js → chunk-JX6N73H3.js} +2 -2
  77. package/dist/{chunk-5D6DGF3W.js → chunk-L472YIGG.js} +8 -8
  78. package/dist/{chunk-HLQH3AXB.js → chunk-L6HZ67P6.js} +2 -2
  79. package/dist/{chunk-TM5LRSBB.js → chunk-LBJA7IEM.js} +370 -45
  80. package/dist/chunk-LCOCRJ4K.js +116 -0
  81. package/dist/{chunk-DGWHAVRG.js → chunk-LJM5CIY4.js} +16 -1
  82. package/dist/{chunk-5RLAF6RL.js → chunk-M2C54ZBC.js} +4 -4
  83. package/dist/{chunk-U6DR6464.js → chunk-M3NEK3LT.js} +4 -4
  84. package/dist/{chunk-5XVBT6CQ.js → chunk-MBL7CXJ7.js} +2 -2
  85. package/dist/{chunk-5YBNXNKU.js → chunk-MFWF2NZJ.js} +12 -5
  86. package/dist/{chunk-TEBS7FE6.js → chunk-MYZRMSPM.js} +2 -2
  87. package/dist/{chunk-YSLMMR2U.js → chunk-N3YFCFCO.js} +14 -14
  88. package/dist/{chunk-OJPZEUPH.js → chunk-NDJAKSE7.js} +11 -8
  89. package/dist/{chunk-PIPIA7K7.js → chunk-NV37YGOV.js} +7 -7
  90. package/dist/{chunk-ZHGWR45B.js → chunk-O56DQKPL.js} +9 -9
  91. package/dist/{chunk-4QBGE3EO.js → chunk-ORGNLQN6.js} +6 -6
  92. package/dist/{chunk-NNB7VUCH.js → chunk-PEIBGH2V.js} +55 -31
  93. package/dist/{chunk-UJ6ZZJDD.js → chunk-PEX4QZVI.js} +2 -2
  94. package/dist/{chunk-LLS2WO2K.js → chunk-PV25BDCH.js} +5 -5
  95. package/dist/{chunk-F3557PVM.js → chunk-PY722CHR.js} +2 -2
  96. package/dist/{chunk-4GDEEY2U.js → chunk-QGIZLFAS.js} +4 -4
  97. package/dist/{chunk-YI76TURL.js → chunk-QRQ54LUI.js} +16 -14
  98. package/dist/{chunk-JQOX6HW4.js → chunk-RBU2YX22.js} +3 -3
  99. package/dist/{chunk-4NEBBKOP.js → chunk-RRMH7WMY.js} +7 -7
  100. package/dist/{chunk-HOOOOJJP.js → chunk-S46ODQRA.js} +2 -2
  101. package/dist/{chunk-37FBPMNE.js → chunk-S56YBYMN.js} +5 -2
  102. package/dist/{chunk-4QFBEKXI.js → chunk-SDGV76HF.js} +2 -2
  103. package/dist/{chunk-CV54PASI.js → chunk-SGK3PTTM.js} +312 -132
  104. package/dist/{chunk-S5TEJIGP.js → chunk-SKEG3V2V.js} +2 -2
  105. package/dist/{chunk-VZ22VUAS.js → chunk-SLGJIWCY.js} +3 -3
  106. package/dist/{chunk-JSEVKRVJ.js → chunk-T4LJ5UR2.js} +29 -7
  107. package/dist/{chunk-JXKO6JT7.js → chunk-TWVUYS63.js} +24 -24
  108. package/dist/{chunk-UIEFE6FU.js → chunk-U5M7T6CI.js} +7 -7
  109. package/dist/{chunk-Z4VN347O.js → chunk-UYFUIHH3.js} +2 -2
  110. package/dist/{chunk-Y6NO3DLQ.js → chunk-V7MBRUK6.js} +3 -3
  111. package/dist/chunk-VAGSKUWC.js +67 -0
  112. package/dist/{chunk-A4NNCI4O.js → chunk-VIJ5D3RC.js} +3 -3
  113. package/dist/{chunk-3IYVHVM6.js → chunk-VJFMUJWZ.js} +4 -4
  114. package/dist/{chunk-V4IBHDIY.js → chunk-VNDR2T35.js} +7 -7
  115. package/dist/chunk-WAVNUTMT.js +9 -0
  116. package/dist/{chunk-KQLACS4Q.js → chunk-WNCW2RNB.js} +4 -4
  117. package/dist/chunk-WUEPP5HD.js +111 -0
  118. package/dist/{chunk-IV446ZLJ.js → chunk-Y453TW6J.js} +2 -2
  119. package/dist/{local-engine-command-73NHWD6V.js → chunk-YCUDOF6Q.js} +22 -76
  120. package/dist/{chunk-CJ76PSJT.js → chunk-YH2JVJAO.js} +12 -12
  121. package/dist/{chunk-GPI3OWRE.js → chunk-YHB34BN6.js} +2 -1
  122. package/dist/{chunk-AMBEITWL.js → chunk-ZGLNHA7T.js} +7 -7
  123. package/dist/{chunk-NGAODDLX.js → chunk-ZJOAWRED.js} +8 -8
  124. package/dist/{chunk-TUEFTRC2.js → chunk-ZXRDD3Q2.js} +50 -27
  125. package/dist/cli.d.ts +40 -11
  126. package/dist/cli.js +60 -56
  127. package/dist/{codegen-command-L2OO6OTE.js → codegen-command-T7TC7PQO.js} +79 -72
  128. package/dist/codegen.d.ts +2 -2
  129. package/dist/codegen.js +2 -2
  130. package/dist/{commands-2E4JB3DB.js → commands-JDENTDJS.js} +3 -3
  131. package/dist/{completion-LPJIH5VQ.js → completion-YFD5OVJW.js} +9 -5
  132. package/dist/{config-QDCRKEWD.js → config-YJFUTRJW.js} +8 -8
  133. package/dist/{deploy-command-HJZNYCUY.js → deploy-command-OEVEE6UG.js} +65 -63
  134. package/dist/deploy-source-HYVZEYXV.js +83 -0
  135. package/dist/{dev-env-sync-GZ4QQJGV.js → dev-env-sync-EFDCJ6KU.js} +63 -61
  136. package/dist/{diagnostics-LSMGB4TY.js → diagnostics-OMN5Y2AH.js} +2 -2
  137. package/dist/{display-name-hint-AHCNH6TF.js → display-name-hint-SW3GB3V7.js} +14 -13
  138. package/dist/{emit-DqG6qddr.d.ts → emit-Dov_92kn.d.ts} +66 -20
  139. package/dist/env-example-refresh-WNSOH534.js +134 -0
  140. package/dist/{env-pull-command-Z4RLVEGJ.js → env-pull-command-UYEXMQ3P.js} +53 -52
  141. package/dist/{env-target-ZHQUS5BO.js → env-target-JBSLBKNX.js} +15 -14
  142. package/dist/{env-var-command-FKQ4VVQ6.js → env-var-command-BJNRAXNV.js} +51 -49
  143. package/dist/{ephemeral-L4KUOGEU.js → ephemeral-CEOGMIEA.js} +11 -10
  144. package/dist/{ephemeral-command-GRPFI3TD.js → ephemeral-command-IPSGBCS5.js} +70 -69
  145. package/dist/{ephemeral-state-VLYU2BXR.js → ephemeral-state-MTBASPRS.js} +13 -12
  146. package/dist/{generate-command-XNODJFDQ.js → generate-command-XQXODBS6.js} +96 -86
  147. package/dist/{gitignore-VWRSZX5F.js → gitignore-RUVCIZO4.js} +21 -20
  148. package/dist/{guards-OPSGB6LG.js → guards-KYEOCVHN.js} +6 -6
  149. package/dist/{impersonate-command-AEKIZHHK.js → impersonate-command-MA27O7S5.js} +46 -44
  150. package/dist/{import-PHSSFFLA.js → import-XKRFHABE.js} +5 -5
  151. package/dist/index.d.ts +14 -20
  152. package/dist/index.js +13 -13
  153. package/dist/init-command-6RDTCMAB.js +143 -0
  154. package/dist/{init-modules-SGSX7XEY.js → init-modules-DHTBOCQT.js} +10 -9
  155. package/dist/{init-web-6HX3YLQP.js → init-web-ELBXSXDL.js} +3 -3
  156. package/dist/internal.d.ts +5 -5
  157. package/dist/internal.js +47 -20
  158. package/dist/{io-TAF4WXYQ.js → io-PGTCBSIQ.js} +6 -4
  159. package/dist/{keep-data-merge-GUGF7MVZ.js → keep-data-merge-TDJOIAVT.js} +33 -34
  160. package/dist/{lambda-config-reconcile-65U6I4KU.js → lambda-config-reconcile-47X5C2E4.js} +6 -5
  161. package/dist/{landed-QA6PRTV2.js → landed-F7PCHGCK.js} +3 -3
  162. package/dist/{landing-record-FCAWLCZU.js → landing-record-TPPYFQAS.js} +26 -25
  163. package/dist/{live-diff-IM4W3ELT.js → live-diff-5E2BQWQ7.js} +9 -8
  164. package/dist/local-engine-choice-S6VHPJRU.js +81 -0
  165. package/dist/local-engine-command-4EZCGZ6M.js +85 -0
  166. package/dist/{local-engine-config-W3KB7RWM.js → local-engine-config-2EBL3QKA.js} +3 -2
  167. package/dist/{local-engine-deploy-Y4OAWL7K.js → local-engine-deploy-FOPNWU7X.js} +18 -16
  168. package/dist/local-engine-lookup-GM3E3NPP.js +43 -0
  169. package/dist/local-engine-mcp-bridge-QKZHUGW3.js +423 -0
  170. package/dist/local-engine-mcp-command-BFQVLXZC.js +181 -0
  171. package/dist/{local-engine-process-6YPJHKYM.js → local-engine-process-XUQPQENQ.js} +12 -9
  172. package/dist/{local-engine-state-OCW5YDD7.js → local-engine-state-JQPKGB65.js} +4 -3
  173. package/dist/{local-engine-update-check-X7TZGRFL.js → local-engine-update-check-S7UF6ZF5.js} +7 -6
  174. package/dist/{lock-WXXC3QHL.js → lock-HDCHD2ON.js} +4 -2
  175. package/dist/{lock-commands-PKDBNRSD.js → lock-commands-HJ6Y5QVS.js} +66 -64
  176. package/dist/{login-command-V4U4FA5G.js → login-command-JO55NZAS.js} +34 -33
  177. package/dist/{logout-command-TV3P545Z.js → logout-command-MPRIRSJA.js} +18 -17
  178. package/dist/{loop-VKHGQ6MP.js → loop-SUB6C2LK.js} +8 -9
  179. package/dist/{marketplace-command-LEFOAEAV.js → marketplace-command-BM6G257N.js} +90 -54
  180. package/dist/{marketplace-resolve-ME7O7JBJ.js → marketplace-resolve-AWH3RG57.js} +7 -6
  181. package/dist/{meta-client-TEEECA5W.js → meta-client-AOSWODQQ.js} +16 -15
  182. package/dist/{module-manifest-7YLGIRCY.js → module-manifest-GXI46PEF.js} +7 -4
  183. package/dist/node.d.ts +5 -5
  184. package/dist/node.js +68 -67
  185. package/dist/operation-outcome-4UKPXTNC.js +53 -0
  186. package/dist/{output-target-5FWX3NGZ.js → output-target-RAZ4KN5J.js} +22 -21
  187. package/dist/{package-manager-PRAHUSCN.js → package-manager-K762W7XT.js} +2 -2
  188. package/dist/{plan-disclosure-QGL5UYQR.js → plan-disclosure-JR52DWXN.js} +21 -21
  189. package/dist/{plugin-contributions-GNFTWDEB.js → plugin-contributions-E6XHLQWK.js} +6 -6
  190. package/dist/{plugin-prompt-VEQGMZ4T.js → plugin-prompt-IODX5EU6.js} +5 -5
  191. package/dist/{plugin-questions-BGRL23GO.js → plugin-questions-AAAJ7POP.js} +4 -4
  192. package/dist/plugin.d.ts +254 -10
  193. package/dist/{preflight-command-VKJKXRRI.js → preflight-command-7GKJBWOQ.js} +71 -70
  194. package/dist/{profile-command-P7A3BH26.js → profile-command-CM6J7E2M.js} +35 -34
  195. package/dist/{profile-pointer-HG7IXE4I.js → profile-pointer-KTYXL6FU.js} +5 -4
  196. package/dist/{project-dependency-Z4CKOCJI.js → project-dependency-OQ5575QQ.js} +11 -8
  197. package/dist/{project-sdk-JWZWGXXR.js → project-sdk-2ESHHZVL.js} +4 -4
  198. package/dist/promote-command-BDRPG6UU.js +147 -0
  199. package/dist/{prompt-SURZOUUW.js → prompt-MQPGU4ZI.js} +4 -4
  200. package/dist/{publish-command-HGAB3H4A.js → publish-command-IEMYZ7LF.js} +69 -67
  201. package/dist/pull-command-S5E2ABZ4.js +169 -0
  202. package/dist/{pull-superseded-TOT5S4QU.js → pull-superseded-E34BZVLH.js} +4 -4
  203. package/dist/{raw-where-EoWl5fqY.d.ts → raw-where-ZMLND6AG.d.ts} +20 -3
  204. package/dist/release-command-7F5TBKO2.js +151 -0
  205. package/dist/{release-ns-command-WOQE2BDQ.js → release-ns-command-EK2ZQ4CC.js} +101 -100
  206. package/dist/{retry-command-JRGMZZAC.js → retry-command-GL5HCMVB.js} +10 -9
  207. package/dist/{routes-manifest-URFMAWJE.js → routes-manifest-YR4ZIMLM.js} +15 -7
  208. package/dist/routes-manifest-file-LCIKPDAG.js +41 -0
  209. package/dist/scaffold.js +4 -4
  210. package/dist/secrets-IV4N5HYI.js +20 -0
  211. package/dist/{secrets-file-YWZWVJ52.js → secrets-file-LXREYU3M.js} +21 -20
  212. package/dist/{secrets-fill-command-HIHK3VH2.js → secrets-fill-command-QHZS3KWM.js} +64 -62
  213. package/dist/{seed-24DTEY5S.js → seed-FRKMDN2Z.js} +9 -9
  214. package/dist/{source-resolve-OWD3MIEO.js → source-resolve-BBHYTOXI.js} +26 -24
  215. package/dist/{static-host-UIR2OLPQ.js → static-host-7LC7OZR4.js} +5 -5
  216. package/dist/{status-command-JKTHH5QE.js → status-command-TY253MJT.js} +54 -52
  217. package/dist/{store-zxw2go0f.d.ts → store-Boba9OOh.d.ts} +2 -2
  218. package/dist/{store-5YAQS6KU.js → store-VJ3OS6VO.js} +8 -7
  219. package/dist/sync-baseline-DOV5AGIO.js +36 -0
  220. package/dist/{sync-contributions-RBB6JVOL.js → sync-contributions-63542VE4.js} +20 -12
  221. package/dist/sync-record-RGHK7EAL.js +43 -0
  222. package/dist/{table-MQFVYA4K.js → table-OAYGFGEN.js} +8 -8
  223. package/dist/{tables-command-5Q4BSUNO.js → tables-command-PZIVDAH3.js} +45 -43
  224. package/dist/{tenant-Q3LPVSSM.js → tenant-Y3II4VY3.js} +12 -11
  225. package/dist/{tenant-command-BFVU2PEX.js → tenant-command-G6XON7CF.js} +113 -107
  226. package/dist/{test-command-F4VUU4QR.js → test-command-3FZOX7O3.js} +44 -42
  227. package/dist/{tests-5ZSDFVIJ.js → tests-KF6N6BZ7.js} +6 -6
  228. package/dist/{token-TERSTNU4.js → token-DJJUW5HY.js} +14 -13
  229. package/dist/toolchain-hooks-7PWCFLSU.js +46 -0
  230. package/dist/{toolchain-modules-FD5ANV2U.js → toolchain-modules-OTNSKK52.js} +8 -5
  231. package/dist/toolchain-peers-KQ7TQ2AR.js +28 -0
  232. package/dist/tracked-backend-AJCGTO5Y.js +82 -0
  233. package/dist/{update-check-O4C2LCZH.js → update-check-4E5L6GAW.js} +61 -59
  234. package/dist/{upgrade-command-NVFWLMTA.js → upgrade-command-BXMSQN4C.js} +68 -64
  235. package/dist/{whoami-command-YKNTISIV.js → whoami-command-NLCCIEUM.js} +17 -16
  236. package/dist/{workspace-GGVGE2S5.js → workspace-PNMJOXE4.js} +5 -5
  237. package/dist/{workspace-binding-OS4ZOX4S.js → workspace-binding-J5GWDFRI.js} +16 -15
  238. package/dist/{workspace-command-GTUNVN7K.js → workspace-command-MHIIY352.js} +125 -93
  239. package/dist/{workspace-env-467C5KHM.js → workspace-env-LLRWCHSA.js} +17 -16
  240. package/dist/{workspace-export-3XTVGQVM.js → workspace-export-BIKAYHWJ.js} +5 -5
  241. package/dist/{writable-7SSWUQJ3.js → writable-UOTO4WWC.js} +4 -4
  242. package/dist/{xano-6RS5XQZE.js → xano-LCI7VWPS.js} +8 -8
  243. package/dist/{xanosdk-import-E3WSIYUE.js → xanosdk-import-S7A3CVBN.js} +8 -8
  244. package/dist/{xanosdk-project-KH5TZ2KI.js → xanosdk-project-J4VCFRHP.js} +18 -17
  245. package/guides/README.md +2 -2
  246. package/guides/cli.md +73 -4
  247. package/guides/codegen.md +23 -5
  248. package/guides/codes.md +8 -2
  249. package/guides/coverage.md +5 -0
  250. package/guides/deploying.md +80 -0
  251. package/guides/marketplace.md +21 -0
  252. package/guides/module-contract.md +80 -4
  253. package/guides/scaffold.md +61 -10
  254. package/guides/typed-frontend.md +37 -0
  255. package/llms/client.md +11 -1
  256. package/llms/filters.md +4 -0
  257. package/llms/kinds-core.md +1 -1
  258. package/llms/statements-data.md +3 -2
  259. package/llms/toolchain.md +12 -0
  260. package/llms-full.txt +34 -7
  261. package/llms.txt +3 -3
  262. package/manifest.json +63 -5
  263. package/package.json +5 -2
  264. package/skills/xano-backend/SKILL.md +119 -0
  265. package/dist/chunk-F6IKWAIU.js +0 -664
  266. package/dist/chunk-M6ZFSTIZ.js +0 -630
  267. package/dist/chunk-MEIJDRHU.js +0 -243
  268. package/dist/deploy-source-5COWTBOC.js +0 -81
  269. package/dist/env-example-refresh-DWQIOQYR.js +0 -127
  270. package/dist/init-command-TI3HCKXZ.js +0 -126
  271. package/dist/local-engine-choice-FPJAZSSD.js +0 -79
  272. package/dist/operation-outcome-GNDD35WL.js +0 -51
  273. package/dist/promote-command-KHTIK44I.js +0 -141
  274. package/dist/pull-command-EUEWBRXZ.js +0 -162
  275. package/dist/release-command-WOVQAMUY.js +0 -147
  276. package/dist/toolchain-hooks-QVUZ6HZ4.js +0 -96
  277. package/dist/tracked-backend-B4HTME4S.js +0 -80
@@ -1,16 +1,16 @@
1
1
  import {
2
- isAwaited,
3
- microserviceLine,
4
- readyRatio,
5
- waitForMicroservices
6
- } from "./chunk-U6DR6464.js";
2
+ openBrowser
3
+ } from "./chunk-FQOF7E2E.js";
7
4
  import {
8
5
  passwordHashesWarning,
9
6
  passwordOrigin
10
- } from "./chunk-7DBM6XHR.js";
7
+ } from "./chunk-EU32BC5B.js";
11
8
  import {
12
- openBrowser
13
- } from "./chunk-FQOF7E2E.js";
9
+ isAwaited,
10
+ microserviceLine,
11
+ readyRatio,
12
+ waitForMicroservices
13
+ } from "./chunk-M3NEK3LT.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-4NEBBKOP.js";
28
+ } from "./chunk-RRMH7WMY.js";
29
29
  import {
30
30
  HostedFilesUnresolvedError,
31
31
  ImportNotSentError,
32
32
  XanoSdkImportRefusal,
33
33
  xanosdkImport
34
- } from "./chunk-QOLOQ35F.js";
34
+ } from "./chunk-567KK6XF.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-S5KQIFKJ.js";
51
+ } from "./chunk-DG3APBUJ.js";
52
52
  import {
53
53
  recordDeployed
54
- } from "./chunk-HOOOOJJP.js";
54
+ } from "./chunk-S46ODQRA.js";
55
55
  import {
56
56
  lookupEphemeral
57
- } from "./chunk-JXKO6JT7.js";
57
+ } from "./chunk-TWVUYS63.js";
58
58
  import {
59
59
  getAccessToken
60
- } from "./chunk-CJ76PSJT.js";
60
+ } from "./chunk-YH2JVJAO.js";
61
61
  import {
62
62
  otherCredentialRefusal
63
- } from "./chunk-V4IBHDIY.js";
63
+ } from "./chunk-VNDR2T35.js";
64
64
  import {
65
65
  engineNameForProject,
66
66
  getEngineRecord
67
- } from "./chunk-Q22BMRPF.js";
67
+ } from "./chunk-EPFDY5JU.js";
68
+ import {
69
+ createEphemeral,
70
+ getEphemeral,
71
+ isEphemeralDisabled,
72
+ isExpired,
73
+ isUnansweredPoll,
74
+ listEphemeral,
75
+ namedEphemeral,
76
+ renameEphemeral,
77
+ waitUntilReady
78
+ } from "./chunk-AKERAUNH.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-4QBGE3EO.js";
92
+ } from "./chunk-ORGNLQN6.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-QZTJ2556.js";
93
96
  import {
94
97
  pipedYes,
95
98
  retryCommand,
96
99
  withheldNote,
97
100
  yesRerun
98
- } from "./chunk-Z4VN347O.js";
101
+ } from "./chunk-UYFUIHH3.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-G57RYMKB.js";
108
+ } from "./chunk-3FRGNBOC.js";
109
+ import {
110
+ SENT_AFTERMATH,
111
+ TransportError,
112
+ certificateFailureCode,
113
+ closeSentence,
114
+ withoutReadAftermath
115
+ } from "./chunk-L6HZ67P6.js";
106
116
  import {
107
117
  describeWrite,
108
118
  noteLanded
109
119
  } from "./chunk-4KHEMC32.js";
110
- import {
111
- readLockFile
112
- } from "./chunk-SQPIECXD.js";
113
120
  import {
114
121
  storedColumnsOf,
115
122
  withStoredColumns
116
- } from "./chunk-5YBNXNKU.js";
117
- import {
118
- SENT_AFTERMATH,
119
- TransportError,
120
- certificateFailureCode,
121
- closeSentence,
122
- withoutReadAftermath
123
- } from "./chunk-HLQH3AXB.js";
123
+ } from "./chunk-MFWF2NZJ.js";
124
124
  import {
125
125
  DEFAULT_PROFILE
126
126
  } from "./chunk-MF4W6FHU.js";
@@ -151,10 +151,10 @@ import {
151
151
  withSpinner,
152
152
  writeJson,
153
153
  writeTargetPayload
154
- } from "./chunk-XNZURZ7T.js";
154
+ } from "./chunk-CH23ONYG.js";
155
155
  import {
156
156
  codePinnedTables
157
- } from "./chunk-OKNE3TWU.js";
157
+ } from "./chunk-5KJBWIDZ.js";
158
158
  import {
159
159
  shellQuote
160
160
  } from "./chunk-5ZSO4T2G.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-UIR2OLPQ.js");
207
+ const { assertStaticDir, findSeedLeaks, StaticDirError } = await import("./static-host-7LC7OZR4.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-F4VUU4QR.js");
269
+ const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-3FZOX7O3.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-F4VUU4QR.js");
294
+ const { suiteCounts, testRow } = await import("./test-command-3FZOX7O3.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-F4VUU4QR.js");
299
- const { qualifiedName } = await import("./tests-5ZSDFVIJ.js");
298
+ const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-3FZOX7O3.js");
299
+ const { qualifiedName } = await import("./tests-KF6N6BZ7.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-467C5KHM.js");
342
+ const { defaultWorkspaceEnvPath } = await import("./workspace-env-LLRWCHSA.js");
343
343
  paths.push(defaultWorkspaceEnvPath(args.file));
344
344
  }
345
345
  if (args.secretsFile === void 0) {
346
- const { defaultWorkspaceSecretsPath } = await import("./secrets-file-YWZWVJ52.js");
346
+ const { defaultWorkspaceSecretsPath } = await import("./secrets-file-LXREYU3M.js");
347
347
  paths.push(defaultWorkspaceSecretsPath(args.file));
348
348
  }
349
- const { gitSaysIgnored } = await import("./store-5YAQS6KU.js");
350
- const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-VWRSZX5F.js");
349
+ const { gitSaysIgnored } = await import("./store-VJ3OS6VO.js");
350
+ const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-RUVCIZO4.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-VLYU2BXR.js");
419
+ const { readEphemeralState: readEphemeralState2 } = await import("./ephemeral-state-MTBASPRS.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-6HBWG5FN.js");
425
- const { resolveSource, describeBackend } = await import("./source-resolve-OWD3MIEO.js");
426
- const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-5COWTBOC.js");
424
+ const { requireBackendSlot, parseSlot } = await import("./backend-slot-TBOVZXDE.js");
425
+ const { resolveSource, describeBackend } = await import("./source-resolve-BBHYTOXI.js");
426
+ const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-HYVZEYXV.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-JRGMZZAC.js");
435
+ const { pipedYes: pipedYes2 } = await import("./retry-command-GL5HCMVB.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-Q3LPVSSM.js");
476
+ const { tenantHasWorkspace } = await import("./tenant-Y3II4VY3.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-WOVQAMUY.js");
501
+ const { runReleaseCommand } = await import("./release-command-7F5TBKO2.js");
502
502
  return runReleaseCommand(args, {
503
503
  base: resolved.target.base,
504
504
  workspaceId: resolved.target.workspaceId,
@@ -622,7 +622,7 @@ async function assertLocalEngineUsable(args, dest) {
622
622
  { hintFor: { command: "deploy" } }
623
623
  );
624
624
  }
625
- const { engineSourceRefusal, MISSING_ARCHIVE, resolveEnginePlatform, SUPPORTED_PLATFORMS } = await import("./local-engine-config-W3KB7RWM.js");
625
+ const { engineSourceRefusal, MISSING_ARCHIVE, resolveEnginePlatform, SUPPORTED_PLATFORMS } = await import("./local-engine-config-2EBL3QKA.js");
626
626
  const sourceRefusal = engineSourceRefusal(dest.downloadUrl);
627
627
  if (sourceRefusal !== void 0) {
628
628
  const Refusal = sourceRefusal.startsWith(MISSING_ARCHIVE) ? LocalFileNotFoundError : UsageError;
@@ -638,9 +638,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
638
638
  const { startedAt } = ctx;
639
639
  const dir = process.cwd();
640
640
  const fetchedSource = sourceCredential !== void 0 && args.file !== void 0 ? { credential: sourceCredential, spec: args.file } : void 0;
641
- const { discoverToolchainPlugins } = await import("./toolchain-modules-FD5ANV2U.js");
641
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-OTNSKK52.js");
642
642
  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-5COWTBOC.js").then(async (m) => {
643
+ const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-HYVZEYXV.js").then(async (m) => {
644
644
  const f = await m.fetchSourceArchive(fetchedSource.credential, fetchedSource.spec, dir);
645
645
  const decoded = decodeWorkspaceArchive(f.archive);
646
646
  noteReleaseCarriesNoEnv(fetchedSource.spec, m.gatedApiGroups(decoded));
@@ -683,7 +683,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
683
683
  }
684
684
  step(`Deploying ${shownSource} \u2192 Xano Engine`);
685
685
  {
686
- const { runBundleHooks } = await import("./toolchain-hooks-QVUZ6HZ4.js");
686
+ const { runBundleHooks } = await import("./toolchain-hooks-7PWCFLSU.js");
687
687
  const { readVersion } = await import("./cli.js");
688
688
  await runBundleHooks(
689
689
  toolchain.loaded,
@@ -701,9 +701,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
701
701
  "; nothing was deployed"
702
702
  );
703
703
  }
704
- const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-FPJAZSSD.js");
704
+ const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-S6VHPJRU.js");
705
705
  const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
706
- const { ensureProjectEngine } = await import("./local-engine-deploy-Y4OAWL7K.js");
706
+ const { ensureProjectEngine } = await import("./local-engine-deploy-FOPNWU7X.js");
707
707
  const pin = pinAfterAcquire(choice, dir);
708
708
  const flags = { keepData: args.keepData, reset: args.reset };
709
709
  const { engine, reused, previousUrl, hadRecord, priorFilled, engineVersion, replaced, sweptOrphans } = await withSpinner(
@@ -752,7 +752,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
752
752
  };
753
753
  try {
754
754
  if (arm.arm === "merge") {
755
- const { mergeKeepingData } = await import("./keep-data-merge-GUGF7MVZ.js");
755
+ const { mergeKeepingData } = await import("./keep-data-merge-TDJOIAVT.js");
756
756
  merged = await mergeKeepingData({
757
757
  auth: bearer,
758
758
  baseUrl: engine.url,
@@ -794,10 +794,10 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
794
794
  }
795
795
  } catch (err) {
796
796
  if (err instanceof XanoSdkImportRefusal && err.retryable) {
797
- const { importInProgressError } = await import("./keep-data-merge-GUGF7MVZ.js");
797
+ const { importInProgressError } = await import("./keep-data-merge-TDJOIAVT.js");
798
798
  throw importInProgressError(`Xano Engine ${engine.name}`, rerunOf(args), err);
799
799
  }
800
- const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-Y4OAWL7K.js");
800
+ const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-FOPNWU7X.js");
801
801
  const unsupported = explainUnsupportedEngineImport(err, engineVersion, {
802
802
  latest: await latestEngineRelease(err),
803
803
  resetRerun: arm.arm === "merge" ? `${rerunOf(args).command} --reset` : void 0
@@ -816,7 +816,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
816
816
  throw unsupported ?? err;
817
817
  }
818
818
  commitLock?.();
819
- const { markEngineFilled } = await import("./local-engine-state-OCW5YDD7.js");
819
+ const { markEngineFilled } = await import("./local-engine-state-JQPKGB65.js");
820
820
  markEngineFilled(dir, engine.url);
821
821
  const urlChanged = !reused || previousUrl !== engine.url;
822
822
  if (urlChanged) {
@@ -830,6 +830,13 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
830
830
  }
831
831
  detail(`Open the builder: ${engine.signInUrl}`);
832
832
  detail(`Meta API bearer (the local XANO_META_TOKEN): \`xanosdk local token\``);
833
+ if (engine.mcpUrl !== void 0) {
834
+ detail(`MCP server for coding agents: ${engine.mcpUrl} \u2014 connect one with \`xanosdk local mcp\``);
835
+ } else if (choice.override === void 0) {
836
+ detail("This engine serves no MCP server for coding agents; `xanosdk local update` moves the project to one that does.");
837
+ } else {
838
+ detail("This engine serves no MCP server for coding agents; choose a newer engine to get one.");
839
+ }
833
840
  detail(`Stop it with \`xanosdk local stop ${engine.name}\``);
834
841
  let staticSummary;
835
842
  if (args.static !== void 0) {
@@ -851,6 +858,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
851
858
  name: engine.name,
852
859
  workspaceId: engine.workspaceId,
853
860
  logPath: engine.logPath,
861
+ mcpUrl: engine.mcpUrl ?? null,
854
862
  ...engineVersion === void 0 ? {} : { engineVersion },
855
863
  pin: pin.outcome(),
856
864
  ...choice.override === void 0 ? {} : { override: choice.override }
@@ -909,7 +917,7 @@ async function publishStaticToLocalEngine(args, dir, engine, engineVersion) {
909
917
  }
910
918
  }
911
919
  async function parseDeploySource(raw) {
912
- const { requireBackendSlot, parseSlot } = await import("./backend-slot-6HBWG5FN.js");
920
+ const { requireBackendSlot, parseSlot } = await import("./backend-slot-TBOVZXDE.js");
913
921
  const source = parseSlot(requireBackendSlot("deploy", void 0, "subject"), raw);
914
922
  if (source.kind === "file") throw new Error(`Internal: "${raw}" parsed as a bundle path on the fetch arm.`);
915
923
  return source;
@@ -1109,15 +1117,15 @@ async function runDeploy(args) {
1109
1117
  if (args.reset && !args.keepData) {
1110
1118
  info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
1111
1119
  }
1112
- const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-5COWTBOC.js");
1120
+ const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-HYVZEYXV.js");
1113
1121
  const fetching = args.file !== void 0 && looksLikeSource(args.file);
1114
1122
  const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
1115
1123
  if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
1116
1124
  if (destination.kind === "local") {
1117
1125
  refuseSameEngine(sourceSpec, process.cwd());
1118
- const { refuseProfileForLocal } = await import("./tracked-backend-B4HTME4S.js");
1126
+ const { refuseProfileForLocal } = await import("./tracked-backend-AJCGTO5Y.js");
1119
1127
  refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind], void 0, {});
1120
- const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-FPJAZSSD.js");
1128
+ const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-S6VHPJRU.js");
1121
1129
  refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind]);
1122
1130
  }
1123
1131
  if (!fetching) {
@@ -1133,7 +1141,7 @@ async function runDeploy(args) {
1133
1141
  }
1134
1142
  refuseMissingStaticDir(args);
1135
1143
  if (destination.kind === "local") {
1136
- const { memoCredential } = await import("./tracked-backend-B4HTME4S.js");
1144
+ const { memoCredential } = await import("./tracked-backend-AJCGTO5Y.js");
1137
1145
  return deployToLocalEngine(
1138
1146
  args,
1139
1147
  destination,
@@ -1145,7 +1153,7 @@ async function runDeploy(args) {
1145
1153
  const auth = await getAccessToken(args);
1146
1154
  refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
1147
1155
  await noteRunScopeFor(auth);
1148
- const { discoverToolchainPlugins } = await import("./toolchain-modules-FD5ANV2U.js");
1156
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-OTNSKK52.js");
1149
1157
  const toolchain = await discoverToolchainPlugins(process.cwd(), {
1150
1158
  frozen: args.frozenLock === true
1151
1159
  });
@@ -1189,7 +1197,7 @@ async function runDeploy(args) {
1189
1197
  );
1190
1198
  }
1191
1199
  {
1192
- const { runBundleHooks } = await import("./toolchain-hooks-QVUZ6HZ4.js");
1200
+ const { runBundleHooks } = await import("./toolchain-hooks-7PWCFLSU.js");
1193
1201
  const { readVersion } = await import("./cli.js");
1194
1202
  await runBundleHooks(
1195
1203
  toolchain.loaded,
@@ -1279,9 +1287,9 @@ async function runDeploy(args) {
1279
1287
  }).finally(() => noteLanded(void 0));
1280
1288
  if (staticSummary !== void 0) summary.static = staticSummary;
1281
1289
  if (summary.ephemeral !== void 0) {
1282
- const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-FCAWLCZU.js");
1290
+ const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-TPPYFQAS.js");
1283
1291
  const dest = { kind: "ephemeral", name: summary.ephemeral.name };
1284
- const { storedColumnsAfter } = await import("./live-diff-IM4W3ELT.js");
1292
+ const { storedColumnsAfter } = await import("./live-diff-5E2BQWQ7.js");
1285
1293
  const sent = JSON.parse(bundle);
1286
1294
  const stored = summary.data === "kept" ? removedOut.storedColumns : storedColumnsAfter(sent, void 0, /* @__PURE__ */ new Map(), "rebuild");
1287
1295
  if (fetching || args.bundle !== void 0) {
@@ -1296,7 +1304,7 @@ async function runDeploy(args) {
1296
1304
  ...removedOut.removedGuids !== void 0 ? { removedGuids: removedOut.removedGuids, removedBy: "merge" } : {}
1297
1305
  });
1298
1306
  } else {
1299
- const { landedIdentities } = await import("./landed-QA6PRTV2.js");
1307
+ const { landedIdentities } = await import("./landed-F7PCHGCK.js");
1300
1308
  summary.landingRecord = recordLanding({
1301
1309
  lockPath: landingLockPath(args, { ...args.file !== void 0 ? { entryFile: args.file } : {}, fromProject: false }),
1302
1310
  instance: auth.instance,
@@ -1343,7 +1351,7 @@ async function runDeploy(args) {
1343
1351
  async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
1344
1352
  if (args.noDevEnv || summary.url === void 0) return;
1345
1353
  if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
1346
- const { staleDevEnv } = await import("./dev-env-sync-GZ4QQJGV.js");
1354
+ const { staleDevEnv } = await import("./dev-env-sync-EFDCJ6KU.js");
1347
1355
  let stale;
1348
1356
  try {
1349
1357
  stale = staleDevEnv(cwd, summary.url);
@@ -1357,7 +1365,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
1357
1365
  }
1358
1366
  return;
1359
1367
  }
1360
- const { syncDevEnv } = await import("./dev-env-sync-GZ4QQJGV.js");
1368
+ const { syncDevEnv } = await import("./dev-env-sync-EFDCJ6KU.js");
1361
1369
  try {
1362
1370
  const written = syncDevEnv(cwd, summary.url);
1363
1371
  if (written === void 0) return;
@@ -1457,22 +1465,22 @@ function rerunOf(args) {
1457
1465
  return { command: retry.command, note: withheldNote(retry.withheld) };
1458
1466
  }
1459
1467
  async function latestEngineRelease(err) {
1460
- const { ImportHttpError } = await import("./import-PHSSFFLA.js");
1468
+ const { ImportHttpError } = await import("./import-XKRFHABE.js");
1461
1469
  if (!(err instanceof ImportHttpError) || err.status !== 501) return void 0;
1462
- const { resolveEnginePlatform } = await import("./local-engine-config-W3KB7RWM.js");
1470
+ const { resolveEnginePlatform } = await import("./local-engine-config-2EBL3QKA.js");
1463
1471
  const platform = resolveEnginePlatform();
1464
1472
  if (platform === void 0) return void 0;
1465
- const { latestKnownVersion } = await import("./local-engine-update-check-X7TZGRFL.js");
1473
+ const { latestKnownVersion } = await import("./local-engine-update-check-S7UF6ZF5.js");
1466
1474
  return latestKnownVersion({ platform });
1467
1475
  }
1468
1476
  async function mergeGuards(args, lock, outgoing) {
1469
1477
  const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
1470
- const pinned = outgoing === void 0 ? [] : (await import("./release-command-WOVQAMUY.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
1478
+ const pinned = outgoing === void 0 ? [] : (await import("./release-command-7F5TBKO2.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
1471
1479
  const guards = {
1472
1480
  ...pinned.length > 0 ? { pinned } : {},
1473
1481
  allowForeignDeletes: args.yes === true,
1474
1482
  ...interactive ? {
1475
- confirm: async (q) => (await import("./prompt-SURZOUUW.js")).confirm(q, {
1483
+ confirm: async (q) => (await import("./prompt-MQPGU4ZI.js")).confirm(q, {
1476
1484
  flag: "--yes",
1477
1485
  refusal: { details: { deployed: false }, ...yesRerun(args, "deploy") }
1478
1486
  })
@@ -1488,7 +1496,7 @@ async function mergeGuards(args, lock, outgoing) {
1488
1496
  for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
1489
1497
  }
1490
1498
  const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
1491
- const { clearReplacedCommand } = await import("./keep-data-merge-GUGF7MVZ.js");
1499
+ const { clearReplacedCommand } = await import("./keep-data-merge-TDJOIAVT.js");
1492
1500
  const lockPath = resolveLockPath(args, entry);
1493
1501
  const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
1494
1502
  const keys = Object.keys(lock.objects);
@@ -1727,9 +1735,9 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
1727
1735
  { exitCode: 1, details: { reason: "needs-confirmation", ...details } }
1728
1736
  );
1729
1737
  }
1730
- const { confirm } = await import("./prompt-SURZOUUW.js");
1738
+ const { confirm } = await import("./prompt-MQPGU4ZI.js");
1731
1739
  if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
1732
- const { KeepDataDeclined } = await import("./keep-data-merge-GUGF7MVZ.js");
1740
+ const { KeepDataDeclined } = await import("./keep-data-merge-TDJOIAVT.js");
1733
1741
  throw new KeepDataDeclined(label, "deployed");
1734
1742
  }
1735
1743
  function recordedEntry(file) {
@@ -1764,7 +1772,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
1764
1772
  { hintFor: { command: "deploy" } }
1765
1773
  );
1766
1774
  if (refusal === void 0) return;
1767
- const { reachableFirst } = await import("./env-target-ZHQUS5BO.js");
1775
+ const { reachableFirst } = await import("./env-target-JBSLBKNX.js");
1768
1776
  throw await reachableFirst(refusal, auth);
1769
1777
  }
1770
1778
  async function refuseKeepDataElsewhere(state, auth) {
@@ -1778,7 +1786,7 @@ async function refuseKeepDataElsewhere(state, auth) {
1778
1786
  { hintFor: { command: "deploy" } }
1779
1787
  );
1780
1788
  if (refusal === void 0) return;
1781
- const { reachableFirst } = await import("./env-target-ZHQUS5BO.js");
1789
+ const { reachableFirst } = await import("./env-target-JBSLBKNX.js");
1782
1790
  throw await reachableFirst(refusal, auth);
1783
1791
  }
1784
1792
  async function reconcileRename(err, auth, name, display) {
@@ -1813,7 +1821,7 @@ If no deploy is running in this project, its guard was left behind: remove \`${s
1813
1821
  }
1814
1822
  async function deployEphemeral(auth, ctx) {
1815
1823
  const dir = process.cwd();
1816
- const { assertReadWritable } = await import("./writable-7SSWUQJ3.js");
1824
+ const { assertReadWritable } = await import("./writable-UOTO4WWC.js");
1817
1825
  assertReadWritable(ephemeralStatePath(dir));
1818
1826
  const guard = await takeCreateGuard(dir, ctx.args);
1819
1827
  try {
@@ -1832,7 +1840,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
1832
1840
  };
1833
1841
  const parentWorkspaceId = auth.workspaceId;
1834
1842
  const dir = process.cwd();
1835
- const { assertReadWritable, assertWritable } = await import("./writable-7SSWUQJ3.js");
1843
+ const { assertReadWritable, assertWritable } = await import("./writable-UOTO4WWC.js");
1836
1844
  assertReadWritable(ephemeralStatePath(dir));
1837
1845
  if (ctx.lockPath !== void 0) assertWritable(ctx.lockPath, "build without a lock with `--no-lock`");
1838
1846
  const state = readEphemeralState(dir);
@@ -1890,7 +1898,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
1890
1898
  }).finally(() => creating?.clear()).catch(async (err) => {
1891
1899
  if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
1892
1900
  if (err.status === 404) {
1893
- const { refuseUnreachableWorkspace } = await import("./workspace-binding-OS4ZOX4S.js");
1901
+ const { refuseUnreachableWorkspace } = await import("./workspace-binding-J5GWDFRI.js");
1894
1902
  await refuseUnreachableWorkspace(auth);
1895
1903
  }
1896
1904
  throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
@@ -1958,7 +1966,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
1958
1966
  if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
1959
1967
  else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
1960
1968
  if (arm.arm === "replace") {
1961
- const { gateForeignReplace } = await import("./keep-data-merge-GUGF7MVZ.js");
1969
+ const { gateForeignReplace } = await import("./keep-data-merge-TDJOIAVT.js");
1962
1970
  const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
1963
1971
  await gateForeignReplace({
1964
1972
  auth,
@@ -2030,7 +2038,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
2030
2038
  let merged;
2031
2039
  try {
2032
2040
  if (arm.arm === "merge") {
2033
- const { mergeKeepingData } = await import("./keep-data-merge-GUGF7MVZ.js");
2041
+ const { mergeKeepingData } = await import("./keep-data-merge-TDJOIAVT.js");
2034
2042
  merged = await mergeKeepingData({
2035
2043
  auth,
2036
2044
  baseUrl,
@@ -2084,11 +2092,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
2084
2092
  if (!lockCommitted) ctx.warnOrphansUncommitted?.();
2085
2093
  if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
2086
2094
  if (err instanceof XanoSdkImportRefusal && err.retryable) {
2087
- const { importInProgressError } = await import("./keep-data-merge-GUGF7MVZ.js");
2095
+ const { importInProgressError } = await import("./keep-data-merge-TDJOIAVT.js");
2088
2096
  const retry = retryCommand(args);
2089
2097
  throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
2090
2098
  }
2091
- const { withSignatureHint } = await import("./release-command-WOVQAMUY.js");
2099
+ const { withSignatureHint } = await import("./release-command-7F5TBKO2.js");
2092
2100
  importFailure = withSignatureHint(err, args.bundle);
2093
2101
  }
2094
2102
  if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
@@ -2252,7 +2260,7 @@ ${createdButFailedNote(target.name, unknown, args, landedUnresolved, { futile })
2252
2260
  };
2253
2261
  }
2254
2262
  async function deployStaticTo(dir, auth, target, env, explicit, host, skipLiveness, routing, dirLabel, opts = {}) {
2255
- const { deployStaticHost } = await import("./static-host-UIR2OLPQ.js");
2263
+ const { deployStaticHost } = await import("./static-host-7LC7OZR4.js");
2256
2264
  const where = target.label && target.label !== "" ? target.label : `workspace #${target.workspaceId}`;
2257
2265
  if (target.announced !== true) step(`Deploying static frontend ${dir} \u2192 ${where}${host ? ` (host: ${host})` : ""}`);
2258
2266
  const sh = await describeWrite(
@@ -2382,4 +2390,4 @@ export {
2382
2390
  unknownCreateOutcome,
2383
2391
  deployStaticTo
2384
2392
  };
2385
- //# sourceMappingURL=chunk-AGSCOISO.js.map
2393
+ //# sourceMappingURL=chunk-ELPQTDW6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  localEngineHome
3
- } from "./chunk-PL7AIAWS.js";
3
+ } from "./chunk-A4R5CAY4.js";
4
4
  import {
5
5
  filledAt,
6
6
  withValidFilled
@@ -141,4 +141,4 @@ export {
141
141
  clearEngineRecordsNamed,
142
142
  clearEngineRecordsStillMatching
143
143
  };
144
- //# sourceMappingURL=chunk-Q22BMRPF.js.map
144
+ //# sourceMappingURL=chunk-EPFDY5JU.js.map
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  DEFAULT_BRANCH_LABEL
3
- } from "./chunk-5RLAF6RL.js";
3
+ } from "./chunk-M2C54ZBC.js";
4
4
  import {
5
5
  assertOneName
6
- } from "./chunk-A4NNCI4O.js";
6
+ } from "./chunk-VIJ5D3RC.js";
7
7
  import {
8
8
  LookupFailedError,
9
9
  isUnansweredLookup,
10
10
  lookupFailed,
11
11
  unansweredCause
12
- } from "./chunk-JXKO6JT7.js";
12
+ } from "./chunk-TWVUYS63.js";
13
13
  import {
14
14
  findRelease
15
- } from "./chunk-3BJYQGAZ.js";
15
+ } from "./chunk-26LHXLD3.js";
16
16
  import {
17
17
  contextFlags
18
- } from "./chunk-G57RYMKB.js";
18
+ } from "./chunk-3FRGNBOC.js";
19
19
  import {
20
20
  fetchOrExplain,
21
21
  parseJsonAnswer,
22
22
  safeHttpFailure
23
- } from "./chunk-HLQH3AXB.js";
23
+ } from "./chunk-L6HZ67P6.js";
24
24
  import {
25
25
  UsageError,
26
26
  safeText
27
- } from "./chunk-XNZURZ7T.js";
27
+ } from "./chunk-CH23ONYG.js";
28
28
 
29
29
  // src/deploy/audit-log.ts
30
30
  var TIMEOUT_MS = 3e4;
@@ -215,4 +215,4 @@ export {
215
215
  readUnanswered,
216
216
  lookupRelease
217
217
  };
218
- //# sourceMappingURL=chunk-7DBM6XHR.js.map
218
+ //# sourceMappingURL=chunk-EU32BC5B.js.map