diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index e897223..062fd43 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -5,17 +5,17 @@ }, "metadata": { "description": "Local marketplace for the compact-plus plugin.", - "version": "1.0.2" + "version": "1.0.3" }, "plugins": [ { "name": "compact-plus", "description": "Preserve Claude Code session state before and after context compaction.", - "version": "1.0.2", + "version": "1.0.3", "author": { "name": "u1" }, - "source": "./plugins/compact-plus" + "source": "./" } ] } diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index ec4e77d..63839cb 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json", "name": "compact-plus", - "version": "1.0.2", + "version": "1.0.3", "description": "Preserve Claude Code session state before and after context compaction.", "author": { "name": "u1" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d20363..8d10817 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,15 @@ jobs: - name: Check bash syntax run: bash -n hooks/*.sh + - name: Check no tracked symlinks + run: | + # project policy: compact-plus は Windows install 対応のため tracked symlink を禁止する + # (Windows の git は既定で symlink をテキストファイルとして checkout し、plugin cache が壊れる) + if git ls-files -s | grep '^120000'; then + echo "Tracked symlinks are not allowed (broken on Windows git checkout)" + exit 1 + fi + - name: Check version consistency run: | plugin_version="$(python3 -c 'import json; print(json.load(open(".claude-plugin/plugin.json", encoding="utf-8"))["version"])')" diff --git a/plugins/compact-plus b/plugins/compact-plus deleted file mode 120000 index a96aa0e..0000000 --- a/plugins/compact-plus +++ /dev/null @@ -1 +0,0 @@ -.. \ No newline at end of file