@xano/sdk 1.0.10 → 1.0.12

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/CHANGELOG.md +28 -0
  2. package/README.md +5 -4
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-VOGTQ3JE.js → agent-file-refresh-YM5VRRHE.js} +9 -9
  5. package/dist/{agent-skill-command-LDT5JXIO.js → agent-skill-command-GVVCBAGF.js} +45 -45
  6. package/dist/{answer-shape-UMQRXMCX.js → answer-shape-CBUQRSXI.js} +4 -4
  7. package/dist/{backend-dir-UNUO7TNL.js → backend-dir-NZOLU7TL.js} +9 -9
  8. package/dist/{backend-slot-TTRNOQF5.js → backend-slot-X5AUX2TT.js} +3 -3
  9. package/dist/bin.js +46 -46
  10. package/dist/{branch-Q7CDJRU6.js → branch-YS2K3VOB.js} +8 -8
  11. package/dist/{branch-commands-IJ7SK5AM.js → branch-commands-Q46PCVHU.js} +30 -30
  12. package/dist/bundle.d.ts +2 -2
  13. package/dist/bundle.js +5 -5
  14. package/dist/{chunk-4JKXGPXB.js → chunk-2BHYGUTI.js} +2 -2
  15. package/dist/{chunk-KCCZGDQG.js → chunk-2K2G5TSR.js} +3 -3
  16. package/dist/{chunk-ECGRCTVI.js → chunk-2PAVJ3QD.js} +7 -7
  17. package/dist/{chunk-6NXIRULE.js → chunk-2RDZDDPR.js} +28 -28
  18. package/dist/{chunk-VHV25AAO.js → chunk-373AVIL2.js} +7 -7
  19. package/dist/{chunk-YP76ZCQ5.js → chunk-3RZ4UJWV.js} +3 -3
  20. package/dist/{chunk-JSPFDMTV.js → chunk-3XZ44H2E.js} +3 -3
  21. package/dist/{chunk-TG65NWUR.js → chunk-3ZVSOZZC.js} +2 -2
  22. package/dist/{chunk-FZGK4VM5.js → chunk-4COXXP55.js} +4 -4
  23. package/dist/{chunk-76UAME77.js → chunk-4CS4DKQC.js} +2 -2
  24. package/dist/{chunk-GDAWYDHY.js → chunk-4GSXWOBS.js} +3 -3
  25. package/dist/{chunk-XUSL2Z5C.js → chunk-5RSPMSSQ.js} +4 -4
  26. package/dist/{chunk-HDKSHL4Z.js → chunk-5SZSLAAC.js} +3 -3
  27. package/dist/{chunk-NIANORYB.js → chunk-6IOBEJWA.js} +4 -4
  28. package/dist/{chunk-OHTHG3LL.js → chunk-6LECAG3Y.js} +4 -4
  29. package/dist/{chunk-VJTTTIIB.js → chunk-6QJORUHC.js} +2 -2
  30. package/dist/{chunk-3TWQDGQY.js → chunk-74NRFGL7.js} +5 -5
  31. package/dist/{chunk-7KPKDHHI.js → chunk-76SBT7KS.js} +2 -2
  32. package/dist/{chunk-YE7MHW45.js → chunk-7NNLRNXE.js} +4 -4
  33. package/dist/{chunk-2ND7WS3E.js → chunk-7XOQXZ6W.js} +7 -7
  34. package/dist/{chunk-6S263KTM.js → chunk-A3CT26GX.js} +2 -2
  35. package/dist/{chunk-45A3AF2B.js → chunk-AMHAGMJM.js} +109 -123
  36. package/dist/{chunk-CTKBGPM6.js → chunk-ANBIMJPM.js} +8 -8
  37. package/dist/{chunk-ULUUOUQX.js → chunk-AUYXBKGR.js} +2 -2
  38. package/dist/{chunk-BEXZ4XRV.js → chunk-AXNX4NWN.js} +2 -2
  39. package/dist/{chunk-QTMXJQZN.js → chunk-BXVNRUDB.js} +3 -3
  40. package/dist/{chunk-6PTITS3M.js → chunk-C4TZP5PQ.js} +5 -5
  41. package/dist/{chunk-Z52FKP34.js → chunk-CPFWVB3V.js} +13 -13
  42. package/dist/{chunk-HFOGQIII.js → chunk-CTUIMNEM.js} +2 -2
  43. package/dist/{chunk-C6KBZH7M.js → chunk-D4VKPOD4.js} +2 -2
  44. package/dist/{chunk-HVPSDQJB.js → chunk-DB7P2SSK.js} +3 -3
  45. package/dist/{chunk-GN5SQMIQ.js → chunk-DFCYAEBE.js} +2 -2
  46. package/dist/{chunk-DW47JVXI.js → chunk-DH32QXVI.js} +42 -42
  47. package/dist/{chunk-TR7EOUQE.js → chunk-DILYWJVP.js} +2 -2
  48. package/dist/{chunk-ZO3QWFNV.js → chunk-DYGRTWAI.js} +3 -3
  49. package/dist/{chunk-VD7YTLWL.js → chunk-DZUNF7IH.js} +2 -2
  50. package/dist/{chunk-BYYVOX2P.js → chunk-EC5P4W2D.js} +40 -40
  51. package/dist/{chunk-DY3EJWWH.js → chunk-EGEANMMK.js} +2 -2
  52. package/dist/{chunk-436AOVZS.js → chunk-EMAFZROF.js} +8 -8
  53. package/dist/{chunk-5DLDRUCQ.js → chunk-ETMP7SJ3.js} +6 -6
  54. package/dist/{chunk-ETAZIGNT.js → chunk-F2NFNYCB.js} +2 -2
  55. package/dist/{chunk-QXOBZSQD.js → chunk-FLDFKG24.js} +4 -4
  56. package/dist/{chunk-PPI647YF.js → chunk-G3A3XKCS.js} +49 -49
  57. package/dist/{chunk-QL3ZJWGG.js → chunk-H5FAYLCR.js} +2 -2
  58. package/dist/{chunk-7JKNWDYN.js → chunk-H7GMGZHI.js} +2 -2
  59. package/dist/{chunk-TWBENPZR.js → chunk-HA5Y645X.js} +22 -22
  60. package/dist/{chunk-3IFRZXHN.js → chunk-HJSAGGHU.js} +3 -3
  61. package/dist/{chunk-4XHAT7C5.js → chunk-HJZUI2ZU.js} +2 -2
  62. package/dist/{chunk-DSD2NNTX.js → chunk-HUEFVPYW.js} +2 -2
  63. package/dist/{chunk-5QOV52V4.js → chunk-I2AVVARA.js} +2 -2
  64. package/dist/{chunk-3P35HT64.js → chunk-IDOVZLPK.js} +2 -2
  65. package/dist/{chunk-6NEV2PEC.js → chunk-IEDQT4Z3.js} +6 -6
  66. package/dist/{chunk-6JAEMMZ7.js → chunk-IFXPHVPY.js} +3 -3
  67. package/dist/{chunk-6YOH2L3G.js → chunk-JFPLHK6Y.js} +3 -3
  68. package/dist/{chunk-I53OTC3O.js → chunk-JHQAVWHW.js} +3 -3
  69. package/dist/{chunk-B3NH5UBI.js → chunk-JKGRQW6D.js} +4 -4
  70. package/dist/{chunk-IW6E3LES.js → chunk-JPAUQ7MK.js} +3 -3
  71. package/dist/{chunk-XQO4A4Q4.js → chunk-K6BQPFRS.js} +3 -3
  72. package/dist/{chunk-6ZFJEJXZ.js → chunk-KICERNAP.js} +5 -5
  73. package/dist/{chunk-IIAF7VKN.js → chunk-LDSZPRGV.js} +4 -4
  74. package/dist/{chunk-NFSUGVDY.js → chunk-M7DIIJPW.js} +4 -4
  75. package/dist/{chunk-77IFWJ53.js → chunk-MFEO3EHL.js} +3 -3
  76. package/dist/{chunk-C2GHFADU.js → chunk-N3XSXGAL.js} +2 -2
  77. package/dist/{chunk-6BOKCTCM.js → chunk-NZ7ML6LG.js} +4 -4
  78. package/dist/{chunk-S42TFTM5.js → chunk-OBRMA2VK.js} +3 -3
  79. package/dist/{chunk-3UZQ5TMG.js → chunk-OCNTMJSY.js} +3 -3
  80. package/dist/{chunk-KSGITXNE.js → chunk-OK7CBTFW.js} +6 -6
  81. package/dist/{chunk-3TTR4BHW.js → chunk-OKR66IGL.js} +7 -7
  82. package/dist/{chunk-T3ZVNOJC.js → chunk-ONNSFD73.js} +10 -10
  83. package/dist/{chunk-IB6SKACE.js → chunk-P5JF3U65.js} +4 -4
  84. package/dist/{chunk-HMFEWTI7.js → chunk-PBIV4DE2.js} +68 -68
  85. package/dist/{chunk-75MKIQON.js → chunk-PCHIHVX6.js} +4 -4
  86. package/dist/{chunk-PBK257CI.js → chunk-POZ6V4MU.js} +2 -2
  87. package/dist/{chunk-QC3MKMDK.js → chunk-R7XZW4SB.js} +2 -2
  88. package/dist/{chunk-V5RXO5AK.js → chunk-RFB4EXM5.js} +8 -8
  89. package/dist/{chunk-JE7BL5IF.js → chunk-RNVGXJJZ.js} +13 -13
  90. package/dist/{chunk-OBJ7FQDX.js → chunk-RZABQ4YH.js} +2 -2
  91. package/dist/{chunk-U4JD5NMP.js → chunk-SAKWZG5I.js} +6 -6
  92. package/dist/{chunk-DHU3EGGF.js → chunk-SAYHY2N3.js} +8 -8
  93. package/dist/{chunk-EOIJ7MVW.js → chunk-T3HNISBN.js} +3 -3
  94. package/dist/{chunk-KA3JN4SH.js → chunk-TOW4EJON.js} +5 -5
  95. package/dist/{chunk-O376UAZS.js → chunk-U4DSFCH5.js} +164 -10
  96. package/dist/{chunk-THGELNPV.js → chunk-U5CTYBAN.js} +7 -7
  97. package/dist/{chunk-R4NOZBOY.js → chunk-UFFIU57H.js} +4 -4
  98. package/dist/{chunk-FDZ2ANSS.js → chunk-UZ55F3UK.js} +4 -4
  99. package/dist/{chunk-R3LANPQZ.js → chunk-VA4JK4TW.js} +3 -3
  100. package/dist/{chunk-S56YBYMN.js → chunk-VIRFG3WG.js} +2 -2
  101. package/dist/{chunk-LTPF25L2.js → chunk-W2QFR3ZJ.js} +2 -2
  102. package/dist/{chunk-HTP2CLRQ.js → chunk-W5MKVFBQ.js} +5 -5
  103. package/dist/{chunk-6BIOLAJ4.js → chunk-WQNN6WLB.js} +14 -14
  104. package/dist/{chunk-HU6D6PYT.js → chunk-WXLZCBPG.js} +14 -14
  105. package/dist/{chunk-EKTIGGFO.js → chunk-WZXEQUIM.js} +4 -4
  106. package/dist/{chunk-HQPL34O6.js → chunk-XFQAA2SU.js} +2 -2
  107. package/dist/{chunk-H3ZBAR2L.js → chunk-XM56DAM7.js} +8 -8
  108. package/dist/{chunk-PFW7WFAT.js → chunk-XVOODRNK.js} +4 -4
  109. package/dist/{chunk-7MPI7NIW.js → chunk-YJK4NPXC.js} +3 -3
  110. package/dist/{chunk-UVF45BVU.js → chunk-Z6N5N4MN.js} +1 -1
  111. package/dist/cli.d.ts +3 -3
  112. package/dist/cli.js +44 -44
  113. package/dist/{codegen-command-A7M5JLLY.js → codegen-command-H3HO7UFA.js} +64 -64
  114. package/dist/codegen.d.ts +3 -3
  115. package/dist/{commands-FOHIPDKZ.js → commands-IFRAGWGK.js} +2 -2
  116. package/dist/{completion-XUBGMKGV.js → completion-RTXCODHS.js} +2 -2
  117. package/dist/{config-544VCRKP.js → config-EHFXNFSP.js} +3 -3
  118. package/dist/{deploy-command-RP7Q4XBE.js → deploy-command-7PWQJ4VV.js} +51 -51
  119. package/dist/{deploy-source-ITSAHJW7.js → deploy-source-CJHEVGOS.js} +25 -25
  120. package/dist/{dev-env-sync-SN6TL22O.js → dev-env-sync-VVLYQUPR.js} +45 -45
  121. package/dist/{display-name-hint-EZQK2PDU.js → display-name-hint-BKPMISQU.js} +10 -10
  122. package/dist/{emit-D-a6JznN.d.ts → emit-YLt3GfsZ.d.ts} +3 -3
  123. package/dist/env-example-refresh-GLFC2FTE.js +134 -0
  124. package/dist/{env-pull-command-6KEESNVU.js → env-pull-command-OY3SXNJC.js} +42 -42
  125. package/dist/{env-target-HOGLLJN5.js → env-target-PDDDAA5I.js} +9 -9
  126. package/dist/{env-var-command-VOAINMHX.js → env-var-command-UTYDJN24.js} +35 -35
  127. package/dist/{ephemeral-H24NF6WP.js → ephemeral-CART6DIR.js} +8 -8
  128. package/dist/{ephemeral-command-I7VPCBVQ.js → ephemeral-command-ALIHUF7G.js} +43 -43
  129. package/dist/{ephemeral-state-YLZQIOBF.js → ephemeral-state-HPKSKC4Y.js} +7 -7
  130. package/dist/{generate-command-G7EJ7GW4.js → generate-command-S37XFYPD.js} +69 -69
  131. package/dist/{gitignore-WFZ2BTMS.js → gitignore-DKDWGWPS.js} +13 -13
  132. package/dist/{guards-4VPSEOAI.js → guards-RU4C7TFG.js} +5 -5
  133. package/dist/{impersonate-command-ZJDK7ZYO.js → impersonate-command-HPCSKJAV.js} +31 -31
  134. package/dist/{import-TXYVFYJS.js → import-RUBCGLCA.js} +4 -4
  135. package/dist/index.d.ts +8 -8
  136. package/dist/index.js +14 -14
  137. package/dist/{init-command-CTWDNYAZ.js → init-command-RWXBXJPG.js} +49 -49
  138. package/dist/{init-modules-FJITJ6IB.js → init-modules-LFLW2PQC.js} +7 -7
  139. package/dist/{init-web-MSXDARRF.js → init-web-OGKACAOC.js} +2 -2
  140. package/dist/internal.d.ts +6 -6
  141. package/dist/internal.js +28 -17
  142. package/dist/{keep-data-merge-KLNLVBYK.js → keep-data-merge-7JGGZKDM.js} +28 -28
  143. package/dist/{landing-record-ZB4OJQF2.js → landing-record-QJV7KNS4.js} +15 -15
  144. package/dist/{live-diff-CGTGOH3S.js → live-diff-HARRGFV4.js} +8 -8
  145. package/dist/{local-engine-choice-FO7LABXX.js → local-engine-choice-NNSHE5FO.js} +28 -28
  146. package/dist/{local-engine-command-LI7HUH5Y.js → local-engine-command-UGIZ4UO6.js} +33 -33
  147. package/dist/{local-engine-deploy-ID4JJXB5.js → local-engine-deploy-ZZVHBI2X.js} +11 -11
  148. package/dist/{local-engine-lookup-IC7BKAYP.js → local-engine-lookup-QFRKO35F.js} +2 -2
  149. package/dist/{local-engine-mcp-bridge-3SOJMZ5T.js → local-engine-mcp-bridge-T2EFRRAF.js} +4 -4
  150. package/dist/{local-engine-mcp-command-EVYRLPE7.js → local-engine-mcp-command-YUSZC7MF.js} +35 -35
  151. package/dist/{local-engine-process-HG5BGG3F.js → local-engine-process-XH35DURU.js} +6 -6
  152. package/dist/{local-engine-update-check-SKZR7YSC.js → local-engine-update-check-HAXE7BVG.js} +4 -4
  153. package/dist/{lock-commands-I4RARW5F.js → lock-commands-VT4R2DEE.js} +49 -49
  154. package/dist/{login-command-MJT5CCXL.js → login-command-4D3KPQUY.js} +21 -21
  155. package/dist/{logout-command-GSQ2R3XL.js → logout-command-ALKHCJKS.js} +12 -12
  156. package/dist/{loop-XFDS65OD.js → loop-QHZD37KX.js} +8 -8
  157. package/dist/{marketplace-command-GK4F5ZZ2.js → marketplace-command-64TE2NGV.js} +28 -28
  158. package/dist/{marketplace-resolve-PWEYJ2XS.js → marketplace-resolve-HPCRNV5O.js} +5 -5
  159. package/dist/{meta-client-2A7LYGUQ.js → meta-client-7MLLUZB4.js} +10 -10
  160. package/dist/{module-manifest-KY7J63HG.js → module-manifest-EFE6JBZW.js} +3 -3
  161. package/dist/node.d.ts +7 -7
  162. package/dist/node.js +51 -51
  163. package/dist/{operation-outcome-UK5ALWRE.js → operation-outcome-TYAOVNOM.js} +19 -19
  164. package/dist/{output-target-GFPSLLEJ.js → output-target-63ECBUX2.js} +14 -14
  165. package/dist/{plan-disclosure-GNLDYV2A.js → plan-disclosure-WEMB5ZJ2.js} +21 -21
  166. package/dist/{plugin-contributions-PAGG6SUP.js → plugin-contributions-U5PAZKBE.js} +4 -4
  167. package/dist/{plugin-prompt-2MX6LF6X.js → plugin-prompt-O5PAMV5B.js} +4 -4
  168. package/dist/{plugin-questions-AP6VUTOB.js → plugin-questions-ZVYNKDRB.js} +3 -3
  169. package/dist/{preflight-command-LP5D6UOD.js → preflight-command-OUVAX5IJ.js} +56 -56
  170. package/dist/{profile-command-R7XLNTY6.js → profile-command-NUO5U2HQ.js} +22 -22
  171. package/dist/{profile-pointer-4HJQH5ZR.js → profile-pointer-VTOZDBHM.js} +3 -3
  172. package/dist/{project-dependency-ORX45I74.js → project-dependency-EZNTHMWI.js} +6 -6
  173. package/dist/{project-sdk-IYMFVQRC.js → project-sdk-ZGJM4WYQ.js} +3 -3
  174. package/dist/promote-command-MGLAYQDY.js +147 -0
  175. package/dist/{prompt-ZZUYWFQX.js → prompt-F7UVH4GP.js} +3 -3
  176. package/dist/{publish-command-WTVINN5E.js → publish-command-KVGNFBSU.js} +54 -54
  177. package/dist/{pull-command-KFHHW2BA.js → pull-command-OVXIMVUB.js} +67 -67
  178. package/dist/{pull-superseded-UZ3MB53B.js → pull-superseded-77UZ7CHH.js} +3 -3
  179. package/dist/{raw-where-ZMLND6AG.d.ts → raw-where-gWGr-E4t.d.ts} +1 -1
  180. package/dist/{release-command-QUKHOKIY.js → release-command-E54WUJKB.js} +62 -62
  181. package/dist/{release-ns-command-T4R3VODA.js → release-ns-command-SLRL3O3W.js} +78 -78
  182. package/dist/{retry-command-VZYLYDVX.js → retry-command-S5QALD5Z.js} +7 -7
  183. package/dist/{routes-manifest-RIZGSOZC.js → routes-manifest-ET2TTSCL.js} +17 -7
  184. package/dist/{routes-manifest-file-QFPNFJMZ.js → routes-manifest-file-IX4TOZCO.js} +10 -10
  185. package/dist/{secrets-file-J4KFYNFP.js → secrets-file-4NQWGCJG.js} +13 -13
  186. package/dist/{secrets-fill-command-YIU6ESFN.js → secrets-fill-command-5NNHSYFX.js} +48 -48
  187. package/dist/{seed-KEPIS7UZ.js → seed-5YLQRT2D.js} +3 -3
  188. package/dist/{source-resolve-WHXNMVJT.js → source-resolve-HSJSVKUC.js} +17 -17
  189. package/dist/{static-host-JAOT3N3E.js → static-host-TQP3FXPI.js} +4 -4
  190. package/dist/{status-command-DIDOS3JC.js → status-command-UFIMW7SZ.js} +32 -32
  191. package/dist/{store-xUySg-KR.d.ts → store-BM7SQcUt.d.ts} +3 -3
  192. package/dist/{store-YFNDD6GZ.js → store-ZE5BXCOW.js} +5 -5
  193. package/dist/{sync-baseline-3CDL4PKT.js → sync-baseline-JGAAOS25.js} +10 -10
  194. package/dist/{sync-contributions-VAGROOWY.js → sync-contributions-35ZAYBUH.js} +8 -8
  195. package/dist/{sync-record-U65BCPSP.js → sync-record-ILWS44DG.js} +9 -9
  196. package/dist/{table-E5YTK7QX.js → table-V3LTQUY6.js} +5 -5
  197. package/dist/{tables-command-UJLYYMME.js → tables-command-TISOU6DR.js} +30 -30
  198. package/dist/{tenant-DAXJ4P4D.js → tenant-7WUS7Q6V.js} +9 -9
  199. package/dist/{tenant-command-NGKJD3AX.js → tenant-command-ITCPN43T.js} +84 -84
  200. package/dist/{test-command-JOPQCHJA.js → test-command-7SFAJ6HX.js} +30 -30
  201. package/dist/{tests-CLDZWLKF.js → tests-ENFUACKD.js} +5 -5
  202. package/dist/{token-NJ5XPGGM.js → token-OXGOA6WE.js} +8 -8
  203. package/dist/{toolchain-hooks-3ZAAAWPL.js → toolchain-hooks-QIFGPGH2.js} +9 -9
  204. package/dist/{toolchain-modules-4KS3SSJW.js → toolchain-modules-Q3Z6APPF.js} +4 -4
  205. package/dist/{toolchain-peers-AIKWKJH7.js → toolchain-peers-K44IINPG.js} +7 -7
  206. package/dist/{tracked-backend-3U4T6ZA7.js → tracked-backend-IYTIZZYV.js} +28 -28
  207. package/dist/{update-check-5KCA4TE6.js → update-check-LSCQRDRR.js} +47 -47
  208. package/dist/{upgrade-command-MNP6G752.js → upgrade-command-RQEQJO5Y.js} +49 -49
  209. package/dist/{whoami-command-E5CSF3E6.js → whoami-command-NT3FVBZM.js} +11 -11
  210. package/dist/{workspace-WZMBLK4P.js → workspace-5RHOJC7K.js} +4 -4
  211. package/dist/{workspace-binding-JT4EK4HU.js → workspace-binding-YUU6KB53.js} +10 -10
  212. package/dist/{workspace-command-Z7BUA6A5.js → workspace-command-QSJHX5RS.js} +80 -80
  213. package/dist/{workspace-env-KFWW2G7G.js → workspace-env-M7RYVJB3.js} +10 -10
  214. package/dist/{workspace-export-UHY22VBI.js → workspace-export-GHMUSX2P.js} +4 -4
  215. package/dist/{writable-2A6MBSFD.js → writable-Y6CE2CGK.js} +3 -3
  216. package/dist/{xano-6T6L7TTI.js → xano-2A2GT7EH.js} +7 -7
  217. package/dist/{xanosdk-import-FUS3ZGGQ.js → xanosdk-import-4TLNYFKC.js} +5 -5
  218. package/dist/{xanosdk-project-NM2J5YFK.js → xanosdk-project-4NH6332J.js} +11 -11
  219. package/dist/{xdo-CxDr2Q1C.d.ts → xdo-D4OwfF2J.d.ts} +10 -4
  220. package/guides/cli.md +1 -1
  221. package/guides/codes.md +2 -1
  222. package/guides/typed-frontend.md +14 -0
  223. package/llms/client.md +2 -1
  224. package/llms/errors.md +2 -0
  225. package/llms/filters.md +2 -1
  226. package/llms/kinds-agent-mcp.md +2 -0
  227. package/llms/values.md +1 -1
  228. package/llms-full.txt +10 -4
  229. package/llms.txt +1 -1
  230. package/manifest.json +3 -3
  231. package/package.json +1 -1
  232. package/skills/xano-backend/SKILL.md +2 -2
  233. package/dist/env-example-refresh-USAGYVJ2.js +0 -134
  234. package/dist/promote-command-TEVVCM77.js +0 -147
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  ImportHttpError,
3
3
  isSignatureRefusal
