[BUG] Agent sessions are not persisted when canceled.

Status Open
Reported on v2.1.281
Maintainer reply None cached
Activity 0 comments · opened Sep 25, 2026

Bug Description
I never want to lose an (sub-)agent session because I canceled it. Why are you flushing my tokens I spent money on!? I am mashing escape 42 times trying to get the damn harness to immediately stop. It doesn't mean I want to cancel the session and throw away all of those tokens, wtf.

Environment Info

  • Platform: linux
  • Terminal: vte-based
  • Version: 2.1.281
  • Feedback ID: ffe50840-4a3c-41f6-af50-43b865ce134d

Errors

[]

View original on GitHub ↗