关于这个工具
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