@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,6 +1,6 @@
1
1
  import {
2
2
  classifyNpmFailure
3
- } from "./chunk-ZG7E72VI.js";
3
+ } from "./chunk-OGUMHW2X.js";
4
4
  import {
5
5
  condenseNpmError,
6
6
  runNpmQuiet,
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  decodeDigest,
14
14
  reactPreset
15
- } from "./chunk-UCQ2VUTG.js";
15
+ } from "./chunk-M6ZFSTIZ.js";
16
16
  import {
17
17
  blockVersion,
18
18
  composeBlock,
@@ -28,7 +28,7 @@ import {
28
28
  success,
29
29
  warn,
30
30
  withSpinner
31
- } from "./chunk-SBR2WZXG.js";
31
+ } from "./chunk-XNZURZ7T.js";
32
32
  import {
33
33
  defaultThemeChoice,
34
34
  themeGuidanceSection
@@ -98,14 +98,14 @@ backend reads with \`env("NAME")\`; the VALUES live in \`xano/.env\`, which is g
98
98
  - On Windows there is no ACL equivalent to the 0600 the file is created with, the
99
99
  same exposure \`.xano/auth.json\` already carries.`;
100
100
  var BACKENDS_GUIDANCE = `- A bare command (\`npm run xano:test\`, \`npx xanosdk env set\`, \`npx xanosdk tables\`,
101
- \`npx xanosdk impersonate\`) reaches the ephemeral or local engine this project last
101
+ \`npx xanosdk impersonate\`) reaches the ephemeral or Xano Engine this project last
102
102
  deployed to, never the workspace; the grammar that names another is **Backends**
103
- in \`node_modules/@xano/sdk/llms.txt\`. After a local-engine deploy, which
104
- \`publish\` does not reach and which cannot be released from, publish with
105
- \`npm run xano:deploy:frontend -- --to ephemeral\` (or add \`--static <dir>\` to the
106
- local deploy to have the engine serve the build) and cut with
103
+ in \`node_modules/@xano/sdk/llms.txt\`. After a local deploy,
104
+ \`npm run xano:deploy:frontend\` publishes the build to the engine. A Xano Engine
105
+ cannot be released from, so stand the code up with \`npm run xano:deploy:ephemeral\`
106
+ and cut with
107
107
  \`npx xanosdk release create <name> --from ephemeral\`.
108
- - \`npm run xano:deploy:local-engine\` and every bare command after it need no Xano
108
+ - \`npm run xano:deploy\` and every bare command after it need no Xano
109
109
  account \u2014 the local loop runs without \`npx xanosdk login\`.
110
110
  - \`npx xanosdk impersonate\` prints a session URL: treat it as a credential. \`--guest\`
111
111
  opens a read-only look.`;
@@ -167,8 +167,10 @@ ${frontendSection(frontend)}
167
167
  - \`npm run dev\` \u2014 run the frontend.
168
168
  - \`npm run typecheck\` / \`npm run build\` \u2014 must stay green.
169
169
  - \`npm run xano:export\` \u2014 compile the backend to \`workspace.json\` (never commit it).
170
- - \`npx xanosdk login\` then \`npm run xano:deploy\` \u2014 ship the backend + static
171
- frontend to a disposable **ephemeral** environment.
170
+ - \`npm run xano:deploy\` \u2014 deploy the backend to the Xano Engine on this machine
171
+ (no account needed; redeploys keep the rows). Run it after every backend change.
172
+ - \`npx xanosdk login\` then \`npm run xano:deploy:ephemeral\` \u2014 ship the backend +
173
+ static frontend to a disposable **ephemeral** environment on Xano's cloud.
172
174
  - \`npm run xano:test\` \u2014 run the DEPLOYED environment's unit + workflow tests
173
175
  (exits 5 on a failure). See "Testing" below.
174
176
  ${BACKENDS_GUIDANCE}
@@ -182,7 +184,7 @@ ${ENV_GUIDANCE}
182
184
  A deploy targets a throwaway environment. Reaching a real one goes through a
183
185
  **release** \u2014 the stored record that code came up and answered:
184
186
 
185
- 1. \`npm run xano:deploy\` \u2014 stand the current code up on an ephemeral.
187
+ 1. \`npm run xano:deploy:ephemeral\` \u2014 stand the current code up on an ephemeral.
186
188
  2. \`npx xanosdk release create <name>\` \u2014 cut a release from it. An existing name is
187
189
  refused; cut a new one.
188
190
  3. \`npx xanosdk promote <name>\` \u2014 land it in the workspace, or
@@ -247,9 +249,10 @@ drive a Xano workspace from code.
247
249
  re-running \`init --from\`) refreshes it from a backend: it lists what will change
248
250
  and asks first, keeps files you added, and overwrites the files it decodes. Commit
249
251
  before refreshing, so an overwritten edit is still in git.
250
- - **\`npx xanosdk deploy\` is a full replace** of a disposable **ephemeral** environment
251
- (\`npm run xano:deploy\`), unless \`--keep-data\` merges into the one an earlier
252
- deploy filled. A real workspace is reached with \`npx xanosdk promote <release>\` or
252
+ - **\`npx xanosdk deploy\` is a full replace** of a Xano Engine or a disposable
253
+ **ephemeral** environment (\`npm run xano:deploy:ephemeral\`), unless \`--keep-data\`
254
+ merges into the one an earlier deploy filled (\`npm run xano:deploy\` passes it). A
255
+ real workspace is reached with \`npx xanosdk promote <release>\` or
253
256
  \`deploy --to workspace\`, which merge and leave table rows alone.
254
257
 
255
258
  Read \`xano/README.md\` first: it is the generated record of what did and did not
@@ -277,7 +280,8 @@ ${frontendSection(frontend)}
277
280
  - \`npm run dev\` \u2014 run the frontend.
278
281
  - \`npm run typecheck\` / \`npm run build\` \u2014 must stay green.
279
282
  - \`npm run xano:export\` \u2014 compile the backend to \`workspace.json\` (never commit it).
280
- - \`npx xanosdk login\` then \`npm run xano:deploy\` \u2014 ship the backend + static frontend to an ephemeral env.
283
+ - \`npm run xano:deploy\` \u2014 deploy the backend to the Xano Engine on this machine (no account needed).
284
+ - \`npx xanosdk login\` then \`npm run xano:deploy:ephemeral\` \u2014 ship the backend + static frontend to an ephemeral env.
281
285
  - \`npx xanosdk release create <name>\` then \`npx xanosdk promote <name>\` \u2014 the path to a real workspace.
282
286
  - \`npx xanosdk pull [source]\` \u2014 refresh \`xano/\` from a live backend; it REPLACES the directory.
283
287
  - \`npm run xano:test\` \u2014 run the DEPLOYED environment's unit + workflow tests (exits 5 on a failure). See "Testing" below.
@@ -657,4 +661,4 @@ export {
657
661
  changedOnDisk,
658
662
  scaffoldProject
659
663
  };
660
- //# sourceMappingURL=chunk-HUSH7LRI.js.map
664
+ //# sourceMappingURL=chunk-F6IKWAIU.js.map
@@ -7,7 +7,7 @@ import {
7
7
  parsePathParams,
8
8
  queryKind,
9
9
  warnUnboundReturn
10
- } from "./chunk-5W7DOMIU.js";
10
+ } from "./chunk-3IYVHVM6.js";
11
11
  import {
12
12
  workspaceKind
13
13
  } from "./chunk-6JAEMMZ7.js";
@@ -16,7 +16,7 @@ import {
16
16
  encodeMcpOauth,
17
17
  refuseUnknown,
18
18
  standaloneDefKind
19
- } from "./chunk-5YL5OC2G.js";
19
+ } from "./chunk-SRX6B544.js";
20
20
  import {
21
21
  resolveAuthRef
22
22
  } from "./chunk-45ZUMF4E.js";
@@ -68,7 +68,7 @@ import {
68
68
  registerSpec,
69
69
  resolveEnumValue,
70
70
  throwError
71
- } from "./chunk-OPG4DYX2.js";
71
+ } from "./chunk-JSEVKRVJ.js";
72
72
  import {
73
73
  assertCanonical,
74
74
  assertStoredName,
@@ -83,7 +83,7 @@ import {
83
83
  encodeExpression,
84
84
  encodeRuntimeCondition,
85
85
  tableKind
86
- } from "./chunk-4PQHO74B.js";
86
+ } from "./chunk-VZ22VUAS.js";
87
87
  import {
88
88
  brandDef
89
89
  } from "./chunk-ERVIASGL.js";
@@ -102,12 +102,12 @@ import {
102
102
  } from "./chunk-GPI3OWRE.js";
103
103
  import {
104
104
  lockKey
105
- } from "./chunk-OOGXZL7Z.js";
105
+ } from "./chunk-OKNE3TWU.js";
106
106
  import {
107
107
  HOSTED_FILE_SCHEME,
108
108
  isHostedFile,
109
109
  pendingHostedSrc
110
- } from "./chunk-XNCP4KYO.js";
110
+ } from "./chunk-VQPDATQT.js";
111
111
  import {
112
112
  ANNOTATION_KEYS,
113
113
  OPTION_KEYS,
@@ -3058,4 +3058,4 @@ export {
3058
3058
  serializeBundle,
3059
3059
  emitBundle
3060
3060
  };
3061
- //# sourceMappingURL=chunk-II747OWE.js.map
3061
+ //# sourceMappingURL=chunk-FV55SRQU.js.map
@@ -3,7 +3,7 @@ import {
3
3
  recordedCredentialFile,
4
4
  recordedCredentialPath,
5
5
  resolveAuthFilePath
6
- } from "./chunk-I2BGYNHD.js";
6
+ } from "./chunk-OJPZEUPH.js";
7
7
  import {
8
8
  readEnvVar
9
9
  } from "./chunk-X2NL4KUO.js";
@@ -43,7 +43,7 @@ function contextFlags(args = ambient, opts = {}) {
43
43
  try {
44
44
  file = credentialFileFlag(resolveAuthFilePath(args));
45
45
  } catch {
46
- file = args.local ? " --local" : args.authFile !== void 0 ? ` --config ${shellQuote(args.authFile)}` : "";
46
+ file = args.local ? " --local-auth" : args.authFile !== void 0 ? ` --config ${shellQuote(args.authFile)}` : "";
47
47
  }
48
48
  const profile = args.profile !== void 0 && args.profile !== "" ? ` --profile ${shellQuote(args.profile)}` : "";
49
49
  return `${profile}${file}`;
@@ -73,4 +73,4 @@ export {
73
73
  ENV_CREDENTIAL_VARS,
74
74
  recordedByEnvCredential
75
75
  };
76
- //# sourceMappingURL=chunk-SEUCZZCP.js.map
76
+ //# sourceMappingURL=chunk-G57RYMKB.js.map
@@ -3,17 +3,17 @@ import {
3
3
  listAnswer,
4
4
  notTheAnswer,
5
5
  writeTransportFailure
6
- } from "./chunk-CFSFBKHP.js";
6
+ } from "./chunk-TEBS7FE6.js";
7
7
  import {
8
8
  SENT_AFTERMATH,
9
9
  fetchOrExplain,
10
10
  readBodyText,
11
11
  safeHttpFailure,
12
12
  withWriteStatusAftermath
13
- } from "./chunk-MN2PB6WB.js";
13
+ } from "./chunk-HLQH3AXB.js";
14
14
  import {
15
15
  isNonPublicColumn
16
- } from "./chunk-4PQHO74B.js";
16
+ } from "./chunk-VZ22VUAS.js";
17
17
 
18
18
  // src/deploy/table.ts
19
19
  var TIMEOUT_MS = 3e4;
@@ -184,4 +184,4 @@ export {
184
184
  truncateTable,
185
185
  insertTableRows
186
186
  };
187
- //# sourceMappingURL=chunk-MNVDVR3M.js.map
187
+ //# sourceMappingURL=chunk-GMVW6ZZK.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  profileSourceLabel
3
- } from "./chunk-QXTKSOFI.js";
3
+ } from "./chunk-MF4W6FHU.js";
4
4
  import {
5
5
  readEnvVar
6
6
  } from "./chunk-X2NL4KUO.js";
7
7
  import {
8
8
  UsageError
9
- } from "./chunk-SBR2WZXG.js";
9
+ } from "./chunk-XNZURZ7T.js";
10
10
 
11
11
  // src/util/last-credential.ts
12
12
  import { AsyncLocalStorage } from "async_hooks";
@@ -650,4 +650,4 @@ export {
650
650
  fetchReadOrExplain,
651
651
  retryingFetch
652
652
  };
653
- //# sourceMappingURL=chunk-MN2PB6WB.js.map
653
+ //# sourceMappingURL=chunk-HLQH3AXB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ensureGitignored
3
- } from "./chunk-I2BGYNHD.js";
3
+ } from "./chunk-OJPZEUPH.js";
4
4
  import {
5
5
  atomicWrite
6
6
  } from "./chunk-LLNZGEFK.js";
@@ -8,7 +8,7 @@ import {
8
8
  // src/deploy/deployed-state.ts
9
9
  import { mkdirSync, readFileSync, rmSync } from "fs";
10
10
  import { dirname, join, resolve } from "path";
11
- var DEPLOYED_KINDS = ["ephemeral", "local-engine"];
11
+ var DEPLOYED_KINDS = ["ephemeral", "local"];
12
12
  function isRealDeployment(kind) {
13
13
  return kind === "workspace" || kind === "tenant";
14
14
  }
@@ -52,4 +52,4 @@ export {
52
52
  readDeployed,
53
53
  recordDeployed
54
54
  };
55
- //# sourceMappingURL=chunk-HSEQYBDO.js.map
55
+ //# sourceMappingURL=chunk-HOOOOJJP.js.map
@@ -2,7 +2,7 @@ import {
2
2
  UsageError,
3
3
  flagNames,
4
4
  unknownFlag
5
- } from "./chunk-SBR2WZXG.js";
5
+ } from "./chunk-XNZURZ7T.js";
6
6
 
7
7
  // src/emit/plugin-questions.ts
8
8
  function hostLabel(host) {
@@ -156,4 +156,4 @@ export {
156
156
  assertNoFlagCollisions,
157
157
  resolvePluginAnswers
158
158
  };
159
- //# sourceMappingURL=chunk-IXUPUFCG.js.map
159
+ //# sourceMappingURL=chunk-I5VEROXW.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  appNamesByGuid,
3
3
  lockNameForObject
4
- } from "./chunk-OOGXZL7Z.js";
4
+ } from "./chunk-OKNE3TWU.js";
5
5
 
6
6
  // src/validate/kinds.ts
7
7
  var ROUND_TRIP_KINDS = [
@@ -106,4 +106,4 @@ export {
106
106
  kindIsRunnable,
107
107
  identityMatcher
108
108
  };
109
- //# sourceMappingURL=chunk-UI4OPTYR.js.map
109
+ //# sourceMappingURL=chunk-IV446ZLJ.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  LOOPBACK_HOSTS
3
- } from "./chunk-AM4FKL4J.js";
3
+ } from "./chunk-PL7AIAWS.js";
4
4
  import {
5
5
  TransportError,
6
6
  describeTransportFailure,
7
7
  fetchOrExplain
8
- } from "./chunk-MN2PB6WB.js";
8
+ } from "./chunk-HLQH3AXB.js";
9
9
  import {
10
10
  readEnvVar
11
11
  } from "./chunk-X2NL4KUO.js";
@@ -137,7 +137,7 @@ async function resolveEngineRelease(opts) {
137
137
  if (status === 404) {
138
138
  throw new EngineReleaseNotFoundError(
139
139
  `There is no published engine release ${wanted}.
140
- Check the version, or run \`xanosdk local-engine update\` to move to the latest one.`
140
+ Check the version, or run \`xanosdk local update\` to move to the latest one.`
141
141
  );
