@xano/sdk 1.0.5 → 1.0.7

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 (277) hide show
  1. package/CHANGELOG.md +35 -5
  2. package/README.md +56 -20
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-KVLR7M5Y.js → agent-file-refresh-DGGSRPJ4.js} +15 -14
  5. package/dist/agent-skill-command-37DFYS7Q.js +414 -0
  6. package/dist/{answer-shape-XGR2DGWY.js → answer-shape-RBFDCNZ7.js} +5 -5
  7. package/dist/{backend-dir-IE4RMUFH.js → backend-dir-KDD43X7K.js} +16 -15
  8. package/dist/{backend-slot-6HBWG5FN.js → backend-slot-TBOVZXDE.js} +4 -4
  9. package/dist/bin.js +63 -61
  10. package/dist/{branch-T2APKPVG.js → branch-7PIKNUD7.js} +12 -11
  11. package/dist/{branch-commands-HXXTCSOO.js → branch-commands-EGY7ZEZE.js} +32 -32
  12. package/dist/bundle.js +9 -39
  13. package/dist/{capture-HBXFXZEW.js → capture-GW5KNKMB.js} +3 -3
  14. package/dist/{chunk-3BJYQGAZ.js → chunk-26LHXLD3.js} +2 -2
  15. package/dist/{chunk-N6BWB35H.js → chunk-2ACWDSAQ.js} +3 -3
  16. package/dist/{chunk-XIABDKFQ.js → chunk-2SD4LA22.js} +2 -2
  17. package/dist/{chunk-K6PRKPFX.js → chunk-2XWVZRL6.js} +7 -7
  18. package/dist/{chunk-ES5A66IH.js → chunk-2YER2J47.js} +13 -13
  19. package/dist/{chunk-G57RYMKB.js → chunk-3FRGNBOC.js} +2 -2
  20. package/dist/{chunk-BMCZQZMI.js → chunk-46PATL23.js} +13 -9
  21. package/dist/{chunk-MYLPOVX6.js → chunk-47XT6WQL.js} +8 -8
  22. package/dist/{chunk-AWQ7BQTQ.js → chunk-4GPIOIAC.js} +6 -1
  23. package/dist/{chunk-7GX445AE.js → chunk-4XHAT7C5.js} +2 -2
  24. package/dist/{chunk-QOLOQ35F.js → chunk-567KK6XF.js} +8 -8
  25. package/dist/{chunk-57HMNJGB.js → chunk-5GIOCDUM.js} +893 -922
  26. package/dist/{chunk-OKNE3TWU.js → chunk-5KJBWIDZ.js} +83 -5
  27. package/dist/{chunk-SRX6B544.js → chunk-5QMJOE2K.js} +5 -5
  28. package/dist/{chunk-AGD7F7YI.js → chunk-5SCPRXFB.js} +4 -4
  29. package/dist/{chunk-SNGFEESM.js → chunk-5ZG7V2VW.js} +3 -3
  30. package/dist/{chunk-XJU6UAFV.js → chunk-7FIMUFBP.js} +2 -2
  31. package/dist/{chunk-AESE434J.js → chunk-7M6JP3FS.js} +2 -2
  32. package/dist/{chunk-K6CB5TKM.js → chunk-7REDHC4N.js} +2 -2
  33. package/dist/chunk-7VR4IO5B.js +44 -0
  34. package/dist/{chunk-57B56I4B.js → chunk-7XXWKTCE.js} +65 -41
  35. package/dist/{chunk-PL7AIAWS.js → chunk-A4R5CAY4.js} +4 -111
  36. package/dist/{chunk-QZTJ2556.js → chunk-AKERAUNH.js} +4 -4
  37. package/dist/{chunk-JZWUAEMO.js → chunk-ARWMVNDJ.js} +6 -3
  38. package/dist/{chunk-WYS6XVZ3.js → chunk-AVS4WPPY.js} +2 -2
  39. package/dist/{chunk-KUU7T4ZE.js → chunk-B2URJBC4.js} +18 -18
  40. package/dist/chunk-B3P25SDP.js +78 -0
  41. package/dist/chunk-BRANWM4U.js +853 -0
  42. package/dist/{chunk-BBPAXOU6.js → chunk-BSVQEKHO.js} +6 -6
  43. package/dist/{chunk-3WHWOKU4.js → chunk-BZ6WTG3E.js} +4 -4
  44. package/dist/{chunk-XNZURZ7T.js → chunk-CH23ONYG.js} +77 -6
  45. package/dist/{chunk-SQPIECXD.js → chunk-CJDPSCMX.js} +45 -5
  46. package/dist/{chunk-M7GJ6YUF.js → chunk-CNZASQPL.js} +16 -2
  47. package/dist/{chunk-44CWK6YC.js → chunk-CPN6WSBH.js} +4 -4
  48. package/dist/{chunk-L3BDO2BI.js → chunk-CT3J5JRZ.js} +7 -7
  49. package/dist/{chunk-3HOGFGKG.js → chunk-D3KEPRRN.js} +2 -2
  50. package/dist/{chunk-OGUMHW2X.js → chunk-D5OZRJ3T.js} +7 -7
  51. package/dist/{chunk-S5KQIFKJ.js → chunk-DG3APBUJ.js} +208 -112
  52. package/dist/chunk-DIWF7L33.js +995 -0
  53. package/dist/{chunk-WRBKLYSJ.js → chunk-DNBP4GJN.js} +4 -3
  54. package/dist/{chunk-LZDA6SVD.js → chunk-DXZTL7NA.js} +141 -91
  55. package/dist/{chunk-XMDDBEEM.js → chunk-E763QI3G.js} +2 -2
  56. package/dist/{chunk-3VX7VAQT.js → chunk-EF4MHLEW.js} +26 -9
  57. package/dist/{chunk-AGSCOISO.js → chunk-ELPQTDW6.js} +108 -100
  58. package/dist/{chunk-Q22BMRPF.js → chunk-EPFDY5JU.js} +2 -2
  59. package/dist/{chunk-7DBM6XHR.js → chunk-EU32BC5B.js} +8 -8
  60. package/dist/{chunk-Y76ERHLK.js → chunk-FDTET7FZ.js} +6 -6
  61. package/dist/{chunk-Z3SNX45M.js → chunk-FENA7K7C.js} +3 -3
  62. package/dist/{chunk-WOGJB2F6.js → chunk-FNLTFOUD.js} +4 -9
  63. package/dist/{chunk-FV55SRQU.js → chunk-FQ53GTII.js} +9 -9
  64. package/dist/{chunk-DEVGLLNZ.js → chunk-GHMLRFRX.js} +8 -8
  65. package/dist/{chunk-GMVW6ZZK.js → chunk-H2K4GFUS.js} +4 -4
  66. package/dist/{chunk-NUU76247.js → chunk-HTQWAQRW.js} +3 -3
  67. package/dist/{chunk-ROY4YAEQ.js → chunk-HU7F56VF.js} +22 -2
  68. package/dist/{chunk-RXCT3OCU.js → chunk-HZ6ADG3O.js} +47 -8
  69. package/dist/{chunk-Z2BRSQ6M.js → chunk-I6XRUU6U.js} +91 -64
  70. package/dist/chunk-IPNN2KRW.js +257 -0
  71. package/dist/{chunk-SF2B7MZK.js → chunk-IYXL5NYU.js} +259 -31
  72. package/dist/chunk-JI3BLXWQ.js +107 -0
  73. package/dist/{chunk-4DJTQ6W4.js → chunk-JIKGT7DO.js} +2 -1
  74. package/dist/{chunk-OVV2HXJ6.js → chunk-JOOKM7AH.js} +2 -2
  75. package/dist/{chunk-65SW2BA5.js → chunk-JOWY6HFL.js} +3 -3
  76. package/dist/{chunk-I5VEROXW.js → chunk-JX6N73H3.js} +2 -2
  77. package/dist/{chunk-5D6DGF3W.js → chunk-L472YIGG.js} +8 -8
  78. package/dist/{chunk-HLQH3AXB.js → chunk-L6HZ67P6.js} +2 -2
  79. package/dist/{chunk-TM5LRSBB.js → chunk-LBJA7IEM.js} +370 -45
  80. package/dist/chunk-LCOCRJ4K.js +116 -0
  81. package/dist/{chunk-DGWHAVRG.js → chunk-LJM5CIY4.js} +16 -1
  82. package/dist/{chunk-5RLAF6RL.js → chunk-M2C54ZBC.js} +4 -4
  83. package/dist/{chunk-U6DR6464.js → chunk-M3NEK3LT.js} +4 -4
  84. package/dist/{chunk-5XVBT6CQ.js → chunk-MBL7CXJ7.js} +2 -2
  85. package/dist/{chunk-5YBNXNKU.js → chunk-MFWF2NZJ.js} +12 -5
  86. package/dist/{chunk-TEBS7FE6.js → chunk-MYZRMSPM.js} +2 -2
  87. package/dist/{chunk-YSLMMR2U.js → chunk-N3YFCFCO.js} +14 -14
  88. package/dist/{chunk-OJPZEUPH.js → chunk-NDJAKSE7.js} +11 -8
  89. package/dist/{chunk-PIPIA7K7.js → chunk-NV37YGOV.js} +7 -7
  90. package/dist/{chunk-ZHGWR45B.js → chunk-O56DQKPL.js} +9 -9
  91. package/dist/{chunk-4QBGE3EO.js → chunk-ORGNLQN6.js} +6 -6
  92. package/dist/{chunk-NNB7VUCH.js → chunk-PEIBGH2V.js} +55 -31
  93. package/dist/{chunk-UJ6ZZJDD.js → chunk-PEX4QZVI.js} +2 -2
  94. package/dist/{chunk-LLS2WO2K.js → chunk-PV25BDCH.js} +5 -5
  95. package/dist/{chunk-F3557PVM.js → chunk-PY722CHR.js} +2 -2
  96. package/dist/{chunk-4GDEEY2U.js → chunk-QGIZLFAS.js} +4 -4
  97. package/dist/{chunk-YI76TURL.js → chunk-QRQ54LUI.js} +16 -14
  98. package/dist/{chunk-JQOX6HW4.js → chunk-RBU2YX22.js} +3 -3
  99. package/dist/{chunk-4NEBBKOP.js → chunk-RRMH7WMY.js} +7 -7
  100. package/dist/{chunk-HOOOOJJP.js → chunk-S46ODQRA.js} +2 -2
  101. package/dist/{chunk-37FBPMNE.js → chunk-S56YBYMN.js} +5 -2
  102. package/dist/{chunk-4QFBEKXI.js → chunk-SDGV76HF.js} +2 -2
  103. package/dist/{chunk-CV54PASI.js → chunk-SGK3PTTM.js} +312 -132
  104. package/dist/{chunk-S5TEJIGP.js → chunk-SKEG3V2V.js} +2 -2
  105. package/dist/{chunk-VZ22VUAS.js → chunk-SLGJIWCY.js} +3 -3
  106. package/dist/{chunk-JSEVKRVJ.js → chunk-T4LJ5UR2.js} +29 -7
  107. package/dist/{chunk-JXKO6JT7.js → chunk-TWVUYS63.js} +24 -24
  108. package/dist/{chunk-UIEFE6FU.js → chunk-U5M7T6CI.js} +7 -7
  109. package/dist/{chunk-Z4VN347O.js → chunk-UYFUIHH3.js} +2 -2
  110. package/dist/{chunk-Y6NO3DLQ.js → chunk-V7MBRUK6.js} +3 -3
  111. package/dist/chunk-VAGSKUWC.js +67 -0
  112. package/dist/{chunk-A4NNCI4O.js → chunk-VIJ5D3RC.js} +3 -3
  113. package/dist/{chunk-3IYVHVM6.js → chunk-VJFMUJWZ.js} +4 -4
  114. package/dist/{chunk-V4IBHDIY.js → chunk-VNDR2T35.js} +7 -7
  115. package/dist/chunk-WAVNUTMT.js +9 -0
  116. package/dist/{chunk-KQLACS4Q.js → chunk-WNCW2RNB.js} +4 -4
  117. package/dist/chunk-WUEPP5HD.js +111 -0
  118. package/dist/{chunk-IV446ZLJ.js → chunk-Y453TW6J.js} +2 -2
  119. package/dist/{local-engine-command-73NHWD6V.js → chunk-YCUDOF6Q.js} +22 -76
  120. package/dist/{chunk-CJ76PSJT.js → chunk-YH2JVJAO.js} +12 -12
  121. package/dist/{chunk-GPI3OWRE.js → chunk-YHB34BN6.js} +2 -1
  122. package/dist/{chunk-AMBEITWL.js → chunk-ZGLNHA7T.js} +7 -7
  123. package/dist/{chunk-NGAODDLX.js → chunk-ZJOAWRED.js} +8 -8
  124. package/dist/{chunk-TUEFTRC2.js → chunk-ZXRDD3Q2.js} +50 -27
  125. package/dist/cli.d.ts +40 -11
  126. package/dist/cli.js +60 -56
  127. package/dist/{codegen-command-L2OO6OTE.js → codegen-command-T7TC7PQO.js} +79 -72
  128. package/dist/codegen.d.ts +2 -2
  129. package/dist/codegen.js +2 -2
  130. package/dist/{commands-2E4JB3DB.js → commands-JDENTDJS.js} +3 -3
  131. package/dist/{completion-LPJIH5VQ.js → completion-YFD5OVJW.js} +9 -5
  132. package/dist/{config-QDCRKEWD.js → config-YJFUTRJW.js} +8 -8
  133. package/dist/{deploy-command-HJZNYCUY.js → deploy-command-OEVEE6UG.js} +65 -63
  134. package/dist/deploy-source-HYVZEYXV.js +83 -0
  135. package/dist/{dev-env-sync-GZ4QQJGV.js → dev-env-sync-EFDCJ6KU.js} +63 -61
  136. package/dist/{diagnostics-LSMGB4TY.js → diagnostics-OMN5Y2AH.js} +2 -2
  137. package/dist/{display-name-hint-AHCNH6TF.js → display-name-hint-SW3GB3V7.js} +14 -13
  138. package/dist/{emit-DqG6qddr.d.ts → emit-Dov_92kn.d.ts} +66 -20
  139. package/dist/env-example-refresh-WNSOH534.js +134 -0
  140. package/dist/{env-pull-command-Z4RLVEGJ.js → env-pull-command-UYEXMQ3P.js} +53 -52
  141. package/dist/{env-target-ZHQUS5BO.js → env-target-JBSLBKNX.js} +15 -14
  142. package/dist/{env-var-command-FKQ4VVQ6.js → env-var-command-BJNRAXNV.js} +51 -49
  143. package/dist/{ephemeral-L4KUOGEU.js → ephemeral-CEOGMIEA.js} +11 -10
  144. package/dist/{ephemeral-command-GRPFI3TD.js → ephemeral-command-IPSGBCS5.js} +70 -69
  145. package/dist/{ephemeral-state-VLYU2BXR.js → ephemeral-state-MTBASPRS.js} +13 -12
  146. package/dist/{generate-command-XNODJFDQ.js → generate-command-XQXODBS6.js} +96 -86
  147. package/dist/{gitignore-VWRSZX5F.js → gitignore-RUVCIZO4.js} +21 -20
  148. package/dist/{guards-OPSGB6LG.js → guards-KYEOCVHN.js} +6 -6
  149. package/dist/{impersonate-command-AEKIZHHK.js → impersonate-command-MA27O7S5.js} +46 -44
  150. package/dist/{import-PHSSFFLA.js → import-XKRFHABE.js} +5 -5
  151. package/dist/index.d.ts +14 -20
  152. package/dist/index.js +13 -13
  153. package/dist/init-command-6RDTCMAB.js +143 -0
  154. package/dist/{init-modules-SGSX7XEY.js → init-modules-DHTBOCQT.js} +10 -9
  155. package/dist/{init-web-6HX3YLQP.js → init-web-ELBXSXDL.js} +3 -3
  156. package/dist/internal.d.ts +5 -5
  157. package/dist/internal.js +47 -20
  158. package/dist/{io-TAF4WXYQ.js → io-PGTCBSIQ.js} +6 -4
  159. package/dist/{keep-data-merge-GUGF7MVZ.js → keep-data-merge-TDJOIAVT.js} +33 -34
  160. package/dist/{lambda-config-reconcile-65U6I4KU.js → lambda-config-reconcile-47X5C2E4.js} +6 -5
  161. package/dist/{landed-QA6PRTV2.js → landed-F7PCHGCK.js} +3 -3
  162. package/dist/{landing-record-FCAWLCZU.js → landing-record-TPPYFQAS.js} +26 -25
  163. package/dist/{live-diff-IM4W3ELT.js → live-diff-5E2BQWQ7.js} +9 -8
  164. package/dist/local-engine-choice-S6VHPJRU.js +81 -0
  165. package/dist/local-engine-command-4EZCGZ6M.js +85 -0
  166. package/dist/{local-engine-config-W3KB7RWM.js → local-engine-config-2EBL3QKA.js} +3 -2
  167. package/dist/{local-engine-deploy-Y4OAWL7K.js → local-engine-deploy-FOPNWU7X.js} +18 -16
  168. package/dist/local-engine-lookup-GM3E3NPP.js +43 -0
  169. package/dist/local-engine-mcp-bridge-QKZHUGW3.js +423 -0
  170. package/dist/local-engine-mcp-command-BFQVLXZC.js +181 -0
  171. package/dist/{local-engine-process-6YPJHKYM.js → local-engine-process-XUQPQENQ.js} +12 -9
  172. package/dist/{local-engine-state-OCW5YDD7.js → local-engine-state-JQPKGB65.js} +4 -3
  173. package/dist/{local-engine-update-check-X7TZGRFL.js → local-engine-update-check-S7UF6ZF5.js} +7 -6
  174. package/dist/{lock-WXXC3QHL.js → lock-HDCHD2ON.js} +4 -2
  175. package/dist/{lock-commands-PKDBNRSD.js → lock-commands-HJ6Y5QVS.js} +66 -64
  176. package/dist/{login-command-V4U4FA5G.js → login-command-JO55NZAS.js} +34 -33
  177. package/dist/{logout-command-TV3P545Z.js → logout-command-MPRIRSJA.js} +18 -17
  178. package/dist/{loop-VKHGQ6MP.js → loop-SUB6C2LK.js} +8 -9
  179. package/dist/{marketplace-command-LEFOAEAV.js → marketplace-command-BM6G257N.js} +90 -54
  180. package/dist/{marketplace-resolve-ME7O7JBJ.js → marketplace-resolve-AWH3RG57.js} +7 -6
  181. package/dist/{meta-client-TEEECA5W.js → meta-client-AOSWODQQ.js} +16 -15
  182. package/dist/{module-manifest-7YLGIRCY.js → module-manifest-GXI46PEF.js} +7 -4
  183. package/dist/node.d.ts +5 -5
  184. package/dist/node.js +68 -67
  185. package/dist/operation-outcome-4UKPXTNC.js +53 -0
  186. package/dist/{output-target-5FWX3NGZ.js → output-target-RAZ4KN5J.js} +22 -21
  187. package/dist/{package-manager-PRAHUSCN.js → package-manager-K762W7XT.js} +2 -2
  188. package/dist/{plan-disclosure-QGL5UYQR.js → plan-disclosure-JR52DWXN.js} +21 -21
  189. package/dist/{plugin-contributions-GNFTWDEB.js → plugin-contributions-E6XHLQWK.js} +6 -6
  190. package/dist/{plugin-prompt-VEQGMZ4T.js → plugin-prompt-IODX5EU6.js} +5 -5
  191. package/dist/{plugin-questions-BGRL23GO.js → plugin-questions-AAAJ7POP.js} +4 -4
  192. package/dist/plugin.d.ts +254 -10
  193. package/dist/{preflight-command-VKJKXRRI.js → preflight-command-7GKJBWOQ.js} +71 -70
  194. package/dist/{profile-command-P7A3BH26.js → profile-command-CM6J7E2M.js} +35 -34
  195. package/dist/{profile-pointer-HG7IXE4I.js → profile-pointer-KTYXL6FU.js} +5 -4
  196. package/dist/{project-dependency-Z4CKOCJI.js → project-dependency-OQ5575QQ.js} +11 -8
  197. package/dist/{project-sdk-JWZWGXXR.js → project-sdk-2ESHHZVL.js} +4 -4
  198. package/dist/promote-command-BDRPG6UU.js +147 -0
  199. package/dist/{prompt-SURZOUUW.js → prompt-MQPGU4ZI.js} +4 -4
  200. package/dist/{publish-command-HGAB3H4A.js → publish-command-IEMYZ7LF.js} +69 -67
  201. package/dist/pull-command-S5E2ABZ4.js +169 -0
  202. package/dist/{pull-superseded-TOT5S4QU.js → pull-superseded-E34BZVLH.js} +4 -4
  203. package/dist/{raw-where-EoWl5fqY.d.ts → raw-where-ZMLND6AG.d.ts} +20 -3
  204. package/dist/release-command-7F5TBKO2.js +151 -0
  205. package/dist/{release-ns-command-WOQE2BDQ.js → release-ns-command-EK2ZQ4CC.js} +101 -100
  206. package/dist/{retry-command-JRGMZZAC.js → retry-command-GL5HCMVB.js} +10 -9
  207. package/dist/{routes-manifest-URFMAWJE.js → routes-manifest-YR4ZIMLM.js} +15 -7
  208. package/dist/routes-manifest-file-LCIKPDAG.js +41 -0
  209. package/dist/scaffold.js +4 -4
  210. package/dist/secrets-IV4N5HYI.js +20 -0
  211. package/dist/{secrets-file-YWZWVJ52.js → secrets-file-LXREYU3M.js} +21 -20
  212. package/dist/{secrets-fill-command-HIHK3VH2.js → secrets-fill-command-QHZS3KWM.js} +64 -62
  213. package/dist/{seed-24DTEY5S.js → seed-FRKMDN2Z.js} +9 -9
  214. package/dist/{source-resolve-OWD3MIEO.js → source-resolve-BBHYTOXI.js} +26 -24
  215. package/dist/{static-host-UIR2OLPQ.js → static-host-7LC7OZR4.js} +5 -5
  216. package/dist/{status-command-JKTHH5QE.js → status-command-TY253MJT.js} +54 -52
  217. package/dist/{store-zxw2go0f.d.ts → store-Boba9OOh.d.ts} +2 -2
  218. package/dist/{store-5YAQS6KU.js → store-VJ3OS6VO.js} +8 -7
  219. package/dist/sync-baseline-DOV5AGIO.js +36 -0
  220. package/dist/{sync-contributions-RBB6JVOL.js → sync-contributions-63542VE4.js} +20 -12
  221. package/dist/sync-record-RGHK7EAL.js +43 -0
  222. package/dist/{table-MQFVYA4K.js → table-OAYGFGEN.js} +8 -8
  223. package/dist/{tables-command-5Q4BSUNO.js → tables-command-PZIVDAH3.js} +45 -43
  224. package/dist/{tenant-Q3LPVSSM.js → tenant-Y3II4VY3.js} +12 -11
  225. package/dist/{tenant-command-BFVU2PEX.js → tenant-command-G6XON7CF.js} +113 -107
  226. package/dist/{test-command-F4VUU4QR.js → test-command-3FZOX7O3.js} +44 -42
  227. package/dist/{tests-5ZSDFVIJ.js → tests-KF6N6BZ7.js} +6 -6
  228. package/dist/{token-TERSTNU4.js → token-DJJUW5HY.js} +14 -13
  229. package/dist/toolchain-hooks-7PWCFLSU.js +46 -0
  230. package/dist/{toolchain-modules-FD5ANV2U.js → toolchain-modules-OTNSKK52.js} +8 -5
  231. package/dist/toolchain-peers-KQ7TQ2AR.js +28 -0
  232. package/dist/tracked-backend-AJCGTO5Y.js +82 -0
  233. package/dist/{update-check-O4C2LCZH.js → update-check-4E5L6GAW.js} +61 -59
  234. package/dist/{upgrade-command-NVFWLMTA.js → upgrade-command-BXMSQN4C.js} +68 -64
  235. package/dist/{whoami-command-YKNTISIV.js → whoami-command-NLCCIEUM.js} +17 -16
  236. package/dist/{workspace-GGVGE2S5.js → workspace-PNMJOXE4.js} +5 -5
  237. package/dist/{workspace-binding-OS4ZOX4S.js → workspace-binding-J5GWDFRI.js} +16 -15
  238. package/dist/{workspace-command-GTUNVN7K.js → workspace-command-MHIIY352.js} +125 -93
  239. package/dist/{workspace-env-467C5KHM.js → workspace-env-LLRWCHSA.js} +17 -16
  240. package/dist/{workspace-export-3XTVGQVM.js → workspace-export-BIKAYHWJ.js} +5 -5
  241. package/dist/{writable-7SSWUQJ3.js → writable-UOTO4WWC.js} +4 -4
  242. package/dist/{xano-6RS5XQZE.js → xano-LCI7VWPS.js} +8 -8
  243. package/dist/{xanosdk-import-E3WSIYUE.js → xanosdk-import-S7A3CVBN.js} +8 -8
  244. package/dist/{xanosdk-project-KH5TZ2KI.js → xanosdk-project-J4VCFRHP.js} +18 -17
  245. package/guides/README.md +2 -2
  246. package/guides/cli.md +73 -4
  247. package/guides/codegen.md +23 -5
  248. package/guides/codes.md +8 -2
  249. package/guides/coverage.md +5 -0
  250. package/guides/deploying.md +80 -0
  251. package/guides/marketplace.md +21 -0
  252. package/guides/module-contract.md +80 -4
  253. package/guides/scaffold.md +61 -10
  254. package/guides/typed-frontend.md +37 -0
  255. package/llms/client.md +11 -1
  256. package/llms/filters.md +4 -0
  257. package/llms/kinds-core.md +1 -1
  258. package/llms/statements-data.md +3 -2
  259. package/llms/toolchain.md +12 -0
  260. package/llms-full.txt +34 -7
  261. package/llms.txt +3 -3
  262. package/manifest.json +63 -5
  263. package/package.json +5 -2
  264. package/skills/xano-backend/SKILL.md +119 -0
  265. package/dist/chunk-F6IKWAIU.js +0 -664
  266. package/dist/chunk-M6ZFSTIZ.js +0 -630
  267. package/dist/chunk-MEIJDRHU.js +0 -243
  268. package/dist/deploy-source-5COWTBOC.js +0 -81
  269. package/dist/env-example-refresh-DWQIOQYR.js +0 -127
  270. package/dist/init-command-TI3HCKXZ.js +0 -126
  271. package/dist/local-engine-choice-FPJAZSSD.js +0 -79
  272. package/dist/operation-outcome-GNDD35WL.js +0 -51
  273. package/dist/promote-command-KHTIK44I.js +0 -141
  274. package/dist/pull-command-EUEWBRXZ.js +0 -162
  275. package/dist/release-command-WOVQAMUY.js +0 -147
  276. package/dist/toolchain-hooks-QVUZ6HZ4.js +0 -96
  277. package/dist/tracked-backend-B4HTME4S.js +0 -80
