功能:适配 ZCode 插件市场安装 - #13
Merged
Merged
Conversation
- 新增 .zcode-plugin/plugin.json 插件清单:复用现有 skills/ 与 bin/ 预编译二进制,
MCP 服务器经 ${ZCODE_PLUGIN_ROOT}/bin/ser2mcp 启动(Windows 由 Node/libuv 解析同名
ser2mcp.exe,Linux/macOS 由 POSIX 启动脚本选择对应二进制)
- 新增仓库根 marketplace.json:仓库本身作为 ZCode 单插件市场,可在
设置 → 插件管理 → 发现 → + 输入 woooooooolf/ser2mcp 一键安装
- 中英文 README 增加 ZCode 安装章节;CHANGELOG 在 Unreleased 下记录
不影响现有 Reasonix / DeepSeek-Harness 接入:reasonix-plugin.json、.mcp.json、
skills/、bin/ 与源码均未改动。
woooooooooolf
force-pushed
the
feat/zcode-plugin-marketplace
branch
from
August 27, 2026 14:19
6c91cd9 to
4f6cdb1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
动机
让 ser2mcp 可以作为 ZCode 插件从插件市场直接安装(仓库本身即市场),同时保持 Reasonix / DeepSeek-Harness 现有接入方式完全不变。
改动
.zcode-plugin/plugin.json:ZCode 插件清单。skills直接指向现有skills/目录(两个 SKILL 自动发现);MCP 服务器声明为${ZCODE_PLUGIN_ROOT}/bin/ser2mcp,安装后由 ZCode 替换为插件实际路径marketplace.json:定义单插件市场woooooooooolf-plugins,插件 ID 为ser2mcp@woooooooooolf-pluginswooooooooolf/ser2mcp)[Unreleased]下补记录兼容性
reasonix-plugin.json、.mcp.json、skills/、bin/、Rust 源码与 CI 均未改动;ZCode 只读取新增的两个清单文件,对其他宿主无感知。清单版本号与 0.8.7 保持一致。平台说明
shell: false的 stdio spawn 下:.com/.exe,实际启动bin/ser2mcp.exe(与 Reasonix 的「Windows 自动解析同名 exe」同机制)bin/ser2mcpPOSIX 启动脚本选择对应二进制(git 中已是 755,安装缓存保留执行位)验证建议
合并前可用本地目录市场做一次真机验证:把本仓库目录作为本地市场添加 → 安装 → 调用
uart_list_ports(返回空数组也算连通)。