Repository navigation
中文说明见下方 ↓ 中文说明
A long project you can still read at a glance: pinch the Branches view down to its milestones or its starred records. Search finds lines, merges take their agents and to-dos along, and the phone opens a line's agent in one tap.
New
- Pinch the Branches view to zoom. Three levels: every record in full, milestones (decisions, starred, forks and merges in full, with finished to-dos under them as short rows), starred only. The other records shrink to small beads on their lines, spaced like a transit map, not to scale: a fork or merge keeps a slot of its own so its curve has room to turn, a run of plain records shares a stretch that grows with the square root of its count, and a faint +N beside it says how many are there. Pinch with two fingers or on the trackpad, or use the translucent switch floating at the bottom right. While you pinch, its thumb and the graph follow your fingers; the row under them stays where it is and the graph scales about it.
- Search finds lines, and can look in one field only. The search box now matches line names, groups and folders as well as records, and lists what it found under the box: lines first, then the newest records; click one to go to it. Type
#to pick one field to search:#line,#title,#body,#typeor#links(#线路,#标题,#正文,#类型,#链接), then the text. - After a merge, the agents go with the line. Merging a line into another (keeping the merged line) now takes its sessions and its open to-dos along: what those agents log from then on lands on the line it went into, each is told once at its next turn, and finished to-dos stay behind as history. A record logged to a merged line by its id goes there too. Undoing the merge takes them back (not the ones you moved by hand since); what the agents logged on the other line meanwhile stays there.
- Records written on a merged line after its merge move to the line it went into. A session that had not followed yet, or another machine's older copy, could still leave records on the merged line, where the branch view drew them above the merge. They now go to the target line, and undoing the merge takes them back.
- A line that changes group takes its branches along. Moving a line to another group (or out of one) now moves the lines merged into it, which sit in its card, and its forks that were in the group it left, nested ones too; a fork you put in a different group stays there. A merged line is always in the group of the line it went into.
- Open what an agent wrote, from any of your machines. A turn's record now lists the files it changed, and its reports (.md, .txt) and images open in the reader from there, without the agent having to link them; code and data still open only when linked. When the file is on the machine that wrote the record and not on this one, the reader says so and offers to pull it over ssh (key login only); the copy is kept under the data folder (
files/<machine>/), opens straight away the next time, and says where it came from, with "Pull again" beside it. - On the phone, a line's page starts with Talk to this line's agent: it opens the running session's chat in the Claude app (Remote Control). Sessions on another machine get the same link, and the phone no longer offers links only the computer can open.
- Resume another machine's session from here. The resume command goes over ssh into a tmux session there, so it keeps running when the window closes or the network drops.
trace_forkcan start the new line's agent (start: claude, codex, gemini or agy), in the terminal you chose and bound to the line.
Fixed
- A resumed session stays on its line. A Codex session woken by a dispatch landed on another line: Codex runs every session's hooks under one background daemon, and a daemon first started by a hand-over kept that line's id in its environment. A line handed through the environment now binds only a session that has not taken a prompt yet, and is ignored under Codex's daemon.
- A session resumed by a dispatch that an agent ran no longer moves onto that agent's line.
- A turn records what it produced, not its scratch work: files that are in the project and still there when the turn ends.
- The page server restarts itself after a
git pullit did not make, so it no longer keeps running old code.
中文说明
这一版的重点:项目再长也能一眼看清——在分支视图里捏合,缩到只剩要点或只剩星标记录。搜索能找到线,合并会带上线上的 agent 和待办,手机上一点就能打开这条线的 agent。
新功能
- 捏合缩放分支视图。 三档:全部记录完整显示;要点(决定、星标、分叉和合并完整显示,做完的待办作为矮一截的子行排在下面);只看星标。其余记录缩成线上的小点,间距像地铁图一样是示意性的,不按比例:分叉和合并各占一格,曲线有地方转弯;一串普通记录共用一段,长度按数量的平方根增长,旁边一个很淡的 +N 说明有多少条。双指或在触控板上捏合,或者用右下角悬浮的半透明开关。捏合时开关的滑块和图跟着手指走,手指下的那一行留在原处,其余的围绕它缩放。
- 搜索能找到线,也能只搜一个字段。 搜索框现在除了记录,也匹配线名、分组和目录,并把结果列在框下面:先是线,再是最新的记录,点一下就过去。输入
#选一个字段来搜:#线路、#标题、#正文、#类型、#链接(#line、#title、#body、#type、#links),后面接要搜的文字。 - 合并之后,agent 跟着线走。 把一条线合并进另一条(保留被合并的线)时,它的会话和没做完的待办一起过去:这些 agent 之后记的东西落在目标线上,各自在下一轮被告知一次,做完的待办留在原处作为历史。按 id 记到已合并线上的记录也会过去。撤销合并会把它们带回来(你之后手动移走的除外);这期间 agent 在目标线上记的东西留在那里。
- 合并之后写在被合并线上的记录,会移到它并入的那条线。 还没跟过去的会话,或另一台机器上较旧的副本,仍可能把记录留在被合并的线上,分支视图会把它们画在合并点上方。现在它们会去目标线,撤销合并时再回来。
- 线换分组时带上它的分支。 把一条线移到别的分组(或移出分组)时,并入它、收在它卡片里的线一起移;它在原分组里的分叉也一起移,嵌套的也算;你放到别的分组里的分叉留在原处。被合并的线始终和它并入的那条线在同一个分组。
- 在任何一台机器上打开 agent 写的东西。 一轮的记录现在列出它改动的文件,其中的报告(.md、.txt)和图片可以直接在阅读器里打开,不需要 agent 另外加链接;代码和数据仍然只有加了链接才能打开。文件在写这条记录的那台机器上、不在这台上时,阅读器会说明,并可以通过 ssh 拉过来(只用密钥登录);副本存在数据目录下(
files/<机器>/),下次直接打开,并标明来自哪里,旁边有「重新拉取」。 - 手机上,线的页面最上面是和这条线的 agent 对话:在 Claude app 里打开正在运行的会话(Remote Control)。别的机器上的会话也有同样的链接,手机上不再给出只有电脑才能打开的链接。
- 在这里恢复另一台机器上的会话。 恢复命令通过 ssh 进到那边的一个 tmux 会话里,窗口关掉或网络断开时它照样运行。
trace_fork可以直接启动新线的 agent(start:claude、codex、gemini 或 agy),开在你选的终端里,并绑定到这条线。
修复
- 恢复的会话留在自己的线上。 被分派叫醒的 Codex 会话曾落到别的线上:Codex 把所有会话的 hook 都跑在一个后台进程下,而一个最初由交接启动的后台进程会把那条线的 id 留在环境里。现在通过环境交接的线只绑定还没接过指令的会话,在 Codex 的后台进程下则忽略。
- 由 agent 运行的分派恢复的会话,不再跑到那个 agent 的线上。
- 一轮记下的是它的产出,不是草稿:只记在项目里、且这一轮结束时仍然存在的文件。
- 页面服务在不是它自己做的
git pull之后会自己重启,不再继续跑旧代码。