@introspection-ai/recipes 0.25.1 → 0.27.1

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 (291) hide show
  1. package/dist/api/mcp.d.ts +3 -3
  2. package/dist/api/mcp.d.ts.map +1 -1
  3. package/dist/api/mcp.js +1 -1
  4. package/dist/api/mcp.js.map +1 -1
  5. package/dist/{child-agent-completions.d.ts → child/agent-completions.d.ts} +2 -2
  6. package/dist/child/agent-completions.d.ts.map +1 -0
  7. package/dist/{child-agent-completions.js → child/agent-completions.js} +1 -1
  8. package/dist/child/agent-completions.js.map +1 -0
  9. package/dist/{child-agent-store.d.ts → child/agent-store.d.ts} +1 -1
  10. package/dist/child/agent-store.d.ts.map +1 -0
  11. package/dist/{child-agent-store.js → child/agent-store.js} +1 -1
  12. package/dist/child/agent-store.js.map +1 -0
  13. package/dist/{child-agent.d.ts → child/agent.d.ts} +2 -2
  14. package/dist/child/agent.d.ts.map +1 -0
  15. package/dist/{child-agent.js → child/agent.js} +5 -5
  16. package/dist/child/agent.js.map +1 -0
  17. package/dist/{child-session.d.ts → child/session.d.ts} +4 -4
  18. package/dist/child/session.d.ts.map +1 -0
  19. package/dist/{child-session.js → child/session.js} +2 -2
  20. package/dist/child/session.js.map +1 -0
  21. package/dist/connector-tools.d.ts +1 -1
  22. package/dist/connector-tools.js +2 -2
  23. package/dist/inspect.d.ts +1 -1
  24. package/dist/inspect.js +1 -1
  25. package/dist/{mcp-catalog.d.ts → mcp/catalog.d.ts} +3 -3
  26. package/dist/mcp/catalog.d.ts.map +1 -0
  27. package/dist/{mcp-catalog.js → mcp/catalog.js} +2 -2
  28. package/dist/mcp/catalog.js.map +1 -0
  29. package/dist/{mcp-command-context.d.ts → mcp/cli/command-context.d.ts} +1 -1
  30. package/dist/mcp/cli/command-context.d.ts.map +1 -0
  31. package/dist/{mcp-command-context.js → mcp/cli/command-context.js} +1 -1
  32. package/dist/mcp/cli/command-context.js.map +1 -0
  33. package/dist/{mcp-cli-core.d.ts → mcp/cli/core.d.ts} +14 -8
  34. package/dist/mcp/cli/core.d.ts.map +1 -0
  35. package/dist/{mcp-cli-core.js → mcp/cli/core.js} +105 -146
  36. package/dist/mcp/cli/core.js.map +1 -0
  37. package/dist/mcp/cli/help.d.ts +6 -0
  38. package/dist/mcp/cli/help.d.ts.map +1 -0
  39. package/dist/mcp/cli/help.js +116 -0
  40. package/dist/mcp/cli/help.js.map +1 -0
  41. package/dist/mcp/cli/index.d.ts +3 -0
  42. package/dist/mcp/cli/index.d.ts.map +1 -0
  43. package/dist/{mcp-cli.js → mcp/cli/index.js} +4 -4
  44. package/dist/mcp/cli/index.js.map +1 -0
  45. package/dist/{mcp-cli-policy.d.ts → mcp/cli/policy.d.ts} +2 -2
  46. package/dist/mcp/cli/policy.d.ts.map +1 -0
  47. package/dist/{mcp-cli-policy.js → mcp/cli/policy.js} +2 -2
  48. package/dist/mcp/cli/policy.js.map +1 -0
  49. package/dist/mcp/cli/run-worker.d.ts +2 -0
  50. package/dist/mcp/cli/run-worker.d.ts.map +1 -0
  51. package/dist/mcp/cli/run-worker.js +54 -0
  52. package/dist/mcp/cli/run-worker.js.map +1 -0
  53. package/dist/mcp/client-entry.d.ts +3 -0
  54. package/dist/mcp/client-entry.d.ts.map +1 -0
  55. package/dist/{mcp-client.js → mcp/client-entry.js} +3 -3
  56. package/dist/mcp/client-entry.js.map +1 -0
  57. package/dist/{mcp-contract.d.ts → mcp/contract.d.ts} +2 -2
  58. package/dist/mcp/contract.d.ts.map +1 -0
  59. package/dist/{mcp-contract.js → mcp/contract.js} +1 -1
  60. package/dist/mcp/contract.js.map +1 -0
  61. package/dist/{mcp-daemon-client.d.ts → mcp/daemon/client.d.ts} +3 -2
  62. package/dist/mcp/daemon/client.d.ts.map +1 -0
  63. package/dist/{mcp-daemon-client.js → mcp/daemon/client.js} +12 -8
  64. package/dist/mcp/daemon/client.js.map +1 -0
  65. package/dist/mcp/daemon/index.d.ts +3 -0
  66. package/dist/mcp/daemon/index.d.ts.map +1 -0
  67. package/dist/mcp/daemon/index.js +453 -0
  68. package/dist/{mcp-daemon.js.map → mcp/daemon/index.js.map} +1 -1
  69. package/dist/{mcp-daemon-protocol.d.ts → mcp/daemon/protocol.d.ts} +2 -2
  70. package/dist/mcp/daemon/protocol.d.ts.map +1 -0
  71. package/dist/{mcp-daemon-protocol.js → mcp/daemon/protocol.js} +1 -1
  72. package/dist/mcp/daemon/protocol.js.map +1 -0
  73. package/dist/{mcp.d.ts → mcp/index.d.ts} +5 -5
  74. package/dist/mcp/index.d.ts.map +1 -0
  75. package/dist/{mcp.js → mcp/index.js} +16 -10
  76. package/dist/mcp/index.js.map +1 -0
  77. package/dist/{mcp-policy.d.ts → mcp/policy.d.ts} +3 -3
  78. package/dist/mcp/policy.d.ts.map +1 -0
  79. package/dist/{mcp-policy.js → mcp/policy.js} +1 -1
  80. package/dist/mcp/policy.js.map +1 -0
  81. package/dist/{mcp-tools.d.ts → mcp/tools.d.ts} +4 -4
  82. package/dist/mcp/tools.d.ts.map +1 -0
  83. package/dist/{mcp-tools.js → mcp/tools.js} +4 -4
  84. package/dist/mcp/tools.js.map +1 -0
  85. package/dist/{mcp-trace-context.d.ts → mcp/trace-context.d.ts} +2 -2
  86. package/dist/mcp/trace-context.d.ts.map +1 -0
  87. package/dist/{mcp-trace-context.js → mcp/trace-context.js} +1 -1
  88. package/dist/mcp/trace-context.js.map +1 -0
  89. package/dist/mcp-chunks/{auth-command-4WFRNU2I.js → auth-command-GQFV6QYP.js} +24 -27
  90. package/dist/mcp-chunks/call-arguments-VT7JLNJY.js +16 -0
  91. package/dist/mcp-chunks/{call-command-JBIKXOGC.js → call-command-LMAREWKD.js} +45 -45
  92. package/dist/mcp-chunks/{chunk-3JGS7LQB.js → chunk-2HOMVWSA.js} +2 -2
  93. package/dist/mcp-chunks/{chunk-G6OMDUNG.js → chunk-2P2HVZ3G.js} +1 -1
  94. package/dist/mcp-chunks/{chunk-ED2WN5BI.js → chunk-34QXE62Y.js} +175 -147
  95. package/dist/mcp-chunks/{chunk-Y3EDWN2P.js → chunk-5B7GRMUK.js} +1 -1
  96. package/dist/mcp-chunks/chunk-5BMCVE2J.js +516 -0
  97. package/dist/mcp-chunks/{chunk-V5AYEKSL.js → chunk-6QZQZXDJ.js} +52 -81
  98. package/dist/mcp-chunks/{chunk-3R2WK3NB.js → chunk-6RG6AD5X.js} +6 -6
  99. package/dist/mcp-chunks/{chunk-SNKXMWDB.js → chunk-77BZYP72.js} +1 -1
  100. package/dist/mcp-chunks/chunk-7PFJCLXL.js +123 -0
  101. package/dist/mcp-chunks/chunk-7WL4TMON.js +31 -0
  102. package/dist/mcp-chunks/{chunk-ELA77TDC.js → chunk-C2VLY7ED.js} +4 -4
  103. package/dist/mcp-chunks/{chunk-FAJPJTOC.js → chunk-CLR6DJV3.js} +1 -1
  104. package/dist/mcp-chunks/{chunk-ZOAQDFAO.js → chunk-D6B2M5V7.js} +1 -1
  105. package/dist/mcp-chunks/{chunk-WTMJMM3B.js → chunk-D6SVCPN6.js} +3 -30
  106. package/dist/mcp-chunks/chunk-FBVRU4Y3.js +1195 -0
  107. package/dist/mcp-chunks/{chunk-EMSNQHZZ.js → chunk-FONFU4G5.js} +1 -1
  108. package/dist/mcp-chunks/{chunk-BWW4XRUC.js → chunk-H4KL74PV.js} +303 -161
  109. package/dist/mcp-chunks/{chunk-ITR7FQM3.js → chunk-H7ARMBV7.js} +4 -9
  110. package/dist/mcp-chunks/{chunk-EPT4MYOF.js → chunk-HZ2SX5U6.js} +39 -34
  111. package/dist/mcp-chunks/{chunk-36VIJRYY.js → chunk-I6UMKX5E.js} +4 -4
  112. package/dist/mcp-chunks/{chunk-ASG4OY3M.js → chunk-IF6LRV3J.js} +21 -28
  113. package/dist/mcp-chunks/{chunk-KW3ANJ36.js → chunk-JVYCENPP.js} +4 -4
  114. package/dist/mcp-chunks/{chunk-AIKLVBYU.js → chunk-KOWNVUL2.js} +34 -7
  115. package/dist/mcp-chunks/{chunk-B2LNXGAP.js → chunk-KQCLM7R7.js} +4 -4
  116. package/dist/mcp-chunks/{chunk-OP3IW2V6.js → chunk-L6OOGZVA.js} +2 -2
  117. package/dist/mcp-chunks/{chunk-MOEZ43ZL.js → chunk-LCBDVFVA.js} +1 -1
  118. package/dist/mcp-chunks/{chunk-ITCCROID.js → chunk-LIEFPSSB.js} +5 -5
  119. package/dist/mcp-chunks/{chunk-GUXMP7QB.js → chunk-LQIE4PKL.js} +2 -2
  120. package/dist/mcp-chunks/{chunk-WYLHHXI6.js → chunk-LXHPDKEF.js} +26 -11
  121. package/dist/mcp-chunks/{chunk-6YZW3XAE.js → chunk-MJFZM5EV.js} +5 -5
  122. package/dist/mcp-chunks/{chunk-TPHPAEDH.js → chunk-NQW3ES2G.js} +2 -8
  123. package/dist/mcp-chunks/{chunk-IPNSPKQK.js → chunk-O2VOMKAS.js} +15 -17
  124. package/dist/mcp-chunks/{chunk-QZUC2T72.js → chunk-O4JIUOWF.js} +2 -2
  125. package/dist/mcp-chunks/{chunk-C2KNLFZR.js → chunk-P3UVILEW.js} +2 -2
  126. package/dist/mcp-chunks/{chunk-7WOKCV6Q.js → chunk-P463YBJM.js} +1 -1
  127. package/dist/mcp-chunks/{chunk-GQ6NSIDS.js → chunk-PJCMJ65D.js} +1175 -718
  128. package/dist/mcp-chunks/{chunk-CZKDJZER.js → chunk-QALB3DRW.js} +1 -1
  129. package/dist/mcp-chunks/{chunk-JG4TRUPF.js → chunk-QJNF3A3F.js} +1 -1
  130. package/dist/mcp-chunks/{chunk-HLRCUHNO.js → chunk-RIHPVCGI.js} +1 -1
  131. package/dist/mcp-chunks/{chunk-RD7NHCRK.js → chunk-RZIJUJGL.js} +60 -1074
  132. package/dist/mcp-chunks/{chunk-4ZNBWL65.js → chunk-S2YF442K.js} +2 -2
  133. package/dist/mcp-chunks/chunk-S5F3HEZZ.js +37060 -0
  134. package/dist/mcp-chunks/{chunk-TF2YTYE4.js → chunk-S6GJ42I2.js} +1 -1
  135. package/dist/mcp-chunks/chunk-T4MQCFIK.js +982 -0
  136. package/dist/mcp-chunks/{chunk-SCOMDV54.js → chunk-TUQGOYK6.js} +1 -1
  137. package/dist/mcp-chunks/{chunk-YIRGLKDA.js → chunk-TYYSBILI.js} +46 -27
  138. package/dist/mcp-chunks/{chunk-FS5JIKT6.js → chunk-UHO6KIUJ.js} +6 -6
  139. package/dist/mcp-chunks/{chunk-RSTKSBVF.js → chunk-UIPG6W7N.js} +2 -2
  140. package/dist/mcp-chunks/{chunk-IME7DGLJ.js → chunk-UKM35J67.js} +2 -2
  141. package/dist/mcp-chunks/{chunk-FX5NYWBH.js → chunk-UYJZJXC2.js} +3 -3
  142. package/dist/mcp-chunks/{chunk-HCOKLSOB.js → chunk-VJIAHZZG.js} +4 -4
  143. package/dist/mcp-chunks/{chunk-IYWYVHHD.js → chunk-WHJUDBPR.js} +1 -1
  144. package/dist/mcp-chunks/{chunk-53NRFMB3.js → chunk-XNHGMWN2.js} +46 -25
  145. package/dist/mcp-chunks/{cli-XU26MUCN.js → cli-JI7MEAAX.js} +111 -79
  146. package/dist/mcp-chunks/client-QU7ABSNB.js +30 -0
  147. package/dist/mcp-chunks/{config-command-UQMMIK2U.js → config-command-GRZLKD3R.js} +36 -29
  148. package/dist/mcp-chunks/daemon-command-3266CYHO.js +30 -0
  149. package/dist/mcp-chunks/{dist-DM2RXZMU.js → dist-USMCQ22V.js} +105 -47
  150. package/dist/mcp-chunks/{emit-ts-command-KAOL6DAN.js → emit-ts-command-7VLESP7H.js} +20 -19
  151. package/dist/mcp-chunks/{generate-cli-runner-AK6XNRTK.js → generate-cli-runner-SSW2B72K.js} +54 -51
  152. package/dist/mcp-chunks/generated-daemon-runtime-7CFVWLC7.js +30 -0
  153. package/dist/mcp-chunks/{inspect-cli-command-6FVJO7H2.js → inspect-cli-command-NCGCMOIS.js} +9 -10
  154. package/dist/mcp-chunks/{launch-EIT73HX4.js → launch-NBONSPNK.js} +1 -1
  155. package/dist/mcp-chunks/{lifecycle-QH4TUI3K.js → lifecycle-CXAKUCN4.js} +1 -1
  156. package/dist/mcp-chunks/{list-command-UOB2XZK7.js → list-command-5T4UF4PF.js} +61 -75
  157. package/dist/mcp-chunks/{output-utils-6YXH23T7.js → output-utils-YFTWQZ5V.js} +3 -3
  158. package/dist/mcp-chunks/{prompt-CH6TK0bC-ZB6RFAXR.js → prompt-CH6TK0bC-6DI4RA4E.js} +1 -1
  159. package/dist/mcp-chunks/{record-command-FO5TTERC.js → record-command-TE5O7WBL.js} +5 -5
  160. package/dist/mcp-chunks/{replay-command-SCBPCGQ7.js → replay-command-QCUL5ASR.js} +6 -6
  161. package/dist/mcp-chunks/{resource-command-S2J7XEMV.js → resource-command-XMGF7EAK.js} +9 -10
  162. package/dist/mcp-chunks/{result-utils-OME6HGS6.js → result-utils-HKB42M7Y.js} +3 -4
  163. package/dist/mcp-chunks/runtime-3X2XVS6X.js +37 -0
  164. package/dist/mcp-chunks/runtime-wrapper-MI3HF45J.js +10 -0
  165. package/dist/mcp-chunks/{serve-command-DDBZZSG6.js → serve-command-5HV3ZE25.js} +30 -34
  166. package/dist/mcp-chunks/{timeouts-HNGNKDQN.js → timeouts-YBFBTLV2.js} +8 -5
  167. package/dist/mcp-chunks/{vault-command-TJZYS3YI.js → vault-command-FC2PD5U6.js} +4 -6
  168. package/dist/mcp-chunks/webapi-IFUPO72B.js +2481 -0
  169. package/dist/mcp-daemon.js +35 -33
  170. package/dist/mcp-run-worker.js +28 -32
  171. package/dist/pi-extension.d.ts +1 -1
  172. package/dist/pi-extension.js +8 -8
  173. package/dist/pi-extension.js.map +1 -1
  174. package/dist/{recipe-agent.d.ts → recipe/agent.d.ts} +3 -3
  175. package/dist/recipe/agent.d.ts.map +1 -0
  176. package/dist/{recipe-agent.js → recipe/agent.js} +5 -5
  177. package/dist/recipe/agent.js.map +1 -0
  178. package/dist/{recipe-extensions.d.ts → recipe/extensions.d.ts} +1 -1
  179. package/dist/recipe/extensions.d.ts.map +1 -0
  180. package/dist/{recipe-extensions.js → recipe/extensions.js} +1 -1
  181. package/dist/recipe/extensions.js.map +1 -0
  182. package/dist/{recipe-mcp-config.d.ts → recipe/mcp-config.d.ts} +2 -2
  183. package/dist/recipe/mcp-config.d.ts.map +1 -0
  184. package/dist/{recipe-mcp-config.js → recipe/mcp-config.js} +1 -1
  185. package/dist/recipe/mcp-config.js.map +1 -0
  186. package/dist/{recipe-model.d.ts → recipe/model.d.ts} +1 -1
  187. package/dist/recipe/model.d.ts.map +1 -0
  188. package/dist/{recipe-model.js → recipe/model.js} +1 -1
  189. package/dist/recipe/model.js.map +1 -0
  190. package/dist/{recipe-package.d.ts → recipe/package.d.ts} +1 -1
  191. package/dist/recipe/package.d.ts.map +1 -0
  192. package/dist/{recipe-package.js → recipe/package.js} +1 -1
  193. package/dist/recipe/package.js.map +1 -0
  194. package/dist/recipe/resolve.d.ts +6 -6
  195. package/dist/recipe/resolve.d.ts.map +1 -1
  196. package/dist/recipe/resolve.js +4 -4
  197. package/dist/recipe/resolve.js.map +1 -1
  198. package/dist/{recipe-session.d.ts → recipe/session.d.ts} +1 -1
  199. package/dist/recipe/session.d.ts.map +1 -0
  200. package/dist/{recipe-session.js → recipe/session.js} +1 -1
  201. package/dist/recipe/session.js.map +1 -0
  202. package/dist/{recipe-skills.d.ts → recipe/skills.d.ts} +1 -1
  203. package/dist/recipe/skills.d.ts.map +1 -0
  204. package/dist/{recipe-skills.js → recipe/skills.js} +2 -2
  205. package/dist/recipe/skills.js.map +1 -0
  206. package/dist/run-controller.js +2 -2
  207. package/dist/session.d.ts +1 -1
  208. package/dist/session.d.ts.map +1 -1
  209. package/dist/session.js +5 -5
  210. package/dist/session.js.map +1 -1
  211. package/docs/channels.md +1 -1
  212. package/docs/pi-extension.md +1 -1
  213. package/docs/recipe-format.md +8 -4
  214. package/docs/recipe-templates.md +46 -0
  215. package/docs/slack.md +1 -1
  216. package/package.json +14 -14
  217. package/dist/child-agent-completions.d.ts.map +0 -1
  218. package/dist/child-agent-completions.js.map +0 -1
  219. package/dist/child-agent-store.d.ts.map +0 -1
  220. package/dist/child-agent-store.js.map +0 -1
  221. package/dist/child-agent.d.ts.map +0 -1
  222. package/dist/child-agent.js.map +0 -1
  223. package/dist/child-session.d.ts.map +0 -1
  224. package/dist/child-session.js.map +0 -1
  225. package/dist/mcp-catalog.d.ts.map +0 -1
  226. package/dist/mcp-catalog.js.map +0 -1
  227. package/dist/mcp-chunks/call-arguments-4DWPBLQP.js +0 -15
  228. package/dist/mcp-chunks/chunk-3Z7MFS6K.js +0 -86
  229. package/dist/mcp-chunks/chunk-AD3FQ73K.js +0 -39
  230. package/dist/mcp-chunks/chunk-DTZHEVKC.js +0 -12
  231. package/dist/mcp-chunks/chunk-H3JCYHGS.js +0 -1018
  232. package/dist/mcp-chunks/chunk-HN7WPMCA.js +0 -18904
  233. package/dist/mcp-chunks/chunk-I5GI2A2D.js +0 -92
  234. package/dist/mcp-chunks/chunk-IRTJXFWA.js +0 -28
  235. package/dist/mcp-chunks/chunk-NTHUNCXJ.js +0 -526
  236. package/dist/mcp-chunks/chunk-OD3MSMXY.js +0 -15
  237. package/dist/mcp-chunks/chunk-PZ323CXI.js +0 -17394
  238. package/dist/mcp-chunks/client-OT34CKRH.js +0 -21
  239. package/dist/mcp-chunks/daemon-command-YCIOZGPZ.js +0 -35
  240. package/dist/mcp-chunks/runtime-QIPMLIJI.js +0 -39
  241. package/dist/mcp-chunks/runtime-wrapper-X4YFKMJI.js +0 -16
  242. package/dist/mcp-chunks/webapi-4GWO2UBA.js +0 -3508
  243. package/dist/mcp-cli-core.d.ts.map +0 -1
  244. package/dist/mcp-cli-core.js.map +0 -1
  245. package/dist/mcp-cli-help.d.ts +0 -2
  246. package/dist/mcp-cli-help.d.ts.map +0 -1
  247. package/dist/mcp-cli-help.js +0 -36
  248. package/dist/mcp-cli-help.js.map +0 -1
  249. package/dist/mcp-cli-policy.d.ts.map +0 -1
  250. package/dist/mcp-cli-policy.js.map +0 -1
  251. package/dist/mcp-cli.d.ts +0 -3
  252. package/dist/mcp-cli.d.ts.map +0 -1
  253. package/dist/mcp-cli.js.map +0 -1
  254. package/dist/mcp-client.d.ts +0 -3
  255. package/dist/mcp-client.d.ts.map +0 -1
  256. package/dist/mcp-client.js.map +0 -1
  257. package/dist/mcp-command-context.d.ts.map +0 -1
  258. package/dist/mcp-command-context.js.map +0 -1
  259. package/dist/mcp-contract.d.ts.map +0 -1
  260. package/dist/mcp-contract.js.map +0 -1
  261. package/dist/mcp-daemon-client.d.ts.map +0 -1
  262. package/dist/mcp-daemon-client.js.map +0 -1
  263. package/dist/mcp-daemon-protocol.d.ts.map +0 -1
  264. package/dist/mcp-daemon-protocol.js.map +0 -1
  265. package/dist/mcp-daemon.d.ts +0 -3
  266. package/dist/mcp-daemon.d.ts.map +0 -1
  267. package/dist/mcp-policy.d.ts.map +0 -1
  268. package/dist/mcp-policy.js.map +0 -1
  269. package/dist/mcp-run-worker.d.ts +0 -2
  270. package/dist/mcp-run-worker.d.ts.map +0 -1
  271. package/dist/mcp-run-worker.js.map +0 -1
  272. package/dist/mcp-tools.d.ts.map +0 -1
  273. package/dist/mcp-tools.js.map +0 -1
  274. package/dist/mcp-trace-context.d.ts.map +0 -1
  275. package/dist/mcp-trace-context.js.map +0 -1
  276. package/dist/mcp.d.ts.map +0 -1
  277. package/dist/mcp.js.map +0 -1
  278. package/dist/recipe-agent.d.ts.map +0 -1
  279. package/dist/recipe-agent.js.map +0 -1
  280. package/dist/recipe-extensions.d.ts.map +0 -1
  281. package/dist/recipe-extensions.js.map +0 -1
  282. package/dist/recipe-mcp-config.d.ts.map +0 -1
  283. package/dist/recipe-mcp-config.js.map +0 -1
  284. package/dist/recipe-model.d.ts.map +0 -1
  285. package/dist/recipe-model.js.map +0 -1
  286. package/dist/recipe-package.d.ts.map +0 -1
  287. package/dist/recipe-package.js.map +0 -1
  288. package/dist/recipe-session.d.ts.map +0 -1
  289. package/dist/recipe-session.js.map +0 -1
  290. package/dist/recipe-skills.d.ts.map +0 -1
  291. package/dist/recipe-skills.js.map +0 -1
