@xano/sdk 1.0.19 → 1.0.20

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 (234) hide show
  1. package/README.md +5 -2
  2. package/dist/.build-fingerprint +1 -1
  3. package/dist/{agent-file-refresh-5IP25UYO.js → agent-file-refresh-MOEDX5OL.js} +13 -11
  4. package/dist/{agent-skill-command-BPM4S6C7.js → agent-skill-command-A4QEVNTP.js} +49 -47
  5. package/dist/ai-models-command-SN2UKVC5.js +270 -0
  6. package/dist/{answer-shape-ZRQS7ZC4.js → answer-shape-BCGPH73R.js} +5 -5
  7. package/dist/{backend-dir-RLILKCMR.js → backend-dir-66VVLCUF.js} +16 -14
  8. package/dist/{backend-slot-7BATLL3X.js → backend-slot-WSWAHL2W.js} +3 -3
  9. package/dist/bin.js +53 -51
  10. package/dist/{branch-SJKKUCMZ.js → branch-6DBHVVUT.js} +11 -11
  11. package/dist/{branch-commands-5HKCBRLN.js → branch-commands-KUEGS6XL.js} +29 -28
  12. package/dist/bundle.js +3 -3
  13. package/dist/{chunk-2HBJU76D.js → chunk-2SWJ3267.js} +40 -22
  14. package/dist/{chunk-UJ5HLRYH.js → chunk-2VHEZDZZ.js} +35 -35
  15. package/dist/{chunk-BT6CJNEO.js → chunk-34OZQNKR.js} +4 -4
  16. package/dist/chunk-37BT62SX.js +17 -0
  17. package/dist/{chunk-QK2WIASY.js → chunk-3H765RXT.js} +7 -7
  18. package/dist/{chunk-2IC3K22K.js → chunk-3HK7VELD.js} +2 -2
  19. package/dist/{chunk-5AHHO2QA.js → chunk-3OR2RCXJ.js} +118 -94
  20. package/dist/{chunk-ZYZ7GRX3.js → chunk-4DVP42ZC.js} +2 -2
  21. package/dist/{chunk-Q45RTKWW.js → chunk-4GI22VPJ.js} +6 -6
  22. package/dist/{chunk-2NUOFHPX.js → chunk-4PHCBKJI.js} +7 -7
  23. package/dist/{chunk-ROWYW3JF.js → chunk-4QRDNBPY.js} +2 -2
  24. package/dist/{chunk-SINL5WMI.js → chunk-4Y3SWNPE.js} +2 -2
  25. package/dist/{chunk-6SEPZQYB.js → chunk-4ZV4MDKP.js} +2 -2
  26. package/dist/{chunk-XKHQLKUL.js → chunk-52VELHIH.js} +3 -3
  27. package/dist/{chunk-IFHFJR5O.js → chunk-5ABAIJVV.js} +6 -6
  28. package/dist/{chunk-L4L6YITX.js → chunk-5BLBX2Q5.js} +13 -10
  29. package/dist/chunk-5KSVMHFS.js +81 -0
  30. package/dist/{chunk-MOVRSULZ.js → chunk-5Z4WQQHC.js} +2 -2
  31. package/dist/{chunk-ZHFSIQ6E.js → chunk-6534P3VH.js} +25 -2
  32. package/dist/{chunk-Q6AKSLD2.js → chunk-6L32HAIP.js} +2 -2
  33. package/dist/chunk-6SXKKDGF.js +9 -0
  34. package/dist/{chunk-OTQF4B37.js → chunk-6TAYTKFM.js} +4 -4
  35. package/dist/{chunk-7UQZ7C4W.js → chunk-745NOWB7.js} +6 -6
  36. package/dist/{chunk-XAE4NIZ2.js → chunk-7J7YRAZB.js} +4 -4
  37. package/dist/{chunk-E34VGSCI.js → chunk-7LLVSTXY.js} +9 -1
  38. package/dist/{chunk-YT5UN2F4.js → chunk-7Z43XRBL.js} +14 -14
  39. package/dist/{chunk-E7VF2JVJ.js → chunk-AD7YILOU.js} +10 -10
  40. package/dist/{chunk-AICWDCLJ.js → chunk-BBFHZMQA.js} +2 -2
  41. package/dist/{chunk-YP4QTC4F.js → chunk-BFM2P47R.js} +6 -6
  42. package/dist/{chunk-KG3RDXN5.js → chunk-C6ERQFEB.js} +4 -4
  43. package/dist/{chunk-54CJ74BH.js → chunk-C7KO5KKB.js} +4 -4
  44. package/dist/chunk-CBACTYIC.js +278 -0
  45. package/dist/{chunk-V2MIBJZU.js → chunk-CGLYG2VF.js} +2 -2
  46. package/dist/{chunk-Z73I7Q2H.js → chunk-CJ5WRCVE.js} +80 -2
  47. package/dist/{chunk-GTB7JL3M.js → chunk-CJIXD67B.js} +6 -6
  48. package/dist/{chunk-JUCL5MUZ.js → chunk-CP7OSHLK.js} +8 -8
  49. package/dist/{chunk-D4N72H35.js → chunk-CPR2F3WN.js} +9 -9
  50. package/dist/{chunk-WGKKDGSA.js → chunk-DAXFWXSV.js} +8 -8
  51. package/dist/{chunk-MSYMEP7Y.js → chunk-DJ7JH4UE.js} +7 -7
  52. package/dist/{chunk-XDGLYIB2.js → chunk-DORGB2Y2.js} +2 -2
  53. package/dist/{chunk-5JUWB6XL.js → chunk-E7YXNU57.js} +7 -7
  54. package/dist/{chunk-GA6HTO3O.js → chunk-EBSJUSID.js} +2 -2
  55. package/dist/{chunk-PLOBHRGV.js → chunk-EJXJE2H3.js} +49 -49
  56. package/dist/{chunk-O2BLNQEC.js → chunk-EME5G4YP.js} +2 -2
  57. package/dist/{chunk-RVWWNNZQ.js → chunk-EOWNLLLV.js} +4 -4
  58. package/dist/{chunk-QIT2GGNB.js → chunk-EPD5J3WA.js} +2 -2
  59. package/dist/{chunk-554FJWNH.js → chunk-EQ2KB5YF.js} +4 -4
  60. package/dist/{chunk-GT7PZCTK.js → chunk-FVBJKM6N.js} +3 -3
  61. package/dist/{chunk-F3IA3YWI.js → chunk-FVZ5C3PF.js} +22 -2
  62. package/dist/{chunk-KVF7YQ2W.js → chunk-G3ZUGFIS.js} +9 -9
  63. package/dist/{chunk-RKTVXFBV.js → chunk-GUHJV7C5.js} +31 -3
  64. package/dist/{chunk-ASUDP4OS.js → chunk-HGUQIBYY.js} +8 -8
  65. package/dist/{chunk-DO5VZIY4.js → chunk-HUXMRYUX.js} +3 -3
  66. package/dist/{chunk-G2XSDIYS.js → chunk-I52AKG2O.js} +4 -4
  67. package/dist/{chunk-VCFRALU7.js → chunk-I5YD7QPI.js} +28 -11
  68. package/dist/{chunk-YYBBJPCL.js → chunk-IUBGFCJJ.js} +14 -18
  69. package/dist/{chunk-UH5VQGNR.js → chunk-JXX2QXPP.js} +2 -2
  70. package/dist/{chunk-2DUYJR5N.js → chunk-KHX6VQ4M.js} +2 -2
  71. package/dist/{chunk-NYIFU3BR.js → chunk-KMXXOJL2.js} +21 -19
  72. package/dist/{chunk-4HMF5TRB.js → chunk-KNLPGIRY.js} +8 -8
  73. package/dist/{chunk-KYQRIL4V.js → chunk-LLG33KGY.js} +26 -26
  74. package/dist/{chunk-WGGATSIP.js → chunk-LMX4VE4H.js} +2 -2
  75. package/dist/{chunk-DXUICABI.js → chunk-LZDH5COS.js} +21 -2
  76. package/dist/{chunk-E5M5P23K.js → chunk-M5GXZEX7.js} +21 -215
  77. package/dist/{chunk-B6ZHSM2D.js → chunk-MAAQ4ZSN.js} +73 -73
  78. package/dist/{chunk-Q4LJCCH5.js → chunk-MGC5S6OE.js} +75 -9
  79. package/dist/{chunk-5Y5HWQ2P.js → chunk-MKRREVNB.js} +4 -4
  80. package/dist/{chunk-OTYK2V44.js → chunk-OAWBNCME.js} +24 -24
  81. package/dist/{chunk-64UVVLDT.js → chunk-OG6WYZNA.js} +7 -7
  82. package/dist/{chunk-AJBOGO5U.js → chunk-OQMXCNN7.js} +59 -31
  83. package/dist/{chunk-EPB6FAR5.js → chunk-OSMPI45P.js} +3 -3
  84. package/dist/{chunk-3X4B5GWY.js → chunk-P3WIMLG2.js} +3 -3
  85. package/dist/{chunk-GJZMKMWO.js → chunk-PC7XEO7F.js} +2 -2
  86. package/dist/{chunk-MF4W6FHU.js → chunk-Q4R2ABFL.js} +1 -1
  87. package/dist/{chunk-LRN6QX44.js → chunk-QBSSSKIC.js} +3 -3
  88. package/dist/{chunk-NH5Z2NOD.js → chunk-QZ2PC6B7.js} +3 -3
  89. package/dist/{chunk-LCOCRJ4K.js → chunk-RQGSZ7AR.js} +16 -2
  90. package/dist/{chunk-3FNEHRJF.js → chunk-RSWPVU6X.js} +8 -8
  91. package/dist/chunk-RVBDZMCC.js +264 -0
  92. package/dist/{chunk-WLZSKD7E.js → chunk-SQVETROU.js} +3 -3
  93. package/dist/{chunk-AJPICYPW.js → chunk-SWQA6SZI.js} +113 -94
  94. package/dist/{chunk-QETVFGD7.js → chunk-T6GI2AFJ.js} +16 -16
  95. package/dist/{chunk-FRJB3NTE.js → chunk-T6KQYCAU.js} +3 -3
  96. package/dist/{chunk-YYDM4DNP.js → chunk-TDSRZDQP.js} +2 -2
  97. package/dist/{chunk-K23RUXSH.js → chunk-TEZKQQDT.js} +44 -16
  98. package/dist/{chunk-BCN6OZLF.js → chunk-TN7ZBZRW.js} +3 -3
  99. package/dist/{chunk-WDWIXCGB.js → chunk-UN73LNM5.js} +4 -4
  100. package/dist/{chunk-RKNCISPM.js → chunk-VEA6EXJL.js} +3 -3
  101. package/dist/{chunk-6FCAFWD5.js → chunk-VO62TKK5.js} +3 -77
  102. package/dist/{chunk-HM5X73PY.js → chunk-WK5QDV25.js} +2 -2
  103. package/dist/{chunk-JORPZKBE.js → chunk-X3LYWTZ5.js} +3 -3
  104. package/dist/{chunk-CO7US54H.js → chunk-X7IBJLAD.js} +2 -2
  105. package/dist/{chunk-PKBC7G5H.js → chunk-XDIPEWLU.js} +25 -1
  106. package/dist/{chunk-OJ6YGRPV.js → chunk-YAZEB255.js} +3 -3
  107. package/dist/{chunk-RGPHFHJU.js → chunk-YFVD3LNL.js} +2 -2
  108. package/dist/{chunk-HUGNB6UN.js → chunk-YRLSJBSY.js} +71 -49
  109. package/dist/{chunk-35SI4GBM.js → chunk-YSSAJQH4.js} +3 -3
  110. package/dist/{chunk-UQNDODRU.js → chunk-Z7IINILG.js} +5 -5
  111. package/dist/{chunk-PRSNMSVG.js → chunk-ZCXWOGFL.js} +3 -3
  112. package/dist/cli.d.ts +10 -1
  113. package/dist/cli.js +48 -46
  114. package/dist/{codegen-command-OF3TPC66.js → codegen-command-GGGU6YAP.js} +68 -66
  115. package/dist/{commands-Z2QZOORB.js → commands-EN4RLPOP.js} +2 -2
  116. package/dist/{completion-LFXXNQGR.js → completion-KH45QD3E.js} +2 -2
  117. package/dist/{config-7GGINOFY.js → config-AKHBFTKA.js} +8 -8
  118. package/dist/{deploy-command-MGYR2TKC.js → deploy-command-WOHYD22D.js} +55 -53
  119. package/dist/{deploy-source-UHCHCI5Z.js → deploy-source-QK7Y4Y3V.js} +34 -33
  120. package/dist/{dev-env-sync-XWZVXEI2.js → dev-env-sync-AMFPULCP.js} +51 -49
  121. package/dist/{display-name-hint-5GLJGPQ6.js → display-name-hint-QMT562BI.js} +13 -13
  122. package/dist/{emit-DlOKIJER.d.ts → emit-BfHifhJy.d.ts} +120 -7
  123. package/dist/{env-example-refresh-FACP4FQE.js → env-example-refresh-F5RTDVJ5.js} +69 -67
  124. package/dist/{env-pull-command-SHK4TI6U.js → env-pull-command-J2ARE33T.js} +52 -50
  125. package/dist/{env-target-ZQSPPN4A.js → env-target-WA4BR6GW.js} +13 -13
  126. package/dist/{env-var-command-Q2ZHKWAQ.js → env-var-command-WEC22FI5.js} +55 -54
  127. package/dist/{ephemeral-2DXWP3VK.js → ephemeral-MNHEWSZ6.js} +11 -11
  128. package/dist/{ephemeral-command-FKOSN56R.js → ephemeral-command-EJLS42VJ.js} +64 -62
  129. package/dist/{ephemeral-state-56XEDUJW.js → ephemeral-state-QTT5JHD5.js} +11 -11
  130. package/dist/{generate-command-2JCMZ6CG.js → generate-command-2WHFL4CB.js} +77 -75
  131. package/dist/{gitignore-Z5N6DEEV.js → gitignore-OKB3X335.js} +19 -17
  132. package/dist/{guards-LQ7PSXOL.js → guards-N4PUFKN5.js} +3 -2
  133. package/dist/{impersonate-command-R24VBFQA.js → impersonate-command-EIWI3FBD.js} +44 -42
  134. package/dist/{import-VJQGIS33.js → import-7HFTOT7M.js} +5 -5
  135. package/dist/index.d.ts +142 -7
  136. package/dist/index.js +7 -6
  137. package/dist/{init-command-UOCNESZK.js → init-command-POIWZKZ4.js} +52 -50
  138. package/dist/{init-modules-5DYK7V4J.js → init-modules-S7BR4NIJ.js} +11 -9
  139. package/dist/{init-web-25QJ4JWB.js → init-web-YCPD6BYN.js} +2 -2
  140. package/dist/internal.d.ts +4 -4
  141. package/dist/internal.js +169 -24
  142. package/dist/{keep-data-merge-HLIXZC77.js → keep-data-merge-NXP77QML.js} +32 -31
  143. package/dist/{landing-record-FYKDJIUF.js → landing-record-MK44WCRY.js} +23 -21
  144. package/dist/{live-diff-YOFOJCFX.js → live-diff-GZ6JUNP6.js} +5 -4
  145. package/dist/local-engine-ai-3XLJLOBP.js +47 -0
  146. package/dist/{local-engine-choice-4ZA2HZXH.js → local-engine-choice-7QBML5XF.js} +43 -36
  147. package/dist/local-engine-command-N7VDPABW.js +93 -0
  148. package/dist/{local-engine-config-6CB6FOEJ.js → local-engine-config-MVNWKHZ4.js} +15 -3
  149. package/dist/{local-engine-deploy-XAEDT55W.js → local-engine-deploy-RYZZYEDQ.js} +21 -18
  150. package/dist/{local-engine-lookup-WBYTY2JE.js → local-engine-lookup-2VSUWEQY.js} +6 -6
  151. package/dist/{local-engine-mcp-bridge-3H5OXBWQ.js → local-engine-mcp-bridge-ECGTK7LF.js} +6 -6
  152. package/dist/{local-engine-mcp-command-SUAVS5UA.js → local-engine-mcp-command-A257D3WK.js} +52 -44
  153. package/dist/{local-engine-process-35B2KQED.js → local-engine-process-P5T2766M.js} +19 -11
  154. package/dist/local-engine-release-OK6GKULS.js +40 -0
  155. package/dist/{local-engine-state-JZHTKHDG.js → local-engine-state-BOKHLNRQ.js} +4 -4
  156. package/dist/{local-engine-update-check-VXJZSIJU.js → local-engine-update-check-C72LSVUQ.js} +7 -7
  157. package/dist/{lock-commands-ZT6YTQYA.js → lock-commands-KMWLIGT2.js} +55 -53
  158. package/dist/{login-command-ONGJASKA.js → login-command-E2KMN6DV.js} +39 -32
  159. package/dist/{logout-command-PLYGFHBQ.js → logout-command-AIB446AQ.js} +16 -16
  160. package/dist/{loop-CLLBQSJF.js → loop-EMTBWN4X.js} +5 -4
  161. package/dist/{marketplace-command-LNNAA7ZK.js → marketplace-command-YLBFUBHL.js} +42 -40
  162. package/dist/{marketplace-resolve-63QWMQZU.js → marketplace-resolve-LT76KHJD.js} +9 -7
  163. package/dist/{meta-client-JND42QEJ.js → meta-client-AOPF5IQN.js} +15 -15
  164. package/dist/{module-manifest-NWJWAQLQ.js → module-manifest-B432UFBK.js} +3 -3
  165. package/dist/node.d.ts +5 -5
  166. package/dist/node.js +61 -59
  167. package/dist/{operation-outcome-U6IWKLBK.js → operation-outcome-GBSISFAP.js} +26 -26
  168. package/dist/{output-target-QJSHZBVY.js → output-target-NHJLT4YI.js} +20 -18
  169. package/dist/{plan-disclosure-XTAEE4BE.js → plan-disclosure-5HM7CMRW.js} +19 -18
  170. package/dist/{plugin-contributions-DD6R6RL6.js → plugin-contributions-MEXUR7TY.js} +4 -4
  171. package/dist/{plugin-prompt-UX2TT5NS.js → plugin-prompt-XM4ATAWA.js} +4 -4
  172. package/dist/{plugin-questions-WE2F4ZC4.js → plugin-questions-VGU3B4LE.js} +3 -3
  173. package/dist/{preflight-command-ZKUQSIL2.js → preflight-command-O52GLYGA.js} +60 -58
  174. package/dist/{profile-command-PJUA5ZMX.js → profile-command-NOKUVV3M.js} +38 -36
  175. package/dist/{profile-pointer-RCPHVTJV.js → profile-pointer-DHOU26Q2.js} +5 -5
  176. package/dist/{profile-select-45G5VPJK.js → profile-select-ZANK43KE.js} +2 -2
  177. package/dist/project-config-SGRYMHBT.js +37 -0
  178. package/dist/{project-dependency-TPVV3YIX.js → project-dependency-WTH776QE.js} +10 -8
  179. package/dist/{project-sdk-DKZBK5H5.js → project-sdk-FYNY7RTO.js} +3 -3
  180. package/dist/promote-command-2NMTINVS.js +150 -0
  181. package/dist/{prompt-OYQHQWKI.js → prompt-JVYQH4OR.js} +3 -3
  182. package/dist/{publish-command-JSYK6HOW.js → publish-command-LB2XULJA.js} +65 -63
  183. package/dist/{pull-command-K5X367MA.js → pull-command-UVNPFY2E.js} +71 -69
  184. package/dist/{pull-superseded-3SSM3JFT.js → pull-superseded-7EZ7M54I.js} +3 -3
  185. package/dist/{release-command-OC7MT4FV.js → release-command-BGSDY3BE.js} +66 -64
  186. package/dist/{release-ns-command-EHNEAEDU.js → release-ns-command-IVXK7HEG.js} +93 -91
  187. package/dist/{retry-command-WP4ZI6CJ.js → retry-command-HG4IFE65.js} +10 -10
  188. package/dist/{routes-manifest-file-A2PW7IQ7.js → routes-manifest-file-3MDX3JB3.js} +4 -4
  189. package/dist/{secrets-file-2RHMJFXQ.js → secrets-file-NFNUKRGZ.js} +19 -17
  190. package/dist/{secrets-fill-command-HYMF6EZM.js → secrets-fill-command-U5L7IKUO.js} +52 -50
  191. package/dist/{seed-W5FNE6IB.js → seed-M33F4OJW.js} +3 -3
  192. package/dist/{source-resolve-PMA7SHZE.js → source-resolve-MAMVIHDF.js} +24 -24
  193. package/dist/{static-host-3HPZKVKK.js → static-host-HCKD26Q3.js} +5 -5
  194. package/dist/{status-command-CROHQRPI.js → status-command-VXIN37ET.js} +52 -51
  195. package/dist/{store-Dg9FLJkx.d.ts → store-Dt-5vOSe.d.ts} +149 -1
  196. package/dist/{store-B63BQV6R.js → store-ZWQFSXH5.js} +8 -8
  197. package/dist/{sync-baseline-LSGKNCKM.js → sync-baseline-XLRJQZCS.js} +7 -6
  198. package/dist/{sync-contributions-QDEWZ3IU.js → sync-contributions-PGMYJKLG.js} +17 -13
  199. package/dist/{sync-record-AWFCSS4D.js → sync-record-UFEJDNLR.js} +13 -13
  200. package/dist/{table-WJ7YDJ6Q.js → table-JHPGUJ2Z.js} +6 -6
  201. package/dist/{tables-command-BKVDHAGJ.js → tables-command-FNBHVJG3.js} +41 -40
  202. package/dist/{tenant-IXIW3FOI.js → tenant-SSWC7B3V.js} +12 -12
  203. package/dist/{tenant-command-Y7VCGDMY.js → tenant-command-PHNX3PXS.js} +96 -94
  204. package/dist/{test-command-2RAUNIU5.js → test-command-DMMF3RMK.js} +44 -43
  205. package/dist/{tests-N4MMBABH.js → tests-ZFQWDWS2.js} +6 -6
  206. package/dist/{token-4I26OGWH.js → token-IHOPB74T.js} +14 -12
  207. package/dist/{toolchain-hooks-IJWV3ZQS.js → toolchain-hooks-IRPM6LYL.js} +3 -3
  208. package/dist/{toolchain-modules-XM4JXHQC.js → toolchain-modules-V56JXU2E.js} +9 -5
  209. package/dist/{toolchain-peers-EMOYN4U7.js → toolchain-peers-NOIM44ED.js} +11 -9
  210. package/dist/{tracked-backend-EZE6H3EZ.js → tracked-backend-VKWZKKBG.js} +39 -36
  211. package/dist/{update-check-QLB5DV3B.js → update-check-DZ4YVDNS.js} +51 -49
  212. package/dist/{upgrade-command-4DCDBDB5.js → upgrade-command-EP5WQWFA.js} +55 -53
  213. package/dist/{whoami-command-WI4VT3IN.js → whoami-command-UV6EEDBY.js} +15 -15
  214. package/dist/{workspace-DIM3SBPV.js → workspace-6LVJ3LZE.js} +5 -5
  215. package/dist/{workspace-binding-43PBQEE4.js → workspace-binding-AUZIERMF.js} +14 -14
  216. package/dist/{workspace-command-FWTHIFVI.js → workspace-command-VXOY6KPE.js} +96 -94
  217. package/dist/{workspace-env-5PJVWQ2O.js → workspace-env-ZNGE3DFN.js} +17 -15
  218. package/dist/{workspace-export-3KMWNZDD.js → workspace-export-A4L6272C.js} +5 -5
  219. package/dist/{writable-X7BCN7XE.js → writable-762DMPHW.js} +3 -3
  220. package/dist/{xano-RLSNDM7O.js → xano-XZN5SRDH.js} +4 -3
  221. package/dist/{xanosdk-import-VOJEAK5Q.js → xanosdk-import-FENZ7XMW.js} +6 -6
  222. package/dist/{xanosdk-project-PV3ORVP5.js → xanosdk-project-K4RKLLNO.js} +16 -14
  223. package/guides/cli.md +3 -0
  224. package/guides/coverage.md +4 -4
  225. package/llms/kinds-agent-mcp.md +3 -1
  226. package/llms/statements-ai.md +21 -0
  227. package/llms/statements-catalog.md +1 -8
  228. package/llms-full.txt +33 -15
  229. package/llms.txt +7 -6
  230. package/manifest.json +651 -3
  231. package/package.json +2 -1
  232. package/skills/xano-backend/SKILL.md +2 -2
  233. package/dist/local-engine-command-WQS4SD6N.js +0 -85
  234. package/dist/promote-command-NDYP66LD.js +0 -148
