@xano/sdk 1.0.5 → 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 (249) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +26 -16
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-KVLR7M5Y.js → agent-file-refresh-67QIX45H.js} +14 -13
  5. package/dist/{answer-shape-XGR2DGWY.js → answer-shape-UCDUKPAN.js} +5 -5
  6. package/dist/{backend-dir-IE4RMUFH.js → backend-dir-3LIL6SCT.js} +13 -12
  7. package/dist/{backend-slot-6HBWG5FN.js → backend-slot-JREP27UD.js} +4 -4
  8. package/dist/bin.js +53 -52
  9. package/dist/{branch-T2APKPVG.js → branch-2IPHOAYS.js} +9 -9
  10. package/dist/{branch-commands-HXXTCSOO.js → branch-commands-KTKAXBAN.js} +29 -30
  11. package/dist/bundle.js +9 -39
  12. package/dist/{capture-HBXFXZEW.js → capture-GW5KNKMB.js} +3 -3
  13. package/dist/{chunk-JZWUAEMO.js → chunk-26MOFAJT.js} +2 -2
  14. package/dist/{chunk-RXCT3OCU.js → chunk-2FLIJGBZ.js} +3 -3
  15. package/dist/{chunk-UIEFE6FU.js → chunk-2WBH5HUY.js} +7 -7
  16. package/dist/{chunk-Y76ERHLK.js → chunk-3BBIDW3Y.js} +5 -5
  17. package/dist/{chunk-DGWHAVRG.js → chunk-3EDSPMXN.js} +12 -1
  18. package/dist/{chunk-JXKO6JT7.js → chunk-3II44CUJ.js} +14 -14
  19. package/dist/{chunk-7GX445AE.js → chunk-4XHAT7C5.js} +2 -2
  20. package/dist/{chunk-OKNE3TWU.js → chunk-5KJBWIDZ.js} +83 -5
  21. package/dist/{chunk-SRX6B544.js → chunk-5QMJOE2K.js} +5 -5
  22. package/dist/{chunk-UJ6ZZJDD.js → chunk-5TVFLG3C.js} +2 -2
  23. package/dist/{chunk-L3BDO2BI.js → chunk-5YQV35C2.js} +7 -7
  24. package/dist/{chunk-Z4VN347O.js → chunk-6X3MY2JP.js} +2 -2
  25. package/dist/{chunk-65SW2BA5.js → chunk-6X6BJN6Y.js} +3 -3
  26. package/dist/{chunk-M7GJ6YUF.js → chunk-763M6LX3.js} +16 -2
  27. package/dist/{chunk-XJU6UAFV.js → chunk-7FIMUFBP.js} +2 -2
  28. package/dist/{chunk-TEBS7FE6.js → chunk-7GAIJW62.js} +2 -2
  29. package/dist/{chunk-K6CB5TKM.js → chunk-7REDHC4N.js} +2 -2
  30. package/dist/chunk-7VR4IO5B.js +44 -0
  31. package/dist/chunk-A7MRZ4GF.js +78 -0
  32. package/dist/{chunk-CV54PASI.js → chunk-ATJ2W7DC.js} +70 -50
  33. package/dist/{chunk-WYS6XVZ3.js → chunk-AVS4WPPY.js} +2 -2
  34. package/dist/{chunk-5XVBT6CQ.js → chunk-BL3AZ3AP.js} +2 -2
  35. package/dist/chunk-BTVUYHWV.js +111 -0
  36. package/dist/{chunk-NGAODDLX.js → chunk-CCU5CCRX.js} +4 -4
  37. package/dist/{chunk-BBPAXOU6.js → chunk-CHINR7WD.js} +6 -6
  38. package/dist/{chunk-SQPIECXD.js → chunk-CJDPSCMX.js} +45 -5
  39. package/dist/{chunk-3HOGFGKG.js → chunk-D3KEPRRN.js} +2 -2
  40. package/dist/{chunk-XNZURZ7T.js → chunk-D7BUMOKU.js} +2 -2
  41. package/dist/{chunk-WRBKLYSJ.js → chunk-DNBP4GJN.js} +4 -3
  42. package/dist/{chunk-XMDDBEEM.js → chunk-E763QI3G.js} +2 -2
  43. package/dist/{chunk-4NEBBKOP.js → chunk-EADVVTDK.js} +7 -7
  44. package/dist/{chunk-N6BWB35H.js → chunk-ENMBEXOP.js} +3 -3
  45. package/dist/{chunk-57HMNJGB.js → chunk-EQFYOOO6.js} +69 -34
  46. package/dist/{chunk-WOGJB2F6.js → chunk-FNLTFOUD.js} +4 -9
  47. package/dist/{chunk-FV55SRQU.js → chunk-FQ53GTII.js} +9 -9
  48. package/dist/{chunk-TUEFTRC2.js → chunk-FU3VCE5A.js} +45 -26
  49. package/dist/{chunk-YSLMMR2U.js → chunk-GHQ4BVI4.js} +14 -14
  50. package/dist/{chunk-Z2BRSQ6M.js → chunk-GLY552SI.js} +84 -57
  51. package/dist/{chunk-XIABDKFQ.js → chunk-GOLFAEUV.js} +2 -2
  52. package/dist/{chunk-ZHGWR45B.js → chunk-GW5RHGOB.js} +8 -8
  53. package/dist/{chunk-3BJYQGAZ.js → chunk-GWTFI3GA.js} +2 -2
  54. package/dist/{chunk-K6PRKPFX.js → chunk-GZHLCUZ6.js} +7 -7
  55. package/dist/{chunk-LLS2WO2K.js → chunk-HCG7NDIL.js} +4 -4
  56. package/dist/{chunk-NNB7VUCH.js → chunk-I3H3HCPY.js} +47 -26
  57. package/dist/{chunk-KUU7T4ZE.js → chunk-I3VHW6XM.js} +13 -13
  58. package/dist/{chunk-ES5A66IH.js → chunk-IF4PEGVD.js} +8 -8
  59. package/dist/{chunk-Y6NO3DLQ.js → chunk-IMELQ2I6.js} +3 -3
  60. package/dist/{chunk-V4IBHDIY.js → chunk-ITC2R2OT.js} +7 -7
  61. package/dist/{chunk-KQLACS4Q.js → chunk-IXFJORNH.js} +4 -4
  62. package/dist/{chunk-SF2B7MZK.js → chunk-IYXL5NYU.js} +259 -31
  63. package/dist/{chunk-57B56I4B.js → chunk-JFBRXRJD.js} +58 -34
  64. package/dist/chunk-JI3BLXWQ.js +107 -0
  65. package/dist/{chunk-4DJTQ6W4.js → chunk-JIKGT7DO.js} +2 -1
  66. package/dist/{chunk-5D6DGF3W.js → chunk-JRVQ7M7W.js} +8 -8
  67. package/dist/{chunk-AESE434J.js → chunk-JXVJGF3Y.js} +2 -2
  68. package/dist/chunk-KPFS3RGM.js +257 -0
  69. package/dist/{chunk-SNGFEESM.js → chunk-LAOMN6QQ.js} +3 -3
  70. package/dist/{chunk-TM5LRSBB.js → chunk-LBJA7IEM.js} +370 -45
  71. package/dist/{chunk-OVV2HXJ6.js → chunk-LD6ARK3A.js} +2 -2
  72. package/dist/{chunk-F6IKWAIU.js → chunk-LL7SGTRC.js} +18 -19
  73. package/dist/{chunk-OJPZEUPH.js → chunk-M5CSVB23.js} +4 -4
  74. package/dist/{chunk-GMVW6ZZK.js → chunk-MBDFH7XB.js} +4 -4
  75. package/dist/{chunk-5YBNXNKU.js → chunk-MFWF2NZJ.js} +12 -5
  76. package/dist/{chunk-G57RYMKB.js → chunk-N5I37JFB.js} +2 -2
  77. package/dist/{chunk-QOLOQ35F.js → chunk-ND43ZOS3.js} +5 -5
  78. package/dist/chunk-NDWVJ2QZ.js +67 -0
  79. package/dist/{chunk-5RLAF6RL.js → chunk-NPODGBVJ.js} +4 -4
  80. package/dist/{chunk-JQOX6HW4.js → chunk-OIKLDDYC.js} +2 -2
  81. package/dist/{chunk-AMBEITWL.js → chunk-PFBXSVZF.js} +4 -4
  82. package/dist/{chunk-3VX7VAQT.js → chunk-PMMHSX4H.js} +26 -9
  83. package/dist/{chunk-MYLPOVX6.js → chunk-QJM5XZ4K.js} +5 -5
  84. package/dist/{chunk-U6DR6464.js → chunk-QXYMDARD.js} +4 -4
  85. package/dist/{chunk-DEVGLLNZ.js → chunk-QZEAANWP.js} +5 -5
  86. package/dist/{chunk-LZDA6SVD.js → chunk-RIN4YY34.js} +78 -65
  87. package/dist/{chunk-37FBPMNE.js → chunk-S56YBYMN.js} +5 -2
  88. package/dist/{chunk-S5TEJIGP.js → chunk-SKEG3V2V.js} +2 -2
  89. package/dist/{chunk-VZ22VUAS.js → chunk-SLGJIWCY.js} +3 -3
  90. package/dist/{chunk-4QFBEKXI.js → chunk-SPITRSOF.js} +2 -2
  91. package/dist/{chunk-QZTJ2556.js → chunk-SPKA2LV6.js} +4 -4
  92. package/dist/{chunk-YI76TURL.js → chunk-SSITMX7I.js} +8 -8
  93. package/dist/{chunk-JSEVKRVJ.js → chunk-T4LJ5UR2.js} +29 -7
  94. package/dist/{chunk-44CWK6YC.js → chunk-TECTL2NU.js} +4 -4
  95. package/dist/{chunk-AGD7F7YI.js → chunk-TTEIDD5Q.js} +3 -3
  96. package/dist/{chunk-NUU76247.js → chunk-U35MTOXQ.js} +3 -3
  97. package/dist/{chunk-4QBGE3EO.js → chunk-U6MTGB46.js} +4 -4
  98. package/dist/{chunk-3WHWOKU4.js → chunk-UD2Z7K6W.js} +4 -4
  99. package/dist/{chunk-I5VEROXW.js → chunk-UIVMR7UK.js} +2 -2
  100. package/dist/{chunk-F3557PVM.js → chunk-VDHA5SSQ.js} +2 -2
  101. package/dist/{chunk-3IYVHVM6.js → chunk-VJFMUJWZ.js} +4 -4
  102. package/dist/{chunk-4GDEEY2U.js → chunk-VW4CWVYX.js} +4 -4
  103. package/dist/chunk-WAVNUTMT.js +9 -0
  104. package/dist/{chunk-A4NNCI4O.js → chunk-WBH4KJWM.js} +3 -3
  105. package/dist/{chunk-HOOOOJJP.js → chunk-WZHLMU6T.js} +2 -2
  106. package/dist/{chunk-S5KQIFKJ.js → chunk-XFBGXB7X.js} +130 -86
  107. package/dist/{chunk-IV446ZLJ.js → chunk-Y453TW6J.js} +2 -2
  108. package/dist/{chunk-CJ76PSJT.js → chunk-YGLMRH5U.js} +8 -8
  109. package/dist/{chunk-GPI3OWRE.js → chunk-YHB34BN6.js} +2 -1
  110. package/dist/{chunk-BMCZQZMI.js → chunk-YKP4ZKVO.js} +13 -9
  111. package/dist/{chunk-HLQH3AXB.js → chunk-YR2I5HGE.js} +2 -2
  112. package/dist/{chunk-OGUMHW2X.js → chunk-YYC2DZMG.js} +7 -7
  113. package/dist/{chunk-Z3SNX45M.js → chunk-YYLUBYXM.js} +2 -2
  114. package/dist/{chunk-PIPIA7K7.js → chunk-Z4ZGTCCD.js} +7 -7
  115. package/dist/{chunk-AGSCOISO.js → chunk-ZDP6GDAB.js} +75 -75
  116. package/dist/{chunk-7DBM6XHR.js → chunk-ZJSTUD6D.js} +8 -8
  117. package/dist/cli.d.ts +17 -9
  118. package/dist/cli.js +51 -50
  119. package/dist/{codegen-command-L2OO6OTE.js → codegen-command-R5IASBFC.js} +72 -66
  120. package/dist/codegen.d.ts +2 -2
  121. package/dist/codegen.js +2 -2
  122. package/dist/{commands-2E4JB3DB.js → commands-H7CPMMHH.js} +3 -3
  123. package/dist/{completion-LPJIH5VQ.js → completion-W5ZAI6TN.js} +3 -3
  124. package/dist/{config-QDCRKEWD.js → config-MZ5KG4EP.js} +4 -4
  125. package/dist/{deploy-command-HJZNYCUY.js → deploy-command-34T2LKQ5.js} +58 -57
  126. package/dist/{deploy-source-5COWTBOC.js → deploy-source-YLQ7WMYR.js} +32 -31
  127. package/dist/{dev-env-sync-GZ4QQJGV.js → dev-env-sync-TMJTNU3U.js} +52 -51
  128. package/dist/{diagnostics-LSMGB4TY.js → diagnostics-OMN5Y2AH.js} +2 -2
  129. package/dist/{display-name-hint-AHCNH6TF.js → display-name-hint-ZJGFNJKQ.js} +11 -11
  130. package/dist/{emit-DqG6qddr.d.ts → emit-D125xxty.d.ts} +66 -20
  131. package/dist/env-example-refresh-CQP3ZMKM.js +133 -0
  132. package/dist/{env-pull-command-Z4RLVEGJ.js → env-pull-command-UTG6IC2K.js} +46 -46
  133. package/dist/{env-target-ZHQUS5BO.js → env-target-FZROWYFS.js} +12 -12
  134. package/dist/{env-var-command-FKQ4VVQ6.js → env-var-command-VYDBQJJW.js} +41 -40
  135. package/dist/{ephemeral-L4KUOGEU.js → ephemeral-BIE6FMJV.js} +9 -9
  136. package/dist/{ephemeral-command-GRPFI3TD.js → ephemeral-command-OZ26RGXF.js} +47 -47
  137. package/dist/{ephemeral-state-VLYU2BXR.js → ephemeral-state-SNZOX2YK.js} +10 -10
  138. package/dist/{generate-command-XNODJFDQ.js → generate-command-4HR7MR36.js} +80 -72
  139. package/dist/{gitignore-VWRSZX5F.js → gitignore-EWQBXNX2.js} +17 -16
  140. package/dist/{guards-OPSGB6LG.js → guards-KYEOCVHN.js} +6 -6
  141. package/dist/{impersonate-command-AEKIZHHK.js → impersonate-command-WC7OGKUM.js} +37 -36
  142. package/dist/{import-PHSSFFLA.js → import-7Z4GCCPO.js} +5 -5
  143. package/dist/index.d.ts +14 -20
  144. package/dist/index.js +13 -13
  145. package/dist/{init-command-TI3HCKXZ.js → init-command-HAO3WXH3.js} +57 -55
  146. package/dist/{init-modules-SGSX7XEY.js → init-modules-NSKD4ASY.js} +10 -9
  147. package/dist/{init-web-6HX3YLQP.js → init-web-MKFFOQUU.js} +3 -3
  148. package/dist/internal.d.ts +5 -5
  149. package/dist/internal.js +47 -20
  150. package/dist/{io-TAF4WXYQ.js → io-PGTCBSIQ.js} +6 -4
  151. package/dist/{keep-data-merge-GUGF7MVZ.js → keep-data-merge-QR2TMKEO.js} +28 -29
  152. package/dist/{lambda-config-reconcile-65U6I4KU.js → lambda-config-reconcile-7FJXXV6V.js} +3 -3
  153. package/dist/{landed-QA6PRTV2.js → landed-F7PCHGCK.js} +3 -3
  154. package/dist/{landing-record-FCAWLCZU.js → landing-record-MWXFIRCP.js} +22 -21
  155. package/dist/{live-diff-IM4W3ELT.js → live-diff-5E2BQWQ7.js} +9 -8
  156. package/dist/{local-engine-choice-FPJAZSSD.js → local-engine-choice-VD5LNXJU.js} +35 -34
  157. package/dist/{local-engine-command-73NHWD6V.js → local-engine-command-RYLGMQ2O.js} +40 -39
  158. package/dist/{local-engine-deploy-Y4OAWL7K.js → local-engine-deploy-6O7NKZCA.js} +12 -12
  159. package/dist/{local-engine-process-6YPJHKYM.js → local-engine-process-ZLLZEIRF.js} +7 -7
  160. package/dist/{local-engine-update-check-X7TZGRFL.js → local-engine-update-check-LVX4HBBI.js} +5 -5
  161. package/dist/{lock-WXXC3QHL.js → lock-HDCHD2ON.js} +4 -2
  162. package/dist/{lock-commands-PKDBNRSD.js → lock-commands-X2OECR4R.js} +56 -55
  163. package/dist/{login-command-V4U4FA5G.js → login-command-RLLKD565.js} +27 -26
  164. package/dist/{logout-command-TV3P545Z.js → logout-command-XDMSXCDO.js} +15 -15
  165. package/dist/{loop-VKHGQ6MP.js → loop-SUB6C2LK.js} +8 -9
  166. package/dist/{marketplace-command-LEFOAEAV.js → marketplace-command-2NHHY2X3.js} +86 -50
  167. package/dist/{marketplace-resolve-ME7O7JBJ.js → marketplace-resolve-OTZYT4FG.js} +7 -6
  168. package/dist/{meta-client-TEEECA5W.js → meta-client-TMHVBZFY.js} +13 -13
  169. package/dist/{module-manifest-7YLGIRCY.js → module-manifest-FNMW23IX.js} +7 -4
  170. package/dist/node.d.ts +5 -5
  171. package/dist/node.js +57 -57
  172. package/dist/{operation-outcome-GNDD35WL.js → operation-outcome-RN62735X.js} +22 -22
  173. package/dist/{output-target-5FWX3NGZ.js → output-target-MOLCTPBP.js} +18 -17
  174. package/dist/{package-manager-PRAHUSCN.js → package-manager-K762W7XT.js} +2 -2
  175. package/dist/{plan-disclosure-QGL5UYQR.js → plan-disclosure-CY7AF6KP.js} +19 -20
  176. package/dist/{plugin-contributions-GNFTWDEB.js → plugin-contributions-WR26U7NT.js} +6 -6
  177. package/dist/{plugin-prompt-VEQGMZ4T.js → plugin-prompt-ZUYQQIX4.js} +5 -5
  178. package/dist/{plugin-questions-BGRL23GO.js → plugin-questions-HAZOQ67R.js} +4 -4
  179. package/dist/plugin.d.ts +254 -10
  180. package/dist/{preflight-command-VKJKXRRI.js → preflight-command-OHJXYND3.js} +64 -64
  181. package/dist/{profile-command-P7A3BH26.js → profile-command-6JWT2BTL.js} +28 -27
  182. package/dist/{profile-pointer-HG7IXE4I.js → profile-pointer-PDA5XBIB.js} +4 -4
  183. package/dist/{project-dependency-Z4CKOCJI.js → project-dependency-GZWWGWEW.js} +11 -8
  184. package/dist/{project-sdk-JWZWGXXR.js → project-sdk-3W72H5QO.js} +4 -4
  185. package/dist/promote-command-UYAMUXKB.js +146 -0
  186. package/dist/{prompt-SURZOUUW.js → prompt-U37K5RPQ.js} +4 -4
  187. package/dist/{publish-command-HGAB3H4A.js → publish-command-BUS27HGB.js} +61 -60
  188. package/dist/{pull-command-EUEWBRXZ.js → pull-command-ZGUNP27P.js} +75 -69
  189. package/dist/{pull-superseded-TOT5S4QU.js → pull-superseded-EZBGYRZF.js} +4 -4
  190. package/dist/{raw-where-EoWl5fqY.d.ts → raw-where-ZMLND6AG.d.ts} +20 -3
  191. package/dist/{release-command-WOVQAMUY.js → release-command-BQ6OHS3P.js} +69 -66
  192. package/dist/{release-ns-command-WOQE2BDQ.js → release-ns-command-ATGVBVIU.js} +85 -85
  193. package/dist/{retry-command-JRGMZZAC.js → retry-command-QJ57WVW7.js} +8 -8
  194. package/dist/{routes-manifest-URFMAWJE.js → routes-manifest-YR4ZIMLM.js} +15 -7
  195. package/dist/routes-manifest-file-UALYSZLY.js +41 -0
  196. package/dist/scaffold.js +2 -2
  197. package/dist/{secrets-file-YWZWVJ52.js → secrets-file-LMS7KX3E.js} +17 -16
  198. package/dist/{secrets-fill-command-HIHK3VH2.js → secrets-fill-command-QNBDGCGM.js} +55 -54
  199. package/dist/{seed-24DTEY5S.js → seed-SZ6OS5DQ.js} +8 -8
  200. package/dist/{source-resolve-OWD3MIEO.js → source-resolve-MKLNYFWG.js} +20 -20
  201. package/dist/{static-host-UIR2OLPQ.js → static-host-ONEHA4LI.js} +5 -5
  202. package/dist/{status-command-JKTHH5QE.js → status-command-XKIFKBGM.js} +38 -37
  203. package/dist/{store-zxw2go0f.d.ts → store-Bg4Na6Sm.d.ts} +2 -2
  204. package/dist/{store-5YAQS6KU.js → store-X6ZH7EC3.js} +6 -6
  205. package/dist/sync-baseline-DOV5AGIO.js +36 -0
  206. package/dist/{sync-contributions-RBB6JVOL.js → sync-contributions-HNVHDIQW.js} +20 -12
  207. package/dist/sync-record-PRXHLK4S.js +42 -0
  208. package/dist/{table-MQFVYA4K.js → table-DC36QA4Y.js} +8 -8
  209. package/dist/{tables-command-5Q4BSUNO.js → tables-command-UQLKTELN.js} +38 -37
  210. package/dist/{tenant-Q3LPVSSM.js → tenant-EKNQGG5A.js} +10 -10
  211. package/dist/{tenant-command-BFVU2PEX.js → tenant-command-2LWP2MPB.js} +99 -94
  212. package/dist/{test-command-F4VUU4QR.js → test-command-IU5MBBXY.js} +36 -35
  213. package/dist/{tests-5ZSDFVIJ.js → tests-RG2Y5EQ4.js} +6 -6
  214. package/dist/{token-TERSTNU4.js → token-7AWSJLKO.js} +11 -11
  215. package/dist/toolchain-hooks-4ZMQLBPQ.js +46 -0
  216. package/dist/{toolchain-modules-FD5ANV2U.js → toolchain-modules-VU7SURVJ.js} +8 -5
  217. package/dist/toolchain-peers-CIDNEEQV.js +28 -0
  218. package/dist/{tracked-backend-B4HTME4S.js → tracked-backend-4BHSV7NC.js} +34 -33
  219. package/dist/{update-check-O4C2LCZH.js → update-check-A7FXIINW.js} +54 -53
  220. package/dist/{upgrade-command-NVFWLMTA.js → upgrade-command-C5KBITFI.js} +58 -57
  221. package/dist/{whoami-command-YKNTISIV.js → whoami-command-7WQII2H4.js} +14 -14
  222. package/dist/{workspace-GGVGE2S5.js → workspace-Z46PUZNI.js} +5 -5
  223. package/dist/{workspace-binding-OS4ZOX4S.js → workspace-binding-JE6YNDZJ.js} +13 -13
  224. package/dist/{workspace-command-GTUNVN7K.js → workspace-command-FC4IMLAE.js} +113 -82
  225. package/dist/{workspace-env-467C5KHM.js → workspace-env-N4ZPFT6A.js} +14 -13
  226. package/dist/{workspace-export-3XTVGQVM.js → workspace-export-3A5BZTPS.js} +5 -5
  227. package/dist/{writable-7SSWUQJ3.js → writable-D7KCZI5N.js} +4 -4
  228. package/dist/{xano-6RS5XQZE.js → xano-LCI7VWPS.js} +8 -8
  229. package/dist/{xanosdk-import-E3WSIYUE.js → xanosdk-import-P2A2KSXM.js} +8 -8
  230. package/dist/{xanosdk-project-KH5TZ2KI.js → xanosdk-project-6AGMW2SL.js} +15 -14
  231. package/guides/cli.md +4 -4
  232. package/guides/codes.md +7 -2
  233. package/guides/deploying.md +52 -0
  234. package/guides/marketplace.md +21 -0
  235. package/guides/module-contract.md +80 -4
  236. package/guides/typed-frontend.md +37 -0
  237. package/llms/client.md +11 -1
  238. package/llms/filters.md +4 -0
  239. package/llms/kinds-core.md +1 -1
  240. package/llms/statements-data.md +3 -2
  241. package/llms/toolchain.md +12 -0
  242. package/llms-full.txt +34 -7
  243. package/llms.txt +3 -3
  244. package/manifest.json +1 -1
  245. package/package.json +1 -1
  246. package/dist/chunk-MEIJDRHU.js +0 -243
  247. package/dist/env-example-refresh-DWQIOQYR.js +0 -127
  248. package/dist/promote-command-KHTIK44I.js +0 -141
  249. package/dist/toolchain-hooks-QVUZ6HZ4.js +0 -96
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  fixtureDirForKind
3
- } from "./chunk-IV446ZLJ.js";
4
- import "./chunk-OKNE3TWU.js";
3
+ } from "./chunk-Y453TW6J.js";
4
+ import "./chunk-5KJBWIDZ.js";
5
5
  import "./chunk-5ZSO4T2G.js";
