Repository navigation
Commit cefab49
fix(antigravity): let Stop end commands that outlived their turn
Antigravity keeps a backgrounded command (a watcher, a dev server) open
after end_turn, and T3 shows it as Monitoring. The Stop button on that
banner sends a turn interrupt, which the adapter turned into
session/cancel. With no prompt running that did nothing, so Monitoring
stayed up until the command exited on its own or the server restarted
(#12325).
The agent only kills its background commands when its session closes,
so when nothing but promoted commands is running, interruptTurn now
stops the session, as Claude's adapter does. That completes each
command as stopped; the next turn resumes the conversation.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent e67abcf commit cefab49
2 files changed
Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
778 | 816 | | |
779 | 817 | | |
780 | 818 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1165 | 1165 | | |
1166 | 1166 | | |
1167 | 1167 | | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
1168 | 1175 | | |
1169 | 1176 | | |
1170 | 1177 | | |
| |||
0 commit comments