package/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xanosdk",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "TypeScript SDK that compiles a typed Xano workspace into the importable packageExport JSON bundle.",
5
5
  "coverage": {
6
6
  "objectKinds": {
@@ -26,8 +26,8 @@
26
26
  ]
27
27
  },
28
28
  "statements": {
29
- "implemented": 219,
30
- "total": 219
29
+ "implemented": 227,
30
+ "total": 227
31
31
  },
32
32
  "filters": {
33
33
  "typed": 246,
@@ -585,6 +585,62 @@
585
585
  "registered": true,
586
586
  "declarative": false
587
587
  },
588
+ {
589
+ "surface": "ai.embedding.create",
590
+ "storedName": "mvp:ai_embedding_create",
591
+ "sPath": "ai.embedding.create",
592
+ "registered": true,
593
+ "declarative": true,
594
+ "output": false,
595
+ "fields": [
596
+ {
597
+ "name": "as",
598
+ "type": "string",
599
+ "optional": true,
600
+ "default": ""
601
+ },
602
+ {
603
+ "name": "model",
604
+ "type": "value",
605
+ "optional": true,
606
+ "examples": [
607
+ "gemini-embedding-2",
608
+ "gemini-embedding-001"
609
+ ]
610
+ },
611
+ {
612
+ "name": "input",
613
+ "type": "value",
614
+ "optional": false
615
+ },
616
+ {
617
+ "name": "task_type",
618
+ "type": "value",
619
+ "optional": true
620
+ },
621
+ {
622
+ "name": "dimensions",
623
+ "type": "value",
624
+ "optional": true
625
+ },
626
+ {
627
+ "name": "location",
628
+ "type": "value",
629
+ "optional": true,
630
+ "enum": [
631
+ "",
632
+ "us",
633
+ "global",
634
+ "eu"
635
+ ]
636
+ }
637
+ ],
638
+ "result": {
639
+ "name": "as",
640
+ "type": "{ embeddings: number[][]; model: string; usage: { input_tokens?: number; output_tokens?: number } }",
641
+ "note": "one vector per input, in input order; a single input still binds a list of one — read embeddings[0]"
642
+ }
643
+ },
588
644
  {
589
645
  "surface": "ai.external.mcp.server_details",
590
646
  "storedName": "mvp:mcp_server_details",
@@ -703,6 +759,564 @@
703
759
  }