6
6
  import "./chunk-VQPDATQT.js";
7
7
  import "./chunk-LL6ED5IB.js";
@@ -38,4 +38,4 @@ function safeName(name) {
38
38
  export {
39
39
  captureFixtures
40
40
  };
41
- //# sourceMappingURL=capture-HBXFXZEW.js.map
41
+ //# sourceMappingURL=capture-GW5KNKMB.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-MF4W6FHU.js";
7
7
  import {
8
8
  UsageError
9
- } from "./chunk-XNZURZ7T.js";
9
+ } from "./chunk-D7BUMOKU.js";
10
10
  import {
11
11
  shellQuote
12
12
  } from "./chunk-5ZSO4T2G.js";
@@ -156,4 +156,4 @@ export {
156
156
  pointerRootFor,
157
157
  projectRootFor
158
158
  };
159
- //# sourceMappingURL=chunk-JZWUAEMO.js.map
159
+ //# sourceMappingURL=chunk-26MOFAJT.js.map
@@ -4,7 +4,7 @@ import {
4
4
  readEngineEntry,
5
5
  readPin,
6
6
  verifiedEngineExecutable
7
- } from "./chunk-Z3SNX45M.js";
7
+ } from "./chunk-YYLUBYXM.js";
8
8
  import {
9
9
  clearEngineRecordsNamed,
10
10
  listEngineRecords
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  fetchOrExplain,
22
22
  httpFailureError
23
- } from "./chunk-HLQH3AXB.js";
23
+ } from "./chunk-YR2I5HGE.js";
24
24
 
