@xano/sdk 1.0.13 → 1.0.15

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 (246) hide show
  1. package/CHANGELOG.md +28 -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-ZRGNOA6Q.js} +12 -11
  5. package/dist/{agent-skill-command-6M46ZGOL.js → agent-skill-command-DV26SDA2.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-NTMXWE5R.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-4PJEBNRK.js} +26 -25
  12. package/dist/{chunk-PCHIHVX6.js → chunk-2LF734YB.js} +4 -4
  13. package/dist/{chunk-ENBGJJJH.js → chunk-3GZMP7II.js} +9 -9
  14. package/dist/{chunk-R7XZW4SB.js → chunk-3H7R4ISR.js} +2 -2
  15. package/dist/{chunk-DB7P2SSK.js → chunk-45K2QZBR.js} +3 -3
  16. package/dist/{chunk-C2SAVXAB.js → chunk-4MX5LMPQ.js} +2 -2
  17. package/dist/{chunk-IZI3SYXH.js → chunk-5FJ4M4HB.js} +38 -38
  18. package/dist/{chunk-FBWMKHLO.js → chunk-5SJQAJLF.js} +3 -3
  19. package/dist/{chunk-E763QI3G.js → chunk-5SKWGCAJ.js} +2 -2
  20. package/dist/{chunk-JKGRQW6D.js → chunk-5W7S2SCA.js} +4 -4
  21. package/dist/{chunk-KICERNAP.js → chunk-66ZU2CD5.js} +4 -4
  22. package/dist/{chunk-F2NFNYCB.js → chunk-6EFXPTHT.js} +3 -3
  23. package/dist/{chunk-CTUIMNEM.js → chunk-6X73VFCX.js} +2 -2
  24. package/dist/{chunk-VTMTIBKP.js → chunk-74OPNM2Z.js} +2 -2
  25. package/dist/{chunk-DZUNF7IH.js → chunk-75QC66XI.js} +2 -2
  26. package/dist/{chunk-U4BGBU3R.js → chunk-7AKH4QDJ.js} +44 -44
  27. package/dist/{chunk-CGZSF756.js → chunk-7ZQ73AHJ.js} +28 -28
  28. package/dist/{chunk-5SMUND4J.js → chunk-A2N2C2WD.js} +6 -6
  29. package/dist/{chunk-XL7EA62X.js → chunk-AE5CRAKS.js} +5 -5
  30. package/dist/{chunk-5ONWBQ2C.js → chunk-ASQX477B.js} +7 -7
  31. package/dist/{chunk-JFPLHK6Y.js → chunk-AXMUYBWQ.js} +2 -2
  32. package/dist/{chunk-5XDKKE5Y.js → chunk-B6AFJVG4.js} +4 -4
  33. package/dist/{chunk-4CS4DKQC.js → chunk-BEKEOXNG.js} +2 -2
  34. package/dist/{chunk-ZSMHS7BU.js → chunk-CJGLAQRD.js} +4 -4
  35. package/dist/{chunk-M7DIIJPW.js → chunk-DBDTQR23.js} +4 -4
  36. package/dist/{chunk-RZABQ4YH.js → chunk-DGYXCIBV.js} +4 -4
  37. package/dist/{chunk-P6HXDOFG.js → chunk-DH6O5NQU.js} +13 -13
  38. package/dist/{chunk-I2AVVARA.js → chunk-ECQXASG3.js} +2 -2
  39. package/dist/{chunk-2BHYGUTI.js → chunk-EQXHUWUO.js} +2 -2
  40. package/dist/{chunk-EGEANMMK.js → chunk-FIERONKM.js} +2 -2
  41. package/dist/{chunk-A2AOUBJS.js → chunk-FKQX6KU7.js} +3 -2
  42. package/dist/{chunk-UECNKDDA.js → chunk-FOBVJ2UR.js} +8 -8
  43. package/dist/{chunk-GRWYO2MS.js → chunk-FXZEZAV2.js} +3 -3
  44. package/dist/{chunk-H6VVSGKN.js → chunk-G4WRZU5T.js} +7 -7
  45. package/dist/{chunk-K6BQPFRS.js → chunk-GBSHHNSD.js} +3 -3
  46. package/dist/{chunk-N3XSXGAL.js → chunk-GCINMMFL.js} +2 -2
  47. package/dist/{chunk-WZXEQUIM.js → chunk-GDJCWQIK.js} +2 -2
  48. package/dist/{chunk-ZACMAKZE.js → chunk-GIQIMWTK.js} +14 -14
  49. package/dist/{chunk-POZ6V4MU.js → chunk-GKQTXUOW.js} +2 -2
  50. package/dist/{chunk-D4VKPOD4.js → chunk-GRXX2TOJ.js} +13 -112
  51. package/dist/{chunk-YJK4NPXC.js → chunk-GVHWIDEJ.js} +3 -3
  52. package/dist/{chunk-UKC65HBQ.js → chunk-HCNIB3EC.js} +4 -4
  53. package/dist/{chunk-DILYWJVP.js → chunk-HXFLHA5K.js} +2 -2
  54. package/dist/{chunk-FLDFKG24.js → chunk-IKXXTRMN.js} +4 -4
  55. package/dist/{chunk-QWWQM4XZ.js → chunk-JAYHFXWH.js} +7 -7
  56. package/dist/{chunk-6LECAG3Y.js → chunk-JWASCOHO.js} +4 -4
  57. package/dist/{chunk-DPSR5GRE.js → chunk-K6SWZ6H4.js} +49 -49
  58. package/dist/{chunk-VA4JK4TW.js → chunk-KMKUH2IO.js} +3 -3
  59. package/dist/{chunk-UFFIU57H.js → chunk-LSJ3SQEU.js} +4 -4
  60. package/dist/{chunk-JHQAVWHW.js → chunk-M7O3T7IM.js} +2 -2
  61. package/dist/{chunk-BXVNRUDB.js → chunk-MGG4CHO4.js} +3 -3
  62. package/dist/{chunk-7NNLRNXE.js → chunk-MIS6F4HM.js} +4 -4
  63. package/dist/{chunk-6HTXQAMG.js → chunk-N72XNQNJ.js} +14 -14
  64. package/dist/{chunk-H7GMGZHI.js → chunk-NDV6CBR7.js} +2 -2
  65. package/dist/{chunk-6OOZJQJK.js → chunk-NNI5R6V6.js} +68 -68
  66. package/dist/{chunk-IFXPHVPY.js → chunk-NPYYDTXS.js} +3 -3
  67. package/dist/{chunk-DYGRTWAI.js → chunk-O44MJTLR.js} +3 -3
  68. package/dist/{chunk-HDANNK4A.js → chunk-OZWAITII.js} +9 -9
  69. package/dist/{chunk-ONNSFD73.js → chunk-P7GKTV7N.js} +10 -10
  70. package/dist/{chunk-373AVIL2.js → chunk-QAEBBTYR.js} +7 -7
  71. package/dist/{chunk-3ZVSOZZC.js → chunk-QRMKQYCB.js} +2 -2
  72. package/dist/{chunk-TANWE2ZY.js → chunk-QW7NGUYW.js} +80 -80
  73. package/dist/{chunk-U4DSFCH5.js → chunk-R3GPRNBT.js} +2 -2
  74. package/dist/{chunk-SBS2IYTN.js → chunk-RBTZEHXF.js} +3 -3
  75. package/dist/{chunk-XFQAA2SU.js → chunk-RVAEPPRH.js} +2 -2
  76. package/dist/{chunk-W5MKVFBQ.js → chunk-RXNMZM6H.js} +5 -5
  77. package/dist/{chunk-6QJORUHC.js → chunk-RYWNNJK5.js} +2 -2
  78. package/dist/{chunk-NZ7ML6LG.js → chunk-SH4RY6QX.js} +290 -98
  79. package/dist/{chunk-ZGNWMGN3.js → chunk-SHHXLI2K.js} +26 -8
  80. package/dist/{chunk-MLKJUEG3.js → chunk-SL55XKVL.js} +23 -23
  81. package/dist/{chunk-H5FAYLCR.js → chunk-SPLRKCFV.js} +2 -2
  82. package/dist/{chunk-XYVPF63S.js → chunk-SXMZNSQ6.js} +8 -8
  83. package/dist/{chunk-NMHTB346.js → chunk-TT6LN55R.js} +36 -10
  84. package/dist/{chunk-B5N6EWOM.js → chunk-TXFOQZUQ.js} +3 -3
  85. package/dist/{chunk-VFRL4G72.js → chunk-UNFQN3TT.js} +3 -3
  86. package/dist/{chunk-EKS7SAZS.js → chunk-UVHSMANV.js} +53 -61
  87. package/dist/{chunk-RQHXYL77.js → chunk-V7WCTXEH.js} +5 -7
  88. package/dist/{chunk-HEMWBHQS.js → chunk-VUWR5YLE.js} +13 -13
  89. package/dist/{chunk-O6PWEJUV.js → chunk-VXHXSGPU.js} +8 -8
  90. package/dist/chunk-VYJYDMY6.js +9 -0
  91. package/dist/{chunk-C4TZP5PQ.js → chunk-WS2X5BB2.js} +5 -5
  92. package/dist/{chunk-P5JF3U65.js → chunk-WS4BA75E.js} +37 -4
  93. package/dist/{chunk-HUEFVPYW.js → chunk-WXKSB2N3.js} +3 -3
  94. package/dist/{chunk-DFCYAEBE.js → chunk-XLP4CNSF.js} +3 -3
  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-ZISPEBNM.js → chunk-YCKKL5PD.js} +60 -55
  99. package/dist/{chunk-XM56DAM7.js → chunk-YR3MNGWZ.js} +8 -8
  100. package/dist/{chunk-WQZCFVAD.js → chunk-ZC6H2ERE.js} +5 -5
  101. package/dist/{chunk-UDCKYLBW.js → chunk-ZDVVIJPU.js} +4 -4
  102. package/dist/{chunk-ENAUSLMP.js → chunk-ZF2CBXT5.js} +3 -3
  103. package/dist/{chunk-AUYXBKGR.js → chunk-ZOHEHIFS.js} +2 -2
  104. package/dist/{chunk-3RZ4UJWV.js → chunk-ZPJXWMHK.js} +4 -4
  105. package/dist/{chunk-A3CT26GX.js → chunk-ZRXDPCMN.js} +2 -2
  106. package/dist/{chunk-RAGFXELQ.js → chunk-ZYECXDVV.js} +5 -5
  107. package/dist/cli.js +45 -44
  108. package/dist/{codegen-command-BAFON45M.js → codegen-command-RDD4GL35.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-BYAZZF37.js} +52 -51
  114. package/dist/{deploy-source-ZUPLAL7L.js → deploy-source-QCPZWNJO.js} +27 -26
  115. package/dist/{dev-env-sync-W7OTV7OD.js → dev-env-sync-6MHK3UHC.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-MQWHY7ZS.js} +64 -63
  118. package/dist/{env-pull-command-5IYXQ2WK.js → env-pull-command-KUIEKBTM.js} +42 -41
  119. package/dist/{env-target-TQBPLU2S.js → env-target-Y77RLRS5.js} +9 -9
  120. package/dist/{env-var-command-AKCWYZPB.js → env-var-command-BZWJD75C.js} +37 -36
  121. package/dist/{ephemeral-CART6DIR.js → ephemeral-VLPRDNEJ.js} +8 -8
  122. package/dist/{ephemeral-command-SJYH6XRS.js → ephemeral-command-SYKDPALW.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-CSQDQZSW.js} +68 -67
  125. package/dist/{gitignore-6IJ66XME.js → gitignore-OQGYM7DO.js} +15 -14
  126. package/dist/{guards-RU4C7TFG.js → guards-JUYBDLZY.js} +6 -6
  127. package/dist/{impersonate-command-IH4HMSS3.js → impersonate-command-HSFCZBV6.js} +33 -32
  128. package/dist/{import-RUBCGLCA.js → import-T4ZTOTBT.js} +4 -4
  129. package/dist/index.d.ts +105 -109
  130. package/dist/index.js +11 -11
  131. package/dist/{init-command-STB4YSAK.js → init-command-6Z7QNVDY.js} +50 -51
  132. package/dist/{init-modules-YIZYPCMM.js → init-modules-BL2SR5RK.js} +7 -7
  133. package/dist/{init-web-OGKACAOC.js → init-web-DYE2FEXL.js} +2 -2
  134. package/dist/internal.d.ts +2 -2
  135. package/dist/internal.js +68 -62
  136. package/dist/{keep-data-merge-VRKS64JK.js → keep-data-merge-SHF75FC7.js} +24 -24
  137. package/dist/{lambda-config-reconcile-FXPDH2U5.js → lambda-config-reconcile-VOBVZPWS.js} +3 -3
  138. package/dist/{landing-record-5EFK7RI6.js → landing-record-7EOLEKH3.js} +17 -16
  139. package/dist/{live-diff-HARRGFV4.js → live-diff-M2OLXKM6.js} +6 -6
  140. package/dist/{local-engine-choice-TRTEJVMV.js → local-engine-choice-TOC3UYZZ.js} +30 -29
  141. package/dist/{local-engine-command-2FK2PE2P.js → local-engine-command-6KSRDZBR.js} +35 -34
  142. package/dist/{local-engine-deploy-ZZVHBI2X.js → local-engine-deploy-4N4NFZ4T.js} +11 -11
  143. package/dist/{local-engine-lookup-QFRKO35F.js → local-engine-lookup-AQTUGSBT.js} +2 -2
  144. package/dist/{local-engine-mcp-bridge-T2EFRRAF.js → local-engine-mcp-bridge-AMYRH4SY.js} +9 -9
  145. package/dist/{local-engine-mcp-command-FB7EOGG6.js → local-engine-mcp-command-XTP3EATV.js} +41 -48
  146. package/dist/{local-engine-process-XH35DURU.js → local-engine-process-OD5OSWDG.js} +6 -6
  147. package/dist/{local-engine-update-check-HAXE7BVG.js → local-engine-update-check-G3YCBXRE.js} +4 -4
  148. package/dist/{lock-commands-7PBZIRWR.js → lock-commands-437P6BHY.js} +50 -49
  149. package/dist/{login-command-2O6GRMTH.js → login-command-BNRDAVFV.js} +23 -22
  150. package/dist/{logout-command-RZXGW3O2.js → logout-command-FCGCHB7Y.js} +13 -12
  151. package/dist/{loop-QHZD37KX.js → loop-WOAEXMTC.js} +6 -6
  152. package/dist/{marketplace-command-NCMLGIMS.js → marketplace-command-SUBJZPJV.js} +33 -33
  153. package/dist/{marketplace-resolve-HPCRNV5O.js → marketplace-resolve-JR4BBJ6K.js} +5 -5
  154. package/dist/{meta-client-DYYM5F5G.js → meta-client-AYJS3RQ3.js} +10 -10
  155. package/dist/{module-manifest-EFE6JBZW.js → module-manifest-63I5GRK4.js} +3 -3
  156. package/dist/node.d.ts +2 -2
  157. package/dist/node.js +50 -49
  158. package/dist/{operation-outcome-SHNROAFA.js → operation-outcome-ORQPVJKB.js} +19 -19
  159. package/dist/{output-target-PSSR3E4N.js → output-target-KNHHNDM3.js} +16 -15
  160. package/dist/{plan-disclosure-WEMB5ZJ2.js → plan-disclosure-4DUFRGCP.js} +16 -16
  161. package/dist/{plugin-contributions-U5PAZKBE.js → plugin-contributions-YYEP7IWH.js} +4 -4
  162. package/dist/{plugin-prompt-O5PAMV5B.js → plugin-prompt-GKCQKNYI.js} +4 -4
  163. package/dist/{plugin-questions-ZVYNKDRB.js → plugin-questions-P7MA3TYI.js} +3 -3
  164. package/dist/{preflight-command-6F7JF3YQ.js → preflight-command-32GFVKSN.js} +56 -55
  165. package/dist/{profile-command-5AOGD6GV.js → profile-command-U2XTKOMF.js} +24 -23
  166. package/dist/{profile-pointer-VTOZDBHM.js → profile-pointer-JJ7K5O2R.js} +3 -3
  167. package/dist/{project-dependency-EZNTHMWI.js → project-dependency-X3KCWBK5.js} +6 -6
  168. package/dist/{project-sdk-ZGJM4WYQ.js → project-sdk-YHJZRCNB.js} +3 -3
  169. package/dist/promote-command-OO56IZBT.js +148 -0
  170. package/dist/{prompt-F7UVH4GP.js → prompt-QNMJIWNI.js} +3 -3
  171. package/dist/{publish-command-6VVSJPLI.js → publish-command-5ZVZ6IYT.js} +55 -54
  172. package/dist/{pull-command-GE2WUEUF.js → pull-command-LT5PCEIW.js} +66 -65
  173. package/dist/{pull-superseded-77UZ7CHH.js → pull-superseded-6HADGGC5.js} +3 -3
  174. package/dist/{release-command-55RTR674.js → release-command-RBUOXIH7.js} +60 -59
  175. package/dist/{release-ns-command-5XPZ2B6N.js → release-ns-command-LDN5DOKQ.js} +78 -77
  176. package/dist/{retry-command-S5QALD5Z.js → retry-command-LFZYEVRU.js} +7 -7
  177. package/dist/{routes-manifest-ET2TTSCL.js → routes-manifest-BMAOL6WN.js} +6 -6
  178. package/dist/{routes-manifest-file-42FTJHRY.js → routes-manifest-file-MPOVKD6N.js} +9 -9
  179. package/dist/scaffold.d.ts +0 -5
  180. package/dist/scaffold.js +2 -2
  181. package/dist/{secrets-file-N5IF265R.js → secrets-file-7QM3ORGX.js} +15 -14
  182. package/dist/{secrets-fill-command-35WKBURT.js → secrets-fill-command-OZ537VOD.js} +49 -48
  183. package/dist/{seed-5YLQRT2D.js → seed-ATGBOEJP.js} +6 -6
  184. package/dist/{source-resolve-JXGOVJD3.js → source-resolve-QYSWA3QR.js} +17 -17
  185. package/dist/{static-host-TQP3FXPI.js → static-host-MO4VDHL7.js} +4 -4
  186. package/dist/{status-command-G3DFRMU7.js → status-command-IEB4K7ME.js} +60 -34
  187. package/dist/{store-ZE5BXCOW.js → store-AJX4MC7Y.js} +5 -5
  188. package/dist/{store-BM7SQcUt.d.ts → store-DspGMsFY.d.ts} +112 -118
  189. package/dist/{sync-baseline-JGAAOS25.js → sync-baseline-IB7MABZO.js} +7 -7
  190. package/dist/{sync-contributions-7T4CSPVQ.js → sync-contributions-DLV5JZUK.js} +8 -8
  191. package/dist/{sync-record-ILWS44DG.js → sync-record-NE62ERA3.js} +9 -9
  192. package/dist/{table-V3LTQUY6.js → table-TFD4ZQXA.js} +8 -8
  193. package/dist/{tables-command-7NUOZBHX.js → tables-command-IMCVPUFY.js} +35 -34
  194. package/dist/{tenant-7WUS7Q6V.js → tenant-IIYECNWO.js} +9 -9
  195. package/dist/{tenant-command-JGEHRKN7.js → tenant-command-77KG76MU.js} +83 -82
  196. package/dist/{test-command-2LNEA6GK.js → test-command-NSPU4RUO.js} +32 -31
  197. package/dist/{tests-ENFUACKD.js → tests-JWQRHFCT.js} +5 -5
  198. package/dist/{token-DWNH44NW.js → token-BDHD7GU3.js} +9 -8
  199. package/dist/{toolchain-hooks-QIFGPGH2.js → toolchain-hooks-QHJRDCRW.js} +8 -8
  200. package/dist/{toolchain-modules-F4DUMWTO.js → toolchain-modules-LY7BMYG6.js} +4 -4
  201. package/dist/{toolchain-peers-K44IINPG.js → toolchain-peers-FQJBTKEB.js} +7 -7
  202. package/dist/{tracked-backend-ZFXVLBBJ.js → tracked-backend-BIR7YJCE.js} +30 -29
  203. package/dist/{update-check-KBHT63GJ.js → update-check-JDARCXAX.js} +48 -47
  204. package/dist/{upgrade-command-CI543AZP.js → upgrade-command-YCADQCIA.js} +51 -50
  205. package/dist/{whoami-command-77DXENWD.js → whoami-command-IZCTUPM4.js} +12 -11
  206. package/dist/{workspace-RI5C77BZ.js → workspace-TK52V7WO.js} +4 -4
  207. package/dist/{workspace-binding-PR57NBGH.js → workspace-binding-3UT6PP4B.js} +11 -10
  208. package/dist/{workspace-command-6HHVFQKW.js → workspace-command-46OCB6XT.js} +79 -78
  209. package/dist/{workspace-env-2APJEASO.js → workspace-env-PVPOWFNZ.js} +12 -11
  210. package/dist/{workspace-export-GHMUSX2P.js → workspace-export-PUEXKZNS.js} +4 -4
  211. package/dist/{writable-Y6CE2CGK.js → writable-LMMG4AFZ.js} +3 -3
  212. package/dist/{xano-2A2GT7EH.js → xano-EOUVXNQX.js} +7 -7
  213. package/dist/{xanosdk-import-HBQH3ZBS.js → xanosdk-import-XXJT365U.js} +5 -5
  214. package/dist/{xanosdk-project-W45IR3Q7.js → xanosdk-project-CJKRLQ6U.js} +13 -12
  215. package/guides/README.md +3 -3
  216. package/guides/authoring.md +11 -11
  217. package/guides/bundle.md +2 -2
  218. package/guides/cli.md +179 -176
  219. package/guides/codegen.md +17 -17
  220. package/guides/codes.md +3 -3
  221. package/guides/coverage.md +2 -2
  222. package/guides/deploying.md +123 -123
  223. package/guides/environment.md +30 -30
  224. package/guides/marketplace.md +24 -24
  225. package/guides/module-contract.md +9 -9
  226. package/guides/object-kinds.md +4 -4
  227. package/guides/project-structure.md +4 -4
  228. package/guides/scaffold.md +22 -22
  229. package/guides/typed-frontend.md +3 -3
  230. package/llms/client.md +4 -4
  231. package/llms/errors.md +2 -2
  232. package/llms/fields.md +1 -1
  233. package/llms/kinds-agent-mcp.md +1 -1
  234. package/llms/kinds-realtime.md +2 -2
  235. package/llms/lock.md +3 -3
  236. package/llms/statements-calls.md +1 -1
  237. package/llms/statements-catalog.md +57 -57
  238. package/llms/statements-runtime.md +2 -2
  239. package/llms/tests.md +3 -3
  240. package/llms/toolchain.md +2 -2
  241. package/llms-full.txt +113 -110
  242. package/llms.txt +35 -32
  243. package/manifest.json +82 -152
  244. package/package.json +1 -1
  245. package/skills/xano-backend/SKILL.md +7 -7
  246. package/dist/promote-command-O2NRRFLK.js +0 -147
