@xano/sdk 1.0.13 → 1.0.14

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 (241) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +28 -28
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-DAFGNMQX.js → agent-file-refresh-3J6YRVFL.js} +12 -11
  5. package/dist/{agent-skill-command-6M46ZGOL.js → agent-skill-command-VWDMQWCT.js} +51 -50
  6. package/dist/{answer-shape-CBUQRSXI.js → answer-shape-AVZSKBR6.js} +4 -4
  7. package/dist/{backend-dir-J2J7JNS6.js → backend-dir-ISP7RVF2.js} +11 -10
  8. package/dist/{backend-slot-X5AUX2TT.js → backend-slot-DZAUHLTS.js} +3 -3
  9. package/dist/bin.js +47 -46
  10. package/dist/{branch-YS2K3VOB.js → branch-IJTBZZFO.js} +8 -8
  11. package/dist/{branch-commands-BUKVE637.js → branch-commands-75IYFTBS.js} +26 -25
  12. package/dist/{chunk-UECNKDDA.js → chunk-2FDHIBEU.js} +8 -8
  13. package/dist/{chunk-P6HXDOFG.js → chunk-2KOB4QPW.js} +13 -13
  14. package/dist/{chunk-PCHIHVX6.js → chunk-2LF734YB.js} +4 -4
  15. package/dist/{chunk-R7XZW4SB.js → chunk-3H7R4ISR.js} +2 -2
  16. package/dist/{chunk-NMHTB346.js → chunk-3SZ7QRYA.js} +36 -10
  17. package/dist/{chunk-DB7P2SSK.js → chunk-45K2QZBR.js} +3 -3
  18. package/dist/{chunk-C2SAVXAB.js → chunk-4MX5LMPQ.js} +2 -2
  19. package/dist/{chunk-IZI3SYXH.js → chunk-5FJ4M4HB.js} +38 -38
  20. package/dist/{chunk-ZSMHS7BU.js → chunk-5TWLVFYB.js} +4 -4
  21. package/dist/{chunk-JKGRQW6D.js → chunk-5W7S2SCA.js} +4 -4
  22. package/dist/{chunk-F2NFNYCB.js → chunk-6ILHYSLR.js} +3 -3
  23. package/dist/{chunk-IFXPHVPY.js → chunk-6LJS4M6P.js} +3 -3
  24. package/dist/{chunk-CTUIMNEM.js → chunk-6X73VFCX.js} +2 -2
  25. package/dist/{chunk-DZUNF7IH.js → chunk-75QC66XI.js} +2 -2
  26. package/dist/{chunk-FBWMKHLO.js → chunk-7F3V6CFP.js} +3 -3
  27. package/dist/{chunk-5ONWBQ2C.js → chunk-B7CPSWQX.js} +7 -7
  28. package/dist/{chunk-4CS4DKQC.js → chunk-BEKEOXNG.js} +2 -2
  29. package/dist/{chunk-U4BGBU3R.js → chunk-BSGU4HS6.js} +44 -44
  30. package/dist/{chunk-ZGNWMGN3.js → chunk-CB67GIR3.js} +26 -8
  31. package/dist/{chunk-M7DIIJPW.js → chunk-DBDTQR23.js} +4 -4
  32. package/dist/{chunk-ENBGJJJH.js → chunk-DERQSEB5.js} +9 -9
  33. package/dist/{chunk-RZABQ4YH.js → chunk-DGYXCIBV.js} +4 -4
  34. package/dist/{chunk-BXVNRUDB.js → chunk-DLDYQNGP.js} +3 -3
  35. package/dist/{chunk-I2AVVARA.js → chunk-ECQXASG3.js} +2 -2
  36. package/dist/{chunk-2BHYGUTI.js → chunk-EQXHUWUO.js} +2 -2
  37. package/dist/{chunk-ONNSFD73.js → chunk-EYVIUX2T.js} +9 -9
  38. package/dist/{chunk-JFPLHK6Y.js → chunk-FBSGFPZ4.js} +2 -2
  39. package/dist/{chunk-EGEANMMK.js → chunk-FIERONKM.js} +2 -2
  40. package/dist/{chunk-K6BQPFRS.js → chunk-GBSHHNSD.js} +3 -3
  41. package/dist/{chunk-N3XSXGAL.js → chunk-GCINMMFL.js} +2 -2
  42. package/dist/{chunk-POZ6V4MU.js → chunk-GKQTXUOW.js} +2 -2
  43. package/dist/{chunk-SBS2IYTN.js → chunk-GOKRKTCX.js} +3 -3
  44. package/dist/{chunk-D4VKPOD4.js → chunk-GRXX2TOJ.js} +13 -112
  45. package/dist/{chunk-YJK4NPXC.js → chunk-GVHWIDEJ.js} +3 -3
  46. package/dist/{chunk-NZ7ML6LG.js → chunk-HINRE3UM.js} +5 -5
  47. package/dist/{chunk-H6VVSGKN.js → chunk-HK554MDD.js} +7 -7
  48. package/dist/{chunk-6HTXQAMG.js → chunk-HKI5Y5KW.js} +14 -14
  49. package/dist/{chunk-MLKJUEG3.js → chunk-HMYJOQXT.js} +23 -23
  50. package/dist/{chunk-DILYWJVP.js → chunk-HXFLHA5K.js} +2 -2
  51. package/dist/{chunk-A2AOUBJS.js → chunk-IHL2O7VY.js} +2 -2
  52. package/dist/{chunk-FLDFKG24.js → chunk-IKXXTRMN.js} +4 -4
  53. package/dist/{chunk-5XDKKE5Y.js → chunk-IWJ6GFST.js} +4 -4
  54. package/dist/{chunk-TANWE2ZY.js → chunk-J3XLCYTQ.js} +80 -80
  55. package/dist/{chunk-ENAUSLMP.js → chunk-J62TYONQ.js} +3 -3
  56. package/dist/{chunk-GRWYO2MS.js → chunk-KDEU5FUJ.js} +3 -3
  57. package/dist/{chunk-VA4JK4TW.js → chunk-KMKUH2IO.js} +3 -3
  58. package/dist/{chunk-VTMTIBKP.js → chunk-L34DM6QB.js} +2 -2
  59. package/dist/{chunk-6OOZJQJK.js → chunk-L4WG4BKJ.js} +68 -68
  60. package/dist/{chunk-QWWQM4XZ.js → chunk-LB76VK6D.js} +7 -7
  61. package/dist/{chunk-E763QI3G.js → chunk-LJZIBT75.js} +2 -2
  62. package/dist/{chunk-5SMUND4J.js → chunk-LPQZICYN.js} +6 -6
  63. package/dist/{chunk-UFFIU57H.js → chunk-LSJ3SQEU.js} +4 -4
  64. package/dist/{chunk-O6PWEJUV.js → chunk-LW7TOIS7.js} +8 -8
  65. package/dist/{chunk-XL7EA62X.js → chunk-MAXDJZQR.js} +5 -5
  66. package/dist/{chunk-7NNLRNXE.js → chunk-MIS6F4HM.js} +4 -4
  67. package/dist/{chunk-WZXEQUIM.js → chunk-MTBKTGZT.js} +2 -2
  68. package/dist/{chunk-WQZCFVAD.js → chunk-MYIIBV6A.js} +5 -5
  69. package/dist/{chunk-3RZ4UJWV.js → chunk-N6LGLNAC.js} +4 -4
  70. package/dist/{chunk-H7GMGZHI.js → chunk-NDV6CBR7.js} +2 -2
  71. package/dist/{chunk-HEMWBHQS.js → chunk-NOW522B4.js} +13 -13
  72. package/dist/{chunk-DFCYAEBE.js → chunk-NUZXSIEA.js} +3 -3
  73. package/dist/{chunk-DYGRTWAI.js → chunk-O44MJTLR.js} +3 -3
  74. package/dist/{chunk-EKS7SAZS.js → chunk-OLQN4Z5R.js} +53 -61
  75. package/dist/{chunk-CGZSF756.js → chunk-P4OWRYE7.js} +28 -28
  76. package/dist/{chunk-373AVIL2.js → chunk-QAEBBTYR.js} +7 -7
  77. package/dist/{chunk-UKC65HBQ.js → chunk-QJ25N4W6.js} +4 -4
  78. package/dist/{chunk-RAGFXELQ.js → chunk-QKHNJ7LE.js} +5 -5
  79. package/dist/{chunk-3ZVSOZZC.js → chunk-QRMKQYCB.js} +2 -2
  80. package/dist/{chunk-RQHXYL77.js → chunk-QX5XQEYB.js} +5 -7
  81. package/dist/{chunk-UDCKYLBW.js → chunk-RDZBXTZ3.js} +4 -4
  82. package/dist/{chunk-U4DSFCH5.js → chunk-RPBB7P4Q.js} +2 -2
  83. package/dist/{chunk-W5MKVFBQ.js → chunk-RV2BDU7V.js} +5 -5
  84. package/dist/{chunk-XFQAA2SU.js → chunk-RVAEPPRH.js} +2 -2
  85. package/dist/{chunk-6QJORUHC.js → chunk-RYWNNJK5.js} +2 -2
  86. package/dist/{chunk-VFRL4G72.js → chunk-SAEIVQLP.js} +3 -3
  87. package/dist/{chunk-H5FAYLCR.js → chunk-SPLRKCFV.js} +2 -2
  88. package/dist/{chunk-ZISPEBNM.js → chunk-SUKO4SZG.js} +60 -55
  89. package/dist/{chunk-B5N6EWOM.js → chunk-UQ2OD7D4.js} +3 -3
  90. package/dist/{chunk-DPSR5GRE.js → chunk-VBSCWV5H.js} +49 -49
  91. package/dist/chunk-VYJYDMY6.js +9 -0
  92. package/dist/{chunk-C4TZP5PQ.js → chunk-WS2X5BB2.js} +5 -5
  93. package/dist/{chunk-P5JF3U65.js → chunk-WS4BA75E.js} +37 -4
  94. package/dist/{chunk-XYVPF63S.js → chunk-XCFQLP6G.js} +8 -8
  95. package/dist/{chunk-OCNTMJSY.js → chunk-XPSDDTUZ.js} +3 -3
  96. package/dist/{chunk-OBRMA2VK.js → chunk-XY4OBD26.js} +3 -3
  97. package/dist/{chunk-XVOODRNK.js → chunk-Y5XAPLZS.js} +4 -4
  98. package/dist/{chunk-ZACMAKZE.js → chunk-YFQCDLCQ.js} +14 -14
  99. package/dist/{chunk-HDANNK4A.js → chunk-YL3WVBR5.js} +9 -9
  100. package/dist/{chunk-XM56DAM7.js → chunk-YR3MNGWZ.js} +8 -8
  101. package/dist/{chunk-HUEFVPYW.js → chunk-YTQYP7UJ.js} +3 -3
  102. package/dist/{chunk-KICERNAP.js → chunk-Z3DQ7ULY.js} +4 -4
  103. package/dist/{chunk-JHQAVWHW.js → chunk-Z4BQPABS.js} +2 -2
  104. package/dist/{chunk-6LECAG3Y.js → chunk-ZMJRAMLA.js} +4 -4
  105. package/dist/{chunk-AUYXBKGR.js → chunk-ZOHEHIFS.js} +2 -2
  106. package/dist/{chunk-A3CT26GX.js → chunk-ZRXDPCMN.js} +2 -2
  107. package/dist/cli.js +45 -44
  108. package/dist/{codegen-command-BAFON45M.js → codegen-command-JWOW6HE5.js} +63 -62
  109. package/dist/codegen.js +2 -2
  110. package/dist/{commands-IFRAGWGK.js → commands-5ILSWDSV.js} +2 -2
  111. package/dist/{completion-RTXCODHS.js → completion-UNKBVVDT.js} +2 -2
  112. package/dist/{config-EHFXNFSP.js → config-NTOASFCA.js} +3 -3
  113. package/dist/{deploy-command-JW7R3BPW.js → deploy-command-WESYWFJN.js} +52 -51
  114. package/dist/{deploy-source-ZUPLAL7L.js → deploy-source-ZQQNMDFX.js} +27 -26
  115. package/dist/{dev-env-sync-W7OTV7OD.js → dev-env-sync-4XJT7WOT.js} +46 -45
  116. package/dist/{display-name-hint-BKPMISQU.js → display-name-hint-MYXCCAOP.js} +10 -10
  117. package/dist/{env-example-refresh-TS7WBVZQ.js → env-example-refresh-4V2OCDJE.js} +64 -63
  118. package/dist/{env-pull-command-5IYXQ2WK.js → env-pull-command-SK5FS477.js} +42 -41
  119. package/dist/{env-target-TQBPLU2S.js → env-target-TEFSYACA.js} +9 -9
  120. package/dist/{env-var-command-AKCWYZPB.js → env-var-command-IJHKA2WJ.js} +37 -36
  121. package/dist/{ephemeral-CART6DIR.js → ephemeral-VLPRDNEJ.js} +8 -8
  122. package/dist/{ephemeral-command-SJYH6XRS.js → ephemeral-command-WCO5J4SN.js} +43 -42
  123. package/dist/{ephemeral-state-HPKSKC4Y.js → ephemeral-state-RUOU2GFS.js} +7 -7
  124. package/dist/{generate-command-FSCFZPOJ.js → generate-command-3WCOUOEQ.js} +68 -67
  125. package/dist/{gitignore-6IJ66XME.js → gitignore-WYS3GMOX.js} +15 -14
  126. package/dist/{guards-RU4C7TFG.js → guards-PPIBIMFZ.js} +6 -6
  127. package/dist/{impersonate-command-IH4HMSS3.js → impersonate-command-UMYVQTCG.js} +33 -32
  128. package/dist/{import-RUBCGLCA.js → import-T4ZTOTBT.js} +4 -4
  129. package/dist/index.js +11 -11
  130. package/dist/{init-command-STB4YSAK.js → init-command-UR5MSXIH.js} +50 -51
  131. package/dist/{init-modules-YIZYPCMM.js → init-modules-7KALFI5C.js} +7 -7
  132. package/dist/{init-web-OGKACAOC.js → init-web-DYE2FEXL.js} +2 -2
  133. package/dist/internal.js +68 -62
  134. package/dist/{keep-data-merge-VRKS64JK.js → keep-data-merge-OVHCIEBG.js} +24 -24
  135. package/dist/{lambda-config-reconcile-FXPDH2U5.js → lambda-config-reconcile-VOBVZPWS.js} +3 -3
  136. package/dist/{landing-record-5EFK7RI6.js → landing-record-AIHNW4AZ.js} +17 -16
  137. package/dist/{live-diff-HARRGFV4.js → live-diff-UMSOGPX3.js} +6 -6
  138. package/dist/{local-engine-choice-TRTEJVMV.js → local-engine-choice-XDGTATKJ.js} +30 -29
  139. package/dist/{local-engine-command-2FK2PE2P.js → local-engine-command-VQWNQ7UK.js} +35 -34
  140. package/dist/{local-engine-deploy-ZZVHBI2X.js → local-engine-deploy-4N4NFZ4T.js} +11 -11
  141. package/dist/{local-engine-lookup-QFRKO35F.js → local-engine-lookup-AQTUGSBT.js} +2 -2
  142. package/dist/{local-engine-mcp-bridge-T2EFRRAF.js → local-engine-mcp-bridge-AMYRH4SY.js} +9 -9
  143. package/dist/{local-engine-mcp-command-FB7EOGG6.js → local-engine-mcp-command-AIMNMXQG.js} +41 -48
  144. package/dist/{local-engine-process-XH35DURU.js → local-engine-process-OD5OSWDG.js} +6 -6
  145. package/dist/{local-engine-update-check-HAXE7BVG.js → local-engine-update-check-G3YCBXRE.js} +4 -4
  146. package/dist/{lock-commands-7PBZIRWR.js → lock-commands-H3YV2D6M.js} +50 -49
  147. package/dist/{login-command-2O6GRMTH.js → login-command-NMM3JNDZ.js} +23 -22
  148. package/dist/{logout-command-RZXGW3O2.js → logout-command-7DYC6G32.js} +13 -12
  149. package/dist/{loop-QHZD37KX.js → loop-DJNIHC7O.js} +6 -6
  150. package/dist/{marketplace-command-NCMLGIMS.js → marketplace-command-UCSHDZGO.js} +33 -33
  151. package/dist/{marketplace-resolve-HPCRNV5O.js → marketplace-resolve-JR4BBJ6K.js} +5 -5
  152. package/dist/{meta-client-DYYM5F5G.js → meta-client-CD3TXQP6.js} +10 -10
  153. package/dist/{module-manifest-EFE6JBZW.js → module-manifest-63I5GRK4.js} +3 -3
  154. package/dist/node.js +50 -49
  155. package/dist/{operation-outcome-SHNROAFA.js → operation-outcome-2ONIIDRU.js} +19 -19
  156. package/dist/{output-target-PSSR3E4N.js → output-target-67LHZKCO.js} +16 -15
  157. package/dist/{plan-disclosure-WEMB5ZJ2.js → plan-disclosure-T7DF4SRJ.js} +16 -16
  158. package/dist/{plugin-contributions-U5PAZKBE.js → plugin-contributions-YYEP7IWH.js} +4 -4
  159. package/dist/{plugin-prompt-O5PAMV5B.js → plugin-prompt-GKCQKNYI.js} +4 -4
  160. package/dist/{plugin-questions-ZVYNKDRB.js → plugin-questions-P7MA3TYI.js} +3 -3
  161. package/dist/{preflight-command-6F7JF3YQ.js → preflight-command-TJ7FURXB.js} +56 -55
  162. package/dist/{profile-command-5AOGD6GV.js → profile-command-LDPLTJEJ.js} +24 -23
  163. package/dist/{profile-pointer-VTOZDBHM.js → profile-pointer-JJ7K5O2R.js} +3 -3
  164. package/dist/{project-dependency-EZNTHMWI.js → project-dependency-X3KCWBK5.js} +6 -6
  165. package/dist/{project-sdk-ZGJM4WYQ.js → project-sdk-YHJZRCNB.js} +3 -3
  166. package/dist/promote-command-RURHOLNR.js +148 -0
  167. package/dist/{prompt-F7UVH4GP.js → prompt-QNMJIWNI.js} +3 -3
  168. package/dist/{publish-command-6VVSJPLI.js → publish-command-IIRN6NWN.js} +55 -54
  169. package/dist/{pull-command-GE2WUEUF.js → pull-command-ITO76ENU.js} +66 -65
  170. package/dist/{pull-superseded-77UZ7CHH.js → pull-superseded-6HADGGC5.js} +3 -3
  171. package/dist/{release-command-55RTR674.js → release-command-CVGIUD4M.js} +60 -59
  172. package/dist/{release-ns-command-5XPZ2B6N.js → release-ns-command-YLCQPVH3.js} +78 -77
  173. package/dist/{retry-command-S5QALD5Z.js → retry-command-LFZYEVRU.js} +7 -7
  174. package/dist/{routes-manifest-ET2TTSCL.js → routes-manifest-R3TQRB24.js} +6 -6
  175. package/dist/{routes-manifest-file-42FTJHRY.js → routes-manifest-file-GYNYFKAH.js} +9 -9
  176. package/dist/scaffold.d.ts +0 -5
  177. package/dist/scaffold.js +2 -2
  178. package/dist/{secrets-file-N5IF265R.js → secrets-file-PCNAFXNV.js} +15 -14
  179. package/dist/{secrets-fill-command-35WKBURT.js → secrets-fill-command-G7NQMRXU.js} +49 -48
  180. package/dist/{seed-5YLQRT2D.js → seed-4CD55LB4.js} +6 -6
  181. package/dist/{source-resolve-JXGOVJD3.js → source-resolve-U4SJR7ZA.js} +17 -17
  182. package/dist/{static-host-TQP3FXPI.js → static-host-MO4VDHL7.js} +4 -4
  183. package/dist/{status-command-G3DFRMU7.js → status-command-CD72PXIT.js} +60 -34
  184. package/dist/{store-ZE5BXCOW.js → store-AJX4MC7Y.js} +5 -5
  185. package/dist/{sync-baseline-JGAAOS25.js → sync-baseline-BJDKG4F2.js} +7 -7
  186. package/dist/{sync-contributions-7T4CSPVQ.js → sync-contributions-XK6LHISZ.js} +8 -8
  187. package/dist/{sync-record-ILWS44DG.js → sync-record-NE62ERA3.js} +9 -9
  188. package/dist/{table-V3LTQUY6.js → table-WPRAM4VW.js} +8 -8
  189. package/dist/{tables-command-7NUOZBHX.js → tables-command-NMTKR52H.js} +35 -34
  190. package/dist/{tenant-7WUS7Q6V.js → tenant-IIYECNWO.js} +9 -9
  191. package/dist/{tenant-command-JGEHRKN7.js → tenant-command-XQAWT46C.js} +83 -82
  192. package/dist/{test-command-2LNEA6GK.js → test-command-W4AD4KT4.js} +32 -31
  193. package/dist/{tests-ENFUACKD.js → tests-JWQRHFCT.js} +5 -5
  194. package/dist/{token-DWNH44NW.js → token-P3VQ6ITJ.js} +9 -8
  195. package/dist/{toolchain-hooks-QIFGPGH2.js → toolchain-hooks-UAJBPSTC.js} +8 -8
  196. package/dist/{toolchain-modules-F4DUMWTO.js → toolchain-modules-S3MPHCUI.js} +4 -4
  197. package/dist/{toolchain-peers-K44IINPG.js → toolchain-peers-FQJBTKEB.js} +7 -7
  198. package/dist/{tracked-backend-ZFXVLBBJ.js → tracked-backend-WWEPNUD5.js} +30 -29
  199. package/dist/{update-check-KBHT63GJ.js → update-check-O7QC5TBB.js} +48 -47
  200. package/dist/{upgrade-command-CI543AZP.js → upgrade-command-J6LRNHYF.js} +51 -50
  201. package/dist/{whoami-command-77DXENWD.js → whoami-command-KWRP2CII.js} +12 -11
  202. package/dist/{workspace-RI5C77BZ.js → workspace-3YNK4XO4.js} +4 -4
  203. package/dist/{workspace-binding-PR57NBGH.js → workspace-binding-TTDNXHO5.js} +11 -10
  204. package/dist/{workspace-command-6HHVFQKW.js → workspace-command-W4ANGLCZ.js} +79 -78
  205. package/dist/{workspace-env-2APJEASO.js → workspace-env-6LJGCTZA.js} +12 -11
  206. package/dist/{workspace-export-GHMUSX2P.js → workspace-export-PUEXKZNS.js} +4 -4
  207. package/dist/{writable-Y6CE2CGK.js → writable-LMMG4AFZ.js} +3 -3
  208. package/dist/{xano-2A2GT7EH.js → xano-Z3SRHYOR.js} +7 -7
  209. package/dist/{xanosdk-import-HBQH3ZBS.js → xanosdk-import-PNNMZ4SF.js} +5 -5
  210. package/dist/{xanosdk-project-W45IR3Q7.js → xanosdk-project-YW3BQY2E.js} +13 -12
  211. package/guides/README.md +3 -3
  212. package/guides/authoring.md +11 -11
  213. package/guides/bundle.md +2 -2
  214. package/guides/cli.md +179 -176
  215. package/guides/codegen.md +17 -17
  216. package/guides/codes.md +3 -3
  217. package/guides/coverage.md +2 -2
  218. package/guides/deploying.md +123 -123
  219. package/guides/environment.md +30 -30
  220. package/guides/marketplace.md +24 -24
  221. package/guides/module-contract.md +9 -9
  222. package/guides/object-kinds.md +4 -4
  223. package/guides/project-structure.md +4 -4
  224. package/guides/scaffold.md +22 -22
  225. package/guides/typed-frontend.md +3 -3
  226. package/llms/client.md +4 -4
  227. package/llms/errors.md +2 -2
  228. package/llms/fields.md +1 -1
  229. package/llms/kinds-agent-mcp.md +1 -1
  230. package/llms/kinds-realtime.md +2 -2
  231. package/llms/lock.md +3 -3
  232. package/llms/statements-calls.md +1 -1
  233. package/llms/statements-runtime.md +2 -2
  234. package/llms/tests.md +3 -3
  235. package/llms/toolchain.md +2 -2
  236. package/llms-full.txt +56 -53
  237. package/llms.txt +35 -32
  238. package/manifest.json +1 -1
  239. package/package.json +1 -1
  240. package/skills/xano-backend/SKILL.md +7 -7
  241. package/dist/promote-command-O2NRRFLK.js +0 -147