@@ -1,19 +1,16 @@
1
1
  import {
2
2
  pinWrittenText
3
- } from "./chunk-ZHGWR45B.js";
3
+ } from "./chunk-O56DQKPL.js";
4
4
  import {
5
5
  acquireEngine,
6
6
  restartMismatchedEngine
7
- } from "./chunk-YI76TURL.js";
8
- import {
9
- confirm
10
- } from "./chunk-AESE434J.js";
7
+ } from "./chunk-QRQ54LUI.js";
11
8
  import {
12
9
  resolveProjectEntry
13
- } from "./chunk-PIPIA7K7.js";
14
- import "./chunk-XIABDKFQ.js";
15
- import "./chunk-3DRXWLJ5.js";
16
- import "./chunk-X4DVXBFY.js";
10
+ } from "./chunk-NV37YGOV.js";
11
+ import {
12
+ confirm
13
+ } from "./chunk-7M6JP3FS.js";
17
14
  import {
18
15
  cachedEngineEntry,
19
16
  engineVersion,
@@ -23,7 +20,7 @@ import {
23
20
  stopAllEngines,
24
21
  stopEngineNamed,
25
22
  stopOrphanedEngineProcesses
26
- } from "./chunk-RXCT3OCU.js";
23
+ } from "./chunk-HZ6ADG3O.js";
27
24
  import {
28
25
  diskBytes,
29
26
  listLegacyCacheDirs,
@@ -32,73 +29,33 @@ import {
32
29
  readEngineEntry,
33
30
  readPin,
34
31
  writePin
35
- } from "./chunk-Z3SNX45M.js";
36
- import "./chunk-64WWE3EF.js";
32
+ } from "./chunk-FENA7K7C.js";
37
33
  import {
38
34
  ENGINE_RELEASES_URL_ENV,
39
35
  normalizeEngineVersion,
40
36
  resolveEngineRelease,
41
37
  usesCustomReleaseManager
42
- } from "./chunk-JQOX6HW4.js";
43
- import "./chunk-2TFRR6JV.js";
44
- import "./chunk-HOOOOJJP.js";
38
+ } from "./chunk-RBU2YX22.js";
45
39
  import {
46
40
  NO_CREDENTIAL,
47
41
  SourceError,
48
42
  resolveSource
49
- } from "./chunk-JXKO6JT7.js";
50
- import "./chunk-3BJYQGAZ.js";
51
- import "./chunk-5XVBT6CQ.js";
52
- import "./chunk-V4IBHDIY.js";
53
- import "./chunk-KQLACS4Q.js";
54
- import "./chunk-4GDEEY2U.js";
55
- import "./chunk-2MNLRIOX.js";
43
+ } from "./chunk-TWVUYS63.js";
56
44
  import {
57
45
  clearEngineRecordsNamed,
58
46
  clearEngineRecordsStillMatching,
59
47
  listEngineRecords
60
- } from "./chunk-Q22BMRPF.js";
48
+ } from "./chunk-EPFDY5JU.js";
61
49
  import {
62
50
  SUPPORTED_PLATFORMS,
63
51
  engineRunHome,
64
52
  legacyRuntimeDirs,
65
53
  localEngineBinDir,
66
54
  resolveEnginePlatform
67
- } from "./chunk-PL7AIAWS.js";
68
- import "./chunk-4QBGE3EO.js";
69
- import "./chunk-ZYJP6BOO.js";
70
- import "./chunk-QO6BVGS5.js";
71
- import "./chunk-UJ6ZZJDD.js";
72
- import "./chunk-QZTJ2556.js";
73
- import "./chunk-TEBS7FE6.js";
55
+ } from "./chunk-A4R5CAY4.js";
74
56
  import {
75
57
  yesRerun
76
- } from "./chunk-Z4VN347O.js";
77
- import "./chunk-622HUCZT.js";
78
- import "./chunk-G57RYMKB.js";
79
- import "./chunk-AGD7F7YI.js";
80
- import "./chunk-F6IKWAIU.js";
81
- import "./chunk-OGUMHW2X.js";
82
- import "./chunk-3VX7VAQT.js";
83
- import "./chunk-ZFDZKNGG.js";
84
- import "./chunk-FWD7AL6N.js";
85
- import "./chunk-MYLPOVX6.js";
86
- import "./chunk-DXUICABI.js";
87
- import "./chunk-4KHEMC32.js";
88
- import "./chunk-ROY4YAEQ.js";
89
- import "./chunk-5YBNXNKU.js";
90
- import "./chunk-WRBKLYSJ.js";
91
- import "./chunk-M7GJ6YUF.js";
92
- import "./chunk-OJPZEUPH.js";
93
- import "./chunk-AWQ7BQTQ.js";
94
- import "./chunk-EUUUMY7J.js";
95
- import "./chunk-HLQH3AXB.js";
96
- import "./chunk-JZWUAEMO.js";
97
- import "./chunk-LLNZGEFK.js";
98
- import "./chunk-MF4W6FHU.js";
99
- import "./chunk-X2NL4KUO.js";
100
- import "./chunk-M6ZFSTIZ.js";
101
- import "./chunk-DGWHAVRG.js";
58
+ } from "./chunk-UYFUIHH3.js";
102
59
  import {
103
60
  UsageError,
104
61
  detail,
@@ -111,25 +68,11 @@ import {
111
68
  unknownSubcommand,
112
69
  warn,
113
70
  writeJson
114
- } from "./chunk-XNZURZ7T.js";
115
- import "./chunk-XJU6UAFV.js";
116
- import "./chunk-H2V3N23D.js";
117
- import "./chunk-3JDU4VRL.js";
118
- import "./chunk-GPI3OWRE.js";
71
+ } from "./chunk-CH23ONYG.js";
119
72
  import {
120
73
  suggest,
121
74
  suggestAll
122
75
  } from "./chunk-UTI5G6OJ.js";
