@xano/sdk 1.0.4 → 1.0.6

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 (280) hide show
  1. package/CHANGELOG.md +32 -5
  2. package/README.md +250 -342
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/agent-file-refresh-67QIX45H.js +39 -0
  5. package/dist/{answer-shape-LVV2SVBK.js → answer-shape-UCDUKPAN.js} +6 -6
  6. package/dist/{backend-dir-WZADOK3L.js → backend-dir-3LIL6SCT.js} +16 -15
  7. package/dist/{backend-slot-NSCTWCUX.js → backend-slot-JREP27UD.js} +4 -4
  8. package/dist/bin.js +59 -58
  9. package/dist/{branch-ONWPJ4V6.js → branch-2IPHOAYS.js} +10 -10
  10. package/dist/{branch-commands-ZT2MJIRS.js → branch-commands-KTKAXBAN.js} +31 -32
  11. package/dist/bundle.js +9 -39
  12. package/dist/{capture-3JNUA6C2.js → capture-GW5KNKMB.js} +4 -4
  13. package/dist/{chunk-FPBGAT5D.js → chunk-26MOFAJT.js} +3 -3
  14. package/dist/{chunk-O7QOWS6M.js → chunk-2FLIJGBZ.js} +12 -12
  15. package/dist/{chunk-QAEQGT5I.js → chunk-2WBH5HUY.js} +7 -7
  16. package/dist/{chunk-37AHZ7JX.js → chunk-3BBIDW3Y.js} +6 -6
  17. package/dist/{chunk-DGWHAVRG.js → chunk-3EDSPMXN.js} +12 -1
  18. package/dist/{chunk-2AUV6NXK.js → chunk-3II44CUJ.js} +36 -36
  19. package/dist/{chunk-7GX445AE.js → chunk-4XHAT7C5.js} +2 -2
  20. package/dist/{chunk-OOXWYAA4.js → chunk-57A5ZKPO.js} +1 -1
  21. package/dist/{chunk-OOGXZL7Z.js → chunk-5KJBWIDZ.js} +84 -6
  22. package/dist/{chunk-5YL5OC2G.js → chunk-5QMJOE2K.js} +6 -6
  23. package/dist/{chunk-3H3EPMFY.js → chunk-5TVFLG3C.js} +2 -2
  24. package/dist/{chunk-WFMVKY7I.js → chunk-5YQV35C2.js} +9 -9
  25. package/dist/{chunk-NA3PXMEF.js → chunk-64WWE3EF.js} +1 -1
  26. package/dist/{chunk-FMOEVAGT.js → chunk-6X3MY2JP.js} +3 -3
  27. package/dist/{chunk-2LVTBPW2.js → chunk-6X6BJN6Y.js} +3 -3
  28. package/dist/{chunk-DYG5D3FD.js → chunk-763M6LX3.js} +16 -2
  29. package/dist/{chunk-EESV6NU2.js → chunk-7FIMUFBP.js} +2 -2
  30. package/dist/{chunk-CFSFBKHP.js → chunk-7GAIJW62.js} +2 -2
  31. package/dist/{chunk-6R7S775T.js → chunk-7REDHC4N.js} +2 -2
  32. package/dist/chunk-7VR4IO5B.js +44 -0
  33. package/dist/chunk-A7MRZ4GF.js +78 -0
  34. package/dist/{chunk-D5ZEAF4G.js → chunk-ATJ2W7DC.js} +81 -58
  35. package/dist/{chunk-BUJRS7XB.js → chunk-AVS4WPPY.js} +2 -2
  36. package/dist/{chunk-MEE5RZ6G.js → chunk-BL3AZ3AP.js} +2 -2
  37. package/dist/chunk-BTVUYHWV.js +111 -0
  38. package/dist/{chunk-T4DUFQ2S.js → chunk-CCU5CCRX.js} +5 -5
  39. package/dist/{chunk-5T2CTWTB.js → chunk-CHINR7WD.js} +6 -6
  40. package/dist/{chunk-VD32O6KZ.js → chunk-CJDPSCMX.js} +45 -5
  41. package/dist/{chunk-3HOGFGKG.js → chunk-D3KEPRRN.js} +2 -2
  42. package/dist/{chunk-SBR2WZXG.js → chunk-D7BUMOKU.js} +60 -53
  43. package/dist/{chunk-WRBKLYSJ.js → chunk-DNBP4GJN.js} +4 -3
  44. package/dist/{chunk-JTUKLCXS.js → chunk-DXUICABI.js} +1 -1
  45. package/dist/{chunk-XMDDBEEM.js → chunk-E763QI3G.js} +2 -2
  46. package/dist/{chunk-KTGRGWZW.js → chunk-EADVVTDK.js} +7 -7
  47. package/dist/{chunk-FJWZ5OVV.js → chunk-ENMBEXOP.js} +3 -3
  48. package/dist/{chunk-OPHB5ORL.js → chunk-EQFYOOO6.js} +171 -92
  49. package/dist/{chunk-WOGJB2F6.js → chunk-FNLTFOUD.js} +4 -9
  50. package/dist/{chunk-II747OWE.js → chunk-FQ53GTII.js} +10 -10
  51. package/dist/{chunk-JP7M7OU7.js → chunk-FU3VCE5A.js} +46 -27
  52. package/dist/{chunk-OGBMUST4.js → chunk-GHQ4BVI4.js} +14 -14
  53. package/dist/{chunk-45YPFB7B.js → chunk-GLY552SI.js} +84 -57
  54. package/dist/{chunk-QV3GXQRE.js → chunk-GOLFAEUV.js} +2 -2
  55. package/dist/{chunk-L2GLOJAO.js → chunk-GW5RHGOB.js} +22 -22
  56. package/dist/{chunk-A6QTTJUI.js → chunk-GWTFI3GA.js} +2 -2
  57. package/dist/{chunk-MCTIKRMN.js → chunk-GZHLCUZ6.js} +8 -8
  58. package/dist/{chunk-664LSWE5.js → chunk-HCG7NDIL.js} +4 -4
  59. package/dist/{chunk-7PMVIHB3.js → chunk-I3H3HCPY.js} +50 -29
  60. package/dist/{chunk-LIVN53UV.js → chunk-I3VHW6XM.js} +31 -31
  61. package/dist/{chunk-C4FHQA7R.js → chunk-IF4PEGVD.js} +8 -8
  62. package/dist/{chunk-WFG67AYS.js → chunk-IMELQ2I6.js} +3 -3
  63. package/dist/{chunk-3P3HXN76.js → chunk-ITC2R2OT.js} +11 -11
  64. package/dist/{chunk-W5ONYLOP.js → chunk-IXFJORNH.js} +4 -4
  65. package/dist/{chunk-HMLGM2MW.js → chunk-IYXL5NYU.js} +260 -32
  66. package/dist/{chunk-2B22WWKL.js → chunk-JFBRXRJD.js} +59 -35
  67. package/dist/chunk-JI3BLXWQ.js +107 -0
  68. package/dist/{chunk-4DJTQ6W4.js → chunk-JIKGT7DO.js} +2 -1
  69. package/dist/{chunk-O5V3YH5P.js → chunk-JRVQ7M7W.js} +8 -8
  70. package/dist/{chunk-4APOHK7Y.js → chunk-JXVJGF3Y.js} +2 -2
  71. package/dist/chunk-KPFS3RGM.js +257 -0
  72. package/dist/{chunk-PML67X22.js → chunk-LAOMN6QQ.js} +3 -3
  73. package/dist/{chunk-TTVAHCWP.js → chunk-LBJA7IEM.js} +370 -45
  74. package/dist/{chunk-KUTFFHUM.js → chunk-LD6ARK3A.js} +2 -2
  75. package/dist/{chunk-HUSH7LRI.js → chunk-LL7SGTRC.js} +36 -33
  76. package/dist/{chunk-I2BGYNHD.js → chunk-M5CSVB23.js} +7 -7
  77. package/dist/{chunk-UCQ2VUTG.js → chunk-M6ZFSTIZ.js} +2 -2
  78. package/dist/{chunk-MNVDVR3M.js → chunk-MBDFH7XB.js} +4 -4
  79. package/dist/{chunk-QXTKSOFI.js → chunk-MF4W6FHU.js} +1 -1
  80. package/dist/{chunk-RX3EMQGN.js → chunk-MFWF2NZJ.js} +12 -5
  81. package/dist/{chunk-SEUCZZCP.js → chunk-N5I37JFB.js} +3 -3
  82. package/dist/{chunk-IJ3SXSZM.js → chunk-ND43ZOS3.js} +6 -6
  83. package/dist/chunk-NDWVJ2QZ.js +67 -0
  84. package/dist/{chunk-E65QIWOO.js → chunk-NPODGBVJ.js} +4 -4
  85. package/dist/{chunk-CYB7UQA2.js → chunk-OIKLDDYC.js} +5 -5
  86. package/dist/{chunk-MLGI2SRQ.js → chunk-PFBXSVZF.js} +4 -4
  87. package/dist/{chunk-AM4FKL4J.js → chunk-PL7AIAWS.js} +12 -12
  88. package/dist/{chunk-S7E2AHV3.js → chunk-PMMHSX4H.js} +26 -9
  89. package/dist/{chunk-WL2DSNJV.js → chunk-Q22BMRPF.js} +2 -2
  90. package/dist/{chunk-3FN2BIGB.js → chunk-QJM5XZ4K.js} +6 -6
  91. package/dist/{chunk-EWCDPFW5.js → chunk-QXYMDARD.js} +4 -4
  92. package/dist/{chunk-MLPDSGJQ.js → chunk-QZEAANWP.js} +5 -5
  93. package/dist/{chunk-ESZ2FF57.js → chunk-RIN4YY34.js} +88 -74
  94. package/dist/{chunk-37FBPMNE.js → chunk-S56YBYMN.js} +5 -2
  95. package/dist/{chunk-CBYQ2ZN3.js → chunk-SKEG3V2V.js} +2 -2
  96. package/dist/{chunk-4PQHO74B.js → chunk-SLGJIWCY.js} +4 -4
  97. package/dist/{chunk-IVKRT476.js → chunk-SPITRSOF.js} +2 -2
  98. package/dist/{chunk-BUECLQXK.js → chunk-SPKA2LV6.js} +4 -4
  99. package/dist/{chunk-HHW5AWVD.js → chunk-SSITMX7I.js} +30 -30
  100. package/dist/{chunk-OPG4DYX2.js → chunk-T4LJ5UR2.js} +29 -7
  101. package/dist/{chunk-LXNQWHZM.js → chunk-TECTL2NU.js} +4 -4
  102. package/dist/{chunk-E6H5ZEV3.js → chunk-TTEIDD5Q.js} +3 -3
  103. package/dist/{chunk-6VBTPV2Y.js → chunk-U35MTOXQ.js} +3 -3
  104. package/dist/{chunk-UKUIUS3E.js → chunk-U6MTGB46.js} +5 -5
  105. package/dist/{chunk-Y2ZLKBM6.js → chunk-UD2Z7K6W.js} +4 -4
  106. package/dist/{chunk-IXUPUFCG.js → chunk-UIVMR7UK.js} +2 -2
  107. package/dist/{chunk-UDE5C2XN.js → chunk-VDHA5SSQ.js} +3 -3
  108. package/dist/{chunk-5W7DOMIU.js → chunk-VJFMUJWZ.js} +4 -4
  109. package/dist/{chunk-XNCP4KYO.js → chunk-VQPDATQT.js} +1 -1
  110. package/dist/{chunk-KCAL4QYP.js → chunk-VW4CWVYX.js} +4 -4
  111. package/dist/chunk-WAVNUTMT.js +9 -0
  112. package/dist/{chunk-DIG3NITC.js → chunk-WBH4KJWM.js} +3 -3
  113. package/dist/{chunk-HSEQYBDO.js → chunk-WZHLMU6T.js} +3 -3
  114. package/dist/{chunk-WYEQFD6A.js → chunk-XFBGXB7X.js} +173 -105
  115. package/dist/{chunk-UI4OPTYR.js → chunk-Y453TW6J.js} +2 -2
  116. package/dist/{chunk-LUTMOHOW.js → chunk-YGLMRH5U.js} +9 -9
  117. package/dist/{chunk-GPI3OWRE.js → chunk-YHB34BN6.js} +2 -1
  118. package/dist/{chunk-5WGVIXMD.js → chunk-YKP4ZKVO.js} +14 -10
  119. package/dist/{chunk-MN2PB6WB.js → chunk-YR2I5HGE.js} +3 -3
  120. package/dist/{chunk-ZG7E72VI.js → chunk-YYC2DZMG.js} +7 -7
  121. package/dist/{chunk-D64XUF5Q.js → chunk-YYLUBYXM.js} +16 -16
  122. package/dist/{chunk-VRVKNY4A.js → chunk-Z4ZGTCCD.js} +8 -8
  123. package/dist/{chunk-44B4V2LR.js → chunk-ZDP6GDAB.js} +142 -142
  124. package/dist/{chunk-ET5DSBAC.js → chunk-ZJSTUD6D.js} +8 -8
  125. package/dist/cli.d.ts +36 -26
  126. package/dist/cli.js +57 -56
  127. package/dist/{codegen-command-HTWIW56U.js → codegen-command-R5IASBFC.js} +78 -72
  128. package/dist/codegen.d.ts +2 -2
  129. package/dist/codegen.js +2 -2
  130. package/dist/{commands-CVFYC4GK.js → commands-H7CPMMHH.js} +3 -3
  131. package/dist/{completion-AUEQC4XJ.js → completion-W5ZAI6TN.js} +12 -12
  132. package/dist/{config-JU6OQC77.js → config-MZ5KG4EP.js} +5 -5
  133. package/dist/{deploy-command-5WTFHMBT.js → deploy-command-34T2LKQ5.js} +64 -63
  134. package/dist/deploy-source-YLQ7WMYR.js +82 -0
  135. package/dist/{dev-env-sync-X636HLMK.js → dev-env-sync-TMJTNU3U.js} +58 -57
  136. package/dist/{diagnostics-LSMGB4TY.js → diagnostics-OMN5Y2AH.js} +2 -2
  137. package/dist/{display-name-hint-DMORHANO.js → display-name-hint-ZJGFNJKQ.js} +12 -12
  138. package/dist/{emit-hOFbgzde.d.ts → emit-D125xxty.d.ts} +67 -21
  139. package/dist/env-example-refresh-CQP3ZMKM.js +133 -0
  140. package/dist/{env-pull-command-WZZ7RL2E.js → env-pull-command-UTG6IC2K.js} +53 -53
  141. package/dist/{env-target-PO3MOLH5.js → env-target-FZROWYFS.js} +14 -14
  142. package/dist/{env-var-command-YKTJZFJN.js → env-var-command-VYDBQJJW.js} +51 -50
  143. package/dist/{ephemeral-BMFY55BQ.js → ephemeral-BIE6FMJV.js} +10 -10
  144. package/dist/{ephemeral-command-VDSQCOYL.js → ephemeral-command-OZ26RGXF.js} +54 -54
  145. package/dist/{ephemeral-state-6TY4JIPA.js → ephemeral-state-SNZOX2YK.js} +12 -12
  146. package/dist/{generate-command-3NTNRQRS.js → generate-command-4HR7MR36.js} +87 -79
  147. package/dist/{gitignore-FWPEDX6C.js → gitignore-EWQBXNX2.js} +20 -19
  148. package/dist/{guards-EJU2ONAX.js → guards-KYEOCVHN.js} +7 -7
  149. package/dist/{hosted-file-PSHJB3HX.js → hosted-file-S7YUQAH6.js} +2 -2
  150. package/dist/{impersonate-command-QEJA72Q2.js → impersonate-command-WC7OGKUM.js} +44 -43
  151. package/dist/{import-TBTOTU52.js → import-7Z4GCCPO.js} +6 -6
  152. package/dist/index.d.ts +14 -20
  153. package/dist/index.js +14 -14
  154. package/dist/init-command-HAO3WXH3.js +128 -0
  155. package/dist/{init-modules-HZRQFRLE.js → init-modules-NSKD4ASY.js} +12 -11
  156. package/dist/{init-web-Y2PBNJTQ.js → init-web-MKFFOQUU.js} +3 -3
  157. package/dist/internal.d.ts +5 -5
  158. package/dist/internal.js +61 -35
  159. package/dist/{io-ZUKAGFVE.js → io-PGTCBSIQ.js} +7 -5
  160. package/dist/{keep-data-merge-X5LDDCI3.js → keep-data-merge-QR2TMKEO.js} +33 -34
  161. package/dist/{lambda-config-reconcile-OUZ4OYAB.js → lambda-config-reconcile-7FJXXV6V.js} +4 -4
  162. package/dist/{landed-6VO7CX5P.js → landed-F7PCHGCK.js} +4 -4
  163. package/dist/{landing-record-QYECWLQ5.js → landing-record-MWXFIRCP.js} +26 -25
  164. package/dist/{live-diff-2S7E3SBZ.js → live-diff-5E2BQWQ7.js} +10 -9
  165. package/dist/local-engine-choice-VD5LNXJU.js +80 -0
  166. package/dist/{local-engine-command-HMTQK7MN.js → local-engine-command-RYLGMQ2O.js} +96 -95
  167. package/dist/{local-engine-config-5U3SC434.js → local-engine-config-W3KB7RWM.js} +2 -2
  168. package/dist/{local-engine-deploy-TXAOYRGF.js → local-engine-deploy-6O7NKZCA.js} +17 -17
  169. package/dist/{local-engine-process-6VZ7JJBP.js → local-engine-process-ZLLZEIRF.js} +12 -12
  170. package/dist/{local-engine-state-TJWPWCC4.js → local-engine-state-OCW5YDD7.js} +3 -3
  171. package/dist/{local-engine-update-check-R5SPDVEJ.js → local-engine-update-check-LVX4HBBI.js} +8 -8
  172. package/dist/{lock-TS465GVY.js → lock-HDCHD2ON.js} +5 -3
  173. package/dist/{lock-commands-4VT3L5W5.js → lock-commands-X2OECR4R.js} +62 -61
  174. package/dist/{login-command-O6WA4FYL.js → login-command-RLLKD565.js} +31 -30
  175. package/dist/{logout-command-6CPWGFY2.js → logout-command-XDMSXCDO.js} +17 -17
  176. package/dist/{loop-UFHKSOQ4.js → loop-SUB6C2LK.js} +9 -10
  177. package/dist/{marketplace-command-HKACSYKS.js → marketplace-command-2NHHY2X3.js} +89 -53
  178. package/dist/{marketplace-resolve-KLFYVRWS.js → marketplace-resolve-OTZYT4FG.js} +9 -8
  179. package/dist/{meta-client-73PX6UGJ.js → meta-client-TMHVBZFY.js} +15 -15
  180. package/dist/{module-manifest-GIKFNXPE.js → module-manifest-FNMW23IX.js} +7 -4
  181. package/dist/node.d.ts +5 -5
  182. package/dist/node.js +63 -63
  183. package/dist/operation-outcome-RN62735X.js +51 -0
  184. package/dist/{output-target-SZMBNYF4.js → output-target-MOLCTPBP.js} +21 -20
  185. package/dist/{package-manager-PRAHUSCN.js → package-manager-K762W7XT.js} +2 -2
  186. package/dist/{plan-disclosure-BHYG7TZ7.js → plan-disclosure-CY7AF6KP.js} +21 -22
  187. package/dist/{plugin-contributions-X4V22PJQ.js → plugin-contributions-WR26U7NT.js} +6 -6
  188. package/dist/{plugin-prompt-DKNQHW6Y.js → plugin-prompt-ZUYQQIX4.js} +5 -5
  189. package/dist/{plugin-questions-CQRVOWFK.js → plugin-questions-HAZOQ67R.js} +4 -4
  190. package/dist/plugin.d.ts +254 -10
  191. package/dist/{preflight-command-EBQ6XQF3.js → preflight-command-OHJXYND3.js} +70 -70
  192. package/dist/{profile-command-NPKBJYPM.js → profile-command-6JWT2BTL.js} +33 -32
  193. package/dist/{profile-pointer-UOO7JNFG.js → profile-pointer-PDA5XBIB.js} +5 -5
  194. package/dist/{profile-select-74TRDEPD.js → profile-select-45G5VPJK.js} +2 -2
  195. package/dist/{project-dependency-RRMTWOPC.js → project-dependency-GZWWGWEW.js} +13 -10
  196. package/dist/{project-sdk-FOR4IOXL.js → project-sdk-3W72H5QO.js} +4 -4
  197. package/dist/promote-command-UYAMUXKB.js +146 -0
  198. package/dist/{prompt-5GUQTCSP.js → prompt-U37K5RPQ.js} +4 -4
  199. package/dist/{publish-command-LGLZBOCB.js → publish-command-BUS27HGB.js} +138 -66
  200. package/dist/pull-command-ZGUNP27P.js +168 -0
  201. package/dist/{pull-superseded-GGURV5J3.js → pull-superseded-EZBGYRZF.js} +4 -4
  202. package/dist/{raw-where-EoWl5fqY.d.ts → raw-where-ZMLND6AG.d.ts} +20 -3
  203. package/dist/release-command-BQ6OHS3P.js +150 -0
  204. package/dist/{release-ns-command-EIBN3JVM.js → release-ns-command-ATGVBVIU.js} +94 -94
  205. package/dist/{retry-command-Y5YJGOH3.js → retry-command-QJ57WVW7.js} +9 -9
  206. package/dist/{routes-manifest-3BNZIVST.js → routes-manifest-YR4ZIMLM.js} +16 -8
  207. package/dist/routes-manifest-file-UALYSZLY.js +41 -0
  208. package/dist/scaffold.js +3 -3
  209. package/dist/{secrets-file-FUG7WCES.js → secrets-file-LMS7KX3E.js} +20 -19
  210. package/dist/{secrets-fill-command-QEOCUOAY.js → secrets-fill-command-QNBDGCGM.js} +61 -60
  211. package/dist/{seed-GJHJSEUE.js → seed-SZ6OS5DQ.js} +9 -9
  212. package/dist/{source-resolve-DMDZVPMM.js → source-resolve-MKLNYFWG.js} +24 -24
  213. package/dist/{static-host-WM24RG25.js → static-host-ONEHA4LI.js} +10 -10
  214. package/dist/{status-command-XUH5OGQX.js → status-command-XKIFKBGM.js} +57 -56
  215. package/dist/{store-CfgPaVPO.d.ts → store-Bg4Na6Sm.d.ts} +4 -4
  216. package/dist/{store-MR7IKXKK.js → store-X6ZH7EC3.js} +7 -7
  217. package/dist/sveltekit.d.ts +5 -5
  218. package/dist/sveltekit.js +1 -1
  219. package/dist/sync-baseline-DOV5AGIO.js +36 -0
  220. package/dist/{sync-contributions-DHP7XSTX.js → sync-contributions-HNVHDIQW.js} +21 -13
  221. package/dist/sync-record-PRXHLK4S.js +42 -0
  222. package/dist/{table-ZBDPKMNH.js → table-DC36QA4Y.js} +10 -10
  223. package/dist/{tables-command-X3JK7VSK.js → tables-command-UQLKTELN.js} +44 -43
  224. package/dist/{tenant-GKXMOYLK.js → tenant-EKNQGG5A.js} +11 -11
  225. package/dist/{tenant-command-P27EQHBU.js → tenant-command-2LWP2MPB.js} +105 -100
  226. package/dist/{test-command-A4G2FP7G.js → test-command-IU5MBBXY.js} +44 -43
  227. package/dist/{tests-C55M5EQS.js → tests-RG2Y5EQ4.js} +7 -7
  228. package/dist/{token-CMAB35GD.js → token-7AWSJLKO.js} +13 -13
  229. package/dist/toolchain-hooks-4ZMQLBPQ.js +46 -0
  230. package/dist/{toolchain-modules-3M7QDJBV.js → toolchain-modules-VU7SURVJ.js} +9 -6
  231. package/dist/toolchain-peers-CIDNEEQV.js +28 -0
  232. package/dist/tracked-backend-4BHSV7NC.js +81 -0
  233. package/dist/{update-check-LNNKIMML.js → update-check-A7FXIINW.js} +60 -59
  234. package/dist/{upgrade-command-7EUXML3P.js → upgrade-command-C5KBITFI.js} +64 -63
  235. package/dist/{whoami-command-KNWFWAX6.js → whoami-command-7WQII2H4.js} +16 -16
  236. package/dist/{workspace-TGPYOODG.js → workspace-Z46PUZNI.js} +6 -6
  237. package/dist/{workspace-binding-2TWZBHQY.js → workspace-binding-JE6YNDZJ.js} +15 -15
  238. package/dist/{workspace-command-T7Z2BDHD.js → workspace-command-FC4IMLAE.js} +119 -88
  239. package/dist/{workspace-env-VA7XN3UX.js → workspace-env-N4ZPFT6A.js} +17 -16
  240. package/dist/{workspace-export-AIGM6LC7.js → workspace-export-3A5BZTPS.js} +6 -6
  241. package/dist/{writable-FYJBTJOU.js → writable-D7KCZI5N.js} +4 -4
  242. package/dist/{xano-BSHYVFSE.js → xano-LCI7VWPS.js} +9 -9
  243. package/dist/{xanosdk-import-J6SRBZHW.js → xanosdk-import-P2A2KSXM.js} +10 -10
  244. package/dist/xanosdk-project-6AGMW2SL.js +42 -0
  245. package/guides/README.md +1 -0
  246. package/guides/authoring.md +3 -5
  247. package/guides/bundle.md +45 -0
  248. package/guides/cli.md +36 -34
  249. package/guides/codegen.md +5 -4
  250. package/guides/codes.md +16 -11
  251. package/guides/deploying.md +115 -58
  252. package/guides/environment.md +13 -13
  253. package/guides/marketplace.md +21 -0
  254. package/guides/module-contract.md +80 -4
  255. package/guides/project-structure.md +14 -0
  256. package/guides/typed-frontend.md +37 -0
  257. package/llms/client.md +14 -5
  258. package/llms/errors.md +1 -1
  259. package/llms/filters.md +4 -0
  260. package/llms/kinds-core.md +1 -1
  261. package/llms/statements-data.md +3 -2
  262. package/llms/tests.md +2 -2
  263. package/llms/toolchain.md +12 -0
  264. package/llms-full.txt +47 -21
  265. package/llms.txt +10 -10
  266. package/manifest.json +110 -107
  267. package/package.json +4 -4
  268. package/dist/agent-file-refresh-LB6KIMFY.js +0 -38
  269. package/dist/chunk-XXZZGXW2.js +0 -243
  270. package/dist/deploy-source-5CET3A5D.js +0 -81
  271. package/dist/env-example-refresh-ZO6XAV44.js +0 -127
  272. package/dist/init-command-27SFBW2F.js +0 -126
  273. package/dist/local-engine-choice-6BSPEG3E.js +0 -79
  274. package/dist/operation-outcome-2P4BVSEV.js +0 -51
  275. package/dist/promote-command-4F2NAE6P.js +0 -141
  276. package/dist/pull-command-WQFPLITW.js +0 -162
  277. package/dist/release-command-2OTNVMIL.js +0 -147
  278. package/dist/toolchain-hooks-BGZBDFAT.js +0 -96
  279. package/dist/tracked-backend-PZGUWD5J.js +0 -80
  280. package/dist/xanosdk-project-6KTCO47O.js +0 -41
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  appNamesByGuid,
3
3
  lockNameForObject
