Show HN:一款用于润色编码智能体所写文本的图形界面工具
Draftmux 是一款新编辑器,目标是在编码智能体生成的 PR 描述、issue 和 Slack 更新等内容发出之前对其进行润色。其出发点是:智能体已经掌握了撰写所需的上下文,但标准的智能体聊天界面并不适合反复打磨这些文本,因此 Draftmux 提供了一个专用界面,并实时预览消息在目标平台上的呈现效果。
在已有会话中通过 /draftmux 交接会分叉该对话,分叉出的会话会基于此前讨论内容写出初稿。用户可以在 Markdown 与预览之间并排编辑,预览可渲染为 GitHub、Slack、富文本或纯文本形式;选中文本后可获取替代措辞,或应用 Shorten(缩短)与 Tighten(精简)操作,此时聊天消息只会改动选中部分。草稿对应的智能体仍了解该草稿来自哪个会话。
结果可用 ⌘⇧C 按目标格式复制,或交回智能体并附上诸如“done, file the issue”的指令。运行 draftmux README.md 可将文件作为草稿打开,并在文件所在目录中拥有独立的智能体会话。该工具支持 macOS Apple 芯片(macOS 11 及以上)、Linux 和 Windows,提供 Homebrew 安装脚本,以及让 Pi 和 Claude Code 调用 draftmux 的 macOS 命令行工具安装程序。
Show HN: A GUI for polishing the text your coding agent writes
Draftmux is a new editor aimed at refining the messages coding agents produce — PR descriptions, issues, Slack updates — before they are sent. Its premise is that the agent already has the context needed to write the text, but the standard agent chat UI is a poor place to iterate on it, so Draftmux provides a dedicated surface with a live preview of how the message will look at its destination.
A /draftmux hand-off from an existing session forks the conversation, and the fork writes a first draft from what has already been discussed. Users edit Markdown beside a preview rendered as GitHub, Slack, rich text or plain text, and can select text to get alternatives or apply Shorten and Tighten actions; when text is selected, a chat message changes only that portion. The draft's agent remains aware of the session the draft came from.
Output is copied formatted for the target with ⌘⇧C, or handed back to the agent with instructions such as "done, file the issue". Running draftmux README.md opens a file as a draft with its own agent session rooted in the file's directory. The tool ships for macOS Apple silicon (macOS 11 or later), Linux and Windows, with a Homebrew install script and a macOS command-line installer so Pi and Claude Code can invoke draftmux.
猎鹰不保存原文正文。标题与摘要用于快速发现信息,事实细节请以来源原文为准。