25
25
  // src/deploy/local-engine-process.ts
26
26
  import { spawn as nodeSpawn, spawnSync } from "child_process";
@@ -393,4 +393,4 @@ export {
393
393
  findOrphanedEngineProcesses,
394
394
  stopOrphanedEngineProcesses
395
395
  };
396
- //# sourceMappingURL=chunk-RXCT3OCU.js.map
396
+ //# sourceMappingURL=chunk-2FLIJGBZ.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ENV_WORKSPACE
3
- } from "./chunk-CJ76PSJT.js";
3
+ } from "./chunk-YGLMRH5U.js";
4
4
  import {
5
5
  credentialFileOf
6
- } from "./chunk-G57RYMKB.js";
6
+ } from "./chunk-N5I37JFB.js";
7
7
  import {
8
8
  credentialFileFlag,
9
9
  globalAuthFilePath,
@@ -12,14 +12,14 @@ import {
12
12
  readProfile,
13
13
  recordedCredentialPath,
14
14
  sameOriginAs
15
- } from "./chunk-OJPZEUPH.js";
15
+ } from "./chunk-M5CSVB23.js";
16
16
  import {
17
17
  readEnvVar
18
18
  } from "./chunk-X2NL4KUO.js";
19
19
  import {
20
20
  CliError,
21
21
  UsageError
22
- } from "./chunk-XNZURZ7T.js";
22
+ } from "./chunk-D7BUMOKU.js";
23
23
  import {
24
24
  shellQuote
25
25
  } from "./chunk-5ZSO4T2G.js";