704
760
  ]
705
761
  },
762
+ {
763
+ "surface": "ai.image.generate",
764
+ "storedName": "mvp:ai_image_generate",
765
+ "sPath": "ai.image.generate",
766
+ "registered": true,
767
+ "declarative": true,
768
+ "output": false,
769
+ "fields": [
770
+ {
771
+ "name": "as",
772
+ "type": "string",
773
+ "optional": true,
774
+ "default": ""
775
+ },
776
+ {
777
+ "name": "model",
778
+ "type": "value",
779
+ "optional": true,
780
+ "examples": [
781
+ "gemini-3.1-flash-image",
782
+ "gemini-3-pro-image",
783
+ "gemini-3.1-flash-lite-image",
784
+ "gemini-nano-banana-2.1"
785
+ ]
786
+ },
787
+ {
788
+ "name": "prompt",
789
+ "type": "value",
790
+ "optional": false
791
+ },
792
+ {
793
+ "name": "images",
794
+ "type": "value",
795
+ "optional": true
796
+ },
797
+ {
798
+ "name": "aspect_ratio",
799
+ "type": "value",
800
+ "optional": true,
801
+ "enum": [
802
+ "1:1",
803
+ "2:3",
804
+ "3:2",
805
+ "3:4",
806
+ "4:3",
807
+ "4:5",
808
+ "5:4",
809
+ "9:16",
810
+ "16:9",
811
+ "21:9"
812
+ ]
813
+ },
814
+ {
815
+ "name": "image_size",
816
+ "type": "value",
817
+ "optional": true,
818
+ "enum": [
819
+ "1K",
820
+ "2K",
821
+ "4K"
822
+ ]
823
+ },
824
+ {
825
+ "name": "save_to_files",
826
+ "type": "value",
827
+ "optional": true,
828
+ "enum": [
829
+ "",
830
+ "public",
831
+ "private"
832
+ ]
833
+ },
834
+ {
835
+ "name": "location",
836
+ "type": "value",
837
+ "optional": true,
838
+ "enum": [
839
+ "",
840
+ "us",
841
+ "global",
842
+ "eu"
843
+ ]
844
+ }
845
+ ],
846
+ "result": {
847
+ "name": "as",
848
+ "type": "{ image: <file resource> | XanoFileRef; text: string; model: string; usage: { input_tokens?: number; output_tokens?: number } }",
849
+ "note": "image is the file resource (pass it to s.storage.create_image to keep it), or the stored file value when save_to_files is \"public\"/\"private\". text is \"\" when the model returns none"
850
+ }
851
+ },
852
+ {
853
+ "surface": "ai.music.generate",
854
+ "storedName": "mvp:ai_music_generate",
855
+ "sPath": "ai.music.generate",
856
+ "registered": true,
857
+ "declarative": true,
858
+ "output": false,
859
+ "fields": [
860
+ {
861
+ "name": "as",
862
+ "type": "string",
863
+ "optional": true,
864
+ "default": ""
865
+ },
866
+ {
867
+ "name": "model",
868
+ "type": "value",
869
+ "optional": true,
870
+ "examples": [
871
+ "lyria-002",
872
+ "lyria-3-clip-preview",
873
+ "lyria-3-pro-preview"
874
+ ]
875
+ },
876
+ {
877
+ "name": "prompt",
878
+ "type": "value",
879
+ "optional": false
880
+ },
881
+ {
882
+ "name": "negative_prompt",
883
+ "type": "value",
884
+ "optional": true
885
+ },
886
+ {
887
+ "name": "seed",
888
+ "type": "value",
889
+ "optional": true
890
+ },
891
+ {
892
+ "name": "save_to_files",
893
+ "type": "value",
894
+ "optional": true,
895
+ "enum": [
896
+ "",
897
+ "public",
898
+ "private"
899
+ ]
900
+ },
901
+ {
902
+ "name": "location",
903
+ "type": "value",
904
+ "optional": true,
905
+ "enum": [
906
+ "",
907
+ "us",
908
+ "global",
909
+ "eu"
910
+ ]
911
+ }
912
+ ],
913
+ "result": {
914
+ "name": "as",
915
+ "type": "{ audio: <file resource> | XanoFileRef; model: string; lyrics: string | null; description: string | null }",
916
+ "note": "audio is the file resource, or the stored file value when save_to_files is set. lyrics/description are null when the model gives none (some never do)"
917
+ }
918
+ },
919
+ {
920
+ "surface": "ai.rerank",
921
+ "storedName": "mvp:ai_rerank",
922
+ "sPath": "ai.rerank",
923
+ "registered": true,
924
+ "declarative": true,
925
+ "output": false,
926
+ "fields": [
927
+ {
928
+ "name": "as",
929
+ "type": "string",
930
+ "optional": true,
931
+ "default": ""
932
+ },
933
+ {
934
+ "name": "model",
935
+ "type": "value",
936
+ "optional": true
937
+ },
938
+ {
939
+ "name": "query",
940
+ "type": "value",
941
+ "optional": false
942
+ },
943
+ {
944
+ "name": "documents",
945
+ "type": "value",
946
+ "optional": false
947
+ },
948
+ {
949
+ "name": "top_n",
950
+ "type": "value",
951
+ "optional": true
952
+ },
953
+ {
954
+ "name": "location",
955
+ "type": "value",
956
+ "optional": true,
957
+ "enum": [
958
+ "",
959
+ "us",
960
+ "global",
961
+ "eu"
962
+ ]
963
+ }
964
+ ],
965
+ "result": {
966
+ "name": "as",
967
+ "type": "{ results: { index: number; id: string; score: number; content: string }[]; model: string }",
968
+ "note": "results best first (top_n limits them). index is the position in documents; id is the document's id, or its index as a string when it had none"
969
+ }
970
+ },
971
+ {
972
+ "surface": "ai.speech.generate",
973
+ "storedName": "mvp:ai_speech_generate",
974
+ "sPath": "ai.speech.generate",
975
+ "registered": true,
976
+ "declarative": true,
977
+ "output": false,
978
+ "fields": [
979
+ {
980
+ "name": "as",
981
+ "type": "string",
982
+ "optional": true,
983
+ "default": ""
984
+ },
985
+ {
986
+ "name": "model",
987
+ "type": "value",
988
+ "optional": true,
989
+ "examples": [
990
+ "gemini-3.8-flash-tts",
991
+ "gemini-3.8-flash-lite-tts"
992
+ ]
993
+ },
994
+ {
995
+ "name": "text",
996
+ "type": "value",
997
+ "optional": false
998
+ },
999
+ {
1000
+ "name": "voice",
1001
+ "type": "value",
1002
+ "optional": true,
1003
+ "examples": [
1004
+ "Zephyr",
1005
+ "Puck",
1006
+ "Charon",
1007
+ "Kore",
1008
+ "Fenrir",
1009
+ "Leda",
1010
+ "Orus",
1011
+ "Aoede",
1012
+ "Callirrhoe",
1013
+ "Autonoe",
1014
+ "Enceladus",
1015
+ "Iapetus",
1016
+ "Umbriel",
1017
+ "Algieba",
1018
+ "Despina",
1019
+ "Erinome",
1020
+ "Algenib",
1021
+ "Rasalgethi",
1022
+ "Laomedeia",
1023
+ "Achernar",
1024
+ "Alnilam",
1025
+ "Schedar",
1026
+ "Gacrux",
1027
+ "Pulcherrima",
1028
+ "Achird",
1029
+ "Zubenelgenubi",
1030
+ "Vindemiatrix",
1031
+ "Sadachbia",
1032
+ "Sadaltager",
1033
+ "Sulafat"
1034
+ ]
1035
+ },
1036
+ {
1037
+ "name": "instructions",
1038
+ "type": "value",
1039
+ "optional": true
1040
+ },
1041
+ {
1042
+ "name": "save_to_files",
1043
+ "type": "value",
1044
+ "optional": true,
1045
+ "enum": [
1046
+ "",
1047
+ "public",
1048
+ "private"
1049
+ ]
1050
+ },
1051
+ {
1052
+ "name": "location",
1053
+ "type": "value",
1054
+ "optional": true,
1055
+ "enum": [
1056
+ "",
1057
+ "us",
1058
+ "global",
1059
+ "eu"
1060
+ ]
1061
+ }
1062
+ ],
1063
+ "result": {
1064
+ "name": "as",
1065
+ "type": "{ audio: <file resource> | XanoFileRef; model: string; usage: { input_tokens?: number; output_tokens?: number } }",
1066
+ "note": "audio is the file resource, or the stored file value when save_to_files is set"
1067
+ }
1068
+ },
1069
+ {
1070
+ "surface": "ai.speech.transcribe",
1071
+ "storedName": "mvp:ai_speech_transcribe",
1072
+ "sPath": "ai.speech.transcribe",
1073
+ "registered": true,
1074
+ "declarative": true,
1075
+ "output": false,
1076
+ "fields": [
1077
+ {
1078
+ "name": "as",
1079
+ "type": "string",
1080
+ "optional": true,
1081
+ "default": ""
1082
+ },
1083
+ {
1084
+ "name": "model",
1085
+ "type": "value",
1086
+ "optional": true,
1087
+ "examples": [
1088
+ "gemini-3.5-transcribe"
1089
+ ]
1090
+ },
1091
+ {
1092
+ "name": "audio",
1093
+ "type": "value",
1094
+ "optional": false
1095
+ },
1096
+ {
1097
+ "name": "language",
1098
+ "type": "value",
1099
+ "optional": true
1100
+ },
1101
+ {
1102
+ "name": "prompt",
1103
+ "type": "value",
1104
+ "optional": true
1105
+ },
1106
+ {
1107
+ "name": "location",
1108
+ "type": "value",
1109
+ "optional": true,
1110
+ "enum": [
1111
+ "",
1112
+ "us",
1113
+ "global",
1114
+ "eu"
1115
+ ]
1116
+ }
1117
+ ],
1118
+ "result": {
1119
+ "name": "as",
1120
+ "type": "{ text: string; model: string; usage: { input_tokens?: number; output_tokens?: number } }"
1121
+ }
1122
+ },
1123
+ {
1124
+ "surface": "ai.text.generate",
1125
+ "storedName": "mvp:ai_text_generate",
1126
+ "sPath": "ai.text.generate",
1127
+ "registered": true,
1128
+ "declarative": true,
1129
+ "output": false,
1130
+ "fields": [
1131
+ {
1132
+ "name": "as",
1133
+ "type": "string",
1134
+ "optional": true,
1135
+ "default": ""
1136
+ },
1137
+ {
1138
+ "name": "model",
1139
+ "type": "value",
1140
+ "optional": true,
1141
+ "examples": [
1142
+ "gemini-3.8-flash",
1143
+ "gemini-4-argon",
1144
+ "gemini-3.5-flash-lite",
1145
+ "gemini-3.5-flash",
1146
+ "claude-fable-5-1",
1147
+ "claude-opus-5-5",
1148
+ "claude-sonnet-5-5",
1149
+ "claude-haiku-5-5"
1150
+ ]
1151
+ },
1152
+ {
1153
+ "name": "prompt",
1154
+ "type": "value",
1155
+ "optional": true
1156
+ },
1157
+ {
1158
+ "name": "system",
1159
+ "type": "value",
1160
+ "optional": true
1161
+ },
1162
+ {
1163
+ "name": "messages",
1164
+ "type": "value",
1165
+ "optional": true
1166
+ },
1167
+ {
1168
+ "name": "files",
1169
+ "type": "value",
1170
+ "optional": true
1171
+ },
1172
+ {
1173
+ "name": "temperature",
1174
+ "type": "value",
1175
+ "optional": true
1176
+ },
1177
+ {
1178
+ "name": "max_tokens",
1179
+ "type": "value",
1180
+ "optional": true
1181
+ },
1182
+ {
1183
+ "name": "response_format",
1184
+ "type": "value",
1185
+ "optional": true,
1186
+ "enum": [
1187
+ "text",
1188
+ "json"
1189
+ ]
1190
+ },
1191
+ {
1192
+ "name": "json_schema",
1193
+ "type": "value",
1194
+ "optional": true
1195
+ },
1196
+ {
1197
+ "name": "location",
1198
+ "type": "value",
1199
+ "optional": true,
1200
+ "enum": [
1201
+ "",
1202
+ "us",
1203
+ "global",
1204
+ "eu"
1205
+ ]
1206
+ }
1207
+ ],
1208
+ "result": {
1209
+ "name": "as",
1210
+ "type": "{ text: string; json: unknown; model: string; finish_reason: string | null; usage: { input_tokens?: number; output_tokens?: number } }",
1211
+ "note": "json is the parsed reply when response_format is \"json\" (throws if it does not parse), else null. finish_reason is stop | max_tokens | safety | ..., null when none. usage can be {}"
1212
+ }
1213
+ },
1214
+ {
1215
+ "surface": "ai.video.generate",
1216
+ "storedName": "mvp:ai_video_generate",
1217
+ "sPath": "ai.video.generate",
1218
+ "registered": true,
1219
+ "declarative": true,
1220
+ "output": false,
1221
+ "fields": [
1222
+ {
1223
+ "name": "as",
1224
+ "type": "string",
1225
+ "optional": true,
1226
+ "default": ""
1227
+ },
1228
+ {
1229
+ "name": "model",
1230
+ "type": "value",
1231
+ "optional": true,
1232
+ "examples": [
1233
+ "veo-3.1-fast-generate-001",
1234
+ "veo-3.1-generate-001",
1235
+ "veo-3.1-lite-generate-001"
1236
+ ]
1237
+ },
1238
+ {
1239
+ "name": "prompt",
1240
+ "type": "value",
1241
+ "optional": false
1242
+ },
1243
+ {
1244
+ "name": "negative_prompt",
1245
+ "type": "value",
1246
+ "optional": true
1247
+ },
1248
+ {
1249
+ "name": "image",
1250
+ "type": "value",
1251
+ "optional": true
1252
+ },
1253
+ {
1254
+ "name": "last_image",
1255
+ "type": "value",
1256
+ "optional": true
1257
+ },
1258
+ {
1259
+ "name": "aspect_ratio",
1260
+ "type": "value",
1261
+ "optional": true,
1262
+ "enum": [
1263
+ "16:9",
1264
+ "9:16"
1265
+ ]
1266
+ },
1267
+ {
1268
+ "name": "resolution",
1269
+ "type": "value",
1270
+ "optional": true,
1271
+ "enum": [
1272
+ "720p",
1273
+ "1080p",
1274
+ "4k"
1275
+ ]
1276
+ },
1277
+ {
1278
+ "name": "duration",
1279
+ "type": "value",
1280
+ "optional": true
1281
+ },
1282
+ {
1283
+ "name": "generate_audio",
1284
+ "type": "value",
1285
+ "optional": true
1286
+ },
1287
+ {
1288
+ "name": "timeout",
1289
+ "type": "value",
1290
+ "optional": true
1291
+ },
1292
+ {
1293
+ "name": "save_to_files",
1294
+ "type": "value",
1295
+ "optional": true,
1296
+ "enum": [
1297
+ "",
1298
+ "public",
1299
+ "private"
1300
+ ]
1301
+ },
1302
+ {
1303
+ "name": "location",
1304
+ "type": "value",
1305
+ "optional": true,
1306
+ "enum": [
1307
+ "",
1308
+ "us",
1309
+ "global",
1310
+ "eu"
1311
+ ]
1312
+ }
1313
+ ],
1314
+ "result": {
1315
+ "name": "as",
1316
+ "type": "{ video: <file resource> | XanoFileRef; model: string; duration: number }",
1317
+ "note": "video is the file resource, or the stored file value when save_to_files is set. duration in SECONDS"
1318
+ }
1319
+ },
706
1320
  {
707
1321
  "surface": "api.call",
708
1322
  "storedName": "mvp:workspace_run_endpoint",
@@ -9013,6 +9627,24 @@
9013
9627
  ],