@@ -9,13 +9,13 @@ import {
9
9
  ephemeralLandedOn,
10
10
  ephemeralStatePath,
11
11
  recordEphemeralLanding
12
- } from "./chunk-OBRMA2VK.js";
12
+ } from "./chunk-XY4OBD26.js";
13
13
  import {
14
14
  contextFlags
15
- } from "./chunk-A3CT26GX.js";
15
+ } from "./chunk-ZRXDPCMN.js";
16
16
  import {
17
17
  backendDirIn
18
- } from "./chunk-GRWYO2MS.js";
18
+ } from "./chunk-KDEU5FUJ.js";
19
19
  import {
20
20
  destinationKey,
21
21
  isEphemeralDestinationKey,
@@ -28,7 +28,7 @@ import {
28
28
  displayPath,
29
29
  info,
30
30
  warn
31
- } from "./chunk-D4VKPOD4.js";
31
+ } from "./chunk-GRXX2TOJ.js";
32
32
  import {
33
33
  displayLockKey
34
34
  } from "./chunk-5KJBWIDZ.js";
@@ -260,4 +260,4 @@ export {
260
260
  holdsLanding,
261
261
  forgetLanding
262
262
  };
263
- //# sourceMappingURL=chunk-XL7EA62X.js.map
263
+ //# sourceMappingURL=chunk-MAXDJZQR.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  impersonateEphemeral,
6
6
  projectTenant