@@ -65,7 +65,7 @@ async function readReachableWorkspaces(auth, timeoutMs = 3e4) {
65
65
  }
66
66
  }
67
67
  async function whereaboutsOf(auth, name, kinds) {
68
- const { listAllEphemeral } = await import("./ephemeral-L4KUOGEU.js");
68
+ const { listAllEphemeral } = await import("./ephemeral-BIE6FMJV.js");
69
69
  const failures = [];
70
70
  const reason = (err) => (err instanceof Error ? err.message : String(err)).split("\n")[0].replace(/[.:]$/, "");
71
71
  const [all, ephemerals] = await Promise.all([
@@ -78,7 +78,7 @@ async function whereaboutsOf(auth, name, kinds) {
78
78
  const listed = ephemerals?.some((r) => r.name === name) === true;
79
79
  if (kinds === "ephemeral" && ephemerals !== void 0 && !listed) return { at: "nowhere" };
80
80
  if (all === void 0) failures.push("the workspace list could not be read");
81
- const { getTenant } = await import("./tenant-Q3LPVSSM.js");
81
+ const { getTenant } = await import("./tenant-EKNQGG5A.js");
82
82
  const others = (all ?? []).filter((w) => w.id !== auth.workspaceId);
83
83
  const found = await Promise.all(
84
84
  others.map(
@@ -162,4 +162,4 @@ export {
162
162
  rerunInWorkspace,
163
163
  heldElsewhereError
164
164
  };
165
- //# sourceMappingURL=chunk-UIEFE6FU.js.map
165
+ //# sourceMappingURL=chunk-2WBH5HUY.js.map
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-ROY4YAEQ.js";
4
4
  import {
5
5
  LocalFileNotFoundError
6
- } from "./chunk-XNZURZ7T.js";
6
+ } from "./chunk-D7BUMOKU.js";
7
7
  import {
8
8
  buildContentEnvelope
9
- } from "./chunk-XJU6UAFV.js";
9
+ } from "./chunk-7FIMUFBP.js";
10
10
  import {
11
11
  SEED_FILE,
12
12
  assertSeedIds,
@@ -17,10 +17,10 @@ import {
17
17
  seedFailure,
18
18
  tableColumns,
19
19
  tableIndexes
20
- } from "./chunk-VZ22VUAS.js";
20
+ } from "./chunk-SLGJIWCY.js";
21
21
  import {
22
22
  DiagnosticError
23
- } from "./chunk-GPI3OWRE.js";
23
+ } from "./chunk-YHB34BN6.js";
24
24
  import {
25
25
  HOSTED_FILE,
26
26
  HOSTED_FILE_SCHEME,
@@ -404,4 +404,4 @@ export {
404
404
  collectNonPublicSeedValues,
405
405
  seedRowsByTableGuid
406
406
  };
407
- //# sourceMappingURL=chunk-Y76ERHLK.js.map
407
+ //# sourceMappingURL=chunk-3BBIDW3Y.js.map
@@ -5,6 +5,16 @@ var HASH_DIALECT = {
5
5
  stamp: (version) => `# xanosdk ${version} \u2014 generated; edits inside this block are overwritten`,
6
6
  parseStamp: (block) => /^# xanosdk (\S+) — generated/m.exec(block)?.[1] ?? null
7
7
  };
8
+ function htmlDialect(name) {
9
+ const begin = `<!-- BEGIN:${name} -->`;
10
+ const end = `<!-- END:${name} -->`;
11
+ return {
12
+ begin: () => begin,
13
+ end: () => end,
14
+ stamp: (version) => `<!-- xanosdk ${version} \u2014 generated; edits inside this block are overwritten -->`,
15
+ parseStamp: (block) => /<!-- xanosdk (\S+) — generated/.exec(block)?.[1] ?? null
16
+ };
17
+ }
8
18
  var CONFLICT_MARKERS = ["<<<<<<<", ">>>>>>>"];
9
19
  function composeBlock(spec, lines, version) {
10
20
  const body = trimBlankEdges(lines.flatMap((line) => line.split(/\r?\n/)));
@@ -150,6 +160,7 @@ function settle(before, after) {
150
160
 
151
161
  export {
152
162
  HASH_DIALECT,
163
+ htmlDialect,
153
164
  composeBlock,
154
165
  gitattributesSpec,
155
166
  linesOutsideBlocks,
@@ -159,4 +170,4 @@ export {
159
170
  upsertBlock,
160
171
  removeBlock
161
172
  };
162
- //# sourceMappingURL=chunk-DGWHAVRG.js.map
173
+ //# sourceMappingURL=chunk-3EDSPMXN.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  findRelease,
3
3
  listReleases
4
- } from "./chunk-3BJYQGAZ.js";
4
+ } from "./chunk-GWTFI3GA.js";
5
5
  import {
6
6
  isSignatureRefusal
7
- } from "./chunk-5XVBT6CQ.js";
7
+ } from "./chunk-BL3AZ3AP.js";
8
8
  import {
9
9
  resolveEphemeralName
10
- } from "./chunk-V4IBHDIY.js";
10
+ } from "./chunk-ITC2R2OT.js";
11
11
  import {
12
12
  displayNameHint,
13
13
  displayNameOwner,
@@ -17,11 +17,11 @@ import {
17
17
  selectorFix,
18
18
  sentenceCase,
19
19
  sharedDisplayHint
20
- } from "./chunk-KQLACS4Q.js";
20
+ } from "./chunk-IXFJORNH.js";
21
21
  import {
22
22
  getTenant,
23
23
  tenantHasWorkspace
24
- } from "./chunk-4GDEEY2U.js";
24
+ } from "./chunk-VW4CWVYX.js";
25
25
  import {
26
26
  clearEngineRecordsNamed,
27
27
  getEngineRecord,
@@ -34,17 +34,17 @@ import {
34
34
  clearEnvironment,
35
35
  getEnvironment,
36
36
  readEphemeralState
37
- } from "./chunk-4QBGE3EO.js";
37
+ } from "./chunk-U6MTGB46.js";
38
38
  import {
39
39
  getEphemeral,
40
40
  isExpired
41
- } from "./chunk-QZTJ2556.js";
41
+ } from "./chunk-SPKA2LV6.js";
42
42
  import {
43
43
  pipedYes
44
- } from "./chunk-Z4VN347O.js";
44
+ } from "./chunk-6X3MY2JP.js";
45
45
  import {
46
46
  contextFlags
47
- } from "./chunk-G57RYMKB.js";
47
+ } from "./chunk-N5I37JFB.js";
48
48
  import {
49
49
  TransportError,
50
50
  UNTRUSTED_CERTIFICATE,
@@ -52,12 +52,12 @@ import {
52
52
  certificateFailureCode,
53
53
  isTimeoutError,
54
54
  lastRateLimitRetryAfter
55
- } from "./chunk-HLQH3AXB.js";
55
+ } from "./chunk-YR2I5HGE.js";
56
56
  import {
57
57
  CliError,
58
58
  EXIT_SOURCE_UNRESOLVABLE,
59
59
  safeText
60
- } from "./chunk-XNZURZ7T.js";
60
+ } from "./chunk-D7BUMOKU.js";
61
61
  import {
62
62
  suggest,
63
63
  suggestAll
@@ -561,13 +561,13 @@ function engineNotRunning(name, clearedProjects, deployFallback = true, nearest,
561
561
  }
562
562
  function defaultSweep(env) {
563
563
  return async () => {
564
- const { stopOrphanedEngineProcesses } = await import("./local-engine-process-6YPJHKYM.js");
564
+ const { stopOrphanedEngineProcesses } = await import("./local-engine-process-ZLLZEIRF.js");
565
565
  return stopOrphanedEngineProcesses({ env }).stopped;
566
566
  };
567
567
  }
568
568
  function defaultEnumeration(env, cwd) {
569
569
  return async () => {
570
- const { cachedEngineEntry, listEngines } = await import("./local-engine-process-6YPJHKYM.js");
570
+ const { cachedEngineEntry, listEngines } = await import("./local-engine-process-ZLLZEIRF.js");
571
571
  const entry = cachedEngineEntry(env, cwd);
572
572
  return entry === void 0 ? void 0 : listEngines({ entry, env });
573
573
  };
@@ -598,4 +598,4 @@ export {
598
598
  releaseNames,
599
599
  resolveSource
600
600
  };
601
- //# sourceMappingURL=chunk-JXKO6JT7.js.map
601
+ //# sourceMappingURL=chunk-3II44CUJ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  encodeInput,
3
3
  f,
4
4
  input
5
- } from "./chunk-37FBPMNE.js";
5
+ } from "./chunk-S56YBYMN.js";
6
6
 
