@xano/sdk 1.0.15 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +33 -37
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-ZRGNOA6Q.js → agent-file-refresh-QTFMNYPY.js} +12 -12
  5. package/dist/{agent-skill-command-DV26SDA2.js → agent-skill-command-XZVBG34H.js} +74 -73
  6. package/dist/{answer-shape-AVZSKBR6.js → answer-shape-ZRQS7ZC4.js} +5 -5
  7. package/dist/{backend-dir-NTMXWE5R.js → backend-dir-DCT3T6HP.js} +11 -11
  8. package/dist/{backend-slot-DZAUHLTS.js → backend-slot-7BATLL3X.js} +4 -4
  9. package/dist/bin.js +64 -63
  10. package/dist/{branch-IJTBZZFO.js → branch-SJKKUCMZ.js} +9 -9
  11. package/dist/branch-commands-OEMOFAKC.js +80 -0
  12. package/dist/bundle.d.ts +2 -2
  13. package/dist/bundle.js +15 -69
  14. package/dist/{capture-GW5KNKMB.js → capture-RYBJE25P.js} +5 -5
  15. package/dist/{chunk-3H7R4ISR.js → chunk-2DUYJR5N.js} +2 -2
  16. package/dist/{chunk-MFWF2NZJ.js → chunk-2H5BQRHF.js} +2 -2
  17. package/dist/{chunk-GDJCWQIK.js → chunk-2IC3K22K.js} +12 -8
  18. package/dist/{chunk-O44MJTLR.js → chunk-35SI4GBM.js} +3 -3
  19. package/dist/{chunk-VUWR5YLE.js → chunk-3QQFP3AD.js} +13 -13
  20. package/dist/{chunk-ICK36EGF.js → chunk-4EVDCSEY.js} +2 -2
  21. package/dist/{chunk-GIQIMWTK.js → chunk-4LT5AVHF.js} +14 -14
  22. package/dist/{chunk-AXMUYBWQ.js → chunk-4XGZ325S.js} +3 -3
  23. package/dist/{chunk-JWASCOHO.js → chunk-52QAENY6.js} +14 -14
  24. package/dist/{chunk-2LF734YB.js → chunk-54CJ74BH.js} +4 -4
  25. package/dist/{chunk-ASQX477B.js → chunk-573RRKNT.js} +7 -7
  26. package/dist/{chunk-3GZMP7II.js → chunk-5AVFVC22.js} +38 -22
  27. package/dist/{chunk-IKXXTRMN.js → chunk-64UVVLDT.js} +4 -4
  28. package/dist/{chunk-RBTZEHXF.js → chunk-6DSA6W4O.js} +3 -3
  29. package/dist/{chunk-EQXHUWUO.js → chunk-6FCAFWD5.js} +2 -2
  30. package/dist/{chunk-4MX5LMPQ.js → chunk-6ODQ5GDZ.js} +2 -2
  31. package/dist/{chunk-ZF2CBXT5.js → chunk-7NKC4MBT.js} +3 -3
  32. package/dist/{chunk-Y5XAPLZS.js → chunk-7UQZ7C4W.js} +4 -4
  33. package/dist/{chunk-CJDPSCMX.js → chunk-7ZVQIKNL.js} +3 -3
  34. package/dist/{chunk-FOBVJ2UR.js → chunk-ACFBRMCS.js} +8 -8
  35. package/dist/{chunk-RVAEPPRH.js → chunk-AICWDCLJ.js} +2 -2
  36. package/dist/{chunk-WS4BA75E.js → chunk-AJBOGO5U.js} +4 -4
  37. package/dist/{chunk-AE5CRAKS.js → chunk-ANUBTY3C.js} +8 -8
  38. package/dist/{chunk-UVHSMANV.js → chunk-C6RBLPFY.js} +47 -47
  39. package/dist/{chunk-SHHXLI2K.js → chunk-CNNGNK46.js} +7 -7
  40. package/dist/{chunk-7ZQ73AHJ.js → chunk-CWC6HE66.js} +31 -31
  41. package/dist/{chunk-A2N2C2WD.js → chunk-DNUU4IEM.js} +7 -7
  42. package/dist/{chunk-Q7DGTQ5G.js → chunk-E34VGSCI.js} +2 -1
  43. package/dist/{chunk-YR3MNGWZ.js → chunk-E5M5P23K.js} +8 -8
  44. package/dist/{chunk-HJZUI2ZU.js → chunk-EAZTRU75.js} +2 -2
  45. package/dist/{chunk-KMKUH2IO.js → chunk-EPB6FAR5.js} +5 -5
  46. package/dist/{chunk-B6AFJVG4.js → chunk-ES6FBPLY.js} +5 -5
  47. package/dist/chunk-EUAU4QKI.js +67 -0
  48. package/dist/{chunk-IDOVZLPK.js → chunk-EXJ4Q5F6.js} +2 -2
  49. package/dist/{chunk-FKQX6KU7.js → chunk-F3JK5RIY.js} +2 -2
  50. package/dist/{chunk-W2QFR3ZJ.js → chunk-FIOC7RSU.js} +2 -2
  51. package/dist/{chunk-YEH5OIPF.js → chunk-FMXPV5JI.js} +39 -11
  52. package/dist/{chunk-GVHWIDEJ.js → chunk-FRJB3NTE.js} +10 -5
  53. package/dist/{chunk-TXFOQZUQ.js → chunk-FSHW3GQU.js} +14 -7
  54. package/dist/{chunk-VIRFG3WG.js → chunk-FTFAPKCW.js} +23 -7
  55. package/dist/{chunk-LL6ED5IB.js → chunk-FTS42N37.js} +2 -2
  56. package/dist/{chunk-HCNIB3EC.js → chunk-FYPTWYCU.js} +4 -4
  57. package/dist/{chunk-MIS6F4HM.js → chunk-G2XSDIYS.js} +4 -4
  58. package/dist/{chunk-ZY55DO5P.js → chunk-G6BEJ3NA.js} +2 -2
  59. package/dist/{chunk-RYWNNJK5.js → chunk-GA6HTO3O.js} +2 -2
  60. package/dist/{chunk-ZYECXDVV.js → chunk-GBPIFCWL.js} +5 -5
  61. package/dist/{chunk-JIKGT7DO.js → chunk-GE3JV5SI.js} +1 -1
  62. package/dist/{chunk-GCINMMFL.js → chunk-GJZMKMWO.js} +2 -2
  63. package/dist/{chunk-6X73VFCX.js → chunk-GT7PZCTK.js} +2 -2
  64. package/dist/{chunk-TT6LN55R.js → chunk-GUC73LRA.js} +8 -8
  65. package/dist/{chunk-ZC6H2ERE.js → chunk-GYM22X2X.js} +5 -5
  66. package/dist/{chunk-V7WCTXEH.js → chunk-H3R4PAOI.js} +5 -5
  67. package/dist/{chunk-QW7NGUYW.js → chunk-H5OM5G3O.js} +244 -173
  68. package/dist/{chunk-WXKSB2N3.js → chunk-HM5X73PY.js} +3 -3
  69. package/dist/{chunk-K6SWZ6H4.js → chunk-HMV2VGTU.js} +54 -54
  70. package/dist/{chunk-G4WRZU5T.js → chunk-HXFUCPZO.js} +7 -7
  71. package/dist/{chunk-ECQXASG3.js → chunk-IFHFJR5O.js} +2 -2
  72. package/dist/{chunk-7AKH4QDJ.js → chunk-J2KY2VNC.js} +96 -65
  73. package/dist/{chunk-74OPNM2Z.js → chunk-JHAZK4RY.js} +3 -3
  74. package/dist/{chunk-JAYHFXWH.js → chunk-LWGCUB2A.js} +7 -7
  75. package/dist/{chunk-CJGLAQRD.js → chunk-LXJ72GY2.js} +4 -4
  76. package/dist/{chunk-OZWAITII.js → chunk-M2IB6N4V.js} +6 -6
  77. package/dist/{chunk-GKQTXUOW.js → chunk-MOVRSULZ.js} +2 -2
  78. package/dist/{chunk-QAEBBTYR.js → chunk-MSYMEP7Y.js} +7 -7
  79. package/dist/{chunk-Y453TW6J.js → chunk-NCERS5QH.js} +2 -2
  80. package/dist/{chunk-T3HNISBN.js → chunk-NDRIMFSH.js} +3 -3
  81. package/dist/{chunk-HXFLHA5K.js → chunk-NH5Z2NOD.js} +2 -2
  82. package/dist/{chunk-FXZEZAV2.js → chunk-NLWYNVJV.js} +3 -3
  83. package/dist/{chunk-66ZU2CD5.js → chunk-O2BLNQEC.js} +236 -17
  84. package/dist/{chunk-5SKWGCAJ.js → chunk-O7Z3LF44.js} +5 -5
  85. package/dist/{chunk-DBDTQR23.js → chunk-OTQF4B37.js} +4 -4
  86. package/dist/{chunk-SL55XKVL.js → chunk-PCY4IPXK.js} +25 -25
  87. package/dist/{chunk-ZDVVIJPU.js → chunk-PODT53SQ.js} +4 -4
  88. package/dist/{chunk-GBSHHNSD.js → chunk-PRSNMSVG.js} +3 -3
  89. package/dist/{chunk-UNFQN3TT.js → chunk-Q3CBDXKL.js} +3 -3
  90. package/dist/{chunk-P7GKTV7N.js → chunk-Q4LJCCH5.js} +75 -32
  91. package/dist/{chunk-DGYXCIBV.js → chunk-Q6AKSLD2.js} +2 -2
  92. package/dist/{chunk-7FIMUFBP.js → chunk-QDPY7RN3.js} +3 -3
  93. package/dist/{chunk-MGG4CHO4.js → chunk-QIT2GGNB.js} +3 -3
  94. package/dist/{chunk-VXHXSGPU.js → chunk-QTOW6YXL.js} +8 -8
  95. package/dist/{chunk-5SJQAJLF.js → chunk-QYZSNN35.js} +3 -3
  96. package/dist/{chunk-NNI5R6V6.js → chunk-R7Y6S7FF.js} +72 -72
  97. package/dist/{chunk-BEKEOXNG.js → chunk-RGPHFHJU.js} +2 -2
  98. package/dist/{chunk-YCKKL5PD.js → chunk-RH3NQTGQ.js} +53 -47
  99. package/dist/{chunk-5FJ4M4HB.js → chunk-RHH6SCB4.js} +17 -32
  100. package/dist/{chunk-M7O3T7IM.js → chunk-RIT3WBBX.js} +4 -4
  101. package/dist/{chunk-45K2QZBR.js → chunk-RKNCISPM.js} +3 -3
  102. package/dist/{chunk-NPYYDTXS.js → chunk-RKTVXFBV.js} +5 -5
  103. package/dist/{chunk-AXNX4NWN.js → chunk-RLQX6LHW.js} +37 -37
  104. package/dist/{chunk-FIERONKM.js → chunk-ROWYW3JF.js} +2 -2
  105. package/dist/{chunk-LSJ3SQEU.js → chunk-RVWWNNZQ.js} +4 -4
  106. package/dist/{chunk-4MIV244X.js → chunk-SGEOXJIH.js} +9 -2
  107. package/dist/{chunk-QRMKQYCB.js → chunk-SINL5WMI.js} +2 -2
  108. package/dist/{chunk-Z6N5N4MN.js → chunk-SIW2HT2H.js} +21 -5
  109. package/dist/{chunk-IEDQT4Z3.js → chunk-SOAZIMWL.js} +12 -12
  110. package/dist/{chunk-R3GPRNBT.js → chunk-SVQMDVND.js} +87 -16
  111. package/dist/{chunk-45ZUMF4E.js → chunk-TPUAXIPR.js} +2 -2
  112. package/dist/{chunk-76SBT7KS.js → chunk-U56HK2RG.js} +7 -5
  113. package/dist/{chunk-RXNMZM6H.js → chunk-UDW2KAVF.js} +6 -6
  114. package/dist/{chunk-NDV6CBR7.js → chunk-UH5VQGNR.js} +2 -2
  115. package/dist/{chunk-75QC66XI.js → chunk-V2MIBJZU.js} +2 -2
  116. package/dist/{chunk-N72XNQNJ.js → chunk-V4466NNS.js} +14 -14
  117. package/dist/{chunk-XPSDDTUZ.js → chunk-VCFRALU7.js} +3 -3
  118. package/dist/{chunk-5KJBWIDZ.js → chunk-VQDVEHDB.js} +2 -2
  119. package/dist/{chunk-6EFXPTHT.js → chunk-WAP5362D.js} +5 -5
  120. package/dist/{chunk-DH6O5NQU.js → chunk-WDN4QIJ4.js} +29 -20
  121. package/dist/{chunk-XLP4CNSF.js → chunk-WGGATSIP.js} +6 -6
  122. package/dist/{chunk-XY4OBD26.js → chunk-WGKKDGSA.js} +4 -4
  123. package/dist/{chunk-ZPJXWMHK.js → chunk-WLZSKD7E.js} +4 -4
  124. package/dist/{chunk-7REDHC4N.js → chunk-X5NF3ZXW.js} +69 -14
  125. package/dist/{chunk-5W7S2SCA.js → chunk-XAE4NIZ2.js} +4 -4
  126. package/dist/{chunk-SPLRKCFV.js → chunk-XDGLYIB2.js} +2 -2
  127. package/dist/{chunk-WS2X5BB2.js → chunk-YYBBJPCL.js} +5 -5
  128. package/dist/{chunk-ZOHEHIFS.js → chunk-YYDM4DNP.js} +2 -2
  129. package/dist/{chunk-SH4RY6QX.js → chunk-Z73I7Q2H.js} +1536 -413
  130. package/dist/{chunk-GRXX2TOJ.js → chunk-ZHFSIQ6E.js} +2 -2
  131. package/dist/{chunk-SXMZNSQ6.js → chunk-ZQUBCGGR.js} +8 -8
  132. package/dist/{chunk-ZRXDPCMN.js → chunk-ZYZ7GRX3.js} +2 -2
  133. package/dist/cli.d.ts +3 -3
  134. package/dist/cli.js +62 -61
  135. package/dist/codegen-command-HCHTNHDF.js +183 -0
  136. package/dist/codegen.d.ts +3 -3
  137. package/dist/codegen.js +5 -5
  138. package/dist/{commands-5ILSWDSV.js → commands-Z2QZOORB.js} +3 -3
  139. package/dist/{completion-UNKBVVDT.js → completion-LFXXNQGR.js} +3 -3
  140. package/dist/{config-NTOASFCA.js → config-7GGINOFY.js} +4 -4
  141. package/dist/{deploy-command-BYAZZF37.js → deploy-command-LYZ76OBA.js} +69 -68
  142. package/dist/{deploy-source-QCPZWNJO.js → deploy-source-AJESF6J2.js} +32 -32
  143. package/dist/{dev-env-sync-6MHK3UHC.js → dev-env-sync-PZEIRCFC.js} +63 -62
  144. package/dist/{diagnostics-FNVNRYMB.js → diagnostics-T3RN3372.js} +2 -2
  145. package/dist/{display-name-hint-MYXCCAOP.js → display-name-hint-5GLJGPQ6.js} +11 -11
  146. package/dist/{emit-YLt3GfsZ.d.ts → emit-DlOKIJER.d.ts} +185 -96
  147. package/dist/env-example-refresh-HLE2HRV4.js +136 -0
  148. package/dist/{env-pull-command-KUIEKBTM.js → env-pull-command-OTTZHTLK.js} +52 -52
  149. package/dist/{env-target-Y77RLRS5.js → env-target-VXOMKCMO.js} +14 -14
  150. package/dist/{env-var-command-BZWJD75C.js → env-var-command-TDVSO3JY.js} +41 -41
  151. package/dist/{ephemeral-VLPRDNEJ.js → ephemeral-2DXWP3VK.js} +9 -9
  152. package/dist/{ephemeral-command-SYKDPALW.js → ephemeral-command-AX5TRR23.js} +52 -52
  153. package/dist/{ephemeral-state-RUOU2GFS.js → ephemeral-state-56XEDUJW.js} +12 -12
  154. package/dist/{generate-command-CSQDQZSW.js → generate-command-LMSKMR4J.js} +89 -88
  155. package/dist/{gitignore-OQGYM7DO.js → gitignore-GKM5G2DJ.js} +15 -15
  156. package/dist/{guards-JUYBDLZY.js → guards-LQ7PSXOL.js} +51 -15
  157. package/dist/{impersonate-command-HSFCZBV6.js → impersonate-command-QTEOBL5N.js} +37 -37
  158. package/dist/{import-T4ZTOTBT.js → import-VJQGIS33.js} +5 -5
  159. package/dist/index.d.ts +597 -118
  160. package/dist/index.js +29 -28
  161. package/dist/init-command-OMZVE54Z.js +143 -0
  162. package/dist/{init-modules-BL2SR5RK.js → init-modules-OTISW6LL.js} +8 -8
  163. package/dist/{init-web-DYE2FEXL.js → init-web-25QJ4JWB.js} +3 -3
  164. package/dist/internal.d.ts +55 -8
  165. package/dist/internal.js +696 -506
  166. package/dist/{io-PGTCBSIQ.js → io-47TFRYDB.js} +6 -6
  167. package/dist/{keep-data-merge-SHF75FC7.js → keep-data-merge-ECLY5DYP.js} +38 -38
  168. package/dist/{lambda-config-reconcile-VOBVZPWS.js → lambda-config-reconcile-CC5QIP6E.js} +3 -3
  169. package/dist/{landed-F7PCHGCK.js → landed-VIUFHLCJ.js} +5 -5
  170. package/dist/{landing-record-7EOLEKH3.js → landing-record-RVE5WLFS.js} +22 -22
  171. package/dist/{live-diff-M2OLXKM6.js → live-diff-KJ2TWWWT.js} +14 -14
  172. package/dist/{local-engine-choice-TOC3UYZZ.js → local-engine-choice-CMG5V7RL.js} +35 -35
  173. package/dist/{local-engine-command-6KSRDZBR.js → local-engine-command-UMY37AZL.js} +40 -40
  174. package/dist/{local-engine-deploy-4N4NFZ4T.js → local-engine-deploy-XAEDT55W.js} +12 -12
  175. package/dist/{local-engine-lookup-AQTUGSBT.js → local-engine-lookup-WBYTY2JE.js} +2 -2
  176. package/dist/{local-engine-mcp-bridge-AMYRH4SY.js → local-engine-mcp-bridge-3H5OXBWQ.js} +5 -5
  177. package/dist/{local-engine-mcp-command-XTP3EATV.js → local-engine-mcp-command-AV2T3U4B.js} +42 -42
  178. package/dist/{local-engine-process-OD5OSWDG.js → local-engine-process-35B2KQED.js} +7 -7
  179. package/dist/{local-engine-update-check-G3YCBXRE.js → local-engine-update-check-VXJZSIJU.js} +5 -5
  180. package/dist/{lock-HDCHD2ON.js → lock-JBKTDEDO.js} +4 -4
  181. package/dist/{lock-commands-437P6BHY.js → lock-commands-PSKHBOKS.js} +67 -66
  182. package/dist/{login-command-BNRDAVFV.js → login-command-M7RKU3DR.js} +27 -27
  183. package/dist/{logout-command-FCGCHB7Y.js → logout-command-DAC3XKLT.js} +17 -17
  184. package/dist/{loop-WOAEXMTC.js → loop-HILLODVH.js} +15 -15
  185. package/dist/{marketplace-command-SUBJZPJV.js → marketplace-command-2M33OTSN.js} +30 -30
  186. package/dist/{marketplace-resolve-JR4BBJ6K.js → marketplace-resolve-63QWMQZU.js} +6 -6
  187. package/dist/{meta-client-AYJS3RQ3.js → meta-client-FC4DWPAC.js} +15 -15
  188. package/dist/{module-manifest-63I5GRK4.js → module-manifest-NWJWAQLQ.js} +4 -4
  189. package/dist/node.d.ts +8 -8
  190. package/dist/node.js +71 -70
  191. package/dist/{operation-outcome-ORQPVJKB.js → operation-outcome-3V4G7QD3.js} +24 -24
  192. package/dist/{output-target-KNHHNDM3.js → output-target-LTU4L3IA.js} +16 -16
  193. package/dist/{plan-disclosure-4DUFRGCP.js → plan-disclosure-6MG4YYJV.js} +28 -28
  194. package/dist/{plugin-contributions-YYEP7IWH.js → plugin-contributions-DD6R6RL6.js} +5 -5
  195. package/dist/{plugin-prompt-GKCQKNYI.js → plugin-prompt-UX2TT5NS.js} +5 -5
  196. package/dist/{plugin-questions-P7MA3TYI.js → plugin-questions-WE2F4ZC4.js} +4 -4
  197. package/dist/{preflight-command-32GFVKSN.js → preflight-command-724B7Y73.js} +75 -74
  198. package/dist/{profile-command-U2XTKOMF.js → profile-command-REIJ4F3Y.js} +28 -28
  199. package/dist/{profile-pointer-JJ7K5O2R.js → profile-pointer-RCPHVTJV.js} +4 -4
  200. package/dist/{project-dependency-X3KCWBK5.js → project-dependency-TPVV3YIX.js} +7 -7
  201. package/dist/{project-sdk-YHJZRCNB.js → project-sdk-DKZBK5H5.js} +4 -4
  202. package/dist/promote-command-5FK2NFHG.js +149 -0
  203. package/dist/{prompt-QNMJIWNI.js → prompt-OYQHQWKI.js} +4 -4
  204. package/dist/{publish-command-5ZVZ6IYT.js → publish-command-VEDUWLVB.js} +72 -71
  205. package/dist/pull-command-UXNEJSDI.js +171 -0
  206. package/dist/{pull-superseded-6HADGGC5.js → pull-superseded-3SSM3JFT.js} +4 -4
  207. package/dist/{raw-where-gWGr-E4t.d.ts → raw-where-CinW0keO.d.ts} +32 -4
  208. package/dist/release-command-BCKJ4BUN.js +153 -0
  209. package/dist/{release-ns-command-LDN5DOKQ.js → release-ns-command-VFI4PPSX.js} +96 -95
  210. package/dist/{retry-command-LFZYEVRU.js → retry-command-WP4ZI6CJ.js} +8 -8
  211. package/dist/{routes-manifest-BMAOL6WN.js → routes-manifest-N73THJB3.js} +16 -16
  212. package/dist/routes-manifest-file-R3JLJ5CA.js +41 -0
  213. package/dist/scaffold.js +2 -2
  214. package/dist/{secrets-file-7QM3ORGX.js → secrets-file-GF46TDY7.js} +15 -15
  215. package/dist/{secrets-fill-command-OZ537VOD.js → secrets-fill-command-HKNROT6W.js} +66 -65
  216. package/dist/{seed-ATGBOEJP.js → seed-W5FNE6IB.js} +13 -13
  217. package/dist/{source-resolve-QYSWA3QR.js → source-resolve-QYSVNJMY.js} +22 -22
  218. package/dist/{static-host-MO4VDHL7.js → static-host-3HPZKVKK.js} +5 -5
  219. package/dist/{status-command-IEB4K7ME.js → status-command-RLXDDCZA.js} +38 -38
  220. package/dist/{store-AJX4MC7Y.js → store-B63BQV6R.js} +6 -6
  221. package/dist/{store-DspGMsFY.d.ts → store-Dg9FLJkx.d.ts} +185 -11
  222. package/dist/sync-baseline-GRS33AB5.js +38 -0
  223. package/dist/{sync-contributions-DLV5JZUK.js → sync-contributions-BV7DFWBZ.js} +9 -9
  224. package/dist/{sync-record-NE62ERA3.js → sync-record-AWFCSS4D.js} +15 -15
  225. package/dist/{table-TFD4ZQXA.js → table-WJ7YDJ6Q.js} +12 -12
  226. package/dist/{tables-command-IMCVPUFY.js → tables-command-EXHXLLN6.js} +41 -41
  227. package/dist/{tenant-IIYECNWO.js → tenant-IXIW3FOI.js} +10 -10
  228. package/dist/{tenant-command-77KG76MU.js → tenant-command-D5H7MR3C.js} +104 -103
  229. package/dist/{test-command-NSPU4RUO.js → test-command-ORMWZXC3.js} +56 -45
  230. package/dist/{tests-JWQRHFCT.js → tests-N4MMBABH.js} +6 -6
  231. package/dist/{token-BDHD7GU3.js → token-EFSD6WSQ.js} +13 -13
  232. package/dist/{toolchain-hooks-QHJRDCRW.js → toolchain-hooks-IJWV3ZQS.js} +18 -18
  233. package/dist/{toolchain-modules-LY7BMYG6.js → toolchain-modules-BC37MYYD.js} +5 -5
  234. package/dist/{toolchain-peers-FQJBTKEB.js → toolchain-peers-EMOYN4U7.js} +8 -8
  235. package/dist/{tracked-backend-BIR7YJCE.js → tracked-backend-IPEGNGNI.js} +34 -34
  236. package/dist/update-check-4YTFF7NB.js +141 -0
  237. package/dist/{upgrade-command-YCADQCIA.js → upgrade-command-J4CPYEGO.js} +68 -67
  238. package/dist/{whoami-command-IZCTUPM4.js → whoami-command-XGVTKQSL.js} +16 -16
  239. package/dist/{workspace-TK52V7WO.js → workspace-JGUNVFRE.js} +5 -5
  240. package/dist/{workspace-binding-3UT6PP4B.js → workspace-binding-MQ2QIWOJ.js} +15 -15
  241. package/dist/{workspace-command-46OCB6XT.js → workspace-command-LSEG62RA.js} +100 -99
  242. package/dist/{workspace-env-PVPOWFNZ.js → workspace-env-7U7OLRUO.js} +18 -12
  243. package/dist/{workspace-export-PUEXKZNS.js → workspace-export-3KMWNZDD.js} +5 -5
  244. package/dist/{writable-LMMG4AFZ.js → writable-X7BCN7XE.js} +4 -4
  245. package/dist/xano-RLSNDM7O.js +44 -0
  246. package/dist/{xanosdk-import-XXJT365U.js → xanosdk-import-Y5SBF4LP.js} +10 -10
  247. package/dist/{xanosdk-project-CJKRLQ6U.js → xanosdk-project-5XARMFZ7.js} +13 -13
  248. package/dist/{xdo-D4OwfF2J.d.ts → xdo-DNGZGO1j.d.ts} +50 -12
  249. package/guides/authoring.md +1 -0
  250. package/guides/codes.md +33 -3
  251. package/guides/coverage.md +2 -2
  252. package/guides/object-kinds.md +1 -1
  253. package/guides/typed-frontend.md +9 -0
  254. package/llms/client.md +54 -36
  255. package/llms/errors.md +26 -6
  256. package/llms/fields.md +56 -32
  257. package/llms/filters.md +55 -46
  258. package/llms/kinds-agent-mcp.md +10 -9
  259. package/llms/kinds-core.md +19 -15
  260. package/llms/kinds-knowledge.md +4 -4
  261. package/llms/kinds-realtime.md +25 -23
  262. package/llms/lambda.md +42 -30
  263. package/llms/legacy.md +6 -7
  264. package/llms/lock.md +21 -17
  265. package/llms/object-kinds.md +9 -11
  266. package/llms/statements-calls.md +41 -20
  267. package/llms/statements-catalog.md +32 -25
  268. package/llms/statements-data.md +35 -25
  269. package/llms/statements-runtime.md +28 -18
  270. package/llms/tests.md +20 -7
  271. package/llms/toolchain.md +12 -9
  272. package/llms/triggers.md +15 -19
  273. package/llms/values.md +16 -9
  274. package/llms-full.txt +647 -506
  275. package/llms.txt +120 -137
  276. package/manifest.json +147 -95
  277. package/package.json +1 -1
  278. package/skills/xano-backend/SKILL.md +10 -12
  279. package/types/lambda-globals.d.ts +6 -1
  280. package/dist/branch-commands-4PJEBNRK.js +0 -80
  281. package/dist/codegen-command-RDD4GL35.js +0 -182
  282. package/dist/env-example-refresh-MQWHY7ZS.js +0 -135
  283. package/dist/init-command-6Z7QNVDY.js +0 -142
  284. package/dist/promote-command-OO56IZBT.js +0 -148
  285. package/dist/pull-command-LT5PCEIW.js +0 -170
  286. package/dist/release-command-RBUOXIH7.js +0 -152
  287. package/dist/routes-manifest-file-MPOVKD6N.js +0 -41
  288. package/dist/sync-baseline-IB7MABZO.js +0 -38
  289. package/dist/update-check-JDARCXAX.js +0 -140
  290. package/dist/xano-EOUVXNQX.js +0 -43
