@xano/sdk 1.0.15 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +33 -37
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-ZRGNOA6Q.js → agent-file-refresh-DBHTEFYM.js} +12 -12
  5. package/dist/{agent-skill-command-DV26SDA2.js → agent-skill-command-LHNTU7MH.js} +74 -73
  6. package/dist/{answer-shape-AVZSKBR6.js → answer-shape-ZRQS7ZC4.js} +5 -5
  7. package/dist/{backend-dir-NTMXWE5R.js → backend-dir-AXR43HNV.js} +11 -11
  8. package/dist/{backend-slot-DZAUHLTS.js → backend-slot-7BATLL3X.js} +4 -4
  9. package/dist/bin.js +64 -63
  10. package/dist/{branch-IJTBZZFO.js → branch-SJKKUCMZ.js} +9 -9
  11. package/dist/branch-commands-KGR52SZU.js +80 -0
  12. package/dist/bundle.d.ts +2 -2
  13. package/dist/bundle.js +15 -69
  14. package/dist/{capture-GW5KNKMB.js → capture-RYBJE25P.js} +5 -5
  15. package/dist/{chunk-66ZU2CD5.js → chunk-23GEFHRX.js} +236 -17
  16. package/dist/{chunk-3H7R4ISR.js → chunk-2DUYJR5N.js} +2 -2
  17. package/dist/{chunk-MFWF2NZJ.js → chunk-2H5BQRHF.js} +2 -2
  18. package/dist/{chunk-O44MJTLR.js → chunk-35SI4GBM.js} +3 -3
  19. package/dist/{chunk-ZYECXDVV.js → chunk-3ZV23FVR.js} +5 -5
  20. package/dist/{chunk-N72XNQNJ.js → chunk-47XIVDJ6.js} +14 -14
  21. package/dist/{chunk-ICK36EGF.js → chunk-4EVDCSEY.js} +2 -2
  22. package/dist/{chunk-AXMUYBWQ.js → chunk-4XGZ325S.js} +3 -3
  23. package/dist/{chunk-P7GKTV7N.js → chunk-4XYXUK5H.js} +75 -32
  24. package/dist/{chunk-AE5CRAKS.js → chunk-4ZBXS7YN.js} +8 -8
  25. package/dist/{chunk-JWASCOHO.js → chunk-52QAENY6.js} +14 -14
  26. package/dist/{chunk-2LF734YB.js → chunk-54CJ74BH.js} +4 -4
  27. package/dist/{chunk-TT6LN55R.js → chunk-57PGTPT3.js} +8 -8
  28. package/dist/{chunk-IKXXTRMN.js → chunk-64UVVLDT.js} +4 -4
  29. package/dist/{chunk-EQXHUWUO.js → chunk-6FCAFWD5.js} +2 -2
  30. package/dist/{chunk-4MX5LMPQ.js → chunk-6ODQ5GDZ.js} +2 -2
  31. package/dist/{chunk-G4WRZU5T.js → chunk-74YCPI4G.js} +7 -7
  32. package/dist/{chunk-Y5XAPLZS.js → chunk-7UQZ7C4W.js} +4 -4
  33. package/dist/{chunk-CJDPSCMX.js → chunk-7ZVQIKNL.js} +3 -3
  34. package/dist/{chunk-RVAEPPRH.js → chunk-AICWDCLJ.js} +2 -2
  35. package/dist/{chunk-WS4BA75E.js → chunk-AJBOGO5U.js} +4 -4
  36. package/dist/{chunk-FOBVJ2UR.js → chunk-AJQFUJEQ.js} +8 -8
  37. package/dist/{chunk-DH6O5NQU.js → chunk-C7AYP4H6.js} +29 -20
  38. package/dist/{chunk-SXMZNSQ6.js → chunk-DJMGDCVX.js} +8 -8
  39. package/dist/{chunk-K6SWZ6H4.js → chunk-DLD4FVRP.js} +54 -54
  40. package/dist/{chunk-Q7DGTQ5G.js → chunk-E34VGSCI.js} +2 -1
  41. package/dist/{chunk-YR3MNGWZ.js → chunk-E5M5P23K.js} +8 -8
  42. package/dist/{chunk-HJZUI2ZU.js → chunk-EAZTRU75.js} +2 -2
  43. package/dist/{chunk-V7WCTXEH.js → chunk-EINZSVEU.js} +5 -5
  44. package/dist/{chunk-KMKUH2IO.js → chunk-EPB6FAR5.js} +5 -5
  45. package/dist/chunk-EUAU4QKI.js +67 -0
  46. package/dist/{chunk-IDOVZLPK.js → chunk-EXJ4Q5F6.js} +2 -2
  47. package/dist/{chunk-FKQX6KU7.js → chunk-F3JK5RIY.js} +2 -2
  48. package/dist/{chunk-W2QFR3ZJ.js → chunk-FIOC7RSU.js} +2 -2
  49. package/dist/{chunk-YEH5OIPF.js → chunk-FMXPV5JI.js} +39 -11
  50. package/dist/{chunk-GVHWIDEJ.js → chunk-FRJB3NTE.js} +10 -5
  51. package/dist/{chunk-VIRFG3WG.js → chunk-FTFAPKCW.js} +23 -7
  52. package/dist/{chunk-LL6ED5IB.js → chunk-FTS42N37.js} +2 -2
  53. package/dist/{chunk-MIS6F4HM.js → chunk-G2XSDIYS.js} +4 -4
  54. package/dist/{chunk-ZY55DO5P.js → chunk-G6BEJ3NA.js} +2 -2
  55. package/dist/{chunk-RYWNNJK5.js → chunk-GA6HTO3O.js} +2 -2
  56. package/dist/{chunk-JIKGT7DO.js → chunk-GE3JV5SI.js} +1 -1
  57. package/dist/{chunk-GCINMMFL.js → chunk-GJZMKMWO.js} +2 -2
  58. package/dist/{chunk-VXHXSGPU.js → chunk-GRZ62LLU.js} +8 -8
  59. package/dist/{chunk-6X73VFCX.js → chunk-GT7PZCTK.js} +2 -2
  60. package/dist/{chunk-SH4RY6QX.js → chunk-HXPQXCOZ.js} +1536 -413
  61. package/dist/{chunk-ECQXASG3.js → chunk-IFHFJR5O.js} +2 -2
  62. package/dist/{chunk-7ZQ73AHJ.js → chunk-IOWNQEMW.js} +31 -31
  63. package/dist/{chunk-YCKKL5PD.js → chunk-ISIZFK5Q.js} +53 -47
  64. package/dist/{chunk-HCNIB3EC.js → chunk-IUJDUFT7.js} +4 -4
  65. package/dist/{chunk-74OPNM2Z.js → chunk-JHAZK4RY.js} +3 -3
  66. package/dist/{chunk-OZWAITII.js → chunk-KGHJ74HF.js} +6 -6
  67. package/dist/{chunk-XLP4CNSF.js → chunk-L2O5KG5Q.js} +6 -6
  68. package/dist/{chunk-NNI5R6V6.js → chunk-L3Q2QYIQ.js} +72 -72
  69. package/dist/{chunk-UNFQN3TT.js → chunk-LLBEPJBO.js} +3 -3
  70. package/dist/{chunk-VUWR5YLE.js → chunk-LWBGPPI5.js} +13 -13
  71. package/dist/{chunk-RBTZEHXF.js → chunk-MBSHONP3.js} +3 -3
  72. package/dist/{chunk-GKQTXUOW.js → chunk-MOVRSULZ.js} +2 -2
  73. package/dist/{chunk-QAEBBTYR.js → chunk-MSYMEP7Y.js} +7 -7
  74. package/dist/{chunk-Y453TW6J.js → chunk-NCERS5QH.js} +2 -2
  75. package/dist/{chunk-HXFLHA5K.js → chunk-NH5Z2NOD.js} +2 -2
  76. package/dist/{chunk-T3HNISBN.js → chunk-NJVY3GAX.js} +3 -3
  77. package/dist/{chunk-ZF2CBXT5.js → chunk-NQPPUNWP.js} +3 -3
  78. package/dist/{chunk-5SKWGCAJ.js → chunk-O7Z3LF44.js} +5 -5
  79. package/dist/{chunk-ASQX477B.js → chunk-OLXYZQR7.js} +7 -7
  80. package/dist/{chunk-5SJQAJLF.js → chunk-OQNYZ2OM.js} +3 -3
  81. package/dist/{chunk-DBDTQR23.js → chunk-OTQF4B37.js} +4 -4
  82. package/dist/{chunk-GBSHHNSD.js → chunk-PRSNMSVG.js} +3 -3
  83. package/dist/{chunk-DGYXCIBV.js → chunk-Q6AKSLD2.js} +2 -2
  84. package/dist/{chunk-WXKSB2N3.js → chunk-Q7KXMIR3.js} +3 -3
  85. package/dist/{chunk-B6AFJVG4.js → chunk-QCVH32T2.js} +5 -5
  86. package/dist/{chunk-7FIMUFBP.js → chunk-QDPY7RN3.js} +3 -3
  87. package/dist/{chunk-MGG4CHO4.js → chunk-QIT2GGNB.js} +3 -3
  88. package/dist/{chunk-QW7NGUYW.js → chunk-QSJH5AFU.js} +244 -173
  89. package/dist/{chunk-3GZMP7II.js → chunk-R7DS2TRZ.js} +38 -22
  90. package/dist/{chunk-BEKEOXNG.js → chunk-RGPHFHJU.js} +2 -2
  91. package/dist/{chunk-5FJ4M4HB.js → chunk-RHH6SCB4.js} +17 -32
  92. package/dist/{chunk-M7O3T7IM.js → chunk-RIT3WBBX.js} +4 -4
  93. package/dist/{chunk-45K2QZBR.js → chunk-RKNCISPM.js} +3 -3
  94. package/dist/{chunk-NPYYDTXS.js → chunk-RKTVXFBV.js} +5 -5
  95. package/dist/{chunk-AXNX4NWN.js → chunk-RLQX6LHW.js} +37 -37
  96. package/dist/{chunk-FIERONKM.js → chunk-ROWYW3JF.js} +2 -2
  97. package/dist/{chunk-LSJ3SQEU.js → chunk-RVWWNNZQ.js} +4 -4
  98. package/dist/{chunk-A2N2C2WD.js → chunk-S7MVI4W7.js} +7 -7
  99. package/dist/{chunk-4MIV244X.js → chunk-SGEOXJIH.js} +9 -2
  100. package/dist/{chunk-QRMKQYCB.js → chunk-SINL5WMI.js} +2 -2
  101. package/dist/{chunk-Z6N5N4MN.js → chunk-SIW2HT2H.js} +21 -5
  102. package/dist/{chunk-IEDQT4Z3.js → chunk-SOAZIMWL.js} +12 -12
  103. package/dist/{chunk-R3GPRNBT.js → chunk-SVQMDVND.js} +87 -16
  104. package/dist/{chunk-45ZUMF4E.js → chunk-TPUAXIPR.js} +2 -2
  105. package/dist/{chunk-SL55XKVL.js → chunk-TXU34ELY.js} +25 -25
  106. package/dist/{chunk-GDJCWQIK.js → chunk-U4UAWGIT.js} +12 -8
  107. package/dist/{chunk-76SBT7KS.js → chunk-U56HK2RG.js} +7 -5
  108. package/dist/{chunk-RXNMZM6H.js → chunk-UDW2KAVF.js} +6 -6
  109. package/dist/{chunk-NDV6CBR7.js → chunk-UH5VQGNR.js} +2 -2
  110. package/dist/{chunk-75QC66XI.js → chunk-V2MIBJZU.js} +2 -2
  111. package/dist/{chunk-ZDVVIJPU.js → chunk-VAQPQXOI.js} +4 -4
  112. package/dist/{chunk-XPSDDTUZ.js → chunk-VCFRALU7.js} +3 -3
  113. package/dist/{chunk-5KJBWIDZ.js → chunk-VQDVEHDB.js} +2 -2
  114. package/dist/{chunk-6EFXPTHT.js → chunk-WAP5362D.js} +5 -5
  115. package/dist/{chunk-XY4OBD26.js → chunk-WGKKDGSA.js} +4 -4
  116. package/dist/{chunk-TXFOQZUQ.js → chunk-WVVUE7LU.js} +14 -7
  117. package/dist/{chunk-JAYHFXWH.js → chunk-WXQ7BHVQ.js} +7 -7
  118. package/dist/{chunk-7REDHC4N.js → chunk-X5NF3ZXW.js} +69 -14
  119. package/dist/{chunk-5W7S2SCA.js → chunk-XAE4NIZ2.js} +4 -4
  120. package/dist/{chunk-SPLRKCFV.js → chunk-XDGLYIB2.js} +2 -2
  121. package/dist/{chunk-7AKH4QDJ.js → chunk-XKMZYU5B.js} +96 -65
  122. package/dist/{chunk-UVHSMANV.js → chunk-Y3RH35KM.js} +47 -47
  123. package/dist/{chunk-GIQIMWTK.js → chunk-YHT7TDSH.js} +14 -14
  124. package/dist/{chunk-FXZEZAV2.js → chunk-YJXJOMXW.js} +3 -3
  125. package/dist/{chunk-ZPJXWMHK.js → chunk-YPLHVRMS.js} +4 -4
  126. package/dist/{chunk-WS2X5BB2.js → chunk-YYBBJPCL.js} +5 -5
  127. package/dist/{chunk-ZOHEHIFS.js → chunk-YYDM4DNP.js} +2 -2
  128. package/dist/{chunk-ZC6H2ERE.js → chunk-ZF4LCHCT.js} +5 -5
  129. package/dist/{chunk-GRXX2TOJ.js → chunk-ZHFSIQ6E.js} +2 -2
  130. package/dist/{chunk-SHHXLI2K.js → chunk-ZJQFKBX7.js} +7 -7
  131. package/dist/{chunk-ZRXDPCMN.js → chunk-ZYZ7GRX3.js} +2 -2
  132. package/dist/{chunk-CJGLAQRD.js → chunk-ZZC5VSLP.js} +4 -4
  133. package/dist/cli.d.ts +3 -3
  134. package/dist/cli.js +62 -61
  135. package/dist/codegen-command-NAY6YAOD.js +183 -0
  136. package/dist/codegen.d.ts +3 -3
  137. package/dist/codegen.js +5 -5
  138. package/dist/{commands-5ILSWDSV.js → commands-Z2QZOORB.js} +3 -3
  139. package/dist/{completion-UNKBVVDT.js → completion-LFXXNQGR.js} +3 -3
  140. package/dist/{config-NTOASFCA.js → config-7GGINOFY.js} +4 -4
  141. package/dist/{deploy-command-BYAZZF37.js → deploy-command-PBM3S4ZL.js} +69 -68
  142. package/dist/{deploy-source-QCPZWNJO.js → deploy-source-JW7DAN75.js} +32 -32
  143. package/dist/{dev-env-sync-6MHK3UHC.js → dev-env-sync-FHJTFH3V.js} +63 -62
  144. package/dist/{diagnostics-FNVNRYMB.js → diagnostics-T3RN3372.js} +2 -2
  145. package/dist/{display-name-hint-MYXCCAOP.js → display-name-hint-5GLJGPQ6.js} +11 -11
  146. package/dist/{emit-YLt3GfsZ.d.ts → emit-t-gDE1BL.d.ts} +181 -93
  147. package/dist/env-example-refresh-HHEGMFNH.js +136 -0
  148. package/dist/{env-pull-command-KUIEKBTM.js → env-pull-command-FFPNRVWD.js} +52 -52
  149. package/dist/{env-target-Y77RLRS5.js → env-target-XHVRZXHX.js} +14 -14
  150. package/dist/{env-var-command-BZWJD75C.js → env-var-command-DJS62YRR.js} +41 -41
  151. package/dist/{ephemeral-VLPRDNEJ.js → ephemeral-2DXWP3VK.js} +9 -9
  152. package/dist/{ephemeral-command-SYKDPALW.js → ephemeral-command-VLQIQ5TS.js} +52 -52
  153. package/dist/{ephemeral-state-RUOU2GFS.js → ephemeral-state-56XEDUJW.js} +12 -12
  154. package/dist/{generate-command-CSQDQZSW.js → generate-command-PSDIIOTU.js} +89 -88
  155. package/dist/{gitignore-OQGYM7DO.js → gitignore-PMJ6MFNA.js} +15 -15
  156. package/dist/{guards-JUYBDLZY.js → guards-YICHJKX3.js} +51 -15
  157. package/dist/{impersonate-command-HSFCZBV6.js → impersonate-command-IKV4KUYA.js} +37 -37
  158. package/dist/{import-T4ZTOTBT.js → import-VJQGIS33.js} +5 -5
  159. package/dist/index.d.ts +552 -117
  160. package/dist/index.js +29 -28
  161. package/dist/init-command-LEQIE6GC.js +143 -0
  162. package/dist/{init-modules-BL2SR5RK.js → init-modules-G47Q7ABV.js} +8 -8
  163. package/dist/{init-web-DYE2FEXL.js → init-web-25QJ4JWB.js} +3 -3
  164. package/dist/internal.d.ts +55 -8
  165. package/dist/internal.js +692 -503
  166. package/dist/{io-PGTCBSIQ.js → io-47TFRYDB.js} +6 -6
  167. package/dist/{keep-data-merge-SHF75FC7.js → keep-data-merge-XCPCX7BZ.js} +38 -38
  168. package/dist/{lambda-config-reconcile-VOBVZPWS.js → lambda-config-reconcile-CC5QIP6E.js} +3 -3
  169. package/dist/{landed-F7PCHGCK.js → landed-VIUFHLCJ.js} +5 -5
  170. package/dist/{landing-record-7EOLEKH3.js → landing-record-JQ7HZDGI.js} +22 -22
  171. package/dist/{live-diff-M2OLXKM6.js → live-diff-KJ2TWWWT.js} +14 -14
  172. package/dist/{local-engine-choice-TOC3UYZZ.js → local-engine-choice-DFAMYOIF.js} +35 -35
  173. package/dist/{local-engine-command-6KSRDZBR.js → local-engine-command-5RP2J5QZ.js} +40 -40
  174. package/dist/{local-engine-deploy-4N4NFZ4T.js → local-engine-deploy-XAEDT55W.js} +12 -12
  175. package/dist/{local-engine-lookup-AQTUGSBT.js → local-engine-lookup-WBYTY2JE.js} +2 -2
  176. package/dist/{local-engine-mcp-bridge-AMYRH4SY.js → local-engine-mcp-bridge-3H5OXBWQ.js} +5 -5
  177. package/dist/{local-engine-mcp-command-XTP3EATV.js → local-engine-mcp-command-JSYVVZKK.js} +42 -42
  178. package/dist/{local-engine-process-OD5OSWDG.js → local-engine-process-35B2KQED.js} +7 -7
  179. package/dist/{local-engine-update-check-G3YCBXRE.js → local-engine-update-check-VXJZSIJU.js} +5 -5
  180. package/dist/{lock-HDCHD2ON.js → lock-JBKTDEDO.js} +4 -4
  181. package/dist/{lock-commands-437P6BHY.js → lock-commands-7VO6YWOV.js} +67 -66
  182. package/dist/{login-command-BNRDAVFV.js → login-command-WTZUBCW6.js} +27 -27
  183. package/dist/{logout-command-FCGCHB7Y.js → logout-command-5BJUNK3C.js} +17 -17
  184. package/dist/{loop-WOAEXMTC.js → loop-HILLODVH.js} +15 -15
  185. package/dist/{marketplace-command-SUBJZPJV.js → marketplace-command-NMOH4XOV.js} +30 -30
  186. package/dist/{marketplace-resolve-JR4BBJ6K.js → marketplace-resolve-63QWMQZU.js} +6 -6
  187. package/dist/{meta-client-AYJS3RQ3.js → meta-client-MRAMWUKV.js} +15 -15
  188. package/dist/{module-manifest-63I5GRK4.js → module-manifest-NWJWAQLQ.js} +4 -4
  189. package/dist/node.d.ts +8 -8
  190. package/dist/node.js +71 -70
  191. package/dist/{operation-outcome-ORQPVJKB.js → operation-outcome-WK7UW6PJ.js} +24 -24
  192. package/dist/{output-target-KNHHNDM3.js → output-target-5PYRCCK4.js} +16 -16
  193. package/dist/{plan-disclosure-4DUFRGCP.js → plan-disclosure-6MG4YYJV.js} +28 -28
  194. package/dist/{plugin-contributions-YYEP7IWH.js → plugin-contributions-DD6R6RL6.js} +5 -5
  195. package/dist/{plugin-prompt-GKCQKNYI.js → plugin-prompt-UX2TT5NS.js} +5 -5
  196. package/dist/{plugin-questions-P7MA3TYI.js → plugin-questions-WE2F4ZC4.js} +4 -4
  197. package/dist/{preflight-command-32GFVKSN.js → preflight-command-3BX2WW3S.js} +75 -74
  198. package/dist/{profile-command-U2XTKOMF.js → profile-command-GSUX3UMB.js} +28 -28
  199. package/dist/{profile-pointer-JJ7K5O2R.js → profile-pointer-RCPHVTJV.js} +4 -4
  200. package/dist/{project-dependency-X3KCWBK5.js → project-dependency-TPVV3YIX.js} +7 -7
  201. package/dist/{project-sdk-YHJZRCNB.js → project-sdk-DKZBK5H5.js} +4 -4
  202. package/dist/promote-command-3LQTXWCD.js +149 -0
  203. package/dist/{prompt-QNMJIWNI.js → prompt-OYQHQWKI.js} +4 -4
  204. package/dist/{publish-command-5ZVZ6IYT.js → publish-command-3BQCV4NE.js} +72 -71
  205. package/dist/pull-command-B7OVWTZD.js +171 -0
  206. package/dist/{pull-superseded-6HADGGC5.js → pull-superseded-3SSM3JFT.js} +4 -4
  207. package/dist/{raw-where-gWGr-E4t.d.ts → raw-where-CinW0keO.d.ts} +32 -4
  208. package/dist/release-command-XSDICMJE.js +153 -0
  209. package/dist/{release-ns-command-LDN5DOKQ.js → release-ns-command-EVAHK4CU.js} +96 -95
  210. package/dist/{retry-command-LFZYEVRU.js → retry-command-WP4ZI6CJ.js} +8 -8
  211. package/dist/{routes-manifest-BMAOL6WN.js → routes-manifest-N73THJB3.js} +16 -16
  212. package/dist/routes-manifest-file-LDUDIVFJ.js +41 -0
  213. package/dist/scaffold.js +2 -2
  214. package/dist/{secrets-file-7QM3ORGX.js → secrets-file-7XWR7HW3.js} +15 -15
  215. package/dist/{secrets-fill-command-OZ537VOD.js → secrets-fill-command-NKCGC75L.js} +66 -65
  216. package/dist/{seed-ATGBOEJP.js → seed-YKTZDS2Q.js} +13 -13
  217. package/dist/{source-resolve-QYSWA3QR.js → source-resolve-CQGDFQQC.js} +22 -22
  218. package/dist/{static-host-MO4VDHL7.js → static-host-3HPZKVKK.js} +5 -5
  219. package/dist/{status-command-IEB4K7ME.js → status-command-TBMQ3GJP.js} +38 -38
  220. package/dist/{store-AJX4MC7Y.js → store-B63BQV6R.js} +6 -6
  221. package/dist/{store-DspGMsFY.d.ts → store-in7gSpMS.d.ts} +185 -11
  222. package/dist/sync-baseline-GRS33AB5.js +38 -0
  223. package/dist/{sync-contributions-DLV5JZUK.js → sync-contributions-RKPLZPPO.js} +9 -9
  224. package/dist/{sync-record-NE62ERA3.js → sync-record-AWFCSS4D.js} +15 -15
  225. package/dist/{table-TFD4ZQXA.js → table-ONGT3JGE.js} +12 -12
  226. package/dist/{tables-command-IMCVPUFY.js → tables-command-UYQ277TJ.js} +41 -41
  227. package/dist/{tenant-IIYECNWO.js → tenant-IXIW3FOI.js} +10 -10
  228. package/dist/{tenant-command-77KG76MU.js → tenant-command-7LWZUK2V.js} +104 -103
  229. package/dist/{test-command-NSPU4RUO.js → test-command-7KTT5EAF.js} +56 -45
  230. package/dist/{tests-JWQRHFCT.js → tests-N4MMBABH.js} +6 -6
  231. package/dist/{token-BDHD7GU3.js → token-3TCMW2AP.js} +13 -13
  232. package/dist/{toolchain-hooks-QHJRDCRW.js → toolchain-hooks-IJWV3ZQS.js} +18 -18
  233. package/dist/{toolchain-modules-LY7BMYG6.js → toolchain-modules-PBVBCPQJ.js} +5 -5
  234. package/dist/{toolchain-peers-FQJBTKEB.js → toolchain-peers-EMOYN4U7.js} +8 -8
  235. package/dist/{tracked-backend-BIR7YJCE.js → tracked-backend-YDUUQZQF.js} +34 -34
  236. package/dist/update-check-C6KDFGMT.js +141 -0
  237. package/dist/{upgrade-command-YCADQCIA.js → upgrade-command-ZSBTSMBR.js} +68 -67
  238. package/dist/{whoami-command-IZCTUPM4.js → whoami-command-L6ERHR5K.js} +16 -16
  239. package/dist/{workspace-TK52V7WO.js → workspace-5DPSDM4A.js} +5 -5
  240. package/dist/{workspace-binding-3UT6PP4B.js → workspace-binding-MVOWGNYW.js} +15 -15
  241. package/dist/{workspace-command-46OCB6XT.js → workspace-command-PKQ5TDR7.js} +100 -99
  242. package/dist/{workspace-env-PVPOWFNZ.js → workspace-env-UZJZUIYV.js} +18 -12
  243. package/dist/{workspace-export-PUEXKZNS.js → workspace-export-3KMWNZDD.js} +5 -5
  244. package/dist/{writable-LMMG4AFZ.js → writable-X7BCN7XE.js} +4 -4
  245. package/dist/xano-YB6Y2IJS.js +44 -0
  246. package/dist/{xanosdk-import-XXJT365U.js → xanosdk-import-HHMQDK2I.js} +10 -10
  247. package/dist/{xanosdk-project-CJKRLQ6U.js → xanosdk-project-CKEUNJU4.js} +13 -13
  248. package/dist/{xdo-D4OwfF2J.d.ts → xdo-DNGZGO1j.d.ts} +50 -12
  249. package/guides/authoring.md +1 -0
  250. package/guides/codes.md +33 -3
  251. package/guides/coverage.md +2 -2
  252. package/guides/object-kinds.md +1 -1
  253. package/guides/typed-frontend.md +9 -0
  254. package/llms/client.md +54 -36
  255. package/llms/errors.md +26 -6
  256. package/llms/fields.md +53 -30
  257. package/llms/filters.md +55 -46
  258. package/llms/kinds-agent-mcp.md +10 -9
  259. package/llms/kinds-core.md +19 -15
  260. package/llms/kinds-knowledge.md +4 -4
  261. package/llms/kinds-realtime.md +25 -23
  262. package/llms/lambda.md +42 -30
  263. package/llms/legacy.md +6 -7
  264. package/llms/lock.md +21 -17
  265. package/llms/object-kinds.md +9 -11
  266. package/llms/statements-calls.md +41 -20
  267. package/llms/statements-catalog.md +32 -25
  268. package/llms/statements-data.md +35 -25
  269. package/llms/statements-runtime.md +28 -18
  270. package/llms/tests.md +20 -7
  271. package/llms/toolchain.md +12 -9
  272. package/llms/triggers.md +14 -18
  273. package/llms/values.md +16 -9
  274. package/llms-full.txt +643 -503
  275. package/llms.txt +120 -137
  276. package/manifest.json +147 -95
  277. package/package.json +1 -1
  278. package/skills/xano-backend/SKILL.md +10 -12
  279. package/types/lambda-globals.d.ts +6 -1
  280. package/dist/branch-commands-4PJEBNRK.js +0 -80
  281. package/dist/codegen-command-RDD4GL35.js +0 -182
  282. package/dist/env-example-refresh-MQWHY7ZS.js +0 -135
  283. package/dist/init-command-6Z7QNVDY.js +0 -142
  284. package/dist/promote-command-OO56IZBT.js +0 -148
  285. package/dist/pull-command-LT5PCEIW.js +0 -170
  286. package/dist/release-command-RBUOXIH7.js +0 -152
  287. package/dist/routes-manifest-file-MPOVKD6N.js +0 -41
  288. package/dist/sync-baseline-IB7MABZO.js +0 -38
  289. package/dist/update-check-JDARCXAX.js +0 -140
  290. package/dist/xano-EOUVXNQX.js +0 -43
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  backendDirFor,
3
3
  backendDirIn
