@xano/sdk 1.0.14 → 1.0.16

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 (290) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +33 -37
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-3J6YRVFL.js → agent-file-refresh-DBHTEFYM.js} +12 -12
  5. package/dist/{agent-skill-command-VWDMQWCT.js → agent-skill-command-LHNTU7MH.js} +74 -73
  6. package/dist/{answer-shape-AVZSKBR6.js → answer-shape-ZRQS7ZC4.js} +5 -5
  7. package/dist/{backend-dir-ISP7RVF2.js → backend-dir-AXR43HNV.js} +11 -11
  8. package/dist/{backend-slot-DZAUHLTS.js → backend-slot-7BATLL3X.js} +4 -4
  9. package/dist/bin.js +64 -63
  10. package/dist/{branch-IJTBZZFO.js → branch-SJKKUCMZ.js} +9 -9
  11. package/dist/branch-commands-KGR52SZU.js +80 -0
  12. package/dist/bundle.d.ts +2 -2
  13. package/dist/bundle.js +15 -69
  14. package/dist/{capture-GW5KNKMB.js → capture-RYBJE25P.js} +5 -5
  15. package/dist/{chunk-Z3DQ7ULY.js → chunk-23GEFHRX.js} +236 -17
  16. package/dist/{chunk-3H7R4ISR.js → chunk-2DUYJR5N.js} +2 -2
  17. package/dist/{chunk-MFWF2NZJ.js → chunk-2H5BQRHF.js} +2 -2
  18. package/dist/{chunk-O44MJTLR.js → chunk-35SI4GBM.js} +3 -3
  19. package/dist/{chunk-QKHNJ7LE.js → chunk-3ZV23FVR.js} +5 -5
  20. package/dist/{chunk-HKI5Y5KW.js → chunk-47XIVDJ6.js} +14 -14
  21. package/dist/{chunk-ICK36EGF.js → chunk-4EVDCSEY.js} +2 -2
  22. package/dist/{chunk-FBSGFPZ4.js → chunk-4XGZ325S.js} +3 -3
  23. package/dist/{chunk-EYVIUX2T.js → chunk-4XYXUK5H.js} +76 -33
  24. package/dist/{chunk-MAXDJZQR.js → chunk-4ZBXS7YN.js} +8 -8
  25. package/dist/{chunk-ZMJRAMLA.js → chunk-52QAENY6.js} +14 -14
  26. package/dist/{chunk-2LF734YB.js → chunk-54CJ74BH.js} +4 -4
  27. package/dist/{chunk-3SZ7QRYA.js → chunk-57PGTPT3.js} +8 -8
  28. package/dist/{chunk-IKXXTRMN.js → chunk-64UVVLDT.js} +4 -4
  29. package/dist/{chunk-EQXHUWUO.js → chunk-6FCAFWD5.js} +2 -2
  30. package/dist/{chunk-4MX5LMPQ.js → chunk-6ODQ5GDZ.js} +2 -2
  31. package/dist/{chunk-HK554MDD.js → chunk-74YCPI4G.js} +7 -7
  32. package/dist/{chunk-Y5XAPLZS.js → chunk-7UQZ7C4W.js} +4 -4
  33. package/dist/{chunk-CJDPSCMX.js → chunk-7ZVQIKNL.js} +3 -3
  34. package/dist/{chunk-RVAEPPRH.js → chunk-AICWDCLJ.js} +2 -2
  35. package/dist/{chunk-WS4BA75E.js → chunk-AJBOGO5U.js} +4 -4
  36. package/dist/{chunk-2FDHIBEU.js → chunk-AJQFUJEQ.js} +8 -8
  37. package/dist/{chunk-2KOB4QPW.js → chunk-C7AYP4H6.js} +29 -20
  38. package/dist/{chunk-XCFQLP6G.js → chunk-DJMGDCVX.js} +8 -8
  39. package/dist/{chunk-VBSCWV5H.js → chunk-DLD4FVRP.js} +54 -54
  40. package/dist/{chunk-Q7DGTQ5G.js → chunk-E34VGSCI.js} +2 -1
  41. package/dist/{chunk-YR3MNGWZ.js → chunk-E5M5P23K.js} +8 -8
  42. package/dist/{chunk-HJZUI2ZU.js → chunk-EAZTRU75.js} +2 -2
  43. package/dist/{chunk-QX5XQEYB.js → chunk-EINZSVEU.js} +5 -5
  44. package/dist/{chunk-KMKUH2IO.js → chunk-EPB6FAR5.js} +5 -5
  45. package/dist/chunk-EUAU4QKI.js +67 -0
  46. package/dist/{chunk-IDOVZLPK.js → chunk-EXJ4Q5F6.js} +2 -2
  47. package/dist/{chunk-IHL2O7VY.js → chunk-F3JK5RIY.js} +3 -2
  48. package/dist/{chunk-W2QFR3ZJ.js → chunk-FIOC7RSU.js} +2 -2
  49. package/dist/{chunk-YEH5OIPF.js → chunk-FMXPV5JI.js} +39 -11
  50. package/dist/{chunk-GVHWIDEJ.js → chunk-FRJB3NTE.js} +10 -5
  51. package/dist/{chunk-VIRFG3WG.js → chunk-FTFAPKCW.js} +23 -7
  52. package/dist/{chunk-LL6ED5IB.js → chunk-FTS42N37.js} +2 -2
  53. package/dist/{chunk-MIS6F4HM.js → chunk-G2XSDIYS.js} +4 -4
  54. package/dist/{chunk-ZY55DO5P.js → chunk-G6BEJ3NA.js} +2 -2
  55. package/dist/{chunk-RYWNNJK5.js → chunk-GA6HTO3O.js} +2 -2
  56. package/dist/{chunk-JIKGT7DO.js → chunk-GE3JV5SI.js} +1 -1
  57. package/dist/{chunk-GCINMMFL.js → chunk-GJZMKMWO.js} +2 -2
  58. package/dist/{chunk-LW7TOIS7.js → chunk-GRZ62LLU.js} +8 -8
  59. package/dist/{chunk-6X73VFCX.js → chunk-GT7PZCTK.js} +2 -2
  60. package/dist/{chunk-HINRE3UM.js → chunk-HXPQXCOZ.js} +1821 -506
  61. package/dist/{chunk-ECQXASG3.js → chunk-IFHFJR5O.js} +2 -2
  62. package/dist/{chunk-P4OWRYE7.js → chunk-IOWNQEMW.js} +31 -31
  63. package/dist/{chunk-SUKO4SZG.js → chunk-ISIZFK5Q.js} +53 -47
  64. package/dist/{chunk-QJ25N4W6.js → chunk-IUJDUFT7.js} +4 -4
  65. package/dist/{chunk-L34DM6QB.js → chunk-JHAZK4RY.js} +3 -3
  66. package/dist/{chunk-YL3WVBR5.js → chunk-KGHJ74HF.js} +6 -6
  67. package/dist/{chunk-NUZXSIEA.js → chunk-L2O5KG5Q.js} +6 -6
  68. package/dist/{chunk-L4WG4BKJ.js → chunk-L3Q2QYIQ.js} +72 -72
  69. package/dist/{chunk-SAEIVQLP.js → chunk-LLBEPJBO.js} +3 -3
  70. package/dist/{chunk-NOW522B4.js → chunk-LWBGPPI5.js} +13 -13
  71. package/dist/{chunk-GOKRKTCX.js → chunk-MBSHONP3.js} +3 -3
  72. package/dist/{chunk-GKQTXUOW.js → chunk-MOVRSULZ.js} +2 -2
  73. package/dist/{chunk-QAEBBTYR.js → chunk-MSYMEP7Y.js} +7 -7
  74. package/dist/{chunk-Y453TW6J.js → chunk-NCERS5QH.js} +2 -2
  75. package/dist/{chunk-HXFLHA5K.js → chunk-NH5Z2NOD.js} +2 -2
  76. package/dist/{chunk-T3HNISBN.js → chunk-NJVY3GAX.js} +3 -3
  77. package/dist/{chunk-J62TYONQ.js → chunk-NQPPUNWP.js} +3 -3
  78. package/dist/{chunk-LJZIBT75.js → chunk-O7Z3LF44.js} +5 -5
  79. package/dist/{chunk-B7CPSWQX.js → chunk-OLXYZQR7.js} +7 -7
  80. package/dist/{chunk-7F3V6CFP.js → chunk-OQNYZ2OM.js} +3 -3
  81. package/dist/{chunk-DBDTQR23.js → chunk-OTQF4B37.js} +4 -4
  82. package/dist/{chunk-GBSHHNSD.js → chunk-PRSNMSVG.js} +3 -3
  83. package/dist/{chunk-DGYXCIBV.js → chunk-Q6AKSLD2.js} +2 -2
  84. package/dist/{chunk-YTQYP7UJ.js → chunk-Q7KXMIR3.js} +3 -3
  85. package/dist/{chunk-IWJ6GFST.js → chunk-QCVH32T2.js} +5 -5
  86. package/dist/{chunk-7FIMUFBP.js → chunk-QDPY7RN3.js} +3 -3
  87. package/dist/{chunk-DLDYQNGP.js → chunk-QIT2GGNB.js} +3 -3
  88. package/dist/{chunk-J3XLCYTQ.js → chunk-QSJH5AFU.js} +244 -173
  89. package/dist/{chunk-DERQSEB5.js → chunk-R7DS2TRZ.js} +38 -22
  90. package/dist/{chunk-BEKEOXNG.js → chunk-RGPHFHJU.js} +2 -2
  91. package/dist/{chunk-5FJ4M4HB.js → chunk-RHH6SCB4.js} +17 -32
  92. package/dist/{chunk-Z4BQPABS.js → chunk-RIT3WBBX.js} +4 -4
  93. package/dist/{chunk-45K2QZBR.js → chunk-RKNCISPM.js} +3 -3
  94. package/dist/{chunk-6LJS4M6P.js → chunk-RKTVXFBV.js} +5 -5
  95. package/dist/{chunk-AXNX4NWN.js → chunk-RLQX6LHW.js} +37 -37
  96. package/dist/{chunk-FIERONKM.js → chunk-ROWYW3JF.js} +2 -2
  97. package/dist/{chunk-LSJ3SQEU.js → chunk-RVWWNNZQ.js} +4 -4
  98. package/dist/{chunk-LPQZICYN.js → chunk-S7MVI4W7.js} +7 -7
  99. package/dist/{chunk-4MIV244X.js → chunk-SGEOXJIH.js} +9 -2
  100. package/dist/{chunk-QRMKQYCB.js → chunk-SINL5WMI.js} +2 -2
  101. package/dist/{chunk-Z6N5N4MN.js → chunk-SIW2HT2H.js} +21 -5
  102. package/dist/{chunk-IEDQT4Z3.js → chunk-SOAZIMWL.js} +12 -12
  103. package/dist/{chunk-RPBB7P4Q.js → chunk-SVQMDVND.js} +87 -16
  104. package/dist/{chunk-45ZUMF4E.js → chunk-TPUAXIPR.js} +2 -2
  105. package/dist/{chunk-HMYJOQXT.js → chunk-TXU34ELY.js} +25 -25
  106. package/dist/{chunk-MTBKTGZT.js → chunk-U4UAWGIT.js} +12 -8
  107. package/dist/{chunk-76SBT7KS.js → chunk-U56HK2RG.js} +7 -5
  108. package/dist/{chunk-RV2BDU7V.js → chunk-UDW2KAVF.js} +6 -6
  109. package/dist/{chunk-NDV6CBR7.js → chunk-UH5VQGNR.js} +2 -2
  110. package/dist/{chunk-75QC66XI.js → chunk-V2MIBJZU.js} +2 -2
  111. package/dist/{chunk-RDZBXTZ3.js → chunk-VAQPQXOI.js} +4 -4
  112. package/dist/{chunk-XPSDDTUZ.js → chunk-VCFRALU7.js} +3 -3
  113. package/dist/{chunk-5KJBWIDZ.js → chunk-VQDVEHDB.js} +2 -2
  114. package/dist/{chunk-6ILHYSLR.js → chunk-WAP5362D.js} +5 -5
  115. package/dist/{chunk-XY4OBD26.js → chunk-WGKKDGSA.js} +4 -4
  116. package/dist/{chunk-UQ2OD7D4.js → chunk-WVVUE7LU.js} +14 -7
  117. package/dist/{chunk-LB76VK6D.js → chunk-WXQ7BHVQ.js} +7 -7
  118. package/dist/{chunk-7REDHC4N.js → chunk-X5NF3ZXW.js} +69 -14
  119. package/dist/{chunk-5W7S2SCA.js → chunk-XAE4NIZ2.js} +4 -4
  120. package/dist/{chunk-SPLRKCFV.js → chunk-XDGLYIB2.js} +2 -2
  121. package/dist/{chunk-BSGU4HS6.js → chunk-XKMZYU5B.js} +96 -65
  122. package/dist/{chunk-OLQN4Z5R.js → chunk-Y3RH35KM.js} +47 -47
  123. package/dist/{chunk-YFQCDLCQ.js → chunk-YHT7TDSH.js} +14 -14
  124. package/dist/{chunk-KDEU5FUJ.js → chunk-YJXJOMXW.js} +3 -3
  125. package/dist/{chunk-N6LGLNAC.js → chunk-YPLHVRMS.js} +4 -4
  126. package/dist/{chunk-WS2X5BB2.js → chunk-YYBBJPCL.js} +5 -5
  127. package/dist/{chunk-ZOHEHIFS.js → chunk-YYDM4DNP.js} +2 -2
  128. package/dist/{chunk-MYIIBV6A.js → chunk-ZF4LCHCT.js} +5 -5
  129. package/dist/{chunk-GRXX2TOJ.js → chunk-ZHFSIQ6E.js} +2 -2
  130. package/dist/{chunk-CB67GIR3.js → chunk-ZJQFKBX7.js} +7 -7
  131. package/dist/{chunk-ZRXDPCMN.js → chunk-ZYZ7GRX3.js} +2 -2
  132. package/dist/{chunk-5TWLVFYB.js → chunk-ZZC5VSLP.js} +4 -4
  133. package/dist/cli.d.ts +3 -3
  134. package/dist/cli.js +62 -61
  135. package/dist/codegen-command-NAY6YAOD.js +183 -0
  136. package/dist/codegen.d.ts +3 -3
  137. package/dist/codegen.js +5 -5
  138. package/dist/{commands-5ILSWDSV.js → commands-Z2QZOORB.js} +3 -3
  139. package/dist/{completion-UNKBVVDT.js → completion-LFXXNQGR.js} +3 -3
  140. package/dist/{config-NTOASFCA.js → config-7GGINOFY.js} +4 -4
  141. package/dist/{deploy-command-WESYWFJN.js → deploy-command-PBM3S4ZL.js} +69 -68
  142. package/dist/{deploy-source-ZQQNMDFX.js → deploy-source-JW7DAN75.js} +32 -32
  143. package/dist/{dev-env-sync-4XJT7WOT.js → dev-env-sync-FHJTFH3V.js} +63 -62
  144. package/dist/{diagnostics-FNVNRYMB.js → diagnostics-T3RN3372.js} +2 -2
  145. package/dist/{display-name-hint-MYXCCAOP.js → display-name-hint-5GLJGPQ6.js} +11 -11
  146. package/dist/{emit-YLt3GfsZ.d.ts → emit-t-gDE1BL.d.ts} +181 -93
  147. package/dist/env-example-refresh-HHEGMFNH.js +136 -0
  148. package/dist/{env-pull-command-SK5FS477.js → env-pull-command-FFPNRVWD.js} +52 -52
  149. package/dist/{env-target-TEFSYACA.js → env-target-XHVRZXHX.js} +14 -14
  150. package/dist/{env-var-command-IJHKA2WJ.js → env-var-command-DJS62YRR.js} +41 -41
  151. package/dist/{ephemeral-VLPRDNEJ.js → ephemeral-2DXWP3VK.js} +9 -9
  152. package/dist/{ephemeral-command-WCO5J4SN.js → ephemeral-command-VLQIQ5TS.js} +52 -52
  153. package/dist/{ephemeral-state-RUOU2GFS.js → ephemeral-state-56XEDUJW.js} +12 -12
  154. package/dist/{generate-command-3WCOUOEQ.js → generate-command-PSDIIOTU.js} +89 -88
  155. package/dist/{gitignore-WYS3GMOX.js → gitignore-PMJ6MFNA.js} +15 -15
  156. package/dist/{guards-PPIBIMFZ.js → guards-YICHJKX3.js} +51 -15
  157. package/dist/{impersonate-command-UMYVQTCG.js → impersonate-command-IKV4KUYA.js} +37 -37
  158. package/dist/{import-T4ZTOTBT.js → import-VJQGIS33.js} +5 -5
  159. package/dist/index.d.ts +653 -222
  160. package/dist/index.js +29 -28
  161. package/dist/init-command-LEQIE6GC.js +143 -0
  162. package/dist/{init-modules-7KALFI5C.js → init-modules-G47Q7ABV.js} +8 -8
  163. package/dist/{init-web-DYE2FEXL.js → init-web-25QJ4JWB.js} +3 -3
  164. package/dist/internal.d.ts +55 -8
  165. package/dist/internal.js +692 -503
  166. package/dist/{io-PGTCBSIQ.js → io-47TFRYDB.js} +6 -6
  167. package/dist/{keep-data-merge-OVHCIEBG.js → keep-data-merge-XCPCX7BZ.js} +38 -38
  168. package/dist/{lambda-config-reconcile-VOBVZPWS.js → lambda-config-reconcile-CC5QIP6E.js} +3 -3
  169. package/dist/{landed-F7PCHGCK.js → landed-VIUFHLCJ.js} +5 -5
  170. package/dist/{landing-record-AIHNW4AZ.js → landing-record-JQ7HZDGI.js} +22 -22
  171. package/dist/{live-diff-UMSOGPX3.js → live-diff-KJ2TWWWT.js} +14 -14
  172. package/dist/{local-engine-choice-XDGTATKJ.js → local-engine-choice-DFAMYOIF.js} +35 -35
  173. package/dist/{local-engine-command-VQWNQ7UK.js → local-engine-command-5RP2J5QZ.js} +40 -40
  174. package/dist/{local-engine-deploy-4N4NFZ4T.js → local-engine-deploy-XAEDT55W.js} +12 -12
  175. package/dist/{local-engine-lookup-AQTUGSBT.js → local-engine-lookup-WBYTY2JE.js} +2 -2
  176. package/dist/{local-engine-mcp-bridge-AMYRH4SY.js → local-engine-mcp-bridge-3H5OXBWQ.js} +5 -5
  177. package/dist/{local-engine-mcp-command-AIMNMXQG.js → local-engine-mcp-command-JSYVVZKK.js} +42 -42
  178. package/dist/{local-engine-process-OD5OSWDG.js → local-engine-process-35B2KQED.js} +7 -7
  179. package/dist/{local-engine-update-check-G3YCBXRE.js → local-engine-update-check-VXJZSIJU.js} +5 -5
  180. package/dist/{lock-HDCHD2ON.js → lock-JBKTDEDO.js} +4 -4
  181. package/dist/{lock-commands-H3YV2D6M.js → lock-commands-7VO6YWOV.js} +67 -66
  182. package/dist/{login-command-NMM3JNDZ.js → login-command-WTZUBCW6.js} +27 -27
  183. package/dist/{logout-command-7DYC6G32.js → logout-command-5BJUNK3C.js} +17 -17
  184. package/dist/{loop-DJNIHC7O.js → loop-HILLODVH.js} +15 -15
  185. package/dist/{marketplace-command-UCSHDZGO.js → marketplace-command-NMOH4XOV.js} +30 -30
  186. package/dist/{marketplace-resolve-JR4BBJ6K.js → marketplace-resolve-63QWMQZU.js} +6 -6
  187. package/dist/{meta-client-CD3TXQP6.js → meta-client-MRAMWUKV.js} +15 -15
  188. package/dist/{module-manifest-63I5GRK4.js → module-manifest-NWJWAQLQ.js} +4 -4
  189. package/dist/node.d.ts +8 -8
  190. package/dist/node.js +71 -70
  191. package/dist/{operation-outcome-2ONIIDRU.js → operation-outcome-WK7UW6PJ.js} +24 -24
  192. package/dist/{output-target-67LHZKCO.js → output-target-5PYRCCK4.js} +16 -16
  193. package/dist/{plan-disclosure-T7DF4SRJ.js → plan-disclosure-6MG4YYJV.js} +28 -28
  194. package/dist/{plugin-contributions-YYEP7IWH.js → plugin-contributions-DD6R6RL6.js} +5 -5
  195. package/dist/{plugin-prompt-GKCQKNYI.js → plugin-prompt-UX2TT5NS.js} +5 -5
  196. package/dist/{plugin-questions-P7MA3TYI.js → plugin-questions-WE2F4ZC4.js} +4 -4
  197. package/dist/{preflight-command-TJ7FURXB.js → preflight-command-3BX2WW3S.js} +75 -74
  198. package/dist/{profile-command-LDPLTJEJ.js → profile-command-GSUX3UMB.js} +28 -28
  199. package/dist/{profile-pointer-JJ7K5O2R.js → profile-pointer-RCPHVTJV.js} +4 -4
  200. package/dist/{project-dependency-X3KCWBK5.js → project-dependency-TPVV3YIX.js} +7 -7
  201. package/dist/{project-sdk-YHJZRCNB.js → project-sdk-DKZBK5H5.js} +4 -4
  202. package/dist/promote-command-3LQTXWCD.js +149 -0
  203. package/dist/{prompt-QNMJIWNI.js → prompt-OYQHQWKI.js} +4 -4
  204. package/dist/{publish-command-IIRN6NWN.js → publish-command-3BQCV4NE.js} +72 -71
  205. package/dist/pull-command-B7OVWTZD.js +171 -0
  206. package/dist/{pull-superseded-6HADGGC5.js → pull-superseded-3SSM3JFT.js} +4 -4
  207. package/dist/{raw-where-gWGr-E4t.d.ts → raw-where-CinW0keO.d.ts} +32 -4
  208. package/dist/release-command-XSDICMJE.js +153 -0
  209. package/dist/{release-ns-command-YLCQPVH3.js → release-ns-command-EVAHK4CU.js} +96 -95
  210. package/dist/{retry-command-LFZYEVRU.js → retry-command-WP4ZI6CJ.js} +8 -8
  211. package/dist/{routes-manifest-R3TQRB24.js → routes-manifest-N73THJB3.js} +16 -16
  212. package/dist/routes-manifest-file-LDUDIVFJ.js +41 -0
  213. package/dist/scaffold.js +2 -2
  214. package/dist/{secrets-file-PCNAFXNV.js → secrets-file-7XWR7HW3.js} +15 -15
  215. package/dist/{secrets-fill-command-G7NQMRXU.js → secrets-fill-command-NKCGC75L.js} +66 -65
  216. package/dist/{seed-4CD55LB4.js → seed-YKTZDS2Q.js} +13 -13
  217. package/dist/{source-resolve-U4SJR7ZA.js → source-resolve-CQGDFQQC.js} +22 -22
  218. package/dist/{static-host-MO4VDHL7.js → static-host-3HPZKVKK.js} +5 -5
  219. package/dist/{status-command-CD72PXIT.js → status-command-TBMQ3GJP.js} +38 -38
  220. package/dist/{store-AJX4MC7Y.js → store-B63BQV6R.js} +6 -6
  221. package/dist/{store-BM7SQcUt.d.ts → store-in7gSpMS.d.ts} +297 -129
  222. package/dist/sync-baseline-GRS33AB5.js +38 -0
  223. package/dist/{sync-contributions-XK6LHISZ.js → sync-contributions-RKPLZPPO.js} +9 -9
  224. package/dist/{sync-record-NE62ERA3.js → sync-record-AWFCSS4D.js} +15 -15
  225. package/dist/{table-WPRAM4VW.js → table-ONGT3JGE.js} +12 -12
  226. package/dist/{tables-command-NMTKR52H.js → tables-command-UYQ277TJ.js} +41 -41
  227. package/dist/{tenant-IIYECNWO.js → tenant-IXIW3FOI.js} +10 -10
  228. package/dist/{tenant-command-XQAWT46C.js → tenant-command-7LWZUK2V.js} +104 -103
  229. package/dist/{test-command-W4AD4KT4.js → test-command-7KTT5EAF.js} +56 -45
  230. package/dist/{tests-JWQRHFCT.js → tests-N4MMBABH.js} +6 -6
  231. package/dist/{token-P3VQ6ITJ.js → token-3TCMW2AP.js} +13 -13
  232. package/dist/{toolchain-hooks-UAJBPSTC.js → toolchain-hooks-IJWV3ZQS.js} +18 -18
  233. package/dist/{toolchain-modules-S3MPHCUI.js → toolchain-modules-PBVBCPQJ.js} +5 -5
  234. package/dist/{toolchain-peers-FQJBTKEB.js → toolchain-peers-EMOYN4U7.js} +8 -8
  235. package/dist/{tracked-backend-WWEPNUD5.js → tracked-backend-YDUUQZQF.js} +34 -34
  236. package/dist/update-check-C6KDFGMT.js +141 -0
  237. package/dist/{upgrade-command-J6LRNHYF.js → upgrade-command-ZSBTSMBR.js} +68 -67
  238. package/dist/{whoami-command-KWRP2CII.js → whoami-command-L6ERHR5K.js} +16 -16
  239. package/dist/{workspace-3YNK4XO4.js → workspace-5DPSDM4A.js} +5 -5
  240. package/dist/{workspace-binding-TTDNXHO5.js → workspace-binding-MVOWGNYW.js} +15 -15
  241. package/dist/{workspace-command-W4ANGLCZ.js → workspace-command-PKQ5TDR7.js} +100 -99
  242. package/dist/{workspace-env-6LJGCTZA.js → workspace-env-UZJZUIYV.js} +18 -12
  243. package/dist/{workspace-export-PUEXKZNS.js → workspace-export-3KMWNZDD.js} +5 -5
  244. package/dist/{writable-LMMG4AFZ.js → writable-X7BCN7XE.js} +4 -4
  245. package/dist/xano-YB6Y2IJS.js +44 -0
  246. package/dist/{xanosdk-import-PNNMZ4SF.js → xanosdk-import-HHMQDK2I.js} +10 -10
  247. package/dist/{xanosdk-project-YW3BQY2E.js → xanosdk-project-CKEUNJU4.js} +13 -13
  248. package/dist/{xdo-D4OwfF2J.d.ts → xdo-DNGZGO1j.d.ts} +50 -12
  249. package/guides/authoring.md +1 -0
  250. package/guides/codes.md +33 -3
  251. package/guides/coverage.md +2 -2
  252. package/guides/object-kinds.md +1 -1
  253. package/guides/typed-frontend.md +9 -0
  254. package/llms/client.md +54 -36
  255. package/llms/errors.md +26 -6
  256. package/llms/fields.md +53 -30
  257. package/llms/filters.md +55 -46
  258. package/llms/kinds-agent-mcp.md +10 -9
  259. package/llms/kinds-core.md +19 -15
  260. package/llms/kinds-knowledge.md +4 -4
  261. package/llms/kinds-realtime.md +25 -23
  262. package/llms/lambda.md +42 -30
  263. package/llms/legacy.md +6 -7
  264. package/llms/lock.md +21 -17
  265. package/llms/object-kinds.md +9 -11
  266. package/llms/statements-calls.md +41 -20
  267. package/llms/statements-catalog.md +78 -71
  268. package/llms/statements-data.md +35 -25
  269. package/llms/statements-runtime.md +28 -18
  270. package/llms/tests.md +20 -7
  271. package/llms/toolchain.md +12 -9
  272. package/llms/triggers.md +14 -18
  273. package/llms/values.md +16 -9
  274. package/llms-full.txt +689 -549
  275. package/llms.txt +120 -137
  276. package/manifest.json +228 -246
  277. package/package.json +1 -1
  278. package/skills/xano-backend/SKILL.md +10 -12
  279. package/types/lambda-globals.d.ts +6 -1
  280. package/dist/branch-commands-75IYFTBS.js +0 -80
  281. package/dist/codegen-command-JWOW6HE5.js +0 -182
  282. package/dist/env-example-refresh-4V2OCDJE.js +0 -135
  283. package/dist/init-command-UR5MSXIH.js +0 -142
  284. package/dist/promote-command-RURHOLNR.js +0 -148
  285. package/dist/pull-command-ITO76ENU.js +0 -170
  286. package/dist/release-command-CVGIUD4M.js +0 -152
  287. package/dist/routes-manifest-file-GYNYFKAH.js +0 -41
  288. package/dist/sync-baseline-BJDKG4F2.js +0 -38
  289. package/dist/update-check-O7QC5TBB.js +0 -140
  290. package/dist/xano-Z3SRHYOR.js +0 -43
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-MF4W6FHU.js";
10
10
  import {
11
11
  UsageError
12
- } from "./chunk-GRXX2TOJ.js";
12
+ } from "./chunk-ZHFSIQ6E.js";
13
13
  import {
14
14
  shellQuote
15
15
  } from "./chunk-5ZSO4T2G.js";