@@ -6,13 +6,13 @@ import {
6
6
  startEngine,
7
7
  stopEngineNamed,
8
8
  stopOrphanedEngineProcesses
9
- } from "./chunk-XPSDDTUZ.js";
9
+ } from "./chunk-VCFRALU7.js";
10
10
  import {
11
11
  RELEASE_VERSION,
12
12
  readEngineEntry,
13
13
  stageEngine,
14
14
  verifiedEngineExecutable
15
- } from "./chunk-EQXHUWUO.js";
15
+ } from "./chunk-6FCAFWD5.js";
16
16
  import {
17
17
  sha256Hex
18
18
  } from "./chunk-64WWE3EF.js";
@@ -20,17 +20,17 @@ import {
20
20
  normalizeEngineVersion,
21
21
  resolveEngineRelease,
22
22
  usesCustomReleaseManager
23
- } from "./chunk-6X73VFCX.js";
23
+ } from "./chunk-GT7PZCTK.js";
24
24
  import {
25
25
  compareSemver,
26
26
  parseSemver
27
27
  } from "./chunk-2TFRR6JV.js";
28
28
  import {
29
29
  recordDeployed
30
- } from "./chunk-GKQTXUOW.js";
30
+ } from "./chunk-MOVRSULZ.js";
31
31
  import {
32
32
  ImportHttpError
33
- } from "./chunk-RYWNNJK5.js";
33
+ } from "./chunk-GA6HTO3O.js";
34
34
  import {
35
35
  engineNameForProject,
36
36
  getEngineRecord,
@@ -48,7 +48,7 @@ import {
48
48
  import {
49
49
  TransportError,
50
50
  fetchOrExplain
51
- } from "./chunk-HXFLHA5K.js";
51
+ } from "./chunk-NH5Z2NOD.js";
52
52
  import {
53
53
  readEnvVar
54
54
  } from "./chunk-X2NL4KUO.js";
@@ -58,7 +58,7 @@ import {
58
58
  } from "./chunk-4GPIOIAC.js";
59
59
  import {
60
60
  UsageError
61
- } from "./chunk-GRXX2TOJ.js";
61
+ } from "./chunk-ZHFSIQ6E.js";
62
62
 