7
- } from "./chunk-XVOODRNK.js";
7
+ } from "./chunk-Y5XAPLZS.js";
8
8
  import {
9
9
  deleteAnswer,
10
10
  hasString,
@@ -12,7 +12,7 @@ import {
12
12
  listAnswer,
13
13
  recordAnswer,
14
14
  writeTransportFailure
15
- } from "./chunk-3ZVSOZZC.js";
15
+ } from "./chunk-QRMKQYCB.js";
16
16
  import {
17
17
  SENT_AFTERMATH,
18
18
  fetchOrExplain,
@@ -20,7 +20,7 @@ import {
20
20
  readBodyText,
21
21
  safeHttpFailure,
22
22
  writeStatusAftermath
23
- } from "./chunk-DILYWJVP.js";
23
+ } from "./chunk-HXFLHA5K.js";
24
24
 
25
25
  // src/deploy/tenant.ts
26
26
  var TIMEOUT_MS = 3e4;
@@ -219,4 +219,4 @@ export {
219
219
  deleteTenant,
220
220
  impersonateTenant
221
221
  };
222
- //# sourceMappingURL=chunk-7NNLRNXE.js.map
222
+ //# sourceMappingURL=chunk-MIS6F4HM.js.map
@@ -3,7 +3,7 @@ import {
3
3
  HEADER_NAME,
4
4
  generated,
5
5
  literalText
6
- } from "./chunk-NZ7ML6LG.js";
6
+ } from "./chunk-HINRE3UM.js";
7
7
  import {
8
8
  fl
9
9
  } from "./chunk-AXNX4NWN.js";
