Commit ee812fb
committed
Fixes #4881: Preserve subtask completion state during task resumption
- Modified task resumption logic in Task.ts to detect completed subtasks
- Added check for finishTask tool completion when determining resume type
- Ensures completed subtasks show 'Start New Task' button instead of 'Resume Task'
- Prevents unnecessary re-execution of completed subtasks and token costs1 parent 2e2f83b commit ee812fb
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
815 | | - | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
816 | 836 | | |
817 | 837 | | |
818 | 838 | | |
| |||
0 commit comments