@xano/sdk 1.0.19 → 1.0.21

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 (235) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +5 -2
  3. package/dist/{agent-file-refresh-5IP25UYO.js → agent-file-refresh-5R5ALFEV.js} +13 -11
  4. package/dist/{agent-skill-command-BPM4S6C7.js → agent-skill-command-JBX7Z6AK.js} +49 -47
  5. package/dist/ai-models-command-I3FU6GYP.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-VOMHDVFP.js} +16 -14
  8. package/dist/{backend-slot-7BATLL3X.js → backend-slot-WSWAHL2W.js} +3 -3
  9. package/dist/bin.js +55 -51
  10. package/dist/{branch-SJKKUCMZ.js → branch-6DBHVVUT.js} +11 -11
  11. package/dist/{branch-commands-5HKCBRLN.js → branch-commands-JOSHDOXH.js} +29 -28
  12. package/dist/bundle.js +3 -3
  13. package/dist/chunk-37BT62SX.js +17 -0
  14. package/dist/{chunk-2IC3K22K.js → chunk-3HK7VELD.js} +2 -2
  15. package/dist/{chunk-ZYZ7GRX3.js → chunk-4DVP42ZC.js} +2 -2
  16. package/dist/{chunk-ROWYW3JF.js → chunk-4QRDNBPY.js} +2 -2
  17. package/dist/{chunk-KG3RDXN5.js → chunk-4TVHSC4V.js} +4 -4
  18. package/dist/{chunk-SINL5WMI.js → chunk-4Y3SWNPE.js} +2 -2
  19. package/dist/{chunk-6SEPZQYB.js → chunk-4ZV4MDKP.js} +2 -2
  20. package/dist/{chunk-IFHFJR5O.js → chunk-5ABAIJVV.js} +6 -6
  21. package/dist/chunk-5KSVMHFS.js +81 -0
  22. package/dist/{chunk-MOVRSULZ.js → chunk-5Z4WQQHC.js} +2 -2
  23. package/dist/{chunk-K23RUXSH.js → chunk-64F6ET45.js} +44 -16
  24. package/dist/{chunk-ZHFSIQ6E.js → chunk-6534P3VH.js} +25 -2
  25. package/dist/{chunk-Q6AKSLD2.js → chunk-6L32HAIP.js} +2 -2
  26. package/dist/chunk-6SXKKDGF.js +9 -0
  27. package/dist/{chunk-OTQF4B37.js → chunk-6TAYTKFM.js} +4 -4
  28. package/dist/{chunk-7UQZ7C4W.js → chunk-745NOWB7.js} +6 -6
  29. package/dist/{chunk-XAE4NIZ2.js → chunk-7J7YRAZB.js} +4 -4
  30. package/dist/{chunk-E34VGSCI.js → chunk-7LLVSTXY.js} +9 -1
  31. package/dist/{chunk-2HBJU76D.js → chunk-7SGMHGLI.js} +40 -22
  32. package/dist/{chunk-OTYK2V44.js → chunk-ANCNHQCH.js} +24 -24
  33. package/dist/{chunk-AICWDCLJ.js → chunk-BBFHZMQA.js} +2 -2
  34. package/dist/{chunk-54CJ74BH.js → chunk-C7KO5KKB.js} +4 -4
  35. package/dist/{chunk-V2MIBJZU.js → chunk-CGLYG2VF.js} +2 -2
  36. package/dist/{chunk-Z73I7Q2H.js → chunk-CJ5WRCVE.js} +80 -2
  37. package/dist/{chunk-WGKKDGSA.js → chunk-DAXFWXSV.js} +8 -8
  38. package/dist/{chunk-MSYMEP7Y.js → chunk-DJ7JH4UE.js} +7 -7
  39. package/dist/{chunk-XDGLYIB2.js → chunk-DORGB2Y2.js} +2 -2
  40. package/dist/{chunk-GA6HTO3O.js → chunk-EBSJUSID.js} +2 -2
  41. package/dist/{chunk-O2BLNQEC.js → chunk-EME5G4YP.js} +2 -2
  42. package/dist/{chunk-RVWWNNZQ.js → chunk-EOWNLLLV.js} +4 -4
  43. package/dist/{chunk-QIT2GGNB.js → chunk-EPD5J3WA.js} +2 -2
  44. package/dist/{chunk-WDWIXCGB.js → chunk-FJS5I6V4.js} +4 -4
  45. package/dist/{chunk-DO5VZIY4.js → chunk-FLM6TN7Q.js} +3 -3
  46. package/dist/{chunk-GT7PZCTK.js → chunk-FVBJKM6N.js} +3 -3
  47. package/dist/{chunk-F3IA3YWI.js → chunk-FVZ5C3PF.js} +22 -2
  48. package/dist/{chunk-PLOBHRGV.js → chunk-GODAKJ3L.js} +49 -49
  49. package/dist/{chunk-RKTVXFBV.js → chunk-GUHJV7C5.js} +31 -3
  50. package/dist/{chunk-B6ZHSM2D.js → chunk-HXVNBJVA.js} +73 -73
  51. package/dist/{chunk-G2XSDIYS.js → chunk-I52AKG2O.js} +4 -4
  52. package/dist/{chunk-VCFRALU7.js → chunk-I5YD7QPI.js} +28 -11
  53. package/dist/{chunk-ASUDP4OS.js → chunk-IA4FMPJ3.js} +8 -8
  54. package/dist/{chunk-YYBBJPCL.js → chunk-IUBGFCJJ.js} +14 -18
  55. package/dist/{chunk-L4L6YITX.js → chunk-IWFKPEWJ.js} +13 -10
  56. package/dist/{chunk-YP4QTC4F.js → chunk-J564PMKW.js} +6 -6
  57. package/dist/{chunk-AJPICYPW.js → chunk-JVMAWMO3.js} +113 -94
  58. package/dist/{chunk-UH5VQGNR.js → chunk-JXX2QXPP.js} +2 -2
  59. package/dist/{chunk-2DUYJR5N.js → chunk-KHX6VQ4M.js} +2 -2
  60. package/dist/{chunk-LRN6QX44.js → chunk-KL4PGJ2G.js} +3 -3
  61. package/dist/{chunk-BCN6OZLF.js → chunk-KU4HLYWT.js} +3 -3
  62. package/dist/{chunk-WGGATSIP.js → chunk-LMX4VE4H.js} +2 -2
  63. package/dist/{chunk-YT5UN2F4.js → chunk-LYR6W5LV.js} +14 -14
  64. package/dist/{chunk-DXUICABI.js → chunk-LZDH5COS.js} +21 -2
  65. package/dist/{chunk-2NUOFHPX.js → chunk-M42Y53Z4.js} +7 -7
  66. package/dist/{chunk-E5M5P23K.js → chunk-M5GXZEX7.js} +21 -215
  67. package/dist/{chunk-Q4LJCCH5.js → chunk-MGC5S6OE.js} +75 -9
  68. package/dist/{chunk-KVF7YQ2W.js → chunk-MJA5BP2M.js} +9 -9
  69. package/dist/{chunk-5Y5HWQ2P.js → chunk-MKRREVNB.js} +4 -4
  70. package/dist/{chunk-JORPZKBE.js → chunk-N2JZU6VR.js} +3 -3
  71. package/dist/{chunk-QK2WIASY.js → chunk-N3LPULRE.js} +7 -7
  72. package/dist/chunk-OF5YFPSK.js +278 -0
  73. package/dist/{chunk-D4N72H35.js → chunk-OFKFZSHS.js} +9 -9
  74. package/dist/{chunk-64UVVLDT.js → chunk-OG6WYZNA.js} +7 -7
  75. package/dist/{chunk-AJBOGO5U.js → chunk-OQMXCNN7.js} +59 -31
  76. package/dist/{chunk-EPB6FAR5.js → chunk-OSMPI45P.js} +3 -3
  77. package/dist/{chunk-QETVFGD7.js → chunk-OTUPQ7M3.js} +16 -16
  78. package/dist/{chunk-Q45RTKWW.js → chunk-OZVZ3KCH.js} +6 -6
  79. package/dist/{chunk-3X4B5GWY.js → chunk-P3WIMLG2.js} +3 -3
  80. package/dist/{chunk-JUCL5MUZ.js → chunk-PAWLPNBA.js} +8 -8
  81. package/dist/{chunk-GJZMKMWO.js → chunk-PC7XEO7F.js} +2 -2
  82. package/dist/{chunk-MF4W6FHU.js → chunk-Q4R2ABFL.js} +1 -1
  83. package/dist/{chunk-BT6CJNEO.js → chunk-Q77C32ZB.js} +4 -4
  84. package/dist/chunk-QHNSBURP.js +264 -0
  85. package/dist/{chunk-HUGNB6UN.js → chunk-QLXGLHK3.js} +71 -49
  86. package/dist/{chunk-NH5Z2NOD.js → chunk-QZ2PC6B7.js} +3 -3
  87. package/dist/{chunk-GTB7JL3M.js → chunk-QZXSPUNS.js} +6 -6
  88. package/dist/{chunk-LCOCRJ4K.js → chunk-RQGSZ7AR.js} +16 -2
  89. package/dist/{chunk-WLZSKD7E.js → chunk-SQVETROU.js} +3 -3
  90. package/dist/{chunk-554FJWNH.js → chunk-T2LFOMOP.js} +4 -4
  91. package/dist/{chunk-4HMF5TRB.js → chunk-T4HTNHXR.js} +8 -8
  92. package/dist/{chunk-FRJB3NTE.js → chunk-T6KQYCAU.js} +3 -3
  93. package/dist/{chunk-YYDM4DNP.js → chunk-TDSRZDQP.js} +2 -2
  94. package/dist/{chunk-RKNCISPM.js → chunk-VEA6EXJL.js} +3 -3
  95. package/dist/{chunk-KYQRIL4V.js → chunk-VJCUFHTQ.js} +26 -26
  96. package/dist/{chunk-6FCAFWD5.js → chunk-VO62TKK5.js} +3 -77
  97. package/dist/{chunk-3FNEHRJF.js → chunk-VV7FVGOX.js} +8 -8
  98. package/dist/{chunk-HM5X73PY.js → chunk-WK5QDV25.js} +2 -2
  99. package/dist/{chunk-5JUWB6XL.js → chunk-WXY24GKO.js} +7 -7
  100. package/dist/{chunk-XKHQLKUL.js → chunk-X7EK5PTK.js} +3 -3
  101. package/dist/{chunk-CO7US54H.js → chunk-X7IBJLAD.js} +2 -2
  102. package/dist/{chunk-E7VF2JVJ.js → chunk-XD5FOBMZ.js} +10 -10
  103. package/dist/{chunk-PKBC7G5H.js → chunk-XDIPEWLU.js} +25 -1
  104. package/dist/{chunk-NYIFU3BR.js → chunk-XWEDFVJ6.js} +21 -19
  105. package/dist/{chunk-OJ6YGRPV.js → chunk-YAZEB255.js} +3 -3
  106. package/dist/{chunk-UJ5HLRYH.js → chunk-YF7PDN6T.js} +35 -35
  107. package/dist/{chunk-RGPHFHJU.js → chunk-YFVD3LNL.js} +2 -2
  108. package/dist/{chunk-35SI4GBM.js → chunk-YSSAJQH4.js} +3 -3
  109. package/dist/{chunk-UQNDODRU.js → chunk-Z7IINILG.js} +5 -5
  110. package/dist/{chunk-PRSNMSVG.js → chunk-ZCXWOGFL.js} +3 -3
  111. package/dist/{chunk-5AHHO2QA.js → chunk-ZNGUETV7.js} +163 -97
  112. package/dist/cli.d.ts +10 -1
  113. package/dist/cli.js +48 -46
  114. package/dist/{codegen-command-OF3TPC66.js → codegen-command-ZXABRPVP.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-KO5FATR6.js} +55 -53
  119. package/dist/{deploy-source-UHCHCI5Z.js → deploy-source-7GCMMZKV.js} +34 -33
  120. package/dist/{dev-env-sync-XWZVXEI2.js → dev-env-sync-LZ22CSKD.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-DWGV4DFX.js} +69 -67
  124. package/dist/{env-pull-command-SHK4TI6U.js → env-pull-command-5N5AUKJK.js} +52 -50
  125. package/dist/{env-target-ZQSPPN4A.js → env-target-CXZXMK3W.js} +13 -13
  126. package/dist/{env-var-command-Q2ZHKWAQ.js → env-var-command-4RGQALIH.js} +55 -54
  127. package/dist/{ephemeral-2DXWP3VK.js → ephemeral-MNHEWSZ6.js} +11 -11
  128. package/dist/{ephemeral-command-FKOSN56R.js → ephemeral-command-GIB63YX3.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-GW42CN4I.js} +77 -75
  131. package/dist/{gitignore-Z5N6DEEV.js → gitignore-RDEUQHHG.js} +19 -17
  132. package/dist/{guards-LQ7PSXOL.js → guards-N4PUFKN5.js} +3 -2
  133. package/dist/{impersonate-command-R24VBFQA.js → impersonate-command-H72JM5IF.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-ERRMSKPB.js} +52 -50
  138. package/dist/{init-modules-5DYK7V4J.js → init-modules-UH7PPQTB.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-BNX3HEHM.js} +32 -31
  143. package/dist/{landing-record-FYKDJIUF.js → landing-record-ZY4O7OLQ.js} +23 -21
  144. package/dist/{live-diff-YOFOJCFX.js → live-diff-GZ6JUNP6.js} +5 -4
  145. package/dist/local-engine-ai-YWAMTHME.js +47 -0
  146. package/dist/{local-engine-choice-4ZA2HZXH.js → local-engine-choice-PCM45R3A.js} +43 -36
  147. package/dist/local-engine-command-ACJ6YUP7.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-IUHWB43Q.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-EODMA3X5.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-YBBTZB6M.js} +55 -53
  158. package/dist/{login-command-ONGJASKA.js → login-command-DJCCEN5O.js} +39 -32
  159. package/dist/{logout-command-PLYGFHBQ.js → logout-command-6FQLSD5H.js} +16 -16
  160. package/dist/{loop-CLLBQSJF.js → loop-EMTBWN4X.js} +5 -4
  161. package/dist/{marketplace-command-LNNAA7ZK.js → marketplace-command-2JZERTJW.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-KDTBLP6X.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-POYID3M6.js} +26 -26
  168. package/dist/{output-target-QJSHZBVY.js → output-target-55RSDDTO.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-ZP7VVE5T.js} +60 -58
  174. package/dist/{profile-command-PJUA5ZMX.js → profile-command-EP7N7LNQ.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-LX5UWQYG.js +150 -0
  181. package/dist/{prompt-OYQHQWKI.js → prompt-JVYQH4OR.js} +3 -3
  182. package/dist/{publish-command-JSYK6HOW.js → publish-command-DW5VLFJN.js} +65 -63
  183. package/dist/{pull-command-K5X367MA.js → pull-command-ZUDJRRXV.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-Z3HXXLLO.js} +66 -64
  186. package/dist/{release-ns-command-EHNEAEDU.js → release-ns-command-JS3OUEFQ.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-PIKQ3BIJ.js} +4 -4
  189. package/dist/{secrets-file-2RHMJFXQ.js → secrets-file-QLVCR2JD.js} +19 -17
  190. package/dist/{secrets-fill-command-HYMF6EZM.js → secrets-fill-command-BK7NVKPY.js} +52 -50
  191. package/dist/{seed-W5FNE6IB.js → seed-M33F4OJW.js} +3 -3
  192. package/dist/{source-resolve-PMA7SHZE.js → source-resolve-GGRHO6NW.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-3DISBMGH.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-GAV6PZEY.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-D7DSJAXI.js} +41 -40
  202. package/dist/{tenant-IXIW3FOI.js → tenant-SSWC7B3V.js} +12 -12
  203. package/dist/{tenant-command-Y7VCGDMY.js → tenant-command-6S5RU4PP.js} +96 -94
  204. package/dist/{test-command-2RAUNIU5.js → test-command-FSRARFF7.js} +44 -43
  205. package/dist/{tests-N4MMBABH.js → tests-ZFQWDWS2.js} +6 -6
  206. package/dist/{token-4I26OGWH.js → token-XTU3C2DI.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-YSM6DMDB.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-7XW4KPIR.js} +39 -36
  211. package/dist/{update-check-QLB5DV3B.js → update-check-KKDYZG3X.js} +51 -49
  212. package/dist/{upgrade-command-4DCDBDB5.js → upgrade-command-LRJ7V3UW.js} +55 -53
  213. package/dist/{whoami-command-WI4VT3IN.js → whoami-command-FBRWLX5Q.js} +15 -15
  214. package/dist/{workspace-DIM3SBPV.js → workspace-DTM3ZNTM.js} +5 -5
  215. package/dist/{workspace-binding-43PBQEE4.js → workspace-binding-M7XSJIWC.js} +14 -14
  216. package/dist/{workspace-command-FWTHIFVI.js → workspace-command-3T6CT7UA.js} +96 -94
  217. package/dist/{workspace-env-5PJVWQ2O.js → workspace-env-RIKENQFC.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-L3ZZIT6I.js} +6 -6
  222. package/dist/{xanosdk-project-PV3ORVP5.js → xanosdk-project-YVLCGM3Y.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 -38
  232. package/skills/xano-backend/SKILL.md +2 -2
  233. package/dist/.build-fingerprint +0 -1
  234. package/dist/local-engine-command-WQS4SD6N.js +0 -85
  235. package/dist/promote-command-NDYP66LD.js +0 -148
@@ -1,122 +1,123 @@
1
+ import {
2
+ fetchWorkspaceBundle
3
+ } from "./chunk-QLXGLHK3.js";
4
+ import "./chunk-GODAKJ3L.js";
5
+ import "./chunk-4TVHSC4V.js";
1
6
  import {
2
7
  printMicroserviceSection,
3
8
  readMicroservices
4
- } from "./chunk-RVWWNNZQ.js";
5
- import {
6
- fetchWorkspaceBundle
7
- } from "./chunk-HUGNB6UN.js";
8
- import "./chunk-PLOBHRGV.js";
9
- import "./chunk-KG3RDXN5.js";
10
- import "./chunk-QIT2GGNB.js";
9
+ } from "./chunk-EOWNLLLV.js";
10
+ import "./chunk-EPD5J3WA.js";
11
11
  import "./chunk-SVQMDVND.js";
12
- import "./chunk-OJ6YGRPV.js";
13
- import "./chunk-YP4QTC4F.js";
12
+ import "./chunk-OSMPI45P.js";
13
+ import "./chunk-YAZEB255.js";
14
+ import "./chunk-J564PMKW.js";
15
+ import "./chunk-KHX6VQ4M.js";
14
16
  import {
15
17
  confirm
16
- } from "./chunk-AICWDCLJ.js";
17
- import "./chunk-CO7US54H.js";
18
+ } from "./chunk-BBFHZMQA.js";
19
+ import "./chunk-X7IBJLAD.js";
18
20
  import {
19
21
  listTables
20
- } from "./chunk-WLZSKD7E.js";
21
- import "./chunk-EPB6FAR5.js";
22
- import "./chunk-2DUYJR5N.js";
23
- import "./chunk-3DRXWLJ5.js";
24
- import "./chunk-X4DVXBFY.js";
22
+ } from "./chunk-SQVETROU.js";
25
23
  import {
26
24
  listBranches
27
- } from "./chunk-54CJ74BH.js";
25
+ } from "./chunk-C7KO5KKB.js";
26
+ import "./chunk-3DRXWLJ5.js";
27
+ import "./chunk-X4DVXBFY.js";
28
28
  import {
29
29
  reachableWorkspaces,
30
30
  refuseUnreachableWorkspace,
31
31
  unreachableWorkspaceMessage
32
- } from "./chunk-QK2WIASY.js";
33
- import "./chunk-KVF7YQ2W.js";
34
- import "./chunk-Q6AKSLD2.js";
32
+ } from "./chunk-N3LPULRE.js";
33
+ import "./chunk-MJA5BP2M.js";
34
+ import "./chunk-6L32HAIP.js";
35
35
  import "./chunk-2TFRR6JV.js";
