opencastle 1.1.0 → 1.2.0

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 (276) hide show
  1. package/README.md +23 -6
  2. package/bin/cli.mjs +6 -0
  3. package/dist/cli/adapters/codex.d.ts +19 -6
  4. package/dist/cli/adapters/codex.d.ts.map +1 -1
  5. package/dist/cli/adapters/codex.js +24 -7
  6. package/dist/cli/adapters/codex.js.map +1 -1
  7. package/dist/cli/adapters/single-file-base.d.ts +7 -0
  8. package/dist/cli/adapters/single-file-base.d.ts.map +1 -1
  9. package/dist/cli/adapters/single-file-base.js +59 -22
  10. package/dist/cli/adapters/single-file-base.js.map +1 -1
  11. package/dist/cli/agent-plugin.d.ts +119 -0
  12. package/dist/cli/agent-plugin.d.ts.map +1 -0
  13. package/dist/cli/agent-plugin.js +449 -0
  14. package/dist/cli/agent-plugin.js.map +1 -0
  15. package/dist/cli/agent-plugin.test.d.ts +2 -0
  16. package/dist/cli/agent-plugin.test.d.ts.map +1 -0
  17. package/dist/cli/agent-plugin.test.js +227 -0
  18. package/dist/cli/agent-plugin.test.js.map +1 -0
  19. package/dist/cli/baseline.d.ts.map +1 -1
  20. package/dist/cli/baseline.js +99 -26
  21. package/dist/cli/baseline.js.map +1 -1
  22. package/dist/cli/codex-target.test.d.ts +2 -0
  23. package/dist/cli/codex-target.test.d.ts.map +1 -0
  24. package/dist/cli/codex-target.test.js +154 -0
  25. package/dist/cli/codex-target.test.js.map +1 -0
  26. package/dist/cli/convoy/gates.d.ts +2 -20
  27. package/dist/cli/convoy/gates.d.ts.map +1 -1
  28. package/dist/cli/convoy/gates.js +3 -111
  29. package/dist/cli/convoy/gates.js.map +1 -1
  30. package/dist/cli/copy.d.ts +0 -8
  31. package/dist/cli/copy.d.ts.map +1 -1
  32. package/dist/cli/copy.js +0 -21
  33. package/dist/cli/copy.js.map +1 -1
  34. package/dist/cli/dispatcher.test.js +2 -2
  35. package/dist/cli/dispatcher.test.js.map +1 -1
  36. package/dist/cli/docs-accuracy.test.js +2 -0
  37. package/dist/cli/docs-accuracy.test.js.map +1 -1
  38. package/dist/cli/doctor.d.ts.map +1 -1
  39. package/dist/cli/doctor.js +4 -1
  40. package/dist/cli/doctor.js.map +1 -1
  41. package/dist/cli/init.d.ts.map +1 -1
  42. package/dist/cli/init.js +5 -4
  43. package/dist/cli/init.js.map +1 -1
  44. package/dist/cli/init.test.js +58 -34
  45. package/dist/cli/init.test.js.map +1 -1
  46. package/dist/cli/layers.d.ts +8 -0
  47. package/dist/cli/layers.d.ts.map +1 -1
  48. package/dist/cli/layers.js +130 -13
  49. package/dist/cli/layers.js.map +1 -1
  50. package/dist/cli/layers.test.js +2 -2
  51. package/dist/cli/layers.test.js.map +1 -1
  52. package/dist/cli/legacy-install.test.js +8 -1
  53. package/dist/cli/legacy-install.test.js.map +1 -1
  54. package/dist/cli/lesson-command.test.d.ts +2 -0
  55. package/dist/cli/lesson-command.test.d.ts.map +1 -0
  56. package/dist/cli/lesson-command.test.js +100 -0
  57. package/dist/cli/lesson-command.test.js.map +1 -0
  58. package/dist/cli/lesson.d.ts +0 -9
  59. package/dist/cli/lesson.d.ts.map +1 -1
  60. package/dist/cli/lesson.js +212 -276
  61. package/dist/cli/lesson.js.map +1 -1
  62. package/dist/cli/lessons.d.ts +134 -0
  63. package/dist/cli/lessons.d.ts.map +1 -0
  64. package/dist/cli/lessons.js +493 -0
  65. package/dist/cli/lessons.js.map +1 -0
  66. package/dist/cli/lessons.test.d.ts +2 -0
  67. package/dist/cli/lessons.test.d.ts.map +1 -0
  68. package/dist/cli/lessons.test.js +214 -0
  69. package/dist/cli/lessons.test.js.map +1 -0
  70. package/dist/cli/managed-paths.d.ts.map +1 -1
  71. package/dist/cli/managed-paths.js +2 -0
  72. package/dist/cli/managed-paths.js.map +1 -1
  73. package/dist/cli/mcp-audit.d.ts.map +1 -1
  74. package/dist/cli/mcp-audit.js +7 -3
  75. package/dist/cli/mcp-audit.js.map +1 -1
  76. package/dist/cli/mcp-file.d.ts +37 -0
  77. package/dist/cli/mcp-file.d.ts.map +1 -0
  78. package/dist/cli/mcp-file.js +291 -0
  79. package/dist/cli/mcp-file.js.map +1 -0
  80. package/dist/cli/mcp-file.test.d.ts +2 -0
  81. package/dist/cli/mcp-file.test.d.ts.map +1 -0
  82. package/dist/cli/mcp-file.test.js +121 -0
  83. package/dist/cli/mcp-file.test.js.map +1 -0
  84. package/dist/cli/mcp.d.ts +15 -0
  85. package/dist/cli/mcp.d.ts.map +1 -1
  86. package/dist/cli/mcp.js +123 -56
  87. package/dist/cli/mcp.js.map +1 -1
  88. package/dist/cli/pack-plugins.d.ts +8 -0
  89. package/dist/cli/pack-plugins.d.ts.map +1 -0
  90. package/dist/cli/pack-plugins.js +70 -0
  91. package/dist/cli/pack-plugins.js.map +1 -0
  92. package/dist/cli/plugin-command.test.d.ts +2 -0
  93. package/dist/cli/plugin-command.test.d.ts.map +1 -0
  94. package/dist/cli/plugin-command.test.js +114 -0
  95. package/dist/cli/plugin-command.test.js.map +1 -0
  96. package/dist/cli/plugin.d.ts +30 -0
  97. package/dist/cli/plugin.d.ts.map +1 -0
  98. package/dist/cli/plugin.js +291 -0
  99. package/dist/cli/plugin.js.map +1 -0
  100. package/dist/cli/promote-command.test.d.ts +2 -0
  101. package/dist/cli/promote-command.test.d.ts.map +1 -0
  102. package/dist/cli/promote-command.test.js +151 -0
  103. package/dist/cli/promote-command.test.js.map +1 -0
  104. package/dist/cli/promote.d.ts +12 -0
  105. package/dist/cli/promote.d.ts.map +1 -0
  106. package/dist/cli/promote.js +364 -0
  107. package/dist/cli/promote.js.map +1 -0
  108. package/dist/cli/remove.d.ts.map +1 -1
  109. package/dist/cli/remove.js +23 -4
  110. package/dist/cli/remove.js.map +1 -1
  111. package/dist/cli/secret-scan.d.ts +21 -0
  112. package/dist/cli/secret-scan.d.ts.map +1 -0
  113. package/dist/cli/secret-scan.js +114 -0
  114. package/dist/cli/secret-scan.js.map +1 -0
  115. package/dist/cli/sync-check.d.ts.map +1 -1
  116. package/dist/cli/sync-check.js +13 -3
  117. package/dist/cli/sync-check.js.map +1 -1
  118. package/dist/cli/sync-check.test.js +2 -2
  119. package/dist/cli/sync-check.test.js.map +1 -1
  120. package/dist/cli/team-commands.test.js +2 -2
  121. package/dist/cli/team-commands.test.js.map +1 -1
  122. package/dist/cli/types.d.ts +5 -2
  123. package/dist/cli/types.d.ts.map +1 -1
  124. package/dist/cli/types.js +3 -0
  125. package/dist/cli/types.js.map +1 -1
  126. package/dist/cli/unreadable-report.d.ts +7 -0
  127. package/dist/cli/unreadable-report.d.ts.map +1 -1
  128. package/dist/cli/unreadable-report.js +14 -0
  129. package/dist/cli/unreadable-report.js.map +1 -1
  130. package/dist/cli/update.d.ts.map +1 -1
  131. package/dist/cli/update.js +73 -5
  132. package/dist/cli/update.js.map +1 -1
  133. package/dist/orchestrator/plugins/agent-plugins.test.d.ts +2 -0
  134. package/dist/orchestrator/plugins/agent-plugins.test.d.ts.map +1 -0
  135. package/dist/orchestrator/plugins/agent-plugins.test.js +32 -0
  136. package/dist/orchestrator/plugins/agent-plugins.test.js.map +1 -0
  137. package/package.json +3 -1
  138. package/src/cli/adapters/codex.ts +25 -7
  139. package/src/cli/adapters/single-file-base.ts +69 -26
  140. package/src/cli/agent-plugin.test.ts +267 -0
  141. package/src/cli/agent-plugin.ts +469 -0
  142. package/src/cli/baseline.ts +99 -26
  143. package/src/cli/codex-target.test.ts +178 -0
  144. package/src/cli/convoy/gates.ts +9 -142
  145. package/src/cli/copy.ts +0 -25
  146. package/src/cli/dispatcher.test.ts +2 -2
  147. package/src/cli/docs-accuracy.test.ts +2 -0
  148. package/src/cli/doctor.ts +5 -2
  149. package/src/cli/fixtures/lessons-template-1.0.md +70 -0
  150. package/src/cli/init.test.ts +59 -34
  151. package/src/cli/init.ts +5 -4
  152. package/src/cli/layers.test.ts +2 -2
  153. package/src/cli/layers.ts +144 -14
  154. package/src/cli/legacy-install.test.ts +11 -1
  155. package/src/cli/lesson-command.test.ts +117 -0
  156. package/src/cli/lesson.ts +215 -266
  157. package/src/cli/lessons.test.ts +254 -0
  158. package/src/cli/lessons.ts +540 -0
  159. package/src/cli/managed-paths.ts +2 -0
  160. package/src/cli/mcp-audit.ts +7 -3
  161. package/src/cli/mcp-file.test.ts +138 -0
  162. package/src/cli/mcp-file.ts +302 -0
  163. package/src/cli/mcp.ts +130 -60
  164. package/src/cli/pack-plugins.ts +70 -0
  165. package/src/cli/plugin-command.test.ts +125 -0
  166. package/src/cli/plugin.ts +309 -0
  167. package/src/cli/promote-command.test.ts +170 -0
  168. package/src/cli/promote.ts +371 -0
  169. package/src/cli/remove.ts +20 -4
  170. package/src/cli/secret-scan.ts +154 -0
  171. package/src/cli/sync-check.test.ts +2 -2
  172. package/src/cli/sync-check.ts +13 -3
  173. package/src/cli/team-commands.test.ts +2 -2
  174. package/src/cli/types.ts +5 -2
  175. package/src/cli/unreadable-report.ts +14 -0
  176. package/src/cli/update.ts +81 -5
  177. package/src/dashboard/node_modules/.vite/deps/_metadata.json +6 -6
  178. package/src/orchestrator/agents/researcher.agent.md +1 -1
  179. package/src/orchestrator/customizations/LESSONS-LEARNED.md +10 -66
  180. package/src/orchestrator/customizations/README.md +2 -1
  181. package/src/orchestrator/customizations/logs/README.md +1 -1
  182. package/src/orchestrator/plugins/agent-plugins.test.ts +34 -0
  183. package/src/orchestrator/plugins/astro/mcp.json +9 -0
  184. package/src/orchestrator/plugins/astro/plugin.json +21 -0
  185. package/src/orchestrator/plugins/chrome-devtools/mcp.json +13 -0
  186. package/src/orchestrator/plugins/chrome-devtools/plugin.json +21 -0
  187. package/src/orchestrator/plugins/cloudflare/mcp.json +9 -0
  188. package/src/orchestrator/plugins/cloudflare/plugin.json +21 -0
  189. package/src/orchestrator/plugins/contentful/mcp.json +13 -0
  190. package/src/orchestrator/plugins/contentful/plugin.json +21 -0
  191. package/src/orchestrator/plugins/convex/mcp.json +15 -0
  192. package/src/orchestrator/plugins/convex/plugin.json +21 -0
  193. package/src/orchestrator/plugins/coolify/mcp.json +13 -0
  194. package/src/orchestrator/plugins/coolify/plugin.json +25 -0
  195. package/src/orchestrator/plugins/cypress/plugin.json +21 -0
  196. package/src/orchestrator/plugins/drizzle/plugin.json +21 -0
  197. package/src/orchestrator/plugins/expo/mcp.json +9 -0
  198. package/src/orchestrator/plugins/expo/plugin.json +21 -0
  199. package/src/orchestrator/plugins/figma/mcp.json +9 -0
  200. package/src/orchestrator/plugins/figma/plugin.json +21 -0
  201. package/src/orchestrator/plugins/hetzner/plugin.json +24 -0
  202. package/src/orchestrator/plugins/jira/mcp.json +9 -0
  203. package/src/orchestrator/plugins/jira/plugin.json +21 -0
  204. package/src/orchestrator/plugins/linear/mcp.json +9 -0
  205. package/src/orchestrator/plugins/linear/plugin.json +21 -0
  206. package/src/orchestrator/plugins/netlify/mcp.json +13 -0
  207. package/src/orchestrator/plugins/netlify/plugin.json +21 -0
  208. package/src/orchestrator/plugins/nextjs/mcp.json +13 -0
  209. package/src/orchestrator/plugins/nextjs/plugin.json +21 -0
  210. package/src/orchestrator/plugins/notion/mcp.json +9 -0
  211. package/src/orchestrator/plugins/notion/plugin.json +21 -0
  212. package/src/orchestrator/plugins/nx/mcp.json +14 -0
  213. package/src/orchestrator/plugins/nx/plugin.json +21 -0
  214. package/src/orchestrator/plugins/playwright/mcp.json +13 -0
  215. package/src/orchestrator/plugins/playwright/plugin.json +21 -0
  216. package/src/orchestrator/plugins/prisma/mcp.json +14 -0
  217. package/src/orchestrator/plugins/prisma/plugin.json +21 -0
  218. package/src/orchestrator/plugins/resend/mcp.json +13 -0
  219. package/src/orchestrator/plugins/resend/plugin.json +24 -0
  220. package/src/orchestrator/plugins/sanity/mcp.json +9 -0
  221. package/src/orchestrator/plugins/sanity/plugin.json +21 -0
  222. package/src/orchestrator/plugins/sentry/mcp.json +12 -0
  223. package/src/orchestrator/plugins/sentry/plugin.json +24 -0
  224. package/src/orchestrator/plugins/slack/mcp.json +13 -0
  225. package/src/orchestrator/plugins/slack/plugin.json +24 -0
  226. package/src/orchestrator/plugins/strapi/mcp.json +13 -0
  227. package/src/orchestrator/plugins/strapi/plugin.json +21 -0
  228. package/src/orchestrator/plugins/stripe/mcp.json +9 -0
  229. package/src/orchestrator/plugins/stripe/plugin.json +21 -0
  230. package/src/orchestrator/plugins/supabase/mcp.json +9 -0
  231. package/src/orchestrator/plugins/supabase/plugin.json +21 -0
  232. package/src/orchestrator/plugins/teams/plugin.json +24 -0
  233. package/src/orchestrator/plugins/trello/mcp.json +13 -0
  234. package/src/orchestrator/plugins/trello/plugin.json +25 -0
  235. package/src/orchestrator/plugins/turborepo/plugin.json +21 -0
  236. package/src/orchestrator/plugins/vercel/mcp.json +9 -0
  237. package/src/orchestrator/plugins/vercel/plugin.json +21 -0
  238. package/src/orchestrator/plugins/vitest/plugin.json +21 -0
  239. package/src/orchestrator/skill-config-links.test.ts +2 -1
  240. package/src/orchestrator/skills/agent-hooks/HOOKS-REFERENCE.md +1 -1
  241. package/src/orchestrator/skills/agent-hooks/SKILL.md +1 -1
  242. package/src/orchestrator/skills/decomposition/SKILL.md +1 -1
  243. package/src/orchestrator/skills/memory-merger/SKILL.md +17 -21
  244. package/src/orchestrator/skills/self-improvement/LESSON-CATEGORIES.md +44 -23
  245. package/src/orchestrator/skills/self-improvement/SKILL.md +30 -15
  246. /package/src/orchestrator/plugins/astro/{SKILL.md → skills/astro-framework/SKILL.md} +0 -0
  247. /package/src/orchestrator/plugins/chrome-devtools/{SKILL.md → skills/browser-testing/SKILL.md} +0 -0
  248. /package/src/orchestrator/plugins/cloudflare/{SKILL.md → skills/cloudflare-platform/SKILL.md} +0 -0
  249. /package/src/orchestrator/plugins/contentful/{SKILL.md → skills/contentful-cms/SKILL.md} +0 -0
  250. /package/src/orchestrator/plugins/convex/{SKILL.md → skills/convex-database/SKILL.md} +0 -0
  251. /package/src/orchestrator/plugins/coolify/{SKILL.md → skills/coolify-deployment/SKILL.md} +0 -0
  252. /package/src/orchestrator/plugins/cypress/{SKILL.md → skills/cypress-testing/SKILL.md} +0 -0
  253. /package/src/orchestrator/plugins/drizzle/{SKILL.md → skills/drizzle-orm/SKILL.md} +0 -0
  254. /package/src/orchestrator/plugins/expo/{SKILL.md → skills/expo-development/SKILL.md} +0 -0
  255. /package/src/orchestrator/plugins/figma/{SKILL.md → skills/figma-design/SKILL.md} +0 -0
  256. /package/src/orchestrator/plugins/hetzner/{SKILL.md → skills/hetzner-cloud/SKILL.md} +0 -0
  257. /package/src/orchestrator/plugins/jira/{SKILL.md → skills/jira-management/SKILL.md} +0 -0
  258. /package/src/orchestrator/plugins/linear/{SKILL.md → skills/linear-task-management/SKILL.md} +0 -0
  259. /package/src/orchestrator/plugins/netlify/{SKILL.md → skills/netlify-deployment/SKILL.md} +0 -0
  260. /package/src/orchestrator/plugins/nextjs/{SKILL.md → skills/nextjs-framework/SKILL.md} +0 -0
  261. /package/src/orchestrator/plugins/notion/{SKILL.md → skills/notion-knowledge-management/SKILL.md} +0 -0
  262. /package/src/orchestrator/plugins/nx/{SKILL.md → skills/nx-workspace/SKILL.md} +0 -0
  263. /package/src/orchestrator/plugins/playwright/{SKILL.md → skills/playwright-testing/SKILL.md} +0 -0
  264. /package/src/orchestrator/plugins/prisma/{SKILL.md → skills/prisma-database/SKILL.md} +0 -0
  265. /package/src/orchestrator/plugins/resend/{SKILL.md → skills/resend-email/SKILL.md} +0 -0
  266. /package/src/orchestrator/plugins/sanity/{SKILL.md → skills/sanity-cms/SKILL.md} +0 -0
  267. /package/src/orchestrator/plugins/sentry/{SKILL.md → skills/sentry-monitoring/SKILL.md} +0 -0
  268. /package/src/orchestrator/plugins/slack/{SKILL.md → skills/slack-notifications/SKILL.md} +0 -0
  269. /package/src/orchestrator/plugins/strapi/{SKILL.md → skills/strapi-cms/SKILL.md} +0 -0
  270. /package/src/orchestrator/plugins/stripe/{SKILL.md → skills/stripe-payments/SKILL.md} +0 -0
  271. /package/src/orchestrator/plugins/supabase/{SKILL.md → skills/supabase-database/SKILL.md} +0 -0
  272. /package/src/orchestrator/plugins/teams/{SKILL.md → skills/teams-notifications/SKILL.md} +0 -0
  273. /package/src/orchestrator/plugins/trello/{SKILL.md → skills/trello-task-management/SKILL.md} +0 -0
  274. /package/src/orchestrator/plugins/turborepo/{SKILL.md → skills/turborepo-monorepo/SKILL.md} +0 -0
  275. /package/src/orchestrator/plugins/vercel/{SKILL.md → skills/vercel-deployment/SKILL.md} +0 -0
  276. /package/src/orchestrator/plugins/vitest/{SKILL.md → skills/vitest-testing/SKILL.md} +0 -0
