Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Allow disabling one plugin's hooks without disabling the plugin

オープン
#4,958 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
shell

調査の方向性

Look at the plugin management code, likely in a directory like src/plugin or lib/plugin. Find where hooks are registered and disabled (search for disableAllHooks). The /env command output is mentioned; see how it lists hooks by plugin. Start by understanding the plugin lifecycle and hook registration. A good test is to modify a plugin's hook state and verify the plugin's skills still work.

索引モデルが issue の本文から書いたものです。

説明

triage

Please let me disable one plugin's hooks without disabling its skills, agents, or MCP servers.

Why

I run several third-party plugins and want to keep using one plugin's skills. I also want to vet or replace its sessionStart hook without losing those skills.

  • Two plugins can inject context at sessionStart, but I want one owner for that context.
  • A plugin update can change a hook, and I want to hold that hook until I review it.
Today
  • disableAllHooks: true skips hooks from every source, including every plugin.
  • copilot plugin disable NAME disables the whole plugin. Its help offers no per-component option.

The only workaround is to patch the plugin's hook manifest locally. That patch drifts or gets overwritten when the plugin updates.

Proposal

A per-plugin hook toggle could leave the plugin's other parts active. Either of these shapes might work:

  • A config entry such as "pluginHooks": { "<plugin>": false }.
  • A flag such as copilot plugin disable NAME --hooks-only.

Since 1.0.60 (#3871), /env lists hooks by plugin. Please show their disabled state there.

Related

#3697 asks to disable repository hooks for security. This request covers plugin hooks while preserving the plugin's other parts.

主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/copilot-cli のほかの issue

github/copilot-cli の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。