Repository navigation
baton v0.4.0
输入框支持 / 命令和 @ 文件(#6)
/命令补全:在消息开头输入/,会弹出当前 agent 的命令、skill 和 prompt,输入文字可过滤,↑/↓ 选择,Enter/Tab 确认,Esc 关闭。菜单打开时按 Enter 不会发送。- Claude Code:项目和用户的命令、skill、插件命令,直接由 Claude 执行。
- Codex:skill 和
~/.codex/prompts里的 prompt。baton 会在发出前把/prompts:名字展开成 prompt 内容,把/skill名转成 Codex 原生的 skill 调用。 - Pi、ACP agent:使用 agent 自己上报的命令列表。
@文件补全:在行首或空格后输入@,列出当前会话工作目录下的文件和目录(git 仓库内遵守 .gitignore)。选中目录会继续列出下一级,路径含空格时自动写成@"路径"。- 新建 Run 的任务输入框同样支持
/和@。
会话界面
- 停止按钮按当前标签页判断:输入框为空时,只有当前标签页的 agent 正在运行才显示「停止」;空闲等待子任务的 agent 显示「发送」。要停子 agent,切到它的标签页。点「停止」仍然会暂停整个 Run,按钮提示里写明了这一点。
- 回到最新消息:对话往上翻、离开底部后,输入框上方出现一个向下箭头按钮,点一下回到最新消息并恢复自动跟随。
- 标签页状态点:运行中是实心绿点,已完成是空心绿圈,空闲是空心灰圈;等待授权、等你回答、失败等状态的颜色不变。
其他
- 仓库里移除了产品视频。
升级说明
- 已知限制:
/命令必须在消息最前面。ACP agent 的第一轮和回退后的第一轮,baton 会在消息前拼上其他内容,这时命令可能不生效;之后的轮次正常。 - 安装包未签名:macOS 首次打开请右键 → 打开;Windows 在 SmartScreen 里选「更多信息 → 仍要运行」。可以用
SHA256SUMS.txt校验下载的文件。
English summary
- Type
/at the start of a message to pick the agent's commands, skills and prompts (Codex prompts and skills are expanded into native input), and@to reference files and folders in the session's working directory. The New Run task field supports both. - The empty-composer stop button now follows the selected tab, a "back to latest" button appears when the transcript is scrolled up, and session tab dots tell running, completed and idle apart.
- The product video was removed from the repository.
What's Changed
Full Changelog: v0.3.2...v0.4.0