Repository navigation
Commit 69463d6
fix(server): a subagent from a closed Claude process no longer blocks model changes
A subagent registered as running when its CLI process was closed (Stop,
rollback, fork, or the replacement this guard allows) never reports its end,
so it kept refusing later model changes. The live query now remembers which
running subagents predate it and only counts the ones it started.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent 0ea993d commit 69463d6
2 files changed
Lines changed: 39 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7268 | 7268 | | |
7269 | 7269 | | |
7270 | 7270 | | |
| 7271 | + | |
| 7272 | + | |
| 7273 | + | |
| 7274 | + | |
| 7275 | + | |
| 7276 | + | |
| 7277 | + | |
| 7278 | + | |
| 7279 | + | |
| 7280 | + | |
| 7281 | + | |
| 7282 | + | |
| 7283 | + | |
| 7284 | + | |
| 7285 | + | |
| 7286 | + | |
| 7287 | + | |
| 7288 | + | |
| 7289 | + | |
| 7290 | + | |
| 7291 | + | |
| 7292 | + | |
| 7293 | + | |
7271 | 7294 | | |
7272 | 7295 | | |
7273 | 7296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2617 | 2617 | | |
2618 | 2618 | | |
2619 | 2619 | | |
| 2620 | + | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
2620 | 2624 | | |
2621 | 2625 | | |
2622 | 2626 | | |
| |||
6663 | 6667 | | |
6664 | 6668 | | |
6665 | 6669 | | |
6666 | | - | |
| 6670 | + | |
| 6671 | + | |
| 6672 | + | |
6667 | 6673 | | |
6668 | 6674 | | |
6669 | 6675 | | |
6670 | | - | |
| 6676 | + | |
6671 | 6677 | | |
6672 | 6678 | | |
6673 | 6679 | | |
6674 | 6680 | | |
6675 | | - | |
| 6681 | + | |
6676 | 6682 | | |
6677 | 6683 | | |
6678 | 6684 | | |
| 6685 | + | |
6679 | 6686 | | |
6680 | 6687 | | |
6681 | 6688 | | |
| |||
6727 | 6734 | | |
6728 | 6735 | | |
6729 | 6736 | | |
6730 | | - | |
| 6737 | + | |
6731 | 6738 | | |
6732 | 6739 | | |
6733 | 6740 | | |
| |||
6829 | 6836 | | |
6830 | 6837 | | |
6831 | 6838 | | |
| 6839 | + | |
| 6840 | + | |
| 6841 | + | |
| 6842 | + | |
| 6843 | + | |
6832 | 6844 | | |
6833 | 6845 | | |
6834 | 6846 | | |
| |||
0 commit comments