7
7
  // src/kinds/trigger-inputs.ts
8
8
  var ERROR_EVENT_DESCRIPTION = `Which event fired the trigger. "new" fires on first capture and on every snapshot re-capture for non-ignored signatures (rate-limited by the ~5min snapshot dedup window). "regression" fires when a previously-fixed signature re-occurs (the fix didn't hold, or the same bug regressed back). "fixed" fires when a user marks a signature as fixed.`;
@@ -207,4 +207,4 @@ export {
207
207
  impliedInputs,
208
208
  isTriggerObjType
209
209
  };
210
- //# sourceMappingURL=chunk-7GX445AE.js.map
210
+ //# sourceMappingURL=chunk-4XHAT7C5.js.map
@@ -230,13 +230,20 @@ function appNamesByGuid(appSection) {
230
230
  return map;
231
231
  }
232
232
  var CANONICAL_SOURCES = /* @__PURE__ */ new Set(["code", "minted", "adopted"]);
233
+ var SYNC_SOURCES = /* @__PURE__ */ new Set(["deploy", "promote", "pull", "init"]);
234
+ function withSyncedOf(base, lock) {
235
+ return lock.synced !== void 0 && Object.keys(lock.synced).length > 0 ? { ...base, synced: lock.synced } : base;
236
+ }
233
237
  var DESTINATION_KEY = /^[^/\s]+\/(?:workspace\/[1-9]\d*|tenant\/[^/\s]+)$/;
