@xano/sdk 1.0.4 → 1.0.5

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 (239) hide show
  1. package/CHANGELOG.md +17 -5
  2. package/README.md +232 -334
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-LB6KIMFY.js → agent-file-refresh-KVLR7M5Y.js} +13 -13
  5. package/dist/{answer-shape-LVV2SVBK.js → answer-shape-XGR2DGWY.js} +5 -5
  6. package/dist/{backend-dir-WZADOK3L.js → backend-dir-IE4RMUFH.js} +12 -12
  7. package/dist/{backend-slot-NSCTWCUX.js → backend-slot-6HBWG5FN.js} +3 -3
  8. package/dist/bin.js +52 -52
  9. package/dist/{branch-ONWPJ4V6.js → branch-T2APKPVG.js} +9 -9
  10. package/dist/{branch-commands-ZT2MJIRS.js → branch-commands-HXXTCSOO.js} +26 -26
  11. package/dist/{capture-3JNUA6C2.js → capture-HBXFXZEW.js} +4 -4
  12. package/dist/{chunk-A6QTTJUI.js → chunk-3BJYQGAZ.js} +2 -2
  13. package/dist/{chunk-5W7DOMIU.js → chunk-3IYVHVM6.js} +2 -2
  14. package/dist/{chunk-S7E2AHV3.js → chunk-3VX7VAQT.js} +4 -4
  15. package/dist/{chunk-Y2ZLKBM6.js → chunk-3WHWOKU4.js} +4 -4
  16. package/dist/{chunk-LXNQWHZM.js → chunk-44CWK6YC.js} +3 -3
  17. package/dist/{chunk-KCAL4QYP.js → chunk-4GDEEY2U.js} +4 -4
  18. package/dist/{chunk-KTGRGWZW.js → chunk-4NEBBKOP.js} +7 -7
  19. package/dist/{chunk-UKUIUS3E.js → chunk-4QBGE3EO.js} +5 -5
  20. package/dist/{chunk-IVKRT476.js → chunk-4QFBEKXI.js} +2 -2
  21. package/dist/{chunk-OOXWYAA4.js → chunk-57A5ZKPO.js} +1 -1
  22. package/dist/{chunk-2B22WWKL.js → chunk-57B56I4B.js} +29 -29
  23. package/dist/{chunk-OPHB5ORL.js → chunk-57HMNJGB.js} +120 -76
  24. package/dist/{chunk-O5V3YH5P.js → chunk-5D6DGF3W.js} +8 -8
  25. package/dist/{chunk-E65QIWOO.js → chunk-5RLAF6RL.js} +4 -4
  26. package/dist/{chunk-MEE5RZ6G.js → chunk-5XVBT6CQ.js} +2 -2
  27. package/dist/{chunk-RX3EMQGN.js → chunk-5YBNXNKU.js} +2 -2
  28. package/dist/{chunk-NA3PXMEF.js → chunk-64WWE3EF.js} +1 -1
  29. package/dist/{chunk-2LVTBPW2.js → chunk-65SW2BA5.js} +3 -3
  30. package/dist/{chunk-ET5DSBAC.js → chunk-7DBM6XHR.js} +8 -8
  31. package/dist/{chunk-DIG3NITC.js → chunk-A4NNCI4O.js} +3 -3
  32. package/dist/{chunk-4APOHK7Y.js → chunk-AESE434J.js} +2 -2
  33. package/dist/{chunk-E6H5ZEV3.js → chunk-AGD7F7YI.js} +3 -3
  34. package/dist/{chunk-44B4V2LR.js → chunk-AGSCOISO.js} +139 -139
  35. package/dist/{chunk-MLGI2SRQ.js → chunk-AMBEITWL.js} +4 -4
  36. package/dist/{chunk-5T2CTWTB.js → chunk-BBPAXOU6.js} +5 -5
  37. package/dist/{chunk-5WGVIXMD.js → chunk-BMCZQZMI.js} +4 -4
  38. package/dist/{chunk-LUTMOHOW.js → chunk-CJ76PSJT.js} +9 -9
  39. package/dist/{chunk-D5ZEAF4G.js → chunk-CV54PASI.js} +53 -50
  40. package/dist/{chunk-MLPDSGJQ.js → chunk-DEVGLLNZ.js} +5 -5
  41. package/dist/{chunk-JTUKLCXS.js → chunk-DXUICABI.js} +1 -1
  42. package/dist/{chunk-C4FHQA7R.js → chunk-ES5A66IH.js} +8 -8
  43. package/dist/{chunk-UDE5C2XN.js → chunk-F3557PVM.js} +3 -3
  44. package/dist/{chunk-HUSH7LRI.js → chunk-F6IKWAIU.js} +21 -17
  45. package/dist/{chunk-II747OWE.js → chunk-FV55SRQU.js} +7 -7
  46. package/dist/{chunk-SEUCZZCP.js → chunk-G57RYMKB.js} +3 -3
  47. package/dist/{chunk-MNVDVR3M.js → chunk-GMVW6ZZK.js} +4 -4
  48. package/dist/{chunk-MN2PB6WB.js → chunk-HLQH3AXB.js} +3 -3
  49. package/dist/{chunk-HSEQYBDO.js → chunk-HOOOOJJP.js} +3 -3
  50. package/dist/{chunk-IXUPUFCG.js → chunk-I5VEROXW.js} +2 -2
  51. package/dist/{chunk-UI4OPTYR.js → chunk-IV446ZLJ.js} +2 -2
  52. package/dist/{chunk-CYB7UQA2.js → chunk-JQOX6HW4.js} +5 -5
  53. package/dist/{chunk-OPG4DYX2.js → chunk-JSEVKRVJ.js} +3 -3
  54. package/dist/{chunk-2AUV6NXK.js → chunk-JXKO6JT7.js} +36 -36
  55. package/dist/{chunk-FPBGAT5D.js → chunk-JZWUAEMO.js} +3 -3
  56. package/dist/{chunk-6R7S775T.js → chunk-K6CB5TKM.js} +2 -2
  57. package/dist/{chunk-MCTIKRMN.js → chunk-K6PRKPFX.js} +8 -8
  58. package/dist/{chunk-W5ONYLOP.js → chunk-KQLACS4Q.js} +4 -4
  59. package/dist/{chunk-LIVN53UV.js → chunk-KUU7T4ZE.js} +31 -31
  60. package/dist/{chunk-WFMVKY7I.js → chunk-L3BDO2BI.js} +9 -9
  61. package/dist/{chunk-664LSWE5.js → chunk-LLS2WO2K.js} +4 -4
  62. package/dist/{chunk-ESZ2FF57.js → chunk-LZDA6SVD.js} +46 -45
  63. package/dist/{chunk-UCQ2VUTG.js → chunk-M6ZFSTIZ.js} +2 -2
  64. package/dist/{chunk-DYG5D3FD.js → chunk-M7GJ6YUF.js} +2 -2
  65. package/dist/{chunk-XXZZGXW2.js → chunk-MEIJDRHU.js} +2 -2
  66. package/dist/{chunk-QXTKSOFI.js → chunk-MF4W6FHU.js} +1 -1
  67. package/dist/{chunk-3FN2BIGB.js → chunk-MYLPOVX6.js} +6 -6
  68. package/dist/{chunk-FJWZ5OVV.js → chunk-N6BWB35H.js} +3 -3
  69. package/dist/{chunk-T4DUFQ2S.js → chunk-NGAODDLX.js} +5 -5
  70. package/dist/{chunk-7PMVIHB3.js → chunk-NNB7VUCH.js} +23 -23
  71. package/dist/{chunk-6VBTPV2Y.js → chunk-NUU76247.js} +3 -3
  72. package/dist/{chunk-ZG7E72VI.js → chunk-OGUMHW2X.js} +6 -6
  73. package/dist/{chunk-I2BGYNHD.js → chunk-OJPZEUPH.js} +7 -7
  74. package/dist/{chunk-OOGXZL7Z.js → chunk-OKNE3TWU.js} +2 -2
  75. package/dist/{chunk-KUTFFHUM.js → chunk-OVV2HXJ6.js} +2 -2
  76. package/dist/{chunk-VRVKNY4A.js → chunk-PIPIA7K7.js} +8 -8
  77. package/dist/{chunk-AM4FKL4J.js → chunk-PL7AIAWS.js} +12 -12
  78. package/dist/{chunk-WL2DSNJV.js → chunk-Q22BMRPF.js} +2 -2
  79. package/dist/{chunk-IJ3SXSZM.js → chunk-QOLOQ35F.js} +6 -6
  80. package/dist/{chunk-BUECLQXK.js → chunk-QZTJ2556.js} +4 -4
  81. package/dist/{chunk-O7QOWS6M.js → chunk-RXCT3OCU.js} +12 -12
  82. package/dist/{chunk-WYEQFD6A.js → chunk-S5KQIFKJ.js} +122 -98
  83. package/dist/{chunk-CBYQ2ZN3.js → chunk-S5TEJIGP.js} +2 -2
  84. package/dist/{chunk-HMLGM2MW.js → chunk-SF2B7MZK.js} +3 -3
  85. package/dist/{chunk-PML67X22.js → chunk-SNGFEESM.js} +3 -3
  86. package/dist/{chunk-VD32O6KZ.js → chunk-SQPIECXD.js} +3 -3
  87. package/dist/{chunk-5YL5OC2G.js → chunk-SRX6B544.js} +5 -5
  88. package/dist/{chunk-CFSFBKHP.js → chunk-TEBS7FE6.js} +2 -2
  89. package/dist/{chunk-TTVAHCWP.js → chunk-TM5LRSBB.js} +2 -2
  90. package/dist/{chunk-JP7M7OU7.js → chunk-TUEFTRC2.js} +5 -5
  91. package/dist/{chunk-EWCDPFW5.js → chunk-U6DR6464.js} +4 -4
  92. package/dist/{chunk-QAEQGT5I.js → chunk-UIEFE6FU.js} +7 -7
  93. package/dist/{chunk-3H3EPMFY.js → chunk-UJ6ZZJDD.js} +2 -2
  94. package/dist/{chunk-3P3HXN76.js → chunk-V4IBHDIY.js} +11 -11
  95. package/dist/{chunk-XNCP4KYO.js → chunk-VQPDATQT.js} +1 -1
  96. package/dist/{chunk-4PQHO74B.js → chunk-VZ22VUAS.js} +2 -2
  97. package/dist/{chunk-BUJRS7XB.js → chunk-WYS6XVZ3.js} +2 -2
  98. package/dist/{chunk-QV3GXQRE.js → chunk-XIABDKFQ.js} +2 -2
  99. package/dist/{chunk-EESV6NU2.js → chunk-XJU6UAFV.js} +2 -2
  100. package/dist/{chunk-SBR2WZXG.js → chunk-XNZURZ7T.js} +59 -52
  101. package/dist/{chunk-WFG67AYS.js → chunk-Y6NO3DLQ.js} +3 -3
  102. package/dist/{chunk-37AHZ7JX.js → chunk-Y76ERHLK.js} +5 -5
  103. package/dist/{chunk-HHW5AWVD.js → chunk-YI76TURL.js} +30 -30
  104. package/dist/{chunk-OGBMUST4.js → chunk-YSLMMR2U.js} +14 -14
  105. package/dist/{chunk-45YPFB7B.js → chunk-Z2BRSQ6M.js} +49 -49
  106. package/dist/{chunk-D64XUF5Q.js → chunk-Z3SNX45M.js} +16 -16
  107. package/dist/{chunk-FMOEVAGT.js → chunk-Z4VN347O.js} +3 -3
  108. package/dist/{chunk-L2GLOJAO.js → chunk-ZHGWR45B.js} +22 -22
  109. package/dist/cli.d.ts +20 -18
  110. package/dist/cli.js +50 -50
  111. package/dist/{codegen-command-HTWIW56U.js → codegen-command-L2OO6OTE.js} +63 -63
  112. package/dist/{commands-CVFYC4GK.js → commands-2E4JB3DB.js} +2 -2
  113. package/dist/{completion-AUEQC4XJ.js → completion-LPJIH5VQ.js} +11 -11
  114. package/dist/{config-JU6OQC77.js → config-QDCRKEWD.js} +4 -4
  115. package/dist/{deploy-command-5WTFHMBT.js → deploy-command-HJZNYCUY.js} +57 -57
  116. package/dist/{deploy-source-5CET3A5D.js → deploy-source-5COWTBOC.js} +34 -34
  117. package/dist/{dev-env-sync-X636HLMK.js → dev-env-sync-GZ4QQJGV.js} +51 -51
  118. package/dist/{display-name-hint-DMORHANO.js → display-name-hint-AHCNH6TF.js} +11 -11
  119. package/dist/{emit-hOFbgzde.d.ts → emit-DqG6qddr.d.ts} +2 -2
  120. package/dist/env-example-refresh-DWQIOQYR.js +127 -0
  121. package/dist/{env-pull-command-WZZ7RL2E.js → env-pull-command-Z4RLVEGJ.js} +46 -46
  122. package/dist/{env-target-PO3MOLH5.js → env-target-ZHQUS5BO.js} +13 -13
  123. package/dist/{env-var-command-YKTJZFJN.js → env-var-command-FKQ4VVQ6.js} +47 -47
  124. package/dist/{ephemeral-BMFY55BQ.js → ephemeral-L4KUOGEU.js} +9 -9
  125. package/dist/{ephemeral-command-VDSQCOYL.js → ephemeral-command-GRPFI3TD.js} +47 -47
  126. package/dist/{ephemeral-state-6TY4JIPA.js → ephemeral-state-VLYU2BXR.js} +11 -11
  127. package/dist/{generate-command-3NTNRQRS.js → generate-command-XNODJFDQ.js} +68 -68
  128. package/dist/{gitignore-FWPEDX6C.js → gitignore-VWRSZX5F.js} +16 -16
  129. package/dist/{guards-EJU2ONAX.js → guards-OPSGB6LG.js} +5 -5
  130. package/dist/{hosted-file-PSHJB3HX.js → hosted-file-S7YUQAH6.js} +2 -2
  131. package/dist/{impersonate-command-QEJA72Q2.js → impersonate-command-AEKIZHHK.js} +40 -40
  132. package/dist/{import-TBTOTU52.js → import-PHSSFFLA.js} +5 -5
  133. package/dist/index.d.ts +4 -4
  134. package/dist/index.js +10 -10
  135. package/dist/{init-command-27SFBW2F.js → init-command-TI3HCKXZ.js} +55 -55
  136. package/dist/{init-modules-HZRQFRLE.js → init-modules-SGSX7XEY.js} +9 -9
  137. package/dist/{init-web-Y2PBNJTQ.js → init-web-6HX3YLQP.js} +2 -2
  138. package/dist/internal.d.ts +4 -4
  139. package/dist/internal.js +24 -25
  140. package/dist/{io-ZUKAGFVE.js → io-TAF4WXYQ.js} +5 -5
  141. package/dist/{keep-data-merge-X5LDDCI3.js → keep-data-merge-GUGF7MVZ.js} +28 -28
  142. package/dist/{lambda-config-reconcile-OUZ4OYAB.js → lambda-config-reconcile-65U6I4KU.js} +3 -3
  143. package/dist/{landed-6VO7CX5P.js → landed-QA6PRTV2.js} +4 -4
  144. package/dist/{landing-record-QYECWLQ5.js → landing-record-FCAWLCZU.js} +22 -22
  145. package/dist/{live-diff-2S7E3SBZ.js → live-diff-IM4W3ELT.js} +5 -5
  146. package/dist/local-engine-choice-FPJAZSSD.js +79 -0
  147. package/dist/{local-engine-command-HMTQK7MN.js → local-engine-command-73NHWD6V.js} +92 -92
  148. package/dist/{local-engine-config-5U3SC434.js → local-engine-config-W3KB7RWM.js} +2 -2
  149. package/dist/{local-engine-deploy-TXAOYRGF.js → local-engine-deploy-Y4OAWL7K.js} +16 -16
  150. package/dist/{local-engine-process-6VZ7JJBP.js → local-engine-process-6YPJHKYM.js} +11 -11
  151. package/dist/{local-engine-state-TJWPWCC4.js → local-engine-state-OCW5YDD7.js} +3 -3
  152. package/dist/{local-engine-update-check-R5SPDVEJ.js → local-engine-update-check-X7TZGRFL.js} +7 -7
  153. package/dist/{lock-TS465GVY.js → lock-WXXC3QHL.js} +3 -3
  154. package/dist/{lock-commands-4VT3L5W5.js → lock-commands-PKDBNRSD.js} +55 -55
  155. package/dist/{login-command-O6WA4FYL.js → login-command-V4U4FA5G.js} +27 -27
  156. package/dist/{logout-command-6CPWGFY2.js → logout-command-TV3P545Z.js} +16 -16
  157. package/dist/{loop-UFHKSOQ4.js → loop-VKHGQ6MP.js} +6 -6
  158. package/dist/{marketplace-command-HKACSYKS.js → marketplace-command-LEFOAEAV.js} +30 -30
  159. package/dist/{marketplace-resolve-KLFYVRWS.js → marketplace-resolve-ME7O7JBJ.js} +7 -7
  160. package/dist/{meta-client-73PX6UGJ.js → meta-client-TEEECA5W.js} +14 -14
  161. package/dist/{module-manifest-GIKFNXPE.js → module-manifest-7YLGIRCY.js} +3 -3
  162. package/dist/node.d.ts +4 -4
  163. package/dist/node.js +56 -56
  164. package/dist/operation-outcome-GNDD35WL.js +51 -0
  165. package/dist/{output-target-SZMBNYF4.js → output-target-5FWX3NGZ.js} +17 -17
  166. package/dist/{plan-disclosure-BHYG7TZ7.js → plan-disclosure-QGL5UYQR.js} +16 -16
  167. package/dist/{plugin-contributions-X4V22PJQ.js → plugin-contributions-GNFTWDEB.js} +4 -4
  168. package/dist/{plugin-prompt-DKNQHW6Y.js → plugin-prompt-VEQGMZ4T.js} +4 -4
  169. package/dist/{plugin-questions-CQRVOWFK.js → plugin-questions-BGRL23GO.js} +3 -3
  170. package/dist/{preflight-command-EBQ6XQF3.js → preflight-command-VKJKXRRI.js} +63 -63
  171. package/dist/{profile-command-NPKBJYPM.js → profile-command-P7A3BH26.js} +29 -29
  172. package/dist/{profile-pointer-UOO7JNFG.js → profile-pointer-HG7IXE4I.js} +4 -4
  173. package/dist/{profile-select-74TRDEPD.js → profile-select-45G5VPJK.js} +2 -2
  174. package/dist/{project-dependency-RRMTWOPC.js → project-dependency-Z4CKOCJI.js} +8 -8
  175. package/dist/{project-sdk-FOR4IOXL.js → project-sdk-JWZWGXXR.js} +3 -3
  176. package/dist/promote-command-KHTIK44I.js +141 -0
  177. package/dist/{prompt-5GUQTCSP.js → prompt-SURZOUUW.js} +3 -3
  178. package/dist/{publish-command-LGLZBOCB.js → publish-command-HGAB3H4A.js} +131 -60
  179. package/dist/{pull-command-WQFPLITW.js → pull-command-EUEWBRXZ.js} +66 -66
  180. package/dist/{pull-superseded-GGURV5J3.js → pull-superseded-TOT5S4QU.js} +3 -3
  181. package/dist/{release-command-2OTNVMIL.js → release-command-WOVQAMUY.js} +64 -64
  182. package/dist/{release-ns-command-EIBN3JVM.js → release-ns-command-WOQE2BDQ.js} +87 -87
  183. package/dist/{retry-command-Y5YJGOH3.js → retry-command-JRGMZZAC.js} +8 -8
  184. package/dist/{routes-manifest-3BNZIVST.js → routes-manifest-URFMAWJE.js} +5 -5
  185. package/dist/scaffold.js +2 -2
  186. package/dist/{secrets-file-FUG7WCES.js → secrets-file-YWZWVJ52.js} +16 -16
  187. package/dist/{secrets-fill-command-QEOCUOAY.js → secrets-fill-command-HIHK3VH2.js} +54 -54
  188. package/dist/{seed-GJHJSEUE.js → seed-24DTEY5S.js} +7 -7
  189. package/dist/{source-resolve-DMDZVPMM.js → source-resolve-OWD3MIEO.js} +23 -23
  190. package/dist/{static-host-WM24RG25.js → static-host-UIR2OLPQ.js} +9 -9
  191. package/dist/{status-command-XUH5OGQX.js → status-command-JKTHH5QE.js} +53 -53
  192. package/dist/{store-MR7IKXKK.js → store-5YAQS6KU.js} +6 -6
  193. package/dist/{store-CfgPaVPO.d.ts → store-zxw2go0f.d.ts} +3 -3
  194. package/dist/sveltekit.d.ts +5 -5
  195. package/dist/sveltekit.js +1 -1
  196. package/dist/{sync-contributions-DHP7XSTX.js → sync-contributions-RBB6JVOL.js} +9 -9
  197. package/dist/{table-ZBDPKMNH.js → table-MQFVYA4K.js} +8 -8
  198. package/dist/{tables-command-X3JK7VSK.js → tables-command-5Q4BSUNO.js} +39 -39
  199. package/dist/{tenant-GKXMOYLK.js → tenant-Q3LPVSSM.js} +10 -10
  200. package/dist/{tenant-command-P27EQHBU.js → tenant-command-BFVU2PEX.js} +84 -84
  201. package/dist/{test-command-A4G2FP7G.js → test-command-F4VUU4QR.js} +40 -40
  202. package/dist/{tests-C55M5EQS.js → tests-5ZSDFVIJ.js} +6 -6
  203. package/dist/{token-CMAB35GD.js → token-TERSTNU4.js} +12 -12
  204. package/dist/{toolchain-hooks-BGZBDFAT.js → toolchain-hooks-QVUZ6HZ4.js} +2 -2
  205. package/dist/{toolchain-modules-3M7QDJBV.js → toolchain-modules-FD5ANV2U.js} +5 -5
  206. package/dist/tracked-backend-B4HTME4S.js +80 -0
  207. package/dist/{update-check-LNNKIMML.js → update-check-O4C2LCZH.js} +53 -53
  208. package/dist/{upgrade-command-7EUXML3P.js → upgrade-command-NVFWLMTA.js} +56 -56
  209. package/dist/{whoami-command-KNWFWAX6.js → whoami-command-YKNTISIV.js} +15 -15
  210. package/dist/{workspace-TGPYOODG.js → workspace-GGVGE2S5.js} +5 -5
  211. package/dist/{workspace-binding-2TWZBHQY.js → workspace-binding-OS4ZOX4S.js} +14 -14
  212. package/dist/{workspace-command-T7Z2BDHD.js → workspace-command-GTUNVN7K.js} +77 -77
  213. package/dist/{workspace-env-VA7XN3UX.js → workspace-env-467C5KHM.js} +13 -13
  214. package/dist/{workspace-export-AIGM6LC7.js → workspace-export-3XTVGQVM.js} +5 -5
  215. package/dist/{writable-FYJBTJOU.js → writable-7SSWUQJ3.js} +3 -3
  216. package/dist/{xano-BSHYVFSE.js → xano-6RS5XQZE.js} +7 -7
  217. package/dist/{xanosdk-import-J6SRBZHW.js → xanosdk-import-E3WSIYUE.js} +9 -9
  218. package/dist/{xanosdk-project-6KTCO47O.js → xanosdk-project-KH5TZ2KI.js} +14 -14
  219. package/guides/README.md +1 -0
  220. package/guides/authoring.md +3 -5
  221. package/guides/bundle.md +45 -0
  222. package/guides/cli.md +32 -30
  223. package/guides/codegen.md +5 -4
  224. package/guides/codes.md +9 -9
  225. package/guides/deploying.md +63 -58
  226. package/guides/environment.md +13 -13
  227. package/guides/project-structure.md +14 -0
  228. package/llms/client.md +3 -4
  229. package/llms/errors.md +1 -1
  230. package/llms/tests.md +2 -2
  231. package/llms-full.txt +14 -15
  232. package/llms.txt +8 -8
  233. package/manifest.json +110 -107
  234. package/package.json +4 -4
  235. package/dist/env-example-refresh-ZO6XAV44.js +0 -127
  236. package/dist/local-engine-choice-6BSPEG3E.js +0 -79
  237. package/dist/operation-outcome-2P4BVSEV.js +0 -51
  238. package/dist/promote-command-4F2NAE6P.js +0 -141
  239. package/dist/tracked-backend-PZGUWD5J.js +0 -80
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  confirm
3
- } from "./chunk-4APOHK7Y.js";
3
+ } from "./chunk-AESE434J.js";
4
4
  import {
5
5
  discloseCanonicalMoves,
6
6
  movesClause,
7
7
  releaseCanonicalMoves
8
- } from "./chunk-5T2CTWTB.js";
8
+ } from "./chunk-BBPAXOU6.js";
9
9
  import {
10
10
  exportWorkspaceBundle
11
- } from "./chunk-QV3GXQRE.js";
11
+ } from "./chunk-XIABDKFQ.js";
12
12
  import {
13
13
  DEFAULT_BRANCH_LABEL,
14
14
  deleteBranch,
@@ -17,22 +17,22 @@ import {
17
17
  liveBranchLabel,
18
18
  requireBranch,
19
19
  setLiveBranch
20
- } from "./chunk-E65QIWOO.js";
20
+ } from "./chunk-5RLAF6RL.js";
21
21
  import {
22
22
  sectionKind
23
- } from "./chunk-HMLGM2MW.js";
23
+ } from "./chunk-SF2B7MZK.js";
24
24
  import {
25
25
  assertOneName
26
- } from "./chunk-DIG3NITC.js";
26
+ } from "./chunk-A4NNCI4O.js";
27
27
  import {
28
28
  getAccessToken
29
- } from "./chunk-LUTMOHOW.js";
29
+ } from "./chunk-CJ76PSJT.js";
30
30
  import {
31
31
  pipedYes
32
- } from "./chunk-FMOEVAGT.js";
32
+ } from "./chunk-Z4VN347O.js";
33
33
  import {
34
34
  contextFlags
35
- } from "./chunk-SEUCZZCP.js";
35
+ } from "./chunk-G57RYMKB.js";
36
36
  import {
37
37
  shellWord
38
38
  } from "./chunk-FWD7AL6N.js";