4
- } from "./chunk-VJTTTIIB.js";
5
- import "./chunk-TR7EOUQE.js";
4
+ } from "./chunk-6QJORUHC.js";
5
+ import "./chunk-DILYWJVP.js";
6
6
  import "./chunk-MF4W6FHU.js";
7
7
  import "./chunk-X2NL4KUO.js";
8
- import "./chunk-C6KBZH7M.js";
8
+ import "./chunk-D4VKPOD4.js";
9
9
  import "./chunk-YEH5OIPF.js";
10
10
  import "./chunk-UTI5G6OJ.js";
11
11
  import "./chunk-5ZSO4T2G.js";
@@ -16,4 +16,4 @@ export {
16
16
  ImportHttpError,
17
17
  isSignatureRefusal
18
18
  };
19
- //# sourceMappingURL=import-TXYVFYJS.js.map
19
+ //# sourceMappingURL=import-RUBCGLCA.js.map
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { y as Condition, bB as TableDef, aQ as PathParams, x as Comparison, bq as SearchGroup, A as AddonDef, aN as OutputPath, aU as QualifiedCol, M as DbEval, bA as SortDirective, O as DbWhere, a2 as InferRow, aO as OutputRoot, a5 as InternalColsOf, aP as PagingEnvelopeField, k as AggregateRow, Q as EvalFields, aA as MicroserviceDef, g as AgentResultOf, a3 as InputDescriptor, F as FunctionDef, aX as QueryHandle } from './emit-D-a6JznN.js';
2
- export { a as AddonXdo, b as AdoptChange, c as AdoptResult, d as AgentDef, e as AgentHandle, f as AgentOutput, h as AgentSettingsXdo, i as AgentTriggerInputs, j as AgentXdo, l as AnthropicLlm, m as ApiGroupDef, n as ApiGroupXdo, o as AuthRef, B as Bundle, p as BundlePayload, q as BundleType, C as ChannelConversationDef, r as ChannelDeliveryDef, s as ChannelDeliveryGuarantee, t as ChannelPublishDef, u as ChannelPublishWho, v as ChannelRateLimitDef, w as ColumnDef, z as ContainerEnv, D as ContainerPort, E as ContainerResources, G as ContainerVolume, H as CorsConfig, I as CorsMode, J as DatabaseActions, K as DatabaseInputs, N as DbEvalFilter, P as ErrorInputs, R as ExceptionPolicy, S as FieldAccessor, T as GoogleGenAiLlm, U as HistoryInput, V as HostedFile, W as HostedFileAccess, Y as HttpVerb, Z as IndexDef, _ as IndexLang, $ as IndexOp, a0 as IndexType, a1 as IndexXdo, a4 as InputOptions, a6 as KnowledgeDef, a7 as KnowledgeDirSource, a8 as KnowledgeFileSource, a9 as KnowledgeMode, aa as KnowledgeType, ab as LlmPrompt, ac as LlmProvider, ad as LlmSettings, ae as LockEntry, af as LockExportContext, L as LockFile, ag as McpIcon, ah as McpIconMimeType, ai as McpOauth, aj as McpOauthEnvString, ak as McpOauthExternal, al as McpOauthHosted, am as McpOauthPreset, an as McpOauthXdo, ao as McpPathOptions, ap as McpPrimitiveEntry, aq as McpPrimitiveRef, ar as McpServerDef, as as McpServerHandle, at as McpServerTriggerInputs, au as McpServerXdo, av as MergeResult, aw as MessageDeliverTo, ax as MicroserviceChart, ay as MicroserviceConfig, az as MicroserviceContainer, aB as MicroserviceDeployment, aC as MicroserviceIngress, aD as MicroserviceIngressPath, aE as MicroserviceRegistryAuth, aF as MicroserviceVolume, aG as MicroserviceXdo, aH as MiddlewareAttach, aI as MiddlewareAttachEntry, aJ as MiddlewareDef, aK as MiddlewareXdo, aL as ObjectKind, aM as OpenAiLlm, aR as PayloadArrayKey, aS as PromptDef, aT as PromptXdo, aV as QueryDef, aW as QueryFilterName, aY as QueryResponseType, aZ as QueryXdo, a_ as RealtimeActions, a$ as RealtimeChannelActions, b0 as RealtimeChannelDef, b1 as RealtimeChannelHandle, b2 as RealtimeChannelRef, b3 as RealtimeChannelTriggerInputs, b4 as RealtimeChannelXdo, b5 as RealtimeClient, b6 as RealtimeInputs, b7 as RealtimeMessageDef, b8 as RealtimeMessageXdo, b9 as RealtimeServerActions, ba as RealtimeServerDef, bb as RealtimeServerHandle, bc as RealtimeServerRef, bd as RealtimeServerTriggerInputs, be as RealtimeServerXdo, bf as RealtimeUrlOptions, bg as RenameResult, bh as ResourceAnnotations, bi as ResourceDef, bj as ResourceXdo, bk as ResultStrategy, bl as RowOf, bm as ScheduleDef, bn as SchemaCols, bo as SchemaDef, bp as SearchComparison, br as SearchNode, bs as SearchOp, bt as SearchParamValue, bu as SearchParams, bv as SearchParamsMembers, bw as SeedFileSource, bx as SeedRow, by as SeedSource, bz as SortDir, bC as TableXdo, bD as TaskDef, bE as TaskXdo, bF as ToolAnnotations, bG as ToolDef, bH as ToolXdo, bI as ToolsetBaseDef, bJ as ToolsetBaseXdo, bK as ToolsetToolEntry, bL as ToolsetToolRef, bM as ToolsetType, bN as TriggerDef, bO as TriggerObjType, bP as TriggerXdo, bQ as UrlLike, bR as ViewDef, bS as ViewXdo, bT as WorkflowTestDef, bU as WorkflowTestXdo, bV as WorkspaceActions, bW as WorkspaceConfigDef, bX as WorkspaceConfigXdo, bY as WorkspaceHistoryDef, bZ as WorkspaceHistoryXdo, b_ as WorkspaceInputs, b$ as WorkspaceMiddlewareDef, c0 as WorkspaceMiddlewareXdo, X as Xano, c1 as XanoFreeLlm, c2 as addon, c3 as agent, c4 as agentTrigger, c5 as and, c6 as apiGroup, c7 as cmp, c8 as defineFunction, c9 as emit, ca as emitBundle, cb as errorTrigger, cc as expr, cd as hostedFile, ce as input, cf as isHostedFile, cg as knowledge, ch as knowledgeDir, ci as knowledgeFile, cj as mcpServer, ck as mcpServerTrigger, cl as microservice, cm as middleware, cn as mixed, co as or, cp as prompt, cq as query, cr as realtimeChannel, cs as realtimeChannelTrigger, ct as realtimeMessage, cu as realtimeServer, cv as realtimeServerTrigger, cw as realtimeTrigger, cx as resource, cy as seedFile, cz as table, cA as tableTrigger, cB as task, cC as toSearchParams, cD as tool, cE as typedEnv, cF as workflowTest, cG as workspace, cH as workspaceConfig, cI as workspaceTrigger } from './emit-D-a6JznN.js';
3
- import { n as FromFieldMap, S as Statement, H as StatementAnnotations, M as MaybeBodyBrand, b as BranchesBrand, J as StatementOptions, v as ObjectRef, a as AsShapeBrand, o as MemberUpdateBrand, w as Prettify, C as CatchBrand, B as BodyBrand, m as FoundBrand, A as AppendBrand, W as XanoFileRef, x as ProtoKeySafe, N as NoExtraKeys, X as XanoDbLink } from './raw-where-ZMLND6AG.js';
4
- export { c as BrandOpts, d as BrandType, e as BrandValue, f as ConstMethodOpts, D as DecimalMethod, E as EmailMethod, g as EnumDefault, F as FieldAccess, h as FieldDescriptor, i as FieldMap, j as FieldOptions, k as FieldOpts, l as FieldStyleType, I as IntMethod, p as MethodArg, q as MethodOpts, r as MethodSpec, s as MockEntry, t as MockMap, u as MockXdo, O as ObjectOf, P as PasswordMethod, R as RawBrandValue, y as ReadonlyMethods, z as ResponseDef, G as RowFromFieldMap, T as TableRefMethod, K as TextFormat, L as TextMethod, Q as TypeBrand, V as ValueOf, U as VectorMethod, Y as XanoFileUpload, Z as XanoGeoData, _ as XanoGeoPosition, $ as XanoGeoType, a0 as XanoGeoValue, a1 as annotate, a2 as f, a3 as statements } from './raw-where-ZMLND6AG.js';
5
- import { V as Value, N as NotObjMember, i as FilterXdo, j as FilteredValue, A as AuthValue, b as CaughtValue, a4 as CaughtShape, e as ConstValue, R as RefValue, I as InpValue, k as FunctionXdo } from './xdo-CxDr2Q1C.js';
6
- export { C as CacheXdo, a as CaughtField, c as ConditionalContext, d as ConditionalElifContext, E as ExprGroup, f as ExprNode, g as ExprOperand, h as ExprStatement, F as FieldXdo, H as HistoryXdo, l as InputXdo, L as ListBoundsXdo, M as MethodXdo, P as PersistedFunctionRow, Q as QUERY_AGGREGATE_NAMES, m as QUERY_FILTER_NAMES, n as QUERY_FILTER_SPECS, o as QueryFilter, p as QueryFilterResults, q as RegexValue, r as ResultItemXdo, S as StackItemXdo, s as StatementInputXdo, T as TAGS, t as TEST_EXPECT_TYPES, u as Tag, v as TaggedValue, w as TestDef, x as TestExpect, y as TestExpectType, z as TestXdo, B as auth, D as c, G as caught, J as col, K as env, O as expect, U as filter, W as inp, X as out, Y as qf, Z as ref, _ as resp, $ as setting, a0 as sys, a1 as test, a2 as toolset, a3 as withFilters } from './xdo-CxDr2Q1C.js';
7
- import { f as FilterResults, E as ElementResult, S as SameArrayResult, G as GroupedArrayResult, a3 as fl$1, O as OutputAuthored, Y as generated } from './store-xUySg-KR.js';
8
- export { A as AmbientBindings, d as Authored, e as Capturable, b as CaptureRecord, C as CaptureValue, F as FieldRule, I as IteratingBindings, g as LAMBDA_BINDINGS, h as LAMBDA_CODE_FILTERS, i as LAMBDA_GLOBALS, j as LAMBDA_MODULE_GLOBALS, k as LAMBDA_STATEMENTS, c as LambdaBindings, l as LambdaBody, L as LambdaOptions, a as LambdaSurface, M as Manifest, m as ManifestField, n as ManifestKind, o as ManifestStatement, p as ManifestValue, R as RawLambdaOptions, q as Route, r as StatementSpec, s as assertLambdaBody, t as bitwiseAnd, u as bitwiseOr, v as bitwiseXor, a4 as lam, w as mathAdd, x as mathDiv, y as mathMul, z as mathSub, B as objectEntries, D as objectKeys, H as objectValues, J as resetLockOverrides, K as seedLockOverrides, N as textAppend, P as textPrepend } from './store-xUySg-KR.js';
1
+ import { y as Condition, bB as TableDef, aQ as PathParams, x as Comparison, bq as SearchGroup, A as AddonDef, aN as OutputPath, aU as QualifiedCol, M as DbEval, bA as SortDirective, O as DbWhere, a2 as InferRow, aO as OutputRoot, a5 as InternalColsOf, aP as PagingEnvelopeField, k as AggregateRow, Q as EvalFields, aA as MicroserviceDef, g as AgentResultOf, a3 as InputDescriptor, F as FunctionDef, aX as QueryHandle } from './emit-YLt3GfsZ.js';
2
+ export { a as AddonXdo, b as AdoptChange, c as AdoptResult, d as AgentDef, e as AgentHandle, f as AgentOutput, h as AgentSettingsXdo, i as AgentTriggerInputs, j as AgentXdo, l as AnthropicLlm, m as ApiGroupDef, n as ApiGroupXdo, o as AuthRef, B as Bundle, p as BundlePayload, q as BundleType, C as ChannelConversationDef, r as ChannelDeliveryDef, s as ChannelDeliveryGuarantee, t as ChannelPublishDef, u as ChannelPublishWho, v as ChannelRateLimitDef, w as ColumnDef, z as ContainerEnv, D as ContainerPort, E as ContainerResources, G as ContainerVolume, H as CorsConfig, I as CorsMode, J as DatabaseActions, K as DatabaseInputs, N as DbEvalFilter, P as ErrorInputs, R as ExceptionPolicy, S as FieldAccessor, T as GoogleGenAiLlm, U as HistoryInput, V as HostedFile, W as HostedFileAccess, Y as HttpVerb, Z as IndexDef, _ as IndexLang, $ as IndexOp, a0 as IndexType, a1 as IndexXdo, a4 as InputOptions, a6 as KnowledgeDef, a7 as KnowledgeDirSource, a8 as KnowledgeFileSource, a9 as KnowledgeMode, aa as KnowledgeType, ab as LlmPrompt, ac as LlmProvider, ad as LlmSettings, ae as LockEntry, af as LockExportContext, L as LockFile, ag as McpIcon, ah as McpIconMimeType, ai as McpOauth, aj as McpOauthEnvString, ak as McpOauthExternal, al as McpOauthHosted, am as McpOauthPreset, an as McpOauthXdo, ao as McpPathOptions, ap as McpPrimitiveEntry, aq as McpPrimitiveRef, ar as McpServerDef, as as McpServerHandle, at as McpServerTriggerInputs, au as McpServerXdo, av as MergeResult, aw as MessageDeliverTo, ax as MicroserviceChart, ay as MicroserviceConfig, az as MicroserviceContainer, aB as MicroserviceDeployment, aC as MicroserviceIngress, aD as MicroserviceIngressPath, aE as MicroserviceRegistryAuth, aF as MicroserviceVolume, aG as MicroserviceXdo, aH as MiddlewareAttach, aI as MiddlewareAttachEntry, aJ as MiddlewareDef, aK as MiddlewareXdo, aL as ObjectKind, aM as OpenAiLlm, aR as PayloadArrayKey, aS as PromptDef, aT as PromptXdo, aV as QueryDef, aW as QueryFilterName, aY as QueryResponseType, aZ as QueryXdo, a_ as RealtimeActions, a$ as RealtimeChannelActions, b0 as RealtimeChannelDef, b1 as RealtimeChannelHandle, b2 as RealtimeChannelRef, b3 as RealtimeChannelTriggerInputs, b4 as RealtimeChannelXdo, b5 as RealtimeClient, b6 as RealtimeInputs, b7 as RealtimeMessageDef, b8 as RealtimeMessageXdo, b9 as RealtimeServerActions, ba as RealtimeServerDef, bb as RealtimeServerHandle, bc as RealtimeServerRef, bd as RealtimeServerTriggerInputs, be as RealtimeServerXdo, bf as RealtimeUrlOptions, bg as RenameResult, bh as ResourceAnnotations, bi as ResourceDef, bj as ResourceXdo, bk as ResultStrategy, bl as RowOf, bm as ScheduleDef, bn as SchemaCols, bo as SchemaDef, bp as SearchComparison, br as SearchNode, bs as SearchOp, bt as SearchParamValue, bu as SearchParams, bv as SearchParamsMembers, bw as SeedFileSource, bx as SeedRow, by as SeedSource, bz as SortDir, bC as TableXdo, bD as TaskDef, bE as TaskXdo, bF as ToolAnnotations, bG as ToolDef, bH as ToolXdo, bI as ToolsetBaseDef, bJ as ToolsetBaseXdo, bK as ToolsetToolEntry, bL as ToolsetToolRef, bM as ToolsetType, bN as TriggerDef, bO as TriggerObjType, bP as TriggerXdo, bQ as UrlLike, bR as ViewDef, bS as ViewXdo, bT as WorkflowTestDef, bU as WorkflowTestXdo, bV as WorkspaceActions, bW as WorkspaceConfigDef, bX as WorkspaceConfigXdo, bY as WorkspaceHistoryDef, bZ as WorkspaceHistoryXdo, b_ as WorkspaceInputs, b$ as WorkspaceMiddlewareDef, c0 as WorkspaceMiddlewareXdo, X as Xano, c1 as XanoFreeLlm, c2 as addon, c3 as agent, c4 as agentTrigger, c5 as and, c6 as apiGroup, c7 as cmp, c8 as defineFunction, c9 as emit, ca as emitBundle, cb as errorTrigger, cc as expr, cd as hostedFile, ce as input, cf as isHostedFile, cg as knowledge, ch as knowledgeDir, ci as knowledgeFile, cj as mcpServer, ck as mcpServerTrigger, cl as microservice, cm as middleware, cn as mixed, co as or, cp as prompt, cq as query, cr as realtimeChannel, cs as realtimeChannelTrigger, ct as realtimeMessage, cu as realtimeServer, cv as realtimeServerTrigger, cw as realtimeTrigger, cx as resource, cy as seedFile, cz as table, cA as tableTrigger, cB as task, cC as toSearchParams, cD as tool, cE as typedEnv, cF as workflowTest, cG as workspace, cH as workspaceConfig, cI as workspaceTrigger } from './emit-YLt3GfsZ.js';
3
+ import { n as FromFieldMap, S as Statement, H as StatementAnnotations, M as MaybeBodyBrand, b as BranchesBrand, J as StatementOptions, v as ObjectRef, a as AsShapeBrand, o as MemberUpdateBrand, w as Prettify, C as CatchBrand, B as BodyBrand, m as FoundBrand, A as AppendBrand, W as XanoFileRef, x as ProtoKeySafe, N as NoExtraKeys, X as XanoDbLink } from './raw-where-gWGr-E4t.js';
4
+ export { c as BrandOpts, d as BrandType, e as BrandValue, f as ConstMethodOpts, D as DecimalMethod, E as EmailMethod, g as EnumDefault, F as FieldAccess, h as FieldDescriptor, i as FieldMap, j as FieldOptions, k as FieldOpts, l as FieldStyleType, I as IntMethod, p as MethodArg, q as MethodOpts, r as MethodSpec, s as MockEntry, t as MockMap, u as MockXdo, O as ObjectOf, P as PasswordMethod, R as RawBrandValue, y as ReadonlyMethods, z as ResponseDef, G as RowFromFieldMap, T as TableRefMethod, K as TextFormat, L as TextMethod, Q as TypeBrand, V as ValueOf, U as VectorMethod, Y as XanoFileUpload, Z as XanoGeoData, _ as XanoGeoPosition, $ as XanoGeoType, a0 as XanoGeoValue, a1 as annotate, a2 as f, a3 as statements } from './raw-where-gWGr-E4t.js';
5
+ import { V as Value, N as NotObjMember, i as FilterXdo, j as FilteredValue, A as AuthValue, b as CaughtValue, a4 as CaughtShape, e as ConstValue, R as RefValue, I as InpValue, k as FunctionXdo } from './xdo-D4OwfF2J.js';
6
+ export { C as CacheXdo, a as CaughtField, c as ConditionalContext, d as ConditionalElifContext, E as ExprGroup, f as ExprNode, g as ExprOperand, h as ExprStatement, F as FieldXdo, H as HistoryXdo, l as InputXdo, L as ListBoundsXdo, M as MethodXdo, P as PersistedFunctionRow, Q as QUERY_AGGREGATE_NAMES, m as QUERY_FILTER_NAMES, n as QUERY_FILTER_SPECS, o as QueryFilter, p as QueryFilterResults, q as RegexValue, r as ResultItemXdo, S as StackItemXdo, s as StatementInputXdo, T as TAGS, t as TEST_EXPECT_TYPES, u as Tag, v as TaggedValue, w as TestDef, x as TestExpect, y as TestExpectType, z as TestXdo, B as auth, D as c, G as caught, J as col, K as env, O as expect, U as filter, W as inp, X as out, Y as qf, Z as ref, _ as resp, $ as setting, a0 as sys, a1 as test, a2 as toolset, a3 as withFilters } from './xdo-D4OwfF2J.js';
7
+ import { f as FilterResults, E as ElementResult, S as SameArrayResult, G as GroupedArrayResult, a3 as fl$1, O as OutputAuthored, Y as generated } from './store-BM7SQcUt.js';
8
+ export { A as AmbientBindings, d as Authored, e as Capturable, b as CaptureRecord, C as CaptureValue, F as FieldRule, I as IteratingBindings, g as LAMBDA_BINDINGS, h as LAMBDA_CODE_FILTERS, i as LAMBDA_GLOBALS, j as LAMBDA_MODULE_GLOBALS, k as LAMBDA_STATEMENTS, c as LambdaBindings, l as LambdaBody, L as LambdaOptions, a as LambdaSurface, M as Manifest, m as ManifestField, n as ManifestKind, o as ManifestStatement, p as ManifestValue, R as RawLambdaOptions, q as Route, r as StatementSpec, s as assertLambdaBody, t as bitwiseAnd, u as bitwiseOr, v as bitwiseXor, a4 as lam, w as mathAdd, x as mathDiv, y as mathMul, z as mathSub, B as objectEntries, D as objectKeys, H as objectValues, J as resetLockOverrides, K as seedLockOverrides, N as textAppend, P as textPrepend } from './store-BM7SQcUt.js';
9
9
 
