關於這個工具
TermMate 是一款免費開源的編輯器擴充功能,將 Claude Code、Codex、OpenCode 和 Pi Agent 等 AI 編碼代理直接整合到 Sublime Text 中。它透過原生編輯器介面連接這些代理,讓開發者無需切換視窗即可探索程式碼庫、執行多檔案變更和運行自主任務。 主要功能包括: - 多代理支援:在 Claude Code、Codex、OpenCode 和 Pi Agent 之間無縫切換。 - 專案上下文:代理與當前視窗和資料夾綁定,自動共享 Sublime Text 專案中的所有資料夾(可透過 share_workspace_folders 配置)。 - 檔案編輯與差異:在變更寫入磁碟前審查差異,提供內聯可折疊差異和雙擊導航。 - 工具審批:控制工具使用權限,支援自動批准安全讀取和編輯操作(allow-edit),同時仍提示 shell 命令。 - 計劃模式:為安全複雜任務啟用計劃模式。 - 編輯器整合:聊天介面位於編輯器標籤頁中,而非側邊欄,保持工作區整潔。 - 安裝簡便:透過命令面板中的「TermMate: Install Agent」即可安裝代理。 TermMate 適用於 AI 編碼代理使用者、Sublime Text 使用者和開發者,支援 Linux、macOS 和 Windows 平台。
功能與使用情境
📂 Open files — files currently open in editor tabs.Agents are tied to your current window and folderai/api/v1", "ANTHROPIC_AUTH_TOKEN": "sk-or-v1-ai/install | bash npm install -g opencode-ai Pi Agent Pi Agent is an extensible terminal coding agent harness by Earendil (piAll folders in the current Sublime Text project are shared with the agent automatically when share_workspace_folders is enabled (default: true)allow-edit — auto-approve safe read and edit operations, while still prompting for shell commands.Basic Usage Switch agents, control tool-use permissions, and enable Plan Mode for safe complex tasksBy default, the agent starts in your current workspace directoryClean Workspace: The chat interface lives in an editor tab, not the sidebar.Codex & Pi Agent: Rewind truncates and forks the conversation context at the chosen promptCodex: Powered by OpenAI’s coding companion. Excellent for precise low-latency edits and interactive codebase exploration.Configuration You can customize TermMate behavior in Settings -> Extensions -> TermMate: Agent Paths: Manually specify where your claude or codex binaries are located