123
- import "./chunk-OKNE3TWU.js";
124
- import "./chunk-5ZSO4T2G.js";
125
- import "./chunk-VQPDATQT.js";
126
- import "./chunk-TFFGOFVZ.js";
127
- import "./chunk-LL6ED5IB.js";
128
- import "./chunk-4BW2SG2N.js";
129
- import "./chunk-4MIV244X.js";
130
- import "./chunk-OHX6MIUZ.js";
131
- import "./chunk-36JUQZVQ.js";
132
- import "./chunk-PZ5AY32C.js";
133
76
 
134
77
  // src/emit/local-engine-command.ts
135
78
  import { readdirSync, rmSync } from "fs";
@@ -140,6 +83,8 @@ async function runLocalEngineCommand(args, opts = {}) {
140
83
  return runList(args, opts);
141
84
  case "token":
142
85
  return runToken(args, opts);
86
+ case "mcp":
87
+ return (await import("./local-engine-mcp-command-BFQVLXZC.js")).runMcp(args, opts);
143
88
  case "stop":
144
89
  return runStop(args, opts);
145
90
  case "update":
@@ -427,7 +372,7 @@ Run this from the project's root.`
427
372
  }
428
373
  async function repointDevEnvAfterRestart(dir, restarted) {
429
374
  if (restarted.previousUrl === void 0) return void 0;
430
- const { repointDevEnv } = await import("./dev-env-sync-GZ4QQJGV.js");
375
+ const { repointDevEnv } = await import("./dev-env-sync-EFDCJ6KU.js");
431
376
  try {
432
377
  return repointDevEnv(dir, restarted.previousUrl, restarted.url);
433
378
  } catch (err) {
@@ -752,10 +697,11 @@ function formatBytes(bytes) {
752
697
  }
753
698
  return unit === 0 ? `${n} B` : `${n.toFixed(1)} ${units[unit]}`;
754
699
  }
700
+
755
701
  export {
756
- reportOrphanSweep,
757
- resolveLiveEngine,
758
702
  runLocalEngineCommand,
759
- sweepOptions
703
+ sweepOptions,
704
+ reportOrphanSweep,
705
+ resolveLiveEngine
760
706
  };
761
- //# sourceMappingURL=local-engine-command-73NHWD6V.js.map
707
+ //# sourceMappingURL=chunk-YCUDOF6Q.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readEphemeralState
3
- } from "./chunk-4QBGE3EO.js";
3
+ } from "./chunk-ORGNLQN6.js";
4
4
  import {
5
5
  OpenIdProvider,
6
6
  addProfileHint,
@@ -30,11 +30,7 @@ import {
30
30
  withCredentialLock,
31
31
  writeCredentialFile,
32
32
  writeOrRemoveCredentialFile
33
- } from "./chunk-OJPZEUPH.js";
34
- import {
35
- registerSecret,
36
- tokenTextProblem
37
- } from "./chunk-AWQ7BQTQ.js";
33
+ } from "./chunk-NDJAKSE7.js";
38
34
  import {
39
35
  expandHome,
40
36
  readPathEnvVar
@@ -44,11 +40,11 @@ import {
44
40
  noteResolvedAuth,
45
41
  retryAfterSeconds,
46
42
  serverMessage
47
- } from "./chunk-HLQH3AXB.js";
43
+ } from "./chunk-L6HZ67P6.js";
48
44
  import {
49
45
  POINTER_FILE,
50
46
  findProjectPointer
51
- } from "./chunk-JZWUAEMO.js";
47
+ } from "./chunk-ARWMVNDJ.js";
52
48
  import {
53
49
  DEFAULT_PROFILE,
54
50
  ENV_PROFILE,
@@ -60,6 +56,10 @@ import {
60
56
  import {
61
57
  readEnvVar
62
58
  } from "./chunk-X2NL4KUO.js";
59
+ import {
60
+ registerSecret,
61
+ tokenTextProblem
62
+ } from "./chunk-4GPIOIAC.js";
63
63
  import {
64
64
  EXIT_SOURCE_UNRESOLVABLE,
65
65
  UsageError,
@@ -70,7 +70,7 @@ import {
70
70
  quotedNames,
71
71
  safeText,
72
72
  warn
73
- } from "./chunk-XNZURZ7T.js";
73
+ } from "./chunk-CH23ONYG.js";
74
74
  import {
75
75
  suggest
76
76
  } from "./chunk-UTI5G6OJ.js";
@@ -381,7 +381,7 @@ The refresh token may be expired or already spent \u2014 refresh tokens rotate o
381
381
  );
382
382
  }
