Feature hasn't been suggested before.
Describe the enhancement you want to request
Sometimes a sub-agent has to be paused or some unforeseen circumstance causes it to abort automatically. In these cases the subagent is lost. There is no session-id to re-use, and the only thing the main agent can do is start the same task over.
This is quite annoying and wasteful of tokens. Why not simply always return the session id and let any subagent be resumed, no matter if it's "aborted" or "finished".
Feature hasn't been suggested before.
Describe the enhancement you want to request
Sometimes a sub-agent has to be paused or some unforeseen circumstance causes it to abort automatically. In these cases the subagent is lost. There is no session-id to re-use, and the only thing the main agent can do is start the same task over.
This is quite annoying and wasteful of tokens. Why not simply always return the session id and let any subagent be resumed, no matter if it's "aborted" or "finished".