@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,15 +1,15 @@
1
1
  import {
2
2
  listTenants
3
- } from "./chunk-KCAL4QYP.js";
3
+ } from "./chunk-4GDEEY2U.js";
4
4
  import {
5
5
  listEphemeral
6
- } from "./chunk-BUECLQXK.js";
6
+ } from "./chunk-QZTJ2556.js";
7
7
  import {
8
8
  shellWord
9
9
  } from "./chunk-FWD7AL6N.js";
10
10
  import {
11
11
  safeText
12
- } from "./chunk-SBR2WZXG.js";
12
+ } from "./chunk-XNZURZ7T.js";
13
13
 
14
14
  // src/emit/display-name-hint.ts
15
15
  function isShared(owner) {
@@ -117,4 +117,4 @@ export {
117
117
  displayNameHint,
118
118
  selectorFix
119
119
  };
120
- //# sourceMappingURL=chunk-W5ONYLOP.js.map
120
+ //# sourceMappingURL=chunk-KQLACS4Q.js.map
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  readDeployed
3
- } from "./chunk-HSEQYBDO.js";
3
+ } from "./chunk-HOOOOJJP.js";
4
4
  import {
5
5
  isProjectDir
6
- } from "./chunk-T4DUFQ2S.js";
6
+ } from "./chunk-NGAODDLX.js";
7
7
  import {
8
8
  LookupFailedError,
9
9
  SourceError,
10
10
  resolveSource
11
- } from "./chunk-2AUV6NXK.js";
11
+ } from "./chunk-JXKO6JT7.js";
12
12
  import {
13
13
  NotSignedInError
14
- } from "./chunk-LUTMOHOW.js";
14
+ } from "./chunk-CJ76PSJT.js";
15
15
  import {
16
16
  otherCredentialRefusal
17
- } from "./chunk-3P3HXN76.js";
17
+ } from "./chunk-V4IBHDIY.js";
18
18
  import {
19
19
  getEngineRecord
20
- } from "./chunk-WL2DSNJV.js";
20
+ } from "./chunk-Q22BMRPF.js";
21
21
  import {
22
22
  commandPath,
23
23
  parseSlot,
24
24
  refusedKind,
25
25
  slotValueMissing
26
- } from "./chunk-UDE5C2XN.js";
26
+ } from "./chunk-F3557PVM.js";
27
27
  import {
28
28
  getEnvironment,
29
29
  readEphemeralState,
30
30
  unreadableEphemeralState
31
- } from "./chunk-UKUIUS3E.js";
31
+ } from "./chunk-4QBGE3EO.js";
32
32
  import {
33
33
  ENV_CREDENTIAL_VARS,
34
34
  ORIGIN_READ_ONLY_BY_REFRESH,
@@ -36,10 +36,10 @@ import {
36
36
  credentialFileFlagFor,
37
37
  recordedByEnvCredential,
38
38
  typedCredentialFlags
39
- } from "./chunk-SEUCZZCP.js";
39
+ } from "./chunk-G57RYMKB.js";
40
40
  import {
41
41
  backendDirIn
42
- } from "./chunk-E6H5ZEV3.js";
42
+ } from "./chunk-AGD7F7YI.js";
43
43
  import {
44
44
  globalAuthFilePath,
45
45
  localAuthFilePath,
@@ -47,13 +47,13 @@ import {
47
47
  profileAddCommand,
48
48
  readCredentialFile,
49
49
  recordedCredentialPath
50
- } from "./chunk-I2BGYNHD.js";
50
+ } from "./chunk-OJPZEUPH.js";
51
51
  import {
52
52
  UsageError,
53
53
  displayPath,
54
54
  pastePath,
55
55
  sourceSpellings
56
- } from "./chunk-SBR2WZXG.js";
56
+ } from "./chunk-XNZURZ7T.js";
57
57
  import {
58
58
  shellQuote
59
59
  } from "./chunk-5ZSO4T2G.js";
@@ -86,7 +86,7 @@ async function selectBackend(slot, raw, ctx) {
86
86
  }
87
87
  const decided = decide({ cwd, pointer, state, scope, engineRecorded: getEngineRecord(cwd, env) !== void 0 }, slot);
88
88
  if ("refusal" in decided) {
89
- const { reachableFirst } = await import("./env-target-PO3MOLH5.js");
89
+ const { reachableFirst } = await import("./env-target-ZHQUS5BO.js");
90
90
  throw await reachableFirst(decided.refusal, scope);
91
91
  }
92
92
  refuseUnservable(slot, decided.kind);
