Repository navigation
Docs: put a sandbox to sleep now; idle sandboxes are asleep, not paused (D6.7) - #39
Merged
Merged
Conversation
…ed (D6.7) - guides/environments: "Idle sandboxes are paused" becomes "When a sandbox sleeps" (what comes back, what does not) and a new "Put a sandbox to sleep now" section. - reference/overview: two rows in Orca extensions and a "Session sandbox" section with the session.sandbox object, last_sleep.reason, the POST statuses and a curl example. - cli/commands (sessions sleep, --no-wait, --json; sessions get shows the sandbox), cli/mcp (sleep_session), dashboard/agents-and-sessions (Put a sandbox to sleep), guides/sessions (one paragraph). - "paused" and "resumes" for a sandbox's state become asleep, goes to sleep and wakes in turn-lifecycle, plans, start-here, wallet, troubleshooting and kits/cram-coach. - check_docs.py: the idle-time number check also catches "sleep after N minutes". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs for D6.7, put a session's sandbox to sleep now. Design: https://github.com/okikorg/orca-design/blob/main/designs/sandbox-sleep.md (orca-design #123). The word is "sleep" (S1); every sleep, whatever started it, says "asleep" (A1).
Merge after the server PR is deployed and the CLI 1.5.0 is released. Do not merge before: the routes,
orca sessions sleepandsleep_sessiondo not exist until then.Pages changed
guides/environments.mdx: "Idle sandboxes are paused" becomes "When a sandbox sleeps" (what comes back after waking, what does not), plus a new "Put a sandbox to sleep now" section (CLI, dashboard, MCP tool, HTTP).guides/sessions.mdx: one paragraph and a link.turn-lifecycle.mdx: thedisconnectedandpendingrows and the Note say asleep, waking up.dashboard/agents-and-sessions.mdx: "Put a sandbox to sleep" beside "Delete".cli/commands.mdx:orca sessions sleep <id> [--no-wait] [--json]and a short section;sessions getshows the sandbox.cli/mcp.mdx:sleep_sessionin the Sessions row, and what it does (waits up to 60 seconds).reference/overview.mdx:GET /api/sessions/{session_id}/sandboxandPOST /api/sessions/{session_id}/sandbox/sleepin "Orca extensions", then a "Session sandbox" section: thesession.sandboxobject withlast_sleep.reason, the POST status table, and a curl example.plans.mdx,start-here.mdx,wallet.mdx: "paused" becomes "goes to sleep" / "asleep" / "wakes".troubleshooting.mdx(a running sandbox goes to sleep when credit runs low) andkits/cram-coach.mdx("until it goes to sleep").scripts/check_docs.py: the idle-time number check also catches "sleep(s) after N minutes", since "paused after" no longer appears.Left as they are: "paid work is paused" and
paid_work_paused(wallet, plans, dashboard/wallet-and-usage, cli/commands), the paid-work gate and an API field, not a sandbox's state; "pauses the turn" for function tools and the out-of-credit turn notice (concepts, glossary, guides/function-tools, dashboard/agents-and-sessions); "resumes the conversation/session" (build-with-the-api, cli/commands, guides/sessions "Resume later"); everything inorcacode/.No plan number and no snapshot size limit is typed: idle time links the pricing page, and an oversized workspace is "too large to save".
Rebased on main (docs #38, D6.8 limits)
Rebased onto d6509b1. Both sides kept in
wallet.mdx: the storage limit from #38, "goes to sleep" from this PR. The "paused" and "resumes" wording that #38 added for sandboxes inplans.mdxandtroubleshooting.mdxnow says "asleep" and "wakes". The sandboxes at once paragraph inplans.mdxno longer quotes the 429 message with its numbers (the check above caught "sleep after 10 minutes"); it describes the message and links putting a sandbox to sleep now, which frees its place. The troubleshooting line forrate_limit_exceededaddsorca sessions sleep <id>.Checks
The D6.7 PRs
🤖 Generated with Claude Code