Docs for SCORPIOX CODE @ ce3b5cd

Live VNC Desktops in SCORPIOX BOT Chat

Watch or drive a live VNC desktop that a session or node offers, in your SCORPIOX BOT chat page - no separate VNC client to install.

An agent is working on a machine that has a real desktop — a VM, a GUI app, a lab box — and you want to watch it, or drive it yourself, without logging into a jump host or opening a separate VNC client. VNC in SCORPIOX BOT puts that live desktop in your chat page: a small floating window you can drag and resize, or a full-page viewer in its own tab, both rendered by a bundled noVNC client and both talking to the desktop through SCORPIOX BOT, so the VNC server can sit behind the node and stay bound to loopback.

It is deliberately small: a title bar, a row of target tabs, the live screen, and a footer of four controls. Nothing is on screen until a target is offered — a session must expose a desktop, or a machine must be attached to a node — and when the offer is removed, the target disappears from the list.

Docs for SCORPIOX CODE @ ce3b5cd.

The whole idea in one line: a session (or a node) offers VNC desktops by name; SCORPIOX BOT lists them in a floating window on the chat page and streams the live desktop to your browser — mouse, keyboard, and clipboard — with no separate VNC client to install.


What it is (and what it is not)


Turning it on

In your SCORPIOX BOT chat, open the ··· More menu and choose VNC (“Live desktop the agent exposed”). The window appears — empty at first, with the message “No VNC exposed” and a pointer to the two ways to fill it.


The floating window

When the window is open, it is a small panel you can move around the chat page.

The tabs: session and node groups

The tab row lists every offered target as a pill labelled by its title (or #<vid> if it has no title). When both kinds exist, they are separated by a divider and grouped under small session / node labels; a single session target shows no group labels at all. Click a tab to switch to that desktop — the window disconnects from the old target and connects to the new one.

The window keeps the list fresh while you watch it: while nothing is connected it re-polls the target list every few seconds, so a desktop the agent exposes a moment later shows up on its own.


The full-page viewer

For driving a desktop at full strength, open the full-page viewer: ↗ in the float's footer, or the Open button next to a machine in Settings → Node VNC Machines.

It is the same viewer, full-window: a top bar with a back link, the target's title, a target selector (shown only when more than one target is offered), a live status dot, and the same View only, C-A-D, and ↻ Reconnect buttons — plus a theme toggle. The desktop fills the rest of the page. The URL encodes the target, so you can share or bookmark the exact desktop you are looking at.


Node VNC machines in Settings

Machines that belong to a node rather than a session are managed under Settings → Nodes → Node VNC Machines:

These machines are stored on the node, not in the session, so they outlive any one conversation and show up as the node group in every chat float on that node.


How an agent offers a desktop

You do not offer anything yourself — you ask, and the agent does the rest. The mechanics are defined by the agent's preferred-vnc skill (a built-in skill in SCORPIOX CODE), and you do not need to know them to use the window. In one sentence: the agent maintains a small vnc/index.json inside the current session's directory, pointing at a VNC server that is already listening (bound to loopback on the node), and SCORPIOX BOT reads that file and offers it to you.

A few things that follow from that:


Quick recipe: ask and watch

  1. In your SCORPIOX BOT chat, open the ··· More menu and switch on VNC. The window appears (empty at first).
  2. Tell the agent what to show: “spin up a desktop for me and expose it over VNC,” or “let me drive that VM.”
  3. The agent starts the VNC server, offers it, and tells you the title. The window fills in and connects — the status dot goes green.
  4. Drive it: click around, type, C-A-D when you are stuck, View only when you just want to watch, ↗ to move it into its own tab.
  5. When you are done, tell the agent to stop it — the offer disappears from your list.

Related: the SCORPIOX BOT chat page and the chat More menu, which also carries the companion Preview, notepad, and Drop floats; and the Changes viewer for live working-tree diffs.