4
- } from "./chunk-OOGXZL7Z.js";
4
+ } from "./chunk-5KJBWIDZ.js";
5
5
 
6
6
  // src/validate/kinds.ts
7
7
  var ROUND_TRIP_KINDS = [
@@ -106,4 +106,4 @@ export {
106
106
  kindIsRunnable,
107
107
  identityMatcher
108
108
  };
109
- //# sourceMappingURL=chunk-UI4OPTYR.js.map
109
+ //# sourceMappingURL=chunk-Y453TW6J.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readEphemeralState
3
- } from "./chunk-UKUIUS3E.js";
3
+ } from "./chunk-U6MTGB46.js";
4
4
  import {
5
5
  OpenIdProvider,
6
6
  addProfileHint,
@@ -30,7 +30,7 @@ import {
30
30
  withCredentialLock,
31
31
  writeCredentialFile,
32
32
  writeOrRemoveCredentialFile
33
- } from "./chunk-I2BGYNHD.js";
33
+ } from "./chunk-M5CSVB23.js";
34
34
  import {
35
35
  registerSecret,
36
36
  tokenTextProblem
@@ -44,11 +44,11 @@ import {
44
44
  noteResolvedAuth,
45
45
  retryAfterSeconds,
46
46
  serverMessage
47
- } from "./chunk-MN2PB6WB.js";
47
+ } from "./chunk-YR2I5HGE.js";
48
48
  import {
49
49
  POINTER_FILE,
50
50
  findProjectPointer
51
- } from "./chunk-FPBGAT5D.js";
51
+ } from "./chunk-26MOFAJT.js";
52
52
  import {
53
53
  DEFAULT_PROFILE,
54
54
  ENV_PROFILE,
@@ -56,7 +56,7 @@ import {
56
56
  describeProfileSelection,
57
57
  profileSourceLabel,
58
58
  resolveActiveProfile
59
- } from "./chunk-QXTKSOFI.js";
59
+ } from "./chunk-MF4W6FHU.js";
60
60
  import {
61
61
  readEnvVar
62
62
  } from "./chunk-X2NL4KUO.js";