@@ -56,7 +56,7 @@ import {
56
56
  warn,
57
57
  writeJson,
58
58
  writeTargetPayload
59
- } from "./chunk-SBR2WZXG.js";
59
+ } from "./chunk-XNZURZ7T.js";
60
60
  import {
61
61
  suggestAll
62
62
  } from "./chunk-UTI5G6OJ.js";
@@ -139,7 +139,7 @@ async function runBranchCommand(args) {
139
139
  const workspaceId = auth.workspaceId;
140
140
  const target = { baseUrl: auth.instance, workspaceId };
141
141
  const { branches, unaddressable } = await listBranchListing(auth, target).catch(async (err) => {
142
- const { unansweredRead } = await import("./source-resolve-DMDZVPMM.js");
142
+ const { unansweredRead } = await import("./source-resolve-OWD3MIEO.js");
143
143
  throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
144
144
  });
145
145
  if (verb === "list") {
@@ -161,7 +161,7 @@ async function runBranchCommand(args) {
161
161
  const meant = near.map((n) => `Did you mean "${safeText(n)}"? \`xanosdk workspace branch delete ${shellWord(n)}${again}\` deletes it, after asking to confirm.`);
162
162
  const branchesLine = known !== "" ? [`Its branches: ${known}.`] : [];
163
163
  if (near.length > 0) {
164
- const { SourceError } = await import("./source-resolve-DMDZVPMM.js");
164
+ const { SourceError } = await import("./source-resolve-OWD3MIEO.js");
165
165
  throw new SourceError([missed, ...meant, ...branchesLine].join("\n"), "gone", "workspace", near[0], near.length > 1 ? near : void 0);
166
166
  }
167
167
  warn(missed, "branch.not-found", branchesLine);
@@ -280,7 +280,7 @@ Check what is serving with \`xanosdk workspace branch list${contextFlags()}\`, t
280
280
  }
281
281
  if (args.expectLive !== void 0) {
282
282
  const now = await listBranchListing(auth, target).catch(async (err) => {
283
- const { unansweredRead } = await import("./source-resolve-DMDZVPMM.js");
283
+ const { unansweredRead } = await import("./source-resolve-OWD3MIEO.js");
284
284
  throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
285
285
  });
286
286
  const drift = liveMismatch(now, args.expectLive);
@@ -424,4 +424,4 @@ export {
424
424
  liveBranchMismatch,
425
425
  staleSchemaRefs
426
426
  };
427
- //# sourceMappingURL=chunk-OGBMUST4.js.map
427
+ //# sourceMappingURL=chunk-YSLMMR2U.js.map
@@ -9,40 +9,40 @@ import {
9
9
  staticRetryHint,
10
10
  unknownStaticOutcome,
11
11
  warnStaticTeardown
12
- } from "./chunk-KTGRGWZW.js";
12
+ } from "./chunk-4NEBBKOP.js";
13
13
  import {
14
14
  shownLabel
15
- } from "./chunk-OGBMUST4.js";
15
+ } from "./chunk-YSLMMR2U.js";
16
16
  import {
17
17
  confirm,
18
18
  needsConfirmation
19
- } from "./chunk-4APOHK7Y.js";
19
+ } from "./chunk-AESE434J.js";
20
20
  import {
21
21
  landedRecordFor,
22
22
  landingLockPath,
23
23
  recordForeignLanding,
24
24
  recordLanding
25
- } from "./chunk-C4FHQA7R.js";
25
+ } from "./chunk-ES5A66IH.js";
26
26
  import {
27
27
  assertStorageModesKept,
28
28
  discloseCanonicalMoves,
29
29
  movesClause,
30
30
  storageChangesPayload
31
- } from "./chunk-5T2CTWTB.js";
31
+ } from "./chunk-BBPAXOU6.js";
32
32
  import {
33
33
  listTables,
34
34
  tableRowCounter,
35
35
  tableRowIds
36
- } from "./chunk-MNVDVR3M.js";
36
+ } from "./chunk-GMVW6ZZK.js";
37
37
  import {
38
38
  XANOSDK_IMPORT_CONFLICT_CODE,
39
39
  XANOSDK_IMPORT_UNIQUENESS_CODE,
40
40
  XanoSdkImportRefusal,
41
41
  xanosdkImport
42
- } from "./chunk-IJ3SXSZM.js";
42
+ } from "./chunk-QOLOQ35F.js";
43
43
  import {
44
44
  archiveSeedContent
45
- } from "./chunk-VRVKNY4A.js";
45
+ } from "./chunk-PIPIA7K7.js";
46
46
  import {
47
47
  encodeWorkspaceArchive
48
48
  } from "./chunk-3DRXWLJ5.js";
@@ -55,7 +55,7 @@ import {
55
55
  listBranchListing,
56
56
  liveBranchLabel,
57
57
  setLiveBranch
58
- } from "./chunk-E65QIWOO.js";
58
+ } from "./chunk-5RLAF6RL.js";
59
59
  import {
60
60
  compareToLive,
61
61
  envValuesOf,
@@ -66,38 +66,38 @@ import {
66
66
  sharedSchemaChanges,
67
67
  storedColumnsAfter,
68
68
  uniqueIndexLabels
69
- } from "./chunk-HMLGM2MW.js";
69
+ } from "./chunk-SF2B7MZK.js";
70
70
  import {
71
71
  assertBundleFile,
72
72
  assertBundleInput,
73
73
  loadBundleText,
74
74
  resolveLockPath
75
- } from "./chunk-WYEQFD6A.js";
75
+ } from "./chunk-S5KQIFKJ.js";
76
76
  import {
77
77
  LookupFailedError,
78
78
  isUnansweredLookup,
79
79
  unansweredCause
80
- } from "./chunk-2AUV6NXK.js";
80
+ } from "./chunk-JXKO6JT7.js";
81
81
  import {
82
82
  isSignatureRefusal
83
- } from "./chunk-MEE5RZ6G.js";
83
+ } from "./chunk-5XVBT6CQ.js";
84
84
  import {
85
85
  getAccessToken
86
- } from "./chunk-LUTMOHOW.js";
86
+ } from "./chunk-CJ76PSJT.js";
87
87
  import {
88
88
  ephemeralLandedOn
89
- } from "./chunk-UKUIUS3E.js";
89
+ } from "./chunk-4QBGE3EO.js";
90
90
  import {
91
91
  pipedYes,
92
92
  retryCommand,
93
93
  withheldNote
94
- } from "./chunk-FMOEVAGT.js";
94
+ } from "./chunk-Z4VN347O.js";
95
95
  import {
96
96
  contextFlags
97
- } from "./chunk-SEUCZZCP.js";
97
+ } from "./chunk-G57RYMKB.js";
98
98
  import {
99
99
  backendDirIn
100
- } from "./chunk-E6H5ZEV3.js";
100
+ } from "./chunk-AGD7F7YI.js";
101
101
  import {
102
102
  shellWord
103
103
  } from "./chunk-FWD7AL6N.js";
@@ -106,10 +106,10 @@ import {
106
106
  } from "./chunk-4KHEMC32.js";
107
107
  import {
108
108
  seedRowsByTableGuid
109
- } from "./chunk-37AHZ7JX.js";
109
+ } from "./chunk-Y76ERHLK.js";
110
110
  import {
111
111
  readLockFile
112
- } from "./chunk-VD32O6KZ.js";
112
+ } from "./chunk-SQPIECXD.js";
113
113
  import {
114
114
  destinationKey,
115
115
  groupNames,
@@ -118,11 +118,11 @@ import {
118
118
  landedKeyForRow,
119
119
  storedColumnsOf,
120
120
  withStoredColumns
121
- } from "./chunk-RX3EMQGN.js";
121
+ } from "./chunk-5YBNXNKU.js";
122
122
  import {
123
123
  TransportError,
124
124
  isTimeoutError
125
- } from "./chunk-MN2PB6WB.js";
125
+ } from "./chunk-HLQH3AXB.js";
126
126
  import {
127
127
  CliError,
128
128
  EXIT_OUTCOME_UNKNOWN,
@@ -142,11 +142,11 @@ import {
142
142
  warn,
143
143
  writeJson,
144
144
  writeTargetPayload
145
- } from "./chunk-SBR2WZXG.js";
145
+ } from "./chunk-XNZURZ7T.js";
146
146
  import {
147
147
  calcSignatureJson,
148
148
  signatureHolds
149
- } from "./chunk-EESV6NU2.js";
149
+ } from "./chunk-XJU6UAFV.js";
150
150
  import {
151
151
  safeNames
152
152
  } from "./chunk-GSGDWJB5.js";
@@ -157,7 +157,7 @@ import {
157
157
  lockKey,
158
158
  lockNameForObject,
159
159
  sdkKindName2 as sdkKindName
160
- } from "./chunk-OOGXZL7Z.js";
160
+ } from "./chunk-OKNE3TWU.js";
161
161
  import {
162
162
  shellQuote
163
163
  } from "./chunk-5ZSO4T2G.js";
@@ -630,7 +630,7 @@ function isTransientReadFailure(err) {
630
630
  return isUnansweredLookup(err);
631
631
  }
632
632
  async function readLive(auth, dest, branch) {
633
- const { exportWorkspaceBundle } = await import("./workspace-export-AIGM6LC7.js");
633
+ const { exportWorkspaceBundle } = await import("./workspace-export-3XTVGQVM.js");
634
634
  let failure;
635
635
  for (let attempt = 0; attempt <= LIVE_READ_RETRY_PAUSES_MS.length; attempt++) {
636
636
  try {
@@ -737,7 +737,7 @@ function targetIsEmpty(live) {
737
737
  async function convergedWithLive(live, req, outgoingBundle, pinned) {
738
738
  if (live === void 0 || req.mode !== "merge") return false;
739
739
  if (req.records === true || req.truncate === true) return false;
740
- const { compareToLive: compareToLive2 } = await import("./live-diff-2S7E3SBZ.js");
740
+ const { compareToLive: compareToLive2 } = await import("./live-diff-IM4W3ELT.js");
741
741
  let result;
742
742
  try {
743
743
  result = compareToLive2(
@@ -758,7 +758,7 @@ async function convergedWithLive(live, req, outgoingBundle, pinned) {
758
758
  async function unchangedWithLive(live, req, outgoingBundle, pinned) {
759
759
  if (live === void 0 || req.mode !== "merge") return void 0;
760
760
  if (req.records === true || req.truncate === true) return void 0;
761
- const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-2S7E3SBZ.js");
761
+ const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-IM4W3ELT.js");
762
762
  try {
763
763
  const outgoing = JSON.parse(outgoingBundle);
764
764
  const result = compareToLive2(outgoing, live, new Set(pinned.map((p) => `${p.payloadKey}:${p.name}`)), {
@@ -786,7 +786,7 @@ function markUnchanged(presented, unchanged, noun) {
786
786
  }
787
787
  var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
788
788
  async function replaceCommandHint(args) {
789
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-5WTFHMBT.js");
789
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-HJZNYCUY.js");
790
790
  const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
791
791
  const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
792
792
  const argv = [];
@@ -817,7 +817,7 @@ function landingTableFields(losses) {
817
817
  };
818
818
  }
819
819
  async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "workspace", fromBundle = false, replaceHint = "`xanosdk deploy <source> --to <destination> --replace`.", noun = "workspace", failure, stored) {
820
- const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-BHYG7TZ7.js");
820
+ const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-QGL5UYQR.js");
821
821
  const none = {
822
822
  ...tableEffectFields(NO_TABLE_EFFECTS),
823
823
  renamedTables: [],
@@ -836,7 +836,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "worksp
836
836
  blank();
837
837
  return none;
838
838
  }
839
- const { diffAgainstLive, tableAdditions } = await import("./live-diff-2S7E3SBZ.js");
839
+ const { diffAgainstLive, tableAdditions } = await import("./live-diff-IM4W3ELT.js");
840
840
  let diff;
841
841
  let additions;
842
842
  try {
@@ -1551,7 +1551,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
1551
1551
  const held = guidsOf(live);
1552
1552
  const codePinned = codePinnedTables(outgoingDoc, lock, classified);
1553
1553
  const { orphanFixUps } = await import("./cli.js");
1554
- const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-X5LDDCI3.js");
1554
+ const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-GUGF7MVZ.js");
1555
1555
  const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
1556
1556
  const out = [];
1557
1557
  const seen = /* @__PURE__ */ new Set();
@@ -1595,7 +1595,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
1595
1595
  return out;
1596
1596
  }
1597
1597
  async function pendingRenameRefusal(frame, pending, prune, branch) {
1598
- const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-X5LDDCI3.js");
1598
+ const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-GUGF7MVZ.js");
1599
1599
  const one = pending.length === 1;
1600
1600
  const lines = pending.flatMap(
1601
1601
  (p) => pendingRenameLines(
@@ -2051,7 +2051,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2051
2051
  assertBundleFile(args, { command: "deploy" });
2052
2052
  const auth = opts.auth ?? await getAccessToken(args);
2053
2053
  const withSeed = req.mode === "replace" || req.records === true;
2054
- const { discoverToolchainPlugins } = await import("./toolchain-modules-3M7QDJBV.js");
2054
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-FD5ANV2U.js");
2055
2055
  const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
2056
2056
  const loaded = await loadBundleText(
2057
2057
  args.dryRun ? { ...args, lockReadOnly: true } : args,
@@ -2077,15 +2077,15 @@ async function runReleaseCommand(args, dest, opts = {}) {
2077
2077
  });
2078
2078
  };
2079
2079
  if (!args.dryRun && args.file !== void 0) {
2080
- const { ignoreBackendSecretFilesRead } = await import("./deploy-command-5WTFHMBT.js");
2080
+ const { ignoreBackendSecretFilesRead } = await import("./deploy-command-HJZNYCUY.js");
2081
2081
  await ignoreBackendSecretFilesRead(args);
2082
2082
  }
2083
2083
  if (args.static !== void 0) {
2084
- const { assertNoSeedLeaks } = await import("./deploy-command-5WTFHMBT.js");
2084
+ const { assertNoSeedLeaks } = await import("./deploy-command-HJZNYCUY.js");
2085
2085
  await assertNoSeedLeaks(args.static, nonPublicSeedValues);
2086
2086
  }
2087
2087
  {
2088
- const { runBundleHooks } = await import("./toolchain-hooks-BGZBDFAT.js");
2088
+ const { runBundleHooks } = await import("./toolchain-hooks-QVUZ6HZ4.js");
2089
2089
  const { readVersion } = await import("./cli.js");
2090
2090
  await runBundleHooks(
2091
2091
  toolchain.loaded,
@@ -2191,8 +2191,8 @@ async function runReleaseCommand(args, dest, opts = {}) {
2191
2191
  pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
2192
2192
  }).catch(async (err) => {
2193
2193
  if (err instanceof XanoSdkImportRefusal && err.retryable) {
2194
- const { importInProgressError } = await import("./keep-data-merge-X5LDDCI3.js");
2195
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-Y5YJGOH3.js");
2194
+ const { importInProgressError } = await import("./keep-data-merge-GUGF7MVZ.js");
2195
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-JRGMZZAC.js");
2196
2196
  const retry = retryCommand2(args);
2197
2197
  throw importInProgressError(
2198
2198
  describeWriteTarget({ base: destBase, workspaceId, label: destShownLabel }),
@@ -2312,10 +2312,10 @@ async function runReleaseCommand(args, dest, opts = {}) {
2312
2312
  }
2313
2313
  const dryRunUpToDate = req.branch === void 0 && (plan.operations.length === 0 || converged);
2314
2314
  if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
2315
- const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-X5LDDCI3.js");
2315
+ const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-GUGF7MVZ.js");
2316
2316
  const triggers = liveTableTriggers(live);
2317
2317
  if (triggers.length > 0) {
2318
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-Y5YJGOH3.js");
2318
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-JRGMZZAC.js");
2319
2319
  const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
2320
2320
  throw tableTriggerMergeError(destNoun, triggers, {
2321
2321
  command: replace.command,
@@ -2324,7 +2324,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2324
2324
  }
2325
2325
  }
2326
2326
  if (req.mode === "merge" && live !== void 0 && !dryRunUpToDate && losses.storageChanges.length > 0) {
2327
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-Y5YJGOH3.js");
2327
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-JRGMZZAC.js");
2328
2328
  const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
2329
2329
  await assertStorageModesKept(losses.storageChanges, tableRowCounter(auth, { workspaceId, base: destBase }), {
2330
2330
  target: destNoun,
@@ -2407,7 +2407,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2407
2407
  assertLiveWorkspaceWasRead(live, destNoun, scopeBranch, liveRead.failure, liveKind);
2408
2408
  reportPlannedCanonicalMoves(canonicalMoves, "will", movesWhen);
2409
2409
  if (req.branch !== void 0 && args.setLive && !args.yes && process.stdin.isTTY !== true) {
2410
- const { yesRerun } = await import("./retry-command-Y5YJGOH3.js");
2410
+ const { yesRerun } = await import("./retry-command-JRGMZZAC.js");
2411
2411
  const { rerun, note } = yesRerun(args, "deploy");
2412
2412
  throw needsConfirmation(
2413
2413
  `Make "${req.branch}" the live branch?${movesClause(canonicalMoves)} (or drop --set-live to stage it)`,
@@ -2446,7 +2446,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2446
2446
  landingRecord: null,
2447
2447
  ...seeded.length > 0 ? { seedRows: seeded } : {}
2448
2448
  });
2449
- const { yesRerun } = await import("./retry-command-Y5YJGOH3.js");
2449
+ const { yesRerun } = await import("./retry-command-JRGMZZAC.js");
2450
2450
  const { rerun, note } = yesRerun(args, "deploy");
2451
2451
  const ok = await confirm(`Apply this plan to ${destNoun}?${seedOverwriteClause(seeded)}${movesClause(canonicalMoves, movesWhen === void 0 ? "It" : "Once live, it")}`, {
2452
2452
  flag: "--yes",
@@ -2493,7 +2493,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
2493
2493
  );
2494
2494
  } catch (err) {
2495
2495
  if (err instanceof XanoSdkImportRefusal) {
2496
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-Y5YJGOH3.js");
2496
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-JRGMZZAC.js");
2497
2497
  const retry = retryCommand2(args);
2498
2498
  reportApplyRefusal(
2499
2499
  err,
@@ -2672,7 +2672,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
2672
2672
  if (isMachineOutput(args)) writeJson(summary);
2673
2673
  assertStaticMatchesServedUrls(servedDifferences, planContext);
2674
2674
  }
2675
- const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-5WTFHMBT.js");
2675
+ const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-HJZNYCUY.js");
2676
2676
  const env = buildStaticEnv(destBase, args.staticEnv);
2677
2677
  const explicit = Object.keys(args.staticEnv).length > 0;
2678
2678
  const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
@@ -2724,14 +2724,14 @@ function setLiveRollback(previous, args) {
2724
2724
  async function assertReleaseIdentitiesFree(args, auth, opts) {
2725
2725
  const tenant = opts.tenant;
2726
2726
  const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
2727
- const { detectXanoSdkImportRoute } = await import("./xanosdk-import-J6SRBZHW.js");
2727
+ const { detectXanoSdkImportRoute } = await import("./xanosdk-import-E3WSIYUE.js");
2728
2728
  let capable;
2729
2729
  try {
2730
2730
  capable = await detectXanoSdkImportRoute(auth, target);
2731
2731
  } catch (err) {
2732
2732
  if (err?.status === 501) capable = false;
2733
2733
  else {
2734
- const { unreachableProbeError } = await import("./keep-data-merge-X5LDDCI3.js");
2734
+ const { unreachableProbeError } = await import("./keep-data-merge-GUGF7MVZ.js");
2735
2735
  const retry = retryCommand(args, {
2736
2736
  add: pipedYes(args) === "" ? [] : ["--yes"],
2737
2737
  command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
@@ -2820,4 +2820,4 @@ export {
2820
2820
  setLiveRollback,
2821
2821
  assertReleaseIdentitiesFree
2822
2822
  };
2823
- //# sourceMappingURL=chunk-45YPFB7B.js.map
2823
+ //# sourceMappingURL=chunk-Z2BRSQ6M.js.map
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  sha256Hex
3
- } from "./chunk-NA3PXMEF.js";
3
+ } from "./chunk-64WWE3EF.js";
4
4
  import {
5
5
  normalizeEngineVersion
6
- } from "./chunk-CYB7UQA2.js";
6
+ } from "./chunk-JQOX6HW4.js";
7
7
  import {
8
8
  localEngineBinDir,
9
9
  localEngineHome
10
- } from "./chunk-AM4FKL4J.js";
10
+ } from "./chunk-PL7AIAWS.js";
11
11
  import {
12
12
  SDK_PACKAGE,
13
13
  composeToolchainConfig,
14
14
  readProjectManifest,
15
15
  readToolchainBlock,
16
16
  writeToolchainConfig
17
- } from "./chunk-JTUKLCXS.js";
17
+ } from "./chunk-DXUICABI.js";
18
18
  import {
19
19
  atomicWrite
20
20
  } from "./chunk-LLNZGEFK.js";
@@ -77,21 +77,21 @@ function assertSafeCacheDir(dir, env = process.env) {
77
77
  }
78
78
  if (st.isSymbolicLink()) {
79
79
  throw new Error(
80
- `The local engine cache path is a symlink, and a symlink points somewhere these checks never looked: ${current}
81
- Replace it with a real directory, or point the cache elsewhere with XANOSDK_LOCAL_ENGINE_HOME.`
80
+ `The Xano Engine cache path is a symlink, and a symlink points somewhere these checks never looked: ${current}
81
+ Replace it with a real directory, or point the cache elsewhere with XANOSDK_ENGINE_HOME.`
82
82
  );
83
83
  }
84
84
  if ((st.mode & 18) !== 0) {
85
85
  throw new Error(
86
- `The local engine cache is writable by other users on this machine: ${current}
87
- Anything that can write there can replace the engine executable, and an executable this SDK spawns is not a file to leave open. Run \`chmod go-w\` on it, or point the cache somewhere private with XANOSDK_LOCAL_ENGINE_HOME.`
86
+ `The Xano Engine cache is writable by other users on this machine: ${current}
87
+ Anything that can write there can replace the engine executable, and an executable this SDK spawns is not a file to leave open. Run \`chmod go-w\` on it, or point the cache somewhere private with XANOSDK_ENGINE_HOME.`
88
88
  );
89
89
  }
90
90
  const uid = ownerUid();
91
91
  if (uid !== void 0 && st.uid !== uid) {
92
92
  throw new Error(
93
- `The local engine cache is owned by another user: ${current}
94
- An executable this SDK spawns has to be one only you can replace. Take ownership of it, or point the cache somewhere you own with XANOSDK_LOCAL_ENGINE_HOME.`
93
+ `The Xano Engine cache is owned by another user: ${current}
94
+ An executable this SDK spawns has to be one only you can replace. Take ownership of it, or point the cache somewhere you own with XANOSDK_ENGINE_HOME.`
95
95
  );
96
96
  }
97
97
  }