@@ -61,9 +61,8 @@ function withBackendFields(value) {
61
61
  }
62
62
 
63
63
  // src/emit/invocation.ts
64
- import { existsSync, readFileSync, realpathSync, statSync } from "fs";
65
- import { basename, dirname, isAbsolute as isAbsolute3, join, relative as relative3, resolve as resolve3, sep as sep3 } from "path";
66
- import { homedir } from "os";
64
+ import { existsSync, readFileSync } from "fs";
65
+ import { dirname, isAbsolute as isAbsolute3, join, relative as relative3, resolve as resolve3, sep as sep3 } from "path";
67
66
 
68
67
  // src/emit/typed-cwd.ts
69
68
  import { isAbsolute as isAbsolute2, relative as relative2, resolve as resolve2, sep as sep2 } from "path";
@@ -108,24 +107,9 @@ function pastePath(path) {
108
107
  }
109
108
 
110
109
  // src/emit/invocation.ts
111
- var GLOBAL_STORES = [
112
- `${sep3}lib${sep3}node_modules${sep3}`,
113
- `${sep3}npm${sep3}node_modules${sep3}`,
114
- `${sep3}pnpm${sep3}global${sep3}`,
115
- `${sep3}yarn${sep3}global${sep3}`
116
- ];
110
+ var PROJECT_CLI = "npx @xano/sdk";
117
111
  function launcherFor(facts) {
118
- const bin = facts.binPath;
119
- const marker = `${sep3}node_modules${sep3}`;
120
- const at = bin.lastIndexOf(marker);
121
- if (at === -1) return "path";
122
- if (bin.includes(`${sep3}_npx${sep3}`) || facts.env.npm_command === "exec") return "npx";
123
- const installRoot = bin.slice(0, at);
124
- const cwd = facts.cwd;
125
- if (cwd === installRoot || cwd.startsWith(installRoot + sep3)) return "npx";
126
- const store = bin.slice(0, at + marker.length);
127
- if (GLOBAL_STORES.some((s) => store.endsWith(s) || bin.includes(s))) return "path";
128
- return "npx";
112
+ return facts.binPath.includes(`${sep3}node_modules${sep3}`) ? "npx" : "path";
129
113
  }
