Repository navigation
Conversation
- Add .claude-plugin/marketplace.json and .claude-plugin/plugin.json so the
same repository installs from either Codex or Claude Code; Codex manifests
and behavior are unchanged.
- Declare the three MCP servers through ${CLAUDE_PLUGIN_ROOT} because Claude
Code runs plugins from its cache copy instead of the marketplace checkout.
- Add install-claude.sh / install-claude.ps1; the OOXML venv uses --copies
since the cache copy drops symlinked interpreters, and the plugin is
reinstalled so a rebuilt venv reaches the cache at an unchanged version.
- Mention both installers in the python-pptx error, make session guidance
host-neutral, document Claude Code installation and prompts, and validate
that both manifest sets stay synchronized.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Fixes #11(Claude Code 注册报错
Marketplace file not found ... .claude-plugin/marketplace.json)本 PR 让同一仓库可同时注册到 Codex 和 Claude Code,Codex 侧清单与行为完全不变。
改动内容
.claude-plugin/marketplace.json与plugins/scientific-illustrator/.claude-plugin/plugin.json,MCP 服务器通过${CLAUDE_PLUGIN_ROOT}内联声明——Claude Code 从~/.claude/plugins/cache/的副本运行插件,相对路径 +cwd写法在其中会失效(已实测);Codex 的.mcp.json不会被 Claude Code 重复加载install-claude.sh/install-claude.ps1(结构对照现有 install.sh / install.ps1):--copies创建,因为 Claude Code 的 cache 拷贝会丢弃指向插件外部的符号链接,符号链接版 venv 实测在 cache 中损坏$ErrorActionPreference(Windows PowerShell 5.1 会把重定向的原生命令 stderr 变成终止性错误),并过滤 Windows Store 的 python 占位 stub;venv 构建失败只降级为警告,不阻断插件注册validate-repo.mjs新增两套清单的同步校验(名称/版本/描述/署名/服务器脚本路径 +--copies防回退检查);windows-compat-smoke.ps1增加对 install-claude.ps1 的语法解析验证
claude plugin validate双清单通过;安装后组件清单正确(6 skills + 3 MCP servers,无重复注册);三个 MCP 服务器从 cache 副本正常响应 initialize;卸载重装后 cache 内 venvimport pptx成功node --run test全套通过(Codex 清单校验、MCP、Office.js、focus-policy、平台兼容、WPS 可靠性)🤖 Generated with Claude Code