36
36
  import {
37
37
  resolveOutputTarget,
38
38
  secretsPhrase,
39
39
  writeExportFile
40
- } from "./chunk-DO5VZIY4.js";
40
+ } from "./chunk-FLM6TN7Q.js";
41
41
  import {
42
42
  secretsCarriedBy
43
- } from "./chunk-3X4B5GWY.js";
44
- import "./chunk-BT6CJNEO.js";
43
+ } from "./chunk-P3WIMLG2.js";
44
+ import "./chunk-Q77C32ZB.js";
45
45
  import {
46
46
  assertBundleFile,
47
47
  assertBundleInput,
48
48
  assertEntryFile,
49
49
  assertValueFiles,
50
50
  loadBundleText
51
- } from "./chunk-5AHHO2QA.js";
52
- import "./chunk-PRSNMSVG.js";
53
- import "./chunk-WDWIXCGB.js";
54
- import "./chunk-NYIFU3BR.js";
55
- import "./chunk-MOVRSULZ.js";
56
- import "./chunk-KYQRIL4V.js";
57
- import "./chunk-UH5VQGNR.js";
58
- import "./chunk-Q45RTKWW.js";
59
- import "./chunk-GA6HTO3O.js";
51
+ } from "./chunk-ZNGUETV7.js";
52
+ import "./chunk-ZCXWOGFL.js";
53
+ import "./chunk-FJS5I6V4.js";
54
+ import "./chunk-XWEDFVJ6.js";
55
+ import "./chunk-5Z4WQQHC.js";
56
+ import "./chunk-VJCUFHTQ.js";
57
+ import "./chunk-JXX2QXPP.js";
58
+ import "./chunk-6TAYTKFM.js";
59
+ import "./chunk-OZVZ3KCH.js";
60
+ import "./chunk-I52AKG2O.js";
61
+ import "./chunk-2MNLRIOX.js";
62
+ import "./chunk-745NOWB7.js";
63
+ import "./chunk-EBSJUSID.js";
60
64
  import {
61
65
  getAccessToken
62
- } from "./chunk-K23RUXSH.js";
63
- import "./chunk-JUCL5MUZ.js";
64
- import "./chunk-5Y5HWQ2P.js";
65
- import "./chunk-F3IA3YWI.js";
66
- import "./chunk-LCOCRJ4K.js";
67
- import "./chunk-OTQF4B37.js";
68
- import "./chunk-G2XSDIYS.js";
69
- import "./chunk-2MNLRIOX.js";
70
- import "./chunk-7UQZ7C4W.js";
71
- import "./chunk-7ZVQIKNL.js";
72
- import "./chunk-XKHQLKUL.js";
73
- import "./chunk-V2MIBJZU.js";
74
- import "./chunk-5JUWB6XL.js";
75
- import "./chunk-WGKKDGSA.js";
66
+ } from "./chunk-64F6ET45.js";
67
+ import "./chunk-PAWLPNBA.js";
68
+ import "./chunk-DAXFWXSV.js";
69
+ import "./chunk-MKRREVNB.js";
76
70
  import "./chunk-ZYJP6BOO.js";
