Repository navigation
feat(wechat-connector): add WeCom group robot notification plugin - #150
Open
zhaohongjun20-creator wants to merge 1 commit into
Open
zhaohongjun20-creator wants to merge 1 commit into
zhaohongjun20-creator wants to merge 1 commit into
Conversation
- external_plugins/wechat-connector: skill (wechat-send) that sends text/markdown to WeCom group robots via the official webhook API - register in marketplace.json (category: productivity, license: MIT) - bilingual README, side-effect disclosure, design doc
Collaborator
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
zhaohongjun20-creator
requested review from
jacksonliuyn and
panda920
as code owners
November 1, 2026 09:48
This branch has not been deployed
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.
Plugin type (required) / 插件类型(必填)
Select exactly one before requesting review. / 发起评审前必须且只能勾选一项。
Affected plugin name(s) / 涉及的插件名称:
wechat-connector(新增 / new)— Standard plugin / 普通插件(非 UI)What / 改动内容
新增社区插件
wechat-connector(微信接入):通过腾讯企业微信群机器人的官方 webhook API 从 ZCode 会话发送群通知。不使用任何逆向协议或客户端自动化。skills/wechat-send/SKILL.md)——从用户本机配置(~/.zcode/wechat/config.json)或环境变量(WECHAT_WEBHOOK_URL)解析 webhook;以 UTF-8 写出 JSON payload(规避 Windows 代码页问题);用curl --data-binary发送;校验响应errcode;内置频控(每机器人 20 条/分钟)、错误处理与重试指引。wecom-cli的差异:wecom-cli是完整的 CLI 工作流套件(消息/文档/邮件/日历,扫码授权);本插件是轻量级"通知"能力,无本地守护进程、无 MCP 服务、无授权流程,适合"让 Agent 把结果发到群里"的场景。DESIGN.md;MIT 许可证。Self-check / 自查清单
external_plugins/<name>/; existing fixes retain ownership / 插件名唯一且 kebab-case,外部新增插件位于external_plugins/<name>/,已有插件修复保留原归属categoryis set independently of publisher ownership / 用途分类category已填写,与维护归属分开versionbumped in BOTHplugin.jsonandmarketplace.json(artifacts are immutable) /plugin.json与marketplace.json两处版本号已同步升级(制品不可变)—— 新插件,两处均为0.1.0README.md(EN) andREADME_CN.md(中文) both updated and equivalent / 中英文 README 均已更新且语义一致description_i18nhas bothenandzh-CN/description_i18n包含en与zh-CNpython3 scripts/validate.pyandpython3 scripts/build_dist.pypass locally / 本地校验与构建均通过Testing / 测试情况
python scripts/validate.py→OK: 53 plugin(s) validated(含新增条目)python scripts/build_dist.py→ 新增插件 scoped 构建通过(产出确定性制品dist/plugins/wechat-connector/0.1.0/plugin.zip)。全量构建在 main 上即止于excalidraw的既有 pnpm 构建步骤(incomplete build; run pnpm build first),与本 PR 无关——本 PR 仅新增纯 Markdown skill 目录与一条 marketplace 注册项,无构建步骤。zcode plugins validate(ZCode CLI 0.17.0)→Plugin manifest is valid{"errcode":0,"errmsg":"ok"},群内实际收到消息key=***、key=XXX占位符)Additional notes
https://qyapi.weixin.qq.com(webhook 地址由用户自行提供并保存在本机,不写入插件源码);无模型依赖、无 MCP server、无 hooks。~/.zcode/wechat/config.json。