@@ -70,7 +70,7 @@ import {
70
70
  quotedNames,
71
71
  safeText,
72
72
  warn
73
- } from "./chunk-SBR2WZXG.js";
73
+ } from "./chunk-D7BUMOKU.js";
74
74
  import {
75
75
  suggest
76
76
  } from "./chunk-UTI5G6OJ.js";
@@ -381,7 +381,7 @@ The refresh token may be expired or already spent \u2014 refresh tokens rotate o
381
381
  );
382
382
  }
383
383
  assertHttpsOrigin(instance, "instance");
384
- const { resolveScopedWorkspaceId } = await import("./workspace-TGPYOODG.js");
384
+ const { resolveScopedWorkspaceId } = await import("./workspace-Z46PUZNI.js");
385
385
  const workspaceId = await resolveScopedWorkspaceId({ access_token: set.access_token, instance });
386
386
  return { access_token: set.access_token, instance, workspaceId, credentialType: "oauth-refresh" };
387
387
  }
@@ -499,7 +499,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
499
499
  if (selection.source !== "file-default" && selection.source !== "implicit") return;
500
500
  const stored = file === null ? [] : profileNames(file);
501
501
  if (stored.length < 2) return;
502
- const { projectDirFrom } = await import("./xanosdk-project-6KTCO47O.js");
502
+ const { projectDirFrom } = await import("./xanosdk-project-6AGMW2SL.js");
503
503
  if (projectDirFrom(process.cwd()) === void 0) return;
