@xano/sdk 1.0.13 → 1.0.14

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 (241) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +28 -28
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-DAFGNMQX.js → agent-file-refresh-3J6YRVFL.js} +12 -11
  5. package/dist/{agent-skill-command-6M46ZGOL.js → agent-skill-command-VWDMQWCT.js} +51 -50
  6. package/dist/{answer-shape-CBUQRSXI.js → answer-shape-AVZSKBR6.js} +4 -4
  7. package/dist/{backend-dir-J2J7JNS6.js → backend-dir-ISP7RVF2.js} +11 -10
  8. package/dist/{backend-slot-X5AUX2TT.js → backend-slot-DZAUHLTS.js} +3 -3
  9. package/dist/bin.js +47 -46
  10. package/dist/{branch-YS2K3VOB.js → branch-IJTBZZFO.js} +8 -8
  11. package/dist/{branch-commands-BUKVE637.js → branch-commands-75IYFTBS.js} +26 -25
  12. package/dist/{chunk-UECNKDDA.js → chunk-2FDHIBEU.js} +8 -8
  13. package/dist/{chunk-P6HXDOFG.js → chunk-2KOB4QPW.js} +13 -13
  14. package/dist/{chunk-PCHIHVX6.js → chunk-2LF734YB.js} +4 -4
  15. package/dist/{chunk-R7XZW4SB.js → chunk-3H7R4ISR.js} +2 -2
  16. package/dist/{chunk-NMHTB346.js → chunk-3SZ7QRYA.js} +36 -10
  17. package/dist/{chunk-DB7P2SSK.js → chunk-45K2QZBR.js} +3 -3
  18. package/dist/{chunk-C2SAVXAB.js → chunk-4MX5LMPQ.js} +2 -2
  19. package/dist/{chunk-IZI3SYXH.js → chunk-5FJ4M4HB.js} +38 -38
  20. package/dist/{chunk-ZSMHS7BU.js → chunk-5TWLVFYB.js} +4 -4
  21. package/dist/{chunk-JKGRQW6D.js → chunk-5W7S2SCA.js} +4 -4
  22. package/dist/{chunk-F2NFNYCB.js → chunk-6ILHYSLR.js} +3 -3
  23. package/dist/{chunk-IFXPHVPY.js → chunk-6LJS4M6P.js} +3 -3
  24. package/dist/{chunk-CTUIMNEM.js → chunk-6X73VFCX.js} +2 -2
  25. package/dist/{chunk-DZUNF7IH.js → chunk-75QC66XI.js} +2 -2
  26. package/dist/{chunk-FBWMKHLO.js → chunk-7F3V6CFP.js} +3 -3
  27. package/dist/{chunk-5ONWBQ2C.js → chunk-B7CPSWQX.js} +7 -7
  28. package/dist/{chunk-4CS4DKQC.js → chunk-BEKEOXNG.js} +2 -2
  29. package/dist/{chunk-U4BGBU3R.js → chunk-BSGU4HS6.js} +44 -44
  30. package/dist/{chunk-ZGNWMGN3.js → chunk-CB67GIR3.js} +26 -8
  31. package/dist/{chunk-M7DIIJPW.js → chunk-DBDTQR23.js} +4 -4
  32. package/dist/{chunk-ENBGJJJH.js → chunk-DERQSEB5.js} +9 -9
  33. package/dist/{chunk-RZABQ4YH.js → chunk-DGYXCIBV.js} +4 -4
  34. package/dist/{chunk-BXVNRUDB.js → chunk-DLDYQNGP.js} +3 -3
  35. package/dist/{chunk-I2AVVARA.js → chunk-ECQXASG3.js} +2 -2
  36. package/dist/{chunk-2BHYGUTI.js → chunk-EQXHUWUO.js} +2 -2
  37. package/dist/{chunk-ONNSFD73.js → chunk-EYVIUX2T.js} +9 -9
  38. package/dist/{chunk-JFPLHK6Y.js → chunk-FBSGFPZ4.js} +2 -2
  39. package/dist/{chunk-EGEANMMK.js → chunk-FIERONKM.js} +2 -2
  40. package/dist/{chunk-K6BQPFRS.js → chunk-GBSHHNSD.js} +3 -3
  41. package/dist/{chunk-N3XSXGAL.js → chunk-GCINMMFL.js} +2 -2
  42. package/dist/{chunk-POZ6V4MU.js → chunk-GKQTXUOW.js} +2 -2
  43. package/dist/{chunk-SBS2IYTN.js → chunk-GOKRKTCX.js} +3 -3
  44. package/dist/{chunk-D4VKPOD4.js → chunk-GRXX2TOJ.js} +13 -112
  45. package/dist/{chunk-YJK4NPXC.js → chunk-GVHWIDEJ.js} +3 -3
  46. package/dist/{chunk-NZ7ML6LG.js → chunk-HINRE3UM.js} +5 -5
  47. package/dist/{chunk-H6VVSGKN.js → chunk-HK554MDD.js} +7 -7
  48. package/dist/{chunk-6HTXQAMG.js → chunk-HKI5Y5KW.js} +14 -14
  49. package/dist/{chunk-MLKJUEG3.js → chunk-HMYJOQXT.js} +23 -23
  50. package/dist/{chunk-DILYWJVP.js → chunk-HXFLHA5K.js} +2 -2
  51. package/dist/{chunk-A2AOUBJS.js → chunk-IHL2O7VY.js} +2 -2
  52. package/dist/{chunk-FLDFKG24.js → chunk-IKXXTRMN.js} +4 -4
  53. package/dist/{chunk-5XDKKE5Y.js → chunk-IWJ6GFST.js} +4 -4
  54. package/dist/{chunk-TANWE2ZY.js → chunk-J3XLCYTQ.js} +80 -80
  55. package/dist/{chunk-ENAUSLMP.js → chunk-J62TYONQ.js} +3 -3
  56. package/dist/{chunk-GRWYO2MS.js → chunk-KDEU5FUJ.js} +3 -3
  57. package/dist/{chunk-VA4JK4TW.js → chunk-KMKUH2IO.js} +3 -3
  58. package/dist/{chunk-VTMTIBKP.js → chunk-L34DM6QB.js} +2 -2
  59. package/dist/{chunk-6OOZJQJK.js → chunk-L4WG4BKJ.js} +68 -68
  60. package/dist/{chunk-QWWQM4XZ.js → chunk-LB76VK6D.js} +7 -7
  61. package/dist/{chunk-E763QI3G.js → chunk-LJZIBT75.js} +2 -2
  62. package/dist/{chunk-5SMUND4J.js → chunk-LPQZICYN.js} +6 -6
  63. package/dist/{chunk-UFFIU57H.js → chunk-LSJ3SQEU.js} +4 -4
  64. package/dist/{chunk-O6PWEJUV.js → chunk-LW7TOIS7.js} +8 -8
  65. package/dist/{chunk-XL7EA62X.js → chunk-MAXDJZQR.js} +5 -5
  66. package/dist/{chunk-7NNLRNXE.js → chunk-MIS6F4HM.js} +4 -4
  67. package/dist/{chunk-WZXEQUIM.js → chunk-MTBKTGZT.js} +2 -2
  68. package/dist/{chunk-WQZCFVAD.js → chunk-MYIIBV6A.js} +5 -5
  69. package/dist/{chunk-3RZ4UJWV.js → chunk-N6LGLNAC.js} +4 -4
  70. package/dist/{chunk-H7GMGZHI.js → chunk-NDV6CBR7.js} +2 -2
  71. package/dist/{chunk-HEMWBHQS.js → chunk-NOW522B4.js} +13 -13
  72. package/dist/{chunk-DFCYAEBE.js → chunk-NUZXSIEA.js} +3 -3
  73. package/dist/{chunk-DYGRTWAI.js → chunk-O44MJTLR.js} +3 -3
  74. package/dist/{chunk-EKS7SAZS.js → chunk-OLQN4Z5R.js} +53 -61
  75. package/dist/{chunk-CGZSF756.js → chunk-P4OWRYE7.js} +28 -28
  76. package/dist/{chunk-373AVIL2.js → chunk-QAEBBTYR.js} +7 -7
  77. package/dist/{chunk-UKC65HBQ.js → chunk-QJ25N4W6.js} +4 -4
  78. package/dist/{chunk-RAGFXELQ.js → chunk-QKHNJ7LE.js} +5 -5
  79. package/dist/{chunk-3ZVSOZZC.js → chunk-QRMKQYCB.js} +2 -2
  80. package/dist/{chunk-RQHXYL77.js → chunk-QX5XQEYB.js} +5 -7
  81. package/dist/{chunk-UDCKYLBW.js → chunk-RDZBXTZ3.js} +4 -4
  82. package/dist/{chunk-U4DSFCH5.js → chunk-RPBB7P4Q.js} +2 -2
  83. package/dist/{chunk-W5MKVFBQ.js → chunk-RV2BDU7V.js} +5 -5
  84. package/dist/{chunk-XFQAA2SU.js → chunk-RVAEPPRH.js} +2 -2
  85. package/dist/{chunk-6QJORUHC.js → chunk-RYWNNJK5.js} +2 -2
  86. package/dist/{chunk-VFRL4G72.js → chunk-SAEIVQLP.js} +3 -3
  87. package/dist/{chunk-H5FAYLCR.js → chunk-SPLRKCFV.js} +2 -2
  88. package/dist/{chunk-ZISPEBNM.js → chunk-SUKO4SZG.js} +60 -55
  89. package/dist/{chunk-B5N6EWOM.js → chunk-UQ2OD7D4.js} +3 -3
  90. package/dist/{chunk-DPSR5GRE.js → chunk-VBSCWV5H.js} +49 -49
  91. package/dist/chunk-VYJYDMY6.js +9 -0
  92. package/dist/{chunk-C4TZP5PQ.js → chunk-WS2X5BB2.js} +5 -5
  93. package/dist/{chunk-P5JF3U65.js → chunk-WS4BA75E.js} +37 -4
  94. package/dist/{chunk-XYVPF63S.js → chunk-XCFQLP6G.js} +8 -8
  95. package/dist/{chunk-OCNTMJSY.js → chunk-XPSDDTUZ.js} +3 -3
  96. package/dist/{chunk-OBRMA2VK.js → chunk-XY4OBD26.js} +3 -3
  97. package/dist/{chunk-XVOODRNK.js → chunk-Y5XAPLZS.js} +4 -4
  98. package/dist/{chunk-ZACMAKZE.js → chunk-YFQCDLCQ.js} +14 -14
  99. package/dist/{chunk-HDANNK4A.js → chunk-YL3WVBR5.js} +9 -9
  100. package/dist/{chunk-XM56DAM7.js → chunk-YR3MNGWZ.js} +8 -8
  101. package/dist/{chunk-HUEFVPYW.js → chunk-YTQYP7UJ.js} +3 -3
  102. package/dist/{chunk-KICERNAP.js → chunk-Z3DQ7ULY.js} +4 -4
  103. package/dist/{chunk-JHQAVWHW.js → chunk-Z4BQPABS.js} +2 -2
  104. package/dist/{chunk-6LECAG3Y.js → chunk-ZMJRAMLA.js} +4 -4
  105. package/dist/{chunk-AUYXBKGR.js → chunk-ZOHEHIFS.js} +2 -2
  106. package/dist/{chunk-A3CT26GX.js → chunk-ZRXDPCMN.js} +2 -2
  107. package/dist/cli.js +45 -44
  108. package/dist/{codegen-command-BAFON45M.js → codegen-command-JWOW6HE5.js} +63 -62
  109. package/dist/codegen.js +2 -2
  110. package/dist/{commands-IFRAGWGK.js → commands-5ILSWDSV.js} +2 -2
  111. package/dist/{completion-RTXCODHS.js → completion-UNKBVVDT.js} +2 -2
  112. package/dist/{config-EHFXNFSP.js → config-NTOASFCA.js} +3 -3
  113. package/dist/{deploy-command-JW7R3BPW.js → deploy-command-WESYWFJN.js} +52 -51
  114. package/dist/{deploy-source-ZUPLAL7L.js → deploy-source-ZQQNMDFX.js} +27 -26
  115. package/dist/{dev-env-sync-W7OTV7OD.js → dev-env-sync-4XJT7WOT.js} +46 -45
  116. package/dist/{display-name-hint-BKPMISQU.js → display-name-hint-MYXCCAOP.js} +10 -10
  117. package/dist/{env-example-refresh-TS7WBVZQ.js → env-example-refresh-4V2OCDJE.js} +64 -63
  118. package/dist/{env-pull-command-5IYXQ2WK.js → env-pull-command-SK5FS477.js} +42 -41
  119. package/dist/{env-target-TQBPLU2S.js → env-target-TEFSYACA.js} +9 -9
  120. package/dist/{env-var-command-AKCWYZPB.js → env-var-command-IJHKA2WJ.js} +37 -36
  121. package/dist/{ephemeral-CART6DIR.js → ephemeral-VLPRDNEJ.js} +8 -8
  122. package/dist/{ephemeral-command-SJYH6XRS.js → ephemeral-command-WCO5J4SN.js} +43 -42
  123. package/dist/{ephemeral-state-HPKSKC4Y.js → ephemeral-state-RUOU2GFS.js} +7 -7
  124. package/dist/{generate-command-FSCFZPOJ.js → generate-command-3WCOUOEQ.js} +68 -67
  125. package/dist/{gitignore-6IJ66XME.js → gitignore-WYS3GMOX.js} +15 -14
  126. package/dist/{guards-RU4C7TFG.js → guards-PPIBIMFZ.js} +6 -6
  127. package/dist/{impersonate-command-IH4HMSS3.js → impersonate-command-UMYVQTCG.js} +33 -32
  128. package/dist/{import-RUBCGLCA.js → import-T4ZTOTBT.js} +4 -4
  129. package/dist/index.js +11 -11
  130. package/dist/{init-command-STB4YSAK.js → init-command-UR5MSXIH.js} +50 -51
  131. package/dist/{init-modules-YIZYPCMM.js → init-modules-7KALFI5C.js} +7 -7
  132. package/dist/{init-web-OGKACAOC.js → init-web-DYE2FEXL.js} +2 -2
  133. package/dist/internal.js +68 -62
  134. package/dist/{keep-data-merge-VRKS64JK.js → keep-data-merge-OVHCIEBG.js} +24 -24
  135. package/dist/{lambda-config-reconcile-FXPDH2U5.js → lambda-config-reconcile-VOBVZPWS.js} +3 -3
  136. package/dist/{landing-record-5EFK7RI6.js → landing-record-AIHNW4AZ.js} +17 -16
  137. package/dist/{live-diff-HARRGFV4.js → live-diff-UMSOGPX3.js} +6 -6
  138. package/dist/{local-engine-choice-TRTEJVMV.js → local-engine-choice-XDGTATKJ.js} +30 -29
  139. package/dist/{local-engine-command-2FK2PE2P.js → local-engine-command-VQWNQ7UK.js} +35 -34
  140. package/dist/{local-engine-deploy-ZZVHBI2X.js → local-engine-deploy-4N4NFZ4T.js} +11 -11
  141. package/dist/{local-engine-lookup-QFRKO35F.js → local-engine-lookup-AQTUGSBT.js} +2 -2
  142. package/dist/{local-engine-mcp-bridge-T2EFRRAF.js → local-engine-mcp-bridge-AMYRH4SY.js} +9 -9
  143. package/dist/{local-engine-mcp-command-FB7EOGG6.js → local-engine-mcp-command-AIMNMXQG.js} +41 -48
  144. package/dist/{local-engine-process-XH35DURU.js → local-engine-process-OD5OSWDG.js} +6 -6
  145. package/dist/{local-engine-update-check-HAXE7BVG.js → local-engine-update-check-G3YCBXRE.js} +4 -4
  146. package/dist/{lock-commands-7PBZIRWR.js → lock-commands-H3YV2D6M.js} +50 -49
  147. package/dist/{login-command-2O6GRMTH.js → login-command-NMM3JNDZ.js} +23 -22
  148. package/dist/{logout-command-RZXGW3O2.js → logout-command-7DYC6G32.js} +13 -12
  149. package/dist/{loop-QHZD37KX.js → loop-DJNIHC7O.js} +6 -6
  150. package/dist/{marketplace-command-NCMLGIMS.js → marketplace-command-UCSHDZGO.js} +33 -33
  151. package/dist/{marketplace-resolve-HPCRNV5O.js → marketplace-resolve-JR4BBJ6K.js} +5 -5
  152. package/dist/{meta-client-DYYM5F5G.js → meta-client-CD3TXQP6.js} +10 -10
  153. package/dist/{module-manifest-EFE6JBZW.js → module-manifest-63I5GRK4.js} +3 -3
  154. package/dist/node.js +50 -49
  155. package/dist/{operation-outcome-SHNROAFA.js → operation-outcome-2ONIIDRU.js} +19 -19
  156. package/dist/{output-target-PSSR3E4N.js → output-target-67LHZKCO.js} +16 -15
  157. package/dist/{plan-disclosure-WEMB5ZJ2.js → plan-disclosure-T7DF4SRJ.js} +16 -16
  158. package/dist/{plugin-contributions-U5PAZKBE.js → plugin-contributions-YYEP7IWH.js} +4 -4
  159. package/dist/{plugin-prompt-O5PAMV5B.js → plugin-prompt-GKCQKNYI.js} +4 -4
  160. package/dist/{plugin-questions-ZVYNKDRB.js → plugin-questions-P7MA3TYI.js} +3 -3
  161. package/dist/{preflight-command-6F7JF3YQ.js → preflight-command-TJ7FURXB.js} +56 -55
  162. package/dist/{profile-command-5AOGD6GV.js → profile-command-LDPLTJEJ.js} +24 -23
  163. package/dist/{profile-pointer-VTOZDBHM.js → profile-pointer-JJ7K5O2R.js} +3 -3
  164. package/dist/{project-dependency-EZNTHMWI.js → project-dependency-X3KCWBK5.js} +6 -6
  165. package/dist/{project-sdk-ZGJM4WYQ.js → project-sdk-YHJZRCNB.js} +3 -3
  166. package/dist/promote-command-RURHOLNR.js +148 -0
  167. package/dist/{prompt-F7UVH4GP.js → prompt-QNMJIWNI.js} +3 -3
  168. package/dist/{publish-command-6VVSJPLI.js → publish-command-IIRN6NWN.js} +55 -54
  169. package/dist/{pull-command-GE2WUEUF.js → pull-command-ITO76ENU.js} +66 -65
  170. package/dist/{pull-superseded-77UZ7CHH.js → pull-superseded-6HADGGC5.js} +3 -3
  171. package/dist/{release-command-55RTR674.js → release-command-CVGIUD4M.js} +60 -59
  172. package/dist/{release-ns-command-5XPZ2B6N.js → release-ns-command-YLCQPVH3.js} +78 -77
  173. package/dist/{retry-command-S5QALD5Z.js → retry-command-LFZYEVRU.js} +7 -7
  174. package/dist/{routes-manifest-ET2TTSCL.js → routes-manifest-R3TQRB24.js} +6 -6
  175. package/dist/{routes-manifest-file-42FTJHRY.js → routes-manifest-file-GYNYFKAH.js} +9 -9
  176. package/dist/scaffold.d.ts +0 -5
  177. package/dist/scaffold.js +2 -2
  178. package/dist/{secrets-file-N5IF265R.js → secrets-file-PCNAFXNV.js} +15 -14
  179. package/dist/{secrets-fill-command-35WKBURT.js → secrets-fill-command-G7NQMRXU.js} +49 -48
  180. package/dist/{seed-5YLQRT2D.js → seed-4CD55LB4.js} +6 -6
  181. package/dist/{source-resolve-JXGOVJD3.js → source-resolve-U4SJR7ZA.js} +17 -17
  182. package/dist/{static-host-TQP3FXPI.js → static-host-MO4VDHL7.js} +4 -4
  183. package/dist/{status-command-G3DFRMU7.js → status-command-CD72PXIT.js} +60 -34
  184. package/dist/{store-ZE5BXCOW.js → store-AJX4MC7Y.js} +5 -5
  185. package/dist/{sync-baseline-JGAAOS25.js → sync-baseline-BJDKG4F2.js} +7 -7
  186. package/dist/{sync-contributions-7T4CSPVQ.js → sync-contributions-XK6LHISZ.js} +8 -8
  187. package/dist/{sync-record-ILWS44DG.js → sync-record-NE62ERA3.js} +9 -9
  188. package/dist/{table-V3LTQUY6.js → table-WPRAM4VW.js} +8 -8
  189. package/dist/{tables-command-7NUOZBHX.js → tables-command-NMTKR52H.js} +35 -34
  190. package/dist/{tenant-7WUS7Q6V.js → tenant-IIYECNWO.js} +9 -9
  191. package/dist/{tenant-command-JGEHRKN7.js → tenant-command-XQAWT46C.js} +83 -82
  192. package/dist/{test-command-2LNEA6GK.js → test-command-W4AD4KT4.js} +32 -31
  193. package/dist/{tests-ENFUACKD.js → tests-JWQRHFCT.js} +5 -5
  194. package/dist/{token-DWNH44NW.js → token-P3VQ6ITJ.js} +9 -8
  195. package/dist/{toolchain-hooks-QIFGPGH2.js → toolchain-hooks-UAJBPSTC.js} +8 -8
  196. package/dist/{toolchain-modules-F4DUMWTO.js → toolchain-modules-S3MPHCUI.js} +4 -4
  197. package/dist/{toolchain-peers-K44IINPG.js → toolchain-peers-FQJBTKEB.js} +7 -7
  198. package/dist/{tracked-backend-ZFXVLBBJ.js → tracked-backend-WWEPNUD5.js} +30 -29
  199. package/dist/{update-check-KBHT63GJ.js → update-check-O7QC5TBB.js} +48 -47
  200. package/dist/{upgrade-command-CI543AZP.js → upgrade-command-J6LRNHYF.js} +51 -50
  201. package/dist/{whoami-command-77DXENWD.js → whoami-command-KWRP2CII.js} +12 -11
  202. package/dist/{workspace-RI5C77BZ.js → workspace-3YNK4XO4.js} +4 -4
  203. package/dist/{workspace-binding-PR57NBGH.js → workspace-binding-TTDNXHO5.js} +11 -10
  204. package/dist/{workspace-command-6HHVFQKW.js → workspace-command-W4ANGLCZ.js} +79 -78
  205. package/dist/{workspace-env-2APJEASO.js → workspace-env-6LJGCTZA.js} +12 -11
  206. package/dist/{workspace-export-GHMUSX2P.js → workspace-export-PUEXKZNS.js} +4 -4
  207. package/dist/{writable-Y6CE2CGK.js → writable-LMMG4AFZ.js} +3 -3
  208. package/dist/{xano-2A2GT7EH.js → xano-Z3SRHYOR.js} +7 -7
  209. package/dist/{xanosdk-import-HBQH3ZBS.js → xanosdk-import-PNNMZ4SF.js} +5 -5
  210. package/dist/{xanosdk-project-W45IR3Q7.js → xanosdk-project-YW3BQY2E.js} +13 -12
  211. package/guides/README.md +3 -3
  212. package/guides/authoring.md +11 -11
  213. package/guides/bundle.md +2 -2
  214. package/guides/cli.md +179 -176
  215. package/guides/codegen.md +17 -17
  216. package/guides/codes.md +3 -3
  217. package/guides/coverage.md +2 -2
  218. package/guides/deploying.md +123 -123
  219. package/guides/environment.md +30 -30
  220. package/guides/marketplace.md +24 -24
  221. package/guides/module-contract.md +9 -9
  222. package/guides/object-kinds.md +4 -4
  223. package/guides/project-structure.md +4 -4
  224. package/guides/scaffold.md +22 -22
  225. package/guides/typed-frontend.md +3 -3
  226. package/llms/client.md +4 -4
  227. package/llms/errors.md +2 -2
  228. package/llms/fields.md +1 -1
  229. package/llms/kinds-agent-mcp.md +1 -1
  230. package/llms/kinds-realtime.md +2 -2
  231. package/llms/lock.md +3 -3
  232. package/llms/statements-calls.md +1 -1
  233. package/llms/statements-runtime.md +2 -2
  234. package/llms/tests.md +3 -3
  235. package/llms/toolchain.md +2 -2
  236. package/llms-full.txt +56 -53
  237. package/llms.txt +35 -32
  238. package/manifest.json +1 -1
  239. package/package.json +1 -1
  240. package/skills/xano-backend/SKILL.md +7 -7
  241. package/dist/promote-command-O2NRRFLK.js +0 -147
