fix/codex-cli-cache-compat
develop
jsc-cli
deploy.sh
tools/deploy.sh
jsc-hooks
skills/deploy/SKILL.md
README.md
plugin.json
.claude-plugin/plugin.json
.codex-plugin/plugin.json
check-requires.sh
find tools -type f -name '*.sh' -exec sh -n {} \;
python3 -m json.tool plugin.json
git diff --check
/root/plugins/hooks/hooks/comment-scope.sh sweep
CODEX_HOME
codex
compat
No dependencies set.
The note is not visible to the blocked user.
摘要
jsc-cli後,正在執行的舊deploy.sh失去自己的 helper 腳本路徑。變更內容
tools/deploy.shjsc-cli與jsc-hookscache 路徑。skills/deploy/SKILL.mdjsc-cli與jsc-hooks都要保留相容連結的規則。README.mdplugin.json、.claude-plugin/plugin.json、.codex-plugin/plugin.json設計重點
jsc-cli更新後立刻補舊版 cache symlink,讓後續check-requires.sh還能被目前執行中的部署流程找到。jsc-hooks更新後仍保留舊 hook_run_id 需要的 cache symlink。測試結果
find tools -type f -name '*.sh' -exec sh -n {} \;:通過。python3 -m json.tool plugin.json、.claude-plugin/plugin.json、.codex-plugin/plugin.json:通過。git diff --check:通過。/root/plugins/hooks/hooks/comment-scope.sh sweep:通過。CODEX_HOME與假的codex指令模擬jsc-cli、jsc-hooks舊版 cache 被移走:兩者都輸出compat,且舊版路徑成功連到新版路徑。前置 Push Request