71
+ import "./chunk-FVZ5C3PF.js";
72
+ import "./chunk-RQGSZ7AR.js";
73
+ import "./chunk-LMX4VE4H.js";
74
+ import "./chunk-7ZVQIKNL.js";
75
+ import "./chunk-2H5BQRHF.js";
76
+ import "./chunk-X7EK5PTK.js";
77
+ import "./chunk-CGLYG2VF.js";
78
+ import "./chunk-WXY24GKO.js";
77
79
  import "./chunk-QO6BVGS5.js";
78
- import "./chunk-YYDM4DNP.js";
79
- import "./chunk-SINL5WMI.js";
80
+ import "./chunk-TDSRZDQP.js";
80
81
  import {
81
82
  yesRerun
82
- } from "./chunk-GJZMKMWO.js";
83
+ } from "./chunk-PC7XEO7F.js";
83
84
  import "./chunk-622HUCZT.js";
84
85
  import {
85
86
  contextFlags
86
- } from "./chunk-ZYZ7GRX3.js";
87
- import "./chunk-AJBOGO5U.js";
87
+ } from "./chunk-4DVP42ZC.js";
88
+ import "./chunk-OQMXCNN7.js";
88
89
  import "./chunk-EUUUMY7J.js";
89
- import "./chunk-JORPZKBE.js";
90
- import "./chunk-554FJWNH.js";
91
- import "./chunk-GTB7JL3M.js";
92
- import "./chunk-XAE4NIZ2.js";
90
+ import "./chunk-5ABAIJVV.js";
91
+ import {
92
+ writeData
93
+ } from "./chunk-4GPIOIAC.js";
94
+ import "./chunk-N2JZU6VR.js";
95
+ import "./chunk-T2LFOMOP.js";
96
+ import "./chunk-QZXSPUNS.js";
97
+ import "./chunk-HU7F56VF.js";
98
+ import "./chunk-7J7YRAZB.js";
93
99
  import "./chunk-ZFDZKNGG.js";