@@ -159,4 +159,4 @@ export {
159
159
  pointerRootFor,
160
160
  projectRootFor
161
161
  };
162
- //# sourceMappingURL=chunk-ECQXASG3.js.map
162
+ //# sourceMappingURL=chunk-IFHFJR5O.js.map
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  createOperation,
3
3
  runOperation
4
- } from "./chunk-GOKRKTCX.js";
4
+ } from "./chunk-MBSHONP3.js";
5
5
  import {
6
6
  fetchWorkspaceBundle
7
- } from "./chunk-BSGU4HS6.js";
7
+ } from "./chunk-XKMZYU5B.js";
8
8
  import {
9
9
  assertReleaseIdentitiesFree,
10
10
  pinnedCanonicalGuids,
11
11
  setLiveRollback
12
- } from "./chunk-VBSCWV5H.js";
12
+ } from "./chunk-DLD4FVRP.js";
13
13
  import {
14
14
  objectDigests,
15
15
  syncDigests
16
- } from "./chunk-FBSGFPZ4.js";
16
+ } from "./chunk-4XGZ325S.js";
17
17
  import {
18
18
  asWorkspaceArchive,
19
19
  resolveProjectEntry
20
- } from "./chunk-LPQZICYN.js";
20
+ } from "./chunk-S7MVI4W7.js";
21
21
  import {
22
22
  liveBranchMismatch,
23
23
  liveMismatch
24
- } from "./chunk-YFQCDLCQ.js";
24
+ } from "./chunk-YHT7TDSH.js";
25
25
  import {
26
26
  confirm
27
- } from "./chunk-RVAEPPRH.js";
27
+ } from "./chunk-AICWDCLJ.js";
28
28
  import {
29
29
  CONSTRAINT_FIX,
30
30
  CONSTRAINT_PHRASE,
@@ -43,24 +43,24 @@ import {
43
43
  releaseTableEffects,
44
44
  renameHint,
45
45
  tableEffectsPayload
46
- } from "./chunk-RV2BDU7V.js";
46
+ } from "./chunk-UDW2KAVF.js";
47
47
  import {
48
48
  tableRowCounter
49
- } from "./chunk-N6LGLNAC.js";
49
+ } from "./chunk-YPLHVRMS.js";
50
50
  import {
51
51
  landingLockPath,
52
52
  recordForeignLanding
53
- } from "./chunk-MAXDJZQR.js";
53
+ } from "./chunk-4ZBXS7YN.js";
54
54
  import {
55
55
  recordSync
56
- } from "./chunk-KMKUH2IO.js";
56
+ } from "./chunk-EPB6FAR5.js";
57
57
  import {
58
58
  SettledWriteFailure,
59
59
  classifyFailure
60
- } from "./chunk-XCFQLP6G.js";
60
+ } from "./chunk-DJMGDCVX.js";
61
61
  import {
62
62
  exportWorkspaceBundle
63
- } from "./chunk-3H7R4ISR.js";
63
+ } from "./chunk-2DUYJR5N.js";
64
64
  import {
65
65
  decodeWorkspaceArchive
66
66
  } from "./chunk-3DRXWLJ5.js";
