Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Guard OpenCode bell plugin in ACP mode (#60507)
Eli Starkbc990753733d
diff --git a/docs/src/ai/terminal-threads.md b/docs/src/ai/terminal-threads.mdindex dd4d454b706..a44759a2385 100644--- a/docs/src/ai/terminal-threads.md+++ b/docs/src/ai/terminal-threads.md@@ -116,6 +116,8 @@ Create `.opencode/plugins/zed-bell.js` in your project, or `~/.config/opencode/pexport const ZedBell = async () => {return {event: async ({ event }) => {+ if (process.env.OPENCODE_CLIENT === "acp") return;+if (event.type === "session.idle" || event.type === "permission.asked") {process.stdout.write("\x07");}