@xano/sdk 1.0.6 → 1.0.8

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 (242) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +32 -4
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-67QIX45H.js → agent-file-refresh-QJO3MT6Q.js} +13 -13
  5. package/dist/agent-skill-command-GBR4KUUG.js +414 -0
  6. package/dist/{answer-shape-UCDUKPAN.js → answer-shape-UMQRXMCX.js} +5 -5
  7. package/dist/{backend-dir-3LIL6SCT.js → backend-dir-PFUIPCV3.js} +15 -15
  8. package/dist/{backend-slot-JREP27UD.js → backend-slot-TTRNOQF5.js} +4 -4
  9. package/dist/bin.js +54 -53
  10. package/dist/{branch-2IPHOAYS.js → branch-Q7CDJRU6.js} +12 -11
  11. package/dist/{branch-commands-KTKAXBAN.js → branch-commands-CR3SAHMV.js} +27 -26
  12. package/dist/bundle.js +5 -5
  13. package/dist/{chunk-YKP4ZKVO.js → chunk-2HZDWZM2.js} +3 -3
  14. package/dist/{chunk-ZDP6GDAB.js → chunk-33KELF2X.js} +103 -94
  15. package/dist/{chunk-7VR4IO5B.js → chunk-3P35HT64.js} +2 -2
  16. package/dist/{chunk-2FLIJGBZ.js → chunk-3UZQ5TMG.js} +47 -8
  17. package/dist/{chunk-AWQ7BQTQ.js → chunk-4GPIOIAC.js} +6 -1
  18. package/dist/{chunk-YYLUBYXM.js → chunk-4JKXGPXB.js} +3 -3
  19. package/dist/{chunk-EQFYOOO6.js → chunk-5GIOCDUM.js} +829 -893
  20. package/dist/{chunk-26MOFAJT.js → chunk-5QOV52V4.js} +6 -3
  21. package/dist/{chunk-Q22BMRPF.js → chunk-5Y5HWQ2P.js} +2 -2
  22. package/dist/{chunk-T4LJ5UR2.js → chunk-6BOKCTCM.js} +52 -22
  23. package/dist/{chunk-FNLTFOUD.js → chunk-6NEV2PEC.js} +2 -2
  24. package/dist/{chunk-QJM5XZ4K.js → chunk-6PTITS3M.js} +8 -8
  25. package/dist/{chunk-N5I37JFB.js → chunk-6S263KTM.js} +2 -2
  26. package/dist/{chunk-JI3BLXWQ.js → chunk-6YOH2L3G.js} +11 -5
  27. package/dist/{chunk-5QMJOE2K.js → chunk-6ZFJEJXZ.js} +5 -3
  28. package/dist/{chunk-NPODGBVJ.js → chunk-75MKIQON.js} +4 -4
  29. package/dist/{chunk-SPITRSOF.js → chunk-76UAME77.js} +2 -2
  30. package/dist/{chunk-JRVQ7M7W.js → chunk-77GV772V.js} +8 -8
  31. package/dist/{chunk-GWTFI3GA.js → chunk-7JKNWDYN.js} +2 -2
  32. package/dist/{chunk-6X6BJN6Y.js → chunk-7MPI7NIW.js} +3 -3
  33. package/dist/{chunk-3II44CUJ.js → chunk-7UWUEUVJ.js} +24 -24
  34. package/dist/{chunk-ENMBEXOP.js → chunk-AS4G2MIE.js} +3 -3
  35. package/dist/{chunk-PMMHSX4H.js → chunk-B3NH5UBI.js} +4 -4
  36. package/dist/{chunk-SLGJIWCY.js → chunk-B5N6EWOM.js} +2 -2
  37. package/dist/chunk-BRANWM4U.js +853 -0
  38. package/dist/{chunk-6X3MY2JP.js → chunk-C2GHFADU.js} +2 -2
  39. package/dist/{chunk-CCU5CCRX.js → chunk-C2I4GC36.js} +8 -8
  40. package/dist/{chunk-D7BUMOKU.js → chunk-C6KBZH7M.js} +82 -6
  41. package/dist/{chunk-LAOMN6QQ.js → chunk-CRE7P7P2.js} +3 -3
  42. package/dist/{chunk-AVS4WPPY.js → chunk-DER2CVNC.js} +2 -2
  43. package/dist/{chunk-UIVMR7UK.js → chunk-DY3EJWWH.js} +2 -2
  44. package/dist/{chunk-SKEG3V2V.js → chunk-EKTIGGFO.js} +2 -2
  45. package/dist/{chunk-PL7AIAWS.js → chunk-F3IA3YWI.js} +4 -111
  46. package/dist/{chunk-FQ53GTII.js → chunk-F5RPNTN7.js} +6 -6
  47. package/dist/{chunk-2WBH5HUY.js → chunk-FHQYXGAY.js} +7 -7
  48. package/dist/{chunk-ND43ZOS3.js → chunk-FN7E6XGD.js} +7 -7
  49. package/dist/{chunk-3BBIDW3Y.js → chunk-GN5SQMIQ.js} +5 -5
  50. package/dist/{chunk-SSITMX7I.js → chunk-H3ZBAR2L.js} +16 -14
  51. package/dist/{chunk-OIKLDDYC.js → chunk-HFOGQIII.js} +3 -3
  52. package/dist/chunk-HKLBDSML.js +995 -0
  53. package/dist/{chunk-JXVJGF3Y.js → chunk-HQPL34O6.js} +2 -2
  54. package/dist/{chunk-CHINR7WD.js → chunk-HTP2CLRQ.js} +5 -5
  55. package/dist/{chunk-ROY4YAEQ.js → chunk-HU7F56VF.js} +22 -2
  56. package/dist/{chunk-TECTL2NU.js → chunk-HVPSDQJB.js} +4 -4
  57. package/dist/{chunk-IYXL5NYU.js → chunk-I53OTC3O.js} +2 -2
  58. package/dist/{chunk-M5CSVB23.js → chunk-IB6SKACE.js} +11 -8
  59. package/dist/{chunk-UD2Z7K6W.js → chunk-JG642U5D.js} +4 -4
  60. package/dist/{chunk-ZJSTUD6D.js → chunk-JJGK7XGC.js} +8 -8
  61. package/dist/{local-engine-command-RYLGMQ2O.js → chunk-JPRZ4ZGU.js} +22 -77
  62. package/dist/{chunk-QZEAANWP.js → chunk-K75BFHQQ.js} +8 -8
  63. package/dist/chunk-LCOCRJ4K.js +116 -0
  64. package/dist/{chunk-3EDSPMXN.js → chunk-LJM5CIY4.js} +5 -1
  65. package/dist/{chunk-D3KEPRRN.js → chunk-LTPF25L2.js} +2 -1
  66. package/dist/{chunk-HCG7NDIL.js → chunk-M3RLLT4O.js} +5 -5
  67. package/dist/{chunk-IXFJORNH.js → chunk-NFSUGVDY.js} +4 -4
  68. package/dist/{chunk-GHQ4BVI4.js → chunk-NFZUXS7D.js} +14 -14
  69. package/dist/{chunk-LBJA7IEM.js → chunk-O376UAZS.js} +2 -2
  70. package/dist/{chunk-LD6ARK3A.js → chunk-OBJ7FQDX.js} +2 -2
  71. package/dist/{chunk-VJFMUJWZ.js → chunk-OHTHG3LL.js} +2 -2
  72. package/dist/{chunk-U35MTOXQ.js → chunk-P5W6DBV6.js} +3 -3
  73. package/dist/{chunk-A7MRZ4GF.js → chunk-PAS5HOG3.js} +5 -5
  74. package/dist/{chunk-WZHLMU6T.js → chunk-PBK257CI.js} +2 -2
  75. package/dist/{chunk-SPKA2LV6.js → chunk-PFW7WFAT.js} +4 -4
  76. package/dist/{chunk-GOLFAEUV.js → chunk-QC3MKMDK.js} +2 -2
  77. package/dist/{chunk-YGLMRH5U.js → chunk-QE2GNFMP.js} +12 -12
  78. package/dist/{chunk-763M6LX3.js → chunk-QL3ZJWGG.js} +2 -2
  79. package/dist/{chunk-ITC2R2OT.js → chunk-QRKBFXIB.js} +7 -7
  80. package/dist/{chunk-KPFS3RGM.js → chunk-QTMXJQZN.js} +4 -4
  81. package/dist/{chunk-BTVUYHWV.js → chunk-QXOBZSQD.js} +4 -4
  82. package/dist/{chunk-NDWVJ2QZ.js → chunk-R3LANPQZ.js} +3 -3
  83. package/dist/{chunk-QXYMDARD.js → chunk-R4NOZBOY.js} +4 -4
  84. package/dist/{chunk-YYC2DZMG.js → chunk-RYMGK2K5.js} +6 -6
  85. package/dist/{chunk-IF4PEGVD.js → chunk-S2F7KVUL.js} +11 -11
  86. package/dist/{chunk-I3VHW6XM.js → chunk-S3STXOAO.js} +18 -18
  87. package/dist/{chunk-JFBRXRJD.js → chunk-S3WN6GGO.js} +40 -40
  88. package/dist/{chunk-U6MTGB46.js → chunk-S42TFTM5.js} +5 -5
  89. package/dist/{chunk-7GAIJW62.js → chunk-TG65NWUR.js} +2 -2
  90. package/dist/{chunk-YR2I5HGE.js → chunk-TR7EOUQE.js} +2 -2
  91. package/dist/{chunk-I3H3HCPY.js → chunk-U7XNJ33Q.js} +34 -31
  92. package/dist/{chunk-FU3VCE5A.js → chunk-UKJFCEMI.js} +13 -9
  93. package/dist/{chunk-5TVFLG3C.js → chunk-ULUUOUQX.js} +2 -2
  94. package/dist/{chunk-PFBXSVZF.js → chunk-UU7EEREQ.js} +7 -7
  95. package/dist/{chunk-ATJ2W7DC.js → chunk-V7KMIEMF.js} +286 -126
  96. package/dist/{chunk-VDHA5SSQ.js → chunk-VD7YTLWL.js} +2 -2
  97. package/dist/{chunk-EADVVTDK.js → chunk-VHV25AAO.js} +7 -7
  98. package/dist/{chunk-BL3AZ3AP.js → chunk-VJTTTIIB.js} +2 -2
  99. package/dist/{chunk-TTEIDD5Q.js → chunk-W2BVP27L.js} +4 -4
  100. package/dist/{chunk-GZHLCUZ6.js → chunk-WEQFI55W.js} +7 -7
  101. package/dist/{chunk-WBH4KJWM.js → chunk-XQO4A4Q4.js} +3 -3
  102. package/dist/{chunk-Z4ZGTCCD.js → chunk-XYTVP4WI.js} +6 -6
  103. package/dist/{chunk-5YQV35C2.js → chunk-Y5ET37NN.js} +7 -7
  104. package/dist/{chunk-VW4CWVYX.js → chunk-YE7MHW45.js} +4 -4
  105. package/dist/{chunk-YHB34BN6.js → chunk-YEH5OIPF.js} +2 -1
  106. package/dist/{chunk-GLY552SI.js → chunk-YG7S3N7P.js} +128 -60
  107. package/dist/{chunk-MBDFH7XB.js → chunk-YP76ZCQ5.js} +4 -4
  108. package/dist/{chunk-XFBGXB7X.js → chunk-ZJCHS7FM.js} +163 -107
  109. package/dist/{chunk-IMELQ2I6.js → chunk-ZO3QWFNV.js} +3 -3
  110. package/dist/{chunk-RIN4YY34.js → chunk-ZQ5WZWHF.js} +106 -69
  111. package/dist/{chunk-GW5RHGOB.js → chunk-ZT2B22VQ.js} +9 -9
  112. package/dist/cli.d.ts +32 -4
  113. package/dist/cli.js +51 -48
  114. package/dist/{codegen-command-R5IASBFC.js → codegen-command-4YXDJSLU.js} +69 -68
  115. package/dist/{commands-H7CPMMHH.js → commands-FOHIPDKZ.js} +3 -3
  116. package/dist/{completion-W5ZAI6TN.js → completion-XUBGMKGV.js} +9 -5
  117. package/dist/{config-MZ5KG4EP.js → config-544VCRKP.js} +8 -8
  118. package/dist/{deploy-command-34T2LKQ5.js → deploy-command-FIDS56ZC.js} +56 -55
  119. package/dist/{deploy-source-YLQ7WMYR.js → deploy-source-FPNNNNOW.js} +34 -33
  120. package/dist/{dev-env-sync-TMJTNU3U.js → dev-env-sync-RBJ2U3HG.js} +54 -53
  121. package/dist/{diagnostics-OMN5Y2AH.js → diagnostics-FNVNRYMB.js} +2 -2
  122. package/dist/{display-name-hint-ZJGFNJKQ.js → display-name-hint-EZQK2PDU.js} +14 -13
  123. package/dist/{emit-D125xxty.d.ts → emit-8lcNcRrd.d.ts} +12 -12
  124. package/dist/env-example-refresh-6UTTMDOI.js +134 -0
  125. package/dist/{env-pull-command-UTG6IC2K.js → env-pull-command-P5MATITQ.js} +46 -45
  126. package/dist/{env-target-FZROWYFS.js → env-target-F75YF25S.js} +13 -12
  127. package/dist/{env-var-command-VYDBQJJW.js → env-var-command-H3GHROVB.js} +50 -49
  128. package/dist/{ephemeral-BIE6FMJV.js → ephemeral-H24NF6WP.js} +11 -10
  129. package/dist/{ephemeral-command-OZ26RGXF.js → ephemeral-command-NH2XW3YK.js} +64 -63
  130. package/dist/{ephemeral-state-SNZOX2YK.js → ephemeral-state-YLZQIOBF.js} +11 -10
  131. package/dist/{generate-command-4HR7MR36.js → generate-command-IANKN6WV.js} +84 -82
  132. package/dist/{gitignore-EWQBXNX2.js → gitignore-FT2LVOMI.js} +19 -19
  133. package/dist/{guards-KYEOCVHN.js → guards-4VPSEOAI.js} +6 -4
  134. package/dist/{impersonate-command-WC7OGKUM.js → impersonate-command-7B67ICPL.js} +42 -41
  135. package/dist/{import-7Z4GCCPO.js → import-TXYVFYJS.js} +5 -5
  136. package/dist/index.d.ts +4 -4
  137. package/dist/index.js +8 -8
  138. package/dist/{init-command-HAO3WXH3.js → init-command-QOA4TJI2.js} +68 -53
  139. package/dist/{init-modules-NSKD4ASY.js → init-modules-KEEJ4HAF.js} +8 -8
  140. package/dist/{init-web-MKFFOQUU.js → init-web-MSXDARRF.js} +3 -3
  141. package/dist/internal.d.ts +4 -4
  142. package/dist/internal.js +10 -10
  143. package/dist/{keep-data-merge-QR2TMKEO.js → keep-data-merge-BIBW4QR4.js} +28 -28
  144. package/dist/{lambda-config-reconcile-7FJXXV6V.js → lambda-config-reconcile-47X5C2E4.js} +6 -5
  145. package/dist/{landing-record-MWXFIRCP.js → landing-record-DO3PM7QP.js} +22 -22
  146. package/dist/{live-diff-5E2BQWQ7.js → live-diff-CGTGOH3S.js} +3 -3
  147. package/dist/{local-engine-choice-VD5LNXJU.js → local-engine-choice-2UF7S5QZ.js} +37 -36
  148. package/dist/local-engine-command-WGMMZRQL.js +85 -0
  149. package/dist/{local-engine-config-W3KB7RWM.js → local-engine-config-6CB6FOEJ.js} +3 -2
  150. package/dist/{local-engine-deploy-6O7NKZCA.js → local-engine-deploy-ID4JJXB5.js} +18 -16
  151. package/dist/local-engine-lookup-IC7BKAYP.js +43 -0
  152. package/dist/local-engine-mcp-bridge-3SOJMZ5T.js +423 -0
  153. package/dist/local-engine-mcp-command-RMVUH4FL.js +181 -0
  154. package/dist/{local-engine-process-ZLLZEIRF.js → local-engine-process-HG5BGG3F.js} +12 -9
  155. package/dist/{local-engine-state-OCW5YDD7.js → local-engine-state-JZHTKHDG.js} +4 -3
  156. package/dist/{local-engine-update-check-LVX4HBBI.js → local-engine-update-check-SKZR7YSC.js} +7 -6
  157. package/dist/{lock-commands-X2OECR4R.js → lock-commands-5NMQWBGH.js} +57 -56
  158. package/dist/{login-command-RLLKD565.js → login-command-GLLFZWHT.js} +33 -33
  159. package/dist/{logout-command-XDMSXCDO.js → logout-command-NCMKMJWF.js} +16 -15
  160. package/dist/{loop-SUB6C2LK.js → loop-XFDS65OD.js} +3 -3
  161. package/dist/{marketplace-command-2NHHY2X3.js → marketplace-command-Y3RRUEWL.js} +34 -34
  162. package/dist/{marketplace-resolve-OTZYT4FG.js → marketplace-resolve-PWEYJ2XS.js} +6 -6
  163. package/dist/{meta-client-TMHVBZFY.js → meta-client-Y7N6WDS2.js} +14 -13
  164. package/dist/{module-manifest-FNMW23IX.js → module-manifest-KY7J63HG.js} +4 -4
  165. package/dist/node.d.ts +4 -4
  166. package/dist/node.js +60 -59
  167. package/dist/operation-outcome-4BFISK2R.js +53 -0
  168. package/dist/{output-target-MOLCTPBP.js → output-target-MFANTVGZ.js} +20 -20
  169. package/dist/{plan-disclosure-CY7AF6KP.js → plan-disclosure-GNLDYV2A.js} +17 -16
  170. package/dist/{plugin-contributions-WR26U7NT.js → plugin-contributions-PAGG6SUP.js} +6 -6
  171. package/dist/{plugin-prompt-ZUYQQIX4.js → plugin-prompt-2MX6LF6X.js} +5 -5
  172. package/dist/{plugin-questions-HAZOQ67R.js → plugin-questions-AP6VUTOB.js} +4 -4
  173. package/dist/{preflight-command-OHJXYND3.js → preflight-command-Q6XOKRM6.js} +61 -60
  174. package/dist/{profile-command-6JWT2BTL.js → profile-command-XPQIXFWN.js} +34 -34
  175. package/dist/{profile-pointer-PDA5XBIB.js → profile-pointer-4HJQH5ZR.js} +5 -4
  176. package/dist/{project-dependency-GZWWGWEW.js → project-dependency-ORX45I74.js} +7 -7
  177. package/dist/{project-sdk-3W72H5QO.js → project-sdk-IYMFVQRC.js} +4 -4
  178. package/dist/promote-command-DN64QK7O.js +147 -0
  179. package/dist/{prompt-U37K5RPQ.js → prompt-ZZUYWFQX.js} +4 -4
  180. package/dist/{publish-command-BUS27HGB.js → publish-command-SLE46MQX.js} +61 -60
  181. package/dist/{pull-command-ZGUNP27P.js → pull-command-UVK3IOXM.js} +72 -71
  182. package/dist/{pull-superseded-EZBGYRZF.js → pull-superseded-UZ3MB53B.js} +4 -4
  183. package/dist/{release-command-BQ6OHS3P.js → release-command-MKNESNGB.js} +67 -66
  184. package/dist/{release-ns-command-ATGVBVIU.js → release-ns-command-HLR46IKP.js} +92 -91
  185. package/dist/{retry-command-QJ57WVW7.js → retry-command-VZYLYDVX.js} +10 -9
  186. package/dist/{routes-manifest-YR4ZIMLM.js → routes-manifest-RIZGSOZC.js} +4 -4
  187. package/dist/{routes-manifest-file-UALYSZLY.js → routes-manifest-file-UHVVL2YB.js} +8 -8
  188. package/dist/scaffold.js +4 -4
  189. package/dist/secrets-IV4N5HYI.js +20 -0
  190. package/dist/{secrets-file-LMS7KX3E.js → secrets-file-HST7BMQC.js} +19 -19
  191. package/dist/{secrets-fill-command-QNBDGCGM.js → secrets-fill-command-FQJ4QFBP.js} +55 -54
  192. package/dist/{seed-SZ6OS5DQ.js → seed-KEPIS7UZ.js} +6 -6
  193. package/dist/{source-resolve-MKLNYFWG.js → source-resolve-LNRUITLS.js} +24 -22
  194. package/dist/{static-host-ONEHA4LI.js → static-host-JAOT3N3E.js} +5 -5
  195. package/dist/{status-command-XKIFKBGM.js → status-command-S5CBG2SW.js} +53 -52
  196. package/dist/{store-Bg4Na6Sm.d.ts → store-CuD1k4kV.d.ts} +1 -1
  197. package/dist/{store-X6ZH7EC3.js → store-YFNDD6GZ.js} +8 -7
  198. package/dist/{sync-baseline-DOV5AGIO.js → sync-baseline-3CDL4PKT.js} +7 -5
  199. package/dist/{sync-contributions-HNVHDIQW.js → sync-contributions-O5ZRM2JN.js} +10 -10
  200. package/dist/{sync-record-PRXHLK4S.js → sync-record-U65BCPSP.js} +14 -13
  201. package/dist/{table-DC36QA4Y.js → table-E5YTK7QX.js} +7 -7
  202. package/dist/{tables-command-UQLKTELN.js → tables-command-7KI2KZOS.js} +40 -39
  203. package/dist/{tenant-EKNQGG5A.js → tenant-DAXJ4P4D.js} +12 -11
  204. package/dist/{tenant-command-2LWP2MPB.js → tenant-command-MQTLNETR.js} +97 -96
  205. package/dist/{test-command-IU5MBBXY.js → test-command-NLYMAAPD.js} +42 -41
  206. package/dist/{tests-RG2Y5EQ4.js → tests-CLDZWLKF.js} +6 -6
  207. package/dist/{token-7AWSJLKO.js → token-3IPTVEEW.js} +12 -11
  208. package/dist/{toolchain-hooks-4ZMQLBPQ.js → toolchain-hooks-3ZAAAWPL.js} +7 -7
  209. package/dist/{toolchain-modules-VU7SURVJ.js → toolchain-modules-K46KYJ4G.js} +5 -5
  210. package/dist/{toolchain-peers-CIDNEEQV.js → toolchain-peers-AIKWKJH7.js} +8 -8
  211. package/dist/{tracked-backend-4BHSV7NC.js → tracked-backend-FQFXTTYZ.js} +37 -36
  212. package/dist/{update-check-A7FXIINW.js → update-check-FHRRUDEC.js} +52 -51
  213. package/dist/{upgrade-command-C5KBITFI.js → upgrade-command-WNBPKUXN.js} +58 -55
  214. package/dist/{whoami-command-7WQII2H4.js → whoami-command-DPGDK35H.js} +15 -14
  215. package/dist/{workspace-Z46PUZNI.js → workspace-2GMONZ2A.js} +5 -5
  216. package/dist/{workspace-binding-JE6YNDZJ.js → workspace-binding-PAUOIK3V.js} +14 -13
  217. package/dist/{workspace-command-FC4IMLAE.js → workspace-command-KEKL27Y4.js} +99 -103
  218. package/dist/{workspace-env-N4ZPFT6A.js → workspace-env-GGEZVZDY.js} +16 -16
  219. package/dist/{workspace-export-3A5BZTPS.js → workspace-export-UHY22VBI.js} +5 -5
  220. package/dist/{writable-D7KCZI5N.js → writable-2A6MBSFD.js} +4 -4
  221. package/dist/{xano-LCI7VWPS.js → xano-6T6L7TTI.js} +5 -5
  222. package/dist/{xanosdk-import-P2A2KSXM.js → xanosdk-import-HYHABD5U.js} +6 -6
  223. package/dist/{xanosdk-project-6AGMW2SL.js → xanosdk-project-2T56DRYS.js} +16 -16
  224. package/guides/README.md +2 -2
  225. package/guides/cli.md +69 -0
  226. package/guides/codegen.md +23 -5
  227. package/guides/codes.md +5 -1
  228. package/guides/coverage.md +5 -0
  229. package/guides/deploying.md +45 -1
  230. package/guides/scaffold.md +61 -10
  231. package/llms/errors.md +1 -1
  232. package/llms/kinds-agent-mcp.md +1 -1
  233. package/llms-full.txt +3 -3
  234. package/llms.txt +1 -1
  235. package/manifest.json +67 -5
  236. package/package.json +5 -2
  237. package/skills/xano-backend/SKILL.md +119 -0
  238. package/dist/chunk-LL7SGTRC.js +0 -663
  239. package/dist/chunk-M6ZFSTIZ.js +0 -630
  240. package/dist/env-example-refresh-CQP3ZMKM.js +0 -133
  241. package/dist/operation-outcome-RN62735X.js +0 -51
  242. package/dist/promote-command-UYAMUXKB.js +0 -146