@@ -74,16 +74,16 @@ import {
74
74
  listBranchListing,
75
75
  liveBranchLabel,
76
76
  setLiveBranch
77
- } from "./chunk-2LF734YB.js";
77
+ } from "./chunk-54CJ74BH.js";
78
78
  import {
79
79
  envValuesOf
80
- } from "./chunk-Z4BQPABS.js";
80
+ } from "./chunk-RIT3WBBX.js";
81
81
  import {
82
82
  assertOneName
83
- } from "./chunk-GBSHHNSD.js";
83
+ } from "./chunk-PRSNMSVG.js";
84
84
  import {
85
85
  resolveSource
86
- } from "./chunk-HKI5Y5KW.js";
86
+ } from "./chunk-47XIVDJ6.js";
87
87
  import {
88
88
  ReleaseHttpError,
89
89
  UNPROMOTABLE_RELEASE_PARTS,
@@ -92,27 +92,27 @@ import {
92
92
  promotableReleaseName,
93
93
  unpromotableReleasePart,
94
94
  untenantDeployableReleasePart
95
- } from "./chunk-NDV6CBR7.js";
95
+ } from "./chunk-UH5VQGNR.js";
96
96
  import {
97
97
  getAccessToken
98
- } from "./chunk-3SZ7QRYA.js";
98
+ } from "./chunk-57PGTPT3.js";
99
99
  import {
100
100
  readLockFile
101
- } from "./chunk-CJDPSCMX.js";
101
+ } from "./chunk-7ZVQIKNL.js";
102
102
  import {
103
103
  pipedYes,
104
104
  retryCommand,
105
105
  withheldNote
106
- } from "./chunk-GCINMMFL.js";
106
+ } from "./chunk-GJZMKMWO.js";
107
107
  import {
108
108
  contextFlags
109
- } from "./chunk-ZRXDPCMN.js";
109
+ } from "./chunk-ZYZ7GRX3.js";
110
110
  import {
111
111
  shellWord
112
112
  } from "./chunk-FWD7AL6N.js";