@@ -98,7 +98,7 @@ async function resolveBackend(slot, raw, ctx) {
98
98
  if (source.kind === "file") {
99
99
  throw new Error(`Internal: \`${commandPath(slot.command, slot.subcommand)}\` resolved a bundle file; read it before resolving a backend.`);
100
100
  }
101
- if (source.kind === "local-engine") refuseProfileForLocal(ctx.profile, [source.kind], slot);
101
+ if (source.kind === "local") refuseProfileForLocal(ctx.profile, [source.kind], slot);
102
102
  return resolveSource(source, credential, { ...ctx.deps, cwd: ctx.deps?.cwd ?? process.cwd() }).catch((err) => {
103
103
  throw lookupRetry(err, slot);
104
104
  });
@@ -108,9 +108,9 @@ function lookupRetry(err, slot) {
108
108
  return err.withRerun(`xanosdk ${commandPath(slot.command, slot.subcommand)} \u2026`, " as you ran it");
109
109
  }
110
110
  function refuseProfileForLocal(profile, kinds, slot, flags = typedCredentialFlags()) {
111
- if (kinds.some((k) => k !== "local-engine")) return;
112
- const why = "and a local engine takes none \u2014 it is reached with the engine's own bearer.";
113
- const or = slot === void 0 ? "or drop `--local-engine` to deploy to a hosted backend." : `or ${nameOne(slot, "a hosted backend", true)}.`;
111
+ if (kinds.some((k) => k !== "local")) return;
112
+ const why = "and a Xano Engine takes none \u2014 it is reached with the engine's own bearer.";
113
+ const or = slot === void 0 ? "or add `--ephemeral` to deploy to a hosted backend." : `or ${nameOne(slot, "a hosted backend", true)}.`;
114
114
  if (profile !== void 0) {
115
115
  throw new UsageError(`\`--profile ${profile}\` selects a Xano credential, ${why} Drop \`--profile\`, ${or}`, hintOpts(slot));
116
116
  }
@@ -118,7 +118,7 @@ function refuseProfileForLocal(profile, kinds, slot, flags = typedCredentialFlag
118
118
  throw new UsageError(`\`--config ${flags.authFile}\` names a Xano credential file, ${why} Drop \`--config\`, ${or}`, hintOpts(slot));
119
119
  }
120
120
  if (flags.local === true) {
121
- throw new UsageError(`\`--local\` selects the project-local Xano credential file, ${why} Drop \`--local\`, ${or}`, hintOpts(slot));
121
+ throw new UsageError(`\`--local-auth\` selects the project-local Xano credential file, ${why} Drop \`--local-auth\`, ${or}`, hintOpts(slot));
122
122
  }
123
123
  if (flags.authHost !== void 0) {
124
124
  throw new UsageError(`\`--origin\` names a Xano sign-in server, ${why} ${ORIGIN_READ_ONLY_BY_REFRESH}`, hintOpts(slot));
@@ -141,15 +141,15 @@ function readTrackedBackend(opts) {
141
141
  function decide(facts, slot) {
142
142
  const { cwd, pointer, state, scope, engineRecorded } = facts;
143
143
  const ephemeralHere = scope !== void 0 && getEnvironment(state, scope) !== void 0;
144
- if (pointer === "local-engine") {
145
- return engineRecorded ? { kind: "local-engine", via: "pointer" } : { refusal: noEngineRecorded(slot) };
144
+ if (pointer === "local") {
145
+ return engineRecorded ? { kind: "local", via: "pointer" } : { refusal: noEngineRecorded(slot) };
146
146
  }
147
147
  if (pointer === "ephemeral") {
148
148
  if (scope === void 0) return { refusal: signedOut(slot, state) };
149
149
  return ephemeralHere ? { kind: "ephemeral", via: "pointer" } : { refusal: untracked(cwd, state, scope, slot, true) };
150
150
  }
151
151
  if (ephemeralHere) return { kind: "ephemeral", via: "fallback" };
152
- if (engineRecorded) return { kind: "local-engine", via: "fallback" };
152
+ if (engineRecorded) return { kind: "local", via: "fallback" };
153
153
  if (scope !== void 0) return { refusal: untracked(cwd, state, scope, slot, false) };
154
154
  return { refusal: nothingTracked(cwd, slot, Object.keys(state.environments).length > 0, state) };
155
155
  }
@@ -173,7 +173,7 @@ function refuseUnservable(slot, kind) {
173
173
  }
174
174
  var KIND_PHRASE = {
175
175
  ephemeral: "an ephemeral",
176
- "local-engine": "a local engine"
176
+ "local": "a Xano Engine"
177
177
  };
178
178
  function hintOpts(slot) {
179
179
  if (slot === void 0) return {};
@@ -184,7 +184,7 @@ function hintOpts(slot) {
184
184
  function nameOne(slot, what = "a backend", hostedOnly = false) {
185
185
  if (slot === void 0) return `name ${what} on the command explicitly`;
186
186
  const spellings = sourceSpellings(
187
- hostedOnly ? slot.selector.accepted.filter((k) => k !== "local-engine" && k !== "file") : slot.selector.accepted
187
+ hostedOnly ? slot.selector.accepted.filter((k) => k !== "local" && k !== "file") : slot.selector.accepted
188
188
  );
189
189
  if (!slot.spelling.startsWith("--")) {
190
190
  const verb = slot.subcommand === void 0 ? slot.command : `${slot.command} ${slot.subcommand}`;
@@ -195,8 +195,8 @@ function nameOne(slot, what = "a backend", hostedOnly = false) {
195
195
  function bothDeploys(cwd) {
196
196
  const flags = contextFlags();
197
197
  const entry = cwd === void 0 ? "" : soleNestedEntry(cwd);
198
- const hosted = /(^| )--local( |$)/.test(flags) ? "an ephemeral, with the project-local credential" : "an ephemeral";
199
- return `\`xanosdk deploy${entry}${flags}\` (${hosted}) or \`xanosdk deploy${entry} --local-engine\` (a local engine on this machine)`;
198
+ const hosted = /(^| )--local-auth( |$)/.test(flags) ? "an ephemeral, with the project-local credential" : "an ephemeral";
199
+ return `\`xanosdk deploy${entry} --local\` (a Xano Engine on this machine) or \`xanosdk deploy${entry} --ephemeral${flags}\` (${hosted})`;
200
200
  }
201
201
  function untracked(cwd, state, scope, slot, pointer) {
202
202
  const other = otherCredentialRefusal(state, scope, `or ${nameOne(slot)}`, hintOpts(slot));
@@ -211,7 +211,7 @@ function untracked(cwd, state, scope, slot, pointer) {
211
211
  );
212
212
  }
213
213
  return new SourceError(
214
- `This project last deployed to an ephemeral, but the last one is gone (deleted or expired). Run \`xanosdk deploy${contextFlags()}\` to create one \u2014 or \`xanosdk deploy --local-engine\` for a local engine \u2014 or ${nameOne(slot)}.`,
214
+ `This project last deployed to an ephemeral, but the last one is gone (deleted or expired). Run \`xanosdk deploy --ephemeral${contextFlags()}\` to create one \u2014 or \`xanosdk deploy --local\` for a Xano Engine \u2014 or ${nameOne(slot)}.`,
215
215
  "gone",
216
216
  "ephemeral"
217
217
  );
@@ -234,7 +234,7 @@ function nothingTracked(cwd, slot, ephemeralRecordedElsewhere, state) {
234
234
  const flags = state === void 0 ? void 0 : recordedCredentialFlags(state);
235
235
  const signIn = !ephemeralRecordedElsewhere ? "" : flags !== void 0 ? flags.env ? ` An ephemeral is recorded under ${flags.who} \u2014 set ${ENV_CREDENTIAL_VARS} for that workspace again to reach it.` : flags.signIn ? ` An ephemeral is recorded under ${flags.who}, which no credential file holds \u2014 add it again with ${flags.flags} to reach it.` : ` An ephemeral is recorded under ${flags.who}, and no credential is signed in \u2014 re-run with \`${flags.flags}\` to reach it.` : ` An ephemeral is recorded, but no credential is signed in to look it up \u2014 \`${runLogin()}\` reaches it.`;
236
236
  return new NothingTrackedError(
237
- `This project has no backend to default to: it has not deployed to an ephemeral under this credential or to a local engine from this directory.${signIn} Deploy first with ${bothDeploys(cwd)}, or ${nameOne(slot)}.`,
237
+ `This project has no backend to default to: it has not deployed to an ephemeral under this credential or to a Xano Engine from this directory.${signIn} Deploy first with ${bothDeploys(cwd)}, or ${nameOne(slot)}.`,
238
238
  hintOpts(slot)
239
239
  );
240
240
  }
@@ -295,11 +295,11 @@ function nestedTrackedBackends(cwd) {
295
295
  return found;
296
296
  }
297
297
  function noEngineRecorded(slot) {
298
- const named = slot === void 0 ? "name one on the command" : slot.spelling.startsWith("--") ? `name one with \`${slot.spelling} local-engine:<name>\`` : `name one: \`xanosdk ${slot.subcommand === void 0 ? slot.command : `${slot.command} ${slot.subcommand}`} local-engine:<name>\``;
298
+ const named = slot === void 0 ? "name one on the command" : slot.spelling.startsWith("--") ? `name one with \`${slot.spelling} local:<name>\`` : `name one: \`xanosdk ${slot.subcommand === void 0 ? slot.command : `${slot.command} ${slot.subcommand}`} local:<name>\``;
299
299
  return new SourceError(
300
- `This project last deployed to a local engine, but no engine is recorded for this directory. Run \`xanosdk deploy --local-engine\` to stand one up, or \`xanosdk local-engine list\` to see what is running and ${named}. \`xanosdk deploy${contextFlags()}\` still deploys to an ephemeral.`,
300
+ `This project last deployed to a Xano Engine, but no engine is recorded for this directory. Run \`xanosdk deploy --local\` to stand one up, or \`xanosdk local list\` to see what is running and ${named}. \`xanosdk deploy --ephemeral${contextFlags()}\` still deploys to an ephemeral.`,
301
301
  "gone",
302
- "local-engine"
302
+ "local"
303
303
  );
304
304
  }
305
305
  function signedOut(slot, state) {
@@ -368,4 +368,4 @@ export {
368
368
  NothingTrackedError,
369
369
  nestedBackendEntries
370
370
  };
371
- //# sourceMappingURL=chunk-LIVN53UV.js.map
371
+ //# sourceMappingURL=chunk-KUU7T4ZE.js.map
@@ -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
  ProfileNotFoundError,
6
6
  describeRefreshAnswer,
7
7
  environmentCredentialVars
8
- } from "./chunk-LUTMOHOW.js";
8
+ } from "./chunk-CJ76PSJT.js";
9
9
  import {
10
10
  yesRerun
11
- } from "./chunk-FMOEVAGT.js";
11
+ } from "./chunk-Z4VN347O.js";
12
12
  import {
13
13
  OpenIdProvider,
14
14
  assertCredentialFileRemovable,
@@ -31,14 +31,14 @@ import {
31
31
  resolveScope,
32
32
  withCredentialLock,
33
33
  writeOrRemoveCredentialFile
34
- } from "./chunk-I2BGYNHD.js";
34
+ } from "./chunk-OJPZEUPH.js";
35
35
  import {
36
36
  findProjectPointer,
37
37
  resolveProjectProfile
38
- } from "./chunk-FPBGAT5D.js";
38
+ } from "./chunk-JZWUAEMO.js";
39
39
  import {
40
40
  resolveActiveProfile
41
- } from "./chunk-QXTKSOFI.js";
41
+ } from "./chunk-MF4W6FHU.js";
42
42
  import {
43
43
  UsageError,
44
44
  detail,
@@ -50,7 +50,7 @@ import {
50
50
  success,
51
51
  warn,
52
52
  writeJson
53
- } from "./chunk-SBR2WZXG.js";
53
+ } from "./chunk-XNZURZ7T.js";
54
54
  import {
55
55
  suggestAll
56
56
  } from "./chunk-UTI5G6OJ.js";
@@ -288,7 +288,7 @@ function refuseIfOnlyInProjectFile(args, authFilePath, selection, names) {
288
288
  }
289
289
  if (held === null || !Object.prototype.hasOwnProperty.call(held.profiles, selection.name)) return;
290
290
  throw new ProfileNotFoundError(
291
- `Profile "${selection.name}" is not in ${authFilePath}, the file \`logout\` clears by default \u2014 it is stored in this project's ${local}. Run \`xanosdk logout --local -p ${selection.name}\` to sign out of it there.`,
291
+ `Profile "${selection.name}" is not in ${authFilePath}, the file \`logout\` clears by default \u2014 it is stored in this project's ${local}. Run \`xanosdk logout --local-auth -p ${selection.name}\` to sign out of it there.`,
292
292
  selection,
293
293
  names
294
294
  );
@@ -429,4 +429,4 @@ export {
429
429
  salvageRevocable,
430
430
  signInAgain
431
431
  };
432
- //# sourceMappingURL=chunk-WFMVKY7I.js.map
432
+ //# sourceMappingURL=chunk-L3BDO2BI.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  backendDirFor,
3
3
  backendDirIn
4
- } from "./chunk-E6H5ZEV3.js";
4
+ } from "./chunk-AGD7F7YI.js";
5
5
  import {
6
6
  XANO_DIR
7
- } from "./chunk-HUSH7LRI.js";
7
+ } from "./chunk-F6IKWAIU.js";
8
8
  import {
9
9
  projectRootFrom
10
10
  } from "./chunk-ROY4YAEQ.js";
@@ -12,7 +12,7 @@ import {
12
12
  LocalFileNotFoundError,
13
13
  UsageError,
14
14
  displayPath
15
- } from "./chunk-SBR2WZXG.js";
15
+ } from "./chunk-XNZURZ7T.js";
16
16
  import {
17
17
  isRepresentableName
18
18
  } from "./chunk-GSGDWJB5.js";
@@ -242,4 +242,4 @@ export {
242
242
  namesInEnvExample,
243
243
  renderWorkspaceEnvFile
244
244
  };
245
- //# sourceMappingURL=chunk-664LSWE5.js.map
245
+ //# sourceMappingURL=chunk-LLS2WO2K.js.map
@@ -8,16 +8,16 @@ import {
8
8
  resolveThemeChoice,
9
9
  sanitizeAppName,
10
10
  templateVarsFor
11
- } from "./chunk-D5ZEAF4G.js";
11
+ } from "./chunk-CV54PASI.js";
12
12
  import {
13
13
  ROUTES_MANIFEST_BASENAME,
14
14
  RouteManifestError,
15
15
  planRouteManifest,
16
16
  renderPlannedManifest
17
- } from "./chunk-TTVAHCWP.js";
17
+ } from "./chunk-TM5LRSBB.js";
18
18
  import {
19
19
  confirm
20
- } from "./chunk-4APOHK7Y.js";
20
+ } from "./chunk-AESE434J.js";
21
21
  import {
22
22
  CODEGEN_MODULE,
23
23
  DecodeContext,
@@ -57,21 +57,21 @@ import {
57
57
  import {
58
58
  archiveSeedContent,
59
59
  fetchSourceArchive
60
- } from "./chunk-VRVKNY4A.js";
60
+ } from "./chunk-PIPIA7K7.js";
61
61
  import {
62
62
  assertBranchReadSupported,
63
63
  exportWorkspaceBundle
64
- } from "./chunk-QV3GXQRE.js";
64
+ } from "./chunk-XIABDKFQ.js";
65
65
  import {
66
66
  decodeWorkspaceArchive
67
67
  } from "./chunk-3DRXWLJ5.js";
