From ed6a8fab207b9db0e94c1a97ae1493fa88f96656 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 24 Dec 2025 21:33:44 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Docker=E3=83=93=E3=83=AB=E3=83=89?= =?UTF-8?q?=E3=81=A7=E3=81=AE=E3=83=9E=E3=83=BC=E3=82=B1=E3=83=83=E3=83=88?= =?UTF-8?q?=E3=83=97=E3=83=AC=E3=82=A4=E3=82=B9=E8=BF=BD=E5=8A=A0=E3=82=B3?= =?UTF-8?q?=E3=83=9E=E3=83=B3=E3=83=89=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 問題 v1.6.2でも依然としてプラグインがインストールされていませんでした。 ### エラー内容 ``` error: unknown command 'add-marketplace' [WARN] Marketplaces directory not found [INFO] プラグイン: 0 インストール完了、15 失敗/スキップ ``` ### 根本原因 `claude plugin add-marketplace` コマンドは存在しない。 正しくは `claude plugin marketplace add` コマンド。 ## 解決策 ### コマンド修正 **Before**: ```bash claude plugin add-marketplace anthropic/claude-code --name claude-code-plugins claude plugin add-marketplace https://github.com/davila7/claude-code-templates.git --name claude-code-templates claude plugin add-marketplace wshobson/agents --name claude-code-workflows ``` **After**: ```bash claude plugin marketplace add anthropic/claude-code claude plugin marketplace add https://github.com/davila7/claude-code-templates.git claude plugin marketplace add wshobson/agents ``` ### 変更ポイント - `add-marketplace` → `marketplace add` (正しいサブコマンド) - `--name` オプション削除 (不要) ## 期待効果 | 項目 | v1.6.2 | v1.6.3 (This PR) | |------|--------|------------------| | マーケットプレイス追加 | ❌ エラー | ✅ 成功 | | プラグインインストール | ❌ 0/15 | ✅ 15/15 | 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- script/install-claude-plugins.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/install-claude-plugins.sh b/script/install-claude-plugins.sh index 112385d3..f7c3d210 100755 --- a/script/install-claude-plugins.sh +++ b/script/install-claude-plugins.sh @@ -49,10 +49,10 @@ echo "[INFO] マーケットプレイスを初期化中..." if [[ -f "${CLAUDE_DIR}/plugins/known_marketplaces.json" ]]; then echo "[INFO] known_marketplaces.jsonが見つかりました" - # 必須マーケットプレイスを追加 - claude plugin add-marketplace anthropic/claude-code --name claude-code-plugins 2>&1 || echo "[WARN] claude-code-plugins already exists or failed to add" - claude plugin add-marketplace https://github.com/davila7/claude-code-templates.git --name claude-code-templates 2>&1 || echo "[WARN] claude-code-templates already exists or failed to add" - claude plugin add-marketplace wshobson/agents --name claude-code-workflows 2>&1 || echo "[WARN] claude-code-workflows already exists or failed to add" + # 必須マーケットプレイスを追加(正しいコマンド: claude plugin marketplace add) + claude plugin marketplace add anthropic/claude-code 2>&1 || echo "[WARN] claude-code-plugins already exists or failed to add" + claude plugin marketplace add https://github.com/davila7/claude-code-templates.git 2>&1 || echo "[WARN] claude-code-templates already exists or failed to add" + claude plugin marketplace add wshobson/agents 2>&1 || echo "[WARN] claude-code-workflows already exists or failed to add" else echo "[WARN] known_marketplaces.jsonが見つかりません" fi