383
383
  assertHttpsOrigin(instance, "instance");
384
- const { resolveScopedWorkspaceId } = await import("./workspace-GGVGE2S5.js");
384
+ const { resolveScopedWorkspaceId } = await import("./workspace-PNMJOXE4.js");
385
385
  const workspaceId = await resolveScopedWorkspaceId({ access_token: set.access_token, instance });
386
386
  return { access_token: set.access_token, instance, workspaceId, credentialType: "oauth-refresh" };
387
387
  }
@@ -499,7 +499,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
499
499
  if (selection.source !== "file-default" && selection.source !== "implicit") return;
500
500
  const stored = file === null ? [] : profileNames(file);
501
501
  if (stored.length < 2) return;
502
- const { projectDirFrom } = await import("./xanosdk-project-KH5TZ2KI.js");
502
+ const { projectDirFrom } = await import("./xanosdk-project-J4VCFRHP.js");
503
503
  if (projectDirFrom(process.cwd()) === void 0) return;
504
504
  const target = targetOf(saved);
505
505
  credentialWarning(
@@ -862,4 +862,4 @@ export {
862
862
  notSignedIn,
863
863
  assertStoredAuthHost
864
864
  };
865
- //# sourceMappingURL=chunk-CJ76PSJT.js.map
865
+ //# sourceMappingURL=chunk-YH2JVJAO.js.map
@@ -12,6 +12,7 @@ var VALUES = [
12
12
  "field.enum-default-not-a-value",
13
13
  "field.email-default-invalid",
14
14
  "field.input-default-invalid",
15
+ "field.input-required-default-ignored",
15
16
  "value.obj-zero-based-numeric-keys",
16
17
  "value.int-out-of-range"
17
18
  ];
@@ -310,4 +311,4 @@ export {
310
311
  problemCount,
311
312
  numberedList
312
313
  };
313
- //# sourceMappingURL=chunk-GPI3OWRE.js.map
314
+ //# sourceMappingURL=chunk-YHB34BN6.js.map
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  contextFlags
3
- } from "./chunk-G57RYMKB.js";
3
+ } from "./chunk-3FRGNBOC.js";
4
4
  import {
5
5
  backendDirFor,
6
6
  backendDirIn
7
- } from "./chunk-AGD7F7YI.js";
8
- import {
9
- projectRootFrom
10
- } from "./chunk-ROY4YAEQ.js";
7
+ } from "./chunk-5SCPRXFB.js";
11
8
  import {
12
9
  atomicWrite
13
10
  } from "./chunk-LLNZGEFK.js";