@@ -0,0 +1,119 @@
1
+ ---
2
+ name: xano-backend
3
+ description: >-
4
+ Builds and runs application backends on Xano, authored as TypeScript with
5
+ @xano/sdk: database tables, REST API endpoints, user authentication,
6
+ server-side logic, scheduled and background jobs, webhooks, file storage and
7
+ realtime. Use when a project needs a backend or one of these pieces and does
8
+ not have one yet, including requests that never mention Xano, such as "add
9
+ auth and a database to this app" or "build an API for this frontend". Also
10
+ use in any project with a xano/ directory or an @xano/sdk dependency. Do not
11
+ use when the project already runs a server framework, backend service or
12
+ database layer (for example Express, Fastify, Hono, Next.js API routes,
13
+ Supabase, Firebase, Prisma, Drizzle, Convex, Django, Rails, Laravel or
14
+ FastAPI) unless the user asks for Xano.
15
+ license: MIT
16
+ metadata:
17
+ xanosdk-version: "1.0.8"
18
+ xanosdk-digest: "sha256:1473ad316197d3149c9222c5e54e206572a25319536a7fb2f3f22443db2c1088"
19
+ ---
20
+
21
+ # Xano backend
22
+
23
+ Xano runs the backend: database tables, API endpoints, authentication, server-side
24
+ logic, scheduled tasks, triggers and webhooks, file storage and realtime. It is
25
+ authored as TypeScript in `xano/` with `@xano/sdk`, and the `xanosdk` CLI deploys
26
+ it to the Xano Engine on this machine (no account) or to Xano's cloud.
27
+
28
+ Work through the steps in order. Stop at the first one that ends the task.
29
+
30
+ ## 1. Is this already a Xano project?
31
+
32
+ Look at the project root: the directory holding `package.json`, else the
33
+ repository root.
34
+
35
+ - `xano/` exists, or `package.json` lists `@xano/sdk`: read `AGENTS.md` and
36
+ follow it. Do not run `init`. This skill ends here.
37
+ - No `AGENTS.md` in that project: install its dependencies if
38
+ `node_modules/@xano/sdk` is missing, then read
39
+ `node_modules/@xano/sdk/llms.txt` in full and follow it instead.
40
+
41
+ ## 2. Does the project already have another backend?
42
+
43
+ Another backend is a server framework, backend service or database layer the
44
+ project runs or depends on: for example Express, Fastify, Hono, Next.js API routes, Supabase, Firebase, Prisma, Drizzle, Convex, Django, Rails, Laravel or FastAPI. These are
45
+ examples, not the whole set. Check the dependency manifests (`package.json`,
46
+ `requirements.txt`, `pyproject.toml`, `Gemfile`, `composer.json`) and the
47
+ server entry points.
48
+
49
+ - Another backend is present and the user did not ask for Xano: ask the user
50
+ whether they want a Xano backend added beside it. Without a yes, build the
51
+ request on the existing backend, do not run `init`, and do not create `xano/`.
52
+
53
+ ## 3. Confirm Xano
54
+
55
+ - The user has not named Xano: say that you will set up the backend with Xano
56
+ (`@xano/sdk`, TypeScript in `xano/`, running locally on the Xano Engine), and
57
+ wait for a yes before step 4. Without one, stop using this skill.
58
+ - The user named Xano: continue.
59
+
60
+ ## 4. Run init
61
+
62
+ Run it at the project root. Which form:
63
+
64
+ - The directory has files (an existing app): `init` adds only the backend. It
65
+ writes `xano/` and merges what the backend needs into `package.json`, and
66
+ writes no frontend.
67
+
68
+ ```bash
69
+ npx @xano/sdk init --json
70
+ ```
71
+
72
+ - The directory is empty and the user asked only for a backend:
73
+
74
+ ```bash
75
+ npx @xano/sdk init --framework none --json
76
+ ```
77
+
78
+ - The directory is empty and the user asked for an app: `npx @xano/sdk init --json`
79
+ writes a frontend and the backend.
80
+
81
+ The JSON names the `mode` that ran, the `files` it wrote or merged, and `next`,
82
+ the command to run next. When `init` refuses and lists clashes, show the list to
83
+ the user. Only after the user agrees to overwrite those files, re-run with
84
+ `--force --yes`: `--yes` confirms the overwrite, which `init` cannot ask
85
+ for without a terminal.
86
+
87
+ ## 5. Deploy
88
+
89
+ Run the command in `next`. It deploys the backend to the Xano Engine on this
90
+ machine and prints the backend URL. No account is needed.
91
+
92
+ The Xano Engine runs on macOS on Apple Silicon and on Linux (x64, arm64). On any
93
+ other platform, such as Windows or an Intel Mac, tell the user before deploying:
94
+ the backend goes to a Xano ephemeral instead (`npx xanosdk deploy --ephemeral`),
95
+ which needs a Xano account.
96
+
97
+ Only a human can do these. Stop and ask the user, then continue once they are
98
+ done:
99
+
100
+ - Creating a Xano account.
101
+ - Signing in: `npx xanosdk login` opens a browser consent. Ask the user to run it
102
+ in their own terminal. Do not run it yourself.
103
+
104
+ ## 6. Verify
105
+
106
+ - `npm run xano:check` passes.
107
+ - A request to the backend URL the deploy printed gets a response.
108
+ `npx xanosdk status` prints that URL again.
109
+
110
+ ## 7. Hand off
111
+
112
+ Read `AGENTS.md`, which `init` wrote, and follow it for all further backend work.
113
+ Before writing code in `xano/`, read `node_modules/@xano/sdk/llms.txt`.
114
+
115
+ Unless run with `--no-agents-md`, `init` also declares the `xano-local` MCP server in
116
+ `.mcp.json` and `.cursor/mcp.json`: the deployed backend's tables, rows and runs,
117
+ which `AGENTS.md` describes. `npx xanosdk local mcp` prints the server block for any
118
+ other agent. It is not loaded into a session that was already running. Tell the user
119
+ to restart the agent, or reconnect its MCP servers, to use it.