package/dist/internal.js CHANGED
@@ -9,6 +9,9 @@ import {
9
9
  STATEMENT_CAPABILITIES,
10
10
  bundleCapabilities
11
11
  } from "./chunk-7REDHC4N.js";
12
+ import {
13
+ AGENT_SIGNUP_URL
14
+ } from "./chunk-VYJYDMY6.js";
12
15
  import {
13
16
  COMMANDS,
14
17
  FLAGS,
@@ -19,8 +22,8 @@ import {
19
22
  selectorValues,
20
23
  sourceSpellings,
21
24
  visibleFlags
22
- } from "./chunk-D4VKPOD4.js";
23
- import "./chunk-HUEFVPYW.js";
25
+ } from "./chunk-GRXX2TOJ.js";
26
+ import "./chunk-YTQYP7UJ.js";
24
27
  import {
25
28
  GENERATED_STATEMENT_NAMES,
26
29
  HEADER_DUPLICATES,
@@ -64,17 +67,17 @@ import {
64
67
  toolKind,
65
68
  triggerKind,
66
69
  workflowTestKind
67
- } from "./chunk-ONNSFD73.js";
70
+ } from "./chunk-EYVIUX2T.js";
68
71
  import {
69
72
  encodeQuery,
70
73
  encodeResponse,
71
74
  queryKind
72
- } from "./chunk-6LECAG3Y.js";
75
+ } from "./chunk-ZMJRAMLA.js";
73
76
  import {
74
77
  encodeWorkspaceConfig,
75
78
  workspaceKind
76
- } from "./chunk-IFXPHVPY.js";
77
- import "./chunk-KICERNAP.js";
79
+ } from "./chunk-6LJS4M6P.js";
80
+ import "./chunk-Z3DQ7ULY.js";
78
81
  import {
79
82
  resolveAuthRef
80
83
  } from "./chunk-45ZUMF4E.js";