234
238
  var EPHEMERAL_DESTINATION_KEY = /^[^/\s]+\/ephemeral\/[^/\s]+$/;
235
239
  function emptyLock() {
236
240
  return { version: LOCK_VERSION, objects: {} };
237
241
  }
238
242
  function withObjects(lock, objects) {
239
- return lock.landed !== void 0 && Object.keys(lock.landed).length > 0 ? { version: lock.version, objects, landed: lock.landed } : { version: lock.version, objects };
243
+ return withSyncedOf(
244
+ lock.landed !== void 0 && Object.keys(lock.landed).length > 0 ? { version: lock.version, objects, landed: lock.landed } : { version: lock.version, objects },
245
+ lock
246
+ );
240
247
  }
241
248
  function findDuplicateRawKey(text) {
242
249
  const stack = [];
@@ -297,7 +304,7 @@ function parseLockReport(text, path = "xano.lock", opts = {}) {
297
304
  if (/^(?:<{7}|>{7})(?: |$)|^={7}$/m.test(text)) {
298
305
  fail(
299
306
  path,
300
- `it holds unresolved merge-conflict markers (\`<<<<<<<\`, \`=======\`, \`>>>>>>>\`). Resolve it as the union of both sides: keep every entry under \`objects\` (and \`landed\`) from each, delete the markers, and fix the commas. Where both sides renamed one object, two keys then share a guid \u2014 keep the one your code exports and remove the other with \`xanosdk lock prune --identity-only --yes <key>\`.`
307
+ `it holds unresolved merge-conflict markers (\`<<<<<<<\`, \`=======\`, \`>>>>>>>\`). Resolve it as the union of both sides: keep every entry under \`objects\` (and \`landed\`) from each, delete the markers, and fix the commas. Under \`synced\`, keep either side's baseline for a branch, or delete it: a missing baseline only means \`workspace diff\` cannot say which side changed until the next deploy or pull. Where both sides renamed one object, two keys then share a guid \u2014 keep the one your code exports and remove the other with \`xanosdk lock prune --identity-only --yes <key>\`.`
301
308
  );
302
309
  }
303
310
  const dup = findDuplicateRawKey(text);
@@ -328,8 +335,14 @@ function parseLockReport(text, path = "xano.lock", opts = {}) {
328
335
  }
329
336
  const objects = validateLockObjects(obj.objects, path, opts);
330
337
  const landed = obj.landed === void 0 ? void 0 : validateLanded(obj.landed, path, droppedLandings);
338
+ const synced = obj.synced === void 0 ? void 0 : validateSynced(obj.synced);
331
339
  return {
332
- lock: { version: LOCK_VERSION, objects, ...landed !== void 0 && Object.keys(landed).length > 0 ? { landed } : {} },
340
+ lock: {
341
+ version: LOCK_VERSION,
342
+ objects,
343
+ ...landed !== void 0 && Object.keys(landed).length > 0 ? { landed } : {},
344
+ ...synced !== void 0 && Object.keys(synced).length > 0 ? { synced } : {}
345
+ },
333
346
  droppedLandings
334
347
  };
335
348
  }
@@ -369,6 +382,47 @@ function validateLanded(raw, path, dropped) {
369
382
  }
370
383
  return out;
371
384
  }