504
504
  const target = targetOf(saved);
505
505
  credentialWarning(
@@ -862,4 +862,4 @@ export {
862
862
  notSignedIn,
863
863
  assertStoredAuthHost
864
864
  };
865
- //# sourceMappingURL=chunk-LUTMOHOW.js.map
865
+ //# sourceMappingURL=chunk-YGLMRH5U.js.map
@@ -12,6 +12,7 @@ var VALUES = [
12
12
  "field.enum-default-not-a-value",
13
13
  "field.email-default-invalid",
14
14
  "field.input-default-invalid",
15
+ "field.input-required-default-ignored",
15
16
  "value.obj-zero-based-numeric-keys",
16
17
  "value.int-out-of-range"
17
18
  ];
@@ -310,4 +311,4 @@ export {
310
311
  problemCount,
311
312
  numberedList
312
313
  };
313
- //# sourceMappingURL=chunk-GPI3OWRE.js.map
314
+ //# sourceMappingURL=chunk-YHB34BN6.js.map
@@ -6,17 +6,17 @@ import {
6
6
  declaredDependencies,
7
7
  readProjectManifest,
8
8
  readToolchainConfig
9
- } from "./chunk-JTUKLCXS.js";
9
+ } from "./chunk-DXUICABI.js";
10
10
  import {
11
11
  fileInPackage,
12
12
  loadFile,
13
13
  moduleKind,
14
14
  readInstalledManifestState
15
- } from "./chunk-DYG5D3FD.js";
15
+ } from "./chunk-763M6LX3.js";
16
16
  import {
17
17
  UsageError,
18
18
  warn
19
- } from "./chunk-SBR2WZXG.js";
19
+ } from "./chunk-D7BUMOKU.js";
20
20
 
