intercom-support-triage-slack: beforeTool hook blocks every other tool in all sessions

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
67/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

Start by reading plugins/intercom-support-triage-slack/index.ts and trace when its beforeTool hook applies the ALLOWED_TOOLS guard. Compare the suggested session-scoped or opt-in behavior with the plugin's README guidance. Done means non-triage sessions can use built-in tools, triage runs retain the intended guardrail, and the README explains the behavior.

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

説明

bug includes-hooks

Once this plugin is installed (cline plugin install intercom-support-triage-slack), every Cline session on the machine fails every built-in tool: file edits, commands, reads. The error is:

Tool "editor" is not permitted in this session. Only fetch_intercom_conversations and post_slack_summary may be called.

This applies in every host (CLI, VS Code, JetBrains) and every project, not only during a triage run. The error gives the user no hint that a plugin is the cause.

Cause

The beforeTool hook in plugins/intercom-support-triage-slack/index.ts returns skip: true for any tool outside ALLOWED_TOOLS. Keeping a triage run on its two tools is intended, but a catalog install is global, so the restriction applies to every session.

Suggested fix

Keep the guardrail, but only for triage sessions. For example, enforce it only after fetch_intercom_conversations has been called in the session, or only when an opt-in env var is set. Either way, mention the behaviour in the README.

Workaround

cline plugin uninstall intercom-support-triage-slack

主要言語
TypeScript
スター
38
フォーク
18
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

cline/plugins のほかの issue

cline/plugins の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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