4
- } from "./chunk-FXZEZAV2.js";
4
+ } from "./chunk-YJXJOMXW.js";
5
5
  import {
6
6
  XANO_DIR
7
- } from "./chunk-YCKKL5PD.js";
7
+ } from "./chunk-ISIZFK5Q.js";
8
8
  import {
9
9
  projectRootFrom
10
10
  } from "./chunk-HU7F56VF.js";
@@ -12,7 +12,7 @@ import {
12
12
  LocalFileNotFoundError,
13
13
  UsageError,
14
14
  displayPath
15
- } from "./chunk-GRXX2TOJ.js";
15
+ } from "./chunk-ZHFSIQ6E.js";
16
16
  import {
17
17
  isRepresentableName
18
18
  } from "./chunk-GSGDWJB5.js";
@@ -42,15 +42,11 @@ function isRepresentableValue(value) {
42
42
  return valueProblem(value) === void 0;
43
43
  }
44
44
  function valueProblem(value) {
45
- if (/[\n\r]/.test(value)) return "newline";
46
- if (value !== value.trim()) return "edge-whitespace";
47
- return isQuoted(value) ? "quoted" : void 0;
48
- }
49
- var VALUE_PROBLEM_WORDS = {
50
- newline: "carries a newline",
51
- "edge-whitespace": "has leading or trailing whitespace",
52
- quoted: "is wrapped in a matching quote pair that reading the file would strip"
53
- };
45
+ return /[\n\r]/.test(value) ? "newline" : void 0;
46
+ }
47
+ function envFileValue(value) {
48
+ return value === "" || value !== value.trim() || isQuoted(value) ? `"${value}"` : value;
49
+ }
54
50
  function isQuoted(value) {
55
51
  const quote = value[0];
56
52
  return (quote === '"' || quote === "'") && value.length > 1 && value.endsWith(quote);
@@ -69,6 +65,9 @@ function classifyEnv(args) {
69
65
  };
70
66
  }