130
114
  function typedDirFor(cwd, env) {
131
115
  const init = env.INIT_CWD;
@@ -134,14 +118,6 @@ function typedDirFor(cwd, env) {
134
118
  const rel = relative3(cwd, init);
135
119
  return rel === "" || !rel.startsWith("..") && !isAbsolute3(rel) ? resolve3(init) : cwd;
136
120
  }
137
- var installedCache = /* @__PURE__ */ new Map();
138
- function binDirAbove(from) {
139
- for (let d = from; ; d = dirname(d)) {
140
- const bin = join(d, "node_modules", ".bin");
141
- if (existsSync(join(bin, "xanosdk")) || existsSync(join(bin, "xanosdk.cmd"))) return bin;
142
- if (dirname(d) === d) return void 0;
143
- }
144
- }
145
121
  function readManifest(dir) {
146
122
  try {
147
123
  return JSON.parse(readFileSync(join(dir, "package.json"), "utf8"));
@@ -149,13 +125,6 @@ function readManifest(dir) {
149
125
  return void 0;
150
126
  }
151
127
  }
152
- function isDir(path) {
153
- try {
154
- return statSync(path).isDirectory();
155
- } catch {
156
- return false;
157
- }
158
- }
159
128
  function workspaceGlob(glob) {
160
129
  const segs = glob.replace(/^\.\//, "").replace(/\/+$/, "").split("/");
161
130
  const source = segs.map(
@@ -171,18 +140,6 @@ function listsWorkspace(root, workspaces, member) {
171
140
  const hit = (g) => workspaceGlob(g).test(rel);
172
141
  return globs.some((g) => !g.startsWith("!") && hit(g)) && !globs.some((g) => g.startsWith("!") && hit(g.slice(1)));
173
142
  }
174
- function npxBinDir(from) {
175
- let prefix;
176
- for (let d = from; prefix === void 0; d = dirname(d)) {
177
- if (existsSync(join(d, "package.json")) || isDir(join(d, "node_modules"))) prefix = d;
178
- else if (dirname(d) === d) break;
179
- }
180
- if (prefix === void 0) return binDirAbove(from);
181
- const root = listingWorkspaceRoot(prefix);
182
- if (root === void 0) return binDirAbove(prefix);
183
- const name = readManifest(prefix)?.name;
184
- return binDirAbove(join(root, "node_modules", typeof name === "string" && name !== "" ? name : basename(prefix)));
185
- }
186
143
  function listingWorkspaceRoot(prefix) {
187
144
  for (let d = dirname(prefix); ; d = dirname(d)) {
188
145
  if (existsSync(join(d, "package.json"))) {
@@ -192,34 +149,16 @@ function listingWorkspaceRoot(prefix) {
192
149
  if (dirname(d) === d) return void 0;
193
150
  }
194
151
  }
195
- function projectFileCli(dir, manager) {
196
- if (manager === "npm" || manager === "yarn") return "npx xanosdk";
197
- return listingWorkspaceRoot(resolve3(dir)) === void 0 ? "npx xanosdk" : "npx --workspaces=false xanosdk";
198
- }
199
152
  var MCP_SERVER_NAME = "xano-local";
200
153
  var MCP_CONFIGS = [
201
154
  { path: ".mcp.json", agent: "Claude Code" },
202
155
  { path: ".cursor/mcp.json", agent: "Cursor", workspaceFolder: "${workspaceFolder}" }
203
156
  ];
204
- function mcpServerCommand(dir, manager, opts = {}) {
157
+ function mcpServerCommand(opts = {}) {
205
158
  const folder = opts.workspaceFolder;
206
- const npx = [
207
- "npx",
208
- "--yes",
209
- "--package",
210
- "@xano/sdk",
211
- ...projectFileCli(dir, manager) === "npx xanosdk" ? [] : ["--workspaces=false"],
212
- "xanosdk",
213
- "local",
214
- "mcp",
215
- "--stdio",
216
- ...folder === void 0 ? [] : ["--project", folder]
217
- ];
159
+ const npx = ["npx", "--yes", "@xano/sdk", "local", "mcp", "--stdio", ...folder === void 0 ? [] : ["--project", folder]];
218
160
  return (opts.platform ?? process.platform) === "win32" ? { command: "cmd", args: ["/c", ...npx] } : { command: npx[0], args: npx.slice(1) };
219
161
  }
220
- function spellProjectCli(text2, cli) {
221
- return cli === void 0 || cli === "npx xanosdk" ? text2 : text2.replace(/\bnpx xanosdk(?=[\s`'")\]]|$)/g, cli);
222
- }
223
162
  var PROJECT_SDK_DIR = "node_modules/@xano/sdk";
224
163
  function projectSdkDir(dir, manager) {
225
164
  const project = resolve3(dir);
@@ -233,35 +172,12 @@ function spellProjectSdkDir(text2, sdkDir) {
233
172
  if (sdkDir === void 0 || sdkDir === PROJECT_SDK_DIR) return text2;
234
173
  return text2.replace(/(?<![\w./-])node_modules\/@xano\/sdk(?=\/)/g, sdkDir);
235
174
  }
236
- function installedCliAt(dir) {
237
- return sdkInstalledAt(dir) === "member-only" ? "npx --workspaces=false xanosdk" : "npx xanosdk";
238
- }
239
- function sameDir(a, b) {
240
- try {
241
- return realpathSync(a) === realpathSync(b);
242
- } catch {
243
- return false;
244
- }
245
- }
246
- function sdkInstalledAt(dir) {
247
- const start = resolve3(dir);
248
- const cached = installedCache.get(start);
249
- if (cached !== void 0) return cached;
250
- const own = binDirAbove(start);
251
- if (own === void 0) return false;
252
- const npx = npxBinDir(start);
253
- const found = npx !== void 0 && sameDir(npx, own) ? true : "member-only";
254
- installedCache.set(start, found);
255
- return found;
256
- }
257
175
  var state;
258
- function setCliLauncher(launcher, typedDir, installedAt = sdkInstalledAt) {
259
- state = launcher === "path" ? void 0 : { launcher, typedDir: typedDir ?? process.cwd(), installedAt };
176
+ function setCliLauncher(launcher, typedDir) {
177
+ state = launcher === "path" ? void 0 : { launcher, typedDir: typedDir ?? process.cwd() };
260
178
  }
261
- function cliPrefixAt(dir, s = state) {
262
- if (s === void 0) return "xanosdk";
263
- const installed = s.installedAt(resolve3(s.typedDir, dir ?? "."));
264
- return installed === true ? "npx xanosdk" : installed === "member-only" ? "npx --workspaces=false xanosdk" : "npx @xano/sdk";
179
+ function cliPrefix(s = state) {
180
+ return s === void 0 ? "xanosdk" : PROJECT_CLI;
265
181
  }
266
182
  var pattern;
267
183
  function commandPattern() {
@@ -273,21 +189,9 @@ function commandPattern() {
273
189
  );
274
190
  return pattern;
275
191
  }
276
- function cdTarget(text2, at) {
277
- const from = Math.max(text2.lastIndexOf("`", at - 1), text2.lastIndexOf("\n", at - 1)) + 1;
278
- const m = [...text2.slice(from, at).matchAll(/(?:^|\s)cd ('(?:[^']|'\\'')*'|"(?:[^"\\]|\\.)*"|[^\s`'"]+) && /g)].at(-1);
279
- if (m === void 0) return void 0;
280
- const word = m[1];
281
- if (word.startsWith("'")) return word.slice(1, -1).replace(/'\\''/g, "'");
282
- if (word.startsWith('"')) return word.slice(1, -1).replace(/\\(.)/g, "$1");
283
- return word.startsWith("~/") ? join(homedir(), word.slice(2)) : word;
284
- }
285
192
  function withCliPrefix(text2, s = state) {
286
193
  if (s === void 0 || !text2.includes("xanosdk ")) return text2;
287
- return text2.replace(commandPattern(), (_whole, boundary, indent, offset) => {
288
- const dir = boundary === "`" || boundary === "\n" ? void 0 : cdTarget(text2, offset + boundary.length);
289
- return `${boundary}${indent}${cliPrefixAt(dir, s)} `;
290
- });
194
+ return text2.replace(commandPattern(), (_whole, boundary, indent) => `${boundary}${indent}${cliPrefix(s)} `);
291
195
  }
292
196
  function withCliPrefixDeep(value, s = state) {
293
197
  if (s === void 0) return value;
@@ -3031,15 +2935,12 @@ export {
3031
2935
  displayPath,
3032
2936
  setTypedCwd,
3033
2937
  pastePath,
3034
- projectFileCli,
2938
+ PROJECT_CLI,
3035
2939
  MCP_SERVER_NAME,
3036
2940
  MCP_CONFIGS,
3037
2941
  mcpServerCommand,
3038
- spellProjectCli,
3039
2942
  projectSdkDir,
3040
2943
  spellProjectSdkDir,
3041
- installedCliAt,
3042
- cliPrefixAt,
3043
2944
  withCliPrefix,
3044
2945
  installCliPrefix,
3045
2946
  isMachineOutput,
@@ -3116,4 +3017,4 @@ export {
3116
3017
  movedVerb,
3117
3018
  installCliDiagnosticSink
3118
3019
  };
3119
- //# sourceMappingURL=chunk-D4VKPOD4.js.map
3020
+ //# sourceMappingURL=chunk-GRXX2TOJ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  listAnswer,
5
5
  recordAnswer,
6
6
  writeTransportFailure
7
- } from "./chunk-3ZVSOZZC.js";
7
+ } from "./chunk-QRMKQYCB.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-DILYWJVP.js";
15
+ } from "./chunk-HXFLHA5K.js";
16
16
 
17
17
  // src/deploy/tests.ts
18
18
  function labelledMessage(text) {
@@ -247,4 +247,4 @@ export {
247
247
  TestRunUnansweredError,
248
248
  runTest
249
249
  };
250
- //# sourceMappingURL=chunk-YJK4NPXC.js.map
250
+ //# sourceMappingURL=chunk-GVHWIDEJ.js.map
@@ -3,17 +3,17 @@ import {
3
3
  } from "./chunk-EUUUMY7J.js";
4
4
  import {
5
5
  backendDirIn
6
- } from "./chunk-GRWYO2MS.js";
6
+ } from "./chunk-FXZEZAV2.js";
7
7
  import {
8
8
  shellWord
9
9
  } from "./chunk-FWD7AL6N.js";
10
10
  import {
11
11
  pointerRootFor
12
- } from "./chunk-I2AVVARA.js";
12
+ } from "./chunk-ECQXASG3.js";
13
13
  import {
14
14
  UsageError,
15
15
  setTypedCwd
16
- } from "./chunk-D4VKPOD4.js";
16
+ } from "./chunk-GRXX2TOJ.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-UKC65HBQ.js.map
157
+ //# sourceMappingURL=chunk-HCNIB3EC.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-X2NL4KUO.js";
7
7
  import {
8
8
  UsageError
9
- } from "./chunk-D4VKPOD4.js";
9
+ } from "./chunk-GRXX2TOJ.js";
10
10
 
11
11
  // src/util/last-credential.ts
12
12
  import { AsyncLocalStorage } from "async_hooks";
@@ -650,4 +650,4 @@ export {
650
650
  fetchReadOrExplain,
651
651
  retryingFetch
652
652
  };
653
- //# sourceMappingURL=chunk-DILYWJVP.js.map
653
+ //# sourceMappingURL=chunk-HXFLHA5K.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2TFRR6JV.js";
4
4
  import {
5
5
  addDependencies
6
- } from "./chunk-JKGRQW6D.js";
6
+ } from "./chunk-5W7S2SCA.js";
7
7
  import {
8
8
  condenseNpmError
9
9
  } from "./chunk-ZFDZKNGG.js";
@@ -22,14 +22,14 @@ import {
22
22
  readInstalledManifest,
23
23
  readInstalledManifestState,
24
24
  requiredPeersOf
25
- } from "./chunk-H5FAYLCR.js";
25
+ } from "./chunk-SPLRKCFV.js";
26
26
  import {
27
27
  spinner,
28
28
  style,
29
29
  success,
30
30
  terminalText,
31
31
  warn
32
- } from "./chunk-D4VKPOD4.js";
32
+ } from "./chunk-GRXX2TOJ.js";
33
33
 
34
34
  // src/emit/toolchain-peers.ts
35
35
  async function addToolchainPeers(dir, pkg, rerun) {
@@ -108,4 +108,4 @@ function projectDeclaredRanges(manifest) {
108
108
  export {
109
109
  addToolchainPeers
110
110
  };
111
- //# sourceMappingURL=chunk-FLDFKG24.js.map
111
+ //# sourceMappingURL=chunk-IKXXTRMN.js.map
@@ -2,7 +2,7 @@ import {
2
2
  environmentKey,
3
3
  getEnvironment,
4
4
  readEphemeralState
5
- } from "./chunk-OBRMA2VK.js";
5
+ } from "./chunk-XY4OBD26.js";
6
6
  import {
7
7
  andList
8
8
  } from "./chunk-622HUCZT.js";
@@ -12,17 +12,17 @@ import {
12
12
  credentialFileFlagFor,
13
13
  credentialFileOf,
14
14
  recordedByEnvCredential
15
- } from "./chunk-A3CT26GX.js";
15
+ } from "./chunk-ZRXDPCMN.js";
16
16
  import {
17
17
  loginCommand,
18
18
  profileAddCommand,
19
19
  recordedCredentialPath,
20
20
  recordedProfileStored
21
- } from "./chunk-P5JF3U65.js";
21
+ } from "./chunk-WS4BA75E.js";
22
22
  import {
23
23
  findPointerFile,
24
24
  readPointerFile
25
- } from "./chunk-I2AVVARA.js";
25
+ } from "./chunk-ECQXASG3.js";
26
26
  import {
27
27
  DEFAULT_PROFILE
28
28
  } from "./chunk-MF4W6FHU.js";