11
+ import {
12
+ projectRootFrom
13
+ } from "./chunk-HU7F56VF.js";
14
14
  import {
15
15
  LocalFileNotFoundError,
16
16
  displayPath,
17
17
  relForwardSlash
18
- } from "./chunk-XNZURZ7T.js";
18
+ } from "./chunk-CH23ONYG.js";
19
19
  import {
20
20
  normalizeDocumentationScopeKey
21
21
  } from "./chunk-3JDU4VRL.js";
@@ -127,4 +127,4 @@ export {
127
127
  entryWordOf,
128
128
  readSecretsFile
129
129
  };
130
- //# sourceMappingURL=chunk-AMBEITWL.js.map
130
+ //# sourceMappingURL=chunk-ZGLNHA7T.js.map
@@ -1,19 +1,19 @@
1
+ import {
2
+ isHomeRelative
3
+ } from "./chunk-EUUUMY7J.js";
1
4
  import {
2
5
  backendDirIn
3
- } from "./chunk-AGD7F7YI.js";
6
+ } from "./chunk-5SCPRXFB.js";
4
7
  import {
5
8
  shellWord
6
9
  } from "./chunk-FWD7AL6N.js";
7
- import {
8
- isHomeRelative
9
- } from "./chunk-EUUUMY7J.js";
10
10
  import {
11
11
  pointerRootFor
12
- } from "./chunk-JZWUAEMO.js";
12
+ } from "./chunk-ARWMVNDJ.js";
13
13
  import {
14
14
  UsageError,
15
15
  setTypedCwd
16
- } from "./chunk-XNZURZ7T.js";
16
+ } from "./chunk-CH23ONYG.js";
17
17
 