@@ -101,7 +104,7 @@ import {
101
104
  isQueryExpressionFilter,
102
105
  microserviceKind,
103
106
  registerSpec
104
- } from "./chunk-NZ7ML6LG.js";
107
+ } from "./chunk-HINRE3UM.js";
105
108
  import "./chunk-ICK36EGF.js";
106
109
  import {
107
110
  FILTER_NAMES,
@@ -114,7 +117,7 @@ import {
114
117
  encodeHistory,
115
118
  encodeMiddlewareEntry,
116
119
  encodeMiddlewareList
117
- } from "./chunk-F2NFNYCB.js";
120
+ } from "./chunk-6ILHYSLR.js";
118
121
  import "./chunk-GSGDWJB5.js";
119
122
  import {
120
123
  encodeColumn,
@@ -122,7 +125,7 @@ import {
122
125
  encodeTable,
123
126
  encodeView,
124
127
  tableKind
125
- } from "./chunk-B5N6EWOM.js";
128
+ } from "./chunk-UQ2OD7D4.js";
126
129
  import "./chunk-ERVIASGL.js";
127
130
  import {
128
131
  encodeObject,
@@ -130,7 +133,7 @@ import {
130
133
  isRegisteredKind,
131
134
  registerKind,
132
135
  registeredKinds
133
- } from "./chunk-VTMTIBKP.js";
136
+ } from "./chunk-L34DM6QB.js";
134
137
  import "./chunk-H2V3N23D.js";
135
138
  import "./chunk-3JDU4VRL.js";
136
139
  import "./chunk-WTPZRR4I.js";
@@ -161,7 +164,7 @@ import {
161
164
  encodeStatement,
162
165
  getStatementFactory,
163
166
  isRegisteredStatement
164
- } from "./chunk-A2AOUBJS.js";
167
+ } from "./chunk-IHL2O7VY.js";
165
168
  import "./chunk-TFFGOFVZ.js";
166
169
  import {
167
170
  IMPLEMENTED_STATEMENTS,
@@ -878,14 +881,14 @@ function renderTestsSection() {
878
881
  "",
879
882
  "### Running them",
880
883
  "",
881
- "`xanosdk test run-all` runs the unit tests AND the `workflowTest()` objects an environment carries. It takes no entry file and compiles nothing: it runs what is DEPLOYED, so deploy before testing.",
884
+ "`npx @xano/sdk test run-all` runs the unit tests AND the `workflowTest()` objects an environment carries. It takes no entry file and compiles nothing: it runs what is DEPLOYED, so deploy before testing.",
882
885
  "",
883
886
  '- `--on <backend>` picks the backend \u2014 `--on ephemeral:<name>`, `--on local`, `--on tenant:<name>`, `--on workspace`; omitted, the one this project last deployed to (grammar: **Backends** in `llms.txt`). \u26A0 `workspace` runs against the REAL database: safe only while every test keeps `datasource: ""`, since a stored non-empty datasource is CLONED before the run.',
884
- '- `xanosdk test list` shows what is there without running it; `test run "<name>"` runs one; an ambiguous name prints qualified forms (`function:math/happy path`, `workflow:<name>`) `run` accepts.',
887
+ '- `npx @xano/sdk test list` shows what is there without running it; `test run "<name>"` runs one; an ambiguous name prints qualified forms (`function:math/happy path`, `workflow:<name>`) `run` accepts.',
885
888
  "- `--kind unit|workflow` narrows to one family. `--concurrency <n>` defaults to 1: tests share the environment database.",
886
889
  "- A failing suite exits 5; exit 6 when the suite could not be reached \u2014 retry it; a backend that can't be looked up exits 8 (see errors). Having no tests is success.",
887
890
  "- For CI: the exit code says THAT something failed, the JSON says WHICH. Progress goes to stderr; stdout carries one JSON document when not a terminal, or with `--json`. `run-all` and `run`: `{ kind, env, name, display, total, passed, failed, tests: [{ kind, name, qualified, object?, status: \"pass\"|\"fail\", message?, expectations?: [{ index, status, message? }], timing? }] }` (`message`: the first failure; `expectations`: a unit test's every expectation in order, `index` from 0; `env`: an ephemeral's or tenant's name; `name`: the backend's own, a Xano Engine's too; null if none), same keys on an empty suite. `list` is `{ kind, env, name, display, total, tests }`; `deploy --test` nests the run under `testRun`.",
888
- "- `xanosdk deploy ./index.ts --test` deploys and then runs the suite against what it just shipped. A failure exits 5 WITHOUT retracting the deploy \u2014 the environment is live either way.",
891
+ "- `npx @xano/sdk deploy ./index.ts --test` deploys and then runs the suite against what it just shipped. A failure exits 5 WITHOUT retracting the deploy \u2014 the environment is live either way.",
889
892
  ""
890
893
  ];
891
894
  }