@@ -238,4 +238,4 @@ export {
238
238
  TEST_EXPECT_TYPES,
239
239
  expect
240
240
  };
241
- //# sourceMappingURL=chunk-WZXEQUIM.js.map
241
+ //# sourceMappingURL=chunk-MTBKTGZT.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  projectSdkVersion
3
- } from "./chunk-RZABQ4YH.js";
3
+ } from "./chunk-DGYXCIBV.js";
4
4
  import {
5
5
  compareSemver,
6
6
  parseSemver
7
7
  } from "./chunk-2TFRR6JV.js";
8
8
  import {
9
9
  readVersion
10
- } from "./chunk-TANWE2ZY.js";
10
+ } from "./chunk-J3XLCYTQ.js";
11
11
  import {
12
12
  readPathEnvVar
13
13
  } from "./chunk-EUUUMY7J.js";
14
14
  import {
15
15
  serverMessage
16
- } from "./chunk-DILYWJVP.js";
16
+ } from "./chunk-HXFLHA5K.js";
17
17
  import {
18
18
  atomicWrite
19
19
  } from "./chunk-LLNZGEFK.js";
@@ -29,7 +29,7 @@ import {
29
29
  noteRunWarning,
30
30
  style,
31
31
  warn
32
- } from "./chunk-D4VKPOD4.js";
32
+ } from "./chunk-GRXX2TOJ.js";
33
33
 
