Skip to content

Terminals ​

Hesper Remote owns every live operator shell. From a ticket, a device page, the browser Console or the native hesper prompt, the technician requests the same governed Remote terminal.

Admission is purpose-bound ​

A remote-session request must name its purpose — screen or terminal — and an unknown purpose fails closed. A terminal request must also name:

  • requestedRuntime — the interpreter family (powershell, pwsh, cmd, sh, bash, dash, ash, ksh, zsh, fish, csh, tcsh, nushell).
  • requestedPrivilege — current_user or elevated. Elevation is a separate operator choice, never implied.

The request rides the existing approval, redemption and consent path; practice, customer, principal, device, purpose and expiry are bound on the session record.

The agent must be reachable ​

Admission checks the endpoint's agent heartbeat — not fleet presence. The window is short by design (the agent must be reachable now):

"This device's Hesper Remote agent is offline (last seen 58 min ago). Make sure the agent is installed and running on the device, then try again."

A device that looks online in the fleet can still refuse a terminal; the refusal states the reason and the fix. Owned sessions and terminals require a local_agent device.

What you see before you type ​

When the session is live, the console shows the actual machine, shell, version, host and OS principal — the endpoint evidence, not the request. Only the technician supplies interactive input.

Detach and return ​

/detach returns to the investigation with the case context intact. Reattaching re-checks access, expiry, OS principal and the exact surviving PTY. Terminal bytes and credentials stay out of Cowork history, model context and general analytics.

Terminal integration is rolling out incrementally: purpose-bound admission (E16-06) is live; endpoint-side shell qualification (E16-07) and evidence recording (E16-08) follow the engine lane. See Sessions.

Hesper docs · version v0.1.152