@@ -33,7 +33,7 @@ import {
33
33
  CliError,
34
34
  EXIT_SOURCE_UNRESOLVABLE,
35
35
  UsageError
36
- } from "./chunk-D4VKPOD4.js";
36
+ } from "./chunk-GRXX2TOJ.js";
37
37
 
38
38
  // src/emit/env-target.ts
39
39
  var ENV_CREDENTIAL_NAMES = ["XANO_INSTANCE_URL", "XANO_WORKSPACE_ID", "XANO_META_TOKEN", "XANO_REFRESH_TOKEN", "XANO_CLIENT_ID"];
@@ -142,7 +142,7 @@ var SENDS_ELSEWHERE = /* @__PURE__ */ new WeakSet();
142
142
  async function reachableFirst(refusal, auth) {
143
143
  if (!(refusal instanceof Error) || !SENDS_ELSEWHERE.has(refusal)) return refusal;
144
144
  if (auth === void 0 || !("access_token" in auth)) return refusal;
145
- const { refuseUnreachableWorkspace } = await import("./workspace-binding-PR57NBGH.js");
145
+ const { refuseUnreachableWorkspace } = await import("./workspace-binding-3UT6PP4B.js");
146
146
  try {
147
147
  await refuseUnreachableWorkspace(auth);
148
148
  } catch (unreachable) {
@@ -167,4 +167,4 @@ export {
167
167
  otherCredentialRefusal,
168
168
  reachableFirst
169
169
  };
170
- //# sourceMappingURL=chunk-QWWQM4XZ.js.map
170
+ //# sourceMappingURL=chunk-JAYHFXWH.js.map
@@ -12,12 +12,12 @@ import {
12
12
  assertStoredName,
13
13
  buildMiddlewareBlock,
14
14
  encodeHistory
15
- } from "./chunk-F2NFNYCB.js";
15
+ } from "./chunk-6EFXPTHT.js";
16
16
  import {
17
17
  encodeTags,
18
18
  registerKind,
19
19
  resolveMockKeys
20
- } from "./chunk-VTMTIBKP.js";
20
+ } from "./chunk-74OPNM2Z.js";
21
21
  import {
22
22
  emitDiagnostic
23
23
  } from "./chunk-YEH5OIPF.js";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-UDZX2ZL4.js";
30
30
  import {
31
31
  encodeStack
32
- } from "./chunk-A2AOUBJS.js";
32
+ } from "./chunk-FKQX6KU7.js";
33
33
  import {
34
34
  encodeInput
35
35
  } from "./chunk-VIRFG3WG.js";
@@ -454,4 +454,4 @@ export {
454
454
  toSearchParams,
455
455
  query
456
456
  };
457
- //# sourceMappingURL=chunk-6LECAG3Y.js.map
457
+ //# sourceMappingURL=chunk-JWASCOHO.js.map