intercom-support-triage-slack: beforeTool hook blocks every other tool in all sessions
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 67/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- developer-experience
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 38
- Fork
- 18
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cline/plugins
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
Tutte le issue di cline/plugins
Issue simili
-
Flaky test: selecting a portion just after inserting it can also match its Change and Delete buttonsApertaready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
linagora/dcs-onlyoffice#172 ·
-
bug follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
nightly-tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
BlackBeltTechnology/pi-agent-dashboard#1226 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
danielmiessler/LifeOS#3028 ·
I maintainer di solito rispondono entro 5 giorni
-
execute_sql cannot create a SQLite trigger or a PostgreSQL BEGIN ATOMIC function: the statement is cut at the semicolons inside its bodyForse già presa @goranai l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno