VCode home

Know which machine you are on

Agents: claude, codex, opencode · On: phone, desktop

The first segment on the row under the composer's keys is this machine's name. Tap it and the toast shows the name and its public URL. In the VCode app on app.v-code.dev it names the box of the tab in front.

Why you would use it

You run VCode on more than one box — a desktop and a file server — and both are bookmarked on the same phone behind the same login page. The two look identical until something names the machine.

How to use it

  1. Look at the left end of the status bar (#statusbar), above the composer. On a wide window it is the top row of the composer instead (#composer-facts). The first segment (.seg.node) is the name.

    The status bar with "workshop" as its first segment, ahead of the branch, the context and the latency.

  2. Tap it. A toast shows <name> · <url> when a public URL is configured, and just the name when it is not.

  3. In the app, with tabs from several boxes, switch tabs and the segment follows: it shows the name the box has on your v-code.dev account. In a tab whose box refused this device, the tap opens that box's screen instead of the toast: its pair screen, key screen or version screen (work-on-several-boxes).

    A toast reading "workshop · https://workshop.example" under the top band.

What you see

Options and settings

Option Default What it changes
VCODE_NAME the machine's hostname The name shown in the status bar
VCODE_URL (empty) The URL the toast shows beside the name
VCODE_PEERS (empty) Sibling machines, name|url comma separated. The server returns them with its name; nothing in the UI reads them today

Set them in ~/.config/v-code/env — see environment-variables — and restart the unit.

Limits and known gaps