Commit cf1350a
committed
feat: save transcript checkpoints at additional points
Save transcript state when:
- User cancels a request (ESC during streaming)
- Waiting for tool approval (before user input)
- Agent encounters an error
This ensures transcript progress is preserved even when the
agent doesn't complete its turn normally.1 parent 8a2fe2f commit cf1350a
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
629 | 632 | | |
630 | 633 | | |
631 | 634 | | |
| |||
818 | 821 | | |
819 | 822 | | |
820 | 823 | | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
821 | 827 | | |
822 | 828 | | |
823 | 829 | | |
| |||
910 | 916 | | |
911 | 917 | | |
912 | 918 | | |
913 | | - | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
914 | 923 | | |
915 | 924 | | |
916 | 925 | | |
| |||
0 commit comments