
Writing a pi extension that tells you when the agent is done
·7 min read
I keep switching away while pi works. It's a long edit, or a test suite, and there's nothing to watch, so I go read something else. Then I come back to a prompt that finished four minutes ago. The
I keep switching away while pi works. It's a long edit, or a test suite, and there's nothing to watch, so I go read something else. Then I come back to a prompt that finished four minutes ago. The other direction is worse: it died on a rate limit right after I looked away, and I found out much later. pi does report its state to the terminal — working, blocked, done, failed — but that's an escape sequence too, and almost nothing implements it yet. Most of us are in Warp or Ghostty or iTerm2, whic
14
0
5
0