113
113
  import {
114
114
  withoutReadAftermath
115
- } from "./chunk-HXFLHA5K.js";
115
+ } from "./chunk-NH5Z2NOD.js";
116
116
  import {
117
117
  CliError,
118
118
  LocalFileNotFoundError,
@@ -130,19 +130,19 @@ import {
130
130
  success,
131
131
  warn,
132
132
  withoutUrls
133
- } from "./chunk-GRXX2TOJ.js";
133
+ } from "./chunk-ZHFSIQ6E.js";
134
134
  import {
135
135
  envNamesRead
136
- } from "./chunk-HINRE3UM.js";
136
+ } from "./chunk-HXPQXCOZ.js";
137
137
  import {
138
138
  safeNames
139
139
  } from "./chunk-GSGDWJB5.js";
140
140
  import {
141
141
  setDiagnosticSink
142
- } from "./chunk-YEH5OIPF.js";
142
+ } from "./chunk-FMXPV5JI.js";
143
143
  import {
144
144
  sdkKindName2 as sdkKindName
145
- } from "./chunk-5KJBWIDZ.js";
145
+ } from "./chunk-VQDVEHDB.js";
146
146
  import {
147
147
  shellQuote
148
148
  } from "./chunk-5ZSO4T2G.js";
@@ -299,7 +299,7 @@ async function verifyLanding(auth, opts) {
299
299
  } catch (err) {
300
300
  return unverified(shortReason(err));
301
301
  }