34
34
  // src/emit/update-check.ts
35
35
  import { existsSync, readFileSync, mkdirSync } from "fs";
@@ -351,4 +351,4 @@ export {
351
351
  runExitedClean,
352
352
  maybeNotifyUpdate
353
353
  };
354
- //# sourceMappingURL=chunk-WQZCFVAD.js.map
354
+ //# sourceMappingURL=chunk-MYIIBV6A.js.map
@@ -3,17 +3,17 @@ import {
3
3
  listAnswer,
4
4
  notTheAnswer,
5
5
  writeTransportFailure
6
- } from "./chunk-3ZVSOZZC.js";
6
+ } from "./chunk-QRMKQYCB.js";
7
7
  import {
8
8
  SENT_AFTERMATH,
9
9
  fetchOrExplain,
10
10
  readBodyText,
11
11
  safeHttpFailure,
12
12
  withWriteStatusAftermath
13
- } from "./chunk-DILYWJVP.js";
13
+ } from "./chunk-HXFLHA5K.js";
14
14
  import {
15
15
  isNonPublicColumn
16
- } from "./chunk-B5N6EWOM.js";
16
+ } from "./chunk-UQ2OD7D4.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-3RZ4UJWV.js.map
187
+ //# sourceMappingURL=chunk-N6LGLNAC.js.map
@@ -10,7 +10,7 @@ import {
10
10
  safeHttpFailure,
11
11
  statusLabel,
12
12
  writeStatusAftermath
13
- } from "./chunk-DILYWJVP.js";
13
+ } from "./chunk-HXFLHA5K.js";
14
14
 
15
15
  // src/deploy/release.ts
16
16
  var TIMEOUT_MS = 3e4;
@@ -405,4 +405,4 @@ export {
405
405
  exportRelease,
406
406
  deleteRelease
407
407
  };
408
- //# sourceMappingURL=chunk-H7GMGZHI.js.map
408
+ //# sourceMappingURL=chunk-NDV6CBR7.js.map
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  readDeployed
3
- } from "./chunk-POZ6V4MU.js";
3
+ } from "./chunk-GKQTXUOW.js";
4
4
  import {
5
5
  LookupFailedError,
6
6
  SourceError,
7
7
  resolveSource
8
- } from "./chunk-6HTXQAMG.js";
8
+ } from "./chunk-HKI5Y5KW.js";
9
9
  import {
10
10
  isProjectDir
11
- } from "./chunk-UKC65HBQ.js";
11
+ } from "./chunk-QJ25N4W6.js";
12
12
  import {
13
13
  NotSignedInError
14
- } from "./chunk-NMHTB346.js";
14
+ } from "./chunk-3SZ7QRYA.js";
15
15
  import {
16
16
  otherCredentialRefusal
17
- } from "./chunk-QWWQM4XZ.js";
17
+ } from "./chunk-LB76VK6D.js";
18
18
  import {
19
19
  getEngineRecord
20
20
  } from "./chunk-5Y5HWQ2P.js";
@@ -23,12 +23,12 @@ import {
23
23
  parseSlot,
24
24
  refusedKind,
25
25
  slotValueMissing
26
- } from "./chunk-DZUNF7IH.js";
26
+ } from "./chunk-75QC66XI.js";
27
27
  import {
28
28
  getEnvironment,
29
29
  readEphemeralState,
30
30
  unreadableEphemeralState
31
- } from "./chunk-OBRMA2VK.js";
31
+ } from "./chunk-XY4OBD26.js";
32
32
  import {
33
33
  ENV_CREDENTIAL_VARS,
34
34
  ORIGIN_READ_ONLY_BY_REFRESH,
@@ -36,7 +36,7 @@ import {
36
36
  credentialFileFlagFor,
37
37
  recordedByEnvCredential,
38
38
  typedCredentialFlags
39
- } from "./chunk-A3CT26GX.js";
39
+ } from "./chunk-ZRXDPCMN.js";
40
40
  import {
41
41
  globalAuthFilePath,
42
42
  localAuthFilePath,
@@ -44,16 +44,16 @@ import {
44
44
  profileAddCommand,
45
45
  readCredentialFile,
46
46
  recordedCredentialPath
47
- } from "./chunk-P5JF3U65.js";
47
+ } from "./chunk-WS4BA75E.js";
48
48
  import {
49
49
  backendDirIn
50
- } from "./chunk-GRWYO2MS.js";
50
+ } from "./chunk-KDEU5FUJ.js";
51
51
  import {
52
52
  UsageError,
53
53
  displayPath,
54
54
  pastePath,
55
55
  sourceSpellings
56
- } from "./chunk-D4VKPOD4.js";
56
+ } from "./chunk-GRXX2TOJ.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-TQBPLU2S.js");
89
+ const { reachableFirst } = await import("./env-target-TEFSYACA.js");
90
90
  throw await reachableFirst(decided.refusal, scope);
91
91
  }
92
92
  refuseUnservable(slot, decided.kind);
@@ -368,4 +368,4 @@ export {
368
368
  NothingTrackedError,
369
369
  nestedBackendEntries
370
370
  };
371
- //# sourceMappingURL=chunk-HEMWBHQS.js.map
371
+ //# sourceMappingURL=chunk-NOW522B4.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-HU7F56VF.js";
4
4
  import {
5
5
  LocalFileNotFoundError
6
- } from "./chunk-D4VKPOD4.js";
6
+ } from "./chunk-GRXX2TOJ.js";
7
7
  import {
8
8
  buildContentEnvelope
9
9
  } from "./chunk-7FIMUFBP.js";
@@ -17,7 +17,7 @@ import {
17
17
  seedFailure,
18
18
  tableColumns,
19
19
  tableIndexes
20
- } from "./chunk-B5N6EWOM.js";
20
+ } from "./chunk-UQ2OD7D4.js";
21
21
  import {
22
22
  DiagnosticError
23
23
  } from "./chunk-YEH5OIPF.js";
@@ -404,4 +404,4 @@ export {
404
404
  collectNonPublicSeedValues,
405
405
  seedRowsByTableGuid
406
406
  };
407
- //# sourceMappingURL=chunk-DFCYAEBE.js.map
407
+ //# sourceMappingURL=chunk-NUZXSIEA.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  questionOrCancel
3
- } from "./chunk-XFQAA2SU.js";
3
+ } from "./chunk-RVAEPPRH.js";
4
4
  import {
5
5
  style,
6
6
  terminalText
7
- } from "./chunk-D4VKPOD4.js";
7
+ } from "./chunk-GRXX2TOJ.js";
8
8
 
9
9
  // src/emit/plugin-prompt.ts
10
10
  import { createInterface } from "readline/promises";
@@ -54,4 +54,4 @@ export {
54
54
  promptPluginQuestion,
55
55
  pluginPrompter
56
56
  };
