claude plugin install、uninstall、update、enable、disable に --json を追加し、claude plugin list --json の各行に errorDetails と noteDetails を含めるようにした。英語原文を表示
--json to claude plugin install, uninstall, update, enable and disable, and errorDetails/noteDetails to each row of claude plugin list --json変更前
claude plugin install、uninstall、update、enable、disable コマンドは人間が読めるテキスト出力のみを返しており、スクリプトから結果を機械的に判定するには出力をパースする必要があった。また、claude plugin list --json の各行にはエラーや注意の詳細を示すフィールドがなく、問題の内容を JSON から把握できなかった。
変更後
claude plugin install、uninstall、update、enable、disable に --json オプションが追加され、各コマンドの実行結果を JSON 形式で取得できるようになった。また、claude plugin list --json の各行に errorDetails と noteDetails フィールドが追加された。
ユーザーへの恩恵
プラグイン管理コマンドの成否や詳細を JSON で直接受け取れるため、CI やスクリプトからの自動化でプラグインの状態確認とエラーハンドリングを容易に行えるようになる。