10
10
  /**
11
11
  * `InferInput<Q>` — the request-payload TS type for a query (or function) def's
package/dist/index.js CHANGED
@@ -7,15 +7,15 @@ import {
7
7
  fileUrl,
8
8
  fl,
9
9
  qf
10
- } from "./chunk-EOIJ7MVW.js";
10
+ } from "./chunk-T3HNISBN.js";
11
11
  import {
12
12
  TEST_EXPECT_TYPES,
13
13
  expect,
14
14
  respond
15
- } from "./chunk-EKTIGGFO.js";
15
+ } from "./chunk-WZXEQUIM.js";
16
16
  import {
17
17
  compile
18
- } from "./chunk-DSD2NNTX.js";
18
+ } from "./chunk-HUEFVPYW.js";
19
19
  import {
20
20
  actionCall,
21
21
  actionPackageCall,
@@ -94,24 +94,24 @@ import {
94
94
  workflowTest,
95
95
  workflowTestCall,
96
96
  workspaceTrigger
97
- } from "./chunk-T3ZVNOJC.js";
97
+ } from "./chunk-ONNSFD73.js";
98
98
  import {
99
99
  query,
100
100
  test,
101
101
  toSearchParams
102
- } from "./chunk-OHTHG3LL.js";
102
+ } from "./chunk-6LECAG3Y.js";
103
103
  import {
104
104
  typedEnv,
105
105
  workspaceConfig
106
- } from "./chunk-6JAEMMZ7.js";
106
+ } from "./chunk-IFXPHVPY.js";
107
107
  import {
108
108
  Xano,
109
109
  workspace
110
- } from "./chunk-6ZFJEJXZ.js";
110
+ } from "./chunk-KICERNAP.js";
111
111
  import "./chunk-45ZUMF4E.js";
112
112
  import {
113
113
  obj
114
- } from "./chunk-7KPKDHHI.js";
114
+ } from "./chunk-76SBT7KS.js";
115
115
  import "./chunk-7FIMUFBP.js";
116
116
  import {
117
117
  apiGroup,
@@ -137,10 +137,10 @@ import {
137
137
  guard,
138
138
  ignored,
139
139
  microservice
140
- } from "./chunk-6BOKCTCM.js";
140
+ } from "./chunk-NZ7ML6LG.js";
141
141
  import "./chunk-ICK36EGF.js";
142
- import "./chunk-BEXZ4XRV.js";
143
- import "./chunk-ETAZIGNT.js";
142
+ import "./chunk-AXNX4NWN.js";
143
+ import "./chunk-F2NFNYCB.js";
144
144
  import "./chunk-GSGDWJB5.js";
145
145
  import {
146
146
  and,
@@ -171,11 +171,11 @@ import {
171
171
  annotate,
172
172
  statements
173
173
  } from "./chunk-A2AOUBJS.js";
174
- import "./chunk-4XHAT7C5.js";
174
+ import "./chunk-HJZUI2ZU.js";
175
175
  import {
176
176
  f,
177
177
  input
178
- } from "./chunk-S56YBYMN.js";
178
+ } from "./chunk-VIRFG3WG.js";
179
179
  import {
180
180
  LAMBDA_BINDINGS,
181
181
  LAMBDA_CODE_FILTERS,
@@ -198,7 +198,7 @@ import {
198
198
  sys,
199
199
  toolset,
200
200
  withFilters
201
- } from "./chunk-UVF45BVU.js";
201
+ } from "./chunk-Z6N5N4MN.js";
202
202
  import "./chunk-VAX3UZOY.js";
203
203
  import "./chunk-LL6ED5IB.js";
204
204
  import {
@@ -18,58 +18,58 @@ import {
18
18
  templateVarsFor,
19
19
  workflowMoveTarget,
20
20
  workflowPlacementNote
21
- } from "./chunk-DW47JVXI.js";
22
- import "./chunk-O376UAZS.js";
23
- import "./chunk-HQPL34O6.js";
24
- import "./chunk-IIAF7VKN.js";
25
- import "./chunk-45A3AF2B.js";
26
- import "./chunk-XQO4A4Q4.js";
27
- import "./chunk-XUSL2Z5C.js";
28
- import "./chunk-JE7BL5IF.js";
29
- import "./chunk-PBK257CI.js";
30
- import "./chunk-HU6D6PYT.js";
31
- import "./chunk-7JKNWDYN.js";
32
- import "./chunk-NIANORYB.js";
33
- import "./chunk-VJTTTIIB.js";
34
- import "./chunk-CTKBGPM6.js";
35
- import "./chunk-2ND7WS3E.js";
21
+ } from "./chunk-DH32QXVI.js";
22
+ import "./chunk-U4DSFCH5.js";
23
+ import "./chunk-XFQAA2SU.js";
24
+ import "./chunk-LDSZPRGV.js";
25
+ import "./chunk-AMHAGMJM.js";
26
+ import "./chunk-K6BQPFRS.js";
27
+ import "./chunk-5RSPMSSQ.js";
28
+ import "./chunk-RNVGXJJZ.js";
29
+ import "./chunk-POZ6V4MU.js";
30
+ import "./chunk-WXLZCBPG.js";
31
+ import "./chunk-H7GMGZHI.js";
32
+ import "./chunk-6IOBEJWA.js";
33
+ import "./chunk-6QJORUHC.js";
34
+ import "./chunk-ANBIMJPM.js";
35
+ import "./chunk-7XOQXZ6W.js";
36
36
  import "./chunk-5Y5HWQ2P.js";
37
37
  import "./chunk-F3IA3YWI.js";
38
38
  import "./chunk-LCOCRJ4K.js";
39
- import "./chunk-NFSUGVDY.js";
40
- import "./chunk-YE7MHW45.js";
39
+ import "./chunk-M7DIIJPW.js";
40
+ import "./chunk-7NNLRNXE.js";
41
41
  import "./chunk-2MNLRIOX.js";
42
- import "./chunk-PFW7WFAT.js";
42
+ import "./chunk-XVOODRNK.js";
43
43
  import "./chunk-CJDPSCMX.js";
44
- import "./chunk-GDAWYDHY.js";
45
- import "./chunk-VD7YTLWL.js";
46
- import "./chunk-FZGK4VM5.js";
47
- import "./chunk-S42TFTM5.js";
44
+ import "./chunk-4GSXWOBS.js";
45
+ import "./chunk-DZUNF7IH.js";
46
+ import "./chunk-4COXXP55.js";
47
+ import "./chunk-OBRMA2VK.js";
48
48
  import "./chunk-ZYJP6BOO.js";
49
49
  import "./chunk-QO6BVGS5.js";
50
- import "./chunk-ULUUOUQX.js";
51
- import "./chunk-TG65NWUR.js";
52
- import "./chunk-C2GHFADU.js";
50
+ import "./chunk-AUYXBKGR.js";
51
+ import "./chunk-3ZVSOZZC.js";
52
+ import "./chunk-N3XSXGAL.js";
53
53
  import "./chunk-622HUCZT.js";
54
- import "./chunk-6S263KTM.js";
55
- import "./chunk-IB6SKACE.js";
54
+ import "./chunk-A3CT26GX.js";
55
+ import "./chunk-P5JF3U65.js";
56
56
  import "./chunk-EUUUMY7J.js";
57
- import "./chunk-77IFWJ53.js";
58
- import "./chunk-JSPFDMTV.js";
59
- import "./chunk-U4JD5NMP.js";
60
- import "./chunk-B3NH5UBI.js";
57
+ import "./chunk-MFEO3EHL.js";
58
+ import "./chunk-3XZ44H2E.js";
59
+ import "./chunk-SAKWZG5I.js";
60
+ import "./chunk-JKGRQW6D.js";
61
61
  import "./chunk-ZFDZKNGG.js";
62
62
  import "./chunk-FWD7AL6N.js";
63
- import "./chunk-6PTITS3M.js";
63
+ import "./chunk-C4TZP5PQ.js";
64
64
  import "./chunk-DXUICABI.js";
65
- import "./chunk-TR7EOUQE.js";
65
+ import "./chunk-DILYWJVP.js";
66
66
  import "./chunk-4KHEMC32.js";
67
- import "./chunk-GN5SQMIQ.js";
67
+ import "./chunk-DFCYAEBE.js";
68
68
  import "./chunk-MFWF2NZJ.js";
69
69
  import "./chunk-DNBP4GJN.js";
70
- import "./chunk-QL3ZJWGG.js";
70
+ import "./chunk-H5FAYLCR.js";
71
71
  import "./chunk-WAVNUTMT.js";
72
- import "./chunk-5QOV52V4.js";
72
+ import "./chunk-I2AVVARA.js";
73
73
  import "./chunk-LLNZGEFK.js";
74
74
  import "./chunk-HU7F56VF.js";
75
75
  import "./chunk-MF4W6FHU.js";
@@ -79,18 +79,18 @@ import "./chunk-C2SAVXAB.js";
79
79
  import "./chunk-IZI3SYXH.js";
80
80
  import "./chunk-LJM5CIY4.js";
81
81
  import "./chunk-7REDHC4N.js";
82
- import "./chunk-C6KBZH7M.js";
83
- import "./chunk-T3ZVNOJC.js";
84
- import "./chunk-OHTHG3LL.js";
85
- import "./chunk-6JAEMMZ7.js";
86
- import "./chunk-6ZFJEJXZ.js";
82
+ import "./chunk-D4VKPOD4.js";
83
+ import "./chunk-ONNSFD73.js";
84
+ import "./chunk-6LECAG3Y.js";
85
+ import "./chunk-IFXPHVPY.js";
86
+ import "./chunk-KICERNAP.js";
87
87
  import "./chunk-45ZUMF4E.js";
88
- import "./chunk-7KPKDHHI.js";
88
+ import "./chunk-76SBT7KS.js";
89
89
  import "./chunk-7FIMUFBP.js";
90
- import "./chunk-6BOKCTCM.js";
90
+ import "./chunk-NZ7ML6LG.js";
91
91
  import "./chunk-ICK36EGF.js";
92
- import "./chunk-BEXZ4XRV.js";
93
- import "./chunk-ETAZIGNT.js";
92
+ import "./chunk-AXNX4NWN.js";
93
+ import "./chunk-F2NFNYCB.js";
94
94
  import "./chunk-GSGDWJB5.js";
95
95
  import "./chunk-B5N6EWOM.js";
96
96
  import "./chunk-ERVIASGL.js";
@@ -108,9 +108,9 @@ import "./chunk-ZY55DO5P.js";
108
108
  import "./chunk-A2AOUBJS.js";
109
109
  import "./chunk-TFFGOFVZ.js";
110
110
  import "./chunk-EHP3WPEG.js";
111
- import "./chunk-4XHAT7C5.js";
112
- import "./chunk-S56YBYMN.js";
113
- import "./chunk-UVF45BVU.js";
111
+ import "./chunk-HJZUI2ZU.js";
112
+ import "./chunk-VIRFG3WG.js";
113
+ import "./chunk-Z6N5N4MN.js";
114
114
  import "./chunk-VAX3UZOY.js";
115
115
  import "./chunk-LL6ED5IB.js";
116
116
  import "./chunk-4BW2SG2N.js";
@@ -140,4 +140,4 @@ export {
140
140
  workflowMoveTarget,
141
141
  workflowPlacementNote
142
142
  };
143
- //# sourceMappingURL=init-command-CTWDNYAZ.js.map
143
+ //# sourceMappingURL=init-command-RWXBXJPG.js.map
@@ -12,21 +12,21 @@ import {
12
12
  renderImports,
13
13
  renderRegisterCall,
14
14
  renderXanoIndexWithModules
15
- } from "./chunk-U4JD5NMP.js";
16
- import "./chunk-B3NH5UBI.js";
15
+ } from "./chunk-SAKWZG5I.js";
16
+ import "./chunk-JKGRQW6D.js";
17
17
  import "./chunk-ZFDZKNGG.js";
18
18
  import "./chunk-FWD7AL6N.js";
19
- import "./chunk-6PTITS3M.js";
19
+ import "./chunk-C4TZP5PQ.js";
20
20
  import "./chunk-DXUICABI.js";
21
- import "./chunk-TR7EOUQE.js";
21
+ import "./chunk-DILYWJVP.js";
22
22
  import "./chunk-4KHEMC32.js";
23
23
  import "./chunk-DNBP4GJN.js";
24
- import "./chunk-QL3ZJWGG.js";
24
+ import "./chunk-H5FAYLCR.js";
25
25
  import "./chunk-WAVNUTMT.js";
26
26
  import "./chunk-LLNZGEFK.js";
27
27
  import "./chunk-MF4W6FHU.js";
28
28
  import "./chunk-X2NL4KUO.js";
29
- import "./chunk-C6KBZH7M.js";
29
+ import "./chunk-D4VKPOD4.js";
30
30
  import "./chunk-YEH5OIPF.js";
31
31
  import "./chunk-UTI5G6OJ.js";
32
32
  import "./chunk-5ZSO4T2G.js";
@@ -48,4 +48,4 @@ export {
48
48
  renderRegisterCall,
49
49
  renderXanoIndexWithModules
50
50
  };
51
- //# sourceMappingURL=init-modules-FJITJ6IB.js.map
51
+ //# sourceMappingURL=init-modules-LFLW2PQC.js.map
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  detail,
8
8
  step
9
- } from "./chunk-C6KBZH7M.js";
9
+ } from "./chunk-D4VKPOD4.js";
10
10
  import "./chunk-YEH5OIPF.js";
11
11
  import "./chunk-UTI5G6OJ.js";
12
12
  import "./chunk-5ZSO4T2G.js";
@@ -39,4 +39,4 @@ export {
39
39
  CONFIGURATOR_PACKAGE,
40
40
  runInitWebCommand
41
41
  };
42
- //# sourceMappingURL=init-web-MSXDARRF.js.map
42
+ //# sourceMappingURL=init-web-OGKACAOC.js.map
@@ -1,9 +1,9 @@
1
- export { a6 as FIELD_METHODS, a7 as REFERENCEABLE_KINDS, a8 as deriveGuid, a9 as encodeResponse, aa as encodeStatement, ab as getStatementFactory, ac as isRegisteredStatement, ad as resolveRef, ae as toNestedFields } from './raw-where-ZMLND6AG.js';
2
- import { r as StatementSpec } from './store-xUySg-KR.js';
3
- export { Q as FILTER_NAMES, T as GENERATED_STATEMENT_NAMES, U as LLMS_TXT, M as Manifest, m as ManifestField, n as ManifestKind, o as ManifestStatement, V as TOTAL_OBJECT_KINDS, W as buildManifest, X as encodeFromSpec, Y as generatedStatements, Z as getLockedCanonical, _ as getLockedGuid, $ as isLockSeeded, a0 as registerSpec, a1 as renderDocs, a2 as renderLlmsTxt } from './store-xUySg-KR.js';
4
- import { F as FunctionDef, aL as ObjectKind } from './emit-D-a6JznN.js';
5
- export { b as AdoptChange, c as AdoptResult, B as Bundle, p as BundlePayload, q as BundleType, cJ as KNOWLEDGE_DIR, cK as KNOWLEDGE_FILE, cL as LOCK_PAYLOAD_KEYS, cM as LOCK_VERSION, ae as LockEntry, af as LockExportContext, L as LockFile, av as MergeResult, cN as PAYLOAD_ARRAY_KEYS, aR as PayloadArrayKey, cO as QUERY_EXPRESSION_FILTERS, bg as RenameResult, cP as VECTOR_FILTERS, cQ as WORKSPACE_KEY, cR as addonKind, cS as adoptFromBundle, cT as agentKind, cU as apiGroupKind, cV as buildBundle, cW as buildMiddlewareBlock, cX as buildWorkspaceHistory, cY as calcSignatureJson, cZ as channelPathParams, c_ as createLockContext, c$ as declaredServicePorts, d0 as emptyLock, d1 as encodeAddon, d2 as encodeAgent, d3 as encodeApiGroup, d4 as encodeColumn, d5 as encodeContainerHistory, d6 as encodeHistory, d7 as encodeIndex, d8 as encodeKnowledge, d9 as encodeMcpServer, da as encodeMicroservice, db as encodeMiddleware, dc as encodeMiddlewareEntry, dd as encodeMiddlewareList, de as encodeObject, df as encodeQuery, dg as encodeRealtimeChannel, dh as encodeRealtimeMessage, di as encodeRealtimeServer, dj as encodeSchedule, dk as encodeTable, dl as encodeTask, dm as encodeTool, dn as encodeToolRefs, dp as encodeToolsetBase, dq as encodeTrigger, dr as encodeView, ds as encodeWorkflowTest, dt as encodeWorkspaceConfig, du as getKind, dv as isKnowledgeDirSource, dw as isKnowledgeFileSource, dx as isQueryExpressionFilter, dy as isRegisteredKind, dz as knowledgeKind, dA as lockKey, dB as mcpServerKind, dC as mergeObserved, dD as microserviceKind, dE as middlewareKind, dF as mintCanonical, dG as parseLock, dH as phpJsonEncode, dI as queryKind, dJ as realtimeChannelGuid, dK as realtimeChannelKind, dL as realtimeMessageGuid, dM as realtimeMessageKind, dN as realtimeServerKind, dO as recordObserved, dP as registerKind, dQ as registeredKinds, dR as renameLockEntry, dS as resolveAuthRef, dT as resolvePayloadKey, dU as resolveRealtimeServerCanonical, dV as resolveToolsetCanonical, dW as serializeBundle, dX as serializeLock, dY as tableKind, dZ as taskKind, d_ as toolKind, d$ as triggerKind, e0 as validateLockModel, e1 as workflowTestKind, e2 as workspaceKind } from './emit-D-a6JznN.js';
6
- import { k as FunctionXdo } from './xdo-CxDr2Q1C.js';
1
+ export { a6 as FIELD_METHODS, a7 as REFERENCEABLE_KINDS, a8 as deriveGuid, a9 as encodeResponse, aa as encodeStatement, ab as getStatementFactory, ac as isRegisteredStatement, ad as resolveRef, ae as toNestedFields } from './raw-where-gWGr-E4t.js';
2
+ import { r as StatementSpec } from './store-BM7SQcUt.js';
3
+ export { Q as FILTER_NAMES, T as GENERATED_STATEMENT_NAMES, U as LLMS_TXT, M as Manifest, m as ManifestField, n as ManifestKind, o as ManifestStatement, V as TOTAL_OBJECT_KINDS, W as buildManifest, X as encodeFromSpec, Y as generatedStatements, Z as getLockedCanonical, _ as getLockedGuid, $ as isLockSeeded, a0 as registerSpec, a1 as renderDocs, a2 as renderLlmsTxt } from './store-BM7SQcUt.js';
4
+ import { F as FunctionDef, aL as ObjectKind } from './emit-YLt3GfsZ.js';
5
+ export { b as AdoptChange, c as AdoptResult, B as Bundle, p as BundlePayload, q as BundleType, cJ as KNOWLEDGE_DIR, cK as KNOWLEDGE_FILE, cL as LOCK_PAYLOAD_KEYS, cM as LOCK_VERSION, ae as LockEntry, af as LockExportContext, L as LockFile, av as MergeResult, cN as PAYLOAD_ARRAY_KEYS, aR as PayloadArrayKey, cO as QUERY_EXPRESSION_FILTERS, bg as RenameResult, cP as VECTOR_FILTERS, cQ as WORKSPACE_KEY, cR as addonKind, cS as adoptFromBundle, cT as agentKind, cU as apiGroupKind, cV as buildBundle, cW as buildMiddlewareBlock, cX as buildWorkspaceHistory, cY as calcSignatureJson, cZ as channelPathParams, c_ as createLockContext, c$ as declaredServicePorts, d0 as emptyLock, d1 as encodeAddon, d2 as encodeAgent, d3 as encodeApiGroup, d4 as encodeColumn, d5 as encodeContainerHistory, d6 as encodeHistory, d7 as encodeIndex, d8 as encodeKnowledge, d9 as encodeMcpServer, da as encodeMicroservice, db as encodeMiddleware, dc as encodeMiddlewareEntry, dd as encodeMiddlewareList, de as encodeObject, df as encodeQuery, dg as encodeRealtimeChannel, dh as encodeRealtimeMessage, di as encodeRealtimeServer, dj as encodeSchedule, dk as encodeTable, dl as encodeTask, dm as encodeTool, dn as encodeToolRefs, dp as encodeToolsetBase, dq as encodeTrigger, dr as encodeView, ds as encodeWorkflowTest, dt as encodeWorkspaceConfig, du as getKind, dv as isKnowledgeDirSource, dw as isKnowledgeFileSource, dx as isQueryExpressionFilter, dy as isRegisteredKind, dz as knowledgeKind, dA as lockKey, dB as mcpServerKind, dC as mergeObserved, dD as microserviceKind, dE as middlewareKind, dF as mintCanonical, dG as parseLock, dH as phpJsonEncode, dI as queryKind, dJ as realtimeChannelGuid, dK as realtimeChannelKind, dL as realtimeMessageGuid, dM as realtimeMessageKind, dN as realtimeServerKind, dO as recordObserved, dP as registerKind, dQ as registeredKinds, dR as renameLockEntry, dS as resolveAuthRef, dT as resolvePayloadKey, dU as resolveRealtimeServerCanonical, dV as resolveToolsetCanonical, dW as serializeBundle, dX as serializeLock, dY as tableKind, dZ as taskKind, d_ as toolKind, d$ as triggerKind, e0 as validateLockModel, e1 as workflowTestKind, e2 as workspaceKind } from './emit-YLt3GfsZ.js';
6
+ import { k as FunctionXdo } from './xdo-D4OwfF2J.js';
7
7
 
8
8
  /**
9
9
  * The declarative statement catalog: one StatementSpec per cleanly
package/dist/internal.js CHANGED
@@ -19,8 +19,8 @@ import {
19
19
  selectorValues,
20
20
  sourceSpellings,
21
21
  visibleFlags
22
- } from "./chunk-C6KBZH7M.js";
23
- import "./chunk-DSD2NNTX.js";
22
+ } from "./chunk-D4VKPOD4.js";
23
+ import "./chunk-HUEFVPYW.js";
24
24
  import {
25
25
  GENERATED_STATEMENT_NAMES,
26
26
  HEADER_DUPLICATES,
@@ -64,21 +64,21 @@ import {
64
64
  toolKind,
65
65
  triggerKind,
66
66
  workflowTestKind
67
- } from "./chunk-T3ZVNOJC.js";
67
+ } from "./chunk-ONNSFD73.js";
68
68
  import {
69
69
  encodeQuery,
70
70
  encodeResponse,
71
71
  queryKind
72
- } from "./chunk-OHTHG3LL.js";
72
+ } from "./chunk-6LECAG3Y.js";
73
73
  import {
74
74
  encodeWorkspaceConfig,
75
75
  workspaceKind
76
- } from "./chunk-6JAEMMZ7.js";
77
- import "./chunk-6ZFJEJXZ.js";
76
+ } from "./chunk-IFXPHVPY.js";
77
+ import "./chunk-KICERNAP.js";
78
78
  import {
79
79
  resolveAuthRef
80
80
  } from "./chunk-45ZUMF4E.js";
81
- import "./chunk-7KPKDHHI.js";
81
+ import "./chunk-76SBT7KS.js";
82
82
  import {
83
83
  PAYLOAD_ARRAY_KEYS,
84
84
  buildBundle,
@@ -101,12 +101,12 @@ import {
101
101
  isQueryExpressionFilter,
102
102
  microserviceKind,
103
103
  registerSpec
104
- } from "./chunk-6BOKCTCM.js";
104
+ } from "./chunk-NZ7ML6LG.js";
105
105
  import "./chunk-ICK36EGF.js";
106
106
  import {
107
107
  FILTER_NAMES,
108
108
  FILTER_SPECS
109
- } from "./chunk-BEXZ4XRV.js";
109
+ } from "./chunk-AXNX4NWN.js";
110
110
  import {
111
111
  buildMiddlewareBlock,
112
112
  buildWorkspaceHistory,
@@ -114,7 +114,7 @@ import {
114
114
  encodeHistory,
115
115
  encodeMiddlewareEntry,
116
116
  encodeMiddlewareList
117
- } from "./chunk-ETAZIGNT.js";
117
+ } from "./chunk-F2NFNYCB.js";
118
118
  import "./chunk-GSGDWJB5.js";
119
119
  import {
120
120
  encodeColumn,
@@ -169,16 +169,16 @@ import {
169
169
  TOTAL_STATEMENTS,
170
170
  sPathOf
171
171
  } from "./chunk-Q7DGTQ5G.js";
172
- import "./chunk-4XHAT7C5.js";
172
+ import "./chunk-HJZUI2ZU.js";
173
173
  import {
174
174
  toNestedFields
175
- } from "./chunk-S56YBYMN.js";
175
+ } from "./chunk-VIRFG3WG.js";
176
176
  import {
177
177
  LAMBDA_BINDINGS,
178
178
  LAMBDA_GLOBALS,
179
179
  LAMBDA_MODULE_GLOBALS,
180
180
  TAGS
181
- } from "./chunk-UVF45BVU.js";
181
+ } from "./chunk-Z6N5N4MN.js";
182
182
  import "./chunk-VAX3UZOY.js";
183
183
  import {
184
184
  REFERENCEABLE_KINDS,
@@ -413,7 +413,7 @@ var VALUE_CONSTRUCTORS = [
413
413
  },
414
414
  { name: "col", signature: "(name: string) => Value", description: 'Reference a table column \u2192 tag "col".' },
415
415
  { name: "auth", signature: "(path?: string) => Value", description: 'Reference the authenticated identity (auth("id") \u2192 $auth.id) \u2192 tag "auth".' },
416
- { name: "caught", signature: '(path?: "code" | "message" | "name" | "result") => Value', description: 'Read the caught error inside an s.try_catch CATCH arm \u2192 tag "trycatch". Valid ONLY there \u2014 it reads empty in the try/finally arms and outside the statement. Those four fields are all the engine binds (result is the attached payload); bare caught() is the whole error record. \u26A0 For an ENGINE-raised exception only `code` and `name` are populated; for an `s.throw`, `message` is the fixed string "Throw Error Statement" and your text is in `result`. So `caught("name")` is useful in both cases and `caught("message")` in NEITHER.' },
416
+ { name: "caught", signature: '(path?: "code" | "message" | "name" | "result") => Value', description: 'Read the caught error inside an s.try_catch CATCH arm \u2192 tag "trycatch". Valid ONLY there \u2014 it reads empty in the try/finally arms and outside the statement. Those four fields are all the engine binds; bare caught() is the whole error record. `code` is the error type: `ERROR_FATAL` for an engine error, a precondition\'s `error_type` (`ERROR_CODE_ACCESS_DENIED`, \u2026), `ERROR_CODE_THROWN_ERROR` for `s.throw`. `message` is the error text (a precondition\'s `error`, the engine\'s, an LLM provider\'s) EXCEPT for `s.throw`, where it is the fixed "Throw Error Statement" and your value is in `result`. `name` is `s.throw`\'s `name` (empty without one), else a label (`Exception`, `Access Denied`). \u26A0 An `s.ai.agent.run` provider failure binds `result: { name: "AI_APICallError", statusCode, isRetryable, data }`; branch a fallback on `withFilters(caught("result"), fl.get("statusCode"))` (401: the key was refused). The path takes only the four names; reach deeper with `fl.get`.' },
417
417
  { name: "toolset", signature: '(path: "token" | "params" | `params.${string}`) => Value', description: `Read a toolset-scoped binding inside a tool \u2192 tag "toolset". The engine binds two: token (the calling URL's token, null when absent) and params (its parameters, as an object); a dotted params.<key> reads one parameter out of that object. Bound only while a tool runs under its toolset \u2014 anywhere else it reads empty.` },
418
418
  { name: "env", signature: "(name: string) => Value", description: 'Read a WORKSPACE environment variable (set via workspaceConfig({ env }) or the dashboard) \u2192 `$env.NAME`. Compiles to tag "setting" with the plain name. env("remote_ip") reads a user var named remote_ip, not the caller IP \u2014 use sys.remoteIp() for that. A name that does not exist resolves to NULL rather than erroring, so a typo deploys clean and fails downstream of the value: prefer typedEnv(config), which turns the names that config declares into properties (E.STRIPE_KEY), and export() warns stack.env-undeclared on any env() or bare setting() outside the declared set once a config declares env at all.' },
419
419
  { name: "setting", signature: "(name: string) => Value", description: 'Reference a workspace setting \u2192 tag "setting". Built-in system vars are $-prefixed settings, e.g. setting("$remote_ip"); prefer the typed sys.* accessors.' },
@@ -1526,7 +1526,8 @@ function renderSections(m) {
1526
1526
  " Fix: `xanosdk routes <entry> --emit xano/routes.gen.ts` (`paths` is an accepted alias) \u2014 verbs, paths, and sockets as",
1527
1527
  ' plain data importing NOTHING, still compile-checked: `routePath("GET blog/{slug}", { slug })`',
1528
1528
  ' `channelPath("rooms/{room_id}", { room_id })`, `socketUrl("chat", baseUrl)` (tenant base',
1529
- " URLs lifted to `wss://h/ws/<tenant>:<canonical>`). A rename is a type error, not a 404.",
1529
+ ' URLs lifted to `wss://h/ws/<tenant>:<canonical>`), `mcpUrl("notes_mcp", baseUrl)` (an MCP',
1530
+ " server's address to show a user or hand a client; browser JS cannot call it). A rename is a type error, not a 404.",
1530
1531
  "- **Request types without the def.** `routes.gen.ts` also exports types-only `RouteInputs`,",
1531
1532
  " `ChannelInputs`, `MessageInputs` (and `MessageName`), keyed like `ROUTES`, `CHANNELS`, and",
1532
1533
  ' `"<channel key> <message name>"`: `type NewListing = RouteInputs["POST listings"]`. A',
@@ -1605,6 +1606,8 @@ function renderSections(m) {
1605
1606
  '- A lambda returns error TEXT with HTTP 200 (`Could not resolve "node:crypto"`, an undefined-binding message) \u2014 the body threw; use the preloaded globals, the surface\'s bindings, and `capture`. `llms/lambda.md`.',
1606
1607
  "- `Unable to locate request.` (404) on an endpoint that deployed \u2014 a lowercase verb, a `.` in the name, or a CORS `mode` typo that dropped the whole API group. `llms/kinds-core.md`.",
1607
1608
  '- A browser call fails on a missing `access-control-allow-origin` while deploy looks fine \u2014 CORS `mode: "custom"` with `"*"` or an unmatched origin. `llms/kinds-core.md`.',
1609
+ "- 403 `Forbidden: Origin not allowed` from an MCP server URL \u2014 the request came from a browser; MCP endpoints refuse every `Origin`, so call them server-side. `llms/kinds-agent-mcp.md`.",
1610
+ "- `ERROR_FATAL` `The free model is not available in this process.` \u2014 an `xano-free` agent run on the Xano Engine on this machine; it runs only on Xano's cloud. `llms/kinds-agent-mcp.md`.",
1608
1611
  "- A websocket is closed right after the handshake \u2014 a refused `connect` gate: an empty/falsy return, a crash, or a gating trigger with no `response`. `llms/triggers.md`.",
1609
1612
  "- `to_throw failed - response is ok` around an auth-refused call \u2014 `ERROR_CODE_ACCESS_DENIED` carries no message; the auth gate is not reachable from a workflow test. `llms/tests.md`.",
1610
1613
  "- Output reads `Hi [object Object]` \u2014 a tagged value inside a JS template literal; compose at runtime with `withFilters` + `fl.concat`. `llms.txt`.",
@@ -1640,6 +1643,7 @@ function renderSections(m) {
1640
1643
  const kindsAgentMcp = [
1641
1644
  "- An MCP server serves THREE primitives, and each reaches the client differently: a `tool()` is an action the MODEL calls (it may write); a `resource()` is read-only context the client APPLICATION lists and attaches by `uri` (reference docs, a schema, one record through a `{variable}` template); a `prompt()` is a message template with arguments the USER picks by name. Context a session opens with is a `resource()`; a workflow a user starts by name is a `prompt()`; data the model must fetch on its own mid-task stays a `tool()`, since a client shows the model only the resources attached to the conversation. Register each kind (`registerTools`/`registerPrompts`/`registerResources`) and list it on the server.",
1642
1645
  "- `mcpServer({ name, guid?, description?, instructions?, docs?, enabled?, canonical?, spec?, tags?, history?, tools?, prompts?, resources?, oauth?, llm?, output? })` \u2014 an MCP toolset. `llm?`/`output?` are the same blocks `agent()` takes and are usually absent: an MCP server and an agent are ONE stored object distinguished by `type`. Returns a handle with `getPath()`/`getUrl(baseUrl)` for the Streamable-HTTP endpoint \u2014 `getUrl` is NOT idempotent, a `baseUrl` already carrying an `/x2/mcp/<\u2026>/stream` path THROWS, so resolve ONCE from the instance base URL. Fires on an ephemeral. A TENANT rides AFTER the prefix (`/x2/mcp/tenant/<tenant>/<canonical>/<token>/stream`), not as a base-URL segment: `getUrl` LIFTS a `/tenant/<name>` out of the base and re-places it there, so `getUrl(window.XANO_HOST)` is correct as-is; concatenating them by hand builds an unregistered route that 404s. Pass `{ tenant }` when the base URL cannot name it (a tenant on its own domain).",
1646
+ " - \u26A0 Refuses any request carrying a browser `Origin`, preflight too: 403, JSON-RPC `-32000` `Forbidden: Origin not allowed`. One with no `Origin` (curl, a server, an MCP client) is served; the bundle cannot admit an origin, so call it server-side, never from browser JS.",
1643
1647
  ' - `tools?`: a `ToolsetToolEntry[]`. Pass the `tool()` HANDLES directly (`tools: [saveNote]`); use the `{ tool, enabled?, auth?, type?, resourceUri?, toolMeta? }` wrapper when an entry needs more. `type: "resource"` (+ a required `resourceUri`) is the LEGACY way to publish a tool as an MCP resource \u2014 author a `resource()` and list it in `resources` instead; `toolMeta` is extra metadata on a tool entry. The two payload fields are per-type and supplying the other one is refused, because the engine stores it against neither. `auth` names an auth **table** (a `table({ auth: true })` handle or its name) \u2014 per-tool, and the only gate there is. \u26A0 It is also what gives the tool a CALLER, on an `agent()` exactly as on an MCP server. `auth()` inside a tool whose entry names no table does NOT return null: the call answers a normal result carrying `{"code":"ERROR_FATAL","message":""}`, so the model reads a successful tool result and reports success while nothing is written. A caller token does not rescue it \u2014 the ENTRY supplies identity. Spell it `{ tool: saveNote, auth: users }`; `export()` warns. An entry naming no tool THROWS at export; a deliberate raw `id: 0` warns and carries through.',
1644
1648
  ' - `prompts?` / `resources?`: `prompt()` / `resource()` HANDLES (or names), or a `{ prompt, enabled?, auth? }` / `{ resource, enabled?, auth? }` wrapper. `auth` names the auth table and is what gives the stack a caller: a prompt/resource reading `auth()` behind an entry with none answers every `prompts/get` / `resources/read` with `-32603 "Access Denied"` (`export()` warns `toolset.primitive-reads-auth-ungated`). Listing one target twice THROWS; two resources with one `uri` on one server fail `export()` (`mcp.resource-uri-duplicate`). MCP-server only \u2014 `agent()` takes tools only.',
1645
1649
  " - `history?` is the server tier for its tools, prompts AND resources alike; an object's own `history` wins. The workspace tier (`workspaceConfig({ history })`) has `prompt` and `resource` keys, both default on.",
@@ -1660,6 +1664,7 @@ function renderSections(m) {
1660
1664
  "- `s.mcp.oauth.revoke({ mcp_server, user_id? | grant_id? | all?, as? })` \u2014 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 }`.",
1661
1665
  "- `agent({ name, guid?, description?, docs?, enabled?, canonical?, tags?, history?, llm, tools?, output? })` \u2014 an LLM orchestrator. No top-level `instructions`/`prompt`/`spec` \u2014 the prompt lives under `llm`. Invoke from a stack with `s.ai.agent.run({ agent, args })`.",
1662
1666
  ' - `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?` (genuinely exclusive: both is a type error and throws \u2014 the engine stores ONE `prompt_type`, so one would be dropped); plus provider fields (`apiKey?`, `model?`, `temperature?`, `reasoningEffort?`, \u2026). String fields accept Twig placeholders \u2014 `{{ $args.x }}` for run inputs (the `args` of `s.ai.agent.run`), `{{ $env.NAME }}` for env vars.',
1667
+ " - `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.` \u2014 use a keyed provider there.",
1663
1668
  " - `tools?`: same `ToolsetToolEntry[]` as `mcpServer` \u2014 bare `tool()` handles, or a `{ tool, enabled?, auth? }` wrapper when one needs `enabled`/`auth`. A tool reading `auth()` MUST use the wrapper naming the auth table \u2014 a bare handle runs it with no caller (see `mcpServer`'s `tools?`).",
1664
1669
  ' - `output?`: `{ schema: Record<string, input.*>, enabled? }` \u2014 structured-output schema. `schema` is a named-field record authored with the `input.*` catalog, exactly like a `defineFunction`/`query` `input:` map (the stored `structuredOutputsSchema` is the same wire shape as function inputs). 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 straight from this schema \u2014 no `resultShape` witness needed (the shape is declared once). `resultShape` remains only to override that, or to type an agent referenced by bare name.',
1665
1670
  ' - **Run + read recipe (`s.ai.agent.run`):** bind the run to a var (`s.ai.agent.run({ agent, args, allowToolExecution: c.bool(true), as: "run" })`) \u2014 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`); persist it in a later step the same way (`s.set_var("summary", ref("run.result.summary"))`). `args` is a plain object of run inputs (`{ topic: inp("topic") }` \u2014 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"`. \u26A0 An agent with tools needs `allowToolExecution: c.bool(true)` on the run: unset, its tools are OFF and it answers without them (warns `stack.agent-tools-off`).',
@@ -1992,11 +1997,17 @@ function renderSections(m) {
1992
1997
  const note = Object.hasOwn(FILTER_NOTES, fl.name) ? FILTER_NOTES[fl.name] : void 0;
1993
1998
  filters.push(`- \`${fl.fl}(${sig})${ret}\`${note ? ` \u2014 ${note}` : ""}`);
1994
1999
  }
1995
- const zeroArg = m.filters.filter((fl) => !fl.args?.length && !fl.variadic).map((fl) => fl.name);
2000
+ const zeroArgByGroup = /* @__PURE__ */ new Map();
2001
+ for (const fl of m.filters.filter((fl2) => !fl2.args?.length && !fl2.variadic)) {
2002
+ const group = fl.group ?? "other";
2003
+ zeroArgByGroup.set(group, [...zeroArgByGroup.get(group) ?? [], fl.name]);
2004
+ }
2005
+ const zeroArg = [...zeroArgByGroup.entries()].sort(([a], [b]) => a.localeCompare(b)).map(([group, names]) => `${group}: ${names.join(", ")}`);
1996
2006
  const variadic = m.filters.filter((fl) => fl.variadic).map((fl) => fl.name);
1997
2007
  filters.push(
1998
2008
  "",
1999
- `Zero-argument filters \u2014 call as \`fl.<name>()\`; an argument is a compile error: ${zeroArg.join(", ")}.`,
2009
+ `Zero-argument filters, by operand type \u2014 call as \`fl.<name>()\`; an argument is a compile error. ${zeroArg.join("; ")}.`,
2010
+ "`fl.reverse()` reverses a list only: on a text value it answers the text UNCHANGED, with no error.",
2000
2011
  "",
2001
2012
  `Variadic filters \u2014 they take arguments, but no declared list, so the count is not checked: ${variadic.join(", ")}.`,
2002
2013
  ""