385
+ function sortedDigests(digests) {
386
+ return Object.fromEntries(Object.entries(digests).sort(([a], [b]) => a < b ? -1 : a > b ? 1 : 0));
387
+ }
388
+ var WORKSPACE_DESTINATION_KEY = /^[^/\s]+\/workspace\/[1-9]\d*$/;
389
+ function validateSynced(raw) {
390
+ const out = {};
391
+ if (!isPlainRecord(raw)) return out;
392
+ for (const [dest, branches] of Object.entries(raw)) {
393
+ if (!WORKSPACE_DESTINATION_KEY.test(dest) || !isPlainRecord(branches)) continue;
394
+ const record = {};
395
+ for (const [branch, entry] of Object.entries(branches)) {
396
+ const baseline = readBaseline(entry);
397
+ if (branch.trim() !== "" && baseline !== void 0) record[branch] = baseline;
398
+ }
399
+ if (Object.keys(record).length > 0) out[dest] = record;
400
+ }
401
+ return out;
402
+ }
403
+ function isPlainRecord(v) {
404
+ return v !== null && typeof v === "object" && !Array.isArray(v);
405
+ }
406
+ function readDigests(raw) {
407
+ if (!isPlainRecord(raw)) return void 0;
408
+ const out = {};
409
+ for (const [label, digest] of Object.entries(raw)) {
410
+ if (typeof digest !== "string" || digest === "") return void 0;
411
+ out[label] = digest;
412
+ }
413
+ return out;
414
+ }
415
+ function readBaseline(raw) {
416
+ if (!isPlainRecord(raw)) return void 0;
417
+ const { at, by, complete, scheme } = raw;
418
+ const objects = readDigests(raw.objects);
419
+ const others = raw.others === void 0 ? {} : readDigests(raw.others);
420
+ if (typeof at !== "string" || Number.isNaN(Date.parse(at))) return void 0;
421
+ if (typeof by !== "string" || !SYNC_SOURCES.has(by) || typeof complete !== "boolean") return void 0;
422
+ if (typeof scheme !== "number" || !Number.isInteger(scheme) || scheme < 1) return void 0;
423
+ if (objects === void 0 || others === void 0) return void 0;
424
+ return { at, by, scheme, complete, objects, ...Object.keys(others).length > 0 ? { others } : {} };
425
+ }
372
426
  function validateLockModel(lock, label, observed) {
373
427
  if (observed !== void 0) {
374
428
  assertEmittedCanonicalsUnique(observed, label);
@@ -593,8 +647,31 @@ function serializeLock(lock) {
593
647
  }
594
648
  landed[dest] = record;
595
649
  }
650
+ const synced = {};
651
+ for (const dest of Object.keys(lock.synced ?? {}).sort()) {
652
+ const src = lock.synced[dest];
653
+ const record = {};
654
+ for (const branch of Object.keys(src).sort()) {
655
+ const b = src[branch];
656
+ const others = b.others === void 0 ? {} : sortedDigests(b.others);
657
+ record[branch] = {
658
+ at: b.at,
659
+ by: b.by,
660
+ scheme: b.scheme,
661
+ complete: b.complete,
662
+ objects: sortedDigests(b.objects),
663
+ ...Object.keys(others).length > 0 ? { others } : {}
664
+ };
665
+ }
666
+ if (Object.keys(record).length > 0) synced[dest] = record;
667
+ }
596
668
  return JSON.stringify(
597
- Object.keys(landed).length > 0 ? { version: lock.version, objects, landed } : { version: lock.version, objects },
669
+ {
670
+ version: lock.version,
671
+ objects,
672
+ ...Object.keys(landed).length > 0 ? { landed } : {},
673
+ ...Object.keys(synced).length > 0 ? { synced } : {}
674
+ },
598
675
  null,
599
676
  2
600
677
  ) + "\n";
@@ -967,6 +1044,7 @@ export {
967
1044
  lockNameForObject,
968
1045
  identityNamesByGuid,
969
1046
  appNamesByGuid,
1047
+ withSyncedOf,
970
1048
  DESTINATION_KEY,
971
1049
  emptyLock,
972
1050
  withObjects,
@@ -984,4 +1062,4 @@ export {
984
1062
  withoutGuidSources,
985
1063
  mergeObserved
986
1064
  };
987
- //# sourceMappingURL=chunk-OKNE3TWU.js.map
1065
+ //# sourceMappingURL=chunk-5KJBWIDZ.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-7KPKDHHI.js";
7
7
  import {
8
8
  buildBundle
9
- } from "./chunk-XJU6UAFV.js";
9
+ } from "./chunk-7FIMUFBP.js";
10
10
  import {
11
11
  checkAddonAttachments,
12
12
  checkAddonOutput,
@@ -71,7 +71,7 @@ import {
71
71
  postEnvelopeMisreads,
72
72
  unnestedEnvelopeReads,
73
73
  walkNodes
74
- } from "./chunk-JSEVKRVJ.js";
74
+ } from "./chunk-T4LJ5UR2.js";
75
75
  import {
76
76
  WORKSPACE_HISTORY_TYPES,
77
77
  assertNameAsStored,
@@ -101,7 +101,7 @@ import {
101
101
  DiagnosticBag,
102
102
  allowableWarnings,
103
103
  setDiagnosticSink
104
- } from "./chunk-GPI3OWRE.js";
104
+ } from "./chunk-YHB34BN6.js";
105
105
  import {
106
106
  CANONICAL_PAYLOAD_KEYS,
107
107
  LOCK_PAYLOAD_KEYS,
@@ -112,7 +112,7 @@ import {
112
112
  mintCanonical,
113
113
  recordObserved,
114
114
  sdkKindName
115
- } from "./chunk-OKNE3TWU.js";
115
+ } from "./chunk-5KJBWIDZ.js";
116
116
  import {
117
117
  HOSTED_ICON_KINDS,
118
118
  pendingHostedFile
@@ -1894,4 +1894,4 @@ export {
1894
1894
  Xano,
1895
1895
  workspace
1896
1896
  };
1897
- //# sourceMappingURL=chunk-SRX6B544.js.map
1897
+ //# sourceMappingURL=chunk-5QMJOE2K.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  UsageError,
6
6
  displayPath
7
- } from "./chunk-XNZURZ7T.js";
7
+ } from "./chunk-D7BUMOKU.js";
8
8
 
9
9
  // src/emit/writable.ts
10
10
  import { accessSync, constants, existsSync, statSync } from "fs";
@@ -63,4 +63,4 @@ export {
63
63
  unreadableError,
64
64
  assertReadWritable
65
65
  };
