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
@@ -6,14 +6,5 @@
|
||||
"name": "yingqing"
|
||||
},
|
||||
"license": "MIT",
|
||||
"skills": "skills",
|
||||
"mcpServers": "./.mcp.json",
|
||||
"userConfig": {
|
||||
"enable_mcp": {
|
||||
"type": "boolean",
|
||||
"title": "启用 MCP 服务",
|
||||
"description": "开启后向 Agent 暴露 seal_cli 工具;默认关闭。保存后重新连接该插件的 MCP 服务。",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
"skills": "skills"
|
||||
}
|
||||
Reference in new issue
Block a user