18
18
  // src/emit/xanosdk-project.ts
19
19
  import { existsSync, realpathSync, statSync } from "fs";
@@ -31,7 +31,7 @@ function projectDirFrom(start) {
31
31
  dir = parent;
32
32
  }
33
33
  }
34
- var RELATIVE_PATH_ARGS = ["out", "lockPath", "entryPath", "static", "bundle", "envFile", "secretsFile", "backendDir", "emit", "path"];
34
+ var RELATIVE_PATH_ARGS = ["out", "lockPath", "entryPath", "static", "bundle", "envFile", "secretsFile", "backendDir", "emit", "path", "project"];
35
35
  var PATH_VARS = ["XANO_CONFIG", "XANO_GLOBAL_CONFIG", "XANO_CLIENT_FILE", "XANOSDK_UPDATE_CACHE", "XANOSDK_PROVE_DIFF", "XANOSDK_ENGINE_HOME", "XANOSDK_ENGINE_OVERRIDE"];
36
36
  function enterProjectRoot(args, cwd = process.cwd(), positional) {
37
37
  const here = resolve(cwd);
@@ -154,4 +154,4 @@ export {
154
154
  RELATIVE_PATH_ARGS,
155
155
  enterProjectRoot
156
156
  };
157
- //# sourceMappingURL=chunk-NGAODDLX.js.map
157
+ //# sourceMappingURL=chunk-ZJOAWRED.js.map
@@ -4,21 +4,24 @@ import {
4
4
  managedBlockVersion,
5
5
  renderAgentsMd,
6
6
  upsertManagedBlock
7
- } from "./chunk-F6IKWAIU.js";
7
+ } from "./chunk-DIWF7L33.js";
8
8
  import {
9
9
  detectPackageManager
10
- } from "./chunk-WRBKLYSJ.js";
10
+ } from "./chunk-DNBP4GJN.js";
11
11
  import {
12
12
  allFrontendPresets
13
- } from "./chunk-57HMNJGB.js";
13
+ } from "./chunk-BRANWM4U.js";
14
14
  import {
15
- allIconLibraries
16
- } from "./chunk-M6ZFSTIZ.js";
15
+ README_PATH,
16
+ allIconLibraries,
17
+ readmeBuiltWithVersion,
18
+ refreshReadmeBuiltWith
19
+ } from "./chunk-5GIOCDUM.js";
17
20
  import {
18
21
  projectFileCli,
19
22
  projectSdkDir,
20
23
  warn
21
- } from "./chunk-XNZURZ7T.js";
24
+ } from "./chunk-CH23ONYG.js";
22
25
  import {
23
26
  DEFAULT_DARK_MODE
24
27
  } from "./chunk-TFFGOFVZ.js";