@@ -1,77 +1,75 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
3
+ import {
4
+ DEBUG_HANG,
5
+ dumpActiveHandles,
6
+ terminateChildProcesses
7
+ } from "./chunk-2HOMVWSA.js";
3
8
  import {
4
9
  consumeMatchingTokens,
5
10
  extractFlags
6
- } from "./chunk-TF2YTYE4.js";
11
+ } from "./chunk-S6GJ42I2.js";
7
12
  import {
8
13
  isRecordReplayModeActive,
9
14
  isReplayModeActive
10
- } from "./chunk-FAJPJTOC.js";
11
- import {
12
- extractListFlags
13
- } from "./chunk-36VIJRYY.js";
14
- import {
15
- DEBUG_HANG,
16
- dumpActiveHandles,
17
- terminateChildProcesses
18
- } from "./chunk-3JGS7LQB.js";
15
+ } from "./chunk-CLR6DJV3.js";
19
16
  import {
20
17
  parseCallArguments
21
- } from "./chunk-EPT4MYOF.js";
18
+ } from "./chunk-HZ2SX5U6.js";
22
19
  import {
23
20
  CliUsageError
24
- } from "./chunk-CZKDJZER.js";
21
+ } from "./chunk-QALB3DRW.js";
25
22
  import {
26
23
  getActiveLogLevel,
27
24
  getActiveLogger,
28
25
  logError,
29
26
  logInfo,
30
27
  setLogLevel
31
- } from "./chunk-GUXMP7QB.js";
28
+ } from "./chunk-LQIE4PKL.js";
29
+ import {
30
+ extractListFlags
31
+ } from "./chunk-I6UMKX5E.js";
32
32
  import {
33
33
  chooseClosestIdentifier,
34
34
  renderIdentifierResolutionMessages
35
- } from "./chunk-HLRCUHNO.js";
35
+ } from "./chunk-RIHPVCGI.js";
36
36
  import {
37
37
  boldText,
38
38
  dimText,
39
39
  extraDimText,
40
40
  supportsAnsiColor,
41
41
  yellowText
42
- } from "./chunk-SCOMDV54.js";
42
+ } from "./chunk-TUQGOYK6.js";
43
43
  import {
44
44
  STDOUT_FLUSH_TIMEOUT_MS,
45
45
  parsePositiveInteger,
46
46
  resolveCallTimeout
47
- } from "./chunk-AIKLVBYU.js";
48
- import "./chunk-MOEZ43ZL.js";
47
+ } from "./chunk-KOWNVUL2.js";
48
+ import "./chunk-LCBDVFVA.js";
49
49
  import {
50
50
  looksLikeHttpUrl,
51
51
  splitHttpToolSelector
52
- } from "./chunk-G6OMDUNG.js";
53
- import "./chunk-Y3EDWN2P.js";
54
- import {
55
- configureAutoSelectFamilyAttemptTimeout
56
- } from "./chunk-AD3FQ73K.js";
52
+ } from "./chunk-2P2HVZ3G.js";
53
+ import "./chunk-5B7GRMUK.js";
57
54
  import {
58
55
  createInteractiveElicitationResponder
59
- } from "./chunk-ZOAQDFAO.js";
60
- import {
61
- MCPORTER_VERSION
62
- } from "./chunk-OD3MSMXY.js";
56
+ } from "./chunk-D6B2M5V7.js";
63
57
  import {
64
58
  parseLogLevel
65
- } from "./chunk-7WOKCV6Q.js";
66
- import "./chunk-I5GI2A2D.js";
59
+ } from "./chunk-P463YBJM.js";
60
+ import {
61
+ MCPORTER_VERSION
62
+ } from "./chunk-7PFJCLXL.js";
63
+ import "./chunk-H4KL74PV.js";
67
64
  import {
68
65
  resolveConfigPath
69
- } from "./chunk-FX5NYWBH.js";
70
- import "./chunk-FS5JIKT6.js";
71
- import "./chunk-WTMJMM3B.js";
66
+ } from "./chunk-UYJZJXC2.js";
67
+ import "./chunk-UHO6KIUJ.js";
68
+ import "./chunk-T4MQCFIK.js";
69
+ import "./chunk-D6SVCPN6.js";
72
70
  import "./chunk-LRKZP7DJ.js";
