Skip to content

fix(test): opencode setup.sh 不再拷不存在的 lib/#72

Merged
jnMetaCode merged 1 commit into
mainfrom
fix/opencode-test-setup
Jun 20, 2026
Merged

fix(test): opencode setup.sh 不再拷不存在的 lib/#72
jnMetaCode merged 1 commit into
mainfrom
fix/opencode-test-setup

Conversation

@jnMetaCode

Copy link
Copy Markdown
Owner

陈旧测试修复:setup.sh 从上游照搬了 cp lib,但 fork 无 lib/,导致 opencode 测试套件飘红。fork 插件不依赖 lib,删除该拷贝。验证 STATUS: PASSED。

tests/opencode/setup.sh 从上游照搬了 `cp -r $REPO_ROOT/lib`,但本 fork
没有 lib/ 目录,导致 test-plugin-loading.sh 在 setup 阶段就 cp 失败、
整个 opencode 测试套件飘红(既有问题,CI 不跑、不拦门)。

本 fork 的 opencode 插件(.opencode/plugins/superpowers.js)自包含、
仅 readFileSync 读取 ../../skills,不依赖 lib,故删除该多余拷贝。

验证:bash tests/opencode/run-tests.sh → STATUS: PASSED(1 passed/0 failed)。
@jnMetaCode jnMetaCode merged commit df5e7d4 into main Jun 20, 2026
jnMetaCode added a commit that referenced this pull request Jun 20, 2026
对齐上游 v6.0.0 实质变更 + 新增 Kimi/Pi 两款 harness 支持:
- Kimi Code 支持(#59,关 #37)
- Pi (oh-my-pi) 支持(#60,关 #44)
- brainstorm 可视化伴侣安全模型(#58,每会话密钥 + 安全头)
- worktree 移除旧全局目录(#57)+ hooks/session-start v6(#58)
- opencode 测试修复(#72)

版本号同步:package.json + 5 个 plugin 清单 + marketplace + gemini-extension。
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.

1 participant