Remove the MCP bundle from the plugin; ship skills only
The plugin's MCP surface (dist/mcp/server.js, ~9.8MB) was never turned on (the enable_mcp default was false, README says most users do not need it) and its only consumer was .zcode-plugin's .mcp.json. Meanwhile every source change had to rebuild and re-commit a fresh 9.8MB minified version — 129 versions, ~556MB of blob history — for a tool nobody used. What goes away: - .mcp.json, dist/mcp/server.js, scripts/build-plugin.mjs, the `build:plugin` script, and the CI "Build MCP Plugin & Verify" step (and its bundle gate). - plugin.json drops `mcpServers` and the `enable_mcp` userConfig: the plugin now ships skills only. - bump-version and the PR template stop rebuilding/reminding about the bundle. What stays: - The local MCP: `seal-use mcp` runs the stdio server from source/the binary, and `seal-use mcp-config` still prints the snippet for Cursor/Claude Desktop/Codex. src/server.ts keeps its in-process tests (6/6) — only the "boot the packaged bundle" test is dropped, since there is no artifact. - The embedded skill images in the compiled binary: build:binary still runs generate-embedded-skill, so `seal-use skill install` writes all 6 real PNGs (verified: 22 files, valid PNG signatures). Docs updated (README, AGENTS, issue-pr rule, PR template, SKILL.md) so no reference to dist/mcp or build:plugin remains outside historical proposals and CHANGELOG.
This commit is contained in:
1 parent
2210f0d2dc
commit
28b4ac1412
14 files changed
+14
-2643
No files matched your search
@@ -105,9 +105,8 @@ if (existsSync(globalSkillDir)) {
|
||||
}
|
||||
|
||||
// 6. Rebuild bundles
|
||||
console.log("==> Rebuilding OpenAPI, plugin, and binary bundles...");
|
||||
console.log("==> Rebuilding OpenAPI and binary bundles...");
|
||||
execSync("bun run openapi:bundle", { cwd: ROOT, stdio: "inherit" });
|
||||
execSync("bun run build:plugin", { cwd: ROOT, stdio: "inherit" });
|
||||
execSync("bun run build:binary", { cwd: ROOT, stdio: "inherit" });
|
||||
|
||||
console.log("\n🎉 Successfully bumped version to " + nextVersion + "!");
|
||||
|
||||
Reference in new issue
Block a user