73
71
 
74
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/cli-factory.js
72
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/cli-factory.js
75
73
  function buildGlobalContext(argv) {
76
74
  const globalFlags = extractFlags(argv, ["--config", "--root", "--log-level", "--oauth-timeout"]);
77
75
  if (globalFlags["--log-level"]) {
@@ -104,7 +102,7 @@ function buildGlobalContext(argv) {
104
102
  return { globalFlags, oauthTimeoutOverride, runtimeOptions };
105
103
  }
106
104
 
107
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/command-inference.js
105
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/command-inference.js
108
106
  var CALL_TOKEN_PATTERN = /[.(]/;
109
107
  function inferCommandRouting(token, args, definitions) {
110
108
  if (!token) {
@@ -176,7 +174,7 @@ function isHttpToolToken(token) {
176
174
  return splitHttpToolSelector(token) !== null;
177
175
  }
178
176
 
179
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/help-output.js
177
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/help-output.js
180
178
  import fsPromises from "node:fs/promises";
181
179
  function printHelp(message) {
182
180
  if (message) {
@@ -378,7 +376,41 @@ async function resolveCliVersion() {
378
376
  }
379
377
  }
380
378
 
381
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli.js
379
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/network-family-autoselection.js
380
+ import net from "node:net";
381
+ var NODE_DEFAULT_ATTEMPT_TIMEOUT_MS = 250;
382
+ var MCPORTER_ATTEMPT_TIMEOUT_MS = 1500;
383
+ var NODE_OPTION = "--network-family-autoselection-attempt-timeout";
384
+ function configureAutoSelectFamilyAttemptTimeout(defaults = net, nodeOptions = process.env.NODE_OPTIONS) {
385
+ if (hasExplicitNodeOption(nodeOptions))
386
+ return false;
387
+ if (defaults.getDefaultAutoSelectFamilyAttemptTimeout() !== NODE_DEFAULT_ATTEMPT_TIMEOUT_MS)
388
+ return false;
389
+ defaults.setDefaultAutoSelectFamilyAttemptTimeout(MCPORTER_ATTEMPT_TIMEOUT_MS);
390
+ return true;
391
+ }
392
+ function hasExplicitNodeOption(nodeOptions) {
393
+ if (!nodeOptions)
394
+ return false;
395
+ let offset = 0;
396
+ while (offset < nodeOptions.length) {
397
+ const index = nodeOptions.indexOf(NODE_OPTION, offset);
398
+ if (index === -1)
399
+ return false;
400
+ const before = nodeOptions[index - 1];
401
+ const after = nodeOptions[index + NODE_OPTION.length];
402
+ if (isNodeOptionBoundary(before) && (after === "=" || isNodeOptionBoundary(after))) {
403
+ return true;
404
+ }
405
+ offset = index + NODE_OPTION.length;
406
+ }
407
+ return false;
408
+ }
409
+ function isNodeOptionBoundary(character) {
410
+ return character === void 0 || character === "'" || character === '"' || /\s/u.test(character);
411
+ }
412
+
413
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli.js
382
414
  configureAutoSelectFamilyAttemptTimeout();
383
415
  var FORCE_EXIT_GRACE_MS = 50;
384
416
  var DAEMON_FAST_PATH_SERVERS = /* @__PURE__ */ new Set(["chrome-devtools", "mobile-mcp", "playwright"]);
@@ -420,31 +452,31 @@ function flushStdioThenForceExit() {
420
452
  });
421
453
  }
422
454
  async function handleAuth(...args) {
423
- const { handleAuth: imported } = await import("./auth-command-4WFRNU2I.js");
455
+ const { handleAuth: imported } = await import("./auth-command-GQFV6QYP.js");
424
456
  return imported(...args);
425
457
  }
426
458
  async function printAuthHelp() {
427
- const { printAuthHelp: imported } = await import("./auth-command-4WFRNU2I.js");
459
+ const { printAuthHelp: imported } = await import("./auth-command-GQFV6QYP.js");
428
460
  imported();
429
461
  }
430
462
  async function handleCall(...args) {
431
- const { handleCall: imported } = await import("./call-command-JBIKXOGC.js");
463
+ const { handleCall: imported } = await import("./call-command-LMAREWKD.js");
432
464
  return imported(...args);
433
465
  }
434
466
  async function handleGenerateCli(...args) {
435
- const { handleGenerateCli: imported } = await import("./generate-cli-runner-AK6XNRTK.js");
467
+ const { handleGenerateCli: imported } = await import("./generate-cli-runner-SSW2B72K.js");
436
468
  return imported(...args);
437
469
  }
438
470
  async function handleInspectCli(...args) {
439
- const { handleInspectCli: imported } = await import("./inspect-cli-command-6FVJO7H2.js");
471
+ const { handleInspectCli: imported } = await import("./inspect-cli-command-NCGCMOIS.js");
440
472
  return imported(...args);
441
473
  }
442
474
  async function handleList(...args) {
443
- const { handleList: imported } = await import("./list-command-UOB2XZK7.js");
475
+ const { handleList: imported } = await import("./list-command-5T4UF4PF.js");
444
476
  return imported(...args);
445
477
  }
446
478
  async function handleResource(...args) {
447
- const { handleResource: imported } = await import("./resource-command-S2J7XEMV.js");
479
+ const { handleResource: imported } = await import("./resource-command-XMGF7EAK.js");
448
480
  return imported(...args);
449
481
  }
450
482
  async function runCli(argv) {
@@ -477,23 +509,23 @@ async function runCli(argv) {
477
509
  }
478
510
  if (command === "generate-cli") {
479
511
  if (consumeHelpTokens(args)) {
480
- const { printGenerateCliHelp } = await import("./generate-cli-runner-AK6XNRTK.js");
512
+ const { printGenerateCliHelp } = await import("./generate-cli-runner-SSW2B72K.js");
481
513
  printGenerateCliHelp();
482
514
  process.exitCode = 0;
483
515
  return;
484
516
  }
485
- const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-AK6XNRTK.js");
517
+ const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-SSW2B72K.js");
486
518
  await importedHandleGenerateCli(args, globalFlags);
487
519
  return;
488
520
  }
489
521
  if (command === "inspect-cli") {
490
522
  if (consumeHelpTokens(args)) {
491
- const { printInspectCliHelp } = await import("./inspect-cli-command-6FVJO7H2.js");
523
+ const { printInspectCliHelp } = await import("./inspect-cli-command-NCGCMOIS.js");
492
524
  printInspectCliHelp();
493
525
  process.exitCode = 0;
494
526
  return;
495
527
  }
496
- const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-6FVJO7H2.js");
528
+ const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-NCGCMOIS.js");
497
529
  await importedHandleInspectCli(args);
498
530
  return;
499
531
  }
@@ -508,7 +540,7 @@ async function runCli(argv) {
508
540
  ...interactiveElicitation ? { elicitationHandler: interactiveElicitation.handler } : {}
509
541
  };
510
542
  if (command === "daemon") {
511
- const { handleDaemonCli } = await import("./daemon-command-YCIOZGPZ.js");
543
+ const { handleDaemonCli } = await import("./daemon-command-3266CYHO.js");
512
544
  await handleDaemonCli(args, {
513
545
  configPath: configPathResolved,
514
546
  configExplicit: configResolution.explicit,
@@ -517,7 +549,7 @@ async function runCli(argv) {
517
549
  return;
518
550
  }
519
551
  if (command === "serve") {
520
- const { handleServeCli, printServeHelp } = await import("./serve-command-DDBZZSG6.js");
552
+ const { handleServeCli, printServeHelp } = await import("./serve-command-5HV3ZE25.js");
521
553
  if (consumeHelpTokens(args)) {
522
554
  printServeHelp();
523
555
  process.exitCode = 0;
@@ -531,7 +563,7 @@ async function runCli(argv) {
531
563
  return;
532
564
  }
533
565
  if (command === "record") {
534
- const { handleRecordCli, printRecordHelp } = await import("./record-command-FO5TTERC.js");
566
+ const { handleRecordCli, printRecordHelp } = await import("./record-command-TE5O7WBL.js");
535
567
  if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
536
568
  printRecordHelp();
537
569
  process.exitCode = 0;
@@ -541,7 +573,7 @@ async function runCli(argv) {
541
573
  return;
542
574
  }
543
575
  if (command === "replay") {
544
- const { handleReplayCli, printReplayHelp } = await import("./replay-command-SCBPCGQ7.js");
576
+ const { handleReplayCli, printReplayHelp } = await import("./replay-command-QCUL5ASR.js");
545
577
  if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
546
578
  printReplayHelp();
547
579
  process.exitCode = 0;
@@ -551,7 +583,7 @@ async function runCli(argv) {
551
583
  return;
552
584
  }
553
585
  if (command === "config") {
554
- const { handleConfigCli } = await import("./config-command-UQMMIK2U.js");
586
+ const { handleConfigCli } = await import("./config-command-GRZLKD3R.js");
555
587
  await handleConfigCli({
556
588
  loadOptions: { configPath, rootDir: rootOverride },
557
589
  invokeAuth: (authArgs) => invokeAuthCommand(runtimeOptionsWithPath, authArgs)
@@ -560,14 +592,14 @@ async function runCli(argv) {
560
592
  }
561
593
  if (command === "emit-ts") {
562
594
  if (consumeHelpTokens(args)) {
563
- const { printEmitTsHelp } = await import("./emit-ts-command-KAOL6DAN.js");
595
+ const { printEmitTsHelp } = await import("./emit-ts-command-7VLESP7H.js");
564
596
  printEmitTsHelp();
565
597
  process.exitCode = 0;
566
598
  return;
567
599
  }
568
600
  const [{ createRuntime: createRuntime2 }, { handleEmitTs }] = await Promise.all([
569
- import("./runtime-QIPMLIJI.js"),
570
- import("./emit-ts-command-KAOL6DAN.js")
601
+ import("./runtime-3X2XVS6X.js"),
602
+ import("./emit-ts-command-7VLESP7H.js")
571
603
  ]);
572
604
  const runtime2 = await createRuntime2(runtimeOptionsWithPath);
573
605
  try {
@@ -582,10 +614,10 @@ async function runCli(argv) {
582
614
  return;
583
615
  }
584
616
  const [{ createRuntime }, { DaemonClient }, { createKeepAliveRuntime }, { isKeepAliveServer }] = await Promise.all([
585
- import("./runtime-QIPMLIJI.js"),
586
- import("./client-OT34CKRH.js"),
587
- import("./runtime-wrapper-X4YFKMJI.js"),
588
- import("./lifecycle-QH4TUI3K.js")
617
+ import("./runtime-3X2XVS6X.js"),
618
+ import("./client-QU7ABSNB.js"),
619
+ import("./runtime-wrapper-MI3HF45J.js"),
620
+ import("./lifecycle-CXAKUCN4.js")
589
621
  ]);
590
622
  const baseRuntime = await createRuntime(runtimeOptionsWithPath);
591
623
  const recordReplayModeActive = isRecordReplayModeActive();
@@ -607,56 +639,56 @@ async function runCli(argv) {
607
639
  const resolvedArgs = inference.args;
608
640
  if (resolvedCommand === "list") {
609
641
  if (consumeHelpTokens(resolvedArgs)) {
610
- const { printListHelp } = await import("./list-command-UOB2XZK7.js");
642
+ const { printListHelp } = await import("./list-command-5T4UF4PF.js");
611
643
  printListHelp();
612
644
  process.exitCode = 0;
613
645
  return;
614
646
  }
615
- const { handleList: importedHandleList } = await import("./list-command-UOB2XZK7.js");
647
+ const { handleList: importedHandleList } = await import("./list-command-5T4UF4PF.js");
616
648
  await importedHandleList(runtime, resolvedArgs);
617
649
  return;
618
650
  }
619
651
  if (resolvedCommand === "call") {
620
652
  if (consumeHelpTokens(resolvedArgs)) {
621
- const { printCallHelp } = await import("./call-command-JBIKXOGC.js");
653
+ const { printCallHelp } = await import("./call-command-LMAREWKD.js");
622
654
  printCallHelp();
623
655
  process.exitCode = 0;
624
656
  return;
625
657
  }
626
- const { handleCall: runHandleCall } = await import("./call-command-JBIKXOGC.js");
658
+ const { handleCall: runHandleCall } = await import("./call-command-LMAREWKD.js");
627
659
  await runHandleCall(runtime, resolvedArgs);
628
660
  return;
629
661
  }
630
662
  if (resolvedCommand === "auth") {
631
663
  if (consumeHelpTokens(resolvedArgs)) {
632
- const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-4WFRNU2I.js");
664
+ const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-GQFV6QYP.js");
633
665
  importedPrintAuthHelp();
634
666
  process.exitCode = 0;
635
667
  return;
636
668
  }
637
- const { handleAuth: importedHandleAuth } = await import("./auth-command-4WFRNU2I.js");
669
+ const { handleAuth: importedHandleAuth } = await import("./auth-command-GQFV6QYP.js");
638
670
  await importedHandleAuth(runtime, resolvedArgs, { oauthTimeoutMs: runtimeOptionsWithPath.oauthTimeoutMs });
639
671
  return;
640
672
  }
641
673
  if (resolvedCommand === "vault") {
642
674
  if (consumeHelpTokens(resolvedArgs)) {
643
- const { printVaultHelp } = await import("./vault-command-TJZYS3YI.js");
675
+ const { printVaultHelp } = await import("./vault-command-FC2PD5U6.js");
644
676
  printVaultHelp();
645
677
  process.exitCode = 0;
646
678
  return;
647
679
  }
648
- const { handleVault } = await import("./vault-command-TJZYS3YI.js");
680
+ const { handleVault } = await import("./vault-command-FC2PD5U6.js");
649
681
  await handleVault(runtime, resolvedArgs);
650
682
  return;
651
683
  }
652
684
  if (resolvedCommand === "resource" || resolvedCommand === "resources") {
653
685
  if (consumeHelpTokens(resolvedArgs)) {
654
- const { printResourceHelp } = await import("./resource-command-S2J7XEMV.js");
686
+ const { printResourceHelp } = await import("./resource-command-XMGF7EAK.js");
655
687
  printResourceHelp();
656
688
  process.exitCode = 0;
657
689
  return;
658
690
  }
659
- const { handleResource: importedHandleResource } = await import("./resource-command-S2J7XEMV.js");
691
+ const { handleResource: importedHandleResource } = await import("./resource-command-XMGF7EAK.js");
660
692
  await importedHandleResource(runtime, resolvedArgs);
661
693
  return;
662
694
  }
@@ -739,8 +771,8 @@ if (process.env.MCPORTER_DISABLE_AUTORUN !== "1") {
739
771
  }
740
772
  async function invokeAuthCommand(runtimeOptions, args) {
741
773
  const [{ createRuntime }, { handleAuth: importedHandleAuth }] = await Promise.all([
742
- import("./runtime-QIPMLIJI.js"),
743
- import("./auth-command-4WFRNU2I.js")
774
+ import("./runtime-3X2XVS6X.js"),
775
+ import("./auth-command-GQFV6QYP.js")
744
776
  ]);
745
777
  const runtime = await createRuntime(runtimeOptions);
746
778
  try {
@@ -766,8 +798,8 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
766
798
  return true;
767
799
  }
768
800
  const [{ DaemonClient }, { handleCall: importedHandleCall }] = await Promise.all([
769
- import("./client-OT34CKRH.js"),
770
- import("./call-command-JBIKXOGC.js")
801
+ import("./client-QU7ABSNB.js"),
802
+ import("./call-command-LMAREWKD.js")
771
803
  ]);
772
804
  const daemonClient = new DaemonClient({
773
805
  configPath: configResolution.path,
@@ -778,9 +810,9 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
778
810
  return true;
779
811
  }
780
812
  async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootDir) {
781
- const [{ parseCallArguments: parseCallArguments2 }, { resolveCallTimeout: resolveCallTimeout2 }] = await Promise.all([
782
- import("./call-arguments-4DWPBLQP.js"),
783
- import("./timeouts-HNGNKDQN.js")
813
+ const [{ parseCallArguments: parseCallArguments2 }, { resolveServerCallTimeout }] = await Promise.all([
814
+ import("./call-arguments-VT7JLNJY.js"),
815
+ import("./timeouts-YBFBTLV2.js")
784
816
  ]);
785
817
  let parsed;
786
818
  try {
@@ -792,9 +824,9 @@ async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootD
792
824
  return false;
793
825
  }
794
826
  const [{ DaemonClient }, { wrapCallResult }, { printCallOutput }] = await Promise.all([
795
- import("./client-OT34CKRH.js"),
796
- import("./result-utils-OME6HGS6.js"),
797
- import("./output-utils-6YXH23T7.js")
827
+ import("./client-QU7ABSNB.js"),
828
+ import("./result-utils-HKB42M7Y.js"),
829
+ import("./output-utils-YFTWQZ5V.js")
798
830
  ]);
799
831
  const daemonClient = new DaemonClient({
800
832
  configPath: configResolution.path,
@@ -805,7 +837,7 @@ async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootD
805
837
  server: parsed.server,
806
838
  tool: parsed.tool,
807
839
  args: Object.keys(parsed.args).length > 0 ? parsed.args : void 0,
808
- timeoutMs: resolveCallTimeout2(parsed.timeoutMs),
840
+ timeoutMs: resolveServerCallTimeout(parsed.timeoutMs, void 0, parsed.server),
809
841
  disableOAuth: parsed.disableOAuth
810
842
  });
811
843
  const { callResult } = wrapCallResult(result);
@@ -0,0 +1,30 @@
1
+ import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
+ import {
3
+ DaemonClient,
4
+ resolveDaemonPaths
5
+ } from "./chunk-FBVRU4Y3.js";
6
+ import "./chunk-PJCMJ65D.js";
7
+ import "./chunk-KQCLM7R7.js";
8
+ import "./chunk-D6B2M5V7.js";
9
+ import "./chunk-L6OOGZVA.js";
10
+ import "./chunk-TYYSBILI.js";
11
+ import "./chunk-IF6LRV3J.js";
12
+ import "./chunk-XNHGMWN2.js";
13
+ import "./chunk-P463YBJM.js";
14
+ import "./chunk-FONFU4G5.js";
15
+ import "./chunk-7PFJCLXL.js";
16
+ import "./chunk-H4KL74PV.js";
17
+ import "./chunk-RZIJUJGL.js";
18
+ import "./chunk-H7ARMBV7.js";
19
+ import "./chunk-UYJZJXC2.js";
20
+ import "./chunk-UHO6KIUJ.js";
21
+ import "./chunk-T4MQCFIK.js";
22
+ import "./chunk-D6SVCPN6.js";
23
+ import "./chunk-QJNF3A3F.js";
24
+ import "./chunk-O4JIUOWF.js";
25
+ import "./chunk-S5F3HEZZ.js";
26
+ import "./chunk-LRKZP7DJ.js";
27
+ export {
28
+ DaemonClient,
29
+ resolveDaemonPaths
30
+ };
@@ -1,58 +1,59 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  pickSharedDefinitionFields
4
- } from "./chunk-IYWYVHHD.js";
4
+ } from "./chunk-WHJUDBPR.js";
5
5
  import {
6
6
  consumeMatchingTokens
7
- } from "./chunk-TF2YTYE4.js";
7
+ } from "./chunk-S6GJ42I2.js";
8
8
  import {
9
9
  CliUsageError
10
- } from "./chunk-CZKDJZER.js";
10
+ } from "./chunk-QALB3DRW.js";
11
11
  import {
12
12
  chooseClosestIdentifier,
13
13
  renderIdentifierResolutionMessages
14
- } from "./chunk-HLRCUHNO.js";
14
+ } from "./chunk-RIHPVCGI.js";
15
15
  import {
16
16
  boldText,
17
17
  dimText,
18
18
  extraDimText,
19
19
  supportsAnsiColor
20
- } from "./chunk-SCOMDV54.js";
20
+ } from "./chunk-TUQGOYK6.js";
21
21
  import {
22
22
  clearOAuthCaches
23
- } from "./chunk-ASG4OY3M.js";
24
- import "./chunk-53NRFMB3.js";
23
+ } from "./chunk-IF6LRV3J.js";
24
+ import "./chunk-XNHGMWN2.js";
25
25
  import {
26
26
  MCPORTER_VERSION
27
- } from "./chunk-OD3MSMXY.js";
28
- import "./chunk-PZ323CXI.js";
27
+ } from "./chunk-7PFJCLXL.js";
29
28
  import {
29
+ listConfigLayerPaths,
30
30
  loadRawConfig,
31
31
  loadServerDefinitions,
32
32
  pathsForImport,
33
33
  readExternalEntries,
34
34
  resolveConfigPath,
35
35
  writeRawConfig
36
- } from "./chunk-RD7NHCRK.js";
36
+ } from "./chunk-RZIJUJGL.js";
37
37
  import {
38
38
  withFileLock
39
- } from "./chunk-ITR7FQM3.js";
40
- import "./chunk-FX5NYWBH.js";
39
+ } from "./chunk-H7ARMBV7.js";
40
+ import "./chunk-UYJZJXC2.js";
41
41
  import {
42
42
  mcporterConfigCandidates,
43
43
  mcporterDir
44
- } from "./chunk-FS5JIKT6.js";
44
+ } from "./chunk-UHO6KIUJ.js";
45
+ import "./chunk-T4MQCFIK.js";
45
46
  import {
46
47
  expandHome
47
- } from "./chunk-WTMJMM3B.js";
48
- import "./chunk-JG4TRUPF.js";
49
- import "./chunk-HN7WPMCA.js";
48
+ } from "./chunk-D6SVCPN6.js";
49
+ import "./chunk-QJNF3A3F.js";
50
+ import "./chunk-S5F3HEZZ.js";
50
51
  import "./chunk-LRKZP7DJ.js";
51
52
 
52
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config/add.js
53
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/add.js
53
54
  import path2 from "node:path";
54
55
 
55
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config/shared.js
56
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/shared.js
56
57
  import fs from "node:fs/promises";
57
58
  import path from "node:path";
58
59
  var COLOR_ENABLED = () => Boolean(supportsAnsiColor && process.stdout.isTTY);
@@ -78,11 +79,14 @@ async function loadOrCreateConfig(loadOptions) {
78
79
  }
79
80
  async function resolveConfigLocations(loadOptions) {
80
81
  const rootDir = loadOptions.rootDir ?? process.cwd();
82
+ const explicitPath = loadOptions.configPath ?? process.env.MCPORTER_CONFIG;
83
+ const selectedPath = explicitPath ? (await listConfigLayerPaths(loadOptions, rootDir))[0] : void 0;
81
84
  const projectPath = path.resolve(rootDir, "config", "mcporter.json");
82
85
  const projectExists = await pathExists(projectPath);
83
86
  const systemCandidates = buildSystemConfigCandidates();
84
87
  const systemResolved = await resolveFirstExisting(systemCandidates);
85
88
  return {
89
+ ...selectedPath ? { selectedPath, selectedExists: await pathExists(selectedPath) } : {},
86
90
  projectPath,
87
91
  projectExists,
88
92
  systemPath: systemResolved.path,
@@ -94,6 +98,9 @@ function logConfigLocations(summary, options) {
94
98
  if (shouldAddNewline) {
95
99
  console.log("");
96
100
  }
101
+ if (summary.selectedPath) {
102
+ console.log(`Selected config: ${formatPath(summary.selectedPath, summary.selectedExists ?? false)}`);
103
+ }
97
104
  console.log(`Project config: ${formatPath(summary.projectPath, summary.projectExists)}`);
98
105
  console.log(`System config: ${formatPath(summary.systemPath, summary.systemExists)}`);
99
106
  }
@@ -175,7 +182,7 @@ function isErrno(error, code) {
175
182
  return Boolean(error && typeof error === "object" && error.code === code);
176
183
  }
177
184
 
178
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config/add.js
185
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/add.js
179
186
  async function handleAddCommand(options, args) {
180
187
  const name = args.shift();
181
188
  if (!name) {
@@ -457,7 +464,7 @@ function looksLikeHttp(value) {
457
464
  return value.startsWith("http://") || value.startsWith("https://");
458
465
  }
459
466
 
460
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config/auth.js
467
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/auth.js
461
468
  async function handleLoginCommand(options, args) {
462
469
  if (args.length === 0) {
463
470
  throw new CliUsageError("Usage: mcporter config login <name|url>");
@@ -475,7 +482,7 @@ async function handleLogoutCommand(options, args) {
475
482
  console.log(`Cleared cached credentials for '${target.name}'`);
476
483
  }
477
484
 
478
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config/doctor.js
485
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/doctor.js
479
486
  import path3 from "node:path";
480
487
  async function handleDoctorCommand(options, _args) {
481
488
  console.log(`MCPorter ${MCPORTER_VERSION}`);
@@ -499,7 +506,7 @@ async function handleDoctorCommand(options, _args) {
499
506
  }
500
507
  }
501
508
 
502
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config/render.js
509
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/render.js
503
510
  function serializeDefinition(definition) {
504
511
  const origin = definition.source ?? { kind: "local", path: "" };
505
512
  const sharedFields = pickSharedDefinitionFields(definition);
@@ -594,7 +601,7 @@ function printConfigUsageExamples() {
594
601
  ];
595
602
  }
596
603
 
597
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config/get.js
604
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/get.js
598
605
  async function handleGetCommand(options, args) {
599
606
  const flags = extractGetFlags(args);
600
607
  const name = args.shift();
@@ -636,7 +643,7 @@ function extractGetFlags(args) {
636
643
  return { format };
637
644
  }
638
645
 
639
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config/help.js
646
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/help.js
640
647
  var CONFIG_HELP_ENTRIES = {
641
648
  list: {
642
649
  name: "list [options] [filter]",
@@ -745,7 +752,7 @@ var CONFIG_HELP_ENTRIES = {
745
752
  name: "logout <name>",
746
753
  summary: "Clear cached credentials",
747
754
  usage: "mcporter config logout <name>",
748
- description: "Deletes the token cache directory for an OAuth-enabled server.",
755
+ description: "Removes recognized OAuth credential files for a server. The token cache directory and unrelated files stay.",
749
756
  examples: ["pnpm mcporter config logout linear"]
750
757
  },
751
758
  doctor: {
@@ -841,7 +848,7 @@ function printSubcommandHelp(subcommand, colorize) {
841
848
  console.log(lines.join("\n"));
842
849
  }
843
850
 
844
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config/import.js
851
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/import.js
845
852
  import path4 from "node:path";
846
853
  async function handleImportCommand(options, args) {
847
854
  const kind = args.shift();
@@ -935,7 +942,7 @@ function extractImportFlags(args) {
935
942
  return flags;
936
943
  }
937
944
 
938
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config/list.js
945
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/list.js
939
946
  async function handleListCommand(options, args) {
940
947
  const flags = extractListFlags(args);
941
948
  const filter = args.shift();
@@ -999,7 +1006,7 @@ function filterMatches(filter, server) {
999
1006
  return server.name.includes(filter);
1000
1007
  }
1001
1008
 
1002
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config/remove.js
1009
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/remove.js
1003
1010
  async function handleRemoveCommand(options, args) {
1004
1011
  const name = args.shift();
1005
1012
  if (!name) {
@@ -1024,7 +1031,7 @@ async function handleRemoveCommand(options, args) {
1024
1031
  console.log(`Removed '${targetName}' from ${configPath}`);
1025
1032
  }
1026
1033
 
1027
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/config-command.js
1034
+ // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config-command.js
1028
1035
  async function handleConfigCli(options, args) {
1029
1036
  const initialToken = args[0];
1030
1037
  if (args.length === 0 || initialToken && isHelpToken(initialToken)) {