AI Workforce OneHQDocs

Commands and settings

Every command, view and setting the AI Workforce One HQ extension adds to your editor.

This page lists what the extension adds in version 0.1.0.

Commands

Run these from the Command Palette (Ctrl+Shift+P, or Cmd+Shift+P on macOS). Most are also buttons or right-click items in the HQ sidebar.

CommandWhat it doesAlso in
HQ: Sign InApprove this computer in HQ in your browser. Shown while you are signed out.Teams and Account views
HQ: Sign OutEnd this computer's access in HQ and close every HQ terminal and forward. Shown while you are signed in.Account view
HQ: RefreshReload your organizations, teams and sessions.Teams view title
HQ: Open Team FilesAdd a team's folder to the Explorer.Team row (folder icon), right-click a team
HQ: Search in Team FilesSearch a team's files on its machine.Right-click a team
HQ: AttachOpen a session in a terminal.Session row (click it), right-click a session
HQ: New Session TerminalStart a new session on a team and open it. Needs editor or owner access.Team row (+), right-click a team
HQ: Wake TeamStart a team machine that is off.Team row (play icon), right-click a team that is off
HQ: Forward a Port...Forward a team machine's port to this computer. Needs editor or owner access.Ports view title (+), right-click a team
HQ: Open in HQ WebOpen the team or session in HQ in your browser.Right-click a team or a session
HQ: Manage Devices in HQOpen Account, Devices in HQ, where you can remove this computer.Account view

These act on one row of the Ports or Search view, and are not in the Command Palette:

CommandWhere
Open in BrowserAn active forward in the Ports view.
Copy Local AddressAn active forward in the Ports view.
Stop ForwardingAn active or paused forward in the Ports view.
Resume ForwardingA paused forward in the Ports view (or click the row).
ForwardA port the machine started listening on, in the Ports view.
DismissA port the machine started listening on, in the Ports view.
OpenA result in the Search view (or click the row).

Views

The AI Workforce One HQ icon in the Activity Bar opens the HQ sidebar:

ViewWhat it shows
TeamsYour organizations, their teams (running, starting or off, plus update needed and view only when they apply) and each team's sessions.
PortsYour forwards (active and paused) and the ports a team machine started listening on.
SearchThe results of HQ: Search in Team Files. Shown after your first search.
AccountYour email, the HQ address, Manage devices in HQ and Sign out.

The status bar shows HQ: and your email, plus the team and its state while an HQ terminal is the active one. A second item counts your active forwards.

Settings

All three are user settings: a team folder's own settings cannot change them.

SettingDefaultWhat it does
hq.localEchoautoLocal echo in HQ session terminals: auto, always or off. See Local echo.
hq.hosthttps://hq.aiworkforceone.comThe HQ address this editor signs in to. For AI Workforce One staff; leave it as it is. Changing it needs a new sign-in.
hq.allowedHosts[]Extra HQ addresses this editor may sign in to. For AI Workforce One staff.

Team file addresses

A team's folder opens at hq://<organization>/<team>/, where <team> is the team's hq-… name, the same one hq status prints. For example hq://acme/hq-3f9a1c2e/src/app.py.