Haruspex User guide

Remote control

Remote control lets your other computers use the Code sessions running on this one, from a web browser or a script. Turns still run here, with this computer's files and models; the other computer only starts, steers and watches them. It is off by default, and Haruspex has to be open for it to work.

It is not the same as Guest chat (see the guest-chat page), which lets other people chat with your Haruspex. Remote control is for you.

Turn it on

  1. Open Settings → Remote control.
  2. Turn on Let your other computers use this Haruspex.
  3. Choose Who can connect (below).

Allow port 8788 through this computer's firewall for the computers you mean.

Who can connect

With either of the last two, open the address shown under Open on your other computer on that computer. Devices with a token work in every mode.

Each device with a token has its own permissions: Read (list and follow sessions), Drive (start, send, steer and stop) and Approve (answer Run this command? and the agent's questions). New link gives a device a fresh link and a new token; Revoke cuts it off at once.

Use it from a browser

The page lists your Code sessions, the open ones first. Pick one to follow it as it runs, send messages, steer or stop a turn, and answer Run this command? and the agent's questions. New session starts one in a folder on this computer; on Windows, pick the WSL distro first.

File names in a session are links: click one to read the file (it can't be edited from the page). Images attached to messages show as thumbnails; click one for full size.

Advanced

Use it from a script

Send the token as Authorization: Bearer <token>.

From a trusted computer, send X-Haruspex: 1 instead of a token.

What it doesn't do yet

Security notes