68
68
  import {
69
69
  listBranches,
70
70
  requireBranch
71
- } from "./chunk-E65QIWOO.js";
71
+ } from "./chunk-5RLAF6RL.js";
72
72
  import {
73
73
  detectInstallMode
74
- } from "./chunk-MLPDSGJQ.js";
74
+ } from "./chunk-DEVGLLNZ.js";
75
75
  import {
76
76
  UNSUPPORTED_SECTIONS,
77
77
  decodedCounts,
@@ -82,47 +82,47 @@ import {
82
82
  sectionOmission,
83
83
  subtractDefaults,
84
84
  workspaceKeyOmission
85
- } from "./chunk-XXZZGXW2.js";
85
+ } from "./chunk-MEIJDRHU.js";
86
86
  import {
87
87
  ensureWorkspaceEnvGitignored,
88
88
  requireSecretPathGitignored
89
- } from "./chunk-Y2ZLKBM6.js";
89
+ } from "./chunk-3WHWOKU4.js";
90
90
  import {
91
91
  loadDefault,
92
92
  readVersion,
93
93
  resolveKnowledge
94
- } from "./chunk-WYEQFD6A.js";
94
+ } from "./chunk-S5KQIFKJ.js";
95
95
  import {
96
96
  WORKSPACE_ENV_BASENAME,
97
97
  WORKSPACE_ENV_EXAMPLE_BASENAME,
98
98
  renderWorkspaceEnvExample,
99
99
  renderWorkspaceEnvFile,
100
100
  valueProblem
101
- } from "./chunk-664LSWE5.js";
101
+ } from "./chunk-LLS2WO2K.js";
102
102
  import {
103
103
  memoCredential,
104
104
  refuseProfileForLocal
105
- } from "./chunk-LIVN53UV.js";
105
+ } from "./chunk-KUU7T4ZE.js";
106
106
  import {
107
107
  getAccessToken
108
- } from "./chunk-LUTMOHOW.js";
108
+ } from "./chunk-CJ76PSJT.js";
109
109
  import {
110
110
  getEngineRecord
111
- } from "./chunk-WL2DSNJV.js";
111
+ } from "./chunk-Q22BMRPF.js";
112
112
  import {
113
113
  requireBackendSlot
114
- } from "./chunk-UDE5C2XN.js";
114
+ } from "./chunk-F3557PVM.js";
115
115
  import {
116
116
  SECRETS_FILE_VERSION,
117
117
  workspaceSecretsPathIn,
118
118
  writeSecretsFile
119
- } from "./chunk-MLGI2SRQ.js";
119
+ } from "./chunk-AMBEITWL.js";
120
120
  import {
121
121
  yesRerun
122
- } from "./chunk-FMOEVAGT.js";
122
+ } from "./chunk-Z4VN347O.js";
123
123
  import {
124
124
  contextFlags
125
- } from "./chunk-SEUCZZCP.js";
125
+ } from "./chunk-G57RYMKB.js";
126
126
  import {
127
127
  PRESERVED_ON_REFRESH,
128
128
  SHELL_FILES_IN_BACKEND,
@@ -137,27 +137,27 @@ import {
137
137
  plannedAgentsMd,
138
138
  readDecodeRecord,
139
139
  scaffoldProject
140
- } from "./chunk-HUSH7LRI.js";
140
+ } from "./chunk-F6IKWAIU.js";
141
141
  import {
142
142
  shellWord
143
143
  } from "./chunk-FWD7AL6N.js";