@@ -898,8 +901,8 @@ function renderSections(m) {
898
901
  "serves a managed PostgreSQL database, HTTP APIs, background tasks, realtime",
899
902
  "websocket channels, AI agents, MCP servers, file storage and redis. This SDK",
900
903
  "authors it in TypeScript \u2014 typed def objects registered on a",
901
- "`workspace(name)` \u2014 compiled to one importable bundle by `xanosdk export",
902
- "./xano/index.ts`, shipped live by `xanosdk deploy`.",
904
+ "`workspace(name)` \u2014 compiled to one importable bundle by `npx @xano/sdk export",
905
+ "./xano/index.ts`, shipped live by `deploy`.",
903
906
  "",
904
907
  "Def modules execute at BUILD time only: `s.*` factories return data, and the engine",
905
908
  "runs the compiled stack per request \u2014 statements in order, a statement's `as:`",
@@ -982,7 +985,7 @@ function renderSections(m) {
982
985
  " .registerQueries([createPost, listPosts]);",
983
986
  "```",
984
987
  "",
985
- "Compile: `xanosdk export ./index.ts --out bundle.json` (or `writeBundle(app, path)`",
988
+ "Compile: `npx @xano/sdk export ./index.ts --out bundle.json` (or `writeBundle(app, path)`",
986
989
  "from `@xano/sdk/node` in code). The default export must be the `Xano` registry. The entry must be an",
987
990
  'ES module (Xano SDK defs are ESM-only): set `"type": "module"` in the nearest',
988
991
  'package.json or name the entry `.mts`. `npm init -y` writes `"type": "commonjs"`,',
@@ -990,7 +993,7 @@ function renderSections(m) {
990
993
  "",
991
994
  "Set `canonical` on every `apiGroup`. The engine mints the URL token server-side, so",
992
995
  "without one a group's client paths are unresolvable until a lock exists: the bundle",
993
- "exports fine and `xanosdk routes` / `getPath()` then fail on the very queries it just",
996
+ "exports fine and `npx @xano/sdk routes` / `getPath()` then fail on the very queries it just",
994
997
  "built. An explicit `canonical` resolves them from the source alone.",
995
998
  "\u26A0 A canonical is unique across the whole INSTANCE, not per workspace \u2014 two",
996
999
  "workspaces cannot serve the same one, and no flag shares it. One set in code is a PIN:",
@@ -1004,8 +1007,8 @@ function renderSections(m) {
1004
1007
  "but nothing fails on a message no one reads, so in CI and in unattended agent builds",
1005
1008
  "pass `--strict` (`emitBundle(app, { strict: true })` / `app.export({ strict: true })`):",
1006
1009
  "every warning becomes a hard failure. Same bundle bytes either way.",
1007
- "Before calling the work done: `npm run typecheck`, `xanosdk export <entry> --strict`,",
1008
- "`xanosdk deploy <entry>`, then `xanosdk test run-all` against what deployed.",
1010
+ "Before calling the work done: `npm run typecheck`, `npx @xano/sdk export <entry> --strict`,",
1011
+ "`deploy <entry>`, then `test run-all` against what deployed.",
1009
1012
  "",
1010
1013
  "Identity: object guids derive from `(type, name)` \u2014 a query's from `(api group,",
1011
1014
  "verb, name)` \u2014 so renames change identity.",
@@ -1014,15 +1017,15 @@ function renderSections(m) {
1014
1017
  "NOT the project root \u2014 which you COMMIT (`--no-lock` opts out; CI guard",
1015
1018
  "`--frozen-lock` fails instead of changing it).",
1016
1019
  "To rename an object: rename in code, export (stderr prints the exact fix-up), run",
1017
- "`xanosdk lock rename <kind> <old> <new>`, export again \u2014 the original guid is emitted",
1020
+ "`npx @xano/sdk lock rename <kind> <old> <new>`, export again \u2014 the original guid is emitted",
1018
1021
  "under the new name, so the engine renames in place instead of delete+create. Taking",
1019
- "over an existing workspace: `xanosdk lock import <live-bundle.json>` first, then",
1022
+ "over an existing workspace: `npx @xano/sdk lock import <live-bundle.json>` first, then",
1020
1023
  "export. Pruning, programmatic seeding, and which commands write the lock:",
1021
1024
  "`llms/lock.md`.",
1022
1025
  "",
1023
1026
  "## Deploy",
1024
1027
  "",
1025
- "`xanosdk init` \u2192 `xanosdk deploy` \u2192 URL. A deploy runs the same compile pipeline as",
1028
+ "Commands here run as `npx @xano/sdk <cmd>`: `init` \u2192 `deploy` \u2192 URL. A deploy runs the same compile pipeline as",
1026
1029
  "`export` (honoring `xano.lock`), imports the result, and prints the URL.",
1027
1030
  "\u26A0 Every deploy is a FULL REPLACE of its destination \u2014 objects AND records.",
1028
1031
  "",
@@ -1038,7 +1041,7 @@ function renderSections(m) {
1038
1041
  "",
1039
1042
  "**Destinations** \u2014 the Xano Engine by default, real only when you say so:",
1040
1043
  "",
1041
- "- `xanosdk deploy [source]` \u2192 the Xano Engine on this machine (no account). `--ephemeral` \u2192 a NAMED, auto-expiring ephemeral (~1h; `--expires-hours`",
1044
+ "- `deploy [source]` \u2192 the Xano Engine on this machine (no account). `--ephemeral` \u2192 a NAMED, auto-expiring ephemeral (~1h; `--expires-hours`",
1042
1045
  " 1\u201324), tracked in `./.xano/ephemeral.json`, so deploying again REFRESHES it at the same",
1043
1046
  " URL; if it expired or was swept, a fresh one is created and the new URL called out.",
1044
1047
  " \u26A0 Only the BACKEND URL survives a refresh \u2014 the replace clears static hosting, so",
@@ -1046,17 +1049,17 @@ function renderSections(m) {
1046
1049
  " (not under `--keep-data`, which MERGES an env a deploy filled: rows kept, no re-seed,",
1047
1050
  " removed objects deleted; \u26A0 a rename loses values, a RETYPE reads unfit ones as null, env",
1048
1051
  " VALUES are not applied, a table trigger refuses it \u2014 `--reset` replaces and re-seeds).",
1049
- "- `xanosdk release create <name>` cuts from a running source and LANDS in your workspace",
1052
+ "- `release create <name>` cuts from a running source and LANDS in your workspace",
1050
1053
  " \u2014 the record that it came up, and the only thing `promote`/`tenant deploy` take. A",
1051
1054
  " taken name is refused, and so is one that addresses a LOCATION instead of naming: `/`,",
1052
1055
  " `\\`, `:`, or a leading `.`. Every export derives its FILENAME from the name it is given,",
1053
1056
  " so `release|ephemeral|workspace export` refuse those same shapes unless `--path` names",
1054
1057
  " the file. Carries EVERY table's SCHEMA either way; `--seed[=<guids>]` adds",
1055
- " ROWS \u2014 guids from `xanosdk tables <backend>`; a redeploy KEEPS them.",
1056
- "- `xanosdk release transfer <name> --to-profile <profile>` copies a release to another",
1058
+ " ROWS \u2014 guids from `tables <backend>`; a redeploy KEEPS them.",
1059
+ "- `release transfer <name> --to-profile <profile>` copies a release to another",
1057
1060
  " workspace/instance by CONTENT (tar sha256): identical \u2192 reused; same name, other",
1058
1061
  " bytes \u2192 exit 2.",
1059
- "- `xanosdk promote <release>` / `xanosdk tenant deploy <tenant> <release>` land it.",
1062
+ "- `promote <release>` / `tenant deploy <tenant> <release>` land it.",
1060
1063
  " `promote` adds a branch; \u26A0 its TABLE edits hit live",
1061
1064
  " (`--allow-shared-schema-changes`). `tenant deploy` REPLACES: DROPS tables it lacks,",
1062
1065
  " CONVERTS retypes (`--seed`: rows).",
@@ -1074,24 +1077,24 @@ function renderSections(m) {
1074
1077
  "- Backend SECRETS stay out of the repo: declare the NAME, value empty, in `workspaceConfig({ env })`",
1075
1078
  " passed to `registerWorkspace()`; the VALUE lives in `xano/.env` \u2014 gitignored, kept across a",
1076
1079
  " pull, read by every build. `--backend-env-file <path>` replaces that default (CI has",
1077
- " no `xano/.env`), `--env-var KEY=VALUE` beats both, and `xanosdk env pull` fills the file from",
1080
+ " no `xano/.env`), `--env-var KEY=VALUE` beats both, and `env pull` fills the file from",
1078
1081
  " a running backend \u2014 the only command that writes `xano/.env`.",
1079
1082
  " \u26A0 A deploy REPLACES the env set: a declared name with NO value refuses the deploy rather",
1080
1083
  " than clearing the live one \u2014 `--allow-empty-env=NAME` clears it on purpose.",
1081
- " ONE live value, no deploy: `xanosdk env set NAME` (value on stdin) / `env unset NAME`.",
1084
+ " ONE live value, no deploy: `env set NAME` (value on stdin) / `env unset NAME`.",
1082
1085
  " (`--static-env` is the other one \u2014 PUBLIC frontend config.)",
1083
1086
  "- A DOCUMENTATION token is a secret too, in a SECOND ignored file: source declares only the",
1084
1087
  " gate \u2014 `documentation: { require_token: true }` on `workspaceConfig` or an `apiGroup` \u2014 and",
1085
1088
  " the value lives in `xano/.secrets.json`, keyed by the object it gates. A literal `token`",
1086
- " FAILS the export. `xanosdk pull` writes that file and every build reads it back;",
1087
- " `xanosdk secrets fill` MINTS one per gate that has none \u2014 a gate you AUTHORED has no value",
1089
+ " FAILS the export. `pull` writes that file and every build reads it back;",
1090
+ " `secrets fill` MINTS one per gate that has none \u2014 a gate you AUTHORED has no value",
1088
1091
  " to pull. CI, which does not have the file, passes `--secrets-file <path>` or",
1089
1092
  ' `--doc-token "<scope>=<value>"`',
1090
1093
  " (scope = `workspace`, or the group's NAME).",
1091
1094
  " \u26A0 OMISSION IS OPPOSITE PER SCOPE: off `workspaceConfig` the target's gate is left alone;",
1092
1095
  " off an `apiGroup` it is CLEARED (an absent key there is written as the engine default). An",
1093
1096
  " unsupplied gate refuses a `deploy` and fails the export for a publishing group.",
1094
- "- `xanosdk deploy --to workspace|tenant:<name>` skips the release flow to merge a LOCAL",
1097
+ "- `deploy --to workspace|tenant:<name>` skips the release flow to merge a LOCAL",
1095
1098
  " build in, keeping the checks that need one (`--dry-run`, `--prune`, loss warnings) and",
1096
1099
  " leaving nothing to roll back to. Prefer the release path.",
1097
1100
  " \u26A0 Branches scope LOGIC: tables and microservices are shared by EVERY branch, so a",
@@ -1100,28 +1103,28 @@ function renderSections(m) {
1100
1103
  " \u26A0 `--replace` CLEARS BY WORKSPACE, NOT BY BRANCH: every non-live branch goes, with the",
1101
1104
  " saved versions that would restore one \u2014 unrecoverable. Refused without",
1102
1105
  " `--allow-branch-deletion`; `--yes` does not imply it. The default merge leaves them alone.",
1103
- "- `xanosdk workspace reset-tables <entry> --table <guid>` puts NAMED tables back to their",
1106
+ "- `workspace reset-tables <entry> --table <guid>` puts NAMED tables back to their",
1104
1107
  " compiled `table({ seed })` rows, touching no other table. Dry run unless `--write`.",
1105
1108
  " \u26A0 ROWS BEFORE LOGIC: rows are workspace-shared like schema, so they reach production when",
1106
1109
  " applied even while the logic reading them is staged \u2014 no ordering makes a half-data change",
1107
1110
  " atomic. Reset rows FIRST, then `promote`: new rows under old logic break only a feature",
1108
1111
  " being removed; new logic over old rows breaks the one you are shipping.",
1109
- "- `xanosdk pull` refreshes THIS project from a backend: rewrites decoded files,",
1112
+ "- `pull` refreshes THIS project from a backend: rewrites decoded files,",
1110
1113
  " keeps yours, lists and confirms (`--yes`).",
1111
- "- `xanosdk generate <source>`: the decoded tree ONLY, no project.",
1112
- "- `xanosdk status` names the env this project last deployed to, its URL and its expiry.",
1114
+ "- `generate <source>`: the decoded tree ONLY, no project.",
1115
+ "- `status` names the env this project last deployed to, its URL and its expiry.",
1113
1116
  "",
1114
- "**Frontend wiring.** `--static <dir>` (or `xanosdk publish <dir>`) injects the env's backend URL as",
1117
+ "**Frontend wiring.** `--static <dir>` (or `publish <dir>`) injects the env's backend URL as",
1115
1118
  "`window.XANO_HOST` into EVERY html document in the build, before the app bundle runs,",
1116
1119
  "so the frontend needs no rebuild to target an env. How to read it, local dev, verifying",
1117
1120
  "the inject, and displaying a stored file: `llms/client.md`.",
1118
1121
  "\u26A0 A static host serves its files verbatim, so everything injected is PUBLIC \u2014 base",
1119
1122
  "URLs and publishable keys only, never secrets. Secrets go in backend env, read",
1120
1123
  "server-side via `env(name)`.",
1121
- "\u26A0 `xanosdk preflight` uses the deploy credential unless `XANO_VALIDATE_INSTANCE` /",
1124
+ "\u26A0 `preflight` uses the deploy credential unless `XANO_VALIDATE_INSTANCE` /",
1122
1125
  "`XANO_VALIDATE_TOKEN` (+ optional `XANO_VALIDATE_WORKSPACE_ID`) are set.",
1123
1126
  "",
1124
- "**Full CLI surface:** `xanosdk <command> --help` \u2014 every command, flag, default and accepted",
1127
+ "**Full CLI surface:** `npx @xano/sdk <command> --help` \u2014 every command, flag, default and accepted",
1125
1128
  "backend; `manifest.json` carries the same in its `cli` array.",
1126
1129
  "**Style:** reach statements through the `s` namespace (`s.db.add`, `s.math.add`, \u2026).",
1127
1130
  "The flat aliases (`dbAdd`, `setVar`, \u2026) are identical in output; prefer `s.*`.",
@@ -1302,11 +1305,11 @@ function renderSections(m) {
1302
1305
  " refuses the pair (`export()` warns even unlocked); it is for pinning identity",
1303
1306
  " across a rename, not for sharing a name.",
1304
1307
  "- **`export()` vs `emitBundle()` vs `writeBundle()`:** `export()` returns the object,",
1305
- " `emitBundle()` the JSON, `writeBundle(app, path)` writes `xanosdk export`'s file. All",
1308
+ " `emitBundle()` the JSON, `writeBundle(app, path)` writes `export`'s file. All",
1306
1309
  " three run the SAME build-time checks, INCLUDING seed validation of a literal `seed: [...]`",
1307
1310
  " array (row shape, unknown column, coercion, enum membership, the all-or-nothing `id`",
1308
1311
  ' rule). A DEFERRED seed \u2014 a thunk (`() => import("./seed.json")`) or `seedFile()` \u2014 is',
1309
- " checked only by the `xanosdk export`/`deploy` CLI path. Only `deploy` ships seed rows.",
1312
+ " checked only by the `export`/`deploy` CLI path. Only `deploy` ships seed rows.",
1310
1313
  " - Entry points: the `node:fs` writers (`writeBundle`/`writeArtifact`) and lock-file I/O",
1311
1314
  " import from `@xano/sdk/node`, NOT the browser-safe `@xano/sdk` entry (a frontend",
1312
1315
  " imports from it; request types come from `routes.gen.ts`). `@xano/sdk/internal` is the",
@@ -1314,15 +1317,18 @@ function renderSections(m) {
1314
1317
  " \u2014 a statement walker (`2.if.0` paths), a structural hash, `mvp:*` catalog, `tableRefOf`.",
1315
1318
  "- **Intra-workspace imports use `.js` specifiers** (`../tables/links.js`), not",
1316
1319
  " extensionless \u2014 the defs compile under `moduleResolution: bundler`. Add the `.js`.",
1317
- "- **Agents authenticate with env vars \u2014 never `xanosdk login`.** `login` blocks on a",
1320
+ "- **Agents authenticate with env vars \u2014 never `npx @xano/sdk login`.** `login` blocks on a",
1318
1321
  " browser consent no agent can complete. Set all three of `$XANO_INSTANCE_URL`,",
1319
1322
  " `$XANO_WORKSPACE_ID`, `$XANO_META_TOKEN` and run `deploy`/`promote` directly: no disk, no",
1320
1323
  " rotation, so it survives repeated runs.",
1324
+ " - Not signed in: ask the human whether they have a Xano account; never guess. No: sign",
1325
+ ` them up via ${AGENT_SIGNUP_URL}; it returns this triple once they confirm by email. Yes: the`,
1326
+ " human runs `login`.",
1321
1327
  " - The triple outranks every other credential (`--config`, `$XANO_PROFILE` and",
1322
1328
  " `$XANO_REFRESH_TOKEN` included, each named on stderr when displaced). Setting SOME of the",
1323
1329
  " three is a hard error, so a misspelled secret cannot fall through to whatever credential",
1324
1330
  " the runner has. An explicit `--profile` against it is a hard error too, not a displacement.",
1325
- " - On disk: `xanosdk profile add <name> --instance \u2026 --workspace-id <n>` reads the token",
1331
+ " - On disk: `npx @xano/sdk profile add <name> --instance \u2026 --workspace-id <n>` reads the token",
1326
1332
  " from piped stdin, else PROMPTS (a flag would reach the process list); the instance must accept it.",
1327
1333
  " `auth.json` holds a map of named profiles, selected by `--profile <name>`. The older",
1328
1334
  " `$XANO_REFRESH_TOKEN` + `$XANO_CLIENT_ID` pair still works but ROTATES: single-use.",
@@ -1511,7 +1517,7 @@ function renderSections(m) {
1511
1517
  "imports as bare package names (`@xano/sdk*`, relative and `node:` are refused). A module that",
1512
1518
  "fails to load or throws leaves its previous block as it was, with a warning naming it, and the",
1513
1519
  "core sections still refresh; under `routes --emit --strict` it is fatal. `@xano-sdk/zod`",
1514
- "(`xanosdk marketplace install zod`) is one: it adds `ROUTE_SCHEMAS` and its siblings."
1520
+ "(`npx @xano/sdk marketplace install zod`) is one: it adds `ROUTE_SCHEMAS` and its siblings."
1515
1521
  ];
1516
1522
  const client = [
1517
1523
  "Importing a def into a browser bundle or a Node script \u2014 for `getPath()`, `getUrl()`, `verb`, or `InferResponse` \u2014 runs its factory calls; these are the costs and the checks.",
@@ -1523,7 +1529,7 @@ function renderSections(m) {
1523
1529
  " \u26A0 A FLOOR \u2014 **~267 kB minified (~65 kB gzipped)** for the FIRST def; splitting modules",
1524
1530
  " never removes it. The floor is the RUNTIME, not the def: a second or much richer def",
1525
1531
  " adds ~2 kB, so trimming a def does not shrink it.",
1526
- " Fix: `xanosdk routes <entry> --emit xano/routes.gen.ts` (`paths` is an accepted alias) \u2014 verbs, paths, and sockets as",
1532
+ " Fix: `npx @xano/sdk routes <entry> --emit xano/routes.gen.ts` (`paths` is an accepted alias) \u2014 verbs, paths, and sockets as",
1527
1533
  ' plain data importing NOTHING, still compile-checked: `routePath("GET blog/{slug}", { slug })`',
1528
1534
  ' `channelPath("rooms/{room_id}", { room_id })`, `socketUrl("chat", baseUrl)` (tenant base',
1529
1535
  ' URLs lifted to `wss://h/ws/<tenant>:<canonical>`), `mcpUrl("notes_mcp", baseUrl)` (an MCP',
@@ -1535,7 +1541,7 @@ function renderSections(m) {
1535
1541
  " keep `InferInput` in code that already imports defs. They match `InferInput`, except a",
1536
1542
  " `dbLink` input appears as the linked table's columns (what the server accepts). Responses",
1537
1543
  " are not in the file: `InferResponse` on an `import type` of the def.",
1538
- " Runtime validation: `xanosdk marketplace install zod` adds `@xano-sdk/zod`, which writes",
1544
+ " Runtime validation: `npx @xano/sdk marketplace install zod` adds `@xano-sdk/zod`, which writes",
1539
1545
  " `ROUTE_SCHEMAS`/`CHANNEL_SCHEMAS`/`MESSAGE_SCHEMAS` into the file under the same keys, each",
1540
1546
  " checked against its type at typecheck; the file then imports `zod`, never `@xano/sdk`.",
1541
1547
  "- **Verifying a def outside a bundler.** Inside a bundler (Vite/webpack) importing a",
@@ -1546,7 +1552,7 @@ function renderSections(m) {
1546
1552
  " xanosdk CLI's own loader resolves). Running from outside the project root also breaks",
1547
1553
  " the `@xano/sdk` specifier resolution.",
1548
1554
  "",
1549
- "**Reading the injected backend URL.** `xanosdk deploy <entry> --static <dir>` writes the deployed env's URL",
1555
+ "**Reading the injected backend URL.** `npx @xano/sdk deploy <entry> --static <dir>` writes the deployed env's URL",
1550
1556
  "into every html document: a prerendered build serves a different one per",
1551
1557
  "route, and a route without the global renders fine while every call goes to the wrong",
1552
1558
  "origin. Read it at runtime with a build-time fallback:",
@@ -1561,7 +1567,7 @@ function renderSections(m) {
1561
1567
  '\u26A0 It is INJECTED in bracket form \u2014 `window["XANO_HOST"]="\u2026"` \u2014 so verifying a deploy',
1562
1568
  "by grepping `window.XANO_HOST` matches nothing and reads as a failed inject. Grep the",
1563
1569
  "bare `XANO_HOST` token.",
1564
- "**Frontend without the backend.** `xanosdk publish <dir> [--to <backend>]` uploads an",
1570
+ "**Frontend without the backend.** `npx @xano/sdk publish <dir> [--to <backend>]` uploads an",
1565
1571
  "already-built directory and nothing else \u2014 no compile, no import (scaffold script",
1566
1572
  "`npm run xano:deploy:frontend`). A Xano Engine (`--to local`, or bare after a local",
1567
1573
  "deploy) serves it, server half included, at `http://<prefix>.localhost:<port>`.",
@@ -1620,7 +1626,7 @@ function renderSections(m) {
1620
1626
  '- `ERR_PACKAGE_PATH_NOT_EXPORTED` \u2014 `tsx -e "import \u2026"`, or running from outside the project root; run a real file with `tsx <file.ts>` from the root. `llms/client.md`.',
1621
1627
  "- `Missing statement: mvp:placeholder` on import \u2014 an unconfigured slot in a pulled tree; replace it with the statement it stands in for. `llms/legacy.md`.",
1622
1628
  '- A CLI command fails under `--json` or piped (unless stdout carries data): stdout is `{ ok: false, error: { code, message, exitCode, details?, suggestion? } }`, as does a failed release write. Codes: `SDK_SEED_IN_STATIC` (`details.leaks[]` \u2192 `publicSeed`), `SDK_EXPORT_INVALID` (`details.diagnostics[]`, `--strict` too), `SDK_DRIFT`, `SDK_BRANCH_TAKEN`, `SDK_BRANCH_LIVE`, `SDK_RELEASE_NAME_TAKEN`, `SDK_RELEASE_FILES_NOT_CARRIED`, `SDK_LIVE_BRANCH_MISMATCH` (`details.conflictsWith`), `SDK_IDENTITY_CONFLICT`, `SDK_KIND_CONFLICT`, `SDK_PRUNE_OUT_OF_SCOPE`, `SDK_IMPORT_REFUSED`, `SDK_SHARED_SCHEMA_CHANGE`, `SDK_CONSTRAINT_VIOLATION`, `SDK_CREDENTIAL_REJECTED` (`details`: `{ profile, credentialType, instance, workspaceId, signIn }`; ids null on a refused env refresh), `SDK_WORKSPACE_CHANGED` (deploy over objects edited in Xano since the last sync; `details.objects`; pull first or `--overwrite`), `SDK_USAGE` (`details.reason: "needs-confirmation"`: run its `Re-run as`), `SDK_ERROR`. Landing refusal `details.refused`: identityConflict, renamePending, kindConflict, uniqueViolation, tableTrigger, importInProgress, importRefused, pruneOutOfScope. `warnings[]` / `details.warnings` / `accepted[]` entries: `{ code, message, subject? }` (`subject`: the def\'s `{ kind, name }`). Backend documents add `selector` and `workspaceId`.',
1623
- "- A CLI command reports `could not reach <url>: fetch failed (<code>)` \u2014 blocked egress, not a bad credential; fix it before `xanosdk login`, which rotates a single-use refresh token.",
1629
+ "- A CLI command reports `could not reach <url>: fetch failed (<code>)` \u2014 blocked egress, not a bad credential; fix it before `npx @xano/sdk login`, which rotates a single-use refresh token.",
1624
1630
  "",
1625
1631
  "### CLI exit codes",
1626
1632
  "",
@@ -1635,7 +1641,7 @@ function renderSections(m) {
1635
1641
  "| 4 | `deploy --require-microservices`: a microservice was not ready in time. The backend landed. | Check the microservice. |",
1636
1642
  "| 5 | `test` / `deploy --test`: the suite ran and a test failed. A deploy is not retracted. | Fix the test or the code. |",
1637
1643
  "| 6 | `test`, `deploy --test`: the suite could not be reached. | Check the backend; rerun. |",
1638
- "| 7 | `upgrade --check`: an upgrade is available. | `xanosdk upgrade`. |",
1644
+ "| 7 | `upgrade --check`: an upgrade is available. | `npx @xano/sdk upgrade`. |",
1639
1645
  "| 8 | A named backend could not be addressed (or a named release, profile, branch, test, module, lock entry, `--seed` guid or Xano Engine version is missing): gone, expired, unreachable, a stopped Xano Engine, or a busy import. | Retry, or redeploy. |",
1640
1646
  "| 9 | A write whose outcome is unknown, Ctrl-C during a write included. | Read the target's state before retrying. |",
1641
1647
  "| 130 | Ctrl-C outside a write or install. | \u2014 |"
@@ -1668,7 +1674,7 @@ function renderSections(m) {
1668
1674
  " - `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?`).",
1669
1675
  ' - `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.',
1670
1676
  ' - **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`).',
1671
- " - **Marketplace:** for chat history, use `@xano-sdk/chatbot`; for vector RAG, use `@xano-sdk/vector` (`tools: [vector.searchTool]`). Find add-ons with `xanosdk marketplace search <q>`.",
1677
+ " - **Marketplace:** for chat history, use `@xano-sdk/chatbot`; for vector RAG, use `@xano-sdk/vector` (`tools: [vector.searchTool]`). Find add-ons with `npx @xano/sdk marketplace search <q>`.",
1672
1678
  "- Both kinds persist under the `toolset` payload key, so a same-name `agent` + `mcpServer` pair derives ONE guid and `export()` throws \u2014 give them distinct names."
1673
1679
  ];
1674
1680
  const kindsRealtime = [
@@ -1705,7 +1711,7 @@ function renderSections(m) {
1705
1711
  " - \u26A0 FAIL-SOFT \u2014 a missing/disabled server or dead bus is swallowed engine-side, so a mis-targeted publish is SILENT with no result to check.",
1706
1712
  " - `authTable`/`authId` are ASSERTED attribution on the frame \u2014 not a credential, nothing validates them.",
1707
1713
  " - **Client recipe (derive, never hardcode):**",
1708
- ' - `server.getUrl(baseUrl)` \u2192 `wss://<host>/ws/<canonical>` \u2014 accepts the `https://\u2026` instance base URL and normalizes the scheme. `channel.getChannel({ room_id: 42 })` \u2192 `"rooms/42"`, the path that goes in a frame\'s `channel` field. Both throw rather than guess. A canonical is minted by `xanosdk export <entry> --lock`.',
1714
+ ' - `server.getUrl(baseUrl)` \u2192 `wss://<host>/ws/<canonical>` \u2014 accepts the `https://\u2026` instance base URL and normalizes the scheme. `channel.getChannel({ room_id: 42 })` \u2192 `"rooms/42"`, the path that goes in a frame\'s `channel` field. Both throw rather than guess. A canonical is minted by `npx @xano/sdk export <entry> --lock`.',
1709
1715
  " - Auth is a bearer token passed as the websocket SUBPROTOCOL: `new WebSocket(url, token)`. No token = an anonymous client, admitted only where `anonymousClients: true`.",
1710
1716
  ' - Frames are JSON `{ action: "join"|"leave"|"broadcast"|"ack"|"ping"|"presence", channel, type?, payload?, options?, id? }`. `broadcast` REQUIRES `type`: a `realtimeMessage` of that channel, else refused `Unknown message type`. You must `join` before you may `broadcast`, and the server\'s context is ready only a moment after `open` \u2014 an immediate first frame is refused.',
1711
1717
  " - `options` is `{ to?, client_id?, channel? }` \u2014 `to: { dbo_id, row_id }` makes the frame a direct message (needs `publish.direct`), `client_id` is the at-least-once cursor handle, and `options.channel` WINS over a top-level `channel`.",
@@ -1717,7 +1723,7 @@ function renderSections(m) {
1717
1723
  " - **Tenant instances (isolated DB):** a tenant's realtime objects live in the TENANT's database, so BOTH halves of a client must name the tenant.",
1718
1724
  " - Socket: `server.getUrl(base, { tenant })` \u2192 `/ws/<tenant>:<canonical>`. \u26A0 A bare canonical on a tenant host resolves against the INSTANCE workspace instead.",
1719
1725
  " - That colon form is PECULIAR TO THE SOCKET. Every other tenant URL gives the tenant its OWN segment \u2014 the HTTP half of the same client is `https://<host>/tenant/<tenant>/api:<canonical>/\u2026`. NO request header is required for either.",
1720
- " - Because the shapes differ, `getUrl` TRANSLATES a tenant base URL instead of concatenating: pass the `https://<host>/tenant/<name>` that `xanosdk status` prints (and that deploy injects as `window.XANO_HOST`) and the tenant is LIFTED into the socket form. So `getUrl(window.XANO_HOST)` needs no `{ tenant }`, and a CONFLICTING `{ tenant }` alongside it throws.",
1726
+ " - Because the shapes differ, `getUrl` TRANSLATES a tenant base URL instead of concatenating: pass the `https://<host>/tenant/<name>` that `npx @xano/sdk status` prints (and that deploy injects as `window.XANO_HOST`) and the tenant is LIFTED into the socket form. So `getUrl(window.XANO_HOST)` needs no `{ tenant }`, and a CONFLICTING `{ tenant }` alongside it throws.",
1721
1727
  " - \u26A0 `getUrl`/`socketUrl` are NOT idempotent \u2014 a `baseUrl` that already carries a `/ws/<\u2026>` path THROWS. Resolve ONCE from the http(s) base; never feed a result back in.",
1722
1728
  " - Still pass `{ tenant }` explicitly for a tenant on its OWN DOMAIN \u2014 the hostname carries it for HTTP, but there is nothing in the URL for the socket to lift.",
1723
1729
  " - \u26A0 Tokens are tenant-scoped (audience `<tenant>:<license>`, not the bare license), so one minted through the instance workspace is REJECTED by a tenant's realtime server \u2014 authenticate and dial through the same tenant.",
@@ -1843,7 +1849,7 @@ function renderSections(m) {
1843
1849
  '(`seed: seedFile("./seed.json", import.meta.url)`; path resolves against the DECLARING',
1844
1850
  'file), or a thunk (`seed: () => import("./seed.json")`, async ok, `.default` unwrapped).',
1845
1851
  "Inline rows are TYPED against the schema at compile time; a `seedFile`/thunk seed is",
1846
- "not \u2014 `xanosdk export`/`deploy` validates it, naming the row index and column.",
1852
+ "not \u2014 `npx @xano/sdk export`/`deploy` validates it, naming the row index and column.",
1847
1853
  "Timestamp seeds: epoch ms, `Date`, ISO 8601 date, or date-time with `Z`/offset; else THROWS.",
1848
1854
  "Int seeds: whole, in int64 (past 2^53: a string).",
1849
1855
  "\u26A0 Prefer `seedFile` for a file: a thunk's `import()` sits in",
@@ -2176,12 +2182,12 @@ function renderSections(m) {
2176
2182
  " - Workspace-level defaults are the terminal tier: `workspaceConfig({ history: { query, function, task, tool, trigger, middleware } })` emits the flat `{objType}_enabled`/`{objType}_limit` map (no inherit flag) \u2014 setting it is wholesale (unlisted types fall back to their engine default), so declare every default you want to keep; omit the field to leave existing workspace history untouched.",
2177
2183
  "",
2178
2184
  '- **Workspace environment variables** set a tenant\'s env vars through the workspace object: `workspaceConfig({ env: { STRIPE_KEY: "", APP_BASE_URL: "" } })`, passed to `registerWorkspace()` \u2014 unattached, it declares nothing. Author them as a name\u2192value MAP, declaring each NAME with an EMPTY value. Read a var back with `env("NAME")` (\u2192 `$env.NAME`), which compiles to tag "setting" with the plain name.',
2179
- " - Values are SECRETS and do NOT belong here: they live in `xano/.env`, which is gitignored and survives a `xanosdk pull`, and every command that compiles a bundle reads it with no flag. Fill it by hand from `xano/.env.example`, or run `xanosdk env pull`. CI passes `--backend-env-file <path>` or `--env-var KEY=VALUE` instead. A compiled bundle carries the values in cleartext \u2014 don't commit one.",
2185
+ " - Values are SECRETS and do NOT belong here: they live in `xano/.env`, which is gitignored and survives a `npx @xano/sdk pull`, and every command that compiles a bundle reads it with no flag. Fill it by hand from `xano/.env.example`, or run `npx @xano/sdk env pull`. CI passes `--backend-env-file <path>` or `--env-var KEY=VALUE` instead. A compiled bundle carries the values in cleartext \u2014 don't commit one.",
2180
2186
  " - What a deploy sends is the RESOLVED map (the declared names, then ONE file \u2014 `xano/.env`, or `--backend-env-file <path>` which REPLACES it, never both \u2014 then `--env-var`), not the literal object written here. `deploy` REPLACES the tenant's env with it, so a declared name with no value anywhere REFUSES the deploy rather than clearing the live value \u2014 fill the name in rather than putting the value back in source, and reach for `--allow-empty-env=NAME` only when clearing is what you mean.",
2181
2187
  "",
2182
2188
  "- **Workspace documentation** gates the workspace's hosted docs: `workspaceConfig({ documentation: { require_token: true } })`. `require_token: true` IS the declaration that a token exists; the value lives in `xano/.secrets.json`, keyed by the object it gates rather than by a name, and a literal `token` FAILS the export. It is NOT a backend env var \u2014 `env()` cannot read it. Other members are carried verbatim.",
2183
2189
  " - \u26A0 OMIT the block and NO `documentation` key is emitted, leaving the target's live block as it is; the legacy `realtime` block follows the same rule. An `apiGroup`'s `documentation` follows the OPPOSITE rule \u2014 see its def shape.",
2184
- " - A declared gate with no token emits no block at all and REFUSES a `deploy`; `--allow-empty-doc-token=<scope>` clears that gate deliberately (scope = `workspace`, or an API group's NAME). `xanosdk pull` writes `xano/.secrets.json`, and `--no-secrets` writes none.",
2190
+ " - A declared gate with no token emits no block at all and REFUSES a `deploy`; `--allow-empty-doc-token=<scope>` clears that gate deliberately (scope = `workspace`, or an API group's NAME). `npx @xano/sdk pull` writes `xano/.secrets.json`, and `--no-secrets` writes none.",
2185
2191
  " - A merge (`deploy --to`) is ADD-ONLY, matched BY NAME \u2014 it creates names the target lacks but does NOT update or remove ones it has, so the target's value wins. Two gaps: a release carries no env values, so a NEW name reads null after `promote`/`tenant deploy` until `env set` (both name it first) \u2014 and a `--replace` deploy rebuilds it so every env var the target holds that the config does not declare is DROPPED (named, and confirmed, before it runs). Omit `env` entirely to leave existing env untouched. The separate `settings` field is a plain object.",
2186
2192
  ""
2187
2193
  ];
@@ -2194,13 +2200,13 @@ function renderSections(m) {
2194
2200
  "`query:<group>|<verb>|<name>`, `channel:<server>|<path>`, `message:<server>|<path>|<name>`",
2195
2201
  "\u2014 its guid's seed; a legacy `query:<name>` is migrated by the next locked export.",
2196
2202
  "",
2197
- "- `xanosdk lock rename <kind> <old> <new>` \u2014 `kind` is the SDK kind (`table`, `apiGroup`) or stored key (`dbo`).",
2203
+ "- `npx @xano/sdk lock rename <kind> <old> <new>` \u2014 `kind` is the SDK kind (`table`, `apiGroup`) or stored key (`dbo`).",
2198
2204
  " Run it when `export` names it after a rename in code (it prints the command); the next export emits the original guid under the new name.",
2199
2205
  " Reads the `index.ts` beside the lock (or `--entry`); refused while `<old>` is still exported. Composed names go in full; renaming a parent moves them.",
2200
- "- `xanosdk lock prune <entry-file> [keys\u2026] --yes` \u2014 drops orphaned entries. Finding orphans",
2206
+ "- `npx @xano/sdk lock prune <entry-file> [keys\u2026] --yes` \u2014 drops orphaned entries. Finding orphans",
2201
2207
  " RUNS the entry's module scope (env assertions included); `--identity-only --yes <key>\u2026`",
2202
2208
  " prunes named keys (`table:users`) with no evaluation and no orphan check.",
2203
- "- `xanosdk lock import <live-bundle.json> [--yes]` \u2014 seed the lock from a `workspace export`",
2209
+ "- `npx @xano/sdk lock import <live-bundle.json> [--yes]` \u2014 seed the lock from a `workspace export`",
2204
2210
  " to take over an existing workspace (a compiled bundle is refused).",
2205
2211
  "- Every lock subcommand accepts `--lock=<path>`; from outside the lock's directory pass it.",
2206
2212
  "- Merge conflict: keep both sides; two keys on one guid \u2192 `lock rename` onto the kept",
@@ -2230,7 +2236,7 @@ function renderSections(m) {
2230
2236
  "Auth & calls:",
2231
2237
  "",
2232
2238
  "- `s.security.create_auth_token({ table, id, extras?, expiration?, as? })` \u2014 `extras` defaults to `{}`, `expiration` (seconds, a `Value`: `c.int(3600)`) to 86400 (`c.int(0)` = never).",
2233
- '- **Marketplace first:** `@xano-sdk/auth` registers a complete auth surface \u2014 signup/login/me endpoints plus their `user`/`account`/`event_log` tables \u2014 via `registerAuth(ws, { canonical: "authn" })`. Authentication only, not authorization. Inspect with `xanosdk marketplace details @xano-sdk/auth --prompt`.',
2239
+ '- **Marketplace first:** `@xano-sdk/auth` registers a complete auth surface \u2014 signup/login/me endpoints plus their `user`/`account`/`event_log` tables \u2014 via `registerAuth(ws, { canonical: "authn" })`. Authentication only, not authorization. Inspect with `npx @xano/sdk marketplace details @xano-sdk/auth --prompt`.',
2234
2240
  "- **The auth loop end to end** \u2014 what that module implements; author it directly for a custom flow. An auth TABLE (`table({ auth: true })`) backs identity; a PUBLIC login query verifies and mints a token; every protected query names that table as `auth:` and reads the caller with `auth(...)`.",
2235
2241
  ' - Signup: `s.db.add({ table: users, row: { email: inp("email"), password: inp("password") } })` \u2014 the `f.password()` column hashes on write; take the submission as `input.text()` on signup AND login (see Gotchas on double-hashing).',
2236
2242
  ' - Login: `s.db.get({ table: users, fieldName: "email", fieldValue: inp("email"), output: ["id", "password"], as: "u" })` \u2014 the `output` naming `password` is REQUIRED (the column is `access: "internal"` and absent from the row otherwise) \u2192 `s.precondition({ expr: expr(ref("u", { safe: true }), "!=", c.null()), error: c.text("No such user."), error_type: "notfound" })` \u2192 `s.security.check_password({ text_password: inp("password"), hash_password: ref("u.password"), as: "ok" })` \u2192 precondition on `ok` \u2192 `s.security.create_auth_token({ table: users, id: ref("u.id"), as: "token" })` \u2192 `response: { token: ref("token") }`.',
@@ -2441,7 +2447,7 @@ function renderDocs(m) {
2441
2447
  {
2442
2448
  path: "llms/toolchain.md",
2443
2449
  title: "Toolchain modules",
2444
- readWhen: 'Read when `package.json` has a `"xanosdk"` block or you run `xanosdk marketplace`.',
2450
+ readWhen: 'Read when `package.json` has a `"xanosdk"` block or you run `npx @xano/sdk marketplace`.',
2445
2451
  body: s.toolchain
2446
2452
  },
2447
2453
  {
@@ -4,20 +4,20 @@ import {
4
4
  droppedAndAdded,
5
5
  tableEffectFields,
6
6
  tableEffectsOf
7
- } from "./chunk-W5MKVFBQ.js";
7
+ } from "./chunk-RV2BDU7V.js";
8
8
  import "./chunk-IEDQT4Z3.js";
9
9
  import {
10
10
  tableRowCounter
11
- } from "./chunk-3RZ4UJWV.js";
11
+ } from "./chunk-N6LGLNAC.js";
12
12
  import {
13
13
  XANOSDK_IMPORT_UNIQUENESS_CODE,
14
14
  XanoSdkImportRefusal,
15
15
  detectXanoSdkImportRoute,
16
16
  xanosdkImport
17
- } from "./chunk-5XDKKE5Y.js";
17
+ } from "./chunk-IWJ6GFST.js";
18
18
  import {
19
19
  exportWorkspaceBundle
20
- } from "./chunk-R7XZW4SB.js";
20
+ } from "./chunk-3H7R4ISR.js";
21
21
  import {
22
22
  encodeWorkspaceArchive
23
23
  } from "./chunk-3DRXWLJ5.js";
@@ -30,27 +30,27 @@ import {
30
30
  sectionKind,
31
31
  storedColumnsAfter,
32
32
  tableAdditions
33
- } from "./chunk-JHQAVWHW.js";
34
- import "./chunk-H7GMGZHI.js";
35
- import "./chunk-6QJORUHC.js";
36
- import "./chunk-7NNLRNXE.js";
33
+ } from "./chunk-Z4BQPABS.js";
34
+ import "./chunk-NDV6CBR7.js";
35
+ import "./chunk-RYWNNJK5.js";
36
+ import "./chunk-MIS6F4HM.js";
37
37
  import "./chunk-2MNLRIOX.js";
38
- import "./chunk-XVOODRNK.js";
39
- import "./chunk-3ZVSOZZC.js";
40
- import "./chunk-A3CT26GX.js";
41
- import "./chunk-P5JF3U65.js";
38
+ import "./chunk-Y5XAPLZS.js";
39
+ import "./chunk-QRMKQYCB.js";
40
+ import "./chunk-ZRXDPCMN.js";
41
+ import "./chunk-WS4BA75E.js";
42
42
  import "./chunk-EUUUMY7J.js";
43
43
  import {
44
44
  shellWord
45
45
  } from "./chunk-FWD7AL6N.js";
46
46
  import {
47
47
  UNTRUSTED_CERTIFICATE
48
- } from "./chunk-DILYWJVP.js";
48
+ } from "./chunk-HXFLHA5K.js";
49
49
  import "./chunk-4KHEMC32.js";
50
50
  import {
51
51
  seedRowsByTableGuid
52
- } from "./chunk-DFCYAEBE.js";
53
- import "./chunk-I2AVVARA.js";
52
+ } from "./chunk-NUZXSIEA.js";
53
+ import "./chunk-ECQXASG3.js";
54
54
  import "./chunk-LLNZGEFK.js";
55
55
  import "./chunk-HU7F56VF.js";
56
56
  import "./chunk-MF4W6FHU.js";
@@ -63,15 +63,15 @@ import {
63
63
  displayPath,
64
64
  warn,
65
65
  withSpinner
66
- } from "./chunk-D4VKPOD4.js";
67
- import "./chunk-IFXPHVPY.js";
66
+ } from "./chunk-GRXX2TOJ.js";
67
+ import "./chunk-6LJS4M6P.js";
68
68
  import "./chunk-76SBT7KS.js";
69
69
  import "./chunk-7FIMUFBP.js";
70
70
  import "./chunk-AXNX4NWN.js";
71
- import "./chunk-F2NFNYCB.js";
72
- import "./chunk-B5N6EWOM.js";
71
+ import "./chunk-6ILHYSLR.js";
72
+ import "./chunk-UQ2OD7D4.js";
73
73
  import "./chunk-ERVIASGL.js";
74
- import "./chunk-VTMTIBKP.js";
74
+ import "./chunk-L34DM6QB.js";
75
75
  import "./chunk-H2V3N23D.js";
76
76
  import "./chunk-3JDU4VRL.js";
77
77
  import "./chunk-WTPZRR4I.js";
@@ -85,7 +85,7 @@ import {
85
85
  } from "./chunk-5ZSO4T2G.js";
86
86
  import "./chunk-VQPDATQT.js";
87
87
  import "./chunk-ZY55DO5P.js";
88
- import "./chunk-A2AOUBJS.js";
88
+ import "./chunk-IHL2O7VY.js";
89
89
  import "./chunk-TFFGOFVZ.js";
90
90
  import "./chunk-EHP3WPEG.js";
91
91
  import "./chunk-W2QFR3ZJ.js";
@@ -200,7 +200,7 @@ async function unreachableProbeError(err, req) {
200
200
  }
201
201
  const serverError = typeof status === "number" && (status >= 500 || status === 429) && answered !== null;
202
202
  if (reach === null && !serverError || req.rerun === void 0) return err;
203
- const { LookupFailedError, rateLimitedCause } = await import("./source-resolve-JXGOVJD3.js");
203
+ const { LookupFailedError, rateLimitedCause } = await import("./source-resolve-U4SJR7ZA.js");
204
204
  const failed = new LookupFailedError(
205
205
  reach !== null ? `Could not reach ${req.label} to ask whether it can merge (${reach[1]}). ${reach[1].includes(UNTRUSTED_CERTIFICATE) ? "A certificate problem" : "A network failure"} \u2014 nothing was sent and its data is untouched` : `${req.label[0].toUpperCase()}${req.label.slice(1)} answered the check whether it can merge with ${status === 429 ? "its rate limit" : "a server error"} (${answered[1].replace(/\.$/, "")}). ${status === 429 ? `${rateLimitedCause()}: nothing` : "Nothing"} was sent and its data is untouched`,
206
206
  "unreachable",
@@ -213,7 +213,7 @@ async function unreachableProbeError(err, req) {
213
213
  }
214
214
  async function unansweredReadError(err, req) {
215
215
  if (req.rerun === void 0) return err;
216
- const { LookupFailedError, isRateLimited, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-JXGOVJD3.js");
216
+ const { LookupFailedError, isRateLimited, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-U4SJR7ZA.js");
217
217
  const transport = isTransportFailure(err);
218
218
  if (!transport && !isServerError(err)) return err;
219
219
  const first = ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
@@ -1116,4 +1116,4 @@ export {
1116
1116
  unansweredReadError,
1117
1117
  unreachableProbeError
1118
1118
  };
1119
- //# sourceMappingURL=keep-data-merge-VRKS64JK.js.map
1119
+ //# sourceMappingURL=keep-data-merge-OVHCIEBG.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  allFrontendPresets
3
- } from "./chunk-C2SAVXAB.js";
3
+ } from "./chunk-4MX5LMPQ.js";
4
4
  import {
5
5
  renderLambdaTsconfig,
6
6
  renderPackageJson
7
- } from "./chunk-IZI3SYXH.js";
7
+ } from "./chunk-5FJ4M4HB.js";
8
8
  import "./chunk-LJM5CIY4.js";
9
9
  import "./chunk-TFFGOFVZ.js";
10
10
  import "./chunk-OHX6MIUZ.js";
@@ -114,4 +114,4 @@ function reconcileLambdaConfig(dir) {
114
114
  export {
115
115
  reconcileLambdaConfig
116
116
  };
117
- //# sourceMappingURL=lambda-config-reconcile-FXPDH2U5.js.map
117
+ //# sourceMappingURL=lambda-config-reconcile-VOBVZPWS.js.map