等 Claude 的时候,看看它在写什么

While Claude works, read what it writes

Cowait 是放在 Claude Code 旁边的小面板。每一轮改了哪些文件一目了然,有问题写一句话,Claude 下一步就看到,不用打断它。看完了,玩一局、解一道每日谜题,或者刷几张卡。

Cowait is a small panel next to Claude Code. Every turn's files at a glance, and one line from you reaches Claude on its next step, no interruption. Done reading? Play a round, solve the daily puzzle or study a few cards.

npm install -g cowait-cli

需要 Node.js 20 或更新版本。Needs Node.js 20 or newer.

然后在项目里运行Then, in your project, run cowait split,按一下 Enter 就接入好了。 and press Enter once to hook it up.

Cowait 面板的演示:一轮改动按文件列出,给 Claude 的留言在它下一步送达,完成提醒,整轮通过,解出今日栈机谜题 Cowait panel demo: a turn's files, a note Claude receives on its next step, the finished alert, approving the turn, solving today's Stack Puzzle

一次两分钟的等待One two-minute wait

这是 Claude Code 一天要来回几十次的那段时间。别的工具让你在这段时间里走开,Cowait 让你留在工作里。

The stretch of time you sit through dozens of times a day. Other tools pull you away from it; Cowait keeps you in the work.

  1. 你给 Claude 派了个活。面板开了新的一轮,标题就是你说的那句话。

    You give Claude a task. The panel starts a new turn, titled with what you asked.

  2. Claude 改了 orders.ts,它马上出现在面板里。你开始看。

    Claude edits orders.ts and it shows up at once. You start reading.

  3. 你发现一个问题,写了一句话。Claude 下一步就看到,不用按 Esc。

    You spot a problem and write one line. Claude sees it on its next step; no Esc needed.

  4. Claude 干完了,面板响铃:改了 3 个文件、测试通过。按 Enter 看剩下的。

    Claude is done and the panel rings: 3 files, tests passed. Enter shows the rest.

  5. 都看过了。解一道今天的栈机谜题,顺便想想下一句话。

    All read. Solve today's Stack Puzzle while you think of the next message.

四个页面Four tabs

按轮看 Claude 改了什么

See what Claude changed, turn by turn

每一轮一组:你当时说的话、用时、测试结果,下面是这一轮改过的文件。同一个文件改了几次就合在一起看。只有在屏幕上停留够久的改动才算审过,所以覆盖率这个数是可信的。

One group per turn: what you asked, how long it took, whether tests passed, then its files. Several edits to one file are read together. Only changes that stayed on screen long enough count as reviewed, so the coverage number means something.

  • y没问题looks fine
  • n写一句话给 Claudewrite Claude a line
  • Y整轮通过approve the whole turn
审阅页 Review tab

每天都有理由回来A reason to come back every day

  • 连续天数Streak 审过一个文件、刷 5 张卡或解出每日谜题,这一天就算数。只玩游戏不算。 Read one change, study 5 cards or solve the daily puzzle and the day counts. Playing alone does not.
  • 今日任务Daily quests 每天三个:审阅、学习、游戏各一个。 Three a day: one each for reviewing, learning and playing.
  • 每周回顾Weekly recap 上周 Claude 干了多少活,你认真看了多少,抓到几个问题。 How much Claude did last week, how much of it you read, how many problems you caught.

开源,免费,不用注册Open source, free, no sign-up

Cowait 用 MIT 协议开源。所有功能都免费,没有付费版,也没有账号。代码就在 GitHub 上,可以随便看、随便改。

Cowait is MIT licensed. Every feature is free; there is no paid tier and no account. The code is on GitHub to read and change.

在 GitHub 上点个 StarStar it on GitHub

常见问题Questions

会不会拖慢 Claude?Does it slow Claude down?

不会。hook 是一个没有依赖的小程序,每次几十毫秒,永远以 0 退出,带 4 秒硬超时。它不挂在工具调用之前(PreToolUse),只在之后记一笔。

No. The hook is a tiny dependency-free program that takes a few tens of milliseconds, always exits 0 and has a hard 4-second timeout. It never runs before a tool call (no PreToolUse), only after.

我的代码会被发到哪里吗?Does my code go anywhere?

不会。改动只存在你自己电脑上。会联网的只有两件事:每天最多一次查有没有新版本,以及你主动让 AI 出题时把主题或几处 diff 发给模型。都可以关掉。没有账号、没有统计、没有遥测。

No. Diffs stay on your machine. The only network calls: at most one version check a day, and the topic or a few diffs when you ask the AI for a deck. Both optional. No account, no analytics, no telemetry.

支持哪些终端和系统?Which terminals and systems?

Windows、macOS、Linux。cowait split 能在 Windows Terminal、tmux、zellij、WezTerm、kitty、iTerm2 里自动分屏;别的终端自己开一个窗格运行 cowait 就行。

Windows, macOS and Linux. cowait split opens the pane for you in Windows Terminal, tmux, zellij, WezTerm, kitty and iTerm2; elsewhere, open a pane and run cowait.

怎么卸载?How do I uninstall it?

cowait uninstall 只删 Cowait 自己加的 hooks,其他配置原样保留;安装时也会先备份 settings.json。

cowait uninstall removes only the hooks Cowait added and leaves everything else alone; installing backs up settings.json first, too.