142
142
  }
143
143
  if (body === void 0) throw failed(status, display);
@@ -145,7 +145,7 @@ Check the version, or run \`xanosdk local-engine update\` to move to the latest
145
145
  if (asset === void 0) {
146
146
  throw new Error(
147
147
  `Engine release ${wanted} has no archive for ${platform}, so nothing was downloaded.
148
- Run \`xanosdk local-engine update\` to move to a release built for ${platform}.`
148
+ Run \`xanosdk local update\` to move to a release built for ${platform}.`
149
149
  );
150
150
  }
151
151
  return asset;
@@ -179,4 +179,4 @@ export {
179
179
  EngineReleaseNotFoundError,
180
180
  resolveEngineRelease
181
181
  };
182
- //# sourceMappingURL=chunk-CYB7UQA2.js.map
182
+ //# sourceMappingURL=chunk-JQOX6HW4.js.map
@@ -37,7 +37,7 @@ import {
37
37
  tableColumns,
38
38
  tableIndexes,
39
39
  unusableColumns
40
- } from "./chunk-4PQHO74B.js";
40
+ } from "./chunk-VZ22VUAS.js";
41
41
  import {
42
42
  brandDef
43
43
  } from "./chunk-ERVIASGL.js";
@@ -74,7 +74,7 @@ import {
74
74
  identityNamesByGuid,
75
75
  lockNameForObject,
76
76
  sdkKindName
77
- } from "./chunk-OOGXZL7Z.js";
77
+ } from "./chunk-OKNE3TWU.js";
78
78
  import {
79
79
  annotate,
80
80
  encodeStatement,
@@ -8195,4 +8195,4 @@ export {
8195
8195
  checkToolOutputSchema,
8196
8196
  checkAgentArgPlaceholders
8197
8197
  };
8198
- //# sourceMappingURL=chunk-OPG4DYX2.js.map
8198
+ //# sourceMappingURL=chunk-JSEVKRVJ.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  findRelease,
3
3
  listReleases
4
- } from "./chunk-A6QTTJUI.js";
4
+ } from "./chunk-3BJYQGAZ.js";
5
5
  import {
6
6
  isSignatureRefusal
7
- } from "./chunk-MEE5RZ6G.js";
7
+ } from "./chunk-5XVBT6CQ.js";
8
8
  import {
9
9
  resolveEphemeralName
10
- } from "./chunk-3P3HXN76.js";
10
+ } from "./chunk-V4IBHDIY.js";
11
11
  import {
12
12
  displayNameHint,
13
13
  displayNameOwner,
@@ -17,34 +17,34 @@ import {
17
17
  selectorFix,
18
18
  sentenceCase,
19
19
  sharedDisplayHint
20
- } from "./chunk-W5ONYLOP.js";
20
+ } from "./chunk-KQLACS4Q.js";
21
21
  import {
22
22
  getTenant,
23
23
  tenantHasWorkspace
24
- } from "./chunk-KCAL4QYP.js";
24
+ } from "./chunk-4GDEEY2U.js";
25
25
  import {
26
26
  clearEngineRecordsNamed,
27
27
  getEngineRecord,
28
28
  listEngineRecords
29
- } from "./chunk-WL2DSNJV.js";
29
+ } from "./chunk-Q22BMRPF.js";
30
30
  import {
31
31
  assertLoopbackUrl
32
- } from "./chunk-AM4FKL4J.js";
32
+ } from "./chunk-PL7AIAWS.js";
33
33
  import {
34
34
  clearEnvironment,
35
35
  getEnvironment,
36
36
  readEphemeralState
37
- } from "./chunk-UKUIUS3E.js";
37
+ } from "./chunk-4QBGE3EO.js";
38
38
  import {
39
39
  getEphemeral,
40
40
  isExpired
41
- } from "./chunk-BUECLQXK.js";
41
+ } from "./chunk-QZTJ2556.js";
42
42
  import {
43
43
  pipedYes
44
- } from "./chunk-FMOEVAGT.js";
44
+ } from "./chunk-Z4VN347O.js";
45
45
  import {
46
46
  contextFlags
47
- } from "./chunk-SEUCZZCP.js";
47
+ } from "./chunk-G57RYMKB.js";
48
48
  import {
49
49
  TransportError,
50
50
  UNTRUSTED_CERTIFICATE,
@@ -52,12 +52,12 @@ import {
52
52
  certificateFailureCode,
53
53
  isTimeoutError,
54
54
  lastRateLimitRetryAfter
55
- } from "./chunk-MN2PB6WB.js";
55
+ } from "./chunk-HLQH3AXB.js";
56
56
  import {
57
57
  CliError,
58
58
  EXIT_SOURCE_UNRESOLVABLE,
59
59
  safeText
60
- } from "./chunk-SBR2WZXG.js";
60
+ } from "./chunk-XNZURZ7T.js";
61
61
  import {
62
62
  suggest,
63
63
  suggestAll
@@ -120,8 +120,8 @@ function describeBackend(resolved) {
120
120
  return `${kind} ${JSON.stringify(label)}${shown}`;
121
121
  case "workspace":
122
122
  return "your workspace";
123
- case "local-engine":
124
- return resolved.provenance === "local-engine" ? "your local engine" : `local engine ${JSON.stringify(label)}`;
123
+ case "local":
124
+ return resolved.provenance === "local" ? "your Xano Engine" : `Xano Engine ${JSON.stringify(label)}`;
125
125
  default:
126
126
  return label;
127
127
  }
@@ -208,8 +208,8 @@ function listHint(kind) {
208
208
  return `\`xanosdk tenant list${contextFlags()}\` and \`xanosdk ephemeral list${contextFlags()}\` show the ones that exist`;
209
209
  case "release":
210
210
  return `\`xanosdk release list${contextFlags()}\` shows the ones that exist`;
211
- case "local-engine":
212
- return "`xanosdk local-engine list` shows the ones that are running";
211
+ case "local":
212
+ return "`xanosdk local list` shows the ones that are running";
213
213
  default:
214
214
  return "";
215
215
  }
@@ -331,7 +331,7 @@ async function releaseNames(auth) {
331
331
  }
332
332
  async function resolveSource(source, credential, deps = {}) {
333
333
  const cwd = deps.cwd ?? process.cwd();
334
- if (source.kind === "local-engine") return resolveLocalEngine(source.name, cwd, deps);
334
+ if (source.kind === "local") return resolveLocalEngine(source.name, cwd, deps);
335
335
  const auth = await credential();
336
336
  const hosted = await resolveHosted(auth, source, cwd, deps);
337
337
  return {
@@ -377,7 +377,7 @@ async function resolveHosted(auth, source, cwd, deps) {
377
377
  const cleared = clearStale(auth, name, cwd);
378
378
  if (cleared) {
379
379
  throw new SourceError(
380
- `No ephemeral named "${name}" \u2014 this project's ephemeral was deleted (cleared this project's record of it). Run \`xanosdk deploy${contextFlags()}\` to create a fresh one.`,
380
+ `No ephemeral named "${name}" \u2014 this project's ephemeral was deleted (cleared this project's record of it). Run \`xanosdk deploy --ephemeral${contextFlags()}\` to create a fresh one.`,
381
381
  "gone",
382
382
  "ephemeral"
383
383
  );
@@ -397,7 +397,7 @@ async function resolveHosted(auth, source, cwd, deps) {
397
397
  if (isExpired(summary.expiresAt)) {
398
398
  const cleared = clearStale(auth, name, cwd);
399
399
  throw new SourceError(
400
- `Ephemeral "${name}" has expired. Run \`xanosdk deploy${contextFlags()}\` to create a fresh one${cleared ? " (cleared this project's record of it)" : ""}.`,
400
+ `Ephemeral "${name}" has expired. Run \`xanosdk deploy --ephemeral${contextFlags()}\` to create a fresh one${cleared ? " (cleared this project's record of it)" : ""}.`,
401
401
  "expired",
402
402
  "ephemeral"
403
403
  );
@@ -487,19 +487,19 @@ async function resolveLocalEngine(named, cwd, deps) {
487
487
  const name = named !== void 0 && named !== "" ? named : getEngineRecord(cwd, env)?.name;
488
488
  if (name === void 0) {
489
489
  throw new SourceError(
490
- `No local engine is recorded for this project, and no name was given.
491
- Run \`xanosdk deploy --local-engine\` to stand one up, or name one from \`xanosdk local-engine list\`.` + (deps.deployFallback !== false ? ` Meanwhile \`xanosdk deploy${contextFlags()}\` still deploys to an ephemeral.` : ""),
490
+ `No Xano Engine is recorded for this project, and no name was given.
491
+ Run \`xanosdk deploy --local\` to stand one up, or name one from \`xanosdk local list\`.` + (deps.deployFallback !== false ? ` Meanwhile \`xanosdk deploy --ephemeral${contextFlags()}\` still deploys to an ephemeral.` : ""),
492
492
  "gone",
493
- "local-engine"
493
+ "local"
494
494
  );
495
495
  }
496
496
  const running = await (deps.listEngines ?? defaultEnumeration(env, cwd))();
497
497
  if (running === void 0) {
498
498
  throw new SourceError(
499
499
  `No engine is cached on this machine, so nothing here can find "${name}".
500
- Run \`xanosdk deploy --local-engine\` to fetch one.` + (deps.deployFallback !== false ? ` Meanwhile \`xanosdk deploy${contextFlags()}\` still deploys to an ephemeral.` : ""),
500
+ Run \`xanosdk deploy --local\` to fetch one.` + (deps.deployFallback !== false ? ` Meanwhile \`xanosdk deploy --ephemeral${contextFlags()}\` still deploys to an ephemeral.` : ""),
501
501
  "gone",
502
- "local-engine"
502
+ "local"
503
503
  );
504
504
  }
505
505
  const stale = !running.some((e) => e.name === name) && listEngineRecords(env).some((r) => r.name === name);
@@ -507,12 +507,12 @@ Run \`xanosdk deploy --local-engine\` to fetch one.` + (deps.deployFallback !==
507
507
  const swept = stale && sweep !== void 0 ? await sweep() : [];
508
508
  const engine = liveEngine(name, running, env, deps.deployFallback !== false, swept, deps.bareName === true);
509
509
  return {
510
- kind: "local-engine",
511
- provenance: named !== void 0 && named !== "" ? `local-engine:${name}` : "local-engine",
510
+ kind: "local",
511
+ provenance: named !== void 0 && named !== "" ? `local:${name}` : "local",
512
512
  target: {
513
513
  base: engine.url.replace(/\/$/, ""),
514
514
  workspaceId: engine.workspaceId,
515
- label: named !== void 0 && named !== "" ? name : "your local engine"
515
+ label: named !== void 0 && named !== "" ? name : "your Xano Engine"
516
516
  },
517
517
  backend: { kind: "local", engine },
518
518
  // The ENUMERATION's url and token, never a record's: a restarted engine
@@ -529,7 +529,7 @@ function liveEngine(name, running, env, deployFallback, swept = [], bareName = f
529
529
  name,
530
530
  recorded ? clearEngineRecordsNamed(name, env).length : 0,
531
531
  deployFallback,
532
- near === void 0 || bareName ? near : `local-engine:${near}`,
532
+ near === void 0 || bareName ? near : `local:${near}`,
533
533
  swept
534
534
  );
535
535
  }
@@ -539,7 +539,7 @@ function liveEngine(name, running, env, deployFallback, swept = [], bareName = f
539
539
  recorded ? "The engine recorded for this project" : `The engine named "${name}"`
540
540
  );
541
541
  } catch (err) {
542
- throw new SourceError(err.message, "unreachable", "local-engine");
542
+ throw new SourceError(err.message, "unreachable", "local");
543
543
  }
544
544
  return engine;
545
545
  }
@@ -550,24 +550,24 @@ function engineNotRunning(name, clearedProjects, deployFallback = true, nearest,
550
550
  ];
551
551
  const tail = said.length === 0 ? "" : ` (${said.join("; ")})`;
552
552
  return new SourceError(
553
- `Local engine "${name}" is not running${tail}.
553
+ `Xano Engine "${name}" is not running${tail}.
554
554
  ` + // A one-letter slip on a name nobody types by hand — say which one runs.
555
555
  (nearest !== void 0 ? `Did you mean \`${nearest}\`? It is running.
556
- ` : "") + `${listHint("local-engine")}, and \`xanosdk deploy --local-engine\` stands one up.` + (deployFallback ? ` Meanwhile \`xanosdk deploy${contextFlags()}\` still deploys to an ephemeral.` : ""),
556
+ ` : "") + `${listHint("local")}, and \`xanosdk deploy --local\` stands one up.` + (deployFallback ? ` Meanwhile \`xanosdk deploy --ephemeral${contextFlags()}\` still deploys to an ephemeral.` : ""),
557
557
  "gone",
558
- "local-engine",
558
+ "local",
559
559
  nearest
560
560
  );
561
561
  }
562
562
  function defaultSweep(env) {
563
563
  return async () => {
564
- const { stopOrphanedEngineProcesses } = await import("./local-engine-process-6VZ7JJBP.js");
564
+ const { stopOrphanedEngineProcesses } = await import("./local-engine-process-6YPJHKYM.js");
565
565
  return stopOrphanedEngineProcesses({ env }).stopped;
566
566
  };
567
567
  }
568
568
  function defaultEnumeration(env, cwd) {
569
569
  return async () => {
570
- const { cachedEngineEntry, listEngines } = await import("./local-engine-process-6VZ7JJBP.js");
570
+ const { cachedEngineEntry, listEngines } = await import("./local-engine-process-6YPJHKYM.js");
571
571
  const entry = cachedEngineEntry(env, cwd);
572
572
  return entry === void 0 ? void 0 : listEngines({ entry, env });
573
573
  };
@@ -598,4 +598,4 @@ export {
598
598
  releaseNames,
599
599
  resolveSource
600
600
  };
601
- //# sourceMappingURL=chunk-2AUV6NXK.js.map
601
+ //# sourceMappingURL=chunk-JXKO6JT7.js.map
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-LLNZGEFK.js";
4
4
  import {
5
5
  assertValidProfileName
6
- } from "./chunk-QXTKSOFI.js";
6
+ } from "./chunk-MF4W6FHU.js";
7
7
  import {
8
8
  UsageError
9
- } from "./chunk-SBR2WZXG.js";
9
+ } from "./chunk-XNZURZ7T.js";
10
10
  import {
11
11
  shellQuote
12
12
  } from "./chunk-5ZSO4T2G.js";
@@ -156,4 +156,4 @@ export {
156
156
  pointerRootFor,
157
157
  projectRootFor
158
158
  };
159
- //# sourceMappingURL=chunk-FPBGAT5D.js.map
159
+ //# sourceMappingURL=chunk-JZWUAEMO.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sdkKindName
3
- } from "./chunk-OOGXZL7Z.js";
3
+ } from "./chunk-OKNE3TWU.js";
4
4
 
5
5
  // src/validate/capabilities.ts
6
6
  var CAPABILITIES = {
@@ -145,4 +145,4 @@ export {
145
145
  STATEMENT_CAPABILITIES,
146
146
  bundleCapabilities
147
147
  };
148
- //# sourceMappingURL=chunk-6R7S775T.js.map
148
+ //# sourceMappingURL=chunk-K6CB5TKM.js.map
@@ -3,11 +3,11 @@ import {
3
3
  reachableLines,
4
4
  readReachableWorkspaces,
5
5
  workspaceIdFix
6
- } from "./chunk-QAEQGT5I.js";
6
+ } from "./chunk-UIEFE6FU.js";
7
7
  import {
8
8
  credentialRejected,
9
9
  getAccessToken
10
- } from "./chunk-LUTMOHOW.js";
10
+ } from "./chunk-CJ76PSJT.js";
11
11
  import {
12
12
  CREDENTIAL_FILE_VERSION,
13
13
  UPGRADE_REMEDY,
@@ -15,16 +15,16 @@ import {
15
15
  loginCommand,
16
16
  readCredentialFile,
17
17
  resolveAuthFilePath
18
- } from "./chunk-I2BGYNHD.js";
18
+ } from "./chunk-OJPZEUPH.js";
19
19
  import {
20
20
  fetchOrExplain,
21
21
  httpFailure,
22
22
  parseJsonAnswer
23
- } from "./chunk-MN2PB6WB.js";
23
+ } from "./chunk-HLQH3AXB.js";
24
24
  import {
25
25
  profileSourceLabel,
26
26
  selectionDocument
27
- } from "./chunk-QXTKSOFI.js";
27
+ } from "./chunk-MF4W6FHU.js";
28
28
  import {
29
29
  formatFields,
30
30
  isMachineOutput,
@@ -32,7 +32,7 @@ import {
32
32
  stdoutStyle,
33
33
  warn,
34
34
  writeJson
35
- } from "./chunk-SBR2WZXG.js";
35
+ } from "./chunk-XNZURZ7T.js";
36
36
  import {
37
37
  shellQuote
38
38
  } from "./chunk-5ZSO4T2G.js";
@@ -165,7 +165,7 @@ function prettyProfile(p) {
165
165
  }
166
166
  async function runWhoamiCommand(args) {
167
167
  const profile = await fetchProfile(args).catch(async (err) => {
168
- const { unansweredRead } = await import("./source-resolve-DMDZVPMM.js");
168
+ const { unansweredRead } = await import("./source-resolve-OWD3MIEO.js");
169
169
  throw unansweredRead(err, "read the signed-in user", "workspace");
170
170
  });
171
171
  if (isMachineOutput(args)) {
@@ -185,4 +185,4 @@ export {
185
185
  profileValue,
186
186
  runWhoamiCommand
187
187
  };
188
- //# sourceMappingURL=chunk-MCTIKRMN.js.map
188
+ //# sourceMappingURL=chunk-K6PRKPFX.js.map