reticle_run:
reticle_open_realm
Opens a realm as a session and answers with its sessionId. Give that sessionId on every later call to that session.
realm: "computer" runs reticle-computer of the same release as the daemon, through npx. The first open can take some time while npx downloads the package. Set RETICLE_COMPUTER_BIN to run a reticle-computer of your own. See the computer realm.
realm: "browser" does what reticle_attach_tab does, at RETICLE_CDP_URL or http://127.0.0.1:9222.
realm: "terminal" runs the command with reticle-computer --command, and joins it as a session. See A command-line program below.
The allow list
A tool call does not show the approval prompt that an agent shows before a terminal command. So an agent can open only an application that the person listed in~/.reticle/computer-open.json:
- Ask the person if an agent may open that application.
- If the person agrees, add the name to the
openlist, or make the file with{ "open": ["<name>"] }. The agent’s own approval prompt for a file change then asks the person again. - Call
reticle_open_realmagain.
~/.reticle/computer.json. That file holds the person’s limits, such as backgroundOnly. Stop in the HUD and ~/.reticle/computer.stopped still apply to a realm that an agent opened.
A password vault (Bitwarden, 1Password, LastPass, Dashlane, Keeper) and a sign-in page are never joined.
A command runs only when the person listed its program in the same file, under commands:
npm does not allow /tmp/other/npm. Without this list, a tool call could run any command without the approval prompt that the agent shows for a terminal command.
A command-line program
reticle_look { action: "page", sessionId } shows:
status:running,exited 0, orkilled SIGTERM.stdin: a text box while the command runs. Its value is the line typed so far.outputanderrors: the lines the command printed on stdout and on stderr. Each list shows the newest 200 lines and says how many it left out.
reticle_close_realm stops a command that still runs.
reticle_close_realm
- A desktop application leaves Reticle. The application keeps running.
- A command-line program that still runs gets
SIGTERM. - A tab gets its page security back when no other tab that the agent opened over that browser is left.
closeends only a session that the same agent opened withreticle_open_realm. Any other session is refused. To end a session for good, usereticle_session { action: "end" }.- When the agent leaves, every realm it opened closes after 30 seconds, unless the agent comes back first.
reticle_attach_tab
Joins a tab that is open in the person’s own Chromium browser, as a session: their mail, a cloud console, a tool that they are signed in to.
The browser must run with
--remote-debugging-port, for example:
Carry a value from one realm to another
reticle_session { action: "board", carry } reads the value of an element in one session, fills it into an element of another session, and reads it back. arrived says whether the target shows the value.