302
- const { compareToLive, declaredLabels } = await import("./live-diff-UMSOGPX3.js");
302
+ const { compareToLive, declaredLabels } = await import("./live-diff-KJ2TWWWT.js");
303
303
  let result;
304
304
  try {
305
305
  result = compareToLive(declared, landedBundle, void 0, { sample: "all" });
@@ -472,7 +472,7 @@ async function runPromoteCommand(args) {
472
472
  discloseWriteTarget(destination);
473
473
  const lockPath = landingLockPath(args, args.entryPath === void 0 ? {} : { entryFile: args.entryPath });
474
474
  if (lockPath === void 0 && args.noLock !== true) {
475
- const { nestedBackendEntries } = await import("./tracked-backend-WWEPNUD5.js");
475
+ const { nestedBackendEntries } = await import("./tracked-backend-YDUUQZQF.js");
476
476
  const nested = nestedBackendEntries(process.cwd());
477
477
  if (nested.length > 0) {
478
478
  warn(
@@ -935,7 +935,7 @@ Nothing was switched. Serve it deliberately with \`xanosdk workspace branch set-
935
935
  }
936
936
  }
937
937
  async function unansweredBranchRead(err, args, what) {
938
- const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-U4SJR7ZA.js");
938
+ const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-CQGDFQQC.js");
939
939
  const transport = isTransportFailure(err);
940
940
  if (!transport && !isServerError(err)) return err;
941
941
  const first = what !== void 0 ? `could not read ${what}` : ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
@@ -961,4 +961,4 @@ export {
961
961
  reportNotRun,
962
962
  runPromoteCommand
963
963
  };
964
- //# sourceMappingURL=chunk-P4OWRYE7.js.map
964
+ //# sourceMappingURL=chunk-IOWNQEMW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  classifyNpmFailure
3
- } from "./chunk-YL3WVBR5.js";
3
+ } from "./chunk-KGHJ74HF.js";
4
4
  import {
5
5
  condenseNpmError,
6
6
  runNpmQuiet,
@@ -15,7 +15,7 @@ import {
15
15
  isSorted,
16
16
  reactPreset,
17
17
  sortedKeys
18
- } from "./chunk-5FJ4M4HB.js";
18
+ } from "./chunk-RHH6SCB4.js";
19
19
  import {
20
20
  blockVersion,
21
21
  composeBlock,
@@ -38,7 +38,7 @@ import {
38
38
  success,
39
39
  warn,
40
40
  withSpinner
41
- } from "./chunk-GRXX2TOJ.js";
41
+ } from "./chunk-ZHFSIQ6E.js";
42
42
  import {
43
43
  defaultThemeChoice,
44
44
  themeGuidanceSection
@@ -59,9 +59,8 @@ server-side logic (\`defineFunction()\` and statement stacks), scheduled tasks (
59
59
  triggers and webhooks, realtime channels, file storage, and AI agents and MCP servers. Only
60
60
  the kinds registered in \`xano/index.ts\` exist in this project \u2014 check before assuming. The
61
61
  frontend calls the deployed backend over HTTP and holds no business logic.`;
62
- var LEARN_FROM_THE_LIBRARY = `**${GUIDANCE_SENTINEL}.** You have almost certainly not seen this SDK.
63
- What you know about driving Xano comes from interfaces with different shapes, and
64
- carrying it over produces code that reads well, type-checks, and is wrong. Read before
62
+ var LEARN_FROM_THE_LIBRARY = `**${GUIDANCE_SENTINEL}.** This SDK is not in your training data;
63
+ patterns carried over from other Xano interfaces type-check and are wrong. Read before
65
64
  writing:
66
65
 
67
66
  1. \`node_modules/@xano/sdk/llms.txt\` \u2014 the router, and the whole always-read
@@ -133,8 +132,9 @@ npm run dev # the frontend, pointed at the engine through .env.local
133
132
  - \`npm run xano:export\` \u2014 compile the backend to \`workspace.json\` (never commit it).
134
133
  - \`npm run xano:test\` \u2014 run the DEPLOYED environment's unit + workflow tests (exits 5 on a
135
134
  failure). Deploy first. See "Testing" below.
136
- - \`npm run xano:check\` \u2014 the CI gate: a strict export, a stale \`routes.gen.ts\`, lock drift.
137
- It writes nothing and needs no secrets. Run it before calling the work done.
135
+ - \`npm run xano:check\` \u2014 the CI gate: \`routes --strict\` (a missing or stale \`routes.gen.ts\`),
136
+ the typecheck, and a strict \`export --check\` (any build warning, lock drift). It writes
137
+ nothing and needs no secrets. Run it before calling the work done, and again after any merge.
138
138
  - \`npx @xano/sdk login\` then \`npm run xano:deploy:ephemeral\` \u2014 ship the backend + static
139
139
  frontend to a disposable **ephemeral** environment on Xano's cloud;
140
140
  \`npm run xano:deploy:frontend\` republishes only the frontend.
@@ -172,7 +172,7 @@ then land it with \`npx @xano/sdk promote <name>\` (\`npx @xano/sdk tenant deplo
172
172
  for a customer tenant). A promote lands on a branch that serves nothing until it is live
173
173
  (\`--set-live\`, or \`npx @xano/sdk workspace branch set-live <label>\` later).
174
174
  \`npx @xano/sdk deploy --to workspace\` skips the release and merges the local build straight
175
- in, leaving nothing to roll back to. Run any of these only when asked.`;
175
+ in, leaving nothing to roll back to.`;
176
176
  function backendWorkflow(mode) {
177
177
  return `### Development workflow
178
178
 
@@ -195,8 +195,9 @@ npm run xano:deploy # typecheck, then deploy the backend to the Xano Engine o
195
195
  - \`npm run xano:export\` \u2014 compile the backend to \`workspace.json\` (never commit it).
196
196
  - \`npm run xano:test\` \u2014 run the DEPLOYED environment's unit + workflow tests (exits 5 on a
197
197
  failure). Deploy first. See "Testing" below.
198
- - \`npm run xano:check\` \u2014 the CI gate: a strict export, a stale \`routes.gen.ts\`, lock drift.
199
- It writes nothing and needs no secrets. Run it before calling the work done.
198
+ - \`npm run xano:check\` \u2014 the CI gate: \`routes --strict\` (a missing or stale \`routes.gen.ts\`),
199
+ the typecheck, and a strict \`export --check\` (any build warning, lock drift). It writes
200
+ nothing and needs no secrets. Run it before calling the work done, and again after any merge.
200
201
  - \`npx @xano/sdk login\` then \`npm run xano:deploy:ephemeral\` \u2014 ship the backend to a
201
202
  disposable **ephemeral** environment on Xano's cloud.
202
203
  - Not signed in? Ask the user whether they have a Xano account; don't guess from context.
@@ -259,8 +260,7 @@ function xanoSdk(frontend) {
259
260
 
260
261
  ${frontend ? FRONTEND_CONTRACT : CLIENT_CONTRACT}`;
261
262
  }
262
- function backendChanges(frontend) {
263
- const typecheck = frontend ? "typecheck" : "xano:typecheck";
263
+ function backendChanges() {
264
264
  return `### Backend changes
265
265
 
266
266
  - Match the naming already in \`xano/\`: snake_case object names, uppercase verbs, the
@@ -273,7 +273,7 @@ function backendChanges(frontend) {
273
273
  the frontend.
274
274
  - Add \`tests: [...]\` to new queries and functions (a \`workflowTest()\` where the behavior
275
275
  spans objects), then \`npm run xano:deploy\` and \`npm run xano:test\`.
276
- - Finish with \`npm run xano:routes\`, \`npm run ${typecheck}\` and \`npm run xano:check\`, and
276
+ - Finish with \`npm run xano:routes\` and \`npm run xano:check\`, and
277
277
  commit \`xano/routes.gen.ts\` and \`xano/xano.lock\` with the change.`;
278
278
  }
279
279
  var AGENT_RULE_BACKENDS = [
@@ -302,9 +302,9 @@ function agentGuidance(frontend) {
302
302
  - Do not invent Xano APIs, statements, or SDK methods; when unsure, read the installed
303
303
  docs and types named under "Source of truth".
304
304
  ${frontend ? `${FRONTEND_DATA_LAYER_RULE}
305
- ` : ""}- Do not run \`npx @xano/sdk pull\`, \`promote\`, \`deploy --to workspace\`, \`tenant deploy\`, or
306
- \`local update\` unless asked: \`pull\` overwrites \`xano/\`, and the others change shared
307
- environments or the pinned engine.
305
+ ` : ""}- Do not run \`npx @xano/sdk pull\`, \`release create\`, \`promote\`, \`deploy --to workspace\`,
306
+ \`tenant deploy\`, \`workspace branch set-live\`, or \`local update\` unless asked: \`pull\`
307
+ overwrites \`xano/\`, and the others change shared environments or the pinned engine.
308
308
  - Never commit \`xano/.env\`, \`xano/.secrets.json\`, \`workspace.json\`, \`.env.local\`, or
309
309
  \`.xano/\`. Never ignore \`xano/\` wholesale, and never ignore \`xano/xano.lock\`.`;
310
310
  }
@@ -321,11 +321,14 @@ warns of an orphaned entry, run the \`lock rename\` it prints (\`npx @xano/sdk l
321
321
  \`guid:\` carries the identity, and export says so. Every \`lock\` subcommand finds
322
322
  \`xano/xano.lock\` from the project entry, as \`export\` does \u2014 \`--entry=<file>\` names
323
323
  another entry, \`--lock=<path>\` the lock itself.
324
- \`npm run xano:check\` (\`npx @xano/sdk export ./xano/index.ts --check --strict\`: writes nothing, needs no secrets, fails on any build warning) fails if
325
- \`xano/routes.gen.ts\` is missing or stale (after adding or renaming an endpoint, run \`npm run xano:routes\`
326
- and commit the file), if an export would change the lock, or if the lock still carries an entry no object matches (finish the rename with \`lock rename\`, or drop it
327
- with \`lock prune\` when the object really was deleted) \u2014 run it before you call the work
328
- done, and again after any merge: two branches that change different objects merge with no
324
+
325
+ \`npm run xano:check\` fails on the lock when:
326
+
327
+ - an export would change it, or
328
+ - it still carries an entry no object matches: finish the rename with \`lock rename\`, or
329
+ drop it with \`lock prune\` when the object really was deleted.
330
+
331
+ Rerun it after any merge: two branches that change different objects merge with no
329
332
  conflict while one side's derived state still predates the other's source change.`;
330
333
  var ENV_GUIDANCE = `\`workspaceConfig({ env })\`, passed to \`registerWorkspace()\`, declares the NAMES the
331
334
  backend reads with \`env("NAME")\`; the VALUES live in \`xano/.env\`, which is gitignored and survives a
@@ -333,20 +336,26 @@ backend reads with \`env("NAME")\`; the VALUES live in \`xano/.env\`, which is g
333
336
 
334
337
  - Fill it in by hand (\`cp xano/.env.example xano/.env\`), or run \`npx @xano/sdk env pull\`
335
338
  to fetch the values from a backend that is running. That is the ONLY command that
336
- writes \`xano/.env\`, and it confirms before replacing one. A compiled bundle also carries the
339
+ writes \`xano/.env\`; it creates the file 0600 (Windows has no ACL equivalent, the same
340
+ exposure \`.xano/auth.json\` carries) and confirms before replacing one. A compiled bundle also carries the
337
341
  resolved values in cleartext, so keep an \`export --out\` artifact out of git.
338
342
  - Every command that compiles a bundle reads \`xano/.env\` with no flag. In CI, which
339
343
  does not have it, mount a file and pass \`--backend-env-file <path>\`, or supply names with
340
344
  \`--env-var KEY=VALUE\`.
341
- - A deploy REPLACES the backend's env set, so a declared name with no value anywhere
342
- REFUSES the deploy rather than clearing the live value. Fill the name in \u2014 do not
345
+ - \`npm run xano:deploy\` passes \`--keep-data\`, which MERGES: it keeps rows AND live env
346
+ values. A name the backend already holds keeps its live value after you edit
347
+ \`xano/.env\` (the deploy warns \`plan.env-kept\`), and a newly declared name is added,
348
+ empty if it has no value. To apply an edited value, run
349
+ \`printf %s "$VALUE" | npx @xano/sdk env set NAME\`, or \`npm run xano:deploy -- --reset\`,
350
+ which also replaces every table's rows with its seed rows.
351
+ - A deploy that REPLACES the env set (no \`--keep-data\`, or a backend the merge cannot
352
+ vouch for, such as a fresh one) REFUSES the deploy when a declared name has no value
353
+ anywhere, or a \`NAME=\` line with nothing after the \`=\`, rather than clearing the
354
+ live value. Write \`NAME=""\` to send one empty on purpose. Fill the name in \u2014 do not
343
355
  put the value back into \`xano/index.ts\`, and do not reach for
344
356
  \`--allow-empty-env=NAME\` unless clearing that name is what you actually want.
345
357
  - \`xano/\` is committed in full except its two secret files, \`xano/.env\` and
346
- \`xano/.secrets.json\` (both gitignored). Never ignore \`xano/\` wholesale \u2014 the
347
- source is the review surface.
348
- - On Windows there is no ACL equivalent to the 0600 the file is created with, the
349
- same exposure \`.xano/auth.json\` already carries.`;
358
+ \`xano/.secrets.json\` (both gitignored).`;
350
359
  var TESTING_GUIDANCE = `Two kinds, both authored in \`xano/\`, both run against a DEPLOYED environment:
351
360
 
352
361
  - **Unit test** \u2014 a \`tests: [...]\` entry on a \`query\`, \`defineFunction\`, or
@@ -374,14 +383,14 @@ composing them from a module outside \`xano/\`.`;
374
383
  }
375
384
  return `### Add-ons & Marketplace
376
385
 
377
- Other \`@xano-sdk/*\` packages register onto the same workspace. None are required, and beyond any chosen at \`init\` (\`--marketplace\`), none ship with the scaffold \u2014 install one only when the task actually calls for it; do not add one speculatively. Before building a domain capability from scratch (authentication, AI chatbots, vector embeddings / RAG, payment integrations), check the marketplace \u2014 a live catalogue of typed add-ons that register onto the workspace. **Query it dynamically**:
386
+ Other \`@xano-sdk/*\` packages register onto the same workspace. None are required, and beyond any chosen at \`init\` (\`--marketplace\`), none ship with the scaffold. Install one only when the task calls for it; do not add one speculatively. Before building authentication, an AI chatbot, vector embeddings / RAG, or a payment integration from scratch, check the marketplace:
378
387
 
379
- 1. **Search:** \`npx @xano/sdk marketplace search <keywords>\` (e.g. \`auth\`, \`chat\`, \`vector\`, \`stripe\`) \u2014 matches title, package, tagline, and description.
380
- 2. **Inspect & Prompt:** \`npx @xano/sdk marketplace details <package> --prompt\` \u2014 emits the publisher's exact wiring steps, required env vars, and \`xano/index.ts\` registration snippet.
381
- 3. **Install:** \`npx @xano/sdk marketplace install <package>\` \u2014 verifies project directory, adds the package, and configures it in this project (a toolchain module is asked its questions here, not by a plain \`npm install\`).
382
- 4. **List all:** \`npx @xano/sdk marketplace list\` \u2014 browse all published modules. The read verbs (\`list\`, \`search\`, \`details\`) need no sign-in, but they query the online catalogue \u2014 there is no offline copy.
388
+ 1. \`npx @xano/sdk marketplace search <keywords>\` (e.g. \`auth\`, \`chat\`, \`vector\`, \`stripe\`) \u2014 matches title, package, tagline, and description.
389
+ 2. \`npx @xano/sdk marketplace details <package> --prompt\` \u2014 prints the publisher's wiring steps, required env vars, and \`xano/index.ts\` registration snippet.
390
+ 3. \`npx @xano/sdk marketplace install <package>\` \u2014 adds the package and configures it in this project (a toolchain module is asked its questions here, not by a plain \`npm install\`).
391
+ 4. \`npx @xano/sdk marketplace list\` \u2014 every published module. The read verbs (\`list\`, \`search\`, \`details\`) need no sign-in but query the online catalogue; there is no offline copy.
383
392
 
384
- #### Common First-Party Modules:
393
+ #### First-party modules
385
394
 
386
395
  - \`@xano-sdk/auth\` \u2014 turnkey authentication (\`signup\`/\`login\`/\`me\` endpoints + \`user\`/\`account\`/\`event_log\` tables): \`registerAuth(ws, { canonical: "authn" })\`. **Authentication only \u2014 not authorization.** Its tokens carry no role claim, so enforce roles off the caller's row: spread \`...guard.role(userTable, "admin")\` into the stack of a query whose \`auth\` is \`userTable\`.
387
396
  - \`@xano-sdk/chatbot\` \u2014 conversational AI assistant (thread/message tables + Xano AI agent + chat endpoints): \`registerChatbot(ws, { authTable: userTable, llm: { type: "xano-free", systemPrompt: "..." } })\`.
@@ -392,7 +401,7 @@ Other \`@xano-sdk/*\` packages register onto the same workspace. None are requir
392
401
  var FRONTEND_REACH = `- **The frontend cannot reach the backend.** \`npx @xano/sdk status\` prints the URL this
393
402
  project last deployed to. In dev the host is \`VITE_XANO_HOST\` from \`.env.local\` at the
394
403
  project root, written by \`npm run xano:deploy\`; restart \`npm run dev\` after it changes. A
395
- deployed site gets it injected as \`window["XANO_HOST"]\` (grep the bare \`XANO_HOST\` token).
404
+ deployed site gets it injected as \`window["XANO_HOST"]\`, so grep a deploy for the bare \`XANO_HOST\` token.
396
405
  An empty \`XANO_HOST\` sends every call to the dev server, which 404s.
397
406
  `;
398
407
  var FRONTEND_ENV_LOCAL = " `.env.local`: `npm run xano:deploy` writes it.";
@@ -405,8 +414,8 @@ test failed, 8 = the named backend is gone, stopped, or unreachable).
405
414
 
406
415
  - **The Xano Engine fails to start.** \`npx @xano/sdk local list\` shows the engines on this
407
416
  machine; \`npx @xano/sdk local stop --all\` then \`npm run xano:deploy\` restarts cleanly. Each
408
- start writes a log under \`~/.xanosdk/local-engine/engine/\` (\`Library/Caches\` on macOS,
409
- \`.cache\` on Linux) and a failed start names its file. A damaged cache: clear it with
417
+ start writes a log in a \`logs/\` directory under \`~/.xanosdk/local-engine/engine/Library/Caches/\`
418
+ on macOS (\`~/.xanosdk/local-engine/engine/.cache/\` on Linux); a failed start names its file. A damaged cache: clear it with
410
419
  \`npx @xano/sdk local cache clear\` and redeploy. \`XANOSDK_ENGINE_OVERRIDE\` in the shell
411
420
  means a non-pinned engine is running.
412
421
  ${frontend ? FRONTEND_REACH : ""}- **An API call fails.** Confirm the verb and path with \`npx @xano/sdk routes ./xano/index.ts\`,
@@ -418,9 +427,8 @@ ${frontend ? FRONTEND_REACH : ""}- **An API call fails.** Confirm the verb and p
418
427
  - **The schema appears out of sync.** \`npx @xano/sdk tables\` lists what the deployed backend
419
428
  has; \`npm run xano:deploy\` merges your defs in, \`npm run xano:deploy -- --reset\` replaces
420
429
  and re-seeds, and an engine restart or update starts empty (the next deploy seeds).
421
- \`npm run xano:check\` reports lock drift: finish a rename with
422
- \`npx @xano/sdk lock rename <kind> <old> <new>\`, or drop a deleted object's entry with
423
- \`npx @xano/sdk lock prune\`. Against the real workspace,
430
+ Lock drift from \`npm run xano:check\`: \`npx @xano/sdk lock rename <kind> <old> <new>\` finishes a
431
+ rename, \`npx @xano/sdk lock prune\` drops a deleted object's entry. Against the real workspace,
424
432
  \`npx @xano/sdk workspace diff ./xano/index.ts\` exits 2 when anything differs.
425
433
  - **Generated files are missing.** \`xano/routes.gen.ts\`: \`npm run xano:routes\` (it writes
426
434
  nothing until the workspace has an endpoint). \`xano/xano.lock\`: any export or deploy
@@ -441,8 +449,7 @@ function intro(mode, frontend) {
441
449
  return `This is a [Xano SDK](https://www.npmjs.com/package/@xano/sdk) project whose
442
450
  Xano backend under \`xano/\` was **pulled from a live workspace** and written as
443
451
  TypeScript by \`xanosdk init --from\`.${frontend === null ? "" : ` The ${frontend.label} frontend under \`frontend/\`
444
- is a starter.`} Xano SDK is Xano's official TypeScript SDK \u2014 the supported way to
445
- drive a Xano workspace from code.
452
+ is a starter.`}
446
453
 
447
454
  ### Two rules before you edit anything
448
455
 
@@ -461,8 +468,7 @@ round-trip on the pull, and it is the only place a decode gap is written down.`;
461
468
  }
462
469
  return `This is a [Xano SDK](https://www.npmjs.com/package/@xano/sdk) project. The
463
470
  Xano backend is authored in TypeScript under \`xano/\`${frontend === null ? "." : `; the ${frontend.label} frontend
464
- lives under \`frontend/\`.`} Xano SDK is Xano's official TypeScript SDK \u2014 the
465
- supported way to drive a Xano workspace from code.`;
471
+ lives under \`frontend/\`.`}`;
466
472
  }
467
473
  function guidanceBody(mode = "authored", frontend = DEFAULT_FRONTEND_GUIDANCE) {
468
474
  const hasFrontend = frontend !== null;
@@ -478,7 +484,7 @@ ${developmentWorkflow(mode, hasFrontend)}
478
484
 
479
485
  ${xanoSdk(hasFrontend)}
480
486
 
481
- ${backendChanges(hasFrontend)}
487
+ ${backendChanges()}
482
488
 
483
489
  ${agentGuidance(hasFrontend)}
484
490
 
@@ -1000,4 +1006,4 @@ export {
1000
1006
  changedOnDisk,
1001
1007
  scaffoldProject
1002
1008
  };
1003
- //# sourceMappingURL=chunk-SUKO4SZG.js.map
1009
+ //# sourceMappingURL=chunk-ISIZFK5Q.js.map
@@ -3,17 +3,17 @@ import {
3
3
  } from "./chunk-EUUUMY7J.js";
4
4
  import {
5
5
  backendDirIn
6
- } from "./chunk-KDEU5FUJ.js";
6
+ } from "./chunk-YJXJOMXW.js";
7
7
  import {
8
8
  shellWord
9
9
  } from "./chunk-FWD7AL6N.js";
10
10
  import {
11
11
  pointerRootFor
12
- } from "./chunk-ECQXASG3.js";
12
+ } from "./chunk-IFHFJR5O.js";
13
13
  import {
14
14
  UsageError,
15
15
  setTypedCwd
16
- } from "./chunk-GRXX2TOJ.js";
16
+ } from "./chunk-ZHFSIQ6E.js";
17
17
 
18
18
  // src/emit/xanosdk-project.ts
19
19
  import { existsSync, realpathSync, statSync } from "fs";
@@ -154,4 +154,4 @@ export {
154
154
  RELATIVE_PATH_ARGS,
155
155
  enterProjectRoot
156
156
  };
157
- //# sourceMappingURL=chunk-QJ25N4W6.js.map
157
+ //# sourceMappingURL=chunk-IUJDUFT7.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  statementLabel
3
- } from "./chunk-IHL2O7VY.js";
3
+ } from "./chunk-F3JK5RIY.js";
4
4
  import {
5
5
  PROTO_KEY,
6
6
  describeEntry,
7
7
  protoKeyed
8
- } from "./chunk-4MIV244X.js";
8
+ } from "./chunk-SGEOXJIH.js";
9
9
  import {
10
10
  withArticle
11
11
  } from "./chunk-36JUQZVQ.js";
@@ -319,4 +319,4 @@ export {
319
319
  encodeTags,
320
320
  defaultHistory
321
321
  };
322
- //# sourceMappingURL=chunk-L34DM6QB.js.map
322
+ //# sourceMappingURL=chunk-JHAZK4RY.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  addDependency,
3
3
  removeDependency
4
- } from "./chunk-5W7S2SCA.js";
4
+ } from "./chunk-XAE4NIZ2.js";
5
5
  import {
6
6
  condenseNpmError,
7
7
  npmViewVersion
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-FWD7AL6N.js";
12
12
  import {
13
13
  isLocalSpecifier
14
- } from "./chunk-WS2X5BB2.js";
14
+ } from "./chunk-YYBBJPCL.js";
15
15
  import {
16
16
  addArgs,
17
17
  installSite,
@@ -25,14 +25,14 @@ import {
25
25
  moduleKind,
26
26
  packageNameOf,
27
27
  readInstalledManifest
28
- } from "./chunk-SPLRKCFV.js";
28
+ } from "./chunk-XDGLYIB2.js";
29
29
  import {
30
30
  UsageError,
31
31
  spinner,
32
32
  step,
33
33
  success,
34
34
  warn
35
- } from "./chunk-GRXX2TOJ.js";
35
+ } from "./chunk-ZHFSIQ6E.js";
36
36
 
37
37
  // src/emit/init-modules.ts
38
38
  import { existsSync, readFileSync, realpathSync } from "fs";
@@ -448,7 +448,7 @@ async function sdkPeerSkewOf(dir, pkg) {
448
448
  const manifest = readInstalledManifest(dir, pkg);
449
449
  if (manifest === null) return null;
450
450
  const [{ sdkPeerSkew }, { readVersion }] = await Promise.all([
451
- import("./toolchain-modules-S3MPHCUI.js"),
451
+ import("./toolchain-modules-PBVBCPQJ.js"),
452
452
  import("./cli.js")
453
453
  ]);
454
454
  const sdkVersion = readVersion();
@@ -480,4 +480,4 @@ export {
480
480
  inProject,
481
481
  installModules
482
482
  };
483
- //# sourceMappingURL=chunk-YL3WVBR5.js.map
483
+ //# sourceMappingURL=chunk-KGHJ74HF.js.map
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-HU7F56VF.js";
4
4
  import {
5
5
  LocalFileNotFoundError
6
- } from "./chunk-GRXX2TOJ.js";
6
+ } from "./chunk-ZHFSIQ6E.js";
7
7
  import {
8
8
  buildContentEnvelope
9
- } from "./chunk-7FIMUFBP.js";
9
+ } from "./chunk-QDPY7RN3.js";
10
10
  import {
11
11
  SEED_FILE,
12
12
  assertSeedIds,
@@ -17,10 +17,10 @@ import {
17
17
  seedFailure,
18
18
  tableColumns,
19
19
  tableIndexes
20
- } from "./chunk-UQ2OD7D4.js";
20
+ } from "./chunk-WVVUE7LU.js";
21
21
  import {
22
22
  DiagnosticError
23
- } from "./chunk-YEH5OIPF.js";
23
+ } from "./chunk-FMXPV5JI.js";
24
24
  import {
25
25
  HOSTED_FILE,
26
26
  HOSTED_FILE_SCHEME,
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-VQPDATQT.js";
30
30
  import {
31
31
  resolveRef
32
- } from "./chunk-LL6ED5IB.js";
32
+ } from "./chunk-FTS42N37.js";
33
33
 
34
34
  // src/workspace/seed.ts
35
35
  import { createHash as createHash2 } from "crypto";
@@ -404,4 +404,4 @@ export {
404
404
  collectNonPublicSeedValues,
405
405
  seedRowsByTableGuid
406
406
  };
407
- //# sourceMappingURL=chunk-NUZXSIEA.js.map
407
+ //# sourceMappingURL=chunk-L2O5KG5Q.js.map