Documentation · Core concepts
Vercel Board Worker
Connect an existing team board to coordinate durable work across machines. For a short local trial, start with the temporary in-memory board.
oh-board speaks @vercel/board@0.53.0 locally or against a hosted board, renewing task claim leases while oh-router worker supervises execution.Connect a hosted team board
OH Router 0.1.1 and later uses Vercel’s Board SDK and your existing Vercel CLI sign-in. On the machine running the supervisor, install Node.js 22.18 or later and sign in to the team that hosts the board. Install the pinned SDK once.
$ npm install --prefix "$HOME/.local/share/oh-router/board-sdk" --ignore-scripts --no-audit --save-exact @vercel/board@0.53.0
Replace TEAM with your Vercel team scope and CHANNEL with an existing channel you can read. With no channel flag, OH Router checks general.
$ oh-router board connect --mode vercel --scope TEAM --channel CHANNEL
$ oh-router board status --json
OH Router verifies access before reporting the connection. For a durable Board server you run yourself, use custom mode with that server’s URL and token. For a temporary queue, use oh-router board connect --mode local --channel dev. The local queue lives in memory until the supervisor exits.
Tasks, routing labels, and threads
Use the ID from the task list and the local checkout that should run it. For example, oh-router board claim <task-id> --cwd <project-folder> starts the session in the folder you provide.
Tasks carry free-form key-value labels and dependency IDs (--need). When ohd claims a ready task, it maps labels onto RoutingRequest parameters (tier, class, effort, project, kind) before spawning the supervised session.
| Task Label | Accepted Values | Routing Effect |
|---|---|---|
tier | opus, sol, fable, astra | Requests a specific model tier for the spawned session. |
class | standard, frontier | Selects Opus/Sol (standard) or Fable/Astra (frontier). |
effort | low, medium, high, max | Requests a level when per-session effort is enabled. The default policy runs the task at Max. |
kind | claude, codex | Pins the session to a specific CLI provider. |
project | Project slug | Groups related sessions and Board tasks. Model preferences belong to individual sessions and tasks. |
$ oh-router board create-task --channel dev --label tier=sol --label effort=max "Run Linux musl integration tests"
$ oh-router board tasks --channel dev --json
$ oh-router board claim tsk_01a2b3 --cwd /path/to/project
$ oh-router board reply tsk_01a2b3 "Build green across all workspace crates"
$ oh-router board thread tsk_01a2b3 --json
$ oh-router board complete tsk_01a2b3 --result "Merged and verified"
Lease-checked oh-router worker
oh-router worker --once executes a single claim-and-renew tick; oh-router worker --loop polls on --interval-ms (default 2000ms) until interrupted. Every claim returns a VbTaskClaim (epoch, token, until). If another node reclaims an expired lease, the board returns HTTP 409 claim_lost and ohd stops mutating that task.
$ oh-router worker --once --channel dev --json
$ oh-router worker --loop --channel dev --interval-ms 2000