@@ -104,6 +107,10 @@ function detectDarkMode(projectDir) {
104
107
  }
105
108
  return void 0;
106
109
  }
110
+ function detectProjectFrontend(projectDir) {
111
+ if (!existsSync(join(projectDir, "frontend"))) return null;
112
+ return detectFrontendGuidance(projectDir);
113
+ }
107
114
  function detectFrontendGuidance(projectDir) {
108
115
  const preset = detectFrontendPreset(projectDir);
109
116
  if (preset === void 0) return void 0;
@@ -149,33 +156,49 @@ function appNameFor(projectDir) {
149
156
  }
150
157
  return basename(projectDir);
151
158
  }
159
+ function managedFiles(opts) {
160
+ return [
161
+ {
162
+ path: AGENTS_MD_PATH,
163
+ stampedVersion: managedBlockVersion,
164
+ refreshed: (existing) => {
165
+ const manager = detectPackageManager(opts.projectDir);
166
+ return upsertManagedBlock(
167
+ existing,
168
+ renderAgentsMd(opts.appName ?? appNameFor(opts.projectDir), opts.mode ?? guidanceModeFor(opts.projectDir), {
169
+ version: opts.sdkVersion,
170
+ frontend: opts.frontend !== void 0 ? opts.frontend : detectProjectFrontend(opts.projectDir),
171
+ cli: projectFileCli(opts.projectDir, manager),
172
+ sdkDir: projectSdkDir(opts.projectDir, manager)
173
+ })
174
+ );
175
+ }
176
+ },
177
+ {
178
+ path: README_PATH,
179
+ stampedVersion: readmeBuiltWithVersion,
180
+ refreshed: (existing) => refreshReadmeBuiltWith(existing, opts.sdkVersion)
181
+ }
182
+ ];
183
+ }
152
184
  function refreshAgentFiles(opts) {
153
185
  const env = opts.env ?? process.env;
154
186
  if (opts.explicit !== true && (isCI(env) || !codingAgentDetected(env))) return [];
155
- const path = AGENTS_MD_PATH;
156
- const absolute = join2(opts.projectDir, path);
157
- if (!existsSync2(absolute)) return [];
187
+ return managedFiles(opts).filter((file) => refreshFile(opts, file)).map((file) => file.path);
188
+ }
189
+ function refreshFile(opts, file) {
190
+ const absolute = join2(opts.projectDir, file.path);
191
+ if (!existsSync2(absolute)) return false;
158
192
  try {
159
193
  const existing = readFileSync2(absolute, "utf8");
160
- if (managedBlockVersion(existing) === null) return [];
161
- const manager = detectPackageManager(opts.projectDir);
162
- const rendered = renderAgentsMd(
163
- opts.appName ?? appNameFor(opts.projectDir),
164
- opts.mode ?? guidanceModeFor(opts.projectDir),
165
- {
166
- version: opts.sdkVersion,
167
- frontend: opts.frontend ?? detectFrontendGuidance(opts.projectDir),
168
- cli: projectFileCli(opts.projectDir, manager),
169
- sdkDir: projectSdkDir(opts.projectDir, manager)
170
- }
171
- );
172
- const updated = upsertManagedBlock(existing, rendered);
173
- if (updated === existing) return [];
194
+ if (file.stampedVersion(existing) === null) return false;
195
+ const updated = file.refreshed(existing);
196
+ if (updated === existing) return false;
174
197
  if (opts.write !== false) writeFileSync(absolute, updated);
175
- return [path];
198
+ return true;
176
199
  } catch (err) {
177
- warn(`could not refresh ${path}: ${err instanceof Error ? err.message : String(err)}`, "agents.refresh-failed");
178
- return [];
200
+ warn(`could not refresh ${file.path}: ${err instanceof Error ? err.message : String(err)}`, "agents.refresh-failed");
201
+ return false;
179
202
  }
180
203
  }
181
204
 
@@ -186,4 +209,4 @@ export {
186
209
  isCI,
187
210
  refreshAgentFiles
188
211
  };
189
- //# sourceMappingURL=chunk-TUEFTRC2.js.map
212
+ //# sourceMappingURL=chunk-ZXRDD3Q2.js.map
package/dist/cli.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as Bundle, L as LockFile, X as Xano, c9 as emit } from './emit-DqG6qddr.js';
2
- import './raw-where-EoWl5fqY.js';
1
+ import { B as Bundle, L as LockFile, X as Xano, c9 as emit } from './emit-Dov_92kn.js';
2
+ import './raw-where-ZMLND6AG.js';
3
3
  import './xdo-CxDr2Q1C.js';