66
- //# sourceMappingURL=chunk-UJ6ZZJDD.js.map
66
+ //# sourceMappingURL=chunk-5TVFLG3C.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  confirm
3
- } from "./chunk-AESE434J.js";
3
+ } from "./chunk-JXVJGF3Y.js";
4
4
  import {
5
5
  ProfileNotFoundError,
6
6
  describeRefreshAnswer,
7
7
  environmentCredentialVars
8
- } from "./chunk-CJ76PSJT.js";
8
+ } from "./chunk-YGLMRH5U.js";
9
9
  import {
10
10
  yesRerun
11
- } from "./chunk-Z4VN347O.js";
11
+ } from "./chunk-6X3MY2JP.js";
12
12
  import {
13
13
  OpenIdProvider,
14
14
  assertCredentialFileRemovable,
@@ -31,11 +31,11 @@ import {
31
31
  resolveScope,
32
32
  withCredentialLock,
33
33
  writeOrRemoveCredentialFile
34
- } from "./chunk-OJPZEUPH.js";
34
+ } from "./chunk-M5CSVB23.js";
35
35
  import {
36
36
  findProjectPointer,
37
37
  resolveProjectProfile
38
- } from "./chunk-JZWUAEMO.js";
38
+ } from "./chunk-26MOFAJT.js";
39
39
  import {
40
40
  resolveActiveProfile
41
41
  } from "./chunk-MF4W6FHU.js";
@@ -50,7 +50,7 @@ import {
50
50
  success,
51
51
  warn,
52
52
  writeJson
53
- } from "./chunk-XNZURZ7T.js";
53
+ } from "./chunk-D7BUMOKU.js";
54
54
  import {
55
55
  suggestAll
56
56
  } from "./chunk-UTI5G6OJ.js";
@@ -429,4 +429,4 @@ export {
429
429
  salvageRevocable,
430
430
  signInAgain
431
431
  };
432
- //# sourceMappingURL=chunk-L3BDO2BI.js.map
432
+ //# sourceMappingURL=chunk-5YQV35C2.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  contextFlags,
6
6
  isCredentialStoreCommand
7
- } from "./chunk-G57RYMKB.js";
7
+ } from "./chunk-N5I37JFB.js";
8
8
  import {
9
9
  shellQuote
10
10
  } from "./chunk-5ZSO4T2G.js";
@@ -106,4 +106,4 @@ export {
106
106
  pipedYes,
107
107
  withheldNote
108
108
  };
109
- //# sourceMappingURL=chunk-Z4VN347O.js.map
109
+ //# sourceMappingURL=chunk-6X3MY2JP.js.map
@@ -4,7 +4,7 @@ import {
4
4
  listAnswer,
5
5
  recordAnswer,
6
6
  writeTransportFailure
7
- } from "./chunk-TEBS7FE6.js";
7
+ } from "./chunk-7GAIJW62.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-HLQH3AXB.js";
15
+ } from "./chunk-YR2I5HGE.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-65SW2BA5.js.map
250
+ //# sourceMappingURL=chunk-6X6BJN6Y.js.map
@@ -1,6 +1,9 @@
1
+ import {
2
+ byCodeUnit
3
+ } from "./chunk-WAVNUTMT.js";
1
4
  import {
2
5
  UsageError
3
- } from "./chunk-XNZURZ7T.js";
6
+ } from "./chunk-D7BUMOKU.js";
4
7
 
5
8
  // src/emit/module-manifest.ts
6
9
  import { existsSync, readFileSync, statSync } from "fs";
@@ -97,6 +100,16 @@ function readInstalledManifest(dir, pkg) {
97
100
  const state = readInstalledManifestState(dir, pkg);
98
101
  return state.kind === "ok" ? state.manifest : null;
99
102
  }
103
+ function requiredPeersOf(manifest) {
104
+ const peers = manifest["peerDependencies"];
105
+ if (typeof peers !== "object" || peers === null) return [];
106
+ const meta = manifest["peerDependenciesMeta"];
107
+ const optional = (name) => {
108
+ const entry = typeof meta === "object" && meta !== null ? meta[name] : void 0;
109
+ return typeof entry === "object" && entry !== null && entry.optional === true;
110
+ };
111
+ return Object.entries(peers).filter((e) => e[0] !== "@xano/sdk" && typeof e[1] === "string" && !optional(e[0])).sort(([a], [b]) => byCodeUnit(a, b));
112
+ }
100
113
  function moduleKind(pkg, manifest) {
101
114
  const field = manifest["xanosdk"];
102
115
  if (typeof field !== "object" || field === null) return "workspace";
@@ -158,6 +171,7 @@ export {
158
171
  installedPackageDir,
159
172
  readInstalledManifestState,
160
173
  readInstalledManifest,
174
+ requiredPeersOf,
161
175
  moduleKind,
162
176
  entryFileOf,
163
177
  fileInPackage,
@@ -165,4 +179,4 @@ export {
165
179
  loadFile,
166
180
  homepageOf
167
181
  };
168
- //# sourceMappingURL=chunk-M7GJ6YUF.js.map
182
+ //# sourceMappingURL=chunk-763M6LX3.js.map
@@ -10,7 +10,7 @@ import {
10
10
  displayLockKey,
11
11
  lockNameForObject,
12
12
  sdkKindName
13
- } from "./chunk-OKNE3TWU.js";
13
+ } from "./chunk-5KJBWIDZ.js";
14
14
  import {
15
15
  rawDeriveGuid
16
16
  } from "./chunk-LL6ED5IB.js";
@@ -410,4 +410,4 @@ export {
410
410
  buildBundle,
411
411
  knowledgeBodiesAllEmpty
412
412
  };
413
- //# sourceMappingURL=chunk-XJU6UAFV.js.map
413
+ //# sourceMappingURL=chunk-7FIMUFBP.js.map
@@ -8,7 +8,7 @@ import {
8
8
  notJsonError,
9
9
  parseJsonAnswer,
10
10
  unexpectedAnswerError
11
- } from "./chunk-HLQH3AXB.js";
11
+ } from "./chunk-YR2I5HGE.js";
12
12
 
13
13
  // src/deploy/answer-shape.ts
14
14
  function isRecord(v) {
@@ -94,4 +94,4 @@ export {
94
94
  multidocAnswer,
95
95
  writeTransportFailure
96
96
  };
97
- //# sourceMappingURL=chunk-TEBS7FE6.js.map
97
+ //# sourceMappingURL=chunk-7GAIJW62.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sdkKindName
3
- } from "./chunk-OKNE3TWU.js";
3
+ } from "./chunk-5KJBWIDZ.js";
4
4
 
5
5
  // src/validate/capabilities.ts
6
6
  var CAPABILITIES = {
@@ -145,4 +145,4 @@ export {
145
145
  STATEMENT_CAPABILITIES,
146
146
  bundleCapabilities
147
147
  };
148
- //# sourceMappingURL=chunk-K6CB5TKM.js.map
148
+ //# sourceMappingURL=chunk-7REDHC4N.js.map