9014
9628
  "description": "Remove the copies install wrote; an edited copy is reported and kept"
9015
9629
  },
9630
+ {
9631
+ "command": "ai models",
9632
+ "flags": [
9633
+ {
9634
+ "flag": "--all",
9635
+ "description": "Include unlisted models: they still run when a saved script names them, but no picker offers them"
9636
+ },
9637
+ {
9638
+ "flag": "--config <path>",
9639
+ "description": "Explicit credential file (default: $XANO_CONFIG)"
9640
+ },
9641
+ {
9642
+ "flag": "--local-auth",
9643
+ "description": "Use the project-local ./.xano/auth.json instead of the shared cache"
9644
+ }
9645
+ ],
9646
+ "description": "List the models each Xano AI statement takes, read live from the hub catalog with no sign-in: the suggested model, locations and options"
9647
+ },
9016
9648
  {
9017
9649
  "command": "compile",
9018
9650
  "args": "<file>",
@@ -9180,6 +9812,14 @@
9180
9812
  "flag": "--reset",
9181
9813
  "description": "Replace the environment and re-seed it, overriding --keep-data (a deploy without --keep-data already does) — not with --to"
9182
9814
  },
9815
+ {
9816
+ "flag": "--ai-billing <user|instance>",
9817
+ "description": "Who Xano AI usage on the Xano Engine is billed to: `user` (you, the default) or `instance` (the owner of the instance you signed in to). Overrides the `aiBilling` setting in package.json — only to the Xano Engine",
9818
+ "values": [
9819
+ "user",
9820
+ "instance"
9821
+ ]
9822
+ },
9183
9823
  {
9184
9824
  "flag": "--lock[=<path>]",
9185
9825
  "description": "Name the xano.lock to use — default: beside the entry file"
@@ -9934,6 +10574,14 @@
9934
10574
  {
9935
10575
  "flag": "--version <v>",
9936
10576
  "description": "Pin this engine version instead of the latest, like v0.1.5 — or `latest`, the default"
10577
+ },
10578
+ {
10579
+ "flag": "--ai-billing <user|instance>",
10580
+ "description": "Who Xano AI usage on the restarted engine is billed to: `user` (the default) or `instance`",
10581
+ "values": [
10582
+ "user",
10583
+ "instance"
10584
+ ]
9937
10585
  }
9938
10586
  ],
9939
10587
  "description": "Move this project's pinned engine to the latest release (or `--version <v>`, downgrades included), download it, and restart the project's running engine on it — the restarted engine starts empty, so the next deploy seeds it. Writes package.json: commit it"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xano/sdk",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "The official TypeScript SDK for Xano, one platform to build, run and govern AI-built software. Your coding agent writes the backend in TypeScript, you run it on the Xano Engine on your machine, then deploy it to Xano.",
5
5
  "keywords": [
6
6
  "xanosdk",
@@ -93,6 +93,7 @@
93
93
  "scripts": {
94
94
  "build": "tsup",
95
95
  "codegen": "tsx scripts/codegen.ts",
96
+ "codegen:ai-catalog": "tsx scripts/ai-catalog-snapshot.ts",
96
97
  "codegen:filters": "tsx scripts/codegen-filters.ts",
97
98
  "codegen:query-filters": "tsx scripts/codegen-query-filters.ts",
98
99
  "codegen:methods": "tsx scripts/codegen-field-methods.ts",