4
4
 
5
5
  /**
@@ -381,6 +381,13 @@ interface ParsedArgs {
381
381
  allWorkspaces: boolean;
382
382
  /** `impersonate --guest`/`-g`: mint a read-only guest session (browse only). */
383
383
  guest: boolean;
384
+ /** `local mcp --stdio`: run as an MCP stdio server bridging to the engine, instead of printing details. */
385
+ stdio: boolean;
386
+ /**
387
+ * `local mcp --project <dir>`: the project whose engine to reach, for an agent
388
+ * that launches the bridge somewhere else (Cursor passes its workspace folder).
389
+ */
390
+ project: string | undefined;
384
391
  /** `impersonate --url-only`/`-u`: print the dashboard URL instead of opening a browser. */
385
392
  urlOnly: boolean;
386
393
  /** `marketplace details --prompt`: print the add-on's agent prompt alone, for piping. */
@@ -438,8 +445,8 @@ interface ParsedArgs {
438
445
  from: string | undefined;
439
446
  /**
440
447
  * `init` `--framework <id>`: which frontend to scaffold
441
- * (`react`/`svelte`). Undefined = prompt in a TTY, else the default.
442
- * Validated in `frontend-presets.ts`, not at parse time.
448
+ * (`react`/`svelte`, or `none` for the backend only). Undefined = prompt in
449
+ * a TTY, else the default. Validated in `frontend-resolve.ts`, not at parse time.
443
450
  */
444
451
  framework: string | undefined;
445
452
  /**
@@ -521,6 +528,11 @@ interface ParsedArgs {
521
528
  * one that isn't, or preview without being prompted.
522
529
  */
523
530
  dryRun: boolean;
531
+ /**
532
+ * `agent-skill` `--agent <id>` (repeatable): the agents to act for instead of
533
+ * the detected ones. Validated in `agent-skill-command.ts`.
534
+ */
535
+ agent: string[];
524
536
  /**
525
537
  * `deploy --to … --prune`: also delete objects this project landed on the target and
526
538
  * no longer defines. Without it a merge only adds and updates, so
@@ -745,6 +757,15 @@ interface HelpRequest {
745
757
  * undefined when no help was requested.
746
758
  */
747
759
  declare function resolveHelpRequest(argv: string[]): HelpRequest | undefined;
760
+ /**
761
+ * The file `import("tsx/esm/api")` would load from `from`: the `import` branch
762
+ * of tsx's `./esm/api` export, not the `require` one `createRequire().resolve`
763
+ * picks. tsx 4.23's CommonJS build registers its loader at a path it doesn't
764
+ * ship, so on Node 20/22 every `.ts` entry failed with "Cannot find module
765
+ * …/dist/esm/api/esm/index.mjs". Falls back to the `require` resolution when the
766
+ * manifest doesn't name an `import` entry.
767
+ */
768
+ declare function tsxEsmApiPath(from: string): string;
748
769
  declare function loadDefault(file: string): Promise<unknown>;
749
770
  /**
750
771
  * How to get `tsx` for the project around `file`: a project whose package.json
@@ -940,6 +961,13 @@ declare function resolveLockPath(args: ParsedArgs, file: string): string;
940
961
  declare function noteLockCreated(lockPath: string, args?: Pick<ParsedArgs, "command" | "to" | "localEngine">, opts?: {
941
962
  adopt?: boolean;
942
963
  }): void;
964
+ /** What {@link refreshRouteManifest} did to the file, and the lock entries it found orphaned. */
965
+ interface RouteManifestRefresh {
966
+ readonly manifest: "written" | "unchanged" | "skipped" | "absent";
967
+ readonly lockOrphans: number;
968
+ /** Why a `skipped` manifest could not be written, when that is not an unresolved api group. */
969
+ readonly why?: string;
970
+ }
943
971
  /**
944
972
  * Bring an existing route manifest up to date with the workspace, quietly —
945
973
  * for a command that changed the workspace as a side effect (`marketplace
@@ -948,13 +976,14 @@ declare function noteLockCreated(lockPath: string, args?: Pick<ParsedArgs, "comm
948
976
  * without its output. Also counts the lock entries the workspace no longer
949
977
  * exports, which the same change orphans.
950
978
  *
951
- * "skipped" when the manifest cannot be brought up to date here (an api group
952
- * whose canonical resolves nowhere), which the caller reports with the command.
979
+ * "skipped" when the manifest cannot be brought up to date here, which the
980
+ * caller reports with the command: an api group whose canonical resolves
981
+ * nowhere, or a module block that cannot be carried forward (`why` says which
982
+ * block and why). Neither is the entry failing to load.
953
983
  */
954
- declare function refreshRouteManifest(entry: string, emit: string): Promise<{
955
- manifest: "written" | "unchanged" | "skipped" | "absent";
956
- lockOrphans: number;
957
- }>;
984
+ declare function refreshRouteManifest(entry: string, emit: string,
985
+ /** The project whose `package.json` names its toolchain modules. */
986
+ projectDir: string): Promise<RouteManifestRefresh>;
958
987
  /** A compiled bundle plus any seed `content/` entries (empty unless requested). */
959
988
  interface CompiledBundle {
960
989
  bundle: string;
@@ -1110,4 +1139,4 @@ declare function docTokenRefusalIfReplaced(replaceWhy: string): string | undefin
1110
1139
  */
1111
1140
  declare function envRefusalIfReplaced(replaceWhy: string): string | undefined;
1112
1141
 
1113
- export { type CommitLockOptions, type CompiledBundle, type HelpRequest, type ParsedArgs, assertEntryExists, carryRunWarnings, checkStandInTokens, compileBundle, composedChildren, docTokenRefusalIfReplaced, emitterFor, envNameRule, envRefusalIfReplaced, expandShortAttached, exportBundleJson, globalVersionAsked, globalVersionMisuse, isPathlessRun, loadDefault, loadModule, maskAssignments, missingLockDir, nearestLockPath, noteLockCreated, noteRunScope, orphanFixUps, parseArgs, printHelp, readVersion, refreshAgentGuidance, refreshRouteManifest, renameCandidatesFor, resolveHelpRequest, resolveLockPath, run, setGuidFixUp, tsxRemedy, withoutSecretValue };
1142
+ export { type CommitLockOptions, type CompiledBundle, type HelpRequest, type ParsedArgs, type RouteManifestRefresh, assertEntryExists, carryRunWarnings, checkStandInTokens, compileBundle, composedChildren, docTokenRefusalIfReplaced, emitterFor, envNameRule, envRefusalIfReplaced, expandShortAttached, exportBundleJson, globalVersionAsked, globalVersionMisuse, isPathlessRun, loadDefault, loadModule, maskAssignments, missingLockDir, nearestLockPath, noteLockCreated, noteRunScope, orphanFixUps, parseArgs, printHelp, readVersion, refreshAgentGuidance, refreshRouteManifest, renameCandidatesFor, resolveHelpRequest, resolveLockPath, run, setGuidFixUp, tsxEsmApiPath, tsxRemedy, withoutSecretValue };