{"binary":"ocloud","commands":[{"about":"Sign in to Olef Cloud: approve this machine at app.olef.dev/activate","args":[{"help":"Print the sign-in URL and code instead of opening a browser","id":"no_browser","long":"no-browser","positional":false,"required":false,"short":null},{"help":"Return at once with the code and URL; run `ocloud login` again after approval","id":"no_wait","long":"no-wait","positional":false,"required":false,"short":null},{"help":"Read an access key (or refresh token) from stdin instead of a browser","id":"key_stdin","long":"key-stdin","positional":false,"required":false,"short":null}],"command":"ocloud login","path":["login"]},{"about":"Sign out: revoke this machine's token and forget it","args":[],"command":"ocloud logout","path":["logout"]},{"about":"The signed-in account: email, invite state, plan","args":[],"command":"ocloud whoami","path":["whoami"]},{"about":"The orgs you're in, your role in each, and the one in use","args":[],"command":"ocloud org list","path":["org","list"]},{"about":"Use an org for cloud verbs on this machine: new links, leases, `plan usage` and `cloud plan`. `--clear` goes back to the account's default org","args":[{"help":"The org's slug (or id)","id":"slug","long":null,"positional":true,"required":false,"short":null},{"help":null,"id":"clear","long":"clear","positional":false,"required":false,"short":null}],"command":"ocloud org use","path":["org","use"]},{"about":"Create a team org; you're its owner","args":[{"help":"The org's name (\"Acme Mobile\")","id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"The slug for URLs and `--org` (default: from the name)","id":"slug","long":"slug","positional":false,"required":false,"short":null},{"help":"Use it for cloud verbs right away","id":"use_it","long":"use","positional":false,"required":false,"short":null}],"command":"ocloud org create","path":["org","create"]},{"about":"An invite link to the org in use, for you to share (it's never emailed). Valid 14 days, for one person","args":[{"help":"Only this address can accept it","id":"email","long":"email","positional":false,"required":false,"short":null},{"help":"developer (default), guest, billing or admin","id":"role","long":"role","positional":false,"required":false,"short":null}],"command":"ocloud org invite","path":["org","invite"]},{"about":"The members of the org in use, and its pending invites","args":[],"command":"ocloud org members","path":["org","members"]},{"about":"Leave the org in use: your sessions there stop; your workspaces stay with its admins","args":[],"command":"ocloud org leave","path":["org","leave"]},{"about":"The projects in the org in use and your role on each","args":[],"command":"ocloud project list","path":["project","list"]},{"about":"One project: its repo, shared settings, shared secret names, who works on it, and the workspaces you may see","args":[{"help":"The project's id or slug","id":"project","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud project show","path":["project","show"]},{"about":"Create a project in the org in use, from a repo the org's GitHub installations reach (`--repo-id`), or with none (`--name`)","args":[{"help":"GitHub's id of the repository","id":"repo_id","long":"repo-id","positional":false,"required":false,"short":null},{"help":"Its name (default: the repository's)","id":"name","long":"name","positional":false,"required":false,"short":null}],"command":"ocloud project create","path":["project","create"]},{"about":"Make your own workspace from a project (a GitHub working copy of `--branch`, default the repo's default branch)","args":[{"help":null,"id":"project","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"branch","long":"branch","positional":false,"required":false,"short":null},{"help":"`android` (default), `general` or `web`","id":"template","long":"template","positional":false,"required":false,"short":null}],"command":"ocloud project workspace","path":["project","workspace"]},{"about":"Give, change or remove one grant on an inbox, project, workspace or host pool","args":[{"help":"What to grant on: inbox, project or workspace","id":"resource","long":null,"positional":true,"required":true,"short":null},{"help":"The inbox's address or id, the project's id or slug, or the workspace's id","id":"id","long":null,"positional":true,"required":true,"short":null},{"help":"Who: `user:<id|email>` (or a bare email), `team:<id|slug>`, `agent:<id>`, `org_members` or `anyone` (the last two on inboxes)","id":"principal","long":null,"positional":true,"required":true,"short":null},{"help":"The role: admin, developer or viewer on a project; collaborator or watcher on a workspace","id":"role","long":"role","positional":false,"required":false,"short":null},{"help":"Inbox permissions, comma-separated: discover, write, read, consume, approve, manage","id":"perms","long":"perms","positional":false,"required":false,"short":null},{"help":"An agent's project secrets by name, comma-separated (empty removes them)","id":"secrets","long":"secrets","positional":false,"required":false,"short":null},{"help":"When an inbox grant ends (RFC 3339, like 2026-12-01T00:00:00Z)","id":"expires_at","long":"expires-at","positional":false,"required":false,"short":null},{"help":"Remove the grant instead","id":"rm","long":"rm","positional":false,"required":false,"short":null}],"command":"ocloud grant","path":["grant"]},{"about":"List who has what on an inbox, project, workspace or host pool","args":[{"help":"inbox, project or workspace","id":"resource","long":null,"positional":true,"required":true,"short":null},{"help":"The inbox's address or id, the project's id or slug, or the workspace's id","id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud grants","path":["grants"]},{"about":"Your linked external accounts (GitHub, Atlassian)","args":[],"command":"ocloud account ls","path":["account","ls"]},{"about":"Link an account: the one-time code Jira showed you, or --github to get GitHub's sign-in link","args":[{"help":null,"id":"code","long":null,"positional":true,"required":false,"short":null},{"help":null,"id":"github","long":"github","positional":false,"required":false,"short":null}],"command":"ocloud account link","path":["account","link"]},{"about":"Unlink an account (github or atlassian)","args":[{"help":null,"id":"provider","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud account unlink","path":["account","unlink"]},{"about":"Repositories you (or an org's projects) can use","args":[{"help":"Repositories the org in use's projects can use (through its installations), instead of yours","id":"org_wide","long":"org-wide","positional":false,"required":false,"short":null},{"help":"Through one connection (a GitHub installation)","id":"connection","long":"connection","positional":false,"required":false,"short":null}],"command":"ocloud repos","path":["repos"]},{"about":"Usage this period against the plan: included vs used per meter, overage, credits, spend cap, reset date","args":[],"command":"ocloud plan usage","path":["plan","usage"]},{"about":"Switch plan. Without a paid plan: opens Checkout. A higher plan (or monthly to yearly) applies now, prorated; a lower plan or `free` applies at the end of the period. The current plan again undoes a pending change","args":[{"help":"The plan id (`ocloud plan` lists them): free, pro","id":"plan","long":null,"positional":true,"required":true,"short":null},{"help":"Bill yearly (two months free)","id":"yearly","long":"yearly","positional":false,"required":false,"short":null},{"help":"Bill monthly","id":"monthly","long":"monthly","positional":false,"required":false,"short":null},{"help":"Print the Checkout URL instead of opening a browser","id":"no_browser","long":"no-browser","positional":false,"required":false,"short":null}],"command":"ocloud plan change","path":["plan","change"]},{"about":"Open the payment portal: card, invoices and receipts, cancel","args":[{"help":"Print the portal URL instead of opening a browser","id":"no_browser","long":"no-browser","positional":false,"required":false,"short":null}],"command":"ocloud plan portal","path":["plan","portal"]},{"about":"Cap this period's bill (plan price plus overage); usage beyond the included amounts stops at the cap. `default` = the plan price + $50","args":[{"help":null,"id":"usd","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud plan spend-cap","path":["plan","spend-cap"]},{"about":"Buy a credit pack at Checkout: 50, 200 or 1000 (= $1,100 of credits)","args":[{"help":null,"id":"pack","long":null,"positional":true,"required":true,"short":null},{"help":"Print the Checkout URL instead of opening a browser","id":"no_browser","long":"no-browser","positional":false,"required":false,"short":null}],"command":"ocloud plan credits buy","path":["plan","credits","buy"]},{"about":"Link this project folder to a cloud workspace (or host pool via `--on`)","args":[{"help":"The project root (default: the current folder)","id":"path","long":null,"positional":true,"required":false,"short":null},{"help":"Workspace name (default: the folder name)","id":"name","long":"name","positional":false,"required":false,"short":null},{"help":"Don't open the approval page; print its URL","id":"no_browser","long":"no-browser","positional":false,"required":false,"short":null},{"help":"Return at once with the approval URL; run `ocloud link` again after approval","id":"no_wait","long":"no-wait","positional":false,"required":false,"short":null},{"help":"Only show what would upload; create nothing","id":"preview","long":"preview","positional":false,"required":false,"short":null},{"help":"Workspace template: `android` (default), `general`, or `web`","id":"template","long":"template","positional":false,"required":false,"short":null},{"help":"Where the new workspace lives: `cloud` (default) or `host:<pool>[/<host>]`","id":"on","long":"on","positional":false,"required":false,"short":null}],"command":"ocloud link","path":["link"]},{"about":"Stop the cloud session and unlink this project folder","args":[{"help":"The project root (default: the linked project around the current folder)","id":"path","long":null,"positional":true,"required":false,"short":null},{"help":"Also delete the cloud workspace and its disk (local files stay)","id":"delete_workspace","long":"delete-workspace","positional":false,"required":false,"short":null}],"command":"ocloud unlink","path":["unlink"]},{"about":"Link, account, session and sync state for this project","args":[],"command":"ocloud status","path":["status"]},{"about":"Start (or attach to) this project's cloud session and wait until ready","args":[{"help":"Return while the session is still starting","id":"no_wait","long":"no-wait","positional":false,"required":false,"short":null},{"help":"How long to wait for the session (ms)","id":"wait_ms","long":"wait-ms","positional":false,"required":false,"short":null}],"command":"ocloud start","path":["start"]},{"about":"Stop this project's cloud session (the workspace disk is kept)","args":[],"command":"ocloud stop","path":["stop"]},{"about":"Hibernate the workspace now (memory and processes kept)","args":[{"help":"The workspace (name or id; default: the linked project here)","id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"},{"help":"Return once asked instead of waiting until hibernated","id":"no_wait","long":"no-wait","positional":false,"required":false,"short":null}],"command":"ocloud hibernate","path":["hibernate"]},{"about":"Files held back from uploads as possible secrets, and files allowed","args":[],"command":"ocloud sync held","path":["sync","held"]},{"about":"Allow a file that looks like a secret to upload (writes `#allow-secret:` in .olefignore)","args":[{"help":null,"id":"path","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud sync allow-secret","path":["sync","allow-secret"]},{"about":"Run a command inside the linked cloud workspace (`ocloud run -- <cmd...>`), syncing project changes back","args":[{"help":"Don't apply the command's source changes locally","id":"no_sync_back","long":"no-sync-back","positional":false,"required":false,"short":null},{"help":"Forward a host environment variable by name as a secret (`--env NAME`)","id":"env","long":"env","positional":false,"required":false,"short":null},{"help":"The command to execute in the workspace, after `--`","id":"command","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud run","path":["run"]},{"about":"SSH into the workspace with plain `ssh` (short-lived certificate over session tunnel)","args":[{"help":"The workspace (name or id; default: the linked project here)","id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"},{"help":"How long to wait for the session when it is starting (a cold start can take many minutes)","id":"wait_ms","long":"wait-ms","positional":false,"required":false,"short":null},{"help":"Extra `ssh` arguments and a remote command, after `--` (`ocloud ssh -- -L 9229:localhost:9229`, `-- ls -la`)","id":"args","long":null,"positional":true,"required":false,"short":null}],"command":"ocloud ssh","path":["ssh"]},{"about":"The ProxyCommand `ssh olef-<workspace>` uses (from `ocloud ssh-config`)","args":[{"help":"The workspace id","id":"workspace","long":"workspace","positional":false,"required":true,"short":"w"}],"command":"ocloud ssh-proxy","path":["ssh-proxy"]},{"about":"Write `~/.olef/ssh/config` with `Host olef-<name>` entries for workspaces","args":[{"help":"Add the `Include` line to ~/.ssh/config without asking","id":"yes","long":"yes","positional":false,"required":false,"short":null}],"command":"ocloud ssh-config","path":["ssh-config"]},{"about":"Your SSH keys","args":[],"command":"ocloud ssh-key ls","path":["ssh-key","ls"]},{"about":"Register a public key (a `.pub` file) for workspace certificates","args":[{"help":null,"id":"path","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"name","long":"name","positional":false,"required":false,"short":null}],"command":"ocloud ssh-key add","path":["ssh-key","add"]},{"about":"Remove a key: its certificates stop working within a minute","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud ssh-key rm","path":["ssh-key","rm"]},{"about":"Background forwards of the linked project here","args":[{"help":null,"id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"}],"command":"ocloud forward ls","path":["forward","ls"]},{"about":"Stop a background forward by its local port","args":[{"help":null,"id":"local","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"}],"command":"ocloud forward stop","path":["forward","stop"]},{"about":"Open a workspace port in the browser: makes the preview when it's new, starts the workspace when it isn't running, and opens a single-use link","args":[{"help":"The port the workspace's server listens on (e.g. 5173)","id":"port","long":null,"positional":true,"required":true,"short":null},{"help":"The workspace (name or id; default: the linked project here)","id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"},{"help":"A name for the preview when it's new","id":"name","long":"name","positional":false,"required":false,"short":null},{"help":"Print the link instead of opening a browser (it works once, for five minutes)","id":"no_browser","long":"no-browser","positional":false,"required":false,"short":null}],"command":"ocloud preview open","path":["preview","open"]},{"about":"The workspace's previews","args":[{"help":null,"id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"}],"command":"ocloud preview ls","path":["preview","ls"]},{"about":"Remove a preview (by port or id): open pages lose it within a minute","args":[{"help":"The port, or the preview's id","id":"preview","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"}],"command":"ocloud preview rm","path":["preview","rm"]},{"about":"Stop the desktop (its programs quit; the workspace keeps running)","args":[{"help":null,"id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"}],"command":"ocloud desktop stop","path":["desktop","stop"]},{"about":"Get or set this workspace's emulator mode: `none`, `local`, `cloud:<name>`, or `default`","args":[{"help":null,"id":"value","long":null,"positional":true,"required":false,"short":null}],"command":"ocloud workspace device","path":["workspace","device"]},{"about":"Attach the workspace's cloud emulator to local adb (`127.0.0.1:<port>`)","args":[{"help":"The port on 127.0.0.1 here (default: a free one, 15555 first)","id":"port","long":"port","positional":false,"required":false,"short":null},{"help":"How long to wait for the session and emulator (ms)","id":"wait_ms","long":"wait-ms","positional":false,"required":false,"short":null}],"command":"ocloud workspace attach","path":["workspace","attach"]},{"about":"Detach the workspace's cloud emulator from local adb (the session keeps running)","args":[],"command":"ocloud workspace detach","path":["workspace","detach"]},{"about":"List your Olef Cloud emulators and whether each is attached locally","args":[],"command":"ocloud emulator list","path":["emulator","list"]},{"about":"Create a cloud emulator: a named device with its own disk, kept while stopped (billed for storage) and booted on a cloud host (billed for compute while it runs)","args":[{"help":"Its name (`cloud:<name>`)","id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"Device and image, from the catalog (default `phone-36`)","id":"profile","long":"profile","positional":false,"required":false,"short":null},{"help":"A system image from the catalog, instead of the profile's","id":"image","long":"image","positional":false,"required":false,"short":null},{"help":"RAM, e.g. `4G` or `4096` (MB)","id":"ram","long":"ram","positional":false,"required":false,"short":null},{"help":null,"id":"cores","long":"cores","positional":false,"required":false,"short":null},{"help":"Disk size, e.g. `16G`","id":"disk","long":"disk","positional":false,"required":false,"short":null},{"help":"Place it in this workspace's zone (fast and free traffic between them)","id":"near","long":"near","positional":false,"required":false,"short":null},{"help":null,"id":"zone","long":"zone","positional":false,"required":false,"short":null},{"help":"Stop it after this many minutes without use (default 15)","id":"idle_stop_min","long":"idle-stop-min","positional":false,"required":false,"short":null},{"help":"Stop a run after this many hours (default 8)","id":"max_run_hours","long":"max-run-hours","positional":false,"required":false,"short":null},{"help":"Boot it once created","id":"boot","long":"boot","positional":false,"required":false,"short":null}],"command":"ocloud emulator create","path":["emulator","create"]},{"about":"Boot a cloud emulator and wait until it has finished starting","args":[{"help":"Cloud emulator name (`<name>` or `cloud:<name>`)","id":"emulator","long":null,"positional":true,"required":true,"short":null},{"help":"Attach it to local adb once running","id":"attach","long":"attach","positional":false,"required":false,"short":null},{"help":"Return once asked, without waiting","id":"no_wait","long":"no-wait","positional":false,"required":false,"short":null}],"command":"ocloud emulator boot","path":["emulator","boot"]},{"about":"Attach a running cloud emulator to this machine's adb and publish an Attachment Record so `olef` can drive it","args":[{"help":"Cloud emulator name (`<name>` or `cloud:<name>`)","id":"emulator","long":null,"positional":true,"required":true,"short":null},{"help":"Attach although someone else is attached","id":"shared","long":"shared","positional":false,"required":false,"short":null},{"help":"Local adb port (default: a free one from 15600)","id":"port","long":"port","positional":false,"required":false,"short":null}],"command":"ocloud emulator attach","path":["emulator","attach"]},{"about":"Detach a cloud emulator from this machine (it keeps running)","args":[{"help":"Cloud emulator name (`<name>` or `cloud:<name>`)","id":"emulator","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud emulator detach","path":["emulator","detach"]},{"about":"Boot and attach a cloud emulator, run a command with `OLEF_DEVICE` and `ANDROID_SERIAL` set, and unconditionally detach on exit or signal (D6 crash-safe billing wrapper)","args":[{"help":"Cloud emulator name (`<name>` or `cloud:<name>`)","id":"emulator","long":null,"positional":true,"required":true,"short":null},{"help":"Attach although someone else is attached","id":"shared","long":"shared","positional":false,"required":false,"short":null},{"help":"Also stop the cloud emulator when the command finishes (stops compute billing immediately)","id":"stop_on_exit","long":"stop-on-exit","positional":false,"required":false,"short":null},{"help":"Command to run after `--`","id":"command","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud emulator run","path":["emulator","run"]},{"about":"Stop a cloud emulator: its Quick Boot state is saved, compute billing stops","args":[{"help":"Cloud emulator name (`<name>` or `cloud:<name>`)","id":"emulator","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud emulator stop","path":["emulator","stop"]},{"about":"Reset a cloud emulator back to its image: apps and data go","args":[{"help":"Cloud emulator name (`<name>` or `cloud:<name>`)","id":"emulator","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud emulator reset","path":["emulator","reset"]},{"about":"Delete a stopped cloud emulator and its disk","args":[{"help":"Cloud emulator name (`<name>` or `cloud:<name>`)","id":"emulator","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud emulator delete","path":["emulator","delete"]},{"about":"Share a cloud emulator with your org's members, or stop sharing it","args":[{"help":"Cloud emulator name (`<name>` or `cloud:<name>`)","id":"emulator","long":null,"positional":true,"required":true,"short":null},{"help":"Stop sharing it","id":"off","long":"off","positional":false,"required":false,"short":null}],"command":"ocloud emulator share","path":["emulator","share"]},{"about":"A link to a running cloud emulator's live viewer, hosted by Olef","args":[{"help":"Cloud emulator name (`<name>` or `cloud:<name>`)","id":"emulator","long":null,"positional":true,"required":true,"short":null},{"help":"Watch only, without tapping or typing","id":"view","long":"view","positional":false,"required":false,"short":null}],"command":"ocloud emulator viewer","path":["emulator","viewer"]},{"about":"A cloud emulator's boot log (why a boot failed)","args":[{"help":"Cloud emulator name (`<name>` or `cloud:<name>`)","id":"emulator","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud emulator logs","path":["emulator","logs"]},{"about":"Save the running state under a name","args":[{"help":null,"id":"emulator","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"name","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud emulator snapshot save","path":["emulator","snapshot","save"]},{"about":"Load a saved state","args":[{"help":null,"id":"emulator","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"name","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud emulator snapshot load","path":["emulator","snapshot","load"]},{"about":"List the saved states","args":[{"help":null,"id":"emulator","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud emulator snapshot list","path":["emulator","snapshot","list"]},{"about":"Turn a workspace's emulator into a named cloud emulator, once","args":[{"help":"The workspace (name or id)","id":"workspace","long":null,"positional":true,"required":true,"short":null},{"help":"The cloud emulator's name","id":"name","long":"name","positional":false,"required":true,"short":null}],"command":"ocloud emulator adopt","path":["emulator","adopt"]},{"about":"Every device: attached, AVDs, the Cloud emulator, real phones","args":[{"help":"`attached`, `avd`, `cloud`, `real_phone`, `lab`","id":"source","long":"source","positional":false,"required":false,"short":null},{"help":null,"id":"form","long":"form","positional":false,"required":false,"short":null},{"help":null,"id":"api","long":"api","positional":false,"required":false,"short":null},{"help":null,"id":"physical","long":"physical","positional":false,"required":false,"short":null},{"help":"Usable now","id":"available","long":"available","positional":false,"required":false,"short":null},{"help":"Words that must all match","id":"query","long":"query","positional":false,"required":false,"short":null},{"help":"Skip the 10-minute catalog cache","id":"refresh","long":"refresh","positional":false,"required":false,"short":null}],"command":"ocloud devices list","path":["devices","list"]},{"about":"List remote devices that can be reserved (preview: Google Cloud Developer Device Platform, billed to your own Google Cloud project)","args":[{"help":"Who pays (default `ddp.billing`)","id":"billing","long":"billing","positional":false,"required":false,"short":null},{"help":"Only devices with this Android API level","id":"api","long":"api","positional":false,"required":false,"short":null},{"help":"Only this form factor (`phone`, `tablet`, `wearable`, …)","id":"form","long":"form","positional":false,"required":false,"short":null},{"help":"Only physical devices","id":"physical","long":"physical","positional":false,"required":false,"short":null},{"help":"Only virtual devices","id":"virtual_only","long":"virtual","positional":false,"required":false,"short":null},{"help":"Only devices available now","id":"available","long":"available","positional":false,"required":false,"short":null},{"help":"Also list devices that can't be streamed or that your project can't use","id":"all","long":"all","positional":false,"required":false,"short":null}],"command":"ocloud devices catalog","path":["devices","catalog"]},{"about":"Reserve a remote device and attach it to adb as `127.0.0.1:<port>`. Billed while held; released when idle, by `devices release`, or when its maximum duration is reached","args":[{"help":"Device spec from `devices catalog`, e.g. `ddp:komodo-35`","id":"spec","long":null,"positional":true,"required":true,"short":null},{"help":"Who pays (default `ddp.billing`)","id":"billing","long":"billing","positional":false,"required":false,"short":null},{"help":"Initial session length","id":"ttl_ms","long":"ttl-ms","positional":false,"required":false,"short":null},{"help":"The longest the lease is extended automatically while in use (default `ddp.max_duration_ms`, else 2 h)","id":"max_duration_ms","long":"max-duration-ms","positional":false,"required":false,"short":null},{"help":"Release after this long without any adb traffic (default `ddp.idle_release_ms`, else 10 min)","id":"idle_release_ms","long":"idle-release-ms","positional":false,"required":false,"short":null},{"help":"How long to wait for the device to be allocated and online","id":"timeout_ms","long":"timeout-ms","positional":false,"required":false,"short":null}],"command":"ocloud devices reserve","path":["devices","reserve"]},{"about":"Give a reserved device more time","args":[{"help":"Lease id, serial or spec (`devices leases`)","id":"lease","long":null,"positional":true,"required":true,"short":null},{"help":"Time left after extending","id":"ttl_ms","long":"ttl-ms","positional":false,"required":true,"short":null}],"command":"ocloud devices extend","path":["devices","extend"]},{"about":"Release reserved devices: detach them and end the provider session","args":[{"help":"Lease id, serial or spec (`devices leases`)","id":"lease","long":null,"positional":true,"required":false,"short":null},{"help":"Release every lease held on this machine","id":"all","long":"all","positional":false,"required":false,"short":null}],"command":"ocloud devices release","path":["devices","release"]},{"about":"The remote devices held now, with time left and idle time","args":[],"command":"ocloud devices leases","path":["devices","leases"]},{"about":"A viewer link (`view.shadowdroid.dev`) for a held Olef device","args":[{"help":"Lease id, serial or spec (or `cloud:<name>`, a cloud emulator)","id":"lease","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"mode","long":"mode","positional":false,"required":false,"short":null}],"command":"ocloud devices view","path":["devices","view"]},{"about":"Reserve a remote device, run a command with `OLEF_DEVICE` and `ANDROID_SERIAL` set, and unconditionally release the lease on exit or signal (D6 crash-safe billing wrapper)","args":[{"help":"Device spec from `ocloud devices catalog`, e.g. `ddp:komodo-35` or `lab:<host>/<device>`","id":"spec","long":null,"positional":true,"required":true,"short":null},{"help":"Who pays (default `ddp.billing`)","id":"billing","long":"billing","positional":false,"required":false,"short":null},{"help":"Initial session length (ms)","id":"ttl_ms","long":"ttl-ms","positional":false,"required":false,"short":null},{"help":"Maximum automatic lease duration (ms)","id":"max_duration_ms","long":"max-duration-ms","positional":false,"required":false,"short":null},{"help":"Idle release threshold (ms)","id":"idle_release_ms","long":"idle-release-ms","positional":false,"required":false,"short":null},{"help":"Allocation wait timeout (ms)","id":"timeout_ms","long":"timeout-ms","positional":false,"required":false,"short":null},{"help":"Command to execute against the reserved device, after `--`","id":"command","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud devices run","path":["devices","run"]},{"about":"Make this computer a workspace host in one step: your personal org (or `--org`), workspaces on, the service, staying awake on power, and what could still make it unreachable","args":[{"help":"The host's name (default: this computer's name)","id":"name","long":"name","positional":false,"required":false,"short":null},{"help":"The org it serves (name, slug or id; default: your personal org)","id":"host_org","long":"org","positional":false,"required":false,"short":null},{"help":"How many workspace sessions run here at once (default: from memory)","id":"slots","long":"slots","positional":false,"required":false,"short":null},{"help":"Also let managed agents run here, as a dedicated account (never you)","id":"agents","long":"agents","positional":false,"required":false,"short":null},{"help":"Put back the power settings setup changed, and stop there","id":"undo_power","long":"undo-power","positional":false,"required":false,"short":null}],"command":"ocloud host setup","path":["host","setup"]},{"about":"Stop being a host: remove this computer from its org (its leases end, its sessions stop), forget the registration here and stop the service. Workspace folders stay on disk","args":[],"command":"ocloud host unregister","path":["host","unregister"]},{"about":"Register this machine as a host with your Olef Cloud account (needs `cloud login`); keeps the host credential under `~/.olef/host/`","args":[{"help":"The host's name (letters, digits, '-', '_')","id":"name","long":"name","positional":false,"required":true,"short":null},{"help":"What a reset undoes after each lease: `full` (back to the enrolment baseline), `lease_only` (only what the lease installed, created or changed; for devices people also use) or `none`","id":"reset","long":"reset","positional":false,"required":false,"short":null},{"help":"The host's adb server port","id":"adb_port","long":"adb-port","positional":false,"required":false,"short":null},{"help":"Replace an existing host registration on this machine","id":"force","long":"force","positional":false,"required":false,"short":null},{"help":"Join this existing pool of the organization (name or id; `host pools` lists them) instead of starting a pool of its own. Needs the lab manager role","id":"host_pool","long":"pool","positional":false,"required":false,"short":null},{"help":"The org it serves (slug or id; default: your current org)","id":"host_org","long":"org","positional":false,"required":false,"short":null}],"command":"ocloud host register","path":["host","register"]},{"about":"Devices the host's own adb server sees, enrolled or not","args":[],"command":"ocloud host devices","path":["host","devices"]},{"about":"Pair an Android 11+ device for wireless debugging with the host's adb key (the code and port from Settings › Wireless debugging › Pair)","args":[{"help":"`host:port` from the pairing dialog","id":"address","long":null,"positional":true,"required":true,"short":null},{"help":"The six-digit pairing code","id":"code","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud host pair","path":["host","pair"]},{"about":"Enrol a device: probe it, record its baseline, offer it in the Cloud. For a network device give `host:port` (Fire TV: `<ip>:5555`); the device asks once to trust the host's adb key","args":[{"help":"The device's serial on the host's adb server, or `host:port` for a network device","id":"lab_device","long":null,"positional":true,"required":true,"short":null},{"help":"Its name on the host (`lab:<host>/<name>`)","id":"name","long":"name","positional":false,"required":true,"short":null},{"help":"How long to wait for the device to trust the host's key","id":"timeout_ms","long":"timeout-ms","positional":false,"required":false,"short":null}],"command":"ocloud host add","path":["host","add"]},{"about":"Run the host agent: tunnel to the Cloud, serve leases and workspace sessions, reset devices","args":[{"help":"Path to the companion `olef` binary that workspace agents execute (defaults to `OLEF_BIN`, then sibling `olef` beside `ocloud`, then `PATH`)","id":"olef","long":"olef","positional":false,"required":false,"short":null}],"command":"ocloud host serve","path":["host","serve"]},{"about":"The host, its runtime and slots, its devices and their states","args":[],"command":"ocloud host status","path":["host","status"]},{"about":"Whether this host runs workspaces: `none` (devices only), `native` (sessions as processes on this machine) or `vm` (in a VM)","args":[{"help":null,"id":"runtime","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud host set runtime","path":["host","set","runtime"]},{"about":"Whether agents may run here: `on`, `off`, or `default` (on for VM hosts and for native hosts in a personal org)","args":[{"help":null,"id":"agents","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud host set agents","path":["host","set","agents"]},{"about":"How many workspace sessions run here at once (1 to 64)","args":[{"help":null,"id":"slots","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud host set slots","path":["host","set","slots"]},{"about":"Stop offering a device and forget it","args":[{"help":"Device name or id","id":"lab_device","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud host remove","path":["host","remove"]},{"about":"Ask the Cloud to reset a device now (it must be free)","args":[{"help":"Device name or id","id":"lab_device","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud host reset","path":["host","reset"]},{"about":"Offer a quarantined device again, once you have checked it (`host status` says why it was quarantined, `host baseline diff` what differs)","args":[{"help":"Device name or id","id":"lab_device","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud host unquarantine","path":["host","unquarantine"]},{"about":"What was recorded at enrolment","args":[{"help":"Device name or id","id":"lab_device","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud host baseline show","path":["host","baseline","show"]},{"about":"What differs from it now","args":[{"help":"Device name or id","id":"lab_device","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud host baseline diff","path":["host","baseline","diff"]},{"about":"Write the service definition and print the one command (`sudo`) that installs it","args":[{"help":"Also create the account agent runs use (never you), let the service act as it and keep it off your adb and emulators","id":"agents","long":"agents","positional":false,"required":false,"short":null},{"help":"Keep this computer awake on power (macOS `pmset -c`; Linux: no sleep while the service runs, the lid ignored on external power)","id":"stay_awake","long":"stay-awake","positional":false,"required":false,"short":null}],"command":"ocloud host service install","path":["host","service","install"]},{"about":"Print the command that removes it","args":[],"command":"ocloud host service uninstall","path":["host","service","uninstall"]},{"about":"Let the installed service run the agent (no `sudo`)","args":[],"command":"ocloud host service start","path":["host","service","start"]},{"about":"Stop the agent and keep the service from restarting it (no `sudo`); its devices go offline in the Cloud","args":[],"command":"ocloud host service stop","path":["host","service","stop"]},{"about":"The organization's host pools that run workspaces: free and total slots, whether you may use each, and their hosts. (Manage pool grants with `ocloud grant pool <pool> <principal>` and `ocloud grants pool <pool>`.)","args":[],"command":"ocloud host pools","path":["host","pools"]},{"about":"Agents you can see in the org","args":[],"command":"ocloud agent ls","path":["agent","ls"]},{"about":"A new agent: one Claude Code or Codex installation in its own workspace, with an inbox at its address (`team/name`, or `me/name` for your own)","args":[{"help":"Its address: `team/name` for a team's agent, `me/name` (or your own `username/name`) for your own. A bare name goes to the `agents` team","id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"The team's slug (default: agents)","id":"team","long":"team","positional":false,"required":false,"short":null},{"help":"private, team or org (default)","id":"preset","long":"preset","positional":false,"required":false,"short":null},{"help":"claude-code (default) or codex","id":"runtime","long":"runtime","positional":false,"required":false,"short":null},{"help":null,"id":"model","long":"model","positional":false,"required":false,"short":null},{"help":null,"id":"effort","long":"effort","positional":false,"required":false,"short":null},{"help":"The workspace template its runs use (android, general, web…)","id":"template","long":"template","positional":false,"required":false,"short":null},{"help":"The repository it works in: its new workspace holds it","id":"repo","long":"repo","positional":false,"required":false,"short":null},{"help":"Live in a workspace you own (its name or `wsp_…`), beside the files already there, in place of a new workspace","id":"workspace","long":"workspace","positional":false,"required":false,"short":null},{"help":"One of your computers or host pools for its new workspace (`ocloud host pools`); default: Olef Cloud","id":"pool","long":"where","positional":false,"required":false,"short":null},{"help":"Its instructions (at most 8000 bytes)","id":"instructions","long":"instructions","positional":false,"required":false,"short":null},{"help":"Its instructions, read from a local file (at most 8000 bytes)","id":"instructions_file","long":"instructions-file","positional":false,"required":false,"short":null},{"help":"A reviewer for --repo (design 6.7): the review instructions and the Android template unless given, and the commands that give it a credential and a pull request list to watch","id":"reviewer","long":"reviewer","positional":false,"required":false,"short":null}],"command":"ocloud agent create","path":["agent","create"]},{"about":"Change an agent's settings: only the flags given","args":[{"help":"The agent: its id, `team/name`, or a name only one agent has","id":"agent","long":null,"positional":true,"required":true,"short":null},{"help":"A new name (its inbox address stays)","id":"name","long":"name","positional":false,"required":false,"short":null},{"help":"claude-code or codex (the model follows unless given)","id":"runtime","long":"runtime","positional":false,"required":false,"short":null},{"help":"The model (with only --runtime, that runtime's default)","id":"model","long":"model","positional":false,"required":false,"short":null},{"help":"Reasoning effort; '' clears it","id":"effort","long":"effort","positional":false,"required":false,"short":null},{"help":"The workspace template its runs use; '' clears it","id":"template","long":"template","positional":false,"required":false,"short":null},{"help":"The repository requests use when they name none; '' clears it","id":"repo","long":"repo","positional":false,"required":false,"short":null},{"help":"Its instructions (at most 8000 bytes)","id":"instructions","long":"instructions","positional":false,"required":false,"short":null},{"help":"Its instructions, read from a local file (at most 8000 bytes)","id":"instructions_file","long":"instructions-file","positional":false,"required":false,"short":null},{"help":"A host its runs may reach beyond the defaults (repeat; replaces the list; `--egress-allow ''` clears it)","id":"egress_allow","long":"egress-allow","positional":false,"required":false,"short":null},{"help":"Let its runs reach any public host","id":"egress_open","long":"egress-open","positional":false,"required":false,"short":null}],"command":"ocloud agent set","path":["agent","set"]},{"about":"Turn an agent on: it takes work again","args":[{"help":"The agent: `agt_…`, its address, or a name only one agent has","id":"agent","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud agent on","path":["agent","on"]},{"about":"Stop the agent's machine now, when no run is at work (it stops by itself after its idle time). The next message starts it again","args":[{"help":"The agent: `agt_…`, its address, or a name only one agent has","id":"agent","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud agent sleep","path":["agent","sleep"]},{"about":"Turn an agent off: its live runs are cancelled and it refuses new work. Its workspace, memory and threads are kept","args":[{"help":"The agent: `agt_…`, its address, or a name only one agent has","id":"agent","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud agent off","path":["agent","off"]},{"about":"Delete an agent. Without --yes: what would go with it (its workspace when it was made for the agent, its memory and conversations, open threads, subscriptions), and nothing is deleted","args":[{"help":"The agent: `agt_…`, its address, or a name only one agent has","id":"agent","long":null,"positional":true,"required":true,"short":null},{"help":"Delete it","id":"yes","long":"yes","positional":false,"required":false,"short":null}],"command":"ocloud agent delete","path":["agent","delete"]},{"about":"Create or update an agent from a JSON spec (settings, plain files, secret names, project grants); running it again changes nothing","args":[{"help":"The spec: JSON with the agent's settings, plain files, secret names and project grants (`olef commands --describe 'cloud agent apply'`)","id":"file","long":"file","positional":false,"required":true,"short":"f"}],"command":"ocloud agent apply","path":["agent","apply"]},{"about":"One agent: what it is doing, the state of its machine, its settings","args":[{"help":"The agent: `agt_…` or `team/name`","id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud agent show","path":["agent","show"]},{"about":"A run: its state, cost, PR and live viewer","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud agent run","path":["agent","run"]},{"about":"A run's timeline events (after a sequence number)","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"after","long":"after","positional":false,"required":false,"short":null}],"command":"ocloud agent events","path":["agent","events"]},{"about":"Stop a run: nothing is pushed; its messages are cancelled","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud agent stop","path":["agent","stop"]},{"about":"Create a blank (or copied-from-local) isolated local agent folder","args":[{"help":"Local name (e.g. `my-bot` or `me/dev`)","id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"Agent runtime: `claude-code` (default) or `codex`","id":"runtime","long":"runtime","positional":false,"required":false,"short":null},{"help":"Copy existing skills, settings, instructions and plugin manifest from `~/.claude` or `~/.codex` into this isolated folder instead of starting blank","id":"from_local","long":"from-local","positional":false,"required":false,"short":null},{"help":"Custom folder path instead of `~/.olef/agents/<slug>`","id":"dir","long":"dir","positional":false,"required":false,"short":null},{"help":"Target GitHub repository (`owner/name`) to remember for `deploy`","id":"repo","long":"repo","positional":false,"required":false,"short":null},{"help":"Existing local git repository folder to open/debug in","id":"src","long":"src","positional":false,"required":false,"short":null}],"command":"ocloud agent init","path":["agent","init"]},{"about":"Link an existing `~/.claude`/`~/.codex` (or local folder) to a personal Olef agent running live on this computer's host","args":[{"help":"Agent address: `me/<name>` (personal) or an existing agent you own","id":"agent","long":null,"positional":true,"required":true,"short":null},{"help":"Agent runtime: `claude-code` (default) or `codex`","id":"runtime","long":"runtime","positional":false,"required":false,"short":null},{"help":"Attach directly to your personal `~/.claude` or `~/.codex` folder (personal `me/*` agents only)","id":"local_home","long":"local-home","positional":false,"required":false,"short":null},{"help":"Custom folder for `.olef-agent.json` (and isolated `home/` when not `--local-home`)","id":"dir","long":"dir","positional":false,"required":false,"short":null},{"help":"Repository (`owner/name`) when creating a new agent","id":"repo","long":"repo","positional":false,"required":false,"short":null},{"help":"Existing local git repository path","id":"src","long":"src","positional":false,"required":false,"short":null},{"help":"Registered host id/name (default: this machine's registered host)","id":"host","long":"host","positional":false,"required":false,"short":null}],"command":"ocloud agent link","path":["agent","link"]},{"about":"Check out a workplace agent to this laptop in `--edit` (workplace stays active) or `--live` (events route here) mode, or `--abort` a live lease","args":[{"help":"Remote agent (`agt_…`, `team/name`, `me/name`, or unique name)","id":"agent","long":null,"positional":true,"required":true,"short":null},{"help":"Edit-only checkout: pull setup locally while workplace stays live (default)","id":"edit","long":"edit","positional":false,"required":false,"short":null},{"help":"Live checkout: acquire exclusive lease and route live events to this machine","id":"live","long":"live","positional":false,"required":false,"short":null},{"help":"Abort an active live checkout lease and immediately return routing to workplace","id":"abort","long":"abort","positional":false,"required":false,"short":null},{"help":"Custom folder path instead of `~/.olef/agents/<slug>`","id":"dir","long":"dir","positional":false,"required":false,"short":null},{"help":"Existing local git repository path to work in","id":"src","long":"src","positional":false,"required":false,"short":null},{"help":"Host id/name for `--live` (default: this machine's registered host)","id":"host","long":"host","positional":false,"required":false,"short":null},{"help":"Also hydrate the agent's auto-memory into the local folder","id":"with_memory","long":"with-memory","positional":false,"required":false,"short":null},{"help":"Cancel any in-flight workplace run immediately when taking over `--live`","id":"interrupt","long":"interrupt","positional":false,"required":false,"short":null}],"command":"ocloud agent checkout","path":["agent","checkout"]},{"about":"Launch Claude Code or Codex pointed at a local agent folder's isolated home","args":[{"help":"Local agent slug, address, or directory path","id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"Client to launch: `claude`, `codex`, `claude-desktop`, `codex-desktop`","id":"app","long":"app","positional":false,"required":false,"short":null},{"help":"Use your own local vendor sign-in instead of Olef's local proxy","id":"own_auth","long":"own-auth","positional":false,"required":false,"short":null},{"help":"Native session/thread id to resume","id":"thread","long":"thread","positional":false,"required":false,"short":null},{"help":"Print launch command + environment as JSON without spawning (used by `olef-tray`)","id":"print_cmd","long":"print-cmd","positional":false,"required":false,"short":null}],"command":"ocloud agent open","path":["agent","open"]},{"about":"List all local agent folders (`draft`, `linked`, `edit`, `live`)","args":[{"help":"Skip querying the API for remote revision drift","id":"offline","long":"offline","positional":false,"required":false,"short":null}],"command":"ocloud agent local ls","path":["agent","local","ls"]},{"about":"Remove a local `draft` or `edit` agent folder (does not delete the cloud agent)","args":[{"help":"Local agent slug, address, or directory path","id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"Actually remove the local folder","id":"yes","long":"yes","positional":false,"required":false,"short":null}],"command":"ocloud agent local remove","path":["agent","local","remove"]},{"about":"Diff a local agent folder against its base revision and run preflight checks","args":[{"help":"Local agent slug, address, or folder path","id":"name","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud agent diff","path":["agent","diff"]},{"about":"Refresh a local agent folder from the remote agent's latest revision","args":[{"help":"Local agent slug, address, or directory path","id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"Also hydrate auto-memory from the remote revision","id":"with_memory","long":"with-memory","positional":false,"required":false,"short":null},{"help":"Overwrite local uncommitted setup edits","id":"force","long":"force","positional":false,"required":false,"short":null}],"command":"ocloud agent pull","path":["agent","pull"]},{"about":"Deploy a local draft or linked agent to Olef Cloud or a host pool","args":[{"help":"Local agent slug, name, or directory path","id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"Target agent address (`me/<name>` or `<team>/<name>`) when creating from a draft","id":"address","long":"as","positional":false,"required":false,"short":null},{"help":"Workplace placement: `cloud` (default) or `host:<pool>`","id":"to","long":"to","positional":false,"required":false,"short":null},{"help":"Target GitHub repository (`owner/name`) when creating the workplace workspace","id":"repo","long":"repo","positional":false,"required":false,"short":null},{"help":"Include auto-memory in the deployed revision","id":"with_memory","long":"with-memory","positional":false,"required":false,"short":null},{"help":"Do not move the agent's baseline pointer to this revision","id":"no_baseline","long":"no-baseline","positional":false,"required":false,"short":null},{"help":"Optional revision note","id":"note","long":"note","positional":false,"required":false,"short":null},{"help":"Execute the deploy (without `--yes`, previews diff and preflight audit)","id":"yes","long":"yes","positional":false,"required":false,"short":null}],"command":"ocloud agent deploy","path":["agent","deploy"]},{"about":"Push local setup (and optional memory) back to the workplace agent","args":[{"help":"Local agent slug, address, or directory path","id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"Push setup layer only, discarding local memory/debug state changes","id":"setup_only","long":"setup-only","positional":false,"required":false,"short":null},{"help":"Push setup + auto-memory (default in `live` mode; opt-in in `edit` mode)","id":"with_memory","long":"with-memory","positional":false,"required":false,"short":null},{"help":"Do not update the agent's baseline to this revision","id":"no_baseline","long":"no-baseline","positional":false,"required":false,"short":null},{"help":"After a `--live` redeploy, keep the local folder in `edit` mode (default: true)","id":"keep_edit","long":"keep-edit","positional":false,"required":false,"short":null},{"help":"Override a remote `revision_conflict` in `edit` mode","id":"force","long":"force","positional":false,"required":false,"short":null},{"help":"Optional revision note","id":"note","long":"note","positional":false,"required":false,"short":null},{"help":"Execute the redeploy (without `--yes`, previews diff and preflight audit)","id":"yes","long":"yes","positional":false,"required":false,"short":null}],"command":"ocloud agent redeploy","path":["agent","redeploy"]},{"about":"Pin an existing revision as the agent's baseline","args":[{"help":"The agent: `agt_…`, its address, or a unique name","id":"agent","long":null,"positional":true,"required":true,"short":null},{"help":"Revision sequence number (default: current active setup revision)","id":"seq","long":"seq","positional":false,"required":false,"short":null}],"command":"ocloud agent baseline","path":["agent","baseline"]},{"about":"Inboxes you can find in the org (yours, your teams', agents')","args":[{"help":"Match the address, name or description","id":"q","long":"q","positional":false,"required":false,"short":null},{"help":"personal, team or agent","id":"kind","long":"kind","positional":false,"required":false,"short":null}],"command":"ocloud inbox ls","path":["inbox","ls"]},{"about":"One inbox (an id or an address; old addresses resolve as aliases)","args":[{"help":null,"id":"inbox","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud inbox show","path":["inbox","show"]},{"about":"A team inbox, `team/name` (team maintainers and org admins)","args":[{"help":null,"id":"address","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"description","long":"description","positional":false,"required":false,"short":null},{"help":"private, owner-only, team (default), org or public-submission","id":"preset","long":"preset","positional":false,"required":false,"short":null}],"command":"ocloud inbox create","path":["inbox","create"]},{"about":"Send a message. To an agent: `--text` and `--repo-id` (or `--subject`, a pull request URL) start work; in a thread (`--parent`), `--text` is more instructions","args":[{"help":null,"id":"inbox","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"text","long":"text","positional":false,"required":false,"short":null},{"help":"The body as JSON, or `@file.json`","id":"body","long":"body","positional":false,"required":false,"short":null},{"help":null,"id":"title","long":"title","positional":false,"required":false,"short":null},{"help":"request (default), response, notification or event","id":"kind","long":"type","positional":false,"required":false,"short":null},{"help":"Continue a thread: the message this follows","id":"parent","long":"parent","positional":false,"required":false,"short":null},{"help":"For an agent: the GitHub repository id to work on","id":"repo_id","long":"repo-id","positional":false,"required":false,"short":null},{"help":"For an agent: the change request to work on, a pull request URL (the repository comes from it). Its thread is inside or outside as the code host says","id":"subject","long":"subject","positional":false,"required":false,"short":null},{"help":"For an agent: the base branch (default: the repository's, or the subject's)","id":"base","long":"base","positional":false,"required":false,"short":null},{"help":"Deliver later (RFC 3339)","id":"deliver_at","long":"deliver-at","positional":false,"required":false,"short":null},{"help":"The same key again returns the first message instead of a copy","id":"dedupe","long":"dedupe","positional":false,"required":false,"short":null}],"command":"ocloud inbox send","path":["inbox","send"]},{"about":"An inbox's messages, newest first","args":[{"help":null,"id":"inbox","long":null,"positional":true,"required":true,"short":null},{"help":"queued, claimed, waiting_input, completed, failed, cancelled, expired, or open (anything not finished)","id":"state","long":"state","positional":false,"required":false,"short":null},{"help":null,"id":"limit","long":"limit","positional":false,"required":false,"short":null}],"command":"ocloud inbox messages","path":["inbox","messages"]},{"about":"Follow an inbox's changes (or every inbox you can read, without INBOX): one JSON line per change; `--once` returns one page","args":[{"help":null,"id":"inbox","long":null,"positional":true,"required":false,"short":null},{"help":"Continue after this cursor","id":"after","long":"after","positional":false,"required":false,"short":null},{"help":"Without --after: new (default), retained, or an RFC 3339 time","id":"from","long":"from","positional":false,"required":false,"short":null},{"help":"One page, then exit (waits up to --wait-s for the first change)","id":"once","long":"once","positional":false,"required":false,"short":null},{"help":null,"id":"wait_s","long":"wait-s","positional":false,"required":false,"short":null}],"command":"ocloud inbox watch","path":["inbox","watch"]},{"about":"The typed services an inbox publishes (name@version, schemas)","args":[{"help":null,"id":"inbox","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud inbox services","path":["inbox","services"]},{"about":"Publish the next version of a service: JSON Schemas (draft 2020-12) for requests and responses, and pinned validators","args":[{"help":null,"id":"inbox","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"JSON or @file","id":"request_schema","long":"request-schema","positional":false,"required":false,"short":null},{"help":"JSON or @file","id":"response_schema","long":"response-schema","positional":false,"required":false,"short":null},{"help":"A validator's sha256 (`ocloud validator upload`); repeat","id":"validators","long":"validator","positional":false,"required":false,"short":null}],"command":"ocloud inbox publish","path":["inbox","publish"]},{"about":"Messages from outside the org waiting for admission","args":[{"help":null,"id":"inbox","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud inbox admissions","path":["inbox","admissions"]},{"about":"A message with its attempts and claim","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud msg show","path":["msg","show"]},{"about":"Cancel a message that isn't finished: a queued request just ends, one a run holds stops that run. For its sender or the inbox's managers","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud msg cancel","path":["msg","cancel"]},{"about":"Queue a failed or expired request again","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud msg retry","path":["msg","retry"]},{"about":"Take a request to work on by hand (2 minutes; renew while working)","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud msg claim","path":["msg","claim"]},{"about":"Keep your claim","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"generation","long":"generation","positional":false,"required":true,"short":null}],"command":"ocloud msg renew","path":["msg","renew"]},{"about":"Finish your claimed request, with a reply to its sender","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"generation","long":"generation","positional":false,"required":true,"short":null},{"help":null,"id":"text","long":"text","positional":false,"required":false,"short":null},{"help":"The reply body as JSON, or `@file.json`","id":"body","long":"body","positional":false,"required":false,"short":null}],"command":"ocloud msg complete","path":["msg","complete"]},{"about":"Give your claimed request back as failed (retried unless --permanent)","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"generation","long":"generation","positional":false,"required":true,"short":null},{"help":null,"id":"error","long":"error","positional":false,"required":false,"short":null},{"help":null,"id":"permanent","long":"permanent","positional":false,"required":false,"short":null}],"command":"ocloud msg fail","path":["msg","fail"]},{"about":"Answer a question, or approve or decline an approval","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"text","long":"text","positional":false,"required":false,"short":null},{"help":"One of the question's options","id":"option","long":"option","positional":false,"required":false,"short":null},{"help":"approve or decline","id":"decision","long":"decision","positional":false,"required":false,"short":null},{"help":"Approving outside code: also let later commits by the same author run with credentials (a standing allowance on the agent)","id":"also_later_commits","long":"also-later-commits","positional":false,"required":false,"short":null}],"command":"ocloud msg answer","path":["msg","answer"]},{"about":"Admit a message held from outside the org (or --reject it); inbox administrators","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"reject","long":"reject","positional":false,"required":false,"short":null}],"command":"ocloud msg admit","path":["msg","admit"]},{"about":"The threads you can see, newest activity first: each one's agent, what it is doing (working, waiting, queued, idle), runs, cost and pull request","args":[{"help":"Only this agent's threads (`agt_…` or its address)","id":"agent","long":"agent","positional":false,"required":false,"short":null},{"help":"open (default), closed or all","id":"state","long":"state","positional":false,"required":false,"short":null},{"help":"working, waiting, queued or idle","id":"activity","long":"activity","positional":false,"required":false,"short":null},{"help":"At most this many (default 50)","id":"limit","long":"limit","positional":false,"required":false,"short":null}],"command":"ocloud thread list","path":["thread","list"]},{"about":"Open a thread with an agent: the request's text, and the repository unless the agent has its own","args":[{"help":"The agent: its address (`team/name`, `me/name`) or `agt_…`","id":"agent","long":null,"positional":true,"required":true,"short":null},{"help":"What to do","id":"text","long":null,"positional":true,"required":true,"short":null},{"help":"The GitHub repository id (`ocloud repos`), when the agent has none of its own","id":"repo_id","long":"repo-id","positional":false,"required":false,"short":null}],"command":"ocloud thread new","path":["thread","new"]},{"about":"Continue a thread: more instructions, or an answer to what it asked","args":[{"help":"Any message id of the thread","id":"id","long":null,"positional":true,"required":true,"short":null},{"help":"The text","id":"text","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud thread send","path":["thread","send"]},{"about":"Stop the thread's live run. Nothing is pushed; the thread stays open","args":[{"help":"Any message id of the thread","id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud thread stop","path":["thread","stop"]},{"about":"Close the thread: its live run stops, queued messages are cancelled and its subscriptions end","args":[{"help":"Any message id of the thread","id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud thread close","path":["thread","close"]},{"about":"A thread: its messages and runs (any message id of the thread)","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud thread show","path":["thread","show"]},{"about":"The thread's stages with durations, usage and cost","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud thread timeline","path":["thread","timeline"]},{"about":"The thread's structured results (a review's verdict, tests, findings), with which tests the run's own commands verified","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud thread results","path":["thread","results"]},{"about":"Mark a thread's code untrusted: later runs get no secrets and a workspace of their own. Only `outside`; running such code with credentials is an approval by someone with write access","args":[{"help":"Any message id of the thread","id":"id","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"code_trust","long":null,"positional":true,"required":true,"short":null},{"help":"Why (shown on the thread and in the audit log)","id":"reason","long":"reason","positional":false,"required":false,"short":null}],"command":"ocloud thread trust","path":["thread","trust"]},{"about":"The path a question about an inbox's work would take now","args":[{"help":null,"id":"inbox","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud escalation preview","path":["escalation","preview"]},{"about":"A question's escalation: path, current step, next deadline, notices","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud escalation show","path":["escalation","show"]},{"about":"\"I'm on it\": pause escalation (an hour, bounded by the step's wait). It doesn't answer","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"grace_s","long":"grace-s","positional":false,"required":false,"short":null}],"command":"ocloud escalation ack","path":["escalation","ack"]},{"about":"Move an open question to the current policy (inbox managers)","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud escalation replan","path":["escalation","replan"]},{"about":"The policy of the org, a team or an inbox: show, set or remove","args":[{"help":"show, set or rm","id":"action","long":null,"positional":true,"required":false,"short":null},{"help":"A team's policy (its slug)","id":"team","long":"team","positional":false,"required":false,"short":null},{"help":"An inbox's policy (an id or address)","id":"inbox","long":"inbox","positional":false,"required":false,"short":null},{"help":"For set: the steps as JSON or @file, e.g. [{\"to\":\"respondent\"},{\"to\":\"org_owner\",\"after_s\":3600}]","id":"steps","long":"steps","positional":false,"required":false,"short":null},{"help":"For set: the default targets (respondent, inbox admins, team responder, parents, org owner) with this wait between steps","id":"every_s","long":"every-s","positional":false,"required":false,"short":null}],"command":"ocloud escalation policy","path":["escalation","policy"]},{"about":"The org's teams","args":[],"command":"ocloud team ls","path":["team","ls"]},{"about":"Set a team's parent, owner or escalation responder","args":[{"help":"The team's slug or id","id":"team","long":null,"positional":true,"required":true,"short":null},{"help":"The parent team (slug or id)","id":"parent","long":"parent","positional":false,"required":false,"short":null},{"help":"Make it a top-level team","id":"top_level","long":"top-level","positional":false,"required":false,"short":null},{"help":"The owner's user id","id":"owner","long":"owner","positional":false,"required":false,"short":null},{"help":"Who answers escalations (a user id); `--responder owner` clears it","id":"responder","long":"responder","positional":false,"required":false,"short":null}],"command":"ocloud team set","path":["team","set"]},{"about":"Upload a validator (a .wasm module with `memory`, `alloc` and `validate` exports and no imports); prints its sha256 to pin in a service (`ocloud inbox publish … --validator <sha256>`)","args":[{"help":null,"id":"file","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud validator upload","path":["validator","upload"]},{"about":"Your schedules (and your teams' if you maintain them)","args":[],"command":"ocloud schedule ls","path":["schedule","ls"]},{"about":"A schedule that sends a request to an inbox at set times, e.g. weekdays at 09:00: `--rrule \"FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;BYHOUR=9;BYMINUTE=0\"`","args":[{"help":"The inbox (an agent's `team/name`)","id":"inbox","long":"inbox","positional":false,"required":true,"short":null},{"help":"What to ask each time","id":"text","long":"text","positional":false,"required":true,"short":null},{"help":"For an agent: the GitHub repository id","id":"repo_id","long":"repo-id","positional":false,"required":false,"short":null},{"help":"An RFC 5545 RRULE (FREQ MINUTELY..MONTHLY, INTERVAL, BYDAY, BYHOUR, BYMINUTE, COUNT, UNTIL); at least 15 minutes apart","id":"rrule","long":"rrule","positional":false,"required":false,"short":null},{"help":"The local time the RRULE counts from (default: now)","id":"start","long":"start","positional":false,"required":false,"short":null},{"help":"Once, at this local time (YYYY-MM-DDTHH:MM)","id":"at","long":"at","positional":false,"required":false,"short":null},{"help":"IANA timezone (default: your profile's, else UTC)","id":"tz","long":"tz","positional":false,"required":false,"short":null},{"help":null,"id":"name","long":"name","positional":false,"required":false,"short":null},{"help":"queue, skip_while_pending (default) or concurrent","id":"overlap","long":"overlap","positional":false,"required":false,"short":null},{"help":"`team:<slug>` for a team schedule (default: yours)","id":"owner","long":"owner","positional":false,"required":false,"short":null}],"command":"ocloud schedule create","path":["schedule","create"]},{"about":null,"args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud schedule show","path":["schedule","show"]},{"about":"The next occurrences","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"n","long":"n","positional":false,"required":false,"short":null}],"command":"ocloud schedule preview","path":["schedule","preview"]},{"about":"Recent occurrences: emitted, skipped (missed, overlap), rejected","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud schedule occurrences","path":["schedule","occurrences"]},{"about":null,"args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud schedule pause","path":["schedule","pause"]},{"about":null,"args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud schedule resume","path":["schedule","resume"]},{"about":null,"args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud schedule rm","path":["schedule","rm"]},{"about":"Connect an event source to the org: github, jira or webhook","args":[{"help":"github, jira or webhook","id":"provider","long":null,"positional":true,"required":true,"short":null},{"help":"jira: the site, for people (https://acme.atlassian.net)","id":"site","long":"site","positional":false,"required":false,"short":null},{"help":"webhook: its name","id":"name","long":"name","positional":false,"required":false,"short":null},{"help":"github: link this App installation (one you manage) to the org; without it, prints where to install the App","id":"installation_id","long":"installation-id","positional":false,"required":false,"short":null}],"command":"ocloud connect","path":["connect"]},{"about":"Connections you can see (yours and your orgs')","args":[{"help":null,"id":"provider","long":"provider","positional":false,"required":false,"short":null},{"help":"Only the org in use's, plus your GitHub installations that could be linked to it","id":"linkable","long":"linkable","positional":false,"required":false,"short":null},{"help":"GitHub: refresh your installations from GitHub first","id":"refresh","long":"refresh","positional":false,"required":false,"short":null}],"command":"ocloud connection ls","path":["connection","ls"]},{"about":null,"args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud connection show","path":["connection","show"]},{"about":"Disconnect (GitHub: unlink the installation from its org)","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud connection rm","path":["connection","rm"]},{"about":"A new signing secret for a webhook connection (shown once)","args":[{"help":null,"id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud connection rotate-secret","path":["connection","rotate-secret"]},{"about":"A connection's events, newest first, with what each led to","args":[{"help":null,"id":"connection","long":null,"positional":true,"required":true,"short":null},{"help":"submitted, duplicate, unlinked, no_route, rejected, rate_limited, processed","id":"outcome","long":"outcome","positional":false,"required":false,"short":null},{"help":null,"id":"limit","long":"limit","positional":false,"required":false,"short":null}],"command":"ocloud connection events ls","path":["connection","events","ls"]},{"about":"One event, with its normalized text and payload","args":[{"help":null,"id":"connection","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"event","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud connection events show","path":["connection","events","show"]},{"about":"Run a recorded event through routing and submission again","args":[{"help":null,"id":"connection","long":null,"positional":true,"required":true,"short":null},{"help":null,"id":"event","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud connection events replay","path":["connection","events","replay"]},{"about":"Store a secret, its value read from stdin: an env value (NAME is the variable), or with `--credential` a token for some hosts. Write-only","args":[{"help":"The env variable (`MAPS_API_KEY`), or a credential's store name","id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"Store a credential (a token for `--host`s, sent with `--header`) instead of an env value","id":"credential","long":"credential","positional":false,"required":false,"short":null},{"help":"A host the credential is for (repeat it)","id":"hosts","long":"host","positional":false,"required":false,"short":null},{"help":"How it's sent: `Name: template` with `{}` for the value, like 'Authorization: Bearer {}'","id":"header","long":"header","positional":false,"required":false,"short":null},{"help":"The user of a user and token pair","id":"user","long":"user","positional":false,"required":false,"short":null},{"help":"An env variable runs get the value in (repeat it), like GH_TOKEN","id":"env","long":"env","positional":false,"required":false,"short":null},{"help":"When it expires: a date (2027-02-01) or an RFC 3339 time","id":"expires","long":"expires","positional":false,"required":false,"short":null},{"help":"Fill in the hosts, header and env of a known service: `github` (api.github.com, uploads.github.com and github.com, a bearer token, GH_TOKEN for gh). Flags given as well are added to it","id":"preset","long":"preset","positional":false,"required":false,"short":null},{"help":"A workspace (name or id; default: the one linked here)","id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"},{"help":"A project (id or slug): every workspace of it, or those `--scope` says","id":"project","long":"project","positional":false,"required":false,"short":null},{"help":"An agent (`team/name`, a unique name, or its id): loaded in every run of that agent","id":"agent","long":"agent","positional":false,"required":false,"short":null},{"help":"With `--agent`: your own, loaded only in runs for you","id":"personal","long":"personal","positional":false,"required":false,"short":null},{"help":"With `--project`: which of its workspaces get it (default: all)","id":"scope","long":"scope","positional":false,"required":false,"short":null},{"help":"With `--project`: these workspaces only (names or ids; implies `--scope workspaces`)","id":"workspaces","long":"workspaces","positional":false,"required":false,"short":null}],"command":"ocloud secret set","path":["secret","set"]},{"about":"Names, kinds, hosts and expiry of the stored secrets (never values)","args":[{"help":"A workspace (name or id; default: the one linked here)","id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"},{"help":"A project (id or slug): every workspace of it, or those `--scope` says","id":"project","long":"project","positional":false,"required":false,"short":null},{"help":"An agent (`team/name`, a unique name, or its id): loaded in every run of that agent","id":"agent","long":"agent","positional":false,"required":false,"short":null},{"help":"With `--agent`: your own, loaded only in runs for you","id":"personal","long":"personal","positional":false,"required":false,"short":null}],"command":"ocloud secret list","path":["secret","list"]},{"about":"Delete a stored secret","args":[{"help":null,"id":"name","long":null,"positional":true,"required":true,"short":null},{"help":"A workspace (name or id; default: the one linked here)","id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"},{"help":"A project (id or slug): every workspace of it, or those `--scope` says","id":"project","long":"project","positional":false,"required":false,"short":null},{"help":"An agent (`team/name`, a unique name, or its id): loaded in every run of that agent","id":"agent","long":"agent","positional":false,"required":false,"short":null},{"help":"With `--agent`: your own, loaded only in runs for you","id":"personal","long":"personal","positional":false,"required":false,"short":null}],"command":"ocloud secret rm","path":["secret","rm"]},{"about":"Store a file for runs, from a local file: at PATH in the source tree, or in the agent's home ('~/…'). Plain files read back; `--secret` ones never do","args":[{"help":"Where it appears: `app/google-services.json`, or '~/.claude/mcp.json' (quoted, so the shell leaves `~` alone)","id":"path","long":null,"positional":true,"required":true,"short":null},{"help":"The local file to read","id":"from","long":"from","positional":false,"required":true,"short":null},{"help":"A secret file: write-only, masked in run output, never loaded next to outside code","id":"secret","long":"secret","positional":false,"required":false,"short":null},{"help":"Store it as a plain file even though it looks like a secret","id":"allow_secret","long":"allow-secret","positional":false,"required":false,"short":null},{"help":"A workspace (name or id; default: the one linked here)","id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"},{"help":"A project (id or slug): every workspace of it, or those `--scope` says","id":"project","long":"project","positional":false,"required":false,"short":null},{"help":"An agent (`team/name`, a unique name, or its id): loaded in every run of that agent","id":"agent","long":"agent","positional":false,"required":false,"short":null},{"help":"With `--agent`: your own, loaded only in runs for you","id":"personal","long":"personal","positional":false,"required":false,"short":null},{"help":"With `--project`: which of its workspaces get it (default: all)","id":"scope","long":"scope","positional":false,"required":false,"short":null},{"help":"With `--project`: these workspaces only (names or ids; implies `--scope workspaces`)","id":"workspaces","long":"workspaces","positional":false,"required":false,"short":null}],"command":"ocloud file put","path":["file","put"]},{"about":"Print a plain file's content (raw; `--json` for an envelope with content_base64). Secret files can't be read back","args":[{"help":null,"id":"path","long":null,"positional":true,"required":true,"short":null},{"help":"A JSON envelope with the file's metadata and content_base64","id":"json","long":"json","positional":false,"required":false,"short":null},{"help":"A workspace (name or id; default: the one linked here)","id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"},{"help":"A project (id or slug): every workspace of it, or those `--scope` says","id":"project","long":"project","positional":false,"required":false,"short":null},{"help":"An agent (`team/name`, a unique name, or its id): loaded in every run of that agent","id":"agent","long":"agent","positional":false,"required":false,"short":null},{"help":"With `--agent`: your own, loaded only in runs for you","id":"personal","long":"personal","positional":false,"required":false,"short":null}],"command":"ocloud file get","path":["file","get"]},{"about":"Paths, sizes and kinds of the stored files (no contents)","args":[{"help":"A workspace (name or id; default: the one linked here)","id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"},{"help":"A project (id or slug): every workspace of it, or those `--scope` says","id":"project","long":"project","positional":false,"required":false,"short":null},{"help":"An agent (`team/name`, a unique name, or its id): loaded in every run of that agent","id":"agent","long":"agent","positional":false,"required":false,"short":null},{"help":"With `--agent`: your own, loaded only in runs for you","id":"personal","long":"personal","positional":false,"required":false,"short":null}],"command":"ocloud file list","path":["file","list"]},{"about":"Delete a stored file","args":[{"help":null,"id":"path","long":null,"positional":true,"required":true,"short":null},{"help":"A workspace (name or id; default: the one linked here)","id":"workspace","long":"workspace","positional":false,"required":false,"short":"w"},{"help":"A project (id or slug): every workspace of it, or those `--scope` says","id":"project","long":"project","positional":false,"required":false,"short":null},{"help":"An agent (`team/name`, a unique name, or its id): loaded in every run of that agent","id":"agent","long":"agent","positional":false,"required":false,"short":null},{"help":"With `--agent`: your own, loaded only in runs for you","id":"personal","long":"personal","positional":false,"required":false,"short":null}],"command":"ocloud file rm","path":["file","rm"]},{"about":"Read a source now: its JSON document, to write a condition against","args":[{"help":"The JSON URL to read (GET), or the GraphQL endpoint with --query","id":"source","long":"source","positional":false,"required":false,"short":null},{"help":"A read-only GraphQL query, POSTed to --source (mutations are refused)","id":"query","long":"query","positional":false,"required":false,"short":null},{"help":"A GraphQL variable, `name=value` (a JSON value or a string; repeatable)","id":"vars","long":"var","positional":false,"required":false,"short":null},{"help":"One of the agent's credentials for the source's host (`ocloud secret set … --credential`)","id":"credential","long":"credential","positional":false,"required":false,"short":null},{"help":"The agent whose credential reads it (with --credential)","id":"agent","long":"agent","positional":false,"required":false,"short":null}],"command":"ocloud events state","path":["events","state"]},{"about":"Evaluate jq on a source's live document: --when / --close-when give true or false, --each the items","args":[{"help":"The JSON URL to read (GET), or the GraphQL endpoint with --query","id":"source","long":"source","positional":false,"required":false,"short":null},{"help":"A read-only GraphQL query, POSTed to --source (mutations are refused)","id":"query","long":"query","positional":false,"required":false,"short":null},{"help":"A GraphQL variable, `name=value` (a JSON value or a string; repeatable)","id":"vars","long":"var","positional":false,"required":false,"short":null},{"help":"One of the agent's credentials for the source's host (`ocloud secret set … --credential`)","id":"credential","long":"credential","positional":false,"required":false,"short":null},{"help":null,"id":"agent","long":"agent","positional":false,"required":false,"short":null},{"help":"A condition: wakes when it turns true","id":"when","long":"when","positional":false,"required":false,"short":null},{"help":"A list: one {id, url?, trust?} per item","id":"each","long":"each","positional":false,"required":false,"short":null},{"help":"Ends the subscription when it turns true","id":"close_when","long":"close-when","positional":false,"required":false,"short":null},{"help":"A previous document (JSON file) to evaluate against as $prev","id":"prev","long":"prev","positional":false,"required":false,"short":null}],"command":"ocloud events test","path":["events","test"]},{"about":"Subscribe a thread (--thread) or, standing with --each, an agent (--agent): Olef reads the source and wakes the thread when --when turns true","args":[{"help":"The JSON URL to read (GET), or the GraphQL endpoint with --query","id":"source","long":"source","positional":false,"required":false,"short":null},{"help":"A read-only GraphQL query, POSTed to --source (mutations are refused)","id":"query","long":"query","positional":false,"required":false,"short":null},{"help":"A GraphQL variable, `name=value` (a JSON value or a string; repeatable)","id":"vars","long":"var","positional":false,"required":false,"short":null},{"help":"One of the agent's credentials for the source's host (`ocloud secret set … --credential`)","id":"credential","long":"credential","positional":false,"required":false,"short":null},{"help":"The thread (its first message's id) to wake","id":"thread","long":"thread","positional":false,"required":false,"short":null},{"help":"A standing subscription of this agent (`team/name` or id): --each opens a thread per new item","id":"agent","long":"agent","positional":false,"required":false,"short":null},{"help":null,"id":"when","long":"when","positional":false,"required":false,"short":null},{"help":null,"id":"each","long":"each","positional":false,"required":false,"short":null},{"help":null,"id":"close_when","long":"close-when","positional":false,"required":false,"short":null},{"help":"End at +30m, +3h, +2d or an RFC 3339 time","id":"until","long":"until","positional":false,"required":false,"short":null},{"help":"With --until: wake the thread when it ends","id":"wake_at_end","long":"wake-at-end","positional":false,"required":false,"short":null},{"help":"The source the thread is about: its --close-when closes the thread","id":"primary","long":"primary","positional":false,"required":false,"short":null},{"help":"Standing: also open threads for up to N items already listed, newest first","id":"backfill","long":"backfill","positional":false,"required":false,"short":null},{"help":"Standing: the inbox item threads go to (default the agent's)","id":"inbox","long":"inbox","positional":false,"required":false,"short":null},{"help":"Standing: the repository item requests name","id":"repo_id","long":"repo-id","positional":false,"required":false,"short":null},{"help":"A connection's pushed deliveries (Jira, webhooks) instead of --source: each one --when takes becomes a request to --inbox","id":"connection","long":"connection","positional":false,"required":false,"short":null},{"help":"With --connection: what people see (Jira: \"Send to …\")","id":"name","long":"name","positional":false,"required":false,"short":null},{"help":"With --connection: a typed service of the inbox (`name@version`) the payload must match","id":"service","long":"service","positional":false,"required":false,"short":null},{"help":"With a Jira --connection: every match of this JQL search (polled every 5 minutes)","id":"jql","long":"jql","positional":false,"required":false,"short":null}],"command":"ocloud events subscribe","path":["events","subscribe"]},{"about":"A thread's subscriptions and what's pending for its next run (--thread), or an agent's standing ones (--agent)","args":[{"help":null,"id":"thread","long":"thread","positional":false,"required":false,"short":null},{"help":null,"id":"agent","long":"agent","positional":false,"required":false,"short":null},{"help":"A connection's subscriptions (where its deliveries go)","id":"connection","long":"connection","positional":false,"required":false,"short":null}],"command":"ocloud events list","path":["events","list"]},{"about":"End a subscription","args":[{"help":"The subscription's id (`sub_…`)","id":"subscription","long":null,"positional":true,"required":true,"short":null},{"help":"A connection's subscription","id":"connection","long":"connection","positional":false,"required":false,"short":null}],"command":"ocloud events unsubscribe","path":["events","unsubscribe"]},{"about":"Upload an APK as a build of the project: the one given, else build the configured variant and take the APK its output-metadata.json lists. Records the branch, commit and uncommitted changes of this folder. `--share` makes it the current version of tester groups","args":[{"help":"The APK to upload (default: build it)","id":"apk_file","long":null,"positional":true,"required":false,"short":null},{"help":"The Olef Cloud project (id or slug). Default: the linked folder's project, else `distribution.project` in .olef/config.json","id":"project","long":"project","positional":false,"required":false,"short":null},{"help":"What's new in this build, shown to testers","id":"notes","long":"notes","positional":false,"required":false,"short":null},{"help":"Share it with this tester group (name or id) once it is ready. Repeat for more groups","id":"share","long":"share","positional":false,"required":false,"short":null},{"help":"Gradle application module (`app`, nested: `apps:phone`). Default: `distribution.module` in .olef/config.json, the project's Cloud setting, `module`, else the only com.android.application module","id":"module","long":"module","positional":false,"required":false,"short":null},{"help":"Build variant (`assemble<Variant>`). Default: `distribution.variant`, the project's Cloud setting, `variant`, else debug","id":"variant","long":"variant","positional":false,"required":false,"short":null},{"help":"How long Gradle may take","id":"timeout_ms","long":"timeout-ms","positional":false,"required":false,"short":null}],"command":"ocloud builds push","path":["builds","push"]},{"about":"The project's builds, newest first: version, branch, commit, who, size, signer and status","args":[{"help":null,"id":"project","long":"project","positional":false,"required":false,"short":null},{"help":"How many (newest first)","id":"limit","long":"limit","positional":false,"required":false,"short":null}],"command":"ocloud builds list","path":["builds","list"]},{"about":"Make a build the current version of tester groups: their testers see it, get a notification and update automatically if they chose to","args":[{"help":"The build's id (`bld_…`)","id":"build","long":null,"positional":true,"required":true,"short":null},{"help":"A tester group (name or id). Repeat for more groups","id":"group","long":"group","positional":false,"required":true,"short":null}],"command":"ocloud builds share","path":["builds","share"]},{"about":"Invite people by email to a tester group (default \"Testers\", made on first use). Each gets an email with a link that installs Olef and shows the app","args":[{"help":"Email addresses","id":"emails","long":null,"positional":true,"required":true,"short":null},{"help":"The tester group (name or id)","id":"group","long":"group","positional":false,"required":false,"short":null},{"help":null,"id":"project","long":"project","positional":false,"required":false,"short":null}],"command":"ocloud testers add","path":["testers","add"]},{"about":"The project's tester groups: members (pending or active, installed version), current build and auto-share branch","args":[{"help":null,"id":"project","long":"project","positional":false,"required":false,"short":null}],"command":"ocloud testers list","path":["testers","list"]},{"about":"Dispatch a deterministic QA suite to Olef Cloud (`/v1/qa/runs`, $0 LLM when passing; uses `OLEF_CI_TOKEN` or signed-in credentials)","args":[{"help":"Test folders or scripts to run (defaults to the suite's configured jobs)","id":"paths","long":null,"positional":true,"required":false,"short":null},{"help":"Cloud project id, slug, or repo (`owner/name`; defaults to `.olef/config.json` `qa.project`)","id":"project","long":"project","positional":false,"required":false,"short":null},{"help":"QA suite name from `.olef/config.json` `qa.suites` (default: `pr`)","id":"suite","long":"suite","positional":false,"required":false,"short":null},{"help":"App APK artifact path or id under test","id":"app_apk","long":"app-apk","positional":false,"required":false,"short":null},{"help":"Git branch/tag/ref metadata (auto-detected from CI env / git when omitted)","id":"vcs_ref","long":"vcs-ref","positional":false,"required":false,"short":null},{"help":"Extra JSON or plain-text context attached to the run","id":"context","long":"context","positional":false,"required":false,"short":null},{"help":"Agent inbox address to notify on failure (overrides `qa.on_failure.inbox`)","id":"on_fail_inbox","long":"on-fail-inbox","positional":false,"required":false,"short":null},{"help":"Return immediately after enqueuing the run instead of waiting for completion","id":"no_wait","long":"no-wait","positional":false,"required":false,"short":null},{"help":"Run every test this many times","id":"repeat","long":"repeat","positional":false,"required":false,"short":null},{"help":"Rerun a failed test up to this many times","id":"retries","long":"retries","positional":false,"required":false,"short":null},{"help":"Write JUnit XML here when the run finishes","id":"junit_out","long":"junit-out","positional":false,"required":false,"short":null},{"help":"Maximum wait / run timeout in milliseconds","id":"timeout_ms","long":"timeout-ms","positional":false,"required":false,"short":null}],"command":"ocloud qa run","path":["qa","run"]},{"about":"Mint a project-scoped `qa:run` CI token (`sdci_*`); the plaintext token is printed once and never shown again","args":[{"help":"Project id, slug, or repo (`owner/name`)","id":"project","long":"project","positional":false,"required":true,"short":null},{"help":"Human-readable label (e.g. `github-actions`)","id":"name","long":"name","positional":false,"required":true,"short":null},{"help":"Optional lifetime in days (1 to 3650)","id":"expires_days","long":"expires-days","positional":false,"required":false,"short":null}],"command":"ocloud qa ci-token create","path":["qa","ci-token","create"]},{"about":"List active CI tokens for a project (metadata only, never plaintext)","args":[{"help":"Project id, slug, or repo (`owner/name`)","id":"project","long":"project","positional":false,"required":true,"short":null}],"command":"ocloud qa ci-token list","path":["qa","ci-token","list"]},{"about":"Revoke an active CI token immediately","args":[{"help":"Project id, slug, or repo (`owner/name`)","id":"project","long":"project","positional":false,"required":true,"short":null},{"help":"CI token id (`cit_...`)","id":"id","long":null,"positional":true,"required":true,"short":null}],"command":"ocloud qa ci-token revoke","path":["qa","ci-token","revoke"]},{"about":"Cloud-only MCP server (`agent_panel`, `cloud_devices`, or `--workspace` bridge)","args":[{"help":"Bridge stdio directly to the linked cloud workspace's worker `olef mcp` server (for driving the workspace's remote Android environment)","id":"workspace","long":"workspace","positional":false,"required":false,"short":null},{"help":"Optional project directory for `--workspace` or git repo detection","id":"project","long":"project","positional":false,"required":false,"short":null}],"command":"ocloud mcp","path":["mcp"]},{"about":"Check the Olef Cloud client: sign-in, link, SSH config, network, daemon, session","args":[],"command":"ocloud doctor","path":["doctor"]},{"about":"Inspect `ocloud` commands (`--json`) or print topic guides (`--guide cloud|host|qa|agents|events`)","args":[{"help":"Emit machine-readable JSON catalog of all `ocloud` commands","id":"json","long":"json","positional":false,"required":false,"short":null},{"help":"Print a focused topic guide (`cloud`, `host`, `qa`, `agents`, `events`)","id":"guide","long":"guide","positional":false,"required":false,"short":null}],"command":"ocloud commands","path":["commands"]},{"about":"Print the merged configuration and the files that contributed to it","args":[],"command":"ocloud config show","path":["config","show"]},{"about":"Print the concise `ocloud` agent skill guide","args":[],"command":"ocloud skill","path":["skill"]},{"about":"Check for a newer `ocloud` release and print the update command","args":[{"help":"Emit machine-readable JSON instead of human text","id":"json","long":"json","positional":false,"required":false,"short":null}],"command":"ocloud update","path":["update"]},{"about":"Print the Olef License and third-party notices for `ocloud`","args":[],"command":"ocloud licenses","path":["licenses"]}],"count":195,"guides":["cloud","host","qa","agents","events"],"type":"commands","version":"3.17.3"}