94
100
  import "./chunk-FWD7AL6N.js";
95
- import "./chunk-YYBBJPCL.js";
96
- import "./chunk-DXUICABI.js";
97
- import {
98
- bindingFor,
99
- fetchOrExplain,
100
- httpFailure,
101
- parseJsonAnswer
102
- } from "./chunk-NH5Z2NOD.js";
101
+ import "./chunk-IUBGFCJJ.js";
102
+ import "./chunk-37BT62SX.js";
103
103
  import {
104
104
  describeWrite
105
105
  } from "./chunk-4KHEMC32.js";
106
- import "./chunk-WGGATSIP.js";
107
- import "./chunk-2H5BQRHF.js";
108
106
  import "./chunk-DNBP4GJN.js";
109
- import "./chunk-XDGLYIB2.js";
107
+ import "./chunk-DORGB2Y2.js";
110
108
  import "./chunk-WAVNUTMT.js";
111
- import "./chunk-IFHFJR5O.js";
109
+ import "./chunk-LZDH5COS.js";
112
110
  import "./chunk-LLNZGEFK.js";
113
- import "./chunk-HU7F56VF.js";
114
- import "./chunk-MF4W6FHU.js";
115
- import "./chunk-X2NL4KUO.js";
111
+ import "./chunk-4Y3SWNPE.js";
116
112
  import {
117
- writeData
118
- } from "./chunk-4GPIOIAC.js";
119
- import "./chunk-2IC3K22K.js";
113
+ bindingFor,
114
+ fetchOrExplain,
115
+ httpFailure,
116
+ parseJsonAnswer
117
+ } from "./chunk-QZ2PC6B7.js";
118
+ import "./chunk-Q4R2ABFL.js";
119
+ import "./chunk-X2NL4KUO.js";
120
+ import "./chunk-3HK7VELD.js";
120
121
  import "./chunk-O7Z3LF44.js";
121
122
  import "./chunk-6ODQ5GDZ.js";
122
123
  import "./chunk-RHH6SCB4.js";
@@ -143,17 +144,18 @@ import {
143
144
  warn,
144
145
  writeJson,
145
146
  writeTargetPayload
146
- } from "./chunk-ZHFSIQ6E.js";
147
- import "./chunk-Q4LJCCH5.js";
147
+ } from "./chunk-6534P3VH.js";
148
+ import "./chunk-MGC5S6OE.js";
148
149
  import "./chunk-52QAENY6.js";
149
- import "./chunk-RKTVXFBV.js";
150
- import "./chunk-O2BLNQEC.js";
150
+ import "./chunk-GUHJV7C5.js";
151
+ import "./chunk-EME5G4YP.js";
151
152
  import "./chunk-TPUAXIPR.js";
152
153
  import "./chunk-QDPY7RN3.js";
153
- import "./chunk-Z73I7Q2H.js";
154
+ import "./chunk-CJ5WRCVE.js";
154
155
  import "./chunk-4EVDCSEY.js";
155
156
  import "./chunk-RLQX6LHW.js";
156
157
  import "./chunk-U56HK2RG.js";
158
+ import "./chunk-6SXKKDGF.js";
157
159
  import "./chunk-WAP5362D.js";
158
160
  import "./chunk-GSGDWJB5.js";
159
161
  import "./chunk-FSHW3GQU.js";
@@ -173,10 +175,10 @@ import "./chunk-UDZX2ZL4.js";
173
175
  import "./chunk-G6BEJ3NA.js";
174
176
  import "./chunk-F3JK5RIY.js";
175
177
  import "./chunk-TFFGOFVZ.js";
176
- import "./chunk-6SEPZQYB.js";
178
+ import "./chunk-4ZV4MDKP.js";
177
179
  import "./chunk-EHP3WPEG.js";
178
- import "./chunk-PKBC7G5H.js";
179
- import "./chunk-E34VGSCI.js";
180
+ import "./chunk-XDIPEWLU.js";
181
+ import "./chunk-7LLVSTXY.js";
180
182
  import "./chunk-EAZTRU75.js";
181
183
  import "./chunk-FTFAPKCW.js";
182
184
  import "./chunk-EUAU4QKI.js";