57
- //# sourceMappingURL=chunk-DYGRTWAI.js.map
57
+ //# sourceMappingURL=chunk-O44MJTLR.js.map
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  ROUTES_MANIFEST_BASENAME
3
- } from "./chunk-U4DSFCH5.js";
3
+ } from "./chunk-RPBB7P4Q.js";
4
4
  import {
5
5
  questionOrCancel
6
- } from "./chunk-XFQAA2SU.js";
6
+ } from "./chunk-RVAEPPRH.js";
7
7
  import {
8
8
  ensureWorkspaceEnvGitignored
9
- } from "./chunk-ZSMHS7BU.js";
9
+ } from "./chunk-5TWLVFYB.js";
10
10
  import {
11
11
  readVersion
12
- } from "./chunk-TANWE2ZY.js";
12
+ } from "./chunk-J3XLCYTQ.js";
13
13
  import {
14
14
  WORKSPACE_ENV_EXAMPLE_FILE,
15
15
  renderWorkspaceEnvExample
16
- } from "./chunk-ENBGJJJH.js";
16
+ } from "./chunk-DERQSEB5.js";
17
17
  import {
18
18
  parseSlot,
19
19
  requireBackendSlot
20
- } from "./chunk-DZUNF7IH.js";
20
+ } from "./chunk-75QC66XI.js";
21
21
  import {
22
22
  MERGED_IN_EXISTING,
23
23
  XANO_DIR,
@@ -26,7 +26,7 @@ import {
26
26
  existingProjectClashes,
27
27
  isNonEmptyDir,
28
28
  scaffoldProject
29
- } from "./chunk-ZISPEBNM.js";
29
+ } from "./chunk-SUKO4SZG.js";
30
30
  import {
31
31
  inProject,
32
32
  installModules,
@@ -34,7 +34,7 @@ import {
34
34
  preflightPackages,
35
35
  rebaseLocalSpec,
36
36
  renderXanoIndexWithModules
37
- } from "./chunk-HDANNK4A.js";
37
+ } from "./chunk-YL3WVBR5.js";
38
38
  import {
39
39
  npmViewVersion
40
40
  } from "./chunk-ZFDZKNGG.js";
@@ -43,14 +43,14 @@ import {
43
43
  } from "./chunk-FWD7AL6N.js";
44
44
  import {
45
45
  isLocalSpecifier
46
- } from "./chunk-C4TZP5PQ.js";
46
+ } from "./chunk-WS2X5BB2.js";
47
47
  import {
48
48
  readToolchainBlock,
49
49
  readToolchainConfig
50
50
  } from "./chunk-DXUICABI.js";
51
51
  import {
52
52
  statusLabel
53
- } from "./chunk-DILYWJVP.js";
53
+ } from "./chunk-HXFLHA5K.js";
54
54
  import {
55
55
  detectInstallRoot,
56
56
  detectPackageManager,
@@ -62,7 +62,7 @@ import {
62
62
  localPathOf,
63
63
  packageNameOf,
64
64
  readInstalledManifestState
65
- } from "./chunk-H5FAYLCR.js";
65
+ } from "./chunk-SPLRKCFV.js";
66
66
  import {
67
67
  readEnvVar
68
68
  } from "./chunk-X2NL4KUO.js";
@@ -71,7 +71,7 @@ import {
71
71
  FRAMEWORKS,
72
72
  allFrontendPresets,
73
73
  findFrontendPreset
74
- } from "./chunk-C2SAVXAB.js";
74
+ } from "./chunk-4MX5LMPQ.js";
75
75
  import {
76
76
  BACKEND_TSCONFIG_PATH,
77
77
  ICON_LIBRARIES,
@@ -102,16 +102,16 @@ import {
102
102
  renderXanoIndex,
103
103
  resolveIconsFlag,
104
104
  sdkDep
105
- } from "./chunk-IZI3SYXH.js";
105
+ } from "./chunk-5FJ4M4HB.js";
106
106
  import {
107
107
  composeBlock,
108
108
  gitattributesSpec,
109
109
  upsertBlock
110
110
  } from "./chunk-LJM5CIY4.js";
111
111
  import {
112
+ PROJECT_CLI,
112
113
  UsageError,
113
114
  blank,
114
- cliPrefixAt,
115
115
  detail,
116
116
  displayPath,
117
117
  error,
@@ -119,10 +119,8 @@ import {
119
119
  flagNames,
120
120
  info,
121
121
  isMachineOutput,
122
- projectFileCli,
123
122
  projectSdkDir,
124
123
  quotedNames,
125
- spellProjectCli,
126
124
  spellProjectSdkDir,
127
125
  step,
128
126
  style,
@@ -130,7 +128,7 @@ import {
130
128
  unknownFlag,
131
129
  warn,
132
130
  writeJson
133
- } from "./chunk-D4VKPOD4.js";
131
+ } from "./chunk-GRXX2TOJ.js";
134
132
  import {
135
133
  suggest
136
134
  } from "./chunk-UTI5G6OJ.js";
@@ -353,7 +351,6 @@ function templateVarsFor(appName, dir, env = process.env) {
353
351
  appName,
354
352
  sdkVersion: readVersion(),
355
353
  install,
356
- cli: projectFileCli(dir, install.manager),
357
354
  sdkDir: projectSdkDir(dir, install.manager)
358
355
  };
359
356
  }
@@ -522,7 +519,7 @@ function moduleGitattributes(dir, contributions) {
522
519
  return [{ path: ".gitattributes", content: text }];
523
520
  }
524
521
  function spelledForProject(vars, files) {
525
- return files.map((f) => ({ ...f, content: spellProjectSdkDir(spellProjectCli(f.content, vars.cli), vars.sdkDir) }));
522
+ return files.map((f) => ({ ...f, content: spellProjectSdkDir(f.content, vars.sdkDir) }));
526
523
  }
527
524
  function buildFileSet(targetDir, vars, preset, mode, choice, contributions = {}, existingXanoSdk) {
528
525
  return [
@@ -652,8 +649,8 @@ Nothing was written. ` + (process.stdin.isTTY === true ? `Re-run with --force to
652
649
  ...listed.length > 30 ? [`\u2026 and ${listed.length - 30} more`] : []
653
650
  ]);
654
651
  if (args.yes === true) return scripts;
655
- const { confirm } = await import("./prompt-F7UVH4GP.js");
656
- const { yesRerun } = await import("./retry-command-S5QALD5Z.js");
652
+ const { confirm } = await import("./prompt-QNMJIWNI.js");
653
+ const { yesRerun } = await import("./retry-command-LFZYEVRU.js");
657
654
  const { rerun, note } = yesRerun(args, "init");
658
655
  const noun = scripts.length === 0 ? "file" : changed.length === 0 ? "script" : "file and script";
659
656
  const ok = await confirm(
@@ -728,7 +725,7 @@ async function runInitCommand(args) {
728
725
  }
729
726
  const source = resolveFromSource(args.from);
730
727
  if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
731
- const { runInitFromCommand } = await import("./codegen-command-BAFON45M.js");
728
+ const { runInitFromCommand } = await import("./codegen-command-JWOW6HE5.js");
732
729
  return runInitFromCommand(args, source);
733
730
  }
734
731
  rejectPullOnlyFlags(args);
@@ -748,10 +745,10 @@ async function runInitCommand(args) {
748
745
  return flagNames().includes(bare) || bare.startsWith("no-") && flagNames().includes(bare.slice(3));
749
746
  });
