@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
  assertOneName,
3
3
  noteRunArgs
4
- } from "./chunk-DIG3NITC.js";
4
+ } from "./chunk-WBH4KJWM.js";
5
5
  import {
6
6
  WORKSPACE_ENV_FILE,
7
7
  classifyEnv,
@@ -10,37 +10,37 @@ import {
10
10
  namesInEnvExample,
11
11
  parseEnvFile,
12
12
  readWorkspaceEnvFile
13
- } from "./chunk-664LSWE5.js";
13
+ } from "./chunk-HCG7NDIL.js";
14
14
  import {
15
15
  readTrackedBackend
16
- } from "./chunk-LIVN53UV.js";
16
+ } from "./chunk-I3VHW6XM.js";
17
17
  import {
18
18
  isCI
19
- } from "./chunk-JP7M7OU7.js";
19
+ } from "./chunk-FU3VCE5A.js";
20
20
  import {
21
21
  backendSlotForFlag,
22
22
  slotValueMissing
23
- } from "./chunk-UDE5C2XN.js";
23
+ } from "./chunk-VDHA5SSQ.js";
24
24
  import {
25
25
  defaultWorkspaceSecretsPath,
26
26
  readSecretsFile
27
- } from "./chunk-MLGI2SRQ.js";
27
+ } from "./chunk-PFBXSVZF.js";
28
28
  import {
29
29
  allLandings,
30
30
  getEnvironment,
31
31
  readEphemeralState
32
- } from "./chunk-UKUIUS3E.js";
32
+ } from "./chunk-U6MTGB46.js";
33
33
  import {
34
34
  isUnwritableError,
35
35
  unwritableError
36
- } from "./chunk-3H3EPMFY.js";
36
+ } from "./chunk-5TVFLG3C.js";
37
37
  import {
38
38
  isExpired
39
- } from "./chunk-BUECLQXK.js";
39
+ } from "./chunk-SPKA2LV6.js";
40
40
  import {
41
41
  contextFlags,
42
42
  setHintContext
43
- } from "./chunk-SEUCZZCP.js";
43
+ } from "./chunk-N5I37JFB.js";
44
44
  import {
45
45
  shellWord
46
46
  } from "./chunk-FWD7AL6N.js";
@@ -51,7 +51,7 @@ import {
51
51
  hostedFileResolver,
52
52
  isMissingFile,
53
53
  registerSeedHostedFiles
54
- } from "./chunk-37AHZ7JX.js";
54
+ } from "./chunk-3BBIDW3Y.js";
55
55
  import {
56
56
  projectRootFrom
57
57
  } from "./chunk-ROY4YAEQ.js";
@@ -59,7 +59,7 @@ import {
59
59
  readLockFile,
60
60
  readLockFileReport,
61
61
  writeLockFile
62
- } from "./chunk-VD32O6KZ.js";
62
+ } from "./chunk-CJDPSCMX.js";
63
63
  import {
64
64
  writeData
65
65
  } from "./chunk-AWQ7BQTQ.js";
@@ -70,16 +70,16 @@ import {
70
70
  inCredentialScope,
71
71
  lastResolvedAuth,
72
72
  pinnedWorkspaceMissed
73
- } from "./chunk-MN2PB6WB.js";
73
+ } from "./chunk-YR2I5HGE.js";
74
74
  import {
75
75
  assertValidProfileName
76
- } from "./chunk-QXTKSOFI.js";
76
+ } from "./chunk-MF4W6FHU.js";
77
77
  import {
78
78
  readEnvVar
79
79
  } from "./chunk-X2NL4KUO.js";
80
80
  import {
81
81
  bundleCapabilities
82
- } from "./chunk-6R7S775T.js";
82
+ } from "./chunk-7REDHC4N.js";
83
83
  import {
84
84
  BARE,
85
85
  CliError,
@@ -134,7 +134,7 @@ import {
134
134
  warn,
135
135
  withCliPrefix,
136
136
  writeJson
137
- } from "./chunk-SBR2WZXG.js";
137
+ } from "./chunk-D7BUMOKU.js";
138
138
  import {
139
139
  KNOWLEDGE_DIR,
140
140
  KNOWLEDGE_FILE,
@@ -142,15 +142,15 @@ import {
142
142
  isOsMetadataFile,
143
143
  registerAllKinds,
144
144
  serializeBundle
145
- } from "./chunk-II747OWE.js";
145
+ } from "./chunk-FQ53GTII.js";
146
146
  import {
147
147
  Xano,
148
148
  checkFilterOperands,
149
149
  standaloneDefKind
150
- } from "./chunk-5YL5OC2G.js";
150
+ } from "./chunk-5QMJOE2K.js";
151
151
  import {
152
152
  knowledgeBodiesAllEmpty
153
- } from "./chunk-EESV6NU2.js";
153
+ } from "./chunk-7FIMUFBP.js";
154
154
  import {
155
155
  checkDecodeOnlyStatements,
156
156
  checkExpressionOperands,
@@ -174,7 +174,7 @@ import {
174
174
  checkUnboundVarRefs,
175
175
  checkZipPasswordKeys,
176
176
  isQueryExpressionFilter
177
- } from "./chunk-OPG4DYX2.js";
177
+ } from "./chunk-T4LJ5UR2.js";
178
178
  import {
179
179
  FILTER_NAMES
180
180
  } from "./chunk-BEXZ4XRV.js";