71
67
  function parseEnvFile(path, label = "--backend-env-file") {
68
+ return readEnvFile(path, label).values;
69
+ }
70
+ function readEnvFile(path, label = "--backend-env-file") {
72
71
  let source;
73
72
  try {
74
73
  source = readFileSync(path, "utf8");
@@ -79,6 +78,8 @@ function parseEnvFile(path, label = "--backend-env-file") {
79
78
  );
80
79
  }
81
80
  const out = /* @__PURE__ */ Object.create(null);
81
+ const bare = /* @__PURE__ */ new Set();
82
+ const hash = /* @__PURE__ */ new Set();
82
83
  for (const [n, raw] of source.split("\n").entries()) {
83
84
  const line = raw.trim();
84
85
  if (line === "" || line.startsWith("#")) continue;
@@ -91,14 +92,21 @@ function parseEnvFile(path, label = "--backend-env-file") {
91
92
  }
92
93
  const key = body.slice(0, eq).trim();
93
94
  let value = body.slice(eq + 1).trim();
95
+ if (value === "") bare.add(key);
96
+ else bare.delete(key);
97
+ if (!isQuoted(value) && /\s#/.test(value)) hash.add(key);
98
+ else hash.delete(key);
94
99
  if (isQuoted(value)) value = value.slice(1, -1);
95
100
  out[key] = value;
96
101
  }
97
- return out;
102
+ return { values: out, bareEmpty: [...bare], inlineHash: [...hash] };
98
103
  }
99
104
  function readWorkspaceEnvFile(path) {
105
+ return readWorkspaceEnvFileContents(path)?.values;
106
+ }
107
+ function readWorkspaceEnvFileContents(path) {
100
108
  if (!existsSync(path)) return void 0;
101
- return parseEnvFile(path, WORKSPACE_ENV_FILE);
109
+ return readEnvFile(path, WORKSPACE_ENV_FILE);
102
110
  }
103
111
  function commentSafe(name) {
104
112
  return name.replace(/[\u0000-\u001F\u007F]/g, "?");
@@ -164,17 +172,22 @@ function renderWorkspaceEnvExample(names, backendDir = XANO_DIR) {
164
172
  `;
165
173
  }
166
174
  const lines = names.map(
167
- ({ name, representable, problem }) => representable ? `# ${commentSafe(name)}=` : problem === "name" ? (
175
+ ({ name, representable }) => representable ? `# ${commentSafe(name)}=` : (
168
176
  // No `NAME=` shape: the line must not parse back as a declared name, and
169
177
  // no flag can supply a name `--env-var` refuses.
170
178
  `# "${commentSafe(name)}" (not a usable env var name \u2014 letters, digits and _, not starting
171
179
  # with a digit \u2014 so no file or flag can supply it. Rename it in \`workspaceConfig({ env })\`.)`
172
- ) : `# ${commentSafe(name)}= (this value cannot be written here \u2014 it ${VALUE_PROBLEM_WORDS[problem ?? "newline"]},
173
- # so the dotenv format cannot carry it. Pass it with
174
- # \`--env-var ${commentSafe(name)}=...\` instead.)`
180
+ )
175
181
  );
176
182
  return `${header}#
177
- # One line per declared name. Uncomment and fill in the ones you need.
183
+ # One line per declared name. Uncomment and fill in the ones you need. A deploy
184
+ # refuses a line left as \`NAME=\`, because it would clear the live value. Write
185
+ # \`NAME=""\` to send a name empty on purpose.
186
+ #
187
+ # One \`KEY=VALUE\` per line. Everything after the \`=\` is the value, a \`#\`
188
+ # included (only a line that STARTS with \`#\` is a comment), and one pair of
189
+ # matching quotes around it is stripped. Nothing is interpolated or unescaped:
190
+ # \`\\n\` stays two characters, and a value cannot span lines.
178
191
 
179
192
  ${lines.join("\n")}
180
193
  `;
@@ -193,7 +206,7 @@ function renderWorkspaceEnvFile(values, provenance, backendDir = XANO_DIR, examp
193
206
  const omitted = [];
194
207
  const lines = [];
195
208
  for (const [name, value] of Object.entries(values)) {
196
- if (isRepresentableName(name) && isRepresentableValue(value)) lines.push(`${name}=${value}`);
209
+ if (isRepresentableName(name) && isRepresentableValue(value)) lines.push(`${name}=${envFileValue(value)}`);
197
210
  else omitted.push(name);
198
211
  }
199
212
  const badNames = omitted.filter((n) => !isRepresentableName(n));
@@ -209,7 +222,7 @@ ${// A NAME no env var can have is said as the name's fault: blaming its value
209
222
  // ("no newlines or edge whitespace") sent the reader to a value that was fine.
210
223
  badValues.length === 0 ? "" : `#
211
224
  # NOT written, because the dotenv format cannot carry ${badValues.length === 1 ? "its value" : "their values"}
212
- # (a newline, edge whitespace, or a wrapping quote pair): ${badValues.map(commentSafe).join(", ")}.
225
+ # (a newline): ${badValues.map(commentSafe).join(", ")}.
213
226
  # Pass ${badValues.length === 1 ? "it" : "each"} at deploy time with \`--env-var NAME=...\` instead.
214
227
  `}${badNames.length === 0 ? "" : `#
215
228
  # NOT written, because ${badNames.length === 1 ? "it is not a usable env var name" : "they are not usable env var names"}
@@ -235,11 +248,14 @@ export {
235
248
  declaredEnv,
236
249
  isRepresentable,
237
250
  valueProblem,
251
+ envFileValue,
238
252
  classifyEnv,
239
253
  parseEnvFile,
254
+ readEnvFile,
240
255
  readWorkspaceEnvFile,
256
+ readWorkspaceEnvFileContents,
241
257
  renderWorkspaceEnvExample,
242
258
  namesInEnvExample,
243
259
  renderWorkspaceEnvFile
244
260
  };
245
- //# sourceMappingURL=chunk-3GZMP7II.js.map
261
+ //# sourceMappingURL=chunk-R7DS2TRZ.js.map
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  pastePath,
7
7
  warn
8
- } from "./chunk-GRXX2TOJ.js";
8
+ } from "./chunk-ZHFSIQ6E.js";
9
9
  import {
10
10
  shellQuote
11
11
  } from "./chunk-5ZSO4T2G.js";
@@ -103,4 +103,4 @@ export {
103
103
  replacedRegistrations,
104
104
  reportSuperseded
105
105
  };
106
- //# sourceMappingURL=chunk-BEKEOXNG.js.map
106
+ //# sourceMappingURL=chunk-RGPHFHJU.js.map
@@ -995,14 +995,11 @@ The backend lives in [\`index.ts\`](index.ts) and is a single default-exported
995
995
 
996
996
  ## Learn the library from the library
997
997
 
998
- Everything you need is in the package itself:
999
-
1000
- - \`node_modules/@xano/sdk/llms.txt\` \u2014 the router: the mental model, the deploy contract, every gotcha, and control flow. Read it in full first; it ends with a list of topic files and the condition for opening each.
1001
- - \`node_modules/@xano/sdk/llms/*.md\` \u2014 one file per surface. Open the one or two whose condition matches the task; skip the rest.
1002
- - The published TypeScript types and JSDoc (\`node_modules/@xano/sdk/**/*.d.ts\`).
1003
- - \`node_modules/@xano/sdk/manifest.json\` \u2014 the exhaustive reference; grep or \`jq\` the one entry you need rather than reading it whole.
1004
-
1005
- Author against those signatures \u2014 don't invent an API that isn't there.
998
+ Read \`node_modules/@xano/sdk/llms.txt\` in full first; it ends with the topic files
999
+ (\`node_modules/@xano/sdk/llms/*.md\`) and the condition for opening each. Author against
1000
+ the published types (\`node_modules/@xano/sdk/**/*.d.ts\`), and grep
1001
+ \`node_modules/@xano/sdk/manifest.json\` for one entry's full detail. Don't invent an API
1002
+ that isn't there.
1006
1003
 
1007
1004
  ## The shape
1008
1005
 
@@ -1043,35 +1040,21 @@ xano/
1043
1040
 
1044
1041
  ## Testing
1045
1042
 
1046
- Two kinds of test are authored in \`xano/\` alongside the objects they cover, and
1047
- both run against a DEPLOYED environment:
1048
-
1049
- - **Unit test** \u2014 \`tests: [...]\` on a \`query\`, \`defineFunction\`, or
1050
- \`middleware\`. Each entry is a named set of inputs run against that object, with
1051
- \`expect.*\` assertions on its response. A statement's \`mock\` (keyed by test
1052
- NAME) makes one step return a value instead of doing its work, but only while
1053
- that test runs.
1054
- - **Workflow test** \u2014 \`workflowTest({ name, stack })\`, a standalone object whose
1055
- stack calls others (\`s.function.call\`, \`s.api.call\`) and asserts with
1056
- \`s.expect.*\`. Use it for behavior that spans objects.
1057
-
1058
- \`expect.*\` and \`s.expect.*\` are different builders \u2014 an assertion record versus
1059
- a workflow-test statement \u2014 and are not interchangeable.
1043
+ Unit tests (\`tests: [...]\` on a query, function or middleware, asserting with \`expect.*\`)
1044
+ and workflow tests (\`workflowTest({ name, stack })\`, asserting with \`s.expect.*\`) both
1045
+ run against what is DEPLOYED:
1060
1046
 
1061
1047
  \`\`\`bash
1062
- npm run xano:deploy # tests run against what is deployed, so deploy first
1048
+ npm run xano:deploy # deploy first
1063
1049
  npm run xano:test # runs both kinds; exits 5 if any fail
1064
1050
  \`\`\`
1065
1051
 
1066
- \`npx @xano/sdk deploy ./xano/index.ts --test\` does both in one step, and
1067
- \`npx @xano/sdk test list\` shows what a deployed environment carries without running
1068
- anything. Read \`node_modules/@xano/sdk/llms/tests.md\` before authoring either
1069
- kind.
1052
+ Read \`node_modules/@xano/sdk/llms/tests.md\` before authoring either kind.
1070
1053
 
1071
1054
  ### Event-driven objects
1072
1055
 
1073
- A scheduled \`task\`, an \`mcpServer\`, and every trigger **fire normally on an
1074
- ephemeral** \u2014 where \`deploy\` sends them \u2014 so test them by deploying and letting
1056
+ A scheduled \`task\`, an \`mcpServer\`, and every trigger **run once deployed**,
1057
+ on the Xano Engine and an ephemeral alike \u2014 test them by deploying and letting
1075
1058
  them run.
1076
1059
 
1077
1060
  ## Wire the frontend
@@ -1147,8 +1130,10 @@ Every command that compiles a bundle reads \`xano/.env\` with no flag. It and
1147
1130
  the two files under \`xano/\` that are not committed. The source beside them is meant to
1148
1131
  be reviewed, so never ignore \`xano/\` wholesale.
1149
1132
 
1150
- A deploy REPLACES the backend's env set, so a declared name with no value refuses the
1151
- deploy rather than clearing the live value. In CI, which does not have this file, mount
1133
+ \`npm run xano:deploy\` keeps rows AND live env values (\`--keep-data\`): after editing a
1134
+ value, apply it with \`printf %s "$VALUE" | npx @xano/sdk env set NAME\`. A deploy that
1135
+ REPLACES the env set (no \`--keep-data\`, or a backend the merge cannot vouch for) refuses a
1136
+ declared name with no value rather than clearing the live value. In CI, which does not have this file, mount
1152
1137
  one and pass \`--backend-env-file <path>\`, or supply names with \`--env-var KEY=VALUE\`.
1153
1138
 
1154
1139
  \`workspace.json\` is a different matter: a compiled bundle carries these values in
@@ -2002,4 +1987,4 @@ export {
2002
1987
  renderCnUtil,
2003
1988
  renderApiTs
2004
1989
  };
2005
- //# sourceMappingURL=chunk-5FJ4M4HB.js.map
1990
+ //# sourceMappingURL=chunk-RHH6SCB4.js.map
@@ -3,12 +3,12 @@ import {
3
3
  DEFAULT_PREFERENCES,
4
4
  DEFAULT_SETTINGS,
5
5
  LEGACY_REALTIME
6
- } from "./chunk-NPYYDTXS.js";
6
+ } from "./chunk-RKTVXFBV.js";
7
7
  import {
8
8
  identityNamesByGuid,
9
9
  lockNameForObject,
10
10
  sdkKindName
11
- } from "./chunk-5KJBWIDZ.js";
11
+ } from "./chunk-VQDVEHDB.js";
12
12
  import {
13
13
  HOSTED_ICON_KINDS,
14
14
  isPrivateLibraryRow
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  deepEqual,
18
18
  normalize
19
- } from "./chunk-W2QFR3ZJ.js";
19
+ } from "./chunk-FIOC7RSU.js";
20
20
 
21
21
  // src/codegen/omissions.ts
22
22
  function omissionSeverity(reason) {
@@ -1087,4 +1087,4 @@ export {
1087
1087
  canonicalRow,
1088
1088
  compareToLive
1089
1089
  };
1090
- //# sourceMappingURL=chunk-M7O3T7IM.js.map
1090
+ //# sourceMappingURL=chunk-RIT3WBBX.js.map
@@ -5,14 +5,14 @@ import {
5
5
  hostLabel,
6
6
  questionSets,
7
7
  resolvePluginAnswers
8
- } from "./chunk-FIERONKM.js";
8
+ } from "./chunk-ROWYW3JF.js";
9
9
  import {
10
10
  gitattributesSpec
11
11
  } from "./chunk-LJM5CIY4.js";
12
12
  import {
13
13
  UsageError,
14
14
  warn
15
- } from "./chunk-GRXX2TOJ.js";
15
+ } from "./chunk-ZHFSIQ6E.js";
16
16
  import {
17
17
  withArticle
18
18
  } from "./chunk-36JUQZVQ.js";
@@ -221,4 +221,4 @@ export {
221
221
  contributionOutcomes,
222
222
  resolveContributions
223
223
  };
224
- //# sourceMappingURL=chunk-45K2QZBR.js.map
224
+ //# sourceMappingURL=chunk-RKNCISPM.js.map
@@ -2,23 +2,23 @@ import {
2
2
  assertCanonical,
3
3
  buildWorkspaceHistory,
4
4
  encodeMiddlewareList
5
- } from "./chunk-6EFXPTHT.js";
5
+ } from "./chunk-WAP5362D.js";
6
6
  import {
7
7
  brandDef
8
8
  } from "./chunk-ERVIASGL.js";
9
9
  import {
10
10
  registerKind
11
- } from "./chunk-74OPNM2Z.js";
11
+ } from "./chunk-JHAZK4RY.js";
12
12
  import {
13
13
  findNonJson,
14
14
  nonJsonMessage
15
15
  } from "./chunk-H2V3N23D.js";
16
16
  import {
17
17
  env
18
- } from "./chunk-Z6N5N4MN.js";
18
+ } from "./chunk-SIW2HT2H.js";
19
19
  import {
20
20
  describeEntry
21
- } from "./chunk-4MIV244X.js";
21
+ } from "./chunk-SGEOXJIH.js";
22
22
 
23
23
  // src/kinds/workspace-config.ts
24
24
  var LEGACY_REALTIME = {
@@ -174,4 +174,4 @@ export {
174
174
  workspaceConfig,
175
175
  typedEnv
176
176
  };
177
- //# sourceMappingURL=chunk-NPYYDTXS.js.map
177
+ //# sourceMappingURL=chunk-RKTVXFBV.js.map