intercom-support-triage-slack: beforeTool hook blocks every other tool in all sessions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 67/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 38
- Fork
- 18
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cline/plugins
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 78/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Tất cả issue của cline/plugins
Issue tương tự
-
Flaky test: selecting a portion just after inserting it can also match its Change and Delete buttonsĐang mởready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
linagora/dcs-onlyoffice#172 ·
-
bug follow-up
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
nightly-tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
BlackBeltTechnology/pi-agent-dashboard#1226 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
danielmiessler/LifeOS#3028 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
execute_sql cannot create a SQLite trigger or a PostgreSQL BEGIN ATOMIC function: the statement is cut at the semicolons inside its bodyCó thể đã có người làm @goranai đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày