@vibesdotdev/plugins 0.0.0-stage → 1.0.0-rc.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 (330) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +54 -2
  3. package/VIBES.md +165 -0
  4. package/dist/ai/index.d.ts +4 -0
  5. package/dist/ai/index.d.ts.map +1 -0
  6. package/dist/ai/index.js +3 -0
  7. package/dist/ai/index.js.map +1 -0
  8. package/dist/ai/plugin.impl.cloud.d.ts +4 -0
  9. package/dist/ai/plugin.impl.cloud.d.ts.map +1 -0
  10. package/dist/ai/plugin.impl.cloud.js +32 -0
  11. package/dist/ai/plugin.impl.cloud.js.map +1 -0
  12. package/dist/ai/plugin.impl.consumer.d.ts +7 -0
  13. package/dist/ai/plugin.impl.consumer.d.ts.map +1 -0
  14. package/dist/ai/plugin.impl.consumer.js +222 -0
  15. package/dist/ai/plugin.impl.consumer.js.map +1 -0
  16. package/dist/auth/consumer.plugin.d.ts +3 -0
  17. package/dist/auth/consumer.plugin.d.ts.map +1 -0
  18. package/dist/auth/consumer.plugin.js +105 -0
  19. package/dist/auth/consumer.plugin.js.map +1 -0
  20. package/dist/auth/index.d.ts +2 -0
  21. package/dist/auth/index.d.ts.map +1 -0
  22. package/dist/auth/index.js +2 -0
  23. package/dist/auth/index.js.map +1 -0
  24. package/dist/auth/plugin.d.ts +4 -0
  25. package/dist/auth/plugin.d.ts.map +1 -0
  26. package/dist/auth/plugin.js +33 -0
  27. package/dist/auth/plugin.js.map +1 -0
  28. package/dist/automation/consumer.plugin.d.ts +3 -0
  29. package/dist/automation/consumer.plugin.d.ts.map +1 -0
  30. package/dist/automation/consumer.plugin.js +92 -0
  31. package/dist/automation/consumer.plugin.js.map +1 -0
  32. package/dist/automation/index.d.ts +2 -0
  33. package/dist/automation/index.d.ts.map +1 -0
  34. package/dist/automation/index.js +2 -0
  35. package/dist/automation/index.js.map +1 -0
  36. package/dist/automation/plugin.d.ts +4 -0
  37. package/dist/automation/plugin.d.ts.map +1 -0
  38. package/dist/automation/plugin.js +30 -0
  39. package/dist/automation/plugin.js.map +1 -0
  40. package/dist/bun/host.d.ts +44 -0
  41. package/dist/bun/host.d.ts.map +1 -0
  42. package/dist/bun/host.js +71 -0
  43. package/dist/bun/host.js.map +1 -0
  44. package/dist/cli/child-failure.d.ts +37 -0
  45. package/dist/cli/child-failure.d.ts.map +1 -0
  46. package/dist/cli/child-failure.js +86 -0
  47. package/dist/cli/child-failure.js.map +1 -0
  48. package/dist/cli/context.d.ts +12 -0
  49. package/dist/cli/context.d.ts.map +1 -0
  50. package/dist/cli/context.js +11 -0
  51. package/dist/cli/context.js.map +1 -0
  52. package/dist/cli/execution.d.ts +10 -0
  53. package/dist/cli/execution.d.ts.map +1 -0
  54. package/dist/cli/execution.js +20 -0
  55. package/dist/cli/execution.js.map +1 -0
  56. package/dist/cli/failure-facts.d.ts +16 -0
  57. package/dist/cli/failure-facts.d.ts.map +1 -0
  58. package/dist/cli/failure-facts.js +39 -0
  59. package/dist/cli/failure-facts.js.map +1 -0
  60. package/dist/cli/package-manager.consumer.d.ts +106 -0
  61. package/dist/cli/package-manager.consumer.d.ts.map +1 -0
  62. package/dist/cli/package-manager.consumer.js +258 -0
  63. package/dist/cli/package-manager.consumer.js.map +1 -0
  64. package/dist/cli/plugin.d.ts +9 -0
  65. package/dist/cli/plugin.d.ts.map +1 -0
  66. package/dist/cli/plugin.js +34 -0
  67. package/dist/cli/plugin.js.map +1 -0
  68. package/dist/cli/plugins.add.cli-command.descriptor.d.ts +36 -0
  69. package/dist/cli/plugins.add.cli-command.descriptor.d.ts.map +1 -0
  70. package/dist/cli/plugins.add.cli-command.descriptor.js +31 -0
  71. package/dist/cli/plugins.add.cli-command.descriptor.js.map +1 -0
  72. package/dist/cli/plugins.add.cli-command.impl.consumer.d.ts +63 -0
  73. package/dist/cli/plugins.add.cli-command.impl.consumer.d.ts.map +1 -0
  74. package/dist/cli/plugins.add.cli-command.impl.consumer.js +206 -0
  75. package/dist/cli/plugins.add.cli-command.impl.consumer.js.map +1 -0
  76. package/dist/cli/plugins.cli-group.descriptor.d.ts +4 -0
  77. package/dist/cli/plugins.cli-group.descriptor.d.ts.map +1 -0
  78. package/dist/cli/plugins.cli-group.descriptor.js +10 -0
  79. package/dist/cli/plugins.cli-group.descriptor.js.map +1 -0
  80. package/dist/cli/plugins.host.cli-command.descriptor.d.ts +31 -0
  81. package/dist/cli/plugins.host.cli-command.descriptor.d.ts.map +1 -0
  82. package/dist/cli/plugins.host.cli-command.descriptor.js +37 -0
  83. package/dist/cli/plugins.host.cli-command.descriptor.js.map +1 -0
  84. package/dist/cli/plugins.host.cli-command.impl.consumer.d.ts +29 -0
  85. package/dist/cli/plugins.host.cli-command.impl.consumer.d.ts.map +1 -0
  86. package/dist/cli/plugins.host.cli-command.impl.consumer.js +109 -0
  87. package/dist/cli/plugins.host.cli-command.impl.consumer.js.map +1 -0
  88. package/dist/cli/plugins.link.cli-command.descriptor.d.ts +35 -0
  89. package/dist/cli/plugins.link.cli-command.descriptor.d.ts.map +1 -0
  90. package/dist/cli/plugins.link.cli-command.descriptor.js +32 -0
  91. package/dist/cli/plugins.link.cli-command.descriptor.js.map +1 -0
  92. package/dist/cli/plugins.link.cli-command.impl.consumer.d.ts +31 -0
  93. package/dist/cli/plugins.link.cli-command.impl.consumer.d.ts.map +1 -0
  94. package/dist/cli/plugins.link.cli-command.impl.consumer.js +104 -0
  95. package/dist/cli/plugins.link.cli-command.impl.consumer.js.map +1 -0
  96. package/dist/cli/plugins.list.cli-command.descriptor.d.ts +26 -0
  97. package/dist/cli/plugins.list.cli-command.descriptor.d.ts.map +1 -0
  98. package/dist/cli/plugins.list.cli-command.descriptor.js +22 -0
  99. package/dist/cli/plugins.list.cli-command.descriptor.js.map +1 -0
  100. package/dist/cli/plugins.list.cli-command.impl.consumer.d.ts +116 -0
  101. package/dist/cli/plugins.list.cli-command.impl.consumer.d.ts.map +1 -0
  102. package/dist/cli/plugins.list.cli-command.impl.consumer.js +343 -0
  103. package/dist/cli/plugins.list.cli-command.impl.consumer.js.map +1 -0
  104. package/dist/cli/plugins.remove.cli-command.descriptor.d.ts +31 -0
  105. package/dist/cli/plugins.remove.cli-command.descriptor.d.ts.map +1 -0
  106. package/dist/cli/plugins.remove.cli-command.descriptor.js +26 -0
  107. package/dist/cli/plugins.remove.cli-command.descriptor.js.map +1 -0
  108. package/dist/cli/plugins.remove.cli-command.impl.consumer.d.ts +30 -0
  109. package/dist/cli/plugins.remove.cli-command.impl.consumer.d.ts.map +1 -0
  110. package/dist/cli/plugins.remove.cli-command.impl.consumer.js +80 -0
  111. package/dist/cli/plugins.remove.cli-command.impl.consumer.js.map +1 -0
  112. package/dist/cli/plugins.unlink.cli-command.descriptor.d.ts +31 -0
  113. package/dist/cli/plugins.unlink.cli-command.descriptor.d.ts.map +1 -0
  114. package/dist/cli/plugins.unlink.cli-command.descriptor.js +21 -0
  115. package/dist/cli/plugins.unlink.cli-command.descriptor.js.map +1 -0
  116. package/dist/cli/plugins.unlink.cli-command.impl.consumer.d.ts +76 -0
  117. package/dist/cli/plugins.unlink.cli-command.impl.consumer.d.ts.map +1 -0
  118. package/dist/cli/plugins.unlink.cli-command.impl.consumer.js +190 -0
  119. package/dist/cli/plugins.unlink.cli-command.impl.consumer.js.map +1 -0
  120. package/dist/cli/registry-sign-in.consumer.d.ts +80 -0
  121. package/dist/cli/registry-sign-in.consumer.d.ts.map +1 -0
  122. package/dist/cli/registry-sign-in.consumer.js +199 -0
  123. package/dist/cli/registry-sign-in.consumer.js.map +1 -0
  124. package/dist/cli/roll.d.ts +230 -0
  125. package/dist/cli/roll.d.ts.map +1 -0
  126. package/dist/cli/roll.js +569 -0
  127. package/dist/cli/roll.js.map +1 -0
  128. package/dist/cli/schemas/context.d.ts +10 -0
  129. package/dist/cli/schemas/context.d.ts.map +1 -0
  130. package/dist/cli/schemas/context.js +3 -0
  131. package/dist/cli/schemas/context.js.map +1 -0
  132. package/dist/cli/schemas/scopes.d.ts +37 -0
  133. package/dist/cli/schemas/scopes.d.ts.map +1 -0
  134. package/dist/cli/schemas/scopes.js +11 -0
  135. package/dist/cli/schemas/scopes.js.map +1 -0
  136. package/dist/cli/schemas/unlink.d.ts +18 -0
  137. package/dist/cli/schemas/unlink.d.ts.map +1 -0
  138. package/dist/cli/schemas/unlink.js +3 -0
  139. package/dist/cli/schemas/unlink.js.map +1 -0
  140. package/dist/cli/schemas/update.d.ts +77 -0
  141. package/dist/cli/schemas/update.d.ts.map +1 -0
  142. package/dist/cli/schemas/update.js +3 -0
  143. package/dist/cli/schemas/update.js.map +1 -0
  144. package/dist/cli/scopes.d.ts +50 -0
  145. package/dist/cli/scopes.d.ts.map +1 -0
  146. package/dist/cli/scopes.js +90 -0
  147. package/dist/cli/scopes.js.map +1 -0
  148. package/dist/cli/seed.d.ts +232 -0
  149. package/dist/cli/seed.d.ts.map +1 -0
  150. package/dist/cli/seed.js +590 -0
  151. package/dist/cli/seed.js.map +1 -0
  152. package/dist/cli/self-update.d.ts +120 -0
  153. package/dist/cli/self-update.d.ts.map +1 -0
  154. package/dist/cli/self-update.js +274 -0
  155. package/dist/cli/self-update.js.map +1 -0
  156. package/dist/cli/update.cli-command.descriptor.d.ts +62 -0
  157. package/dist/cli/update.cli-command.descriptor.d.ts.map +1 -0
  158. package/dist/cli/update.cli-command.descriptor.js +49 -0
  159. package/dist/cli/update.cli-command.descriptor.js.map +1 -0
  160. package/dist/cli/update.cli-command.impl.consumer.d.ts +178 -0
  161. package/dist/cli/update.cli-command.impl.consumer.d.ts.map +1 -0
  162. package/dist/cli/update.cli-command.impl.consumer.js +750 -0
  163. package/dist/cli/update.cli-command.impl.consumer.js.map +1 -0
  164. package/dist/comms/consumer.plugin.d.ts +3 -0
  165. package/dist/comms/consumer.plugin.d.ts.map +1 -0
  166. package/dist/comms/consumer.plugin.js +108 -0
  167. package/dist/comms/consumer.plugin.js.map +1 -0
  168. package/dist/comms/index.d.ts +2 -0
  169. package/dist/comms/index.d.ts.map +1 -0
  170. package/dist/comms/index.js +2 -0
  171. package/dist/comms/index.js.map +1 -0
  172. package/dist/comms/plugin.d.ts +4 -0
  173. package/dist/comms/plugin.d.ts.map +1 -0
  174. package/dist/comms/plugin.js +30 -0
  175. package/dist/comms/plugin.js.map +1 -0
  176. package/dist/consumer.d.ts +3 -0
  177. package/dist/consumer.d.ts.map +1 -0
  178. package/dist/consumer.js +3 -0
  179. package/dist/consumer.js.map +1 -0
  180. package/dist/consumer.plugin.d.ts +63 -0
  181. package/dist/consumer.plugin.d.ts.map +1 -0
  182. package/dist/consumer.plugin.js +89 -0
  183. package/dist/consumer.plugin.js.map +1 -0
  184. package/dist/core/consumer.plugin.d.ts +4 -0
  185. package/dist/core/consumer.plugin.d.ts.map +1 -0
  186. package/dist/core/consumer.plugin.js +364 -0
  187. package/dist/core/consumer.plugin.js.map +1 -0
  188. package/dist/core/index.d.ts +2 -0
  189. package/dist/core/index.d.ts.map +1 -0
  190. package/dist/core/index.js +2 -0
  191. package/dist/core/index.js.map +1 -0
  192. package/dist/core/optional-member.d.ts +11 -0
  193. package/dist/core/optional-member.d.ts.map +1 -0
  194. package/dist/core/optional-member.js +68 -0
  195. package/dist/core/optional-member.js.map +1 -0
  196. package/dist/core/optional-plugin.d.ts +40 -0
  197. package/dist/core/optional-plugin.d.ts.map +1 -0
  198. package/dist/core/optional-plugin.js +107 -0
  199. package/dist/core/optional-plugin.js.map +1 -0
  200. package/dist/core/plugin.d.ts +10 -0
  201. package/dist/core/plugin.d.ts.map +1 -0
  202. package/dist/core/plugin.js +64 -0
  203. package/dist/core/plugin.js.map +1 -0
  204. package/dist/core/setup-requirements.descriptors.d.ts +7 -0
  205. package/dist/core/setup-requirements.descriptors.d.ts.map +1 -0
  206. package/dist/core/setup-requirements.descriptors.js +117 -0
  207. package/dist/core/setup-requirements.descriptors.js.map +1 -0
  208. package/dist/data/consumer.plugin.d.ts +3 -0
  209. package/dist/data/consumer.plugin.d.ts.map +1 -0
  210. package/dist/data/consumer.plugin.js +99 -0
  211. package/dist/data/consumer.plugin.js.map +1 -0
  212. package/dist/data/index.d.ts +2 -0
  213. package/dist/data/index.d.ts.map +1 -0
  214. package/dist/data/index.js +2 -0
  215. package/dist/data/index.js.map +1 -0
  216. package/dist/data/plugin.d.ts +4 -0
  217. package/dist/data/plugin.d.ts.map +1 -0
  218. package/dist/data/plugin.js +37 -0
  219. package/dist/data/plugin.js.map +1 -0
  220. package/dist/devtools/consumer.plugin.d.ts +3 -0
  221. package/dist/devtools/consumer.plugin.d.ts.map +1 -0
  222. package/dist/devtools/consumer.plugin.js +323 -0
  223. package/dist/devtools/consumer.plugin.js.map +1 -0
  224. package/dist/devtools/index.d.ts +2 -0
  225. package/dist/devtools/index.d.ts.map +1 -0
  226. package/dist/devtools/index.js +2 -0
  227. package/dist/devtools/index.js.map +1 -0
  228. package/dist/devtools/plugin.d.ts +4 -0
  229. package/dist/devtools/plugin.d.ts.map +1 -0
  230. package/dist/devtools/plugin.js +34 -0
  231. package/dist/devtools/plugin.js.map +1 -0
  232. package/dist/filesystem/index.d.ts +2 -0
  233. package/dist/filesystem/index.d.ts.map +1 -0
  234. package/dist/filesystem/index.js +2 -0
  235. package/dist/filesystem/index.js.map +1 -0
  236. package/dist/filesystem/plugin.d.ts +4 -0
  237. package/dist/filesystem/plugin.d.ts.map +1 -0
  238. package/dist/filesystem/plugin.js +21 -0
  239. package/dist/filesystem/plugin.js.map +1 -0
  240. package/dist/index.d.ts +3 -0
  241. package/dist/index.d.ts.map +1 -0
  242. package/dist/index.js +4 -0
  243. package/dist/index.js.map +1 -0
  244. package/dist/plugin.d.ts +7 -0
  245. package/dist/plugin.d.ts.map +1 -0
  246. package/dist/plugin.js +16 -0
  247. package/dist/plugin.js.map +1 -0
  248. package/dist/schemas/ai.d.ts +119 -0
  249. package/dist/schemas/ai.d.ts.map +1 -0
  250. package/dist/schemas/ai.js +84 -0
  251. package/dist/schemas/ai.js.map +1 -0
  252. package/dist/schemas/auth.d.ts +15 -0
  253. package/dist/schemas/auth.d.ts.map +1 -0
  254. package/dist/schemas/auth.js +19 -0
  255. package/dist/schemas/auth.js.map +1 -0
  256. package/dist/schemas/automation.d.ts +66 -0
  257. package/dist/schemas/automation.d.ts.map +1 -0
  258. package/dist/schemas/automation.js +36 -0
  259. package/dist/schemas/automation.js.map +1 -0
  260. package/dist/schemas/comms.d.ts +13 -0
  261. package/dist/schemas/comms.d.ts.map +1 -0
  262. package/dist/schemas/comms.js +27 -0
  263. package/dist/schemas/comms.js.map +1 -0
  264. package/dist/schemas/core.d.ts +102 -0
  265. package/dist/schemas/core.d.ts.map +1 -0
  266. package/dist/schemas/core.js +124 -0
  267. package/dist/schemas/core.js.map +1 -0
  268. package/dist/schemas/data.d.ts +13 -0
  269. package/dist/schemas/data.d.ts.map +1 -0
  270. package/dist/schemas/data.js +25 -0
  271. package/dist/schemas/data.js.map +1 -0
  272. package/dist/schemas/devtools.d.ts +33 -0
  273. package/dist/schemas/devtools.d.ts.map +1 -0
  274. package/dist/schemas/devtools.js +56 -0
  275. package/dist/schemas/devtools.js.map +1 -0
  276. package/dist/schemas/family.d.ts +11 -0
  277. package/dist/schemas/family.d.ts.map +1 -0
  278. package/dist/schemas/family.js +21 -0
  279. package/dist/schemas/family.js.map +1 -0
  280. package/dist/schemas/filesystem.d.ts +25 -0
  281. package/dist/schemas/filesystem.d.ts.map +1 -0
  282. package/dist/schemas/filesystem.js +24 -0
  283. package/dist/schemas/filesystem.js.map +1 -0
  284. package/dist/schemas/host.d.ts +10 -0
  285. package/dist/schemas/host.d.ts.map +1 -0
  286. package/dist/schemas/host.js +2 -0
  287. package/dist/schemas/host.js.map +1 -0
  288. package/dist/schemas/optional-member.d.ts +67 -0
  289. package/dist/schemas/optional-member.d.ts.map +1 -0
  290. package/dist/schemas/optional-member.js +31 -0
  291. package/dist/schemas/optional-member.js.map +1 -0
  292. package/dist/schemas/roll.d.ts +47 -0
  293. package/dist/schemas/roll.d.ts.map +1 -0
  294. package/dist/schemas/roll.js +18 -0
  295. package/dist/schemas/roll.js.map +1 -0
  296. package/dist/schemas/tui.d.ts +33 -0
  297. package/dist/schemas/tui.d.ts.map +1 -0
  298. package/dist/schemas/tui.js +95 -0
  299. package/dist/schemas/tui.js.map +1 -0
  300. package/dist/schemas/ui.d.ts +15 -0
  301. package/dist/schemas/ui.d.ts.map +1 -0
  302. package/dist/schemas/ui.js +45 -0
  303. package/dist/schemas/ui.js.map +1 -0
  304. package/dist/tui/code-sessions-tui-plugin-shim.d.ts +7 -0
  305. package/dist/tui/code-sessions-tui-plugin-shim.d.ts.map +1 -0
  306. package/dist/tui/code-sessions-tui-plugin-shim.js +2 -0
  307. package/dist/tui/code-sessions-tui-plugin-shim.js.map +1 -0
  308. package/dist/tui/index.d.ts +8 -0
  309. package/dist/tui/index.d.ts.map +1 -0
  310. package/dist/tui/index.js +8 -0
  311. package/dist/tui/index.js.map +1 -0
  312. package/dist/tui/plugin.d.ts +53 -0
  313. package/dist/tui/plugin.d.ts.map +1 -0
  314. package/dist/tui/plugin.js +350 -0
  315. package/dist/tui/plugin.js.map +1 -0
  316. package/dist/ui/consumer.plugin.d.ts +3 -0
  317. package/dist/ui/consumer.plugin.d.ts.map +1 -0
  318. package/dist/ui/consumer.plugin.js +75 -0
  319. package/dist/ui/consumer.plugin.js.map +1 -0
  320. package/dist/ui/index.d.ts +2 -0
  321. package/dist/ui/index.d.ts.map +1 -0
  322. package/dist/ui/index.js +2 -0
  323. package/dist/ui/index.js.map +1 -0
  324. package/dist/ui/plugin.d.ts +4 -0
  325. package/dist/ui/plugin.d.ts.map +1 -0
  326. package/dist/ui/plugin.js +35 -0
  327. package/dist/ui/plugin.js.map +1 -0
  328. package/host-start.mjs +39 -0
  329. package/host.mjs +24 -0
  330. package/package.json +437 -4