63
63
  // src/deploy/local-engine-release.ts
64
64
  import { readFileSync } from "fs";
@@ -611,4 +611,4 @@ export {
611
611
  restartMismatchedEngine,
612
612
  explainUnsupportedEngineImport
613
613
  };
614
- //# sourceMappingURL=chunk-YR3MNGWZ.js.map
614
+ //# sourceMappingURL=chunk-E5M5P23K.js.map
@@ -2,7 +2,7 @@ import {
2
2
  encodeInput,
3
3
  f,
4
4
  input
5
- } from "./chunk-VIRFG3WG.js";
5
+ } from "./chunk-FTFAPKCW.js";
6
6
 
7
7
  // src/kinds/trigger-inputs.ts
8
8
  var ERROR_EVENT_DESCRIPTION = `Which event fired the trigger. "new" fires on first capture and on every snapshot re-capture for non-ignored signatures (rate-limited by the ~5min snapshot dedup window). "regression" fires when a previously-fixed signature re-occurs (the fix didn't hold, or the same bug regressed back). "fixed" fires when a user marks a signature as fixed.`;
@@ -207,4 +207,4 @@ export {
207
207
  impliedInputs,
208
208
  isTriggerObjType
209
209
  };
210
- //# sourceMappingURL=chunk-HJZUI2ZU.js.map
210
+ //# sourceMappingURL=chunk-EAZTRU75.js.map
@@ -2,20 +2,20 @@ import {
2
2
  findBranch,
3
3
  listBranches,
4
4
  liveBranchLabel
5
- } from "./chunk-2LF734YB.js";
5
+ } from "./chunk-54CJ74BH.js";
6
6
  import {
7
7
  readLockFile,
8
8
  recordSyncInLockFile,
9
9
  syncedOn
10
- } from "./chunk-CJDPSCMX.js";
10
+ } from "./chunk-7ZVQIKNL.js";
11
11
  import {
12
12
  destinationKey
13
- } from "./chunk-MFWF2NZJ.js";
13
+ } from "./chunk-2H5BQRHF.js";
14
14
  import {
15
15
  displayPath,
16
16
  info,
17
17
  warn
18
- } from "./chunk-GRXX2TOJ.js";
18
+ } from "./chunk-ZHFSIQ6E.js";
19
19
 