750
747
  if (unclaimable.length > 0) throw unknownFlag(unclaimable, { command: "init" });
751
- const { refusePlugAndPlay } = await import("./project-dependency-EZNTHMWI.js");
752
- const { retryCommand } = await import("./retry-command-S5QALD5Z.js");
748
+ const { refusePlugAndPlay } = await import("./project-dependency-X3KCWBK5.js");
749
+ const { retryCommand } = await import("./retry-command-LFZYEVRU.js");
753
750
  refusePlugAndPlay(targetDir, retryCommand(args, { command: "init" }).command);
754
- const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-HPCRNV5O.js");
751
+ const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-JR4BBJ6K.js");
755
752
  const resolvedModules = typedModules.length === 0 ? [] : await resolveMarketplaceSpecs(typedModules, "xanosdk init --marketplace").catch(async (err) => {
756
753
  throw await withCatalogueRerun(err, args, "init");
757
754
  });
@@ -785,20 +782,20 @@ async function runInitCommand(args) {
785
782
  blank();
786
783
  moduleOutcome = await installModules(targetDir, modules);
787
784
  if (moduleOutcome.toolchain.length > 0) {
788
- const { addToolchainPeers } = await import("./toolchain-peers-K44IINPG.js");
785
+ const { addToolchainPeers } = await import("./toolchain-peers-FQJBTKEB.js");
789
786
  const rerun = retryCommand(args, { command: "init" }).command;
790
787
  for (const pkg of moduleOutcome.toolchain) await addToolchainPeers(targetDir, pkg, rerun);
791
788
  }
792
789
  }
793
790
  let scaffolded = false;
