You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4ce3219
Browse filesBrowse the repository at this point in the historyBrowse files
feat(plugins): add plugins migrate command for schema updates
When a plugin releases a new version with schema changes, developers
can now run `codapult plugins migrate [name]` to diff the installed
schema block against the latest plugin source, patch schema.ts, and
generate a proper Drizzle migration. Supports --push flag for dev mode.
- Add 'update' action to patchSchemaTables (diff-aware replace)
- Register codapult_plugins_migrate MCP tool (19 tools total)
- Add 3 unit tests for update/unchanged/not-installed cases
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ npx @codapult/cli <command>
27
27
28
28
-`codapult plugins add <name>` — install a plugin from a local directory
29
29
-`codapult plugins remove <name>` — uninstall a plugin
30
+
-`codapult plugins migrate [name]` — update plugin schema and generate DB migration (`--push` for dev mode)
30
31
-`codapult plugins list` — list installed plugins
31
32
32
33
### Code Generation
@@ -61,7 +62,7 @@ npx @codapult/cli <command>
61
62
62
63
## MCP Server
63
64
64
-
The CLI includes an MCP (Model Context Protocol) server with 18 tools, 6 resources, and 2 prompt templates for AI-assisted development. See the [MCP documentation](https://codapult.dev/docs/developer-tools/mcp) for details.
65
+
The CLI includes an MCP (Model Context Protocol) server with 19 tools, 6 resources, and 2 prompt templates for AI-assisted development. See the [MCP documentation](https://codapult.dev/docs/developer-tools/mcp) for details.
0 commit comments