Skip to content

feat(tools): 新增智谱 ZCode 与 QwenPaw 适配(#104 #103) - #117

Merged
jnMetaCode merged 1 commit into
mainfrom
feat-zcode-qwenpaw
Sep 7, 2026
Merged

jnMetaCode merged 1 commit into
mainfrom
feat-zcode-qwenpaw

Conversation

@jnMetaCode

Copy link
Copy Markdown
Owner

Closes #104
Closes #103

两个工具的角色/技能文件格式都核对了官方文档,不是照现有适配器猜的。

ZCode(智谱 ADE 桌面端)

自定义 subagent 就是带 YAML frontmatter 的 Markdown,name / description 必填(缺任一会被忽略),color / tools / model 可选——跟本仓角色的原生格式一致,基本是平移。

QwenPaw(阿里 AgentScope)

<slug>/SKILL.md,name / description 必填,与 WorkBuddy / CodeWhale 同形。

有一个坑写进了 README 和安装提示:QwenPaw 是两层结构,技能池不直接运行,手动放入的 skill 会以「禁用」状态写进 skill.json,需要在控制台启用后广播到工作区。

另外它支持在 config.json 顶层字段 skill_paths 登记外部技能根目录——适合直接挂本仓的 integrations/qwenpaw,QwenPaw 原地读取、不写 manifest、仓库更新后重新加载即可生效。这条也写进文档了,比复制进主池更适合跟随仓库更新。

改动范围

文件 改动
scripts/convert.sh convert_zcode / convert_qwenpaw + 分发 + 工具白名单 ×2 + 头部说明
scripts/install.sh detect_* / install_* ×2 + ALL_TOOLS + 分发 + 显示名 + 头部说明
scripts/convert.ps1 Convert-ZCode / Convert-QwenPaw + 分发 + 工具列表
scripts/install.ps1 Install-ZCode / Install-QwenPaw + 检测 + 显示名 + 分发
README.md / README.zh-TW.md 安装命令清单、支持工具表格、两个折叠说明块
工具计数 18 → 20 README ×4、AGENT-LIST、繁体版

顺带修一个隐患:install.sh 的 usage() 用 sed -n '3,47p' 硬编码行号打印帮助,我加了两行头部说明后会截断,已同步为 3,49p。

验证

  • 两个转换器各产出 277 个文件
  • 安装器在隔离 HOME 下实测落盘 277 / 277,抽样检查了 frontmatter 内容
  • convert.ps1 与 install.ps1 通过 PowerShell Parser::ParseFile 解析检查
  • bash -n 语法检查、check-counts.mjs、lint-agents.sh、README 内链检查全绿

注:PowerShell 版本此前就缺 qoder / codewhale 适配,属既有欠账,本 PR 未一并补,只保证新增的两个工具在四个脚本里齐全。

🤖 Generated with Claude Code

https://claude.ai/code/session_013AMbEt46icCts8wcARbHZs

Closes #104
Closes #103

两个工具的格式都核对过官方文档,不是照猜:

- **ZCode**(智谱 ADE 桌面端):subagent 就是带 YAML frontmatter 的 .md,
  name/description 必填、color 可选——跟本仓角色格式一致,基本是平移。
  装到 ~/.zcode/agents/(全局),工作区级为 <workspace>/.zcode/agents/。
  https://zcode.z.ai/en/docs/subagents
- **QwenPaw**(阿里 AgentScope):<slug>/SKILL.md,name/description 必填,
  与 WorkBuddy / CodeWhale 同形。装到技能池 ~/.qwenpaw/skill_pool/。
  注意它是两层结构:技能池不直接运行,手动放入的 skill 以「禁用」写进
  skill.json,要在控制台启用后广播到工作区——这点已写进 README 和安装提示。
  另外支持 config.json 的 skill_paths 登记外部技能根目录,适合直接挂本仓,
  QwenPaw 原地读取且不写 manifest,也一并写进了文档。
  https://github.com/agentscope-ai/QwenPaw/blob/main/website/public/docs/skills.zh.md

改动覆盖 convert.sh / install.sh / convert.ps1 / install.ps1 四个脚本,
以及 README 的安装命令清单、支持工具表格和折叠说明块;工具数 18 → 20
(README ×4、AGENT-LIST、繁体版)。install.sh 的 usage() 硬编码了
sed 行号范围,加了两行头部说明后一并同步为 3,49p。

验证:两个转换器各产出 277 个文件;安装器在隔离 HOME 下实测落盘 277/277;
convert.ps1 与 install.ps1 通过 PowerShell 解析检查;check-counts、
lint-agents、README 内链检查全绿。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013AMbEt46icCts8wcARbHZs
@jnMetaCode
jnMetaCode merged commit 7a3c40a into main Sep 7, 2026
1 check passed
@jnMetaCode
jnMetaCode deleted the feat-zcode-qwenpaw branch September 7, 2026 11:42
wuzhxxi added a commit to wuzhxxi/agency-agents-zh that referenced this pull request Sep 7, 2026
wuzhxxi added a commit to wuzhxxi/agency-agents-zh that referenced this pull request Sep 7, 2026
Preserve upstream ancestry while retaining Search Growth Engineering v1 and Agentic Search v2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

适配智谱的ZCode [Feature] 建议增加对QwenPaw的支持

1 participant