794
791
  try {
795
- const { discoverToolchainPlugins } = await import("./toolchain-modules-F4DUMWTO.js");
792
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-S3MPHCUI.js");
796
793
  const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
797
794
  const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
798
795
  if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
799
796
  const choice = await resolveThemeChoice(args);
800
- const { pluginPrompter } = await import("./plugin-prompt-O5PAMV5B.js");
801
- const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-U5PAZKBE.js");
797
+ const { pluginPrompter } = await import("./plugin-prompt-GKCQKNYI.js");
798
+ const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-YYEP7IWH.js");
802
799
  const { answers: pluginAnswers } = await runPluginQuestionnaire(toolchain.loaded, {
803
800
  host: "init",
804
801
  unknownFlags: args.unknownFlags,
@@ -884,7 +881,7 @@ async function runInitCommand(args) {
884
881
  if (outcome.installed.length > 0) {
885
882
  writeFileSync(
886
883
  join(targetDir, "xano", "index.ts"),
887
- spellProjectCli(renderXanoIndexWithModules(appName, outcome.registered, outcome.unwired), vars.cli),
884
+ renderXanoIndexWithModules(appName, outcome.registered, outcome.unwired),
888
885
  "utf8"
889
886
  );
890
887
  }
@@ -898,7 +895,7 @@ async function runInitCommand(args) {
898
895
  if (result.install === "installed" && sdkResolves(targetDir)) {
899
896
  const derivation = await writeDerivedFiles(
900
897
  targetDir,
901
- (env) => spellProjectCli(renderXanoIndexWithModules(appName, outcome.registered, outcome.unwired, env), vars.cli),
898
+ (env) => renderXanoIndexWithModules(appName, outcome.registered, outcome.unwired, env),
902
899
  toolchain
903
900
  );
904
901
  derived = derivation.written;
@@ -924,10 +921,10 @@ async function runInitCommand(args) {
924
921
  }
925
922
  }
926
923
  if (result.install === "installed") {
927
- const { skewedProjectSdk } = await import("./project-sdk-ZGJM4WYQ.js");
924
+ const { skewedProjectSdk } = await import("./project-sdk-YHJZRCNB.js");
928
925
  const installedSdk = skewedProjectSdk(targetDir, readVersion());
929
926
  if (installedSdk !== void 0) {
930
- const { reconcileWithInstalled } = await import("./upgrade-command-CI543AZP.js");
927
+ const { reconcileWithInstalled } = await import("./upgrade-command-J6LRNHYF.js");
931
928
  const rendered = reconcileWithInstalled(targetDir);
932
929
  if (rendered.length > 0) {
933
930
  info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
@@ -970,11 +967,11 @@ async function runInitCommand(args) {
970
967
  // the cloud deploy that does.
971
968
  ` npm run xano:deploy # run the backend on the Xano Engine, on this machine
972
969
  ` + (preset === null ? `` : ` npm run dev # run the frontend, pointed at it
973
- `) + loginNextStep(pin, targetDir) + `${ephemeralNextStep(preset !== null)}
970
+ `) + loginNextStep(pin) + `${ephemeralNextStep(preset !== null)}
974
971
 
975
972
  ` + (hadLock !== void 0 ? `xano/xano.lock was kept (${hadLock} ${hadLock === 1 ? "entry" : "entries"}). An entry the new xano/index.ts
976
973
  does not export fails \`npm run xano:check\`; once those objects are gone for good,
977
- \`${projectCli(targetDir)} lock prune ./xano/index.ts --yes\` drops them.` : (derived.includes(LOCK_REL) ? `xano/xano.lock was written for the add-ons' objects \u2014 commit it. It pins each
974
+ \`${PROJECT_CLI} lock prune ./xano/index.ts --yes\` drops them.` : (derived.includes(LOCK_REL) ? `xano/xano.lock was written for the add-ons' objects \u2014 commit it. It pins each
978
975
  ` : `The first export or deploy writes xano/xano.lock \u2014 commit it. It pins each
979
976
  `) + `object's identity, so renaming one later renames it instead of deleting and
980
977
  recreating it. See "xano.lock \u2014 commit it" in the README.`) + (derived.includes(ROUTES_REL) ? `
@@ -1065,20 +1062,20 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
1065
1062
  const routesPath = join(targetDir, ROUTES_REL);
1066
1063
  try {
1067
1064
  const { loadDefault, checkStandInTokens } = await import("./cli.js");
1068
- const { Xano } = await import("./xano-2A2GT7EH.js");
1065
+ const { Xano } = await import("./xano-Z3SRHYOR.js");
1069
1066
  const { createLockContext, lockKey, mergeObserved } = await import("./lock-HDCHD2ON.js");
1070
1067
  const { resetLockOverrides, seedLockOverrides } = await import("./store-6VNCD4D7.js");
1071
1068
  const { readLockFile, writeLockFile } = await import("./io-PGTCBSIQ.js");
1072
1069
  const { setDiagnosticSink } = await import("./diagnostics-FNVNRYMB.js");
1073
- const { planRouteManifest } = await import("./routes-manifest-ET2TTSCL.js");
1074
- const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-42FTJHRY.js");
1075
- const { isEnabled } = await import("./toolchain-modules-F4DUMWTO.js");
1070
+ const { planRouteManifest } = await import("./routes-manifest-R3TQRB24.js");
1071
+ const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-GYNYFKAH.js");
1072
+ const { isEnabled } = await import("./toolchain-modules-S3MPHCUI.js");
1076
1073
  const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
1077
1074
  resetLockOverrides();
1078
1075
  if (existing !== void 0) seedLockOverrides(existing);
1079
1076
  const ctx = createLockContext(existing);
1080
- const { envNamesRead } = await import("./guards-RU4C7TFG.js");
1081
- const { refreshEnvExample } = await import("./env-example-refresh-TS7WBVZQ.js");
1077
+ const { envNamesRead } = await import("./guards-PPIBIMFZ.js");
1078
+ const { refreshEnvExample } = await import("./env-example-refresh-4V2OCDJE.js");
1082
1079
  const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
1083
1080
  if (!Xano.isXano(def)) return { written, env: declaredEnv };
1084
1081
  const previousSink = setDiagnosticSink(() => {
@@ -1137,15 +1134,15 @@ async function refuseUnknownProfileFlag(args, targetDir) {
1137
1134
  const name = args.profile ?? (fromEnv ? envRaw : void 0);
1138
1135
  if (name === void 0) return;
1139
1136
  if (fromEnv && targetDir !== void 0) {
1140
- const { POINTER_FILE } = await import("./profile-pointer-VTOZDBHM.js");
1137
+ const { POINTER_FILE } = await import("./profile-pointer-JJ7K5O2R.js");
1141
1138
  if (existsSync(join(targetDir, POINTER_FILE))) return;
1142
1139
  }
1143
- const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-ZE5BXCOW.js");
1140
+ const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-AJX4MC7Y.js");
1144
1141
  const path = resolveAuthFilePath(args, "read");
1145
1142
  const file = readCredentialFile(path);
1146
1143
  const stored = file === null ? [] : profileNames(file);
1147
1144
  if (stored.includes(name)) return;
1148
- const { ProfileNotFoundError } = await import("./token-DWNH44NW.js");
1145
+ const { ProfileNotFoundError } = await import("./token-P3VQ6ITJ.js");
1149
1146
  const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
1150
1147
  throw new ProfileNotFoundError(
1151
1148
  `No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
@@ -1154,11 +1151,11 @@ async function refuseUnknownProfileFlag(args, targetDir) {
1154
1151
  );
1155
1152
  }
1156
1153
  async function envCredentialSet() {
1157
- const { envMetaCredentialVarsSet } = await import("./token-DWNH44NW.js");
1154
+ const { envMetaCredentialVarsSet } = await import("./token-P3VQ6ITJ.js");
1158
1155
  return envMetaCredentialVarsSet().length > 0;
1159
1156
  }
1160
- function loginNextStep(pin, projectDir) {
1161
- return pin.signedIn ? "" : ` ${projectCli(projectDir)} login # authenticate with Xano
1157
+ function loginNextStep(pin) {
1158
+ return pin.signedIn ? "" : ` ${PROJECT_CLI} login # authenticate with Xano
1162
1159
  `;
1163
1160
  }
1164
1161
  function ephemeralNextStep(frontend) {
@@ -1170,16 +1167,12 @@ function deployNextCommand(cdArg, install, manager) {
1170
1167
  function runFiles(...groups) {
1171
1168
  return [...new Set(groups.flat())].sort();
1172
1169
  }
1173
- function projectCli(projectDir) {
1174
- const prefix = cliPrefixAt(projectDir);
1175
- return prefix === "xanosdk" || prefix === "npx @xano/sdk" ? "npx xanosdk" : prefix;
1176
- }
1177
1170
  function runFromHere(text, targetDir) {
1178
- return text.replace(/`npx xanosdk /g, `\`${inProject(targetDir)}xanosdk `);
1171
+ return text.replace(/`npx @xano\/sdk /g, `\`${inProject(targetDir)}xanosdk `);
1179
1172
  }
1180
1173
  async function planProfilePin(args, targetDir, opts = {}) {
1181
- const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-VTOZDBHM.js");
1182
- const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-ZE5BXCOW.js");
1174
+ const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-JJ7K5O2R.js");
1175
+ const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-AJX4MC7Y.js");
1183
1176
  const credentialPath = resolveAuthFilePath(args, "read");
1184
1177
  const file = readCredentialFile(credentialPath);
1185
1178
  const signedIn = file !== null && profileNames(file).length > 0 || await envCredentialSet();
@@ -1209,7 +1202,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1209
1202
  };
1210
1203
  }
1211
1204
  if (opts.credentialRead === true) {
1212
- const { environmentCredentialVars } = await import("./token-DWNH44NW.js");
1205
+ const { environmentCredentialVars } = await import("./token-P3VQ6ITJ.js");
1213
1206
  const env = environmentCredentialVars();
1214
1207
  if (env.complete) {
1215
1208
  return {
@@ -1232,7 +1225,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1232
1225
  });
1233
1226
  const stored = file === null ? [] : profileNames(file);
1234
1227
  if (!stored.includes(selection.name)) {
1235
- const env = stored.length === 0 ? (await import("./token-DWNH44NW.js")).environmentCredentialVars() : void 0;
1228
+ const env = stored.length === 0 ? (await import("./token-P3VQ6ITJ.js")).environmentCredentialVars() : void 0;
1236
1229
  const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
1237
1230
  return {
1238
1231
  name: null,
@@ -1256,7 +1249,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1256
1249
  };
1257
1250
  }
1258
1251
  }
1259
- const { writePointerFile } = await import("./profile-pointer-VTOZDBHM.js");
1252
+ const { writePointerFile } = await import("./profile-pointer-JJ7K5O2R.js");
1260
1253
  return {
1261
1254
  name: selection.name,
1262
1255
  signedIn,
@@ -1273,7 +1266,7 @@ async function envAddressesElsewhere(file, name, credentialPath) {
1273
1266
  const instance = readEnvVar("XANO_INSTANCE_URL")?.trim();
1274
1267
  const workspace = readEnvVar("XANO_WORKSPACE_ID")?.trim();
1275
1268
  if (instance === void 0 || workspace === void 0 || readEnvVar("XANO_META_TOKEN") === void 0) return null;
1276
- const { readProfile, sameOriginAs } = await import("./store-ZE5BXCOW.js");
1269
+ const { readProfile, sameOriginAs } = await import("./store-AJX4MC7Y.js");
1277
1270
  let record;
1278
1271
  try {
1279
1272
  record = readProfile(file, name, credentialPath);
@@ -1289,7 +1282,7 @@ async function envAddressesElsewhere(file, name, credentialPath) {
1289
1282
  };
1290
1283
  }
1291
1284
  async function storeEnvCredentialCommand(credentialPath, targetDir) {
1292
- const { credentialFileFlag, profileAddCommand } = await import("./store-ZE5BXCOW.js");
1285
+ const { credentialFileFlag, profileAddCommand } = await import("./store-AJX4MC7Y.js");
1293
1286
  const { DEFAULT_PROFILE } = await import("./profile-select-45G5VPJK.js");
1294
1287
  const instance = readEnvVar("XANO_INSTANCE_URL");
1295
1288
  const workspaceId = readEnvVar("XANO_WORKSPACE_ID");
@@ -1322,7 +1315,6 @@ export {
1322
1315
  ephemeralNextStep,
1323
1316
  deployNextCommand,
1324
1317
  runFiles,
1325
- projectCli,
1326
1318
  planProfilePin
1327
1319
  };
1328
- //# sourceMappingURL=chunk-EKS7SAZS.js.map
1320
+ //# sourceMappingURL=chunk-OLQN4Z5R.js.map