@@ -0,0 +1,323 @@
1
+ import { optionalMemberRegistrar } from "../core/optional-member.js";
2
+ /**
3
+ * DevTools Plugins Umbrella
4
+ *
5
+ * Registers a config descriptor under `plugins.devtools` that controls
6
+ * which developer tool plugins are enabled. Provides intelligent defaults
7
+ * based on runtime scope.
8
+ *
9
+ * Shorthand in vibes.config.ts:
10
+ * devtools: true → enable the full developer experience (everything on)
11
+ * devtools: false → disable the entire devtools umbrella
12
+ * devtools: { mcp: true, external: false, ... } → fine-grained control
13
+ *
14
+ * Depends on: @vibesdotdev/plugins-core (for config, logging, storage, etc.)
15
+ *
16
+ * Owned sub-plugins:
17
+ * - docs/plugin (docs/topic kind, docs explorer)
18
+ * - docs-cli/plugin (vibes docs list/search/show — surface: cli, canonical Wave-4 sibling)
19
+ * - docs/cli.plugin (vibes docs open/generate + vibes man — residual surface: cli)
20
+ * - vessel/docs.plugin, vessel-svelte/plugin, filesystem-svelte/plugin,
21
+ * terminal-svelte/plugin, projects-svelte/plugin, work-svelte/plugin,
22
+ * runtime-surface-browser/plugin (docs-only feature topics)
23
+ * - code-sessions (developer workspace docs + runtime/client descriptor)
24
+ * - mcp/plugin (MCP protocol runtime kinds + docs)
25
+ * - mcp/mcp.plugin (MCP server + dev mcp commands)
26
+ * - external/host (runtime contracts and generic dev external projections;
27
+ * selected integrations contribute provider identities and operations)
28
+ * - search/plugin (search indexes)
29
+ * - brain/plugin (AI brain)
30
+ * - tools/agents (agents — surface: cli)
31
+ * - tools/codemod (codemod — surface: cli)
32
+ * - tools/cli.plugin (vibes tools commands — surface: cli)
33
+ * - runnable/plugin (runnable graphs)
34
+ * - git-operations/cli/branch (vibes branch list/prune runtime projection)
35
+ * - forge/cli (vibes forge/git and the current-repository vibes pr projection)
36
+ * - infra-deploy/plugin (vibes infra — surface: cli)
37
+ */
38
+ import { createRuntimePlugin, createRuntimeKind } from '@vibesdotdev/kernel';
39
+ import { getLogger } from '@vibesdotdev/logging';
40
+ import { z } from 'zod/v4';
41
+ import { relocatedPluginNotice } from "../core/optional-plugin.js";
42
+ import { DevToolsConfigSchema, mergeConfig } from "../schemas/devtools.js";
43
+ export const devtoolsPluginsPlugin = createRuntimePlugin({
44
+ id: '@vibesdotdev/plugins-devtools',
45
+ name: 'DevTools Plugins Umbrella',
46
+ description: 'Developer tools: docs, MCP, external (Claude/Cursor/Zed/etc integrations), search, brain, tools agents/codemod, runnable',
47
+ dependencies: ['context', '@vibesdotdev/plugins-core'],
48
+ kinds: [
49
+ createRuntimeKind({
50
+ id: 'plugins/devtools/config',
51
+ descriptorSchema: z.object({
52
+ kind: z.literal('plugins/devtools/config'),
53
+ id: z.literal('plugins.devtools'),
54
+ config: DevToolsConfigSchema
55
+ })
56
+ })
57
+ ],
58
+ async onRegister(runtime) {
59
+ const member = optionalMemberRegistrar('plugins-devtools', runtime);
60
+ const relocatedPlugin = relocatedPluginNotice('plugins-devtools', runtime);
61
+ const isCli = runtime.scope?.surface === 'cli';
62
+ const configId = 'plugins.devtools';
63
+ const userConfig = runtime.hasContext(configId)
64
+ ? await runtime.context(configId)
65
+ : {};
66
+ const config = mergeConfig(userConfig, runtime.scope);
67
+ if (!config.enabled)
68
+ return;
69
+ if (config.docs) {
70
+ await member('@vibesdotdev/docs/plugin', async () => (await import('@vibesdotdev/docs/plugin')).default);
71
+ {
72
+ await member('@vibesdotdev/code-sessions', async () => (await import('@vibesdotdev/code-sessions')).default);
73
+ }
74
+ {
75
+ await member('@vibesdotdev/agent-execution/code-session/plugin', async () => (await import('@vibesdotdev/agent-execution/code-session/plugin')).default);
76
+ }
77
+ {
78
+ await member('@vibesdotdev/agent-execution/sandbox/plugin', async () => (await import('@vibesdotdev/agent-execution/sandbox/plugin')).default);
79
+ }
80
+ // A serve command boots its own worker host through the entry
81
+ // (rc02-rc03 §2.3). Register the native owner on a consumer CLI or
82
+ // worker host, never in a renderer. The workspace-binding loader is
83
+ // consumer.worker; a renderer reaches it through the daemon projection.
84
+ if (runtime.scope.hardware === 'consumer' && (isCli || runtime.scope.surface === 'worker')) {
85
+ {
86
+ await member('@vibesdotdev/code-sessions/consumer/plugin', async () => (await import('@vibesdotdev/code-sessions/consumer/plugin')).default);
87
+ }
88
+ {
89
+ await member('@vibesdotdev/agent-execution/code-session/consumer.plugin', async () => (await import('@vibesdotdev/agent-execution/code-session/consumer.plugin')).default);
90
+ }
91
+ {
92
+ await member('@vibesdotdev/agent-execution/sandbox/consumer.plugin', async () => (await import('@vibesdotdev/agent-execution/sandbox/consumer.plugin')).default);
93
+ }
94
+ }
95
+ {
96
+ await member('@vibesdotdev/vessel/docs.plugin', async () => (await import('@vibesdotdev/vessel/docs.plugin')).default);
97
+ }
98
+ if (runtime.scope.surface === 'browser') {
99
+ {
100
+ await member('@vibesdotdev/bridge/svelte/vessel/plugin', async () => (await import('@vibesdotdev/bridge/svelte/vessel/plugin')).default);
101
+ }
102
+ {
103
+ await member('@vibesdotdev/filesystem/svelte/plugin', async () => (await import('@vibesdotdev/filesystem/svelte/plugin')).default);
104
+ }
105
+ {
106
+ await member('@vibesdotdev/terminal-client/svelte/plugin', async () => (await import('@vibesdotdev/terminal-client/svelte/plugin')).default);
107
+ }
108
+ {
109
+ await member('@vibesdotdev/projects/svelte/plugin', async () => (await import('@vibesdotdev/projects/svelte/plugin')).default);
110
+ }
111
+ {
112
+ await member('@vibesdotdev/projects/work/svelte/plugin', async () => (await import('@vibesdotdev/projects/work/svelte/plugin')).default);
113
+ }
114
+ {
115
+ await member('@vibesdotdev/surface-sveltekit/surface-browser/plugin', async () => (await import('@vibesdotdev/surface-sveltekit/surface-browser/plugin')).default);
116
+ }
117
+ {
118
+ await member('@vibesdotdev/bridge/svelte/desktop/plugin', async () => (await import('@vibesdotdev/bridge/svelte/desktop/plugin')).default);
119
+ }
120
+ {
121
+ await member('@vibesdotdev/control/browser-automation/svelte/plugin', async () => (await import('@vibesdotdev/control/browser-automation/svelte/plugin')).default);
122
+ }
123
+ }
124
+ if (isCli) {
125
+ // docs cli.plugin: open/generate/list/search/show + the top-level `vibes man`.
126
+ await member('@vibesdotdev/docs/cli.plugin', async () => (await import('@vibesdotdev/docs/cli.plugin')).default);
127
+ }
128
+ }
129
+ const toolsConfig = config.tools;
130
+ if (toolsConfig.enabled) {
131
+ if (toolsConfig.agents) {
132
+ // plugins-devtools is the vibes-internal devtools plugin. Schemas/contracts
133
+ // live in public tools (Wave 6b); this hosted-execution registration
134
+ // intentionally remains tier 3 and is opt-in via toolsConfig.agents.
135
+ // vibes-tier-allow: vibes-internal opt-in hosted plugin load
136
+ await member('@vibesdotdev/agents/agents.plugin', async () => (await import('@vibesdotdev/agents/agents.plugin')).default);
137
+ // The consumer `agents/roster` body is a SEPARATE plugin so the
138
+ // universal one carries no `*.impl.consumer.*` import (see
139
+ // agents/src/client/roster-capability.consumer.plugin.ts). Register it
140
+ // only where its `node:os` edge can actually run. `toolsConfig.agents`
141
+ // is `hardware === 'consumer'`, and a BROWSER runtime is consumer
142
+ // hardware too — so gate on the surface, not the hardware, or the edge
143
+ // simply moves from the worker bundle into the browser bundle.
144
+ if (runtime.scope?.surface !== 'browser') {
145
+ await member('@vibesdotdev/agents/client/roster.consumer.plugin', async () => (await import('@vibesdotdev/agents/client/roster.consumer.plugin')).default);
146
+ }
147
+ }
148
+ if (toolsConfig.codemod) {
149
+ const [{ default: codemodPlugin }, { default: codemodCliPlugin }] = await Promise.all([
150
+ import('@vibesdotdev/tools/codemod/plugin'),
151
+ import('@vibesdotdev/tools/cli/codemod/plugin')
152
+ ]);
153
+ await runtime.registerPlugin(codemodPlugin);
154
+ await runtime.registerPlugin(codemodCliPlugin);
155
+ }
156
+ if (isCli) {
157
+ await member('@vibesdotdev/tools/cli/plugin', async () => (await import('@vibesdotdev/tools/cli/plugin')).default);
158
+ // Host codegen adapters (OpenCode, Cursor) are provider assets: hosts compose
159
+ // @vibesdotdev/integrations-opencode and -cursor, never the Framework umbrella.
160
+ const { default: skillAdapterPlugin } = await import('@vibesdotdev/tools/adapters/skill/plugin');
161
+ await runtime.registerPlugin(skillAdapterPlugin);
162
+ await member('@vibesdotdev/logging/cli/plugin', async () => (await import('@vibesdotdev/logging/cli/plugin')).default);
163
+ }
164
+ }
165
+ // Core developer CLI surfaces provided by the devtools umbrella.
166
+ // We default to true (when the umbrella is present) because the presence
167
+ // of devtools in the plugin list signals "I want the developer experience".
168
+ // Explicit false in the user's config can still turn them off.
169
+ if (config.mcp ?? true) {
170
+ {
171
+ await member('@vibesdotdev/mcp/plugin', async () => (await import('@vibesdotdev/mcp/plugin')).default);
172
+ // The dedicated MCP developer CLI surface owns the `dev.mcp` group
173
+ // and all lifecycle/management command loaders.
174
+ await member('@vibesdotdev/mcp/mcp.plugin', async () => (await import('@vibesdotdev/mcp/mcp.plugin')).default);
175
+ const { default: mcpServeSurface } = await import('@vibesdotdev/mcp/surface-mcp/mcp-serve.plugin');
176
+ await runtime.registerPlugin(mcpServeSurface);
177
+ }
178
+ }
179
+ if (config.external ?? true) {
180
+ // Registers External's provider-neutral runtime contracts, adapters, and CLI
181
+ // projections. The application composition selects provider plugins separately;
182
+ // those plugins contribute host descriptors, presets, and operations at runtime.
183
+ await member('@vibesdotdev/external/consumer/node/plugin', async () => (await import('@vibesdotdev/external/consumer/node/plugin')).default);
184
+ if (isCli) {
185
+ const { default: externalCliPlugin } = await import('@vibesdotdev/external/cli');
186
+ await runtime.registerPlugin(externalCliPlugin);
187
+ }
188
+ }
189
+ if (config.search) {
190
+ await member('@vibesdotdev/workspace/search/plugin', async () => (await import('@vibesdotdev/workspace/search/plugin')).default);
191
+ }
192
+ // Brain and the continuity loop are presence, a premium agent extra:
193
+ // @vibesdotdev/agent-extras-premium registers both.
194
+ if (config.brain)
195
+ relocatedPlugin('brain', '@vibesdotdev/agent-extras-premium');
196
+ {
197
+ await member('@vibesdotdev/runnable/plugin', async () => (await import('@vibesdotdev/runnable/plugin')).default);
198
+ const runnableHost = config.runnable;
199
+ if (runnableHost.host === 'local') {
200
+ await member('@vibesdotdev/runnable/storage/local', async () => (await import('@vibesdotdev/runnable/storage/local')).createRunnableLocalStoragePlugin());
201
+ }
202
+ else {
203
+ await member('@vibesdotdev/runnable/storage/plugin', async () => (await import('@vibesdotdev/runnable/storage/plugin')).createRunnableStoragePlugin({ serviceId: runnableHost.serviceId, recordsEndpoint: runnableHost.recordsEndpoint, eventsEndpoint: runnableHost.eventsEndpoint }));
204
+ }
205
+ await member('@vibesdotdev/pm/runnable/plugin', async () => (await import('@vibesdotdev/pm/runnable/plugin')).default);
206
+ await member('@vibesdotdev/workers/runnable/job.plugin', async () => (await import('@vibesdotdev/workers/runnable/job.plugin')).default);
207
+ await member('@vibesdotdev/tools/runnable/plugin', async () => (await import('@vibesdotdev/tools/runnable/plugin')).default);
208
+ await member('@vibesdotdev/agents/runnable/plugin', async () => (await import('@vibesdotdev/agents/runnable/plugin')).default);
209
+ }
210
+ // Expert owns a consumer-local training workflow and depends on the public
211
+ // `training` plugin (`@vibesdotdev/ai/training/plugin`). Compose its
212
+ // universal dependency chain before its CLI projection so discovery sees
213
+ // the complete `dev expert` family without leaking CLI assets into owner
214
+ // roots. Expert is composed only when `training` is registered (here or by
215
+ // the host); its absence is a debug record, never a throw.
216
+ if (isCli && runtime.scope.hardware === 'consumer') {
217
+ {
218
+ await member('@vibesdotdev/ai/training/plugin', async () => (await import('@vibesdotdev/ai/training/plugin')).default);
219
+ }
220
+ if (!runtime.hasPlugin('training')) {
221
+ getLogger('plugins-devtools', runtime).debug("skipped optional plugin '@vibesdotdev/knowledge/expert': the 'training' plugin is not composed", { pluginId: '@vibesdotdev/knowledge/expert', missing: ['training'] });
222
+ }
223
+ else {
224
+ {
225
+ await member('@vibesdotdev/knowledge/expert/plugin', async () => (await import('@vibesdotdev/knowledge/expert/plugin')).default);
226
+ const { default: expertCliPlugin } = await import('@vibesdotdev/knowledge/expert/cli/plugin');
227
+ await runtime.registerPlugin(expertCliPlugin);
228
+ }
229
+ }
230
+ }
231
+ if (config.nvim && isCli) {
232
+ await member('@vibesdotdev/editor/nvim/plugin', async () => (await import('@vibesdotdev/editor/nvim/plugin')).default);
233
+ }
234
+ if (config.editor && isCli) {
235
+ {
236
+ await member('@vibesdotdev/vessel/launch', async () => (await import('@vibesdotdev/vessel/launch')).vesselLaunchPlugin);
237
+ }
238
+ {
239
+ await member('@vibesdotdev/vessel/cli/plugin', async () => (await import('@vibesdotdev/vessel/cli/plugin')).default);
240
+ }
241
+ {
242
+ await member('@vibesdotdev/editor/cli/plugin', async () => (await import('@vibesdotdev/editor/cli/plugin')).default);
243
+ }
244
+ }
245
+ // The repository half of git-operations (`git-repository`, no CLI
246
+ // dependency) serves every surface too: repository providers depend on it.
247
+ if (config.gitRepository) {
248
+ {
249
+ await member('@vibesdotdev/git-operations/repository/plugin', async () => (await import('@vibesdotdev/git-operations/repository/plugin')).default);
250
+ }
251
+ }
252
+ // `vibes workers …` — the canonical `-cli` sibling of the workers package.
253
+ // Composed on every surface, like PM's CLI: `workers serve` re-boots on its
254
+ // own serve host (surface 'worker') and must find its command there.
255
+ if (config.workersCli) {
256
+ {
257
+ await member('@vibesdotdev/workers/cli/plugin', async () => (await import('@vibesdotdev/workers/cli/plugin')).default);
258
+ }
259
+ }
260
+ // `vibes fleet …` — the public fleet capability's CLI. Composed on every
261
+ // surface, like the workers CLI: `fleet daemon` re-boots on its own serve
262
+ // host (surface 'worker') and must find its command there.
263
+ if (config.fleetCli) {
264
+ {
265
+ await member('@vibesdotdev/platform/fleets/cli/plugin', async () => (await import('@vibesdotdev/platform/fleets/cli/plugin')).default);
266
+ }
267
+ }
268
+ {
269
+ await member('@vibesdotdev/git-operations/plugin', async () => (await import('@vibesdotdev/git-operations/plugin')).default);
270
+ }
271
+ if (isCli || runtime.scope?.surface === 'mcp') {
272
+ {
273
+ if (!runtime.hasPlugin('platform')) {
274
+ await member('@vibesdotdev/platform/plugin', async () => (await import('@vibesdotdev/platform/plugin')).default);
275
+ }
276
+ }
277
+ }
278
+ if (isCli) {
279
+ {
280
+ await member('@vibesdotdev/forge/plugin', async () => (await import('@vibesdotdev/forge/plugin')).default);
281
+ // OWNER COMPLETENESS, same rule as `localdb` below.
282
+ // `@vibesdotdev/forge/cli` declares `dependencies: ['cli','platform']`
283
+ // and plugin id `platform` comes from `@vibesdotdev/platform/plugin` —
284
+ // another FRAMEWORK package that, until the CLI host became a string
285
+ // list, only the RESTRICTED infra preset mounted (see its comment:
286
+ // "Most consumers … do not currently register
287
+ // `@vibesdotdev/platform/plugin` via an umbrella"). Without this the
288
+ // public umbrella loses `vibes forge`/`vibes git` entirely, as a
289
+ // silent optional skip.
290
+ await member('@vibesdotdev/forge/cli/plugin', async () => (await import('@vibesdotdev/forge/cli/plugin')).default);
291
+ }
292
+ {
293
+ await member('@vibesdotdev/git-operations/cli/branch/plugin', async () => (await import('@vibesdotdev/git-operations/cli/branch/plugin')).default);
294
+ }
295
+ {
296
+ await member('@vibesdotdev/infra-deploy/plugin', async () => (await import('@vibesdotdev/infra-deploy/plugin')).default);
297
+ await member('@vibesdotdev/infra-deploy/cli/plugin', async () => (await import('@vibesdotdev/infra-deploy/cli/plugin')).default);
298
+ }
299
+ }
300
+ // Bridge browser automation. The runtime plugin is surface-neutral; the
301
+ // `-cli` sibling and the Bun webview host are CLI-only, exactly as the
302
+ // binary host composed them.
303
+ if (config.browser) {
304
+ {
305
+ // Same owner-completeness rule as `plugins/automation`: this is the
306
+ // SAME runtime plugin id (`bridge/browser-automation` re-exports
307
+ // `@vibesdotdev/control/browser-automation/plugin`) and it declares a
308
+ // hard dependency on plugin id `localdb`, which only
309
+ // `@vibesdotdev/localdb/plugin` provides. Registering it here keeps
310
+ // the umbrella bootable without the restricted infra preset;
311
+ // registration is idempotent when infra already mounted it.
312
+ await member('@vibesdotdev/localdb/plugin', async () => (await import('@vibesdotdev/localdb/plugin')).default);
313
+ await member('@vibesdotdev/bridge/browser-automation/plugin', async () => (await import('@vibesdotdev/bridge/browser-automation/plugin')).default);
314
+ if (isCli) {
315
+ await member('@vibesdotdev/bridge/browser-automation/cli.plugin', async () => (await import('@vibesdotdev/bridge/browser-automation/cli.plugin')).default);
316
+ await member('@vibesdotdev/bridge/browser-automation/bun/webview.plugin', async () => (await import('@vibesdotdev/bridge/browser-automation/bun/webview.plugin')).default);
317
+ }
318
+ }
319
+ }
320
+ }
321
+ });
322
+ export default devtoolsPluginsPlugin;
323
+ //# sourceMappingURL=consumer.plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consumer.plugin.js","sourceRoot":"","sources":["../../src/devtools/consumer.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7E,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE3E,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;IACrD,EAAE,EAAE,+BAA+B;IACnC,IAAI,EAAE,2BAA2B;IACjC,WAAW,EAAE,0HAA0H;IACvI,YAAY,EAAE,CAAC,SAAS,EAAE,2BAA2B,CAAC;IACtD,KAAK,EAAE;QACH,iBAAiB,CAAC;YACd,EAAE,EAAE,yBAAyB;YAC7B,gBAAgB,EAAE,CAAC,CAAC,MAAM,CAAC;gBACvB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC;gBAC1C,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;gBACjC,MAAM,EAAE,oBAAoB;aAC/B,CAAC;SACL,CAAC;KACL;IACD,KAAK,CAAC,UAAU,CAAC,OAAmB;QAChC,MAAM,MAAM,GAAG,uBAAuB,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;QACpE,MAAM,eAAe,GAAG,qBAAqB,CAAC,kBAA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AAC,CAAC,OAAO,CAAC,CAAC;gBACzH,MAAM,MAAM,CAAC,sCAAsC,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,sCAAsC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;YACrI,CAAC;QACL,CAAC;QACD,wEAAwE;QACxE,uEAAuE;QACvE,6BAA6B;QAC7B,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YACjB,CAAC;gBACG,oEAAoE;gBACpE,iEAAiE;gBACjE,sEAAsE;gBACtE,qDAAqD;gBACrD,oEAAoE;gBACpE,6DAA6D;gBAC7D,4DAA4D;gBAC5D,MAAM,MAAM,CAAC,6BAA6B,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,6BAA6B,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;gBAC/G,MAAM,MAAM,CAAC,+CAA+C,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,+CAA+C,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;gBACnJ,IAAI,KAAK,EAAE,CAAC;oBACR,MAAM,MAAM,CAAC,mDAAmD,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,mDAAmD,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;oBAC3J,MAAM,MAAM,CAAC,2DAA2D,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,2DAA2D,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;gBAC/K,CAAC;YACL,CAAC;QACL,CAAC;IACL,CAAC;CACJ,CAAC,CAAC;AACH,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { devtoolsPluginsPlugin, default } from './plugin.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/devtools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { devtoolsPluginsPlugin, default } from "./plugin.js";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/devtools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,4 @@
1
+ /** Scope-neutral contracts; native and surface capabilities live in ./consumer.plugin. */
2
+ export declare const devtoolsPluginsPlugin: import("@vibesdotdev/kernel").RuntimePlugin;
3
+ export default devtoolsPluginsPlugin;
4
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/devtools/plugin.ts"],"names":[],"mappings":"AAMA,0FAA0F;AAC1F,eAAO,MAAM,qBAAqB,6CAuBhC,CAAC;AACH,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { createRuntimePlugin, createRuntimeKind } from '@vibesdotdev/kernel';
2
+ import { z } from 'zod/v4';
3
+ import { DevToolsConfigSchema, mergeConfig } from "../schemas/devtools.js";
4
+ import { optionalMemberRegistrar } from "../core/optional-member.js";
5
+ /** Scope-neutral contracts; native and surface capabilities live in ./consumer.plugin. */
6
+ export const devtoolsPluginsPlugin = createRuntimePlugin({
7
+ id: '@vibesdotdev/plugins-devtools',
8
+ name: 'Devtools family contracts',
9
+ dependencies: ['context', '@vibesdotdev/plugins-core'],
10
+ kinds: [createRuntimeKind({
11
+ id: 'plugins/devtools/config',
12
+ descriptorSchema: z.object({
13
+ kind: z.literal('plugins/devtools/config'), id: z.literal('plugins.devtools'),
14
+ config: DevToolsConfigSchema
15
+ })
16
+ })],
17
+ async onRegister(runtime) {
18
+ const input = runtime.hasContext('plugins.devtools')
19
+ ? await runtime.context('plugins.devtools') : {};
20
+ const config = mergeConfig(input, runtime.scope);
21
+ runtime.registerDescriptor('plugins/devtools/config', {
22
+ kind: 'plugins/devtools/config', id: 'plugins.devtools', config
23
+ });
24
+ if (!config.enabled)
25
+ return;
26
+ const member = optionalMemberRegistrar('plugins-devtools', runtime);
27
+ if (config.docs)
28
+ await member('@vibesdotdev/docs/plugin', async () => (await import('@vibesdotdev/docs/plugin')).default);
29
+ if (config.mcp)
30
+ await member('@vibesdotdev/mcp/plugin', async () => (await import('@vibesdotdev/mcp/plugin')).default);
31
+ }
32
+ });
33
+ export default devtoolsPluginsPlugin;
34
+ //# sourceMappingURL=plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../src/devtools/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE,0FAA0F;AAC1F,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;IACxD,EAAE,EAAE,+BAA+B;IACnC,IAAI,EAAE,2BAA2B;IACjC,YAAY,EAAE,CAAC,SAAS,EAAE,2BAA2B,CAAC;IACtD,KAAK,EAAE,CAAC,iBAAiB,CAAC;YACzB,EAAE,EAAE,yBAAyB;YAC7B,gBAAgB,EAAE,CAAC,CAAC,MAAM,CAAC;gBAC1B,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;gBAC7E,MAAM,EAAE,oBAAoB;aAC5B,CAAC;SACF,CAAC,CAAC;IACH,KAAK,CAAC,UAAU,CAAC,OAAO;QACvB,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC;YACnD,CAAC,CAAC,MAAM,OAAO,CAAC,OAAO,CAAoB,kBAAkB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACrE,MAAM,MAAM,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;QACjD,OAAO,CAAC,kBAAkB,CAAC,yBAAyB,EAAE;YACrD,IAAI,EAAE,yBAAyB,EAAE,EAAE,EAAE,kBAAkB,EAAE,MAAM;SAC/D,CAAC,CAAC;QACH,IAAI,CAAC,MAAM,CAAC,OAAO;YAAE,OAAO;QAC5B,MAAM,MAAM,GAAG,uBAAuB,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;QACpE,IAAI,MAAM,CAAC,IAAI;YAAE,MAAM,MAAM,CAAC,0BAA0B,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;QAC3H,IAAI,MAAM,CAAC,GAAG;YAAE,MAAM,MAAM,CAAC,yBAAyB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,yBAAyB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IACvH,CAAC;CACD,CAAC,CAAC;AACH,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { filesystemPluginsPlugin, default } from './plugin.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/filesystem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { filesystemPluginsPlugin, default } from "./plugin.js";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/filesystem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,4 @@
1
+ /** Hosts query the validated selection and compose the selected connector owners. */
2
+ export declare const filesystemPluginsPlugin: import("@vibesdotdev/kernel").RuntimePlugin;
3
+ export default filesystemPluginsPlugin;
4
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/filesystem/plugin.ts"],"names":[],"mappings":"AAIA,qFAAqF;AACrF,eAAO,MAAM,uBAAuB,6CAelC,CAAC;AACH,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { createRuntimePlugin, createRuntimeKind } from '@vibesdotdev/kernel';
2
+ import { FilesystemConfigDescriptorSchema, mergeConfig } from "../schemas/filesystem.js";
3
+ /** Hosts query the validated selection and compose the selected connector owners. */
4
+ export const filesystemPluginsPlugin = createRuntimePlugin({
5
+ id: '@vibesdotdev/plugins-filesystem',
6
+ name: 'Filesystem connector selection',
7
+ dependencies: ['context', '@vibesdotdev/plugins-core'],
8
+ kinds: [createRuntimeKind({
9
+ id: 'plugins/filesystem/config', descriptorSchema: FilesystemConfigDescriptorSchema
10
+ })],
11
+ async onRegister(runtime) {
12
+ const input = runtime.hasContext('plugins.filesystem')
13
+ ? await runtime.context('plugins.filesystem') : {};
14
+ const config = mergeConfig(input, runtime.scope);
15
+ runtime.registerDescriptor('plugins/filesystem/config', {
16
+ kind: 'plugins/filesystem/config', id: 'plugins.filesystem', config
17
+ });
18
+ }
19
+ });
20
+ export default filesystemPluginsPlugin;
21
+ //# sourceMappingURL=plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../src/filesystem/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,gCAAgC,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGzF,qFAAqF;AACrF,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CAAC;IAC1D,EAAE,EAAE,iCAAiC;IACrC,IAAI,EAAE,gCAAgC;IACtC,YAAY,EAAE,CAAC,SAAS,EAAE,2BAA2B,CAAC;IACtD,KAAK,EAAE,CAAC,iBAAiB,CAAC;YACzB,EAAE,EAAE,2BAA2B,EAAE,gBAAgB,EAAE,gCAAgC;SACnF,CAAC,CAAC;IACH,KAAK,CAAC,UAAU,CAAC,OAAO;QACvB,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC;YACrD,CAAC,CAAC,MAAM,OAAO,CAAC,OAAO,CAAoB,oBAAoB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACvE,MAAM,MAAM,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;QACjD,OAAO,CAAC,kBAAkB,CAAC,2BAA2B,EAAE;YACvD,IAAI,EAAE,2BAA2B,EAAE,EAAE,EAAE,oBAAoB,EAAE,MAAM;SACnE,CAAC,CAAC;IACJ,CAAC;CACD,CAAC,CAAC;AACH,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './plugin.ts';
2
+ export { allPlugins as default } from './plugin.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAG5B,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,aAAa,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ export * from "./plugin.js";
2
+ // Universal array form; full consumer hosts use ./consumer.
3
+ export { allPlugins as default } from "./plugin.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAE5B,4DAA4D;AAC5D,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,7 @@
1
+ export { corePluginsPlugin as core } from './core/plugin.ts';
2
+ /** Universal foundation. Full nine-family consumer composition is ./consumer. */
3
+ export declare const allPlugins: readonly [() => Promise<typeof import("./core/plugin.ts")>];
4
+ /** Selectable form of the same universal array. */
5
+ export declare const vibesPluginsPlugin: import("@vibesdotdev/kernel").RuntimePlugin;
6
+ export default vibesPluginsPlugin;
7
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,IAAI,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7D,iFAAiF;AACjF,eAAO,MAAM,UAAU,6DAA8C,CAAC;AAEtE,mDAAmD;AACnD,eAAO,MAAM,kBAAkB,6CAO7B,CAAC;AACH,eAAe,kBAAkB,CAAC"}
package/dist/plugin.js ADDED
@@ -0,0 +1,16 @@
1
+ import { createRuntimePlugin } from '@vibesdotdev/kernel';
2
+ export { corePluginsPlugin as core } from "./core/plugin.js";
3
+ /** Universal foundation. Full nine-family consumer composition is ./consumer. */
4
+ export const allPlugins = [() => import("./core/plugin.js")];
5
+ /** Selectable form of the same universal array. */
6
+ export const vibesPluginsPlugin = createRuntimePlugin({
7
+ id: '@vibesdotdev/plugins',
8
+ name: 'Vibes Universal Foundation',
9
+ dependencies: ['context'],
10
+ async onRegister(runtime) {
11
+ for (const load of allPlugins)
12
+ await runtime.registerPlugin((await load()).default);
13
+ }
14
+ });
15
+ export default vibesPluginsPlugin;
16
+ //# sourceMappingURL=plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAE,iBAAiB,IAAI,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7D,iFAAiF;AACjF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAU,CAAC;AAEtE,mDAAmD;AACnD,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;IACrD,EAAE,EAAE,sBAAsB;IAC1B,IAAI,EAAE,4BAA4B;IAClC,YAAY,EAAE,CAAC,SAAS,CAAC;IACzB,KAAK,CAAC,UAAU,CAAC,OAAO;QACvB,KAAK,MAAM,IAAI,IAAI,UAAU;YAAE,MAAM,OAAO,CAAC,cAAc,CAAC,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC;IACrF,CAAC;CACD,CAAC,CAAC;AACH,eAAe,kBAAkB,CAAC"}