I have a shell tool my agent uses to essentially has it´s own computer. It uses Vercel Sandbox behind. When a command takes longer than 1 minute, I want to leave it running, while letting the agent query the progress of the command execution at any time in the near future. Thing is, to prevent cost, I stop the command as soon as it finishes, and getCommand will return 410 sandbox_stopped.
How can I retrieve the logs and stdout and stderr of a command of an stopped session?
I have a shell tool my agent uses to essentially has it´s own computer. It uses Vercel Sandbox behind. When a command takes longer than 1 minute, I want to leave it running, while letting the agent query the progress of the command execution at any time in the near future. Thing is, to prevent cost, I stop the command as soon as it finishes, and getCommand will return 410 sandbox_stopped.
How can I retrieve the logs and stdout and stderr of a command of an stopped session?