144
144
  import {
145
145
  seedRowsByTableGuid
146
- } from "./chunk-37AHZ7JX.js";
146
+ } from "./chunk-Y76ERHLK.js";
147
147
  import {
148
148
  readLockFile,
149
149
  writeLockFile
150
- } from "./chunk-VD32O6KZ.js";
150
+ } from "./chunk-SQPIECXD.js";
151
151
  import {
152
152
  readInstalledManifest
153
- } from "./chunk-DYG5D3FD.js";
153
+ } from "./chunk-M7GJ6YUF.js";
154
154
  import {
155
155
  atomicWrite
156
156
  } from "./chunk-LLNZGEFK.js";
157
157
  import {
158
158
  TEST_EXPECT_TYPES,
159
159
  respond
160
- } from "./chunk-CBYQ2ZN3.js";
160
+ } from "./chunk-S5TEJIGP.js";
161
161
  import {
162
162
  codegen_entry_exports,
163
163
  raw
@@ -167,7 +167,7 @@ import {
167
167
  describeOrigin,
168
168
  renderCodegenMarker,
169
169
  renderCodegenReadme
170
- } from "./chunk-OPHB5ORL.js";
170
+ } from "./chunk-57HMNJGB.js";
171
171
  import {
172
172
  SUPERSEDED_STATEMENTS,
173
173
  supersededBy
@@ -188,7 +188,7 @@ import {
188
188
  terminalText,
189
189
  warn,
190
190
  writeJson
191
- } from "./chunk-SBR2WZXG.js";
191
+ } from "./chunk-XNZURZ7T.js";
192
192
  import {
193
193
  TOOL_ANNOTATION_WIRE,
194
194
  agentTrigger,
@@ -202,11 +202,11 @@ import {
202
202
  s,
203
203
  tableTrigger,
204
204
  workspaceTrigger
205
- } from "./chunk-II747OWE.js";
205
+ } from "./chunk-FV55SRQU.js";
206
206
  import {
207
207
  parsePathParams,
208
208
  unboundPathParams
209
- } from "./chunk-5W7DOMIU.js";
209
+ } from "./chunk-3IYVHVM6.js";
210
210
  import {
211
211
  DEFAULT_DOCUMENTATION,
212
212
  DEFAULT_PREFERENCES,
@@ -214,10 +214,10 @@ import {
214
214
  } from "./chunk-6JAEMMZ7.js";
215
215
  import {
216
216
  MCP_OAUTH_ENV_REF
217
- } from "./chunk-5YL5OC2G.js";
217
+ } from "./chunk-SRX6B544.js";
218
218
  import {
219
219
  PAYLOAD_ARRAY_KEYS
220
- } from "./chunk-EESV6NU2.js";
220
+ } from "./chunk-XJU6UAFV.js";
221
221
  import {
222
222
  CORS_UNMATCHABLE,
223
223
  DECODE_ONLY_STATEMENTS,
@@ -241,7 +241,7 @@ import {
241
241
  searchConstrainsRows,
242
242
  specLabel,
243
243
  unmatchableOrigins
244
- } from "./chunk-OPG4DYX2.js";
244
+ } from "./chunk-JSEVKRVJ.js";
245
245
  import {
246
246
  WORKSPACE_HISTORY_TYPES
247
247
  } from "./chunk-ETAZIGNT.js";
