VS Code 1.141 background shells and a long Sume render
VS Code 1.141 tracks background shells for agent sessions. Start a Sume render, keep the job id, and use sume jobs watch instead of repeating the paid create.

VS Code 1.141 (Oct 7) lists background shell tracking for agent sessions. If an agent starts a Sume render and waits in a shell, the shell is only your wait. The job lives on Sume; if the shell goes, reopen it with sume jobs watch <job_id>, not with a second paid create.
What did 1.141 add?
The release notes list agent sandboxing on Windows, macOS and Linux, a session grid layout, background shell tracking, Codex handoff, and a view of discovered MCP servers in the Customizations editor.
| Area | Item |
|---|---|
| Agent sandboxing | chat.agent.sandbox.enabled |
| Sessions | Session grid layout; Codex handoff |
| Terminals | Background shell tracking |
| MCP | Discovered servers in the Customizations editor |
Which commands recover a Sume job?
The CLI keeps recovery commands that never submit: sume jobs list, get, status, events, result, watch, download and cancel. The docs say jobs watch polls until the job reaches a terminal state or a timeout occurs, and jobs download writes finished media into a local directory.
sume jobs get <job_id> --agent --json
sume jobs watch <job_id>
sume jobs download <job_id> --output-dir ./outWhat should the agent prompt say?
Three lines are enough:
- Print the job id when the create returns.
- If the shell or session is lost, run
sume jobs getbefore anything else. - Never submit the same paid request again because a local wait timed out.
Does a sandbox change this?
It can. A sandboxed agent may block network access to Sume's hosts, so check that api.sume.com is reachable first. Cancel is a separate command: sume jobs cancel <job_id> --confirm-submit, and it works only before generation starts. See CLI jobs and assets.
Sources
Related posts
More in Integrations
- Apps Script fetchAll: check 20 Sume run statuses in one call
fetchAll takes an array of requests and returns an array of responses. Use it to poll many Sume run statuses in one trigger without a loop of fetches.
- Apps Script LockService tryLock stops a double Sume run
Wrap the Sume submit in an Apps Script lock so two triggers or edits cannot start the same paid run, then add an idempotency key so a retry is safe.
- Azure Logic Apps HTTP action times out at 120 s: long Sume runs
Logic Apps HTTP actions time out at 120 s. Start a Sume Format run (202 receipt), pass a webhook URL, and set an idempotency key so retries stay safe.
- Bitbucket merged-PR webhook to a Sume Format run: verify first
Verify Bitbucket's X-Hub-Signature (sha256=) with its published test values, then start a Sume Format run on pullrequest merged with a key built from the PR.
Written by Sume