@@ -186,14 +186,14 @@ function verifiedEngineExecutable(entry, env = process.env) {
186
186
  } catch {
187
187
  throw new Error(
188
188
  `The cached engine is gone from ${entry.dir}.
189
- Re-run the same \`xanosdk deploy --local-engine\` and it is fetched again.`
189
+ Re-run the same \`xanosdk deploy --local\` and it is fetched again.`
190
190
  );
191
191
  }
192
192
  const actual = sha256Hex(bytes);
193
193
  if (actual !== entry.digest) {
194
194
  throw new Error(
195
195
  `The cached engine's bytes do not match the digest recorded when it was fetched, so it will not be run: ${entry.dir}
196
- Something replaced it after it was downloaded. Delete that directory and re-run the same \`xanosdk deploy --local-engine\` to get it again.`
196
+ Something replaced it after it was downloaded. Delete that directory and re-run the same \`xanosdk deploy --local\` to get it again.`
197
197
  );
198
198
  }
199
199
  return entry.executable;
@@ -291,7 +291,7 @@ function diskBytes(path) {
291
291
  // src/deploy/local-engine-pin.ts
292
292
  import { existsSync, writeFileSync as writeFileSync2 } from "fs";
293
293
  import { join as join2 } from "path";
294
- var PIN_FIELD = "localEngine";
294
+ var PIN_FIELD = "engine";
295
295
  function isUnusablePin(pin) {
296
296
  return typeof pin === "object" && pin !== null;
297
297
  }
@@ -301,7 +301,7 @@ function readPin(projectDir, opts = {}) {
301
301
  const manifest = readProjectManifest(projectDir);
302
302
  if (manifest === null) {
303
303
  opts.warn?.(
304
- `${path} could not be parsed as a JSON object, so its local engine pin was not read.`
304
+ `${path} could not be parsed as a JSON object, so its Xano Engine pin was not read.`
305
305
  );
306
306
  return { unusable: void 0 };
307
307
  }
@@ -323,7 +323,7 @@ function readPin(projectDir, opts = {}) {
323
323
  function writePin(projectDir, version) {
324
324
  if (!RELEASE_VERSION.test(version)) {
325
325
  throw new Error(
326
- `cannot pin local engine version ${JSON.stringify(version)}: expected vMAJOR.MINOR.PATCH, like "v0.1.5".`
326
+ `cannot pin Xano Engine version ${JSON.stringify(version)}: expected vMAJOR.MINOR.PATCH, like "v0.1.5".`
327
327
  );
328
328
  }
329
329
  const path = join2(projectDir, "package.json");
@@ -362,4 +362,4 @@ export {
362
362
  readPin,
363
363
  writePin
364
364
  };
365
- //# sourceMappingURL=chunk-D64XUF5Q.js.map
365
+ //# sourceMappingURL=chunk-Z3SNX45M.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  contextFlags,
6
6
  isCredentialStoreCommand
7
- } from "./chunk-SEUCZZCP.js";
7
+ } from "./chunk-G57RYMKB.js";
8
8
  import {
9
9
  shellQuote
10
10
  } from "./chunk-5ZSO4T2G.js";
@@ -77,7 +77,7 @@ function retryCommand(args, opts = {}) {
77
77
  if (!attached && (CREDENTIAL_VALUE_FLAGS.has(spelling) || createOnly.has(spelling))) i += 1;
78
78
  continue;
79
79
  }
80
- if (token === "--local") continue;
80
+ if (token === "--local-auth") continue;
81
81
  kept.push(shellQuote(token));
82
82
  }
83
83
  const stdin = secretAt === void 0 ? "" : `printf %s "${STDIN_VALUE}" | `;
@@ -106,4 +106,4 @@ export {
106
106
  pipedYes,
107
107
  withheldNote
108
108
  };
109
- //# sourceMappingURL=chunk-FMOEVAGT.js.map
109
+ //# sourceMappingURL=chunk-Z4VN347O.js.map