各代理需要變更的設定
只列出各工具官方說明文件中出現的設定,並附上連結,方便您自行核對。
Claude Code
根據預設,Claude Code 不會傳送任何內容給它無法辨識的終端機;其說明文件寫的是「Other terminals: nothing」。讓它在任何終端機中都發出終端機響鈴,1B Terminal 就會把響鈴變成通知。
檔案: ~/.claude/settings.json{
"preferredNotifChannel": "terminal_bell"
}
您也可以在 Claude Code 中開啟 /config,進入 Local notifications 並選擇終端機響鈴。
如果您自行啟動 tmux
開啟 連線時進入 tmux 後,1B Terminal 已經會在自己的工作階段中放行提醒。如果您改為自行啟動 tmux,請加入 Claude Code 說明文件中的這幾行,並用 tmux source-file ~/.tmux.conf 重新載入。
檔案: ~/.tmux.confset -g allow-passthrough on
set -g focus-events on
set -s extended-keys on
set -as terminal-features 'xterm*:extkeys'
工作階段狀態:Claude Code v2.1.295 以上版本會回報每個工作階段是在工作還是在等您(OSC 7501),1B Terminal 會在工作階段的分頁上顯示。僅在 Claude Code 於 tmux 之外執行時有效。
官方說明文件: code.claude.com/docs/en/terminal-config · code.claude.com/docs/en/settings-reference ·
Codex
Codex 可以把提醒當作 OSC 9 通知傳送,1B Terminal 會連同文字一起顯示。請把這幾行加入您的使用者設定檔。
檔案: ~/.codex/config.toml[tui]
notifications = true
notification_method = "osc9"
notification_condition = "always"
設為「always」時,即使終端機處於焦點,Codex 也會提醒您。1B Terminal 絕不會針對您正在查看的工作階段發出提醒,因此不會收到重複通知。
官方說明文件: learn.chatgpt.com/docs/config-file/config-reference ·
OpenCode
OpenCode 的注意提醒預設為關閉。請在它的 tui.json 中開啟。
檔案: tui.json{
"$schema": "https://opencode.ai/tui.json",
"attention": {
"enabled": true,
"notifications": true
}
}
OpenCode 的說明文件沒有說明該檔案的位置;不過有提到可以用 OPENCODE_TUI_CONFIG 變數指定一個檔案。OpenCode 只在終端機失去焦點時提醒,而您離開工作階段時 1B Terminal 會告知它。
官方說明文件: opencode.ai/docs/tui ·
Gemini CLI
Google 已於 2026年6月18日停止提供個人帳戶使用的 Gemini CLI。它仍可搭配企業授權和 API 金鑰使用。如果您這樣使用,請開啟 輸出停止時通知,讓它停下時 1B Terminal 提醒您。
官方說明文件: developers.google.com/gemini-code-assist/docs/deprecations/code-assist-individuals ·
Antigravity CLI
Google 的 Antigravity CLI 以 agy 執行。其說明文件沒有描述通知設定,因此請讓 1B Terminal 在輸出停下時提醒您。
官方說明文件: github.com/google-antigravity/antigravity-cli ·
其他任何代理
在 設定 › 通知 中開啟 輸出停止時通知。當一個工作階段忙碌之後不再輸出時,1B Terminal 會通知您:程式很可能已經完成,或正在等待回答。