package/src/cli/types.ts CHANGED
@@ -291,12 +291,15 @@ export class UnreadableConfigError extends Error {
291
291
  * "It is not valid JSON" was printed for a path that was a *directory* — the
292
292
  * remedy offered ("fix the file") did not match the fault, and the user had
293
293
  * nothing to act on.
294
+ *
295
+ * `uneditable` is a TOML config that parses but holds its MCP servers in a
296
+ * form that cannot be changed without rewriting the user's text.
294
297
  */
295
- readonly reason: 'unparseable' | 'unreadable';
298
+ readonly reason: 'unparseable' | 'unreadable' | 'uneditable';
296
299
 
297
300
  constructor(
298
301
  public readonly file: string,
299
- reason: 'unparseable' | 'unreadable' = 'unparseable',
302
+ reason: 'unparseable' | 'unreadable' | 'uneditable' = 'unparseable',
300
303
  ) {
301
304
  super(`Cannot read ${file}`);
302
305
  this.name = 'UnreadableConfigError';
@@ -14,6 +14,20 @@
14
14
  * printing the same report from separately maintained copies of the same logic is
15
15
  * the shape that produced the disagreement in the first place.
16
16
  */
17
+ /**
18
+ * Why a file was left alone, as the end of "Left <file> alone — …".
19
+ *
20
+ * Each caller used to spell this itself, as "it is not valid JSON" — true of
21
+ * every config until Codex's, which is TOML.
22
+ */
23
+ export function whyLeftAlone(name: string, why: string | undefined): string {
24
+ if (why === 'unreadable') return 'it could not be read.'
25
+ if (why === 'uneditable') {
26
+ return 'its MCP servers are written in a form this cannot change without rewriting yours — give each one its own [mcp_servers.<name>] table.'
27
+ }
28
+ return `it is not valid ${name.endsWith('.toml') ? 'TOML' : 'JSON'}.`
29
+ }
30
+
17
31
  export function noteUnreadable(into: string[], entry: string): void {
18
32
  const SEP = '\u0000'
19
33
  const [name, why] = entry.split(SEP)
package/src/cli/update.ts CHANGED
@@ -13,13 +13,13 @@ import {
13
13
  getCustomizationsTransform,
14
14
  isEnvVarSatisfied,
15
15
  } from './stack-config.js'
16
- import { rebuildMcpConfig, getMcpConfigRelPath } from './mcp.js'
16
+ import { rebuildMcpConfig, getMcpConfigRelPath, retireLegacyMcpConfig, LEGACY_MCP_CONFIGS } from './mcp.js'
17
17
  import { updateGitignore, LOCAL_DIRS } from './gitignore.js'
18
18
  import { resolveManagedPaths, REQUIRED_CUSTOMIZATIONS } from './managed-paths.js'
19
19
  import { detectRepoInfo, mergeStackIntoRepoInfo, buildDetectedToolsSet } from './detect.js'
20
20
  import type { CliContext, IdeChoice, TechTool, TeamTool, StackConfig } from './types.js'
21
21
  import { UnreadableConfigError } from './types.js'
22
- import { noteUnreadable } from './unreadable-report.js'
22
+ import { noteUnreadable, whyLeftAlone } from './unreadable-report.js'
23
23
  import {
24
24
  resolveSources,
25
25
  materialize,
@@ -32,6 +32,14 @@ import {
32
32
  import { buildLock, writeLock, LOCK_REL, priorTeam } from './lock.js'
33
33
  import { parseVersion, compareVersions } from './version-range.js'
34
34
  import { COMMAND_NAMESPACE } from './command-namespace.js'
35
+ import { parseMcpConfigText } from './mcp-file.js'
36
+ import { syncLessons, LESSONS_DIR, LESSONS_INDEX } from './lessons.js'
37
+
38
+ /** The config that replaced a legacy one, for the sentence that reports it. */
39
+ function configBesideLegacy(rel: string, ides: string[]): string {
40
+ const ide = ides.find((i) => LEGACY_MCP_CONFIGS[i as IdeChoice] === rel)
41
+ return ide ? getMcpConfigRelPath(ide as IdeChoice) : 'the assistant\'s own config'
42
+ }
35
43
 
36
44
  /** Print what is wrong with the team's sources, and that nothing was written. */
37
45
  function reportTeamIssues(resolved: ResolvedSources): void {
@@ -247,7 +255,7 @@ export default async function update({
247
255
  const abs = resolve(projectRoot, rel)
248
256
  if (!existsSync(abs)) continue
249
257
  try {
250
- JSON.parse(await readFile(abs, 'utf8'))
258
+ parseMcpConfigText(await readFile(abs, 'utf8'), rel)
251
259
  } catch {
252
260
  return true
253
261
  }
@@ -557,6 +565,21 @@ export default async function update({
557
565
  const teamWritten = new Set<string>()
558
566
  const teamRemoved = new Set<string>()
559
567
  const upgradedServers = new Set<string>()
568
+ // Which MCP configs exist before this sync writes any, so one it creates is
569
+ // recorded as ours — as `init` records the ones it creates. A target whose
570
+ // config moved (Codex, to `.codex/config.toml`) gets its new file here, and
571
+ // without the record `remove` would strip it and leave an empty file behind.
572
+ const mcpConfigsBefore = new Map(
573
+ ides.map((ide) => {
574
+ const rel = getMcpConfigRelPath(ide as IdeChoice)
575
+ return [rel, existsSync(resolve(projectRoot, rel))] as const
576
+ }),
577
+ )
578
+ const createdConfigs = new Set(manifest.createdConfigs ?? [])
579
+ // Legacy MCP configs this sync took our servers out of: deleted, or kept for
580
+ // what the user added to them.
581
+ const legacyDeleted: string[] = []
582
+ const legacyKept: string[] = []
560
583
  const removedServers = new Set<string>()
561
584
  let lockWritten = false
562
585
  let lockHeld = false
@@ -609,12 +632,33 @@ export default async function update({
609
632
  await step()
610
633
  } catch (err) {
611
634
  if (!(err instanceof UnreadableConfigError)) throw err
612
- noteUnreadable(unreadable, err.file)
635
+ noteUnreadable(unreadable, err.reason === 'unparseable' ? err.file : `${err.file}\u0000${err.reason}`)
613
636
  }
614
637
  }
615
638
  }
616
639
  }
617
640
 
641
+ // Configs an earlier release wrote where the assistant never reads them.
642
+ // Taken back after the new config is written, so a failure there leaves
643
+ // the servers in at least one place.
644
+ const [priorKeys, priorInputs] = priorTeam(projectRoot)
645
+ for (const ide of ides) {
646
+ const rel = LEGACY_MCP_CONFIGS[ide as IdeChoice]
647
+ if (!rel) continue
648
+ const outcome = await retireLegacyMcpConfig(
649
+ projectRoot,
650
+ ide as IdeChoice,
651
+ createdConfigs.has(rel),
652
+ [...new Set([...Object.keys(source.mcp.servers), ...priorKeys])],
653
+ priorInputs,
654
+ )
655
+ if (outcome === 'deleted') {
656
+ legacyDeleted.push(rel)
657
+ createdConfigs.delete(rel)
658
+ } else if (outcome === 'stripped') legacyKept.push(rel)
659
+ else if (outcome === 'unreadable') noteUnreadable(unreadable, rel)
660
+ }
661
+
618
662
  // What every assistant is now given, for review. Written last, from the
619
663
  // same source the targets were compiled from — and not at all while an MCP
620
664
  // config could not be read. The lock is how the next sync knows which team
@@ -655,6 +699,11 @@ export default async function update({
655
699
  // ── Migrate legacy log files ────────────────────────────────────
656
700
  await migrateLegacyLogs(projectRoot)
657
701
 
702
+ // ── Lessons: one file each, and the index agents read compiled from them ──
703
+ // Not compiled output of any target — agents read `.opencastle/` directly —
704
+ // but compiled all the same, and `sync --check` holds it to its sources.
705
+ const lessons = syncLessons(resolve(projectRoot, '.opencastle'))
706
+
658
707
  // ── Update manifest ─────────────────────────────────────────────
659
708
  const before = manifestMeaning(manifest as unknown as Record<string, unknown>)
660
709
  manifest.version = pkg.version
@@ -665,6 +714,10 @@ export default async function update({
665
714
  manifest.commandNamespace = COMMAND_NAMESPACE
666
715
  manifest.stack = newStack
667
716
  manifest.repoInfo = mergeStackIntoRepoInfo(repoInfo, newStack)
717
+ for (const [rel, existed] of mcpConfigsBefore) {
718
+ if (!existed && existsSync(resolve(projectRoot, rel))) createdConfigs.add(rel)
719
+ }
720
+ if (createdConfigs.size > 0 || manifest.createdConfigs) manifest.createdConfigs = [...createdConfigs]
668
721
  if (manifestMeaning(manifest as unknown as Record<string, unknown>) !== before) {
669
722
  manifest.updatedAt = new Date().toISOString()
670
723
  await writeManifest(projectRoot, manifest)
@@ -702,6 +755,29 @@ export default async function update({
702
755
  if (teamWritten.size > 0) {
703
756
  console.log(` ${c.green('✓')} Wrote the team's MCP server(s) as defined: ${[...teamWritten].sort().join(', ')}`)
704
757
  }
758
+ if (lessons.migrated > 0) {
759
+ console.log(
760
+ ` ${c.green('✓')} Moved ${lessons.migrated} lesson(s) from .opencastle/${LESSONS_INDEX} into .opencastle/${LESSONS_DIR}/, one file each` +
761
+ (lessons.backup ? c.dim(` (the old file is kept as ${lessons.backup})`) : ''),
762
+ )
763
+ } else if (lessons.backup) {
764
+ console.log(` ${c.green('✓')} Replaced .opencastle/${LESSONS_INDEX} with an index of .opencastle/${LESSONS_DIR}/ ${c.dim(`(the old file is kept as ${lessons.backup})`)}`)
765
+ }
766
+ if (lessons.index === 'updated' && lessons.migrated === 0 && !lessons.backup) {
767
+ console.log(` ${c.green('✓')} Updated .opencastle/${LESSONS_INDEX} from .opencastle/${LESSONS_DIR}/`)
768
+ }
769
+ for (const problem of lessons.problems) {
770
+ console.log(` ${c.yellow('!')} Left .opencastle/${problem.split(' ')[0]} out of the lessons index — ${problem.slice(problem.indexOf(' ') + 1)}`)
771
+ }
772
+ for (const rel of legacyDeleted) {
773
+ console.log(` ${c.yellow('-')} Removed ${rel}, which its assistant never read ${c.dim(`(its servers are now in ${configBesideLegacy(rel, ides)})`)}`)
774
+ }
775
+ for (const rel of legacyKept) {
776
+ console.log(
777
+ ` ${c.yellow('!')} Took OpenCastle's servers out of ${rel}, which its assistant never read. ` +
778
+ `What is left there is yours — move it to ${configBesideLegacy(rel, ides)}.`,
779
+ )
780
+ }
705
781
  if (teamRemoved.size > 0) {
706
782
  console.log(
707
783
  ` ${c.yellow('-')} Removed ${teamRemoved.size} MCP server(s) the team's layers retired or its policy does not allow: ` +
@@ -743,7 +819,7 @@ export default async function update({
743
819
  const name = isAbsolute(abs) ? relative(projectRoot, abs) : abs
744
820
  console.log(
745
821
  ` ${c.yellow('!')} Left ${name} alone — ` +
746
- (why === 'unreadable' ? 'it could not be read.' : 'it is not valid JSON.'),
822
+ whyLeftAlone(name, why),
747
823
  )
748
824
  console.log(` ${c.dim('Merge conflict? Fix the file and run sync again.')}`)
749
825
  }
@@ -1,25 +1,25 @@
1
1
  {
2
- "hash": "e0fa8b55",
2
+ "hash": "dcab8e95",
3
3
  "configHash": "30f8ea04",
4
- "lockfileHash": "fef2b8d5",
5
- "browserHash": "5d80b0d7",
4
+ "lockfileHash": "8759a89c",
5
+ "browserHash": "54e2a2ba",
6
6
  "optimized": {
7
7
  "astro > cssesc": {
8
8
  "src": "../../../../../node_modules/cssesc/cssesc.js",
9
9
  "file": "astro___cssesc.js",
10
- "fileHash": "03500902",
10
+ "fileHash": "3f540abc",
11
11
  "needsInterop": true
12
12
  },
13
13
  "astro > aria-query": {
14
14
  "src": "../../../../../node_modules/aria-query/lib/index.js",
15
15
  "file": "astro___aria-query.js",
16
- "fileHash": "06610c08",
16
+ "fileHash": "4ca37322",
17
17
  "needsInterop": true
18
18
  },
19
19
  "astro > axobject-query": {
20
20
  "src": "../../../../../node_modules/axobject-query/lib/index.js",
21
21
  "file": "astro___axobject-query.js",
22
- "fileHash": "58969224",
22
+ "fileHash": "592dc429",
23
23
  "needsInterop": true
24
24
  }
25
25
  },
@@ -64,7 +64,7 @@ Writing or editing code · running tests and builds · creating tracker issues
64
64
  - [Question]: Searched [X, Y, Z] — could not determine
65
65
 
66
66
  ### Relevant Lessons
67
- - [LES-XXX]: [summary]
67
+ - [lesson id]: [summary]
68
68
 
69
69
  ### Recommendations
70
70
  - [Recommendation with rationale]
@@ -1,70 +1,14 @@
1
- ````markdown
2
- # Lessons Learned
3
-
4
- Structured log of tool/command pitfalls, workarounds, and correct approaches discovered through agent execution. **Every agent** must read this file before starting work and must add entries when they discover a new pitfall through trial-and-error.
5
-
6
- > **This file is the collective memory of the agent team.** It prevents repeating the same mistakes across sessions.
7
-
8
- ---
9
-
10
- ## How to Use This File
11
-
12
- ### Before starting work
13
-
14
- 1. Read the **entire file** (or at minimum, the sections relevant to your task)
15
- 2. Apply any relevant lessons to your approach **before** attempting commands or tool calls
16
-
17
- ### When to add a new entry
18
-
19
- Add a lesson when **any** of these occur:
20
- - A command, tool call, or API call fails and you had to retry with a different approach
21
- - You discover a parameter, syntax, or configuration quirk not documented elsewhere
22
- - A workaround is needed for a third-party tool, MCP server, or platform limitation
23
- - An approach that seems obvious turns out to be wrong
24
-
25
- ### Entry format
1
+ <!-- Generated by OpenCastle from the files in lessons/. Add a lesson with "opencastle lesson"; this index is rewritten by every sync. -->
26
2
 
27
- ```markdown
28
- ### LES-XXX: Short descriptive title
29
-
30
- | Field | Value |
31
- |-------|-------|
32
- | **Category** | `task-management` / `mcp-tools` / `codebase-tool` / `terminal` / `framework` / `cms` / `database` / `git` / `deployment` / `browser-testing` / `general` |
33
- | **Added** | YYYY-MM-DD |
34
- | **Severity** | `high` (blocks work) / `medium` (wastes 5+ min) / `low` (minor annoyance) |
35
-
36
- **Problem:** What went wrong and what error or unexpected behavior was observed.
37
-
38
- **Wrong approach:** The obvious/intuitive approach that fails.
39
-
40
- **Correct approach:** The working solution.
41
-
42
- **Why:** Root cause explanation (if known).
43
- ```
44
-
45
- ---
46
-
47
- ## Lessons
48
-
49
- <!-- Lessons are appended here by agents during sessions.
50
- Start numbering from LES-001. -->
51
-
52
- ---
3
+ # Lessons Learned
53
4
 
54
- ## Index by Category
5
+ What agents on this project learned the hard way: a command that failed, a
6
+ tool quirk, a convention written down nowhere else. **Read this before you
7
+ start work**, then open the lessons that match your task.
55
8
 
56
- | Category | Lessons |
57
- |----------|---------|
58
- | `task-management` | — |
59
- | `mcp-tools` | — |
60
- | `codebase-tool` | — |
61
- | `terminal` | — |
62
- | `framework` | — |
63
- | `cms` | — |
64
- | `database` | — |
65
- | `git` | — |
66
- | `deployment` | — |
67
- | `browser-testing` | — |
68
- | `general` | — |
9
+ Each lesson is a file in [`lessons/`](lessons/). Add one with
10
+ `opencastle lesson --title ... --category ... --severity ... --problem ...`
11
+ (and `--cite <path>` for the code it is about). Do not edit this index:
12
+ it is rewritten from those files by every `opencastle sync`.
69
13
 
70
- ````
14
+ No lessons yet.
@@ -13,7 +13,8 @@ Skills reference these files by root-relative path, like `.opencastle/stack/api-
13
13
  | File | Purpose |
14
14
  |------|---------|
15
15
  | `project.instructions.md` | High-level project context — apps, libraries, tech stack, ports, URLs |
16
- | `LESSONS-LEARNED.md` | Knowledge base of retries, workarounds, and gotchas — read before every session |
16
+ | `LESSONS-LEARNED.md` | Index of the lessons in `lessons/` — read before every session. Rewritten by `opencastle sync`; never edited by hand |
17
+ | `lessons/` | One file per lesson: retries, workarounds and gotchas, written by `opencastle lesson` |
17
18
  | `KNOWN-ISSUES.md` | Tracked issues, limitations, and accepted risks discovered during sessions |
18
19
  | `AGENT-FAILURES.md` | Dead letter queue for failed agent delegations |
19
20
  | `AGENT-PERFORMANCE.md` | Agent success tracking, log query recipes, performance metrics |
@@ -85,7 +85,7 @@ Run `opencastle log --help` for full options.
85
85
  | `duration_min` | `number` | No | Estimated session duration in minutes |
86
86
  | `files_changed` | `number` | No | Number of files created/modified |
87
87
  | `retries` | `number` | No | Number of retried operations |
88
- | `lessons_added` | `string[]` | No | Lesson IDs added (e.g., `["LES-015"]`) |
88
+ | `lessons_added` | `string[]` | No | Lesson ids added (e.g., `["2026-10-02-quote-shell-variables"]`) |
89
89
  | `discoveries` | `string[]` | No | Issues discovered (issue IDs or KNOWN-ISSUES IDs) |
90
90
 
91
91
  ## Delegation Record (`type: "delegation"`)
@@ -0,0 +1,34 @@
1
+ import { describe, it, expect } from 'vitest'
2
+ import { existsSync, readFileSync } from 'node:fs'
3
+ import { join } from 'node:path'
4
+ import { PLUGINS } from './index.js'
5
+ import { readAgentPlugin } from '../../cli/agent-plugin.js'
6
+ import { packFiles } from '../../cli/pack-plugins.js'
7
+
8
+ /**
9
+ * Every integration is an Agent Plugin 1.0 directory: plugin.json, its skill in
10
+ * skills/<name>/SKILL.md, and mcp.json when its server can be written portably.
11
+ * Checked the way a conformant client loads one, and held to config.ts, which
12
+ * the files are compiled from.
13
+ */
14
+ const root = import.meta.dirname
15
+
16
+ describe.each(Object.values(PLUGINS).map((p) => [p.id, p] as const))('%s', (id, plugin) => {
17
+ const dir = join(root, id)
18
+
19
+ it('is a conformant Agent Plugin, with its skill and server', () => {
20
+ const report = readAgentPlugin(dir)
21
+ expect(report.errors).toEqual([])
22
+ expect(report.warnings).toEqual([])
23
+ expect(report.skills).toEqual(plugin.skillName ? [plugin.skillName] : [])
24
+ const portable = packFiles(plugin)['mcp.json'] !== undefined
25
+ expect(Object.keys(report.servers)).toEqual(portable ? [plugin.mcpServerKey] : [])
26
+ })
27
+
28
+ it('matches its config.ts — run npm run plugins:build if not', () => {
29
+ for (const [rel, text] of Object.entries(packFiles(plugin))) {
30
+ expect(readFileSync(join(dir, rel), 'utf8'), `${id}/${rel}`).toBe(text)
31
+ }
32
+ if (!packFiles(plugin)['mcp.json']) expect(existsSync(join(dir, 'mcp.json'))).toBe(false)
33
+ })
34
+ })
@@ -0,0 +1,9 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
3
+ "mcpServers": {
4
+ "Astro docs": {
5
+ "type": "streamable-http",
6
+ "url": "https://mcp.docs.astro.build/mcp"
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
+ "name": "astro",
4
+ "description": "Astro skill and MCP server for AI coding assistants: Content-driven web framework with islands architecture and Docs MCP.",
5
+ "homepage": "https://www.opencastle.dev/docs/plugins#astro",
6
+ "repository": "https://github.com/monkilabs/opencastle",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "tech",
10
+ "framework"
11
+ ],
12
+ "extensions": {
13
+ "dev.opencastle": {
14
+ "label": "Astro",
15
+ "category": "tech",
16
+ "subCategory": "framework",
17
+ "authType": "none",
18
+ "officialDocs": "https://docs.astro.build"
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
3
+ "mcpServers": {
4
+ "chrome-devtools": {
5
+ "type": "stdio",
6
+ "command": "npx",
7
+ "args": [
8
+ "-y",
9
+ "chrome-devtools-mcp@1.10.1"
10
+ ]
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
+ "name": "chrome-devtools",
4
+ "description": "Chrome DevTools skill and MCP server for AI coding assistants: Browser testing, screenshots, DOM inspection.",
5
+ "homepage": "https://www.opencastle.dev/docs/plugins#chrome-devtools",
6
+ "repository": "https://github.com/monkilabs/opencastle",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "tech",
10
+ "e2e-testing"
11
+ ],
12
+ "extensions": {
13
+ "dev.opencastle": {
14
+ "label": "Chrome DevTools",
15
+ "category": "tech",
16
+ "subCategory": "e2e-testing",
17
+ "authType": "none",
18
+ "officialDocs": "https://developer.chrome.com/docs/devtools"
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
3
+ "mcpServers": {
4
+ "Cloudflare": {
5
+ "type": "streamable-http",
6
+ "url": "https://mcp.cloudflare.com/mcp"
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
+ "name": "cloudflare",
4
+ "description": "Cloudflare skill and MCP server for AI coding assistants: Workers, Pages, KV, D1, R2, and edge computing.",
5
+ "homepage": "https://www.opencastle.dev/docs/plugins",
6
+ "repository": "https://github.com/monkilabs/opencastle",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "tech",
10
+ "deployment"
11
+ ],
12
+ "extensions": {
13
+ "dev.opencastle": {
14
+ "label": "Cloudflare",
15
+ "category": "tech",
16
+ "subCategory": "deployment",
17
+ "authType": "oauth",
18
+ "officialDocs": "https://developers.cloudflare.com/"
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
3
+ "mcpServers": {
4
+ "Contentful": {
5
+ "type": "stdio",
6
+ "command": "npx",
7
+ "args": [
8
+ "-y",
9
+ "@contentful/mcp-server@1.23.2"
10
+ ]
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
+ "name": "contentful",
4
+ "description": "Contentful skill and MCP server for AI coding assistants: GraphQL / REST API, structured content.",
5
+ "homepage": "https://www.opencastle.dev/docs/plugins#contentful",
6
+ "repository": "https://github.com/monkilabs/opencastle",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "tech",
10
+ "cms"
11
+ ],
12
+ "extensions": {
13
+ "dev.opencastle": {
14
+ "label": "Contentful",
15
+ "category": "tech",
16
+ "subCategory": "cms",
17
+ "authType": "none",
18
+ "officialDocs": "https://www.contentful.com/developers/docs/"
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
3
+ "mcpServers": {
4
+ "Convex": {
5
+ "type": "stdio",
6
+ "command": "npx",
7
+ "args": [
8
+ "--no",
9
+ "convex",
10
+ "mcp",
11
+ "start"
12
+ ]
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
+ "name": "convex",
4
+ "description": "Convex skill and MCP server for AI coding assistants: Reactive backend with real-time sync.",
5
+ "homepage": "https://www.opencastle.dev/docs/plugins#convex",
6
+ "repository": "https://github.com/monkilabs/opencastle",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "tech",
10
+ "database"
11
+ ],
12
+ "extensions": {
13
+ "dev.opencastle": {
14
+ "label": "Convex",
15
+ "category": "tech",
16
+ "subCategory": "database",
17
+ "authType": "none",
18
+ "officialDocs": "https://docs.convex.dev/"
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
3
+ "mcpServers": {
4
+ "Coolify": {
5
+ "type": "stdio",
6
+ "command": "npx",
7
+ "args": [
8
+ "-y",
9
+ "@masonator/coolify-mcp@3.7.0"
10
+ ]
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
+ "name": "coolify",
4
+ "description": "Coolify skill and MCP server for AI coding assistants: Self-hosted PaaS — deploy apps, databases, and services.",
5
+ "homepage": "https://www.opencastle.dev/docs/plugins",
6
+ "repository": "https://github.com/monkilabs/opencastle",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "tech",
10
+ "deployment"
11
+ ],
12
+ "extensions": {
13
+ "dev.opencastle": {
14
+ "label": "Coolify",
15
+ "category": "tech",
16
+ "subCategory": "deployment",
17
+ "authType": "env-token",
18
+ "env": [
19
+ "COOLIFY_ACCESS_TOKEN",
20
+ "COOLIFY_BASE_URL"
21
+ ],
22
+ "officialDocs": "https://coolify.io/docs"
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
+ "name": "cypress",
4
+ "description": "Cypress skill for AI coding assistants: E2E and component testing in the browser.",
5
+ "homepage": "https://www.opencastle.dev/docs/plugins#cypress",
6
+ "repository": "https://github.com/monkilabs/opencastle",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "tech",
10
+ "e2e-testing"
11
+ ],
12
+ "extensions": {
13
+ "dev.opencastle": {
14
+ "label": "Cypress",
15
+ "category": "tech",
16
+ "subCategory": "e2e-testing",
17
+ "authType": "none",
18
+ "officialDocs": "https://docs.cypress.io"
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
+ "name": "drizzle",
4
+ "description": "Drizzle ORM skill for AI coding assistants: Type-safe SQL ORM with migrations.",
5
+ "homepage": "https://www.opencastle.dev/docs/plugins",
6
+ "repository": "https://github.com/monkilabs/opencastle",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "tech",
10
+ "database"
11
+ ],
12
+ "extensions": {
13
+ "dev.opencastle": {
14
+ "label": "Drizzle ORM",
15
+ "category": "tech",
16
+ "subCategory": "database",
17
+ "authType": "none",
18
+ "officialDocs": "https://orm.drizzle.team/"
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
3
+ "mcpServers": {
4
+ "Expo": {
5
+ "type": "streamable-http",
6
+ "url": "https://mcp.expo.dev/mcp"
7
+ }
8
+ }
9
+ }