orke agent-account switch-prepare
Capture the target revision, live census and exact Codex restart ticket. Review the result and apply its previewId within five minutes.
When to use it
Capture the target revision, live census and exact Codex restart ticket. Review the result and apply its previewId within five minutes.
Syntax
Terminal
orke agent-account switch-prepare --agentId <claude|chatgpt> --runtime <host|isolated> --accountId <string> --revision <string> [--json]Options
| Option | Required | Values and meaning |
|---|---|---|
--agentId | Required | Provider account kind claude|chatgpt; separate from member sign-inclaude|chatgpt |
--runtime | Required | Credential-vault/usage environment: host|isolatedhost|isolated |
--accountId | Required | Managed account ID from agent-account list; not a credential or pathstring |
--revision | Required | Settings revision from a preceding read; detects concurrent editsstring |
Read common options and errors →
Role and constraints
operator · windows, macos, linux
- Requires a running daemon owned by the same OS user; --help never connects.
- A person completes provider login/consent in the returned session. Isolated accounts require that environment to be ready and do not borrow host authentication. Tokens and login files are never returned.
Examples
Terminal
orke agent-account switch-prepare --agentId chatgpt --runtime host --accountId acct-… --revision <revision> --jsonReplace example IDs, slugs, revisions, and files with actual observations and inputs.
Response and partial results
{previewId, expiresAt, target, census, headline, liveSessionsLine, outsideProcessesLine}