20
20
  // src/emit/sync-record.ts
21
21
  import { existsSync } from "fs";
@@ -64,4 +64,4 @@ export {
64
64
  storedBranchLabel,
65
65
  syncBranchLabel
66
66
  };
67
- //# sourceMappingURL=chunk-KMKUH2IO.js.map
67
+ //# sourceMappingURL=chunk-EPB6FAR5.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-X4DVXBFY.js";
7
7
  import {
8
8
  ImportHttpError
9
- } from "./chunk-RYWNNJK5.js";
9
+ } from "./chunk-GA6HTO3O.js";
10
10
  import {
11
11
  TransportError,
12
12
  certificateFailureCode,
@@ -23,14 +23,14 @@ import {
23
23
  statusLabel,
24
24
  transportTarget,
25
25
  writeStatusAftermath
26
- } from "./chunk-HXFLHA5K.js";
26
+ } from "./chunk-NH5Z2NOD.js";
27
27
  import {
28
28
  describeWrite
29
29
  } from "./chunk-4KHEMC32.js";
30
30
  import {
31
31
  calcSignatureJson,
32
32
  signatureHolds
33
- } from "./chunk-7FIMUFBP.js";
33
+ } from "./chunk-QDPY7RN3.js";
34
34
  import {
35
35
  HOSTED_FILE_SCHEME,
36
36
  HOSTED_ICON_KINDS,
@@ -461,7 +461,7 @@ async function post(auth, url, opts, action) {
461
461
  const aftermath = !writes ? `A dry run writes nothing, so ${target} is untouched. Retry when the instance is reachable.` : opts.mode === "replace" ? `The request did not complete, so the import may or may not have landed, in whole or in part. A replace rewrites all of ${target}, so it is safe to run again once the instance is reachable.` : `The request did not complete, so the import may or may not have landed, in whole or in part.` + (opts.stateCheck !== void 0 ? ` ${opts.stateCheck}` : "");
462
462
  const where = `${transportTarget(url)}${opts.label !== void 0 ? ` (${opts.label})` : ""}`;
463
463
  if (res === void 0) {
464
- const { classifyFailure } = await import("./operation-outcome-ORQPVJKB.js");
464
+ const { classifyFailure } = await import("./operation-outcome-3V4G7QD3.js");
465
465
  if (writes && !isTimeoutError(failure) && classifyFailure(failure, { writeSent: true }) === "no") {
466
466
  const untrusted = certificateFailureCode(failure) !== void 0;
467
467
  throw new ImportNotSentError(
@@ -557,4 +557,4 @@ export {
557
557
  withDefaultBranchPointer,
558
558
  xanosdkImport
559
559
  };
560
- //# sourceMappingURL=chunk-B6AFJVG4.js.map
560
+ //# sourceMappingURL=chunk-ES6FBPLY.js.map
@@ -0,0 +1,67 @@
1
+ // src/bundle/walk.ts
2
+ var SUB_STACK_KEYS = ["if", "elif", "else", "then", "run"];
3
+ var SUB_STACK_LABELS = {
4
+ "mvp:conditional": { if: "then", elif: "elif", else: "else" },
5
+ "mvp:conditional_elif": { if: "then" },
6
+ "mvp:switch": { elif: "cases", else: "default" },
7
+ "mvp:switch_case": { if: "body" },
8
+ "mvp:try_catch": { if: "try", else: "catch", then: "finally" }
9
+ };
10
+ var isRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
11
+ function runOf(value) {
12
+ if (!isRecord(value)) return null;
13
+ const run = value.run;
14
+ return Array.isArray(run) ? run : null;
15
+ }
16
+ function subStacks(raw) {
17
+ const context = raw?.context;
18
+ if (!isRecord(context)) return [];
19
+ const labels = (Object.hasOwn(SUB_STACK_LABELS, raw.name) ? SUB_STACK_LABELS[raw.name] : void 0) ?? {};
20
+ const found = [];
21
+ const push = (key, value) => {
22
+ const run = key === "run" ? Array.isArray(value) ? value : null : runOf(value);
23
+ if (!run) return;
24
+ found.push({ key, label: labels[key] ?? (key === "run" ? "body" : key), run });
25
+ };
26
+ for (const key of SUB_STACK_KEYS) {
27
+ if (Object.hasOwn(context, key)) push(key, context[key]);
28
+ }
29
+ for (const key of Object.keys(context)) {
30
+ if (!SUB_STACK_KEYS.includes(key)) push(key, context[key]);
31
+ }
32
+ return found;
33
+ }
34
+ function statementPath(segments) {
35
+ return segments.join(".");
36
+ }
37
+ function walk(run) {
38
+ const out = [];
39
+ const pending = [];
40
+ for (let i = run.length - 1; i >= 0; i--) {
41
+ pending.push({ raw: run[i], path: statementPath([i]), depth: 0 });
42
+ }
43
+ while (pending.length > 0) {
44
+ const frame = pending.pop();
45
+ out.push(frame);
46
+ const children = [];
47
+ for (const sub of subStacks(frame.raw)) {
48
+ for (let i = 0; i < sub.run.length; i++) {
49
+ children.push({
50
+ raw: sub.run[i],
51
+ path: statementPath([frame.path, sub.key, i]),
52
+ depth: frame.depth + 1
53
+ });
54
+ }
55
+ }
56
+ for (let i = children.length - 1; i >= 0; i--) pending.push(children[i]);
57
+ }
58
+ return out;
59
+ }
60
+
61
+ export {
62
+ SUB_STACK_KEYS,
63
+ subStacks,
64
+ statementPath,
65
+ walk
66
+ };
67
+ //# sourceMappingURL=chunk-EUAU4QKI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  normalize
3
- } from "./chunk-W2QFR3ZJ.js";
3
+ } from "./chunk-FIOC7RSU.js";
4
4
  import {
5
5
  sha1Bytes
6
6
  } from "./chunk-OHX6MIUZ.js";
@@ -41,4 +41,4 @@ export {
41
41
  canonicalJson,
42
42
  structuralHash
43
43
  };
44
- //# sourceMappingURL=chunk-IDOVZLPK.js.map
44
+ //# sourceMappingURL=chunk-EXJ4Q5F6.js.map
@@ -4,7 +4,7 @@ import {
4
4
  describeStatementEntry,
5
5
  isStatementEntry,
6
6
  isVarName
7
- } from "./chunk-4MIV244X.js";
7
+ } from "./chunk-SGEOXJIH.js";
8
8
 
9
9
  // src/values/mock.ts
10
10
  function isWrapped(e) {
@@ -234,4 +234,4 @@ export {
234
234
  statementMark,
235
235
  encodeStatement
236
236
  };
237
- //# sourceMappingURL=chunk-FKQX6KU7.js.map
237
+ //# sourceMappingURL=chunk-F3JK5RIY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  impliedInputs
3
- } from "./chunk-HJZUI2ZU.js";
3
+ } from "./chunk-EAZTRU75.js";
4
4
 
5
5
  // src/validate/normalize.ts
6
6
  var STRIP_KEYS = /* @__PURE__ */ new Set([
@@ -1063,4 +1063,4 @@ export {
1063
1063
  filledContext,
1064
1064
  normalize
1065
1065
  };
1066
- //# sourceMappingURL=chunk-W2QFR3ZJ.js.map
1066
+ //# sourceMappingURL=chunk-FIOC7RSU.js.map
@@ -12,16 +12,21 @@ var VALUES = [
12
12
  "field.enum-default-not-a-value",
13
13
  "field.email-default-invalid",
14
14
  "field.input-default-invalid",
15
+ "field.input-never-omittable",
15
16
  "field.input-required-default-ignored",
17
+ "field.list-bounds-on-scalar",
18
+ "field.list-default-ignored",
16
19
  "value.obj-zero-based-numeric-keys",
17
20
  "value.int-out-of-range"
18
21
  ];
19
22
  var STACK = /* @__PURE__ */ (() => [
20
23
  ENV,
24
+ "stack.env-secret-in-response",
21
25
  MIXED,
22
26
  "stack.blank-table",
23
27
  "stack.inp-undeclared",
24
28
  "stack.unbound-var",
29
+ "stack.var-conditionally-bound",
25
30
  "storage.stored-file-input",
26
31
  "stack.password-input-double-hash",
27
32
  "stack.zip-password-absent",
@@ -39,20 +44,35 @@ var STACK = /* @__PURE__ */ (() => [
39
44
  "db.query-output-totals-off",
40
45
  "db.query-output-joined-column",
41
46
  "db.query-output-unknown-column",
47
+ "db.eval-unselected",
42
48
  "db.output-unknown-column",
43
49
  "db.query-output-not-envelope-rooted",
44
50
  "db.query-envelope-read-unpaged",
45
51
  "db.safe-ref-match-arg",
52
+ "stack.drill-maybe-null",
46
53
  "db.null-match-arg",
47
54
  "db.filter-operand-invalid",
55
+ "db.stream-returned",
56
+ "storage.include-meta-returned",
57
+ "db.patch-raw-input",
58
+ "db.edit-optional-input",
59
+ "stack.auth-token-optional-expiration",
48
60
  "search.request-only-filter",
49
61
  "switch.missing-break",
50
62
  "stack.expect-outside-test",
51
63
  "realtime.publish-unknown-server",
52
64
  "realtime.publish-unknown-channel",
53
65
  "redis.ratelimit-no-error",
66
+ "security.encrypt-default-algorithm",
67
+ "security.jwt-no-ttl",
68
+ "security.rsa-default-bits",
69
+ "stack.tool-call-reads-auth",
54
70
  "agent.args-placeholder-unpassed",
55
71
  "stack.agent-tools-off",
72
+ "stack.predicate-unbound",
73
+ "stack.array-key-constant",
74
+ "stack.array-index-unbound",
75
+ "stack.precondition-bare-error",
56
76
  ...VALUES
57
77
  ])();
58
78
  var NO_CALLER = ["stack.auth-no-caller", "stack.auth-null-host"];
@@ -69,12 +89,14 @@ var ALLOWABLE_WARNINGS = /* @__PURE__ */ (() => ({
69
89
  "query.auth-table-unflagged",
70
90
  "query.input-name-mangled",
71
91
  "middleware.post-merge-list",
92
+ "middleware.pre-replace-drops-input",
72
93
  "response.unbound-return",
94
+ "response.return-outside-type",
73
95
  "mcp.elicit-outside-mcp",
74
96
  TEST_INPUT,
75
97
  "cache.ttl-not-positive"
76
98
  ],
77
- function: [TEST_LIVE, ...STACK, "function.reserved-input-name", "response.unbound-return", TEST_INPUT, "cache.ttl-not-positive"],
99
+ function: [TEST_LIVE, ...STACK, "function.reserved-input-name", "response.unbound-return", "response.return-outside-type", TEST_INPUT, "cache.ttl-not-positive"],
78
100
  task: [...STACK, ...NO_CALLER, "mcp.elicit-outside-mcp"],
79
101
  middleware: [
80
102
  TEST_LIVE,
@@ -84,7 +106,8 @@ var ALLOWABLE_WARNINGS = /* @__PURE__ */ (() => ({
84
106
  "middleware.inp-unresolvable",
85
107
  "middleware.auth-null-host",
86
108
  "middleware.envelope-unnested",
87
- "middleware.post-reads-request"
109
+ "middleware.post-reads-request",
110
+ "response.return-outside-type"
88
111
  ],
89
112
  trigger: [
90
113
  ...STACK,
@@ -92,19 +115,22 @@ var ALLOWABLE_WARNINGS = /* @__PURE__ */ (() => ({
92
115
  "trigger.search-bare-column",
93
116
  "trigger.search-unknown-column",
94
117
  "trigger.no-action",
118
+ "trigger.absent-side-read",
119
+ "trigger.mcp-response-missing-key",
95
120
  "trigger.unbound",
96
121
  "realtime.gate-denies-everyone",
97
122
  "realtime.deliver-falsy-return",
98
123
  "realtime.join-deliver-object-response",
99
- "realtime.deliver-without-per-recipient"
124
+ "realtime.deliver-without-per-recipient",
125
+ "response.return-outside-type"
100
126
  ],
101
- tool: [...STACK, ELICIT, "mcp.elicit-duplicate-key", "tool.output-mismatch"],
102
- prompt: [...STACK, ELICIT, "mcp.elicit-duplicate-key", "mcp.prompt-no-response"],
103
- resource: [...STACK, ELICIT, "mcp.elicit-duplicate-key"],
127
+ tool: [...STACK, ELICIT, "mcp.elicit-duplicate-key", "tool.output-mismatch", "tool.description-shadowed", "response.return-outside-type"],
128
+ prompt: [...STACK, ELICIT, "mcp.elicit-duplicate-key", "mcp.prompt-no-response", "response.return-outside-type"],
129
+ resource: [...STACK, ELICIT, "mcp.elicit-duplicate-key", "response.return-outside-type"],
104
130
  agent: TOOLSET,
105
131
  mcp_server: [...TOOLSET, "toolset.primitive-reads-auth-ungated"],
106
- message: [...STACK, "realtime.deliver-explicit"],
107
- workflow_test: ["workflow-test.live-datasource", ...STACK],
132
+ message: [...STACK, "realtime.deliver-explicit", "realtime.precondition-fails-open", "response.return-outside-type"],
133
+ workflow_test: ["workflow-test.live-datasource", "workflow-test.unchecked-child", ...STACK],
108
134
  realtime_server: ["realtime.server-disabled"],
109
135
  channel: ["realtime.conversation-no-limit", "realtime.per-recipient-without-deliver", ...VALUES],
110
136
  microservice: [ENV],
@@ -117,7 +143,8 @@ var ALLOWABLE_WARNINGS = /* @__PURE__ */ (() => ({
117
143
  "table.view-unknown-column",
118
144
  "table.reserved-column-name",
119
145
  "field.vector-not-nullable",
120
- "table.column-default-unfit"
146
+ "table.column-default-unfit",
147
+ "table.search-index-unnamed"
121
148
  ],
122
149
  addon: [...VALUES, "search.request-only-filter", "db.filter-operand-invalid"],
123
150
  knowledge: [
@@ -143,7 +170,8 @@ var ADVISORY_WARNINGS = [
143
170
  TEST_LIVE,
144
171
  "statement.omitted-input",
145
172
  "realtime.server-disabled",
146
- DOCS_PUBLIC
173
+ DOCS_PUBLIC,
174
+ "response.return-outside-type"
147
175
  ];
148
176
  var WORKSPACE_WIDE_WARNINGS = ["lock.same-name-siblings"];
149
177
  var consoleSink = (diagnostic) => {
@@ -312,4 +340,4 @@ export {
312
340
  problemCount,
313
341
  numberedList
314
342
  };
315
- //# sourceMappingURL=chunk-YEH5OIPF.js.map
343
+ //# sourceMappingURL=chunk-FMXPV5JI.js.map
@@ -4,7 +4,7 @@ import {
4
4
  listAnswer,
5
5
  recordAnswer,
6
6
  writeTransportFailure
7
- } from "./chunk-QRMKQYCB.js";
7
+ } from "./chunk-SINL5WMI.js";
8
8
  import {
9
9
  appendSentence,
10
10
  fetchOrExplain,
@@ -12,7 +12,7 @@ import {
12
12
  serverMessage,
13
13
  statusLabel,
14
14
  transportTarget
15
- } from "./chunk-HXFLHA5K.js";
15
+ } from "./chunk-NH5Z2NOD.js";
16
16
 
17
17
  // src/deploy/tests.ts
18
18
  function labelledMessage(text) {
@@ -174,7 +174,11 @@ async function listWorkflowTests(auth, target, onTruncate) {
174
174
  kind: "workflow",
175
175
  id: row.id,
176
176
  name,
177
- datasource: typeof row.datasource === "string" ? row.datasource : void 0
177
+ datasource: typeof row.datasource === "string" ? row.datasource : void 0,
178
+ // `active` defaults true engine-side; only an explicit `false` parks a
179
+ // test. Absent (an older engine that does not project it) is "unknown",
180
+ // which the runner treats as active — never silently skip.
181
+ active: typeof row.active === "boolean" ? row.active : void 0
178
182
  }
179
183
  ];
180
184
  });
@@ -218,7 +222,8 @@ async function runTest(auth, target, handle) {
218
222
  });
219
223
  const text = await res.text();
220
224
  if (!res.ok) {
221
- if (res.status >= 500 || res.status === 401 || res.status === 403 || res.status === 429 || labelledMessage(text) === void 0) {
225
+ const notImplemented = res.status === 501 && labelledMessage(text) !== void 0;
226
+ if (res.status >= 500 && !notImplemented || res.status === 401 || res.status === 403 || res.status === 429 || labelledMessage(text) === void 0) {
222
227
  const message = appendSentence(
223
228
  httpFailure(action, res, text),
224
229
  `Nothing was run to a result \u2014 ${transportTarget(url)} did not report one.`
@@ -247,4 +252,4 @@ export {
247
252
  TestRunUnansweredError,
248
253
  runTest
249
254
  };
250
- //# sourceMappingURL=chunk-GVHWIDEJ.js.map
255
+ //# sourceMappingURL=chunk-FRJB3NTE.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  encodeTags,
6
6
  registerKind
7
- } from "./chunk-74OPNM2Z.js";
7
+ } from "./chunk-JHAZK4RY.js";
8
8
  import {
9
9
  nearestKey
10
10
  } from "./chunk-WTPZRR4I.js";
@@ -13,33 +13,33 @@ import {
13
13
  emitDiagnostic,
14
14
  numberedList,
15
15
  problemCount
16
- } from "./chunk-YEH5OIPF.js";
16
+ } from "./chunk-FMXPV5JI.js";
17
17
  import {
18
18
  isHostedFile
19
19
  } from "./chunk-VQPDATQT.js";
20
20
  import {
21
21
  RAW_WHERE,
22
22
  isRawWhere
23
- } from "./chunk-ZY55DO5P.js";
23
+ } from "./chunk-G6BEJ3NA.js";
24
24
  import {
25
25
  annotate,
26
26
  encodeStatement,
27
27
  registerStatement
28
- } from "./chunk-FKQX6KU7.js";
28
+ } from "./chunk-F3JK5RIY.js";
29
29
  import {
30
30
  COLUMN_CONTEXT,
31
31
  COLUMN_NULLABLE_TYPES,
32
32
  authoredFieldType,
33
33
  encodeField,
34
34
  isListColumn
35
- } from "./chunk-JIKGT7DO.js";
35
+ } from "./chunk-GE3JV5SI.js";
36
36
  import {
37
37
  argsOrEmpty,
38
38
  assertArg,
39
39
  assertStatements,
40
40
  describeEntry,
41
41
  isTaggedArg
42
- } from "./chunk-4MIV244X.js";
42
+ } from "./chunk-SGEOXJIH.js";
43
43
 
44
44
  // src/util/known-keys.ts
45
45
  function assertKnownKeys(where, v, known) {
@@ -521,6 +521,13 @@ function assertIndexFieldTypes(def) {
521
521
  if ((type === "hash" || type === "vector") && index.fields.length !== 1) {
522
522
  throw new Error(`${at}: a ${type} index covers exactly one column \u2014 the deploy fails on ${index.fields.length}. Declare one index per column.`);
523
523
  }
524
+ if (type === "search" && (index.name === void 0 || index.name === "")) {
525
+ emitDiagnostic({
526
+ severity: "warning",
527
+ code: "table.search-index-unnamed",
528
+ message: `${at}: a search index is queried by its \`name\` (\`col("$<name>")\` + \`qf.search_rank\`), so without one it deploys but can never be searched. Give it \`name: "<name>"\` and match rows with \`where: cmp(col("$<name>"), "search", <term>)\`.`
529
+ });
530
+ }
524
531
  const ops = INDEX_OPS[type];
525
532
  const xdo = def.useXdo === true;
526
533
  const plainIndex = type === "btree" || type === "btree|unique" || type === "hash";
@@ -1272,4 +1279,4 @@ export {
1272
1279
  assertSeedUnique,
1273
1280
  isNonPublicColumn
1274
1281
  };
1275
- //# sourceMappingURL=chunk-TXFOQZUQ.js.map
1282
+ //# sourceMappingURL=chunk-FSHW3GQU.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  isTaggedValue
3
- } from "./chunk-Z6N5N4MN.js";
3
+ } from "./chunk-SIW2HT2H.js";
4
4
  import {
5
5
  resolveRef
6
- } from "./chunk-LL6ED5IB.js";
6
+ } from "./chunk-FTS42N37.js";
7
7
  import {
8
8
  INPUT_CONTEXT,
9
9
  encodeField
10
- } from "./chunk-JIKGT7DO.js";
10
+ } from "./chunk-GE3JV5SI.js";
11
11
 
12
12
  // src/fields/catalog.ts
13
13
  var DEFAULTABLE_TYPES = /* @__PURE__ */ new Set([
@@ -23,9 +23,9 @@ var DEFAULTABLE_TYPES = /* @__PURE__ */ new Set([
23
23
  ]);
24
24
  var ACCESS_VALUES = /* @__PURE__ */ new Set(["public", "private", "internal"]);
25
25
  var FORMAT_VALUES = /* @__PURE__ */ new Set(["", "plaintext", "yaml", "html", "xml", "markdown"]);
26
- function assertEnumValues(values) {
26
+ function assertEnumValues(values, ns = "f") {
27
27
  if (Array.isArray(values) && values.every((v) => typeof v === "string" || typeof v === "number")) return;
28
- throw new Error(`f.enum takes its values as a list of strings or numbers, FIRST: f.enum(["a", "b"], { default: "a" }) \u2014 got ${JSON.stringify(values)}.`);
28
+ throw new Error(`${ns}.enum takes its values as a list of strings or numbers, FIRST: ${ns}.enum(["a", "b"], { default: "a" }) \u2014 got ${JSON.stringify(values)}.`);
29
29
  }
30
30
  function descriptor(type, options) {
31
31
  if (options.format && type !== "text") {
@@ -75,6 +75,15 @@ var f = {
75
75
  decimal: make("decimal"),
76
76
  bool: make("bool"),
77
77
  uuid: make("uuid"),
78
+ /**
79
+ * Date column (`YYYY-MM-DD`). ⚠ The engine does NOT validate the written
80
+ * value: an invalid calendar date ROLLS OVER into a different valid one
81
+ * (`"2020-13-45"` stores as `"2021-02-14"`) rather than failing, and an
82
+ * epoch-ms number is accepted and converted. A column `required` does not
83
+ * catch it. Validate at the boundary with `input.date` (which rejects the
84
+ * same string with a 400), or `s.precondition` any value reaching the cell
85
+ * through `input.text`/`input.json` or a computed var.
86
+ */
78
87
  date: make("date"),
79
88
  email: make("email"),
80
89
  /** Password field; defaults to `access:"internal"` (the engine's stored default). */
@@ -304,7 +313,13 @@ var input = {
304
313
  audio: f.audio,
305
314
  /** Generic file-attachment input (stored `blob`). */
306
315
  attachment: f.attachment,
307
- /** Geo inputs: `input.geo.point()`, `.polygon()`, … (six geometry types). */
316
+ /**
317
+ * Geo inputs: `input.geo.point()`, `.polygon()`, … (six geometry types). A geo
318
+ * input reads back as WKT text (`inp(...)` → `"POINT(10 20)"`), so these brand
319
+ * the read value `string` — unlike a geo *column* (`f.geo.*`), which reads
320
+ * `{ type, data }`. The runtime is `f.geo` untouched (same stored type and
321
+ * encoding); the cast only changes the type-level read brand. See {@link GeoInputCatalog}.
322
+ */
308
323
  geo: f.geo,
309
324
  /** Vector input; `size` (>= 1) is the embedding dimensionality. */
310
325
  vector: f.vector,
@@ -316,6 +331,7 @@ var input = {
316
331
  * rejects is how they start disagreeing about what a workspace can hold.
317
332
  */
318
333
  enum(values, options = {}) {
334
+ assertEnumValues(values, "input");
319
335
  return { type: "enum", options: { ...options, values: [...values] } };
320
336
  },
321
337
  /**
@@ -367,4 +383,4 @@ export {
367
383
  input,
368
384
  encodeInput
369
385
  };
370
- //# sourceMappingURL=chunk-VIRFG3WG.js.map
386
+ //# sourceMappingURL=chunk-FTFAPKCW.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-4BW2SG2N.js";
4
4
  import {
5
5
  describeEntry
6
- } from "./chunk-4MIV244X.js";
6
+ } from "./chunk-SGEOXJIH.js";
7
7
  import {
8
8
  md5Hex
9
9
  } from "./chunk-OHX6MIUZ.js";
@@ -193,4 +193,4 @@ export {
193
193
  noteHandleRef,
194
194
  resolveRef
195
195
  };
196
- //# sourceMappingURL=chunk-LL6ED5IB.js.map
196
+ //# sourceMappingURL=chunk-FTS42N37.js.map
@@ -3,17 +3,17 @@ import {
3
3
  } from "./chunk-EUUUMY7J.js";
4
4
  import {
5
5
  backendDirIn
6
- } from "./chunk-FXZEZAV2.js";
6
+ } from "./chunk-NLWYNVJV.js";
7
7
  import {
8
8
  shellWord
9
9
  } from "./chunk-FWD7AL6N.js";
10
10
  import {
11
11
  pointerRootFor
12
- } from "./chunk-ECQXASG3.js";
12
+ } from "./chunk-IFHFJR5O.js";
13
13
  import {
14
14
  UsageError,
15
15
  setTypedCwd
16
- } from "./chunk-GRXX2TOJ.js";
16
+ } from "./chunk-ZHFSIQ6E.js";
17
17
 
18
18
  // src/emit/xanosdk-project.ts
19
19
  import { existsSync, realpathSync, statSync } from "fs";
@@ -154,4 +154,4 @@ export {
154
154
  RELATIVE_PATH_ARGS,
155
155
  enterProjectRoot
156
156
  };
157
- //# sourceMappingURL=chunk-HCNIB3EC.js.map
157
+ //# sourceMappingURL=chunk-FYPTWYCU.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  impersonateEphemeral,
6
6
  projectTenant
7
- } from "./chunk-Y5XAPLZS.js";
7
+ } from "./chunk-7UQZ7C4W.js";
8
8
  import {
9
9
  deleteAnswer,
10
10
  hasString,
@@ -12,7 +12,7 @@ import {
12
12
  listAnswer,
13
13
  recordAnswer,
14
14
  writeTransportFailure
15
- } from "./chunk-QRMKQYCB.js";
15
+ } from "./chunk-SINL5WMI.js";
16
16
  import {
17
17
  SENT_AFTERMATH,
18
18
  fetchOrExplain,
@@ -20,7 +20,7 @@ import {
20
20
  readBodyText,
21
21
  safeHttpFailure,
22
22
  writeStatusAftermath
23
- } from "./chunk-HXFLHA5K.js";
23
+ } from "./chunk-NH5Z2NOD.js";
24
24
 
25
25
  // src/deploy/tenant.ts
26
26
  var TIMEOUT_MS = 3e4;
@@ -219,4 +219,4 @@ export {
219
219
  deleteTenant,
220
220
  impersonateTenant
221
221
  };
222
- //# sourceMappingURL=chunk-MIS6F4HM.js.map
222
+ //# sourceMappingURL=chunk-G2XSDIYS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  describeEntry
3
- } from "./chunk-4MIV244X.js";
3
+ } from "./chunk-SGEOXJIH.js";
4
4
 
5
5
  // src/kinds/raw-where.ts
6
6
  var RAW_WHERE = /* @__PURE__ */ Symbol.for("xanosdk.view.rawExpression");
@@ -21,4 +21,4 @@ export {
21
21
  rawWhere,
22
22
  isRawWhere
23
23
  };
24
- //# sourceMappingURL=chunk-ZY55DO5P.js.map
24
+ //# sourceMappingURL=chunk-G6BEJ3NA.js.map