@@ -204,7 +206,7 @@ async function runWorkspaceCommand(args) {
204
206
  case "reset-tables":
205
207
  return runResetTables(args);
206
208
  case "branch": {
207
- const { runBranchCommand } = await import("./branch-commands-5HKCBRLN.js");
209
+ const { runBranchCommand } = await import("./branch-commands-JOSHDOXH.js");
208
210
  return runBranchCommand(args);
209
211
  }
210
212
  default:
@@ -233,7 +235,7 @@ async function runDetails(args) {
233
235
  const auth = await getAccessToken(args);
234
236
  const workspaceId = auth.workspaceId;
235
237
  const all = await fetchWorkspaces(auth).catch(async (err) => {
236
- const { unansweredRead } = await import("./source-resolve-PMA7SHZE.js");
238
+ const { unansweredRead } = await import("./source-resolve-GGRHO6NW.js");
237
239
  throw unansweredRead(err, "read the workspace list", "workspace");
238
240
  });
239
241
  const match = all.find((w) => w.id === workspaceId);
@@ -293,7 +295,7 @@ async function runExport(args) {
293
295
  var EXIT_DIFF_MISMATCH = 2;
294
296
  async function runDiff(args) {
295
297
  if (args.file === void 0 && args.bundle === void 0) {
296
- const { resolveProjectEntry } = await import("./deploy-source-UHCHCI5Z.js");
298
+ const { resolveProjectEntry } = await import("./deploy-source-7GCMMZKV.js");
297
299
  const entry = resolveProjectEntry(process.cwd());
298
300
  if (entry !== void 0) args = { ...args, file: entry };
299
301
  }
@@ -306,11 +308,11 @@ async function runDiff(args) {
306
308
  try {
307
309
  live = await fetchWorkspaceBundle(auth, args.branch);
308
310
  } catch (err) {
309
- const { unansweredRead } = await import("./source-resolve-PMA7SHZE.js");
311
+ const { unansweredRead } = await import("./source-resolve-GGRHO6NW.js");
310
312
  throw unansweredRead(err, "read the workspace to compare", "workspace");
311
313
  }
312
- const { SETTINGS_LABEL } = await import("./live-diff-YOFOJCFX.js");
313
- const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-OC7MT4FV.js");
314
+ const { SETTINGS_LABEL } = await import("./live-diff-GZ6JUNP6.js");
315
+ const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-Z3HXXLLO.js");
314
316
  const pinned = codePinnedCanonicals(local.bundle, releaseCanonicalLock(args), args.file !== void 0);
315
317
  const listed = await listBranches(auth, { baseUrl: auth.instance, workspaceId: auth.workspaceId }).catch(
316
318
  () => void 0
@@ -318,9 +320,9 @@ async function runDiff(args) {
318
320
  const liveLabel = listed?.find((b) => b.live)?.label;
319
321
  const comparedLabel = args.branch ?? liveLabel;
320
322
  const comparedIsLive = args.branch === void 0 ? true : liveLabel === void 0 ? null : args.branch === liveLabel;
321
- const { landingLockPath } = await import("./landing-record-FYKDJIUF.js");
322
- const { readSyncBaseline, storedBranchLabel } = await import("./sync-record-AWFCSS4D.js");
323
- const { directedComparison } = await import("./sync-baseline-LSGKNCKM.js");
323
+ const { landingLockPath } = await import("./landing-record-ZY4O7OLQ.js");
324
+ const { readSyncBaseline, storedBranchLabel } = await import("./sync-record-UFEJDNLR.js");
325
+ const { directedComparison } = await import("./sync-baseline-XLRJQZCS.js");
324
326
  const syncLabel = storedBranchLabel(listed, args.branch);
325
327
  const baseline = syncLabel === void 0 ? void 0 : readSyncBaseline(landingLockPath(args, args.file !== void 0 ? { entryFile: args.file } : {}), {
326
328
  instance: auth.instance,
@@ -435,7 +437,7 @@ Pass the entry file: \`xanosdk workspace reset-tables ./index.ts --table <guid>
435
437
  const local = await loadBundleText(args.write === true && !willRefuse ? args : { ...args, lockReadOnly: true }, target, {
436
438
  withSeed: true
437
439
  });
438
- const { seedRowsByTableGuid } = await import("./seed-W5FNE6IB.js");
440
+ const { seedRowsByTableGuid } = await import("./seed-M33F4OJW.js");
439
441
  const seeds = seedRowsByTableGuid(local.content);
440
442
  const declared = projectTables(local.bundle);
441
443
  const unknown = guids.filter((guid) => !declared.some((t) => t.guid === guid));
@@ -472,7 +474,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
472
474
  );
473
475
  }
474
476
  const destination = credentialWriteTarget(auth);
475
- const { countTableRows } = await import("./table-WJ7YDJ6Q.js");
477
+ const { countTableRows } = await import("./table-JHPGUJ2Z.js");
476
478
  const planned = await Promise.all(
477
479
  guids.map(async (guid) => {
478
480
  const table = byGuid.get(guid);
@@ -511,7 +513,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
511
513
  return;
512
514
  }
513
515
  }
514
- const { truncateTable, insertTableRows } = await import("./table-WJ7YDJ6Q.js");
516
+ const { truncateTable, insertTableRows } = await import("./table-JHPGUJ2Z.js");
515
517
  const done = [];
516
518
  for (const t of planned) {
517
519
  step(`Resetting ${t.name}`);
@@ -561,4 +563,4 @@ export {
561
563
  EXIT_DIFF_MISMATCH,
562
564
  runWorkspaceCommand
563
565
  };
564
- //# sourceMappingURL=workspace-command-FWTHIFVI.js.map
566
+ //# sourceMappingURL=workspace-command-3T6CT7UA.js.map
@@ -17,29 +17,31 @@ import {
17
17
  renderWorkspaceEnvFile,
18
18
  valueProblem,
19
19
  workspaceEnvPathIn
20
- } from "./chunk-WDWIXCGB.js";
21
- import "./chunk-JORPZKBE.js";
22
- import "./chunk-554FJWNH.js";
23
- import "./chunk-GTB7JL3M.js";
24
- import "./chunk-XAE4NIZ2.js";
20
+ } from "./chunk-FJS5I6V4.js";
21
+ import "./chunk-N2JZU6VR.js";
22
+ import "./chunk-T2LFOMOP.js";
23
+ import "./chunk-QZXSPUNS.js";
24
+ import {
25
+ projectRootFrom
26
+ } from "./chunk-HU7F56VF.js";
27
+ import "./chunk-7J7YRAZB.js";
25
28
  import "./chunk-ZFDZKNGG.js";
26
29
  import "./chunk-FWD7AL6N.js";
27
- import "./chunk-YYBBJPCL.js";
28
- import "./chunk-DXUICABI.js";
29
- import "./chunk-NH5Z2NOD.js";
30
+ import "./chunk-IUBGFCJJ.js";
31
+ import "./chunk-37BT62SX.js";
30
32
  import "./chunk-4KHEMC32.js";
31
33
  import "./chunk-DNBP4GJN.js";
32
- import "./chunk-XDGLYIB2.js";
34
+ import "./chunk-DORGB2Y2.js";
33
35
  import "./chunk-WAVNUTMT.js";
36
+ import "./chunk-LZDH5COS.js";
34
37
  import "./chunk-LLNZGEFK.js";
35
- import {
36
- projectRootFrom
37
- } from "./chunk-HU7F56VF.js";
38
- import "./chunk-MF4W6FHU.js";
38
+ import "./chunk-4Y3SWNPE.js";
39
+ import "./chunk-QZ2PC6B7.js";
40
+ import "./chunk-Q4R2ABFL.js";
39
41
  import "./chunk-X2NL4KUO.js";
40
42
  import "./chunk-RHH6SCB4.js";
41
43
  import "./chunk-LJM5CIY4.js";
42
- import "./chunk-ZHFSIQ6E.js";
44
+ import "./chunk-6534P3VH.js";
43
45
  import {
44
46
  isRepresentableName,
45
47
  safeNames
@@ -74,4 +76,4 @@ export {
74
76
  valueProblem,
75
77
  workspaceEnvPathIn
76
78
  };
77
- //# sourceMappingURL=workspace-env-5PJVWQ2O.js.map
79
+ //# sourceMappingURL=workspace-env-RIKENQFC.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  assertBranchReadSupported,
3
3
  exportWorkspaceBundle
4
- } from "./chunk-2DUYJR5N.js";
4
+ } from "./chunk-KHX6VQ4M.js";
5
5
  import "./chunk-3DRXWLJ5.js";
6
6
  import "./chunk-X4DVXBFY.js";
7
- import "./chunk-NH5Z2NOD.js";
8
- import "./chunk-MF4W6FHU.js";
7
+ import "./chunk-QZ2PC6B7.js";
8
+ import "./chunk-Q4R2ABFL.js";
9
9
  import "./chunk-X2NL4KUO.js";
10
- import "./chunk-ZHFSIQ6E.js";
10
+ import "./chunk-6534P3VH.js";
11
11
  import "./chunk-FMXPV5JI.js";
12
12
  import "./chunk-UTI5G6OJ.js";
13
13
  import "./chunk-5ZSO4T2G.js";
@@ -18,4 +18,4 @@ export {
18
18
  assertBranchReadSupported,
19
19
  exportWorkspaceBundle
20
20
  };
21
- //# sourceMappingURL=workspace-export-3KMWNZDD.js.map
21
+ //# sourceMappingURL=workspace-export-A4L6272C.js.map
@@ -5,9 +5,9 @@ import {
5
5
  unreadableError,
6
6
  unwritableBlocker,
7
7
  unwritableError
8
- } from "./chunk-YYDM4DNP.js";
8
+ } from "./chunk-TDSRZDQP.js";
9
9
  import "./chunk-FWD7AL6N.js";
10
- import "./chunk-ZHFSIQ6E.js";
10
+ import "./chunk-6534P3VH.js";
11
11
  import "./chunk-FMXPV5JI.js";
12
12
  import "./chunk-UTI5G6OJ.js";
13
13
  import "./chunk-5ZSO4T2G.js";
@@ -22,4 +22,4 @@ export {
22
22
  unwritableBlocker,
23
23
  unwritableError
24
24
  };
25
- //# sourceMappingURL=writable-X7BCN7XE.js.map
25
+ //# sourceMappingURL=writable-762DMPHW.js.map
@@ -3,13 +3,14 @@ import {
3
3
  Xano,
4
4
  standaloneDefKind,
5
5
  workspace
6
- } from "./chunk-O2BLNQEC.js";
6
+ } from "./chunk-EME5G4YP.js";
7
7
  import "./chunk-TPUAXIPR.js";
8
8
  import "./chunk-QDPY7RN3.js";
9
- import "./chunk-Z73I7Q2H.js";
9
+ import "./chunk-CJ5WRCVE.js";
10
10
  import "./chunk-4EVDCSEY.js";
11
11
  import "./chunk-RLQX6LHW.js";
12
12
  import "./chunk-U56HK2RG.js";
13
+ import "./chunk-6SXKKDGF.js";
13
14
  import "./chunk-WAP5362D.js";
14
15
  import "./chunk-GSGDWJB5.js";
15
16
  import "./chunk-FSHW3GQU.js";
@@ -41,4 +42,4 @@ export {
41
42
  standaloneDefKind,
42
43
  workspace
43
44
  };
44
- //# sourceMappingURL=xano-RLSNDM7O.js.map
45
+ //# sourceMappingURL=xano-XZN5SRDH.js.map
@@ -13,15 +13,15 @@ import {
13
13
  resetXanoSdkImportDetection,
14
14
  withDefaultBranchPointer,
15
15
  xanosdkImport
16
- } from "./chunk-2NUOFHPX.js";
16
+ } from "./chunk-M42Y53Z4.js";
17
17
  import "./chunk-3DRXWLJ5.js";
18
18
  import "./chunk-X4DVXBFY.js";
19
- import "./chunk-GA6HTO3O.js";
20
- import "./chunk-NH5Z2NOD.js";
19
+ import "./chunk-EBSJUSID.js";
21
20
  import "./chunk-4KHEMC32.js";
22
- import "./chunk-MF4W6FHU.js";
21
+ import "./chunk-QZ2PC6B7.js";
22
+ import "./chunk-Q4R2ABFL.js";
23
23
  import "./chunk-X2NL4KUO.js";
24
- import "./chunk-ZHFSIQ6E.js";
24
+ import "./chunk-6534P3VH.js";
25
25
  import "./chunk-QDPY7RN3.js";
26
26
  import "./chunk-H2V3N23D.js";
27
27
  import "./chunk-3JDU4VRL.js";
@@ -53,4 +53,4 @@ export {
53
53
  withDefaultBranchPointer,
54
54
  xanosdkImport
55
55
  };
56
- //# sourceMappingURL=xanosdk-import-VOJEAK5Q.js.map
56
+ //# sourceMappingURL=xanosdk-import-L3ZZIT6I.js.map
@@ -3,29 +3,31 @@ import {
3
3
  enterProjectRoot,
4
4
  isProjectDir,
5
5
  projectDirFrom
6
- } from "./chunk-Q45RTKWW.js";
6
+ } from "./chunk-OZVZ3KCH.js";
7
7
  import "./chunk-EUUUMY7J.js";
8
- import "./chunk-JORPZKBE.js";
9
- import "./chunk-554FJWNH.js";
10
- import "./chunk-GTB7JL3M.js";
11
- import "./chunk-XAE4NIZ2.js";
8
+ import "./chunk-5ABAIJVV.js";
9
+ import "./chunk-N2JZU6VR.js";
10
+ import "./chunk-T2LFOMOP.js";
11
+ import "./chunk-QZXSPUNS.js";
12
+ import "./chunk-HU7F56VF.js";
13
+ import "./chunk-7J7YRAZB.js";
12
14
  import "./chunk-ZFDZKNGG.js";
13
15
  import "./chunk-FWD7AL6N.js";
14
- import "./chunk-YYBBJPCL.js";
15
- import "./chunk-DXUICABI.js";
16
- import "./chunk-NH5Z2NOD.js";
16
+ import "./chunk-IUBGFCJJ.js";
17
+ import "./chunk-37BT62SX.js";
17
18
  import "./chunk-4KHEMC32.js";
18
19
  import "./chunk-DNBP4GJN.js";
19
- import "./chunk-XDGLYIB2.js";
20
+ import "./chunk-DORGB2Y2.js";
20
21
  import "./chunk-WAVNUTMT.js";
21
- import "./chunk-IFHFJR5O.js";
22
+ import "./chunk-LZDH5COS.js";
22
23
  import "./chunk-LLNZGEFK.js";
23
- import "./chunk-HU7F56VF.js";
24
- import "./chunk-MF4W6FHU.js";
24
+ import "./chunk-4Y3SWNPE.js";
25
+ import "./chunk-QZ2PC6B7.js";
26
+ import "./chunk-Q4R2ABFL.js";
25
27
  import "./chunk-X2NL4KUO.js";
26
28
  import "./chunk-RHH6SCB4.js";
27
29
  import "./chunk-LJM5CIY4.js";
28
- import "./chunk-ZHFSIQ6E.js";
30
+ import "./chunk-6534P3VH.js";
29
31
  import "./chunk-FMXPV5JI.js";
30
32
  import "./chunk-UTI5G6OJ.js";
31
33
  import "./chunk-5ZSO4T2G.js";
@@ -39,4 +41,4 @@ export {
39
41
  isProjectDir,
40
42
  projectDirFrom
41
43
  };
42
- //# sourceMappingURL=xanosdk-project-PV3ORVP5.js.map
44
+ //# sourceMappingURL=xanosdk-project-YVLCGM3Y.js.map
package/guides/cli.md CHANGED
@@ -27,6 +27,9 @@ npx @xano/sdk marketplace install @xano-sdk/auth # add an add-on to the proje
27
27
  npx @xano/sdk marketplace reinstall <toolchain-package> # re-ask a toolchain module its questions
28
28
  npx @xano/sdk marketplace remove <toolchain-package> # uninstall it and drop what it contributed
29
29
 
30
+ npx @xano/sdk ai models # the current Xano AI models, what each allows and where it runs (no login needed)
31
+ npx @xano/sdk ai models --json --all # …as JSON, retired models included
32
+
30
33
  npx @xano/sdk export ./xano/index.ts # bundle to stdout
31
34
  npx @xano/sdk export ./xano/index.ts --out ws.json
32
35
  npx @xano/sdk compile ./xano/functions/get-user.ts # a single function's JSON
@@ -10,7 +10,7 @@ the real Xano engine golden fixtures, and a coverage report prints on every test
10
10
  | Surface | Coverage |
11
11
  |---|---|
12
12
  | Object kinds | **27 / 31** — counted over the engine's catalog, where each trigger type is its own kind |
13
- | Statements (via `s`) | **219 / 219 (100%)** — every engine statement surface has a factory |
13
+ | Statements (via `s`) | **227 / 227 (100%)** — every engine statement surface has a factory |
14
14
  | Filters (via `fl`) | **246 / 246 (100%)** — every filter's signature is known: 144 carry arguments, 102 take none |
15
15
 
16
16
  The four engine kinds you cannot author here are `tablemap`, the superseded
@@ -24,8 +24,8 @@ SDK's own catalogs; this table is hand-written, so a test asserts every figure i
24
24
  `buildManifest()` (`@xano/sdk/internal`) — the numbers here and the numbers an agent
25
25
  reads cannot disagree.
26
26
 
27
- The statement catalog is generated from the engine's own schemas (`npm run codegen`): 153 of
28
- the 219 surfaces are declarative and carry a typed field schema, and the remaining 66 —
27
+ The statement catalog is generated from the engine's own schemas (`npm run codegen`): 161 of
28
+ the 227 surfaces are declarative and carry a typed field schema, and the remaining 66 —
29
29
  control flow, the `db` family, the call family — are hand-authored. **Reachable ≠ byte-verified**: every surface is
30
30
  authorable, but a structural special without a persisted golden yet emits a shape *modeled*
31
31
  on the engine schema, to be deep-equal'd against fixtures as they are captured.
@@ -64,7 +64,7 @@ can learn the SDK without reading source:
64
64
  - **`manifest.json`** — the exhaustive reference tier, reached by targeted lookup (grep or
65
65
  `jq` one entry; never read it whole). Every object kind (factory, `Xano.register*` method,
66
66
  payload key), every statement surface (the `s.<path>` accessor, stored `mvp:` name, and a
67
- typed field schema for the 153 declarative statements), the value constructors, the tag
67
+ typed field schema for the 161 declarative statements), the value constructors, the tag
68
68
  catalog, the filter catalog, and every CLI command and flag — plus live coverage counts.
69
69
 
70
70
  Both derive from the SDK's own sources of truth (so they can't drift), regenerate with
@@ -25,8 +25,10 @@
25
25
  - `s.mcp.oauth.request({ request, as? })` — a pending sign-in's verified details for your `loginUrl` page to show before the user approves: `{ client_name, client_logo, callback_host, client_verified, server_name }`. Does not consume it.
26
26
  - `s.mcp.oauth.revoke({ mcp_server, user_id? | grant_id? | all?, as? })` — end hosted sign-ins on a server: EXACTLY ONE of `user_id`, `grant_id`, `all: c.bool(true)`, else `export()` fails (`mcp.oauth-revoke-target`). Binds `{ revoked }`.
27
27
  - `agent({ name, guid?, description?, docs?, enabled?, canonical?, tags?, history?, llm, tools?, output? })` — an LLM orchestrator. No top-level `instructions`/`prompt`/`spec` — the prompt lives under `llm`. Invoke from a stack with `s.ai.agent.run({ agent, args })`.
28
- - `llm` (REQUIRED): typed provider settings, a discriminated union on `type` (`"xano-free" | "anthropic" | "openai" | "google-genai"`). Shared fields: `systemPrompt?`, `maxSteps?` (default `5`), and `prompt?` XOR `messages?` (mutually exclusive; both is a type error and throws); plus provider fields (`apiKey?`, `model?`, `temperature?`, `reasoningEffort?`, …). String fields accept Twig placeholders — `{{ $args.x }}` for run inputs (the `args` of `s.ai.agent.run`), `{{ $env.NAME }}` for env vars.
28
+ - `llm` (REQUIRED): typed provider settings, a discriminated union on `type` (`"xano-free" | "xano-ai" | "anthropic" | "openai" | "google-genai"`). Shared fields: `systemPrompt?`, `maxSteps?` (default `5`), and `prompt?` XOR `messages?` (mutually exclusive; both is a type error and throws); plus provider fields (`apiKey?`, `model?`, `temperature?`, `reasoningEffort?`, …). String fields accept Twig placeholders — `{{ $args.x }}` for run inputs (the `args` of `s.ai.agent.run`), `{{ $env.NAME }}` for env vars.
29
29
  - `xano-free` runs only on Xano's cloud: on the Xano Engine on this machine a run fails `ERROR_FATAL` `The free model is not available in this process.` — use a keyed provider there.
30
+ - `xano-ai` on the Xano Engine on this machine: each `deploy` (and the restart `local update` makes) gives the engine a Xano AI credential from the `xanosdk login` sign-in — the profile the project pins, `XANO_PROFILE`, or the default. It lasts as long as the engine runs, A DAY AT MOST, and the next deploy renews it with no restart. Billed to the signed-in user; `--ai-billing instance`, or `"aiBilling": "instance"` under `"xanosdk"."@xano/sdk"` in package.json, bills the owner of the instance signed in to (the flag wins). Without a usable sign-in (none, a pasted meta token, one without Xano AI access) the deploy still succeeds and prints why Xano AI is off and the fix; `--json` carries `ai: { status, billing, expiresAt?, reason? }`. An engine started by an SDK before this needs `xanosdk local stop <name>`, then a deploy.
31
+ - `xano-ai` runs Xano AI models, with no `apiKey`: `model?` must be a literal name (a `{{ … }}` or expression THROWS, since the run would use the default model), and `location?` is `"" | "us" | "global" | "eu"` (or a `{{ … }}` template), set on the agent, not per run (which location wins: `llms/statements-ai.md`). ⚠ A literal `model` the gateway does not list for agents (`agent.models` in `ai models`) runs the default model instead, with no error.
30
32
  - `tools?`: same `ToolsetToolEntry[]` as `mcpServer` — bare `tool()` handles, or a `{ tool, enabled?, auth? }` wrapper when one needs `enabled`/`auth`. A tool reading `auth()` needs the wrapper naming its auth table (see `mcpServer`'s `tools?`).
31
33
  - `output?`: `{ schema: Record<string, input.*>, enabled? }` — structured-output schema. With `tools`, the run executes them first, then shapes its answer into the schema. `schema` is a named-field record authored with the `input.*` catalog, exactly like a `defineFunction`/`query` `input:` map. e.g. `output: { schema: { priority: input.enum(["low","high"]), summary: input.text() } }`. When you pass the agent *handle* to `s.ai.agent.run({ agent })`, `.result` is typed from this schema; `resultShape` only overrides that, or types an agent referenced by bare name.
32
34
  - **Run + read recipe (`s.ai.agent.run`):** bind the run to a var (`s.ai.agent.run({ agent, args, as: "run" })`) — it produces a rich envelope, and the completion is at **`.result`**. Read one structured field with a dotted ref (`response: ref("run.result.priority")`) or the whole completion (`ref("run.result")`, typed from `output.schema`). `args` is a plain object of run inputs (`{ topic: inp("topic") }` — raw literals are fine, e.g. `{ max_steps: 3 }`) surfaced to the agent as `{{ $args.topic }}`. `.toolCalls` is the FINAL step's calls only (often `[]`); every call is a `.steps[].content[]` entry of `type: "tool-call"`. `allowToolExecution` defaults to true. ⚠ `c.bool(false)` does not hide the tools: the model still emits a call, the call never executes, and the run ends with an empty `result` (warns `stack.agent-tools-off`).
@@ -0,0 +1,21 @@
1
+ # AI statements
2
+
3
+ > Read when the stack calls `s.ai.*` (a Xano AI model, an external MCP server) or you choose where a Xano AI call runs.
4
+
5
+ On the Xano AI model statements, `model` takes any string and autocompletes the known models; the suggestions come from a snapshot and can lag. For the current list, what each model allows and where it can run, run `npx @xano/sdk ai models --json` (`--all` adds unlisted models). It keys `statements` by short name: `text`→`s.ai.text.generate`, `image`→`s.ai.image.generate`, `video`→`s.ai.video.generate`, `music`→`s.ai.music.generate`, `speech`→`s.ai.speech.generate`, `transcribe`→`s.ai.speech.transcribe`, `embedding`→`s.ai.embedding.create`, `rerank`→`s.ai.rerank`; `agent.models` are the `xano-ai` agent models. Leave `model` out to run the statement's default. `s.ai.text.generate` needs `prompt` or `messages`. ⚠ `save_to_files` on `s.ai.video.generate`, `s.ai.music.generate` and `s.ai.speech.generate` needs a paid plan (`s.ai.image.generate` does not).
6
+
7
+ - **Where a call runs (`location`)**, on these statements and on a `xano-ai` agent: its own `location` wins; blank inherits the workspace's Xano AI location; blank there too sends none, and the gateway runs the model at its default. An explicit `"global"` opts out of a workspace `"eu"`. A statement refuses, before sending anything, a location its model cannot run at (the model's `locations` in `ai models`); an agent's location is refused by the gateway instead.
8
+ - **The workspace's Xano AI location:** `workspaceConfig({ settings: { ai_settings: { providers: { "xano-ai": { location: "eu" } } } } })`, `"" | "us" | "global" | "eu"`, lowercase (anything else THROWS). A deploy that omits the `xano-ai` block keeps the live location; an empty block or `location: ""` clears it. A merge (`deploy --to`) writes no workspace settings, and `--branch <label>` leaves them alone.
9
+
10
+ - `s.ai.agent.run` [special]
11
+ - `s.ai.embedding.create({ as?: string; model?: value; input: value; task_type?: value; dimensions?: value; location?: "" | "us" | "global" | "eu" })` → as: { embeddings: number[][]; model: string; usage: { input_tokens?: number; output_tokens?: number } } (one vector per input, in input order; a single input still binds a list of one — read embeddings[0])
12
+ - `s.ai.external.mcp.server_details({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream" })`
13
+ - `s.ai.external.mcp.tool.list({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream" })`
14
+ - `s.ai.external.mcp.tool.run({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream"; tool: value; args?: value })`
15
+ - `s.ai.image.generate({ as?: string; model?: value; prompt: value; images?: value; aspect_ratio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9"; image_size?: "1K" | "2K" | "4K"; save_to_files?: "" | "public" | "private"; location?: "" | "us" | "global" | "eu" })` → as: { image: <file resource> | XanoFileRef; text: string; model: string; usage: { input_tokens?: number; output_tokens?: number } } (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)
16
+ - `s.ai.music.generate({ as?: string; model?: value; prompt: value; negative_prompt?: value; seed?: value; save_to_files?: "" | "public" | "private"; location?: "" | "us" | "global" | "eu" })` → as: { audio: <file resource> | XanoFileRef; model: string; lyrics: string | null; description: string | null } (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))
17
+ - `s.ai.rerank({ as?: string; model?: value; query: value; documents: value; top_n?: value; location?: "" | "us" | "global" | "eu" })` → as: { results: { index: number; id: string; score: number; content: string }[]; model: string } (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)
18
+ - `s.ai.speech.generate({ as?: string; model?: value; text: value; voice?: value; instructions?: value; save_to_files?: "" | "public" | "private"; location?: "" | "us" | "global" | "eu" })` → as: { audio: <file resource> | XanoFileRef; model: string; usage: { input_tokens?: number; output_tokens?: number } } (audio is the file resource, or the stored file value when save_to_files is set)
19
+ - `s.ai.speech.transcribe({ as?: string; model?: value; audio: value; language?: value; prompt?: value; location?: "" | "us" | "global" | "eu" })` → as: { text: string; model: string; usage: { input_tokens?: number; output_tokens?: number } }
20
+ - `s.ai.text.generate({ as?: string; model?: value; prompt?: value; system?: value; messages?: value; files?: value; temperature?: value; max_tokens?: value; response_format?: "text" | "json"; json_schema?: value; location?: "" | "us" | "global" | "eu" })` → as: { text: string; json: unknown; model: string; finish_reason: string | null; usage: { input_tokens?: number; output_tokens?: number } } (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 {})
21
+ - `s.ai.video.generate({ as?: string; model?: value; prompt: value; negative_prompt?: value; image?: value; last_image?: value; aspect_ratio?: "16:9" | "9:16"; resolution?: "720p" | "1080p" | "4k"; duration?: value; generate_audio?: value; timeout?: value; save_to_files?: "" | "public" | "private"; location?: "" | "us" | "global" | "eu" })` → as: { video: <file resource> | XanoFileRef; model: string; duration: number } (video is the file resource, or the stored file value when save_to_files is set. duration in SECONDS)
@@ -1,6 +1,6 @@
1
1
  # Statement catalog
2
2
 
3
- > Read for the field signature of a specific statement — every surface, grouped by `s.*` namespace.
3
+ > Read for the field signature of a specific statement — every surface but `s.ai.*`, grouped by `s.*` namespace.
4
4
 
5
5
  `[special]`: hand-written signature (`llms.txt` Specials, `llms/statements-*`). `[output]`: the engine's output flag; in-place mutators carrying it (`s.math.add`, `bitwise.*`) still take no `as`.
6
6
 
@@ -36,13 +36,6 @@
36
36
 
37
37
  - `s.addon.call` [special]
38
38
 
39
- ### ai
40
-
41
- - `s.ai.agent.run` [special]
42
- - `s.ai.external.mcp.server_details({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream" })`
43
- - `s.ai.external.mcp.tool.list({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream" })`
44
- - `s.ai.external.mcp.tool.run({ as?: string; url: value; bearer_token?: value; connection_type?: "sse" | "stream"; tool: value; args?: value })`
45
-
46
39
  ### api
47
40
 
48
41
  - `s.api.call` [special]