@@ -195,7 +195,7 @@ import {
195
195
  DiagnosticError,
196
196
  isDiagnosticError,
197
197
  setDiagnosticSink
198
- } from "./chunk-GPI3OWRE.js";
198
+ } from "./chunk-YHB34BN6.js";
199
199
  import {
200
200
  suggest
201
201
  } from "./chunk-UTI5G6OJ.js";
@@ -211,7 +211,7 @@ import {
211
211
  toolsetKindsFromPayload,
212
212
  validateLockModel,
213
213
  withoutGuidSources
214
- } from "./chunk-OOGXZL7Z.js";
214
+ } from "./chunk-5KJBWIDZ.js";
215
215
  import {
216
216
  shellQuote
217
217
  } from "./chunk-5ZSO4T2G.js";
@@ -219,7 +219,7 @@ import {
219
219
  HOSTED_FILE_SCHEME,
220
220
  HOSTED_ICON_KINDS,
221
221
  uncarriedHostedIcons
222
- } from "./chunk-XNCP4KYO.js";
222
+ } from "./chunk-VQPDATQT.js";
223
223
  import {
224
224
  IDENT,
225
225
  installLambdaFreeReads,
@@ -1328,7 +1328,7 @@ var NOUN_COMMANDS = /* @__PURE__ */ new Set([
1328
1328
  "env",
1329
1329
  "secrets",
1330
1330
  "ephemeral",
1331
- "local-engine",
1331
+ "local",
1332
1332
  "workspace",
1333
1333
  "marketplace",
1334
1334
  "test",
@@ -1449,6 +1449,7 @@ function parseArgs(argv) {
1449
1449
  let staticDir;
1450
1450
  let to;
1451
1451
  let localEngine = false;
1452
+ let ephemeral = false;
1452
1453
  let localEngineUrl;
1453
1454
  let engineVersion;
1454
1455
  let description;
@@ -1715,18 +1716,20 @@ function parseArgs(argv) {
1715
1716
  const value = arg === "--to" ? valueAfter() : arg.slice("--to=".length);
1716
1717
  if (value === void 0 || value === "") throw selectorValueMissing("to", "--to", command, subcommand);
1717
1718
  to = value;
1718
- } else if (arg === "--local-engine" || arg.startsWith("--local-engine=")) {
1719
+ } else if (arg === "--ephemeral") {
1720
+ ephemeral = true;
1721
+ } else if (arg === "--local" || arg.startsWith("--local=")) {
1719
1722
  if (command === "env" && (subcommand === "set" || subcommand === "unset")) {
1720
- throw new UsageError("`--local-engine` here is `--to local-engine`.", {
1723
+ throw new UsageError("`--local` here is `--to local`.", {
1721
1724
  helpFor: helpTargetFor(command, subcommand)
1722
1725
  });
1723
1726
  }
1724
1727
  localEngine = true;
1725
- if (arg.startsWith("--local-engine=")) {
1726
- const value = arg.slice("--local-engine=".length);
1728
+ if (arg.startsWith("--local=")) {
1729
+ const value = arg.slice("--local=".length);
1727
1730
  if (value === "") {
1728
1731
  throw new UsageError(
1729
- "--local-engine= expects an engine version (v0.1.5), a URL to fetch the engine from, or the path to an engine archive on this machine."
1732
+ "--local= expects an engine version (v0.1.5), a URL to fetch the engine from, or the path to an engine archive on this machine."
1730
1733
  );
1731
1734
  }
1732
1735
  localEngineUrl = value;
@@ -1767,7 +1770,7 @@ function parseArgs(argv) {
1767
1770
  authFile = expandHome(requireValue(arg));
1768
1771
  } else if (arg.startsWith("--config=")) {
1769
1772
  authFile = expandHome(attachedValue(arg, "--config="));
1770
- } else if (arg === "--local") {
1773
+ } else if (arg === "--local-auth") {
1771
1774
  useLocal = true;
1772
1775
  } else if (arg === "--paste") {
1773
1776
  paste = true;
@@ -2075,13 +2078,33 @@ function parseArgs(argv) {
2075
2078
  }
2076
2079
  if (localEngine) {
2077
2080
  refuseUnlessDeclared(
2078
- "local-engine",
2079
- "--local-engine",
2080
- "only `deploy` takes it, because only a deploy downloads, pins and starts an engine. " + // Command-aware: `publish` refuses `--to local-engine` too, so pointing
2081
- // it there sent the reader from one refusal to the next.
2082
- (command === "publish" ? "A local engine takes a frontend only through `xanosdk deploy --local-engine --static <dir>`; `publish` publishes to an ephemeral's, a tenant's or your workspace's static host (`--to`)." : "Elsewhere a local engine is a backend: `--to local-engine`, `--from local-engine`, or `local-engine` as the positional.")
2081
+ "local",
2082
+ "--local",
2083
+ "only `deploy` takes it, because only a deploy downloads, pins and starts an engine. Elsewhere a Xano Engine is a backend: `--to local`, `--from local`, or `local` as the positional."
2083
2084
  );
2084
2085
  }
2086
+ if (ephemeral) {
2087
+ refuseUnlessDeclared(
2088
+ "ephemeral",
2089
+ "--ephemeral",
2090
+ "only `deploy` takes it. Elsewhere an ephemeral is a backend: `--to ephemeral`, `--from ephemeral`, or `ephemeral` as the positional."
2091
+ );
2092
+ }
2093
+ if (command === "deploy") {
2094
+ if (ephemeral && localEngine) {
2095
+ throw new UsageError(
2096
+ "`--ephemeral` and `--local` are two destinations, and a deploy has one. Drop whichever is not meant.",
2097
+ { helpFor: { command: "deploy" } }
2098
+ );
2099
+ }
2100
+ if (ephemeral && to !== void 0) {
2101
+ throw new UsageError(
2102
+ "`--ephemeral` and `--to` are two destinations, and a deploy has one: `--ephemeral` replaces a disposable ephemeral, `--to` merges into a backend that already exists. Drop whichever is not meant.",
2103
+ { helpFor: { command: "deploy" } }
2104
+ );
2105
+ }
2106
+ if (!ephemeral && to === void 0) localEngine = true;
2107
+ }
2085
2108
  if (guest) {
2086
2109
  refuseUnlessDeclared(
2087
2110
  "guest",
@@ -2254,6 +2277,7 @@ function parseArgs(argv) {
2254
2277
  staticHost,
2255
2278
  to,
2256
2279
  localEngine,
2280
+ ephemeral,
2257
2281
  localEngineUrl,
2258
2282
  engineVersion,
2259
2283
  description,
@@ -2476,8 +2500,8 @@ async function tsxRemedy(file) {
2476
2500
  (block) => typeof pkg[block] === "object" && pkg[block] !== null && "tsx" in pkg[block]
2477
2501
  );
2478
2502
  if (!declared) return fallback;
2479
- const { detectPackageManager } = await import("./package-manager-PRAHUSCN.js");
2480
- const { inProject } = await import("./init-modules-HZRQFRLE.js");
2503
+ const { detectPackageManager } = await import("./package-manager-K762W7XT.js");
2504
+ const { inProject } = await import("./init-modules-NSKD4ASY.js");
2481
2505
  return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
2482
2506
  }
2483
2507
  if (dirname2(dir) === dir) return fallback;
@@ -3098,7 +3122,7 @@ async function explainUnreachableWorkspace(err) {
3098
3122
  let verdict = unreachableVerdicts.get(auth);
3099
3123
  if (verdict === void 0) {
3100
3124
  verdict = (async () => {
3101
- const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-2TWZBHQY.js");
3125
+ const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-JE6YNDZJ.js");
3102
3126
  const all = await readReachableWorkspaces(auth, 15e3);
3103
3127
  if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
3104
3128
  return new UsageError(unreachableWorkspaceMessage(auth, all));
@@ -3112,7 +3136,7 @@ async function explainRejectedCredential(err) {
3112
3136
  if (!(err instanceof Error) || resolved === void 0) return err;
3113
3137
  const [first = "", ...rest] = err.message.split("\n");
3114
3138
  if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
3115
- const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-KNWFWAX6.js");
3139
+ const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-7WQII2H4.js");
3116
3140
  const { auth, args } = resolved;
3117
3141
  err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
3118
3142
  if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
@@ -3150,10 +3174,10 @@ function withoutSecretValue(args) {
3150
3174
  }
3151
3175
  async function nameLookupRerun(failure) {
3152
3176
  if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
3153
- const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-DMDZVPMM.js");
3177
+ const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-MKLNYFWG.js");
3154
3178
  const err = rateLimitedFailure(failure);
3155
3179
  if (!(err instanceof LookupFailedError)) return err;
3156
- const { retryCommand, withheldNote } = await import("./deploy-command-5WTFHMBT.js");
3180
+ const { retryCommand, withheldNote } = await import("./deploy-command-34T2LKQ5.js");
3157
3181
  if (runArgs.command === "env" && runArgs.subcommand === "set") {
3158
3182
  const retry2 = retryCommand(withoutSecretValue(runArgs));
3159
3183
  return err.withRerun(
@@ -3199,7 +3223,7 @@ var PATHLESS_VERBS = {
3199
3223
  ephemeral: /* @__PURE__ */ new Set(["list", "get", "delete"]),
3200
3224
  tenant: /* @__PURE__ */ new Set(["list", "get", "delete", "details"]),
3201
3225
  release: /* @__PURE__ */ new Set(["list", "show", "delete"]),
3202
- "local-engine": /* @__PURE__ */ new Set(["token", "stop"]),
3226
+ "local": /* @__PURE__ */ new Set(["token", "stop"]),
3203
3227
  test: /* @__PURE__ */ new Set(["list", "run", "run-all"])
3204
3228
  };
3205
3229
  var PATHLESS_COMMANDS = /* @__PURE__ */ new Set(["tables", "impersonate"]);
@@ -3208,7 +3232,7 @@ function isPathlessRun(args) {
3208
3232
  return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
3209
3233
  }
3210
3234
  async function atProjectRoot(args, command, positional) {
3211
- const { enterProjectRoot } = await import("./xanosdk-project-6KTCO47O.js");
3235
+ const { enterProjectRoot } = await import("./xanosdk-project-6AGMW2SL.js");
3212
3236
  const entered = enterProjectRoot(args, process.cwd(), positional);
3213
3237
  if (entered === void 0) return command(args);
3214
3238
  if (isPathlessRun(args)) {
@@ -3309,7 +3333,7 @@ async function dispatch(rawArgv) {
3309
3333
  if (typed[0] === "init") {
3310
3334
  const web = typed.indexOf("--web", 1);
3311
3335
  if (web !== -1) {
3312
- const { runInitWebCommand } = await import("./init-web-Y2PBNJTQ.js");
3336
+ const { runInitWebCommand } = await import("./init-web-MKFFOQUU.js");
3313
3337
  return runInitWebCommand([...typed.slice(1, web), ...typed.slice(web + 1)]);
3314
3338
  }
3315
3339
  }
@@ -3327,7 +3351,7 @@ async function dispatch(rawArgv) {
3327
3351
  throw unknownSubcommand(helpRequest.command, helpRequest.unknownSubcommand, helpRequest.positionals ?? []);
3328
3352
  }
3329
3353
  if (argv.includes("--json")) {
3330
- const { helpDocument } = await import("./commands-CVFYC4GK.js");
3354
+ const { helpDocument } = await import("./commands-H7CPMMHH.js");
3331
3355
  writeJson({ version: readVersion(), ...helpDocument(helpRequest) });
3332
3356
  return;
3333
3357
  }
@@ -3348,7 +3372,7 @@ async function dispatch(rawArgv) {
3348
3372
  setHintContext(args);
3349
3373
  runArgs = args;
3350
3374
  noteRunArgs(args);
3351
- if (isMachineOutput(args)) (await import("./update-check-LNNKIMML.js")).routeUpdateNoticeToDocument();
3375
+ if (isMachineOutput(args)) (await import("./update-check-A7FXIINW.js")).routeUpdateNoticeToDocument();
3352
3376
  const { command } = args;
3353
3377
  const out = args.out === "-" ? void 0 : args.out;
3354
3378
  if (command === void 0) {
@@ -3369,11 +3393,11 @@ async function dispatch(rawArgv) {
3369
3393
  return;
3370
3394
  }
3371
3395
  if (command === "init") {
3372
- const { runInitCommand } = await import("./init-command-27SFBW2F.js");
3396
+ const { runInitCommand } = await import("./init-command-HAO3WXH3.js");
3373
3397
  return runInitCommand(args);
3374
3398
  }
3375
3399
  if (command === "completion") {
3376
- const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-AUEQC4XJ.js");
3400
+ const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-W5ZAI6TN.js");
3377
3401
  const shell = args.positionals[0];
3378
3402
  if (shell === void 0) throw missingArgument("shell", { command: "completion" });
3379
3403
  if (!isCompletionShell(shell)) {
@@ -3392,111 +3416,111 @@ async function dispatch(rawArgv) {
3392
3416
  return runCompletionCommand(shell);
3393
3417
  }
3394
3418
  if (command === "upgrade") {
3395
- const { runUpgradeCommand } = await import("./upgrade-command-7EUXML3P.js");
3419
+ const { runUpgradeCommand } = await import("./upgrade-command-C5KBITFI.js");
3396
3420
  return runUpgradeCommand(args);
3397
3421
  }
3398
3422
  if (command === "lock") {
3399
- const { runLockCommand } = await import("./lock-commands-4VT3L5W5.js");
3423
+ const { runLockCommand } = await import("./lock-commands-X2OECR4R.js");
3400
3424
  const verb = args.positionals[0];
3401
- const { isProjectDir } = await import("./xanosdk-project-6KTCO47O.js");
3425
+ const { isProjectDir } = await import("./xanosdk-project-6AGMW2SL.js");
3402
3426
  const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync2("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
3403
3427
  return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
3404
3428
  }
3405
3429
  if (command === "login") {
3406
- const { runLoginCommand } = await import("./login-command-O6WA4FYL.js");
3430
+ const { runLoginCommand } = await import("./login-command-RLLKD565.js");
3407
3431
  return runLoginCommand(args);
3408
3432
  }
3409
3433
  if (command === "logout") {
3410
- const { runLogoutCommand } = await import("./logout-command-6CPWGFY2.js");
3434
+ const { runLogoutCommand } = await import("./logout-command-XDMSXCDO.js");
3411
3435
  return runLogoutCommand(args);
3412
3436
  }
3413
3437
  if (command === "deploy") {
3414
- const { runDeployCommand } = await import("./deploy-command-5WTFHMBT.js");
3438
+ const { runDeployCommand } = await import("./deploy-command-34T2LKQ5.js");
3415
3439
  return atProjectRoot(args, runDeployCommand, entryPositional(args));
3416
3440
  }
3417
3441
  if (command === "ephemeral") {
3418
- const { runEphemeralCommand } = await import("./ephemeral-command-VDSQCOYL.js");
3442
+ const { runEphemeralCommand } = await import("./ephemeral-command-OZ26RGXF.js");
3419
3443
  return atProjectRoot(args, runEphemeralCommand);
3420
3444
  }
3421
- if (command === "local-engine") {
3422
- const { runLocalEngineCommand } = await import("./local-engine-command-HMTQK7MN.js");
3445
+ if (command === "local") {
3446
+ const { runLocalEngineCommand } = await import("./local-engine-command-RYLGMQ2O.js");
3423
3447
  const project = ["token", "stop", "update"].includes(args.subcommand ?? "");
3424
3448
  return project ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
3425
3449
  }
3426
3450
  if (command === "env") {
3427
3451
  if (args.subcommand === "set" || args.subcommand === "unset") {
3428
- const { runEnvVarCommand } = await import("./env-var-command-YKTJZFJN.js");
3452
+ const { runEnvVarCommand } = await import("./env-var-command-VYDBQJJW.js");
3429
3453
  return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
3430
3454
  }
3431
3455
  if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
3432
- const { runEnvPullCommand } = await import("./env-pull-command-WZZ7RL2E.js");
3456
+ const { runEnvPullCommand } = await import("./env-pull-command-UTG6IC2K.js");
3433
3457
  return atProjectRoot(args, runEnvPullCommand);
3434
3458
  }
3435
3459
  if (command === "secrets") {
3436
3460
  if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
3437
- const { runSecretsFillCommand } = await import("./secrets-fill-command-QEOCUOAY.js");
3461
+ const { runSecretsFillCommand } = await import("./secrets-fill-command-QNBDGCGM.js");
3438
3462
  return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
3439
3463
  }
3440
3464
  if (command === "release") {
3441
- const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-EIBN3JVM.js");
3465
+ const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-ATGVBVIU.js");
3442
3466
  return atProjectRoot(args, runReleaseNs);
3443
3467
  }
3444
3468
  if (command === "pull") {
3445
- const { runPullCommand } = await import("./pull-command-WQFPLITW.js");
3469
+ const { runPullCommand } = await import("./pull-command-ZGUNP27P.js");
3446
3470
  const first = args.positionals[0];
3447
3471
  const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
3448
3472
  return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
3449
3473
  }
3450
3474
  if (command === "generate") {
3451
- const { runGenerateCommand } = await import("./generate-command-3NTNRQRS.js");
3475
+ const { runGenerateCommand } = await import("./generate-command-4HR7MR36.js");
3452
3476
  return runGenerateCommand(args);
3453
3477
  }
3454
3478
  if (command === "tables") {
3455
- const { runTablesCommand } = await import("./tables-command-X3JK7VSK.js");
3479
+ const { runTablesCommand } = await import("./tables-command-UQLKTELN.js");
3456
3480
  return atProjectRoot(args, runTablesCommand);
3457
3481
  }
3458
3482
  if (command === "impersonate") {
3459
- const { runImpersonateCommand } = await import("./impersonate-command-QEJA72Q2.js");
3483
+ const { runImpersonateCommand } = await import("./impersonate-command-WC7OGKUM.js");
3460
3484
  return atProjectRoot(args, runImpersonateCommand);
3461
3485
  }
3462
3486
  if (command === "promote") {
3463
- const { runPromoteCommand } = await import("./promote-command-4F2NAE6P.js");
3487
+ const { runPromoteCommand } = await import("./promote-command-UYAMUXKB.js");
3464
3488
  return atProjectRoot(args, runPromoteCommand);
3465
3489
  }
3466
3490
  if (command === "publish") {
3467
- const { runPublishCommand } = await import("./publish-command-LGLZBOCB.js");
3491
+ const { runPublishCommand } = await import("./publish-command-BUS27HGB.js");
3468
3492
  return atProjectRoot(args, runPublishCommand, "path");
3469
3493
  }
3470
3494
  if (command === "tenant") {
3471
- const { runTenantCommand } = await import("./tenant-command-P27EQHBU.js");
3495
+ const { runTenantCommand } = await import("./tenant-command-2LWP2MPB.js");
3472
3496
  return atProjectRoot(args, runTenantCommand);
3473
3497
  }
3474
3498
  if (command === "test") {
3475
- const { runTestCommand } = await import("./test-command-A4G2FP7G.js");
3499
+ const { runTestCommand } = await import("./test-command-IU5MBBXY.js");
3476
3500
  return atProjectRoot(args, runTestCommand);
3477
3501
  }
3478
3502
  if (command === "workspace") {
3479
- const { runWorkspaceCommand } = await import("./workspace-command-T7Z2BDHD.js");
3503
+ const { runWorkspaceCommand } = await import("./workspace-command-FC4IMLAE.js");
3480
3504
  return runWorkspaceCommand(args);
3481
3505
  }
3482
3506
  if (command === "status") {
3483
- const { runStatusCommand } = await import("./status-command-XUH5OGQX.js");
3507
+ const { runStatusCommand } = await import("./status-command-XKIFKBGM.js");
3484
3508
  return runStatusCommand(args);
3485
3509
  }
3486
3510
  if (command === "whoami") {
3487
- const { runWhoamiCommand } = await import("./whoami-command-KNWFWAX6.js");
3511
+ const { runWhoamiCommand } = await import("./whoami-command-7WQII2H4.js");
3488
3512
  return runWhoamiCommand(args);
3489
3513
  }
3490
3514
  if (command === "profile") {
3491
- const { runProfileCommand } = await import("./profile-command-NPKBJYPM.js");
3515
+ const { runProfileCommand } = await import("./profile-command-6JWT2BTL.js");
3492
3516
  return runProfileCommand(args);
3493
3517
  }
3494
3518
  if (command === "marketplace") {
3495
3519
  if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
3496
3520
  throw unknownSubcommand("marketplace", args.subcommand);
3497
3521
  }
3498
- const marketplace = await import("./marketplace-command-HKACSYKS.js");
3499
- const { withCatalogueRerun } = await import("./marketplace-resolve-KLFYVRWS.js");
3522
+ const marketplace = await import("./marketplace-command-2NHHY2X3.js");
3523
+ const { withCatalogueRerun } = await import("./marketplace-resolve-OTZYT4FG.js");
3500
3524
  try {
3501
3525
  if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
3502
3526
  if (args.subcommand === "search") return await marketplace.runMarketplaceSearchCommand(args);
@@ -3509,7 +3533,7 @@ async function dispatch(rawArgv) {
3509
3533
  }
3510
3534
  }
3511
3535
  if (command === "preflight") {
3512
- const { runPreflightCommand } = await import("./preflight-command-EBQ6XQF3.js");
3536
+ const { runPreflightCommand } = await import("./preflight-command-OHJXYND3.js");
3513
3537
  return runPreflightCommand(args);
3514
3538
  }
3515
3539
  if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
@@ -3524,12 +3548,12 @@ async function dispatch(rawArgv) {
3524
3548
  if (command === "paths" || command === "routes") {
3525
3549
  return runPaths(args);
3526
3550
  }
3527
- const { discoverToolchainPlugins } = await import("./toolchain-modules-3M7QDJBV.js");
3551
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-VU7SURVJ.js");
3528
3552
  const toolchain = await discoverToolchainPlugins(process.cwd(), {
3529
3553
  frozen: args.frozenLock === true || args.check === true
3530
3554
  });
3531
3555
  if (out && !args.check) {
3532
- const { assertWritableTarget } = await import("./output-target-SZMBNYF4.js");
3556
+ const { assertWritableTarget } = await import("./output-target-MOLCTPBP.js");
3533
3557
  assertWritableTarget(out, "--out");
3534
3558
  }
3535
3559
  const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
@@ -3539,7 +3563,7 @@ async function dispatch(rawArgv) {
3539
3563
  `Exported bundle omits seed rows for ${countOf(omittedSeedTables.length, "table")}: ${names}. Seed is applied only by \`xanosdk deploy <entry>\` \u2014 deploying this bundle via \`--bundle\` ships schema without seed data.`
3540
3564
  );
3541
3565
  }
3542
- const { hostedIconOwners } = await import("./hosted-file-PSHJB3HX.js");
3566
+ const { hostedIconOwners } = await import("./hosted-file-S7YUQAH6.js");
3543
3567
  const hostedOwners = hostedIconOwners(bundleObject.payload ?? {});
3544
3568
  if (hostedOwners.length > 0 && !args.check) {
3545
3569
  warn(
@@ -3547,7 +3571,7 @@ async function dispatch(rawArgv) {
3547
3571
  "export.hosted-files-omitted"
3548
3572
  );
3549
3573
  }
3550
- const { runBundleHooks } = await import("./toolchain-hooks-BGZBDFAT.js");
3574
+ const { runBundleHooks } = await import("./toolchain-hooks-4ZMQLBPQ.js");
3551
3575
  await runBundleHooks(
3552
3576
  toolchain.loaded,
3553
3577
  {
@@ -3560,15 +3584,15 @@ async function dispatch(rawArgv) {
3560
3584
  },
3561
3585
  ""
3562
3586
  );
3563
- const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-ZO6XAV44.js");
3564
- const { backendDirFor } = await import("./backend-dir-WZADOK3L.js");
3587
+ const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-CQP3ZMKM.js");
3588
+ const { backendDirFor } = await import("./backend-dir-3LIL6SCT.js");
3565
3589
  const declaredSet = new Set(declaredEnvNames);
3566
3590
  const templateDir = backendDirFor(args.file);
3567
3591
  const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync2(join2(templateDir, "index.ts")));
3568
3592
  const templateEnv = Object.fromEntries(
3569
3593
  Object.entries(bundleEnvNames2(bundleObject)).filter(([name]) => declaredSet.has(name))
3570
3594
  );
3571
- const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-FOR4IOXL.js");
3595
+ const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-3W72H5QO.js");
3572
3596
  const projectSdk = skewedProjectSdk(dirname2(resolve2(args.file)), readVersion());
3573
3597
  const regenerate = projectSdk === void 0 ? `xanosdk export ${shellWord(pastePath(args.file))} --out ${NULL_DEVICE}` : installedCliCommand(projectSdk.root, (path) => `export ${path(args.file)} --out ${NULL_DEVICE}`);
3574
3598
  if (args.check) {
@@ -3619,15 +3643,15 @@ async function dispatch(rawArgv) {
3619
3643
  info(`${hadEnvExample ? "Updated" : "Wrote"} ${displayPath(refreshed)} to list the env names this source declares.`);
3620
3644
  }
3621
3645
  if (out) {
3622
- const { secretsCarriedBy } = await import("./live-diff-2S7E3SBZ.js");
3623
- const { writeExportFile } = await import("./output-target-SZMBNYF4.js");
3646
+ const { secretsCarriedBy } = await import("./live-diff-5E2BQWQ7.js");
3647
+ const { writeExportFile } = await import("./output-target-MOLCTPBP.js");
3624
3648
  const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
3625
3649
  writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
3626
3650
  reportWrote(args, out, lockOutcome);
3627
3651
  } else {
3628
3652
  process.stdout.write(json + "\n");
3629
- const { secretsCarriedBy } = await import("./live-diff-2S7E3SBZ.js");
3630
- const { secretsPhrase } = await import("./output-target-SZMBNYF4.js");
3653
+ const { secretsCarriedBy } = await import("./live-diff-5E2BQWQ7.js");
3654
+ const { secretsPhrase } = await import("./output-target-MOLCTPBP.js");
3631
3655
  const secrets = secretsCarriedBy(bundleObject);
3632
3656
  if (secrets.length > 0) {
3633
3657
  warn(
@@ -3646,11 +3670,11 @@ async function refreshAgentGuidance(args) {
3646
3670
  if (args.noRefresh) return;
3647
3671
  if (args.check || args.frozenLock || args.dryRun) return;
3648
3672
  try {
3649
- const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-FOR4IOXL.js");
3673
+ const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-3W72H5QO.js");
3650
3674
  const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
3651
3675
  const projectDir = existsSync2(join2(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
3652
3676
  const projectSdk = skewedProjectSdk(projectDir, readVersion());
3653
- const { refreshAgentFiles } = await import("./agent-file-refresh-LB6KIMFY.js");
3677
+ const { refreshAgentFiles } = await import("./agent-file-refresh-67QIX45H.js");
3654
3678
  if (projectSdk !== void 0) {
3655
3679
  const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
3656
3680
  const file = args.file;
@@ -3713,7 +3737,7 @@ function noteUnlockedBuild() {
3713
3737
  }
3714
3738
  function adoptBeforeFirstLock(lockPath, args) {
3715
3739
  const deploying = args?.command === "deploy";
3716
- if (deploying && (args.localEngine || args.to === void 0 || args.to.startsWith("local-engine"))) return void 0;
3740
+ if (deploying && (args.localEngine || args.to === void 0 || args.to.startsWith("local"))) return void 0;
3717
3741
  const importLine = `\`xanosdk lock import live.json --lock=${shellWord(displayPath(lockPath))} --yes\``;
3718
3742
  const ending = "so the lock adopts the URLs it already serves instead of values it will not accept.";
3719
3743
  const target = deploying ? args.to : "workspace";
@@ -3866,6 +3890,13 @@ function withPinnedGuid(artifact, def) {
3866
3890
  if (parsed.guid !== void 0) return artifact;
3867
3891
  return JSON.stringify({ ...parsed, guid: def.guid }, null, 2);
3868
3892
  }
3893
+ function emitProjectDir(emit2, entry) {
3894
+ if (emit2 !== "-") {
3895
+ const root = projectRootFrom(dirname2(resolve2(emit2)));
3896
+ if (existsSync2(join2(root, "package.json"))) return root;
3897
+ }
3898
+ return projectRootFrom(dirname2(resolve2(entry)));
3899
+ }
3869
3900
  async function runPaths(args) {
3870
3901
  const file = args.file;
3871
3902
  if (args.emit === "-" && args.strict) {
@@ -3877,6 +3908,12 @@ async function runPaths(args) {
3877
3908
  const lockPath = resolveLockPath(args, file);
3878
3909
  resetLockOverrides();
3879
3910
  const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
3911
+ const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-VU7SURVJ.js")).discoverToolchainPlugins(emitProjectDir(args.emit, file), {
3912
+ frozen: args.strict === true,
3913
+ // A module outside its SDK peer range keeps its block and is named,
3914
+ // as any other skip is; it does not abort every `dev` and `build`.
3915
+ peerSkew: "skip"
3916
+ }) : void 0;
3880
3917
  const def = await loadDefault(file);
3881
3918
  if (!Xano.isXano(def)) {
3882
3919
  throw new UsageError(
@@ -3893,7 +3930,7 @@ async function runPaths(args) {
3893
3930
  setDiagnosticSink(outerSink);
3894
3931
  }
3895
3932
  const payload = bundle.payload;
3896
- const { planRouteManifest } = await import("./routes-manifest-3BNZIVST.js");
3933
+ const { planRouteManifest } = await import("./routes-manifest-YR4ZIMLM.js");
3897
3934
  const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
3898
3935
  const queryCount = plan.rows.length;
3899
3936
  const realtimeCount = plan.servers.length + plan.unresolvedServers.length;
@@ -3917,7 +3954,7 @@ async function runPaths(args) {
3917
3954
  );
3918
3955
  }
3919
3956
  if (unresolved.length > 0) {
3920
- const { unresolvedCanonicalMessage } = await import("./routes-manifest-3BNZIVST.js");
3957
+ const { unresolvedCanonicalMessage } = await import("./routes-manifest-YR4ZIMLM.js");
3921
3958
  const why = `${args.emit} was not written: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`;
3922
3959
  if (args.strict) throw new Error(`--strict: ${why}`);
3923
3960
  warn(why, "routes.not-written");
@@ -3929,8 +3966,23 @@ async function runPaths(args) {
3929
3966
  if (machine && args.emit !== "-") writeJson({ emit: resolve2(args.emit), written: false, routes: 0, channels: 0 });
3930
3967
  return;
3931
3968
  }
3932
- const { renderPlannedManifest, renderRouteManifest } = await import("./routes-manifest-3BNZIVST.js");
3933
- const source = emptiedManifest ? renderRouteManifest([]) : renderPlannedManifest(plan);
3969
+ const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-UALYSZLY.js");
3970
+ const loaded = toolchain?.loaded ?? [];
3971
+ const skipped = toolchain?.skipped ?? [];
3972
+ const rendered = renderManifestFile(
3973
+ plan,
3974
+ {
3975
+ loaded,
3976
+ skipped,
3977
+ // Read only when a module could fail or be skipped: with none, nothing
3978
+ // is carried forward and `renderManifestFile` never consults it.
3979
+ previous: loaded.length + skipped.length > 0 && args.emit !== "-" && existsSync2(args.emit) ? readFileSync3(args.emit, "utf8") : void 0,
3980
+ sdkVersion: readVersion()
3981
+ },
3982
+ { orEmpty: true }
3983
+ );
3984
+ reportModuleFailures(rendered.failed, args.emit === "-" ? "the route manifest on stdout" : args.emit, args.strict === true);
3985
+ const source = rendered.source;
3934
3986
  const routeCount = resolved.length === 1 ? "1 route" : `${resolved.length} routes`;
3935
3987
  const channelCount = channelRows.length === 1 ? "1 channel" : `${channelRows.length} channels`;
3936
3988
  const count = describableServers.length > 0 ? `${routeCount}, ${channelCount}` : routeCount;
@@ -3938,7 +3990,7 @@ async function runPaths(args) {
3938
3990
  writeData(process.stdout, source);
3939
3991
  return;
3940
3992
  }
3941
- const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-FOR4IOXL.js");
3993
+ const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-3W72H5QO.js");
3942
3994
  const emitDir = dirname2(resolve2(args.emit));
3943
3995
  const projectSdk = skewedProjectSdk(installedSdk(emitDir) !== void 0 ? emitDir : dirname2(resolve2(file)), readVersion());
3944
3996
  if (projectSdk !== void 0 && existsSync2(args.emit) && readFileSync3(args.emit, "utf8") !== source) {
@@ -4011,14 +4063,16 @@ async function runPaths(args) {
4011
4063
  }
4012
4064
  }
4013
4065
  if (unresolved.length > 0) {
4014
- const { unresolvedCanonicalMessage } = await import("./routes-manifest-3BNZIVST.js");
4066
+ const { unresolvedCanonicalMessage } = await import("./routes-manifest-YR4ZIMLM.js");
4015
4067
  throw new UsageError(`${commandLabel(args)}: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`);
4016
4068
  }
4017
4069
  }
4018
- async function refreshRouteManifest(entry, emit2) {
4070
+ async function refreshRouteManifest(entry, emit2, projectDir) {
4019
4071
  resetLockOverrides();
4020
4072
  const lockPath = join2(dirname2(resolve2(entry)), "xano.lock");
4021
4073
  const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
4074
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-VU7SURVJ.js");
4075
+ const toolchain = existsSync2(emit2) ? await discoverToolchainPlugins(projectDir, { frozen: false, configuring: true, peerSkew: "skip" }) : void 0;
4022
4076
  const def = await loadDefault(entry);
4023
4077
  if (!Xano.isXano(def)) return { manifest: "absent", lockOrphans: 0 };
4024
4078
  const previousSink = setDiagnosticSink(() => {
@@ -4029,16 +4083,30 @@ async function refreshRouteManifest(entry, emit2) {
4029
4083
  } finally {
4030
4084
  setDiagnosticSink(previousSink);
4031
4085
  }
4032
- const { pulledIdentities } = await import("./pull-command-WQFPLITW.js");
4086
+ const { pulledIdentities } = await import("./pull-command-ZGUNP27P.js");
4033
4087
  const live = pulledIdentities(payload);
4034
4088
  const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
4035
4089
  if (!existsSync2(emit2)) return { manifest: "absent", lockOrphans };
4036
- const { planRouteManifest, renderPlannedManifest, renderRouteManifest } = await import("./routes-manifest-3BNZIVST.js");
4090
+ const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-YR4ZIMLM.js");
4091
+ const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-UALYSZLY.js");
4037
4092
  const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
4038
4093
  if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
4039
- const source = renderPlannedManifest(plan) ?? (plan.resolved.length === 0 && plan.servers.length === 0 ? renderRouteManifest([]) : void 0);
4040
- if (source === void 0) return { manifest: "skipped", lockOrphans };
4041
- if (readFileSync3(emit2, "utf8") === source) return { manifest: "unchanged", lockOrphans };
4094
+ const current = readFileSync3(emit2, "utf8");
4095
+ let rendered;
4096
+ try {
4097
+ rendered = renderManifestFile(
4098
+ plan,
4099
+ { loaded: toolchain?.loaded ?? [], skipped: toolchain?.skipped ?? [], previous: current, sdkVersion: readVersion() },
4100
+ { orEmpty: true }
4101
+ );
4102
+ } catch (err) {
4103
+ if (!(err instanceof RouteManifestError)) throw err;
4104
+ return { manifest: "skipped", lockOrphans, why: err.message };
4105
+ }
4106
+ if (rendered === void 0) return { manifest: "skipped", lockOrphans };
4107
+ reportModuleFailures(rendered.failed, emit2);
4108
+ const source = rendered.source;
4109
+ if (current === source) return { manifest: "unchanged", lockOrphans };
4042
4110
  try {
4043
4111
  writeFileSync(emit2, source, "utf8");
4044
4112
  } catch (err) {
@@ -4481,7 +4549,7 @@ function checkStandInTokens(def) {
4481
4549
  }
4482
4550
  function docMergeOf(args) {
4483
4551
  if (args.command !== "deploy" || args.localEngine) return void 0;
4484
- if (args.to !== void 0) return args.replace || args.to.startsWith("local-engine") ? void 0 : "to";
4552
+ if (args.to !== void 0) return args.replace || args.to.startsWith("local") ? void 0 : "to";
4485
4553
  return args.keepData && !args.reset ? "keep-data" : void 0;
4486
4554
  }
4487
4555
  function unsuppliedDocTokenError(unsupplied, remedy) {
@@ -4544,7 +4612,7 @@ async function refineGonePullHint(err) {
4544
4612
  if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
4545
4613
  let gone;
4546
4614
  try {
4547
- const { lookupEphemeral } = await import("./source-resolve-DMDZVPMM.js");
4615
+ const { lookupEphemeral } = await import("./source-resolve-MKLNYFWG.js");
4548
4616
  gone = await lookupEphemeral(auth, offer.name) === null;
4549
4617
  } catch {
4550
4618
  return;
@@ -4747,4 +4815,4 @@ export {
4747
4815
  docTokenRefusalIfReplaced,
4748
4816
  envRefusalIfReplaced
4749
4817
  };
4750
- //# sourceMappingURL=chunk-WYEQFD6A.js.map
4818
+ //# sourceMappingURL=chunk-XFBGXB7X.js.map