@@ -256,7 +256,7 @@ import {
256
256
  isRuntimeConditionOp,
257
257
  isSearchOp,
258
258
  unusableColumns
259
- } from "./chunk-4PQHO74B.js";
259
+ } from "./chunk-VZ22VUAS.js";
260
260
  import {
261
261
  AUTHOR_KIND_NAME
262
262
  } from "./chunk-VTMTIBKP.js";
@@ -281,13 +281,13 @@ import {
281
281
  mergeObserved,
282
282
  sdkKindName,
283
283
  withObjects
284
- } from "./chunk-OOGXZL7Z.js";
284
+ } from "./chunk-OKNE3TWU.js";
285
285
  import {
286
286
  shellQuote
287
287
  } from "./chunk-5ZSO4T2G.js";
288
288
  import {
289
289
  HOSTED_FILE_SCHEME
290
- } from "./chunk-XNCP4KYO.js";
290
+ } from "./chunk-VQPDATQT.js";
291
291
  import {
292
292
  encodeMockMap,
293
293
  encodeStatement
@@ -6258,7 +6258,7 @@ function reportMismatches(report, result) {
6258
6258
  // src/emit/codegen-command.ts
6259
6259
  var NO_BRANCH = {
6260
6260
  ephemeral: "an ephemeral environment holds the logic it was deployed with, not a branch you can choose between afterwards \u2014 deploy from the branch you want, then read the ephemeral",
6261
- "local-engine": "a local engine holds the logic it was deployed with, not a branch you can choose between afterwards \u2014 deploy from the branch you want, then read the engine",
6261
+ "local": "a Xano Engine holds the logic it was deployed with, not a branch you can choose between afterwards \u2014 deploy from the branch you want, then read the engine",
6262
6262
  tenant: "a tenant runs the release it was deployed with, not a branch you can choose between",
6263
6263
  release: "a release is one archive already cut from one branch \u2014 cut another from the branch you need",
6264
6264
  file: "a bundle file is one archive that was already exported from one branch \u2014 re-export it with `--branch` if you need a different one"
@@ -6282,7 +6282,7 @@ async function fetchBundle(args, source) {
6282
6282
  credentialRead
6283
6283
  };
6284
6284
  }
6285
- const { projectDirFrom } = await import("./xanosdk-project-6KTCO47O.js");
6285
+ const { projectDirFrom } = await import("./xanosdk-project-KH5TZ2KI.js");
6286
6286
  const cwd = projectDirFrom(process.cwd()) ?? process.cwd();
6287
6287
  const raw2 = "name" in source && source.name !== void 0 ? `${source.kind}:${source.name}` : source.kind;
6288
6288
  step(`Reading ${raw2}`);
@@ -6302,7 +6302,7 @@ async function fetchBundle(args, source) {
6302
6302
  function originName(source, provenance, cwd) {
6303
6303
  const colon = provenance.indexOf(":");
6304
6304
  if (colon !== -1) return provenance.slice(colon + 1);
6305
- if (source.kind === "local-engine") return getEngineRecord(cwd)?.name ?? "local-engine";
6305
+ if (source.kind === "local") return getEngineRecord(cwd)?.name ?? "local";
6306
6306
  return provenance;
6307
6307
  }
6308
6308
  async function fetchWorkspaceBundle(auth, typedBranch) {
@@ -6640,7 +6640,7 @@ function missingDependency(err) {
6640
6640
  return tsx ? "tsx" : void 0;
6641
6641
  }
6642
6642
  async function runInitFromCommand(args, source) {
6643
- if (source.kind === "local-engine") {
6643
+ if (source.kind === "local") {
6644
6644
  refuseProfileForLocal(args.profile, [source.kind], requireBackendSlot("init", void 0, "from"));
6645
6645
  }
6646
6646
  const pathArg = args.positionals[0] ?? ".";
@@ -6743,7 +6743,7 @@ async function runInitFromCommand(args, source) {
6743
6743
  for (const line of routesDeferred) warn(line, "routes.not-written");
6744
6744
  if (seed !== void 0) reportSeedRows(seed.rows, seed.label, seed.provenance, XANO_DIR, contextFlags(args));
6745
6745
  if (replace.lock !== void 0) {
6746
- const { reconciledLock } = await import("./pull-command-WQFPLITW.js");
6746
+ const { reconciledLock } = await import("./pull-command-EUEWBRXZ.js");
6747
6747
  writeLockFile(
6748
6748
  replace.lock.path,
6749
6749
  reconciledLock(replace.lock.model, replace.lock.reconciliation, bundle.payload)
@@ -6844,7 +6844,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
6844
6844
  if (shell.length > 0 && !await confirmShellOverwrite(out, shell, args, label)) return "cancelled";
6845
6845
  return { removals: void 0, removedEdited: [], rewrittenEdited: [], kept: [] };
6846
6846
  }
6847
- const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-WQFPLITW.js");
6847
+ const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-EUEWBRXZ.js");
6848
6848
  const prefix = `${XANO_DIR}/`;
6849
6849
  const incoming = new Map(
6850
6850
  files.filter((f) => f.path.startsWith(prefix)).map((f) => [f.path.slice(prefix.length), f.content])
@@ -6892,7 +6892,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
6892
6892
  list(lock.reconciliation.dropped.map((key) => displayLockKey(key)), "")
6893
6893
  );
6894
6894
  }
6895
- const { keptDuplicates, replacedRegistrations, reportSuperseded } = await import("./pull-superseded-GGURV5J3.js");
6895
+ const { keptDuplicates, replacedRegistrations, reportSuperseded } = await import("./pull-superseded-TOT5S4QU.js");
6896
6896
  const shown = relative(process.cwd(), xanoDir).split(sep).join("/") || XANO_DIR;
6897
6897
  reportSuperseded(
6898
6898
  keptDuplicates(xanoDir, incoming, kept, shown),
@@ -7113,7 +7113,8 @@ function summarize(args, project, verified, out, origin, install, mode, scaffold
7113
7113
  const steps = cdHint + (install === "installed" || existsSync(join(out, "node_modules", "@xano", "sdk")) ? `` : ` npm install
7114
7114
  `) + // An unverified tree: the check the warning above asks for is a step.
7115
7115
  (verified === null ? ` npm run xano:check # confirm the tree compiles and the lock agrees
7116
- ` : ``) + loginNextStep(pin, out) + ` npm run xano:deploy # build the frontend, then deploy \u2192 live ephemeral URL`;
7116
+ ` : ``) + ` npm run xano:deploy # run it on the Xano Engine, on this machine
7117
+ ` + loginNextStep(pin, out) + ` npm run xano:deploy:ephemeral # build the frontend, then deploy \u2192 live ephemeral URL`;
7117
7118
  detail(`Next steps:
7118
7119
  ` + steps.replace(/^ {2}/gm, " "));
7119
7120
  for (const line of [
@@ -7133,8 +7134,8 @@ function refreshSelector(origin) {
7133
7134
  return void 0;
7134
7135
  case "workspace":
7135
7136
  return "workspace";
7136
- case "local-engine":
7137
- return origin.origin === "local-engine" ? "local-engine" : `local-engine:${origin.origin}`;
7137
+ case "local":
7138
+ return origin.origin === "local" ? "local" : `local:${origin.origin}`;
7138
7139
  default:
7139
7140
  return `${origin.source}:${origin.origin}`;
7140
7141
  }
@@ -7163,7 +7164,7 @@ function seedRowsLanding(source, flags = "") {
7163
7164
  if (release === void 0) {
7164
7165
  return `They stay on ${source}, and a table's \`seed\` option puts rows in code.`;
7165
7166
  }
7166
- return `They stay on the release: \`xanosdk deploy ${shellQuote(`release:${release}`)}${flags}\` lands them on this project's ephemeral, and \`xanosdk tenant deploy <tenant> ${shellQuote(release)}${flags}\` on a tenant (a promote writes no rows). A table's \`seed\` option puts rows in code.`;
7167
+ return `They stay on the release: \`xanosdk deploy ${shellQuote(`release:${release}`)} --ephemeral${flags}\` lands them on this project's ephemeral, and \`xanosdk tenant deploy <tenant> ${shellQuote(release)}${flags}\` on a tenant (a promote writes no rows). A table's \`seed\` option puts rows in code.`;
7167
7168
  }
7168
7169
 
7169
7170
  export {
@@ -7196,4 +7197,4 @@ export {
7196
7197
  seedRowsListed,
7197
7198
  seedRowsLanding
7198
7199
  };
7199
- //# sourceMappingURL=chunk-ESZ2FF57.js.map
7200
+ //# sourceMappingURL=chunk-LZDA6SVD.js.map
@@ -160,7 +160,7 @@ function decodeMarkerWith(previous, files) {
160
160
  digests: Object.fromEntries(sorted.map((f) => [f.path, decodeDigest(f.content)]))
161
161
  };
162
162
  }
163
- var SOURCE_KINDS = /* @__PURE__ */ new Set(["workspace", "ephemeral", "local-engine", "tenant", "release"]);
163
+ var SOURCE_KINDS = /* @__PURE__ */ new Set(["workspace", "ephemeral", "local", "tenant", "release"]);
164
164
  function decodeMarkerHead(previous, command, provenance, sdkVersion, report) {
165
165
  const colon = provenance.indexOf(":");
166
166
  const kind = colon === -1 ? provenance : provenance.slice(0, colon);
@@ -627,4 +627,4 @@ export {
627
627
  decodeMarkerWith,
628
628
  decodeMarkerHead
629
629
  };
630
- //# sourceMappingURL=chunk-UCQ2VUTG.js.map
630
+ //# sourceMappingURL=chunk-M6ZFSTIZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  UsageError
3
- } from "./chunk-SBR2WZXG.js";
3
+ } from "./chunk-XNZURZ7T.js";
4
4
 
5
5
  // src/emit/module-manifest.ts
6
6
  import { existsSync, readFileSync, statSync } from "fs";
@@ -165,4 +165,4 @@ export {
165
165
  loadFile,
166
166
  homepageOf
167
167
  };
168
- //# sourceMappingURL=chunk-DYG5D3FD.js.map
168
+ //# sourceMappingURL=chunk-M7GJ6YUF.js.map
@@ -6,7 +6,7 @@ import {
6
6
  identityNamesByGuid,
7
7
  lockNameForObject,
8
8
  sdkKindName
9
- } from "./chunk-OOGXZL7Z.js";
9
+ } from "./chunk-OKNE3TWU.js";
10
10
 
11
11
  // src/codegen/omissions.ts
12
12
  function omissionSeverity(reason) {
@@ -240,4 +240,4 @@ export {
240
240
  identityName,
241
241
  reportObjectLabel
242
242
  };
243
- //# sourceMappingURL=chunk-XXZZGXW2.js.map
243
+ //# sourceMappingURL=chunk-MEIJDRHU.js.map
@@ -73,4 +73,4 @@ export {
73
73
  assertValidProfileName,
74
74
  selectionDocument
75
75
  };
76
- //# sourceMappingURL=chunk-QXTKSOFI.js.map
76
+ //# sourceMappingURL=chunk-MF4W6FHU.js.map