With mid-turn SaveSession in place, interrupt keeps in-memory session state matching the on-disk state rather than restoring the pre-turn snapshot. The model resumes naturally from the saved history on the next turn. Remove sessionClean — no longer needed now that all interrupted sessions are kept rather than conditionally discarded. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| commands.go | ||
| core.go | ||
| core_test.go | ||
| fifo_test.go | ||
| hooks.go | ||
| loop.go | ||
| prompt_resolver.go | ||
| session.go | ||
| state.go | ||
| types.go | ||
| waitchange_test.go | ||