21
21
  // src/emit/toolchain-modules.ts
22
22
  var UNKNOWN_MODULE_VERSION = "unknown";
@@ -95,11 +95,11 @@ function manifestVersion(manifest) {
95
95
  const version = manifest["version"];
96
96
  return typeof version === "string" && version !== "" ? version : UNKNOWN_MODULE_VERSION;
97
97
  }
98
- function assertSdkInPeerRange(declared, sdkVersion) {
98
+ function sdkPeerRefusal(declared, sdkVersion) {
99
99
  const range = declared.sdkPeerRange;
100
- if (range === null) return;
101
- if (satisfiesRange(sdkVersion, range) !== false) return;
102
- throw new UsageError(
100
+ if (range === null) return null;
101
+ if (satisfiesRange(sdkVersion, range) !== false) return null;
102
+ return new UsageError(
103
103
  `${declared.pkg} requires \`@xano/sdk\` ${range}, and this is ${sdkVersion} \u2014 so it would load, register, and apply nothing, which reads exactly like a module that had nothing to add.`,
104
104
  {
105
105
  suggestion: `Upgrade the SDK with \`npm install @xano/sdk@latest\`, or install a ${declared.pkg} built for this one. To carry on without it, set \`"${declared.pkg}": { "enabled": false }\` in this project's package.json "xanosdk" block, or run \`xanosdk marketplace remove ${declared.pkg}\` to drop it and its settings together.`
@@ -120,8 +120,11 @@ async function discoverToolchainPlugins(projectDir, opts) {
120
120
  skipped.push({ pkg: declared.pkg, why: declared.unreadable });
121
121
  continue;
122
122
  }
123
- if (declared.sdkPeerRange !== null) {
124
- assertSdkInPeerRange(declared, await runningSdkVersion());
123
+ const refusal = declared.sdkPeerRange === null ? null : sdkPeerRefusal(declared, await runningSdkVersion());
124
+ if (refusal !== null) {
125
+ if (opts.peerSkew !== "skip") throw refusal;
126
+ skipped.push({ pkg: declared.pkg, why: `${refusal.message} ${refusal.suggestion ?? ""}`.trim() });
127
+ continue;
125
128
  }
126
129
  if (declared.pluginFile === null) {
127
130
  skipped.push({
@@ -185,8 +188,9 @@ Run \`xanosdk marketplace reinstall <package>\` to repair one that should still
185
188
 
186
189
  export {
187
190
  UNKNOWN_MODULE_VERSION,
191
+ isEnabled,
188
192
  declaredToolchainPlugins,
189
193
  sdkPeerSkew,
190
194
  discoverToolchainPlugins
191
195
  };
192
- //# sourceMappingURL=chunk-5WGVIXMD.js.map
196
+ //# sourceMappingURL=chunk-YKP4ZKVO.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  profileSourceLabel
3
- } from "./chunk-QXTKSOFI.js";
3
+ } from "./chunk-MF4W6FHU.js";
4
4
  import {
5
5
  readEnvVar
6
6
  } from "./chunk-X2NL4KUO.js";
7
7
  import {
8
8
  UsageError
9
- } from "./chunk-SBR2WZXG.js";
9
+ } from "./chunk-D7BUMOKU.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-MN2PB6WB.js.map
653
+ //# sourceMappingURL=chunk-YR2I5HGE.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  addDependency,
3
3
  removeDependency
4
- } from "./chunk-S7E2AHV3.js";
4
+ } from "./chunk-PMMHSX4H.js";
5
5
  import {
6
6
  condenseNpmError,
7
7
  npmViewVersion
@@ -11,12 +11,12 @@ import {
11
11
  } from "./chunk-FWD7AL6N.js";
12
12
  import {
13
13
  isLocalSpecifier
14
- } from "./chunk-3FN2BIGB.js";
14
+ } from "./chunk-QJM5XZ4K.js";
15
15
  import {
16
16
  addArgs,
17
17
  installSite,
18
18
  removeCommandFor
19
- } from "./chunk-WRBKLYSJ.js";
19
+ } from "./chunk-DNBP4GJN.js";
20
20
  import {
21
21
  homepageOf,
22
22
  installedPackageDir,
@@ -25,14 +25,14 @@ import {
25
25
  moduleKind,
26
26
  packageNameOf,
27
27
  readInstalledManifest
28
- } from "./chunk-DYG5D3FD.js";
28
+ } from "./chunk-763M6LX3.js";
29
29
  import {
30
30
  UsageError,
31
31
  spinner,
32
32
  step,
33
33
  success,
34
34
  warn
35
- } from "./chunk-SBR2WZXG.js";
35
+ } from "./chunk-D7BUMOKU.js";
36
36
 
37
37
  // src/emit/init-modules.ts
38
38
  import { existsSync, readFileSync, realpathSync } from "fs";
@@ -448,7 +448,7 @@ async function sdkPeerSkewOf(dir, pkg) {
448
448
  const manifest = readInstalledManifest(dir, pkg);
449
449
  if (manifest === null) return null;
450
450
  const [{ sdkPeerSkew }, { readVersion }] = await Promise.all([
451
- import("./toolchain-modules-3M7QDJBV.js"),
451
+ import("./toolchain-modules-VU7SURVJ.js"),
452
452
  import("./cli.js")
453
453
  ]);
454
454
  const sdkVersion = readVersion();
@@ -480,4 +480,4 @@ export {
480
480
  inProject,
481
481
  installModules
482
482
  };
483
- //# sourceMappingURL=chunk-ZG7E72VI.js.map
483
+ //# sourceMappingURL=chunk-YYC2DZMG.js.map
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  sha256Hex
3
- } from "./chunk-NA3PXMEF.js";
3
+ } from "./chunk-64WWE3EF.js";
4
4
  import {
5
5
  normalizeEngineVersion
6
- } from "./chunk-CYB7UQA2.js";
6
+ } from "./chunk-OIKLDDYC.js";
7
7
  import {
8
8
  localEngineBinDir,
9
9
  localEngineHome
10
- } from "./chunk-AM4FKL4J.js";
10
+ } from "./chunk-PL7AIAWS.js";
11
11
  import {
12
12
  SDK_PACKAGE,
13
13
  composeToolchainConfig,
14
14
  readProjectManifest,
15
15
  readToolchainBlock,
16
16
  writeToolchainConfig
17
- } from "./chunk-JTUKLCXS.js";
17
+ } from "./chunk-DXUICABI.js";
18
18
  import {
19
19
  atomicWrite
20
20
  } from "./chunk-LLNZGEFK.js";
@@ -77,21 +77,21 @@ function assertSafeCacheDir(dir, env = process.env) {
77
77
  }
78
78
  if (st.isSymbolicLink()) {
79
79
  throw new Error(
80
- `The local engine cache path is a symlink, and a symlink points somewhere these checks never looked: ${current}
81
- Replace it with a real directory, or point the cache elsewhere with XANOSDK_LOCAL_ENGINE_HOME.`
80
+ `The Xano Engine cache path is a symlink, and a symlink points somewhere these checks never looked: ${current}
81
+ Replace it with a real directory, or point the cache elsewhere with XANOSDK_ENGINE_HOME.`
82
82
  );
83
83
  }
84
84
  if ((st.mode & 18) !== 0) {
85
85
  throw new Error(
86
- `The local engine cache is writable by other users on this machine: ${current}
87
- Anything that can write there can replace the engine executable, and an executable this SDK spawns is not a file to leave open. Run \`chmod go-w\` on it, or point the cache somewhere private with XANOSDK_LOCAL_ENGINE_HOME.`
86
+ `The Xano Engine cache is writable by other users on this machine: ${current}
87
+ Anything that can write there can replace the engine executable, and an executable this SDK spawns is not a file to leave open. Run \`chmod go-w\` on it, or point the cache somewhere private with XANOSDK_ENGINE_HOME.`
88
88
  );
89
89
  }
90
90
  const uid = ownerUid();
91
91
  if (uid !== void 0 && st.uid !== uid) {
92
92
  throw new Error(
93
- `The local engine cache is owned by another user: ${current}
94
- An executable this SDK spawns has to be one only you can replace. Take ownership of it, or point the cache somewhere you own with XANOSDK_LOCAL_ENGINE_HOME.`
93
+ `The Xano Engine cache is owned by another user: ${current}
94
+ An executable this SDK spawns has to be one only you can replace. Take ownership of it, or point the cache somewhere you own with XANOSDK_ENGINE_HOME.`
95
95
  );
96
96
  }
97
97
  }
@@ -186,14 +186,14 @@ function verifiedEngineExecutable(entry, env = process.env) {
186
186
  } catch {
187
187
  throw new Error(
188
188
  `The cached engine is gone from ${entry.dir}.
189
- Re-run the same \`xanosdk deploy --local-engine\` and it is fetched again.`
189
+ Re-run the same \`xanosdk deploy --local\` and it is fetched again.`
190
190
  );
191
191
  }
192
192
  const actual = sha256Hex(bytes);
193
193
  if (actual !== entry.digest) {
194
194
  throw new Error(
195
195
  `The cached engine's bytes do not match the digest recorded when it was fetched, so it will not be run: ${entry.dir}
196
- Something replaced it after it was downloaded. Delete that directory and re-run the same \`xanosdk deploy --local-engine\` to get it again.`
196
+ Something replaced it after it was downloaded. Delete that directory and re-run the same \`xanosdk deploy --local\` to get it again.`
197
197
  );
198
198
  }
199
199
  return entry.executable;
@@ -291,7 +291,7 @@ function diskBytes(path) {
291
291
  // src/deploy/local-engine-pin.ts
292
292
  import { existsSync, writeFileSync as writeFileSync2 } from "fs";
293
293
  import { join as join2 } from "path";
294
- var PIN_FIELD = "localEngine";
294
+ var PIN_FIELD = "engine";
295
295
  function isUnusablePin(pin) {
296
296
  return typeof pin === "object" && pin !== null;
297
297
  }
@@ -301,7 +301,7 @@ function readPin(projectDir, opts = {}) {
301
301
  const manifest = readProjectManifest(projectDir);
302
302
  if (manifest === null) {
303
303
  opts.warn?.(
304
- `${path} could not be parsed as a JSON object, so its local engine pin was not read.`
304
+ `${path} could not be parsed as a JSON object, so its Xano Engine pin was not read.`
305
305
  );
306
306
  return { unusable: void 0 };
307
307
  }
@@ -323,7 +323,7 @@ function readPin(projectDir, opts = {}) {
323
323
  function writePin(projectDir, version) {
324
324
  if (!RELEASE_VERSION.test(version)) {
325
325
  throw new Error(
326
- `cannot pin local engine version ${JSON.stringify(version)}: expected vMAJOR.MINOR.PATCH, like "v0.1.5".`
326
+ `cannot pin Xano Engine version ${JSON.stringify(version)}: expected vMAJOR.MINOR.PATCH, like "v0.1.5".`
327
327
  );
328
328
  }
329
329
  const path = join2(projectDir, "package.json");
@@ -362,4 +362,4 @@ export {
362
362
  readPin,
363
363
  writePin
364
364
  };
365
- //# sourceMappingURL=chunk-D64XUF5Q.js.map
365
+ //# sourceMappingURL=chunk-YYLUBYXM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  exportWorkspaceBundle
3
- } from "./chunk-QV3GXQRE.js";
3
+ } from "./chunk-GOLFAEUV.js";
4
4
  import {
5
5
  encodeWorkspaceArchive,
6
6
  readArchiveEntries
@@ -10,23 +10,23 @@ import {
10
10
  } from "./chunk-X4DVXBFY.js";
11
11
  import {
12
12
  resolveSource
13
- } from "./chunk-2AUV6NXK.js";
13
+ } from "./chunk-3II44CUJ.js";
14
14
  import {
15
15
  downloadRelease
16
- } from "./chunk-A6QTTJUI.js";
16
+ } from "./chunk-GWTFI3GA.js";
17
17
  import {
18
18
  backendDirIn
19
- } from "./chunk-E6H5ZEV3.js";
19
+ } from "./chunk-TTEIDD5Q.js";
20
20
  import {
21
21
  BARE,
22
22
  UsageError,
23
23
  isKindShaped,
24
24
  parseSource,
25
25
  relForwardSlash
26
- } from "./chunk-SBR2WZXG.js";
26
+ } from "./chunk-D7BUMOKU.js";
27
27
  import {
28
28
  calcSignatureJson
29
- } from "./chunk-EESV6NU2.js";
29
+ } from "./chunk-7FIMUFBP.js";
30
30
 
31
31
  // src/emit/deploy-source.ts
32
32
  import { existsSync } from "fs";
@@ -36,7 +36,7 @@ var DEPLOY_SOURCE_KINDS = [
36
36
  "ephemeral",
37
37
  "tenant",
38
38
  "workspace",
39
- "local-engine"
39
+ "local"
40
40
  ];
41
41
  var ENTRY_FILE = "index.ts";
42
42
  function looksLikeSource(raw) {
@@ -144,4 +144,4 @@ export {
144
144
  gatedApiGroups,
145
145
  asWorkspaceArchive
146
146
  };
147
- //# sourceMappingURL=chunk-VRVKNY4A.js.map
147
+ //# sourceMappingURL=chunk-Z4ZGTCCD.js.map