slicc-cli
slicc is SLICC's command line for seven, the SLICC on *.sliccy.ai. It is one binary for macOS, Windows and Linux. It launches and links browsers, and shares a machine's network, compute and browsers with a running seven over a WebRTC link. npx sliccy and Sliccstart.app run this binary. It replaces slicc-node and slicc-swift (see Coming from slicc-node).
Status: being built. slicc (the default flow), slicc attach (with the cdp capability), slicc open, slicc pair and slicc unpair (seven in your everyday browser, without CDP), slicc <join-url> follow, slicc tray (on a machine and inside seven), remote control with prompt, watch, wait and abort, approvals with approvals and decide (also from inside seven's kernel, see Inside seven), seven's browser as a CDP endpoint here with slicc <join-url> cdp, host folders with --mount, slicc browsers, slicc launch, update, install, --version and --help work so far, plus a hidden diagnostic, slicc <join-url> follow --signal-only [--timeout 2m]. It attaches through the tray hub, prints a summary of the leader's offer (its size, media sections, candidate count and DTLS fingerprint) and the ICE server URLs (credentials are never printed), and exits without answering. The link protocol is specified in Link protocol.
Commands (planned)
| command |
what it does |
slicc |
pick browsers in a small TUI; Enter launches or attaches to the best match, opens seven and links it. With no SLICC profile and no CDP endpoint, its best match links seven in the default browser instead, and without a terminal slicc does that by itself (works now; see The default) |
slicc attach --cdp <url> |
link a seven that is open in an already-running CDP browser (works now; see Local setup) |
slicc open, slicc --default-browser, slicc pair |
link a seven in your everyday browser, without CDP: open or print a pairing URL (works now; see Linking seven in your everyday browser) |
slicc unpair [<fingerprint> \| --all] [--json] |
list or forget the sevens paired with open or pair, and close their live links |
slicc tray [--json] [-q] [-a] |
list the slicc processes on this machine that hold a link: mode, seven, device, state and offers (works now; see Running links) |
slicc launch |
launch a browser with CDP in a separate SLICC profile and print its CDP URL |
slicc <join-url> follow [--exit] [--runner …] [--cdp <url>] [--mount <path>] |
follow a seven's tray from another machine and offer its network, compute (over SSH), browsers or folders (--exit, --runner, --cdp and --mount work now; see Remote setup). - or @<file> in place of <join-url> reads it from stdin or a file, out of sight of ps |
slicc <join-url> prompt <text>, watch, wait, abort |
send a prompt to seven's agent and stream its answer, follow the agent as it works, wait until it has nothing left to do, or abort its run; --cdp <url> instead of a join URL links locally (works now; see Remote control) |
slicc <join-url> cdp [--port <n>] [--json] |
serve seven's browser as a CDP endpoint on this machine's loopback, for stock Playwright, Puppeteer and other CDP clients, through seven's guard; --cdp <url> instead of a join URL links locally (see Driving seven's browser from another computer) |
slicc <join-url> agents [--watch] [--json] |
list seven's agents, the active cone and its live scoops, with their status, queue and model, once or as they change; --cdp <url> instead of a join URL links locally (see Agent inventory) |
slicc <join-url> approvals [--watch] [--json], decide <id> once\|always\|deny\|stop |
list what seven's approvals wait for a person to answer, and answer one, so a policy, a classifier or another app on this machine can answer them; --cdp <url> instead of a join URL links locally (see Approvals) |
slicc <join-url> prompt, watch, wait, abort, approvals inside seven |
the same commands from seven's kernel, as @ai-ecoverse/wasi-slicc (works now; see Inside seven) |
slicc tray [url \| rotate \| unlink <device> \| retry] inside seven |
this seven's tray: its state and devices, the join URL on request, rotate it, drop a device, reconnect (see Inside seven) |
slicc browsers --json |
list running CDP endpoints and installed browsers, ranked |
slicc update [--check] |
replace this binary with the latest release (works now; see Updates) |
slicc install jerk |
install slicc-jerk into slicc's data folder (works now; see Companion tools) |
slicc capabilities --json |
what this slicc offers a program that drives it: its commands, events and control ops (works now; see Driving slicc from a program) |
Signed leases: one task tab
This opt-in native broker offers navigation and top-document text snapshots only. It cannot click, fill, submit forms, read an iframe, export storage, take screenshots, switch tabs or run caller-supplied JavaScript. An approved site still executes its own scripts and has normal network access and account privileges. An allowed navigation itself may have side effects. A lease is not read-only account delegation.
Use a Seven and a per-job adapter that implement the dedicated lease route. The requester supplies a review command with a full Ed25519 holder thumbprint, for example:
slicc lease review --to jkt:GcQ_AwlsJJaOnKknp1hXLIo08um7bX0k796qClT9C8s --allow https://billing.example --for 1h
In a local terminal, review finds the matching proven request on a selected lease-only link, shows browser, link, holder, rules and deadline taken from that request, and issues the lease on APPROVE; DENY rejects it, and Enter or a missing terminal issues nothing. With no lease-only link yet, review pairs in that shell in this order: the selected browser's literal loopback HTTP origin, a local link label, then the tray hub origin the requester's Seven joined (https://www.sliccy.ai in production, not the Seven page address). That origin check accepts what a join URL accepts (https on any host; http only on a loopback host: localhost, 127.0.0.0/8, ::1), lowercases the host, drops the default port and a trailing dot, and refuses a user name, path, query or fragment. Before it dials anything, review prints Broker SHA-256 fingerprint for <hub origin>: <64 hex digits> for the requester's Seven to pin. Then enter Seven's full DTLS leaf SHA-256 fingerprint, verified out of band in the trusted task conversation (typed again on every first pair; a different one under a stored label is refused), and the join URL at the hidden prompt. The join URL is a reusable signaling bearer, not browser authority; it stays valid while Seven's tray leader is connected and for a while after it disconnects. Review reads it only at the hidden prompt and passes it only to the started peer's standard input. Paste the single join URL line; after Enter, review keeps echo off for a 300 ms quiet window (capped at 2 s) so a later paste chunk is not echoed. A join URL on another hub origin stops review before anything starts. Review starts a background lease-only peer, checks that it reports the printed fingerprint, and after REVIEW waits up to 15 seconds for the matching request on that peer. On no match, Enter, end of input, an interrupt or any error before approval starts, it stops the peer it started and issues nothing; after DENY it gives the denial three seconds to reach the job, then stops it. From the moment the approve call starts: on ok it prints Approved for <TTL> from approval (the matched request's TTL, not an absolute clock time) and keeps the peer; a definitive broker rejection (ok: false) means nothing was issued and stops the peer; only a transport error or interrupt after the call started keeps the peer, prints that the result is unknown, and points at slicc lease status and slicc lease revoke <lease-id>. It never prints that nothing was issued after a transport-unknown outcome. It never stops a link it did not start. A first pair needs the control socket's peer process check, available on macOS and Linux; on Windows review refuses a first pair. The lease identity store (tray-certs.json.lease beside the device store) holds the broker's private key and is owner-only; only the fingerprint is shown. A thumbprint is not an address. Pins do not come from the hub or an unauthenticated offer. Stop an unused background broker through its owned control socket. The lease-only follower neither reads nor writes join state. The lease-only link stays on the origin of the reviewed join URL: a hub that moves it to another origin is refused before any request; a new join URL on the same origin is followed in memory and not stored. Older releases may have stored join URLs in tray-join.json.lease in the user config directory (macOS ~/Library/Application Support/slicc/tray-join.json.lease; Linux $XDG_CONFIG_HOME/slicc/tray-join.json.lease or ~/.config/slicc/tray-join.json.lease; Windows %AppData%\slicc\tray-join.json.lease); this release ignores that file and does not erase it, so its bytes remain until you delete it yourself. Treat any join URL it held as exposed until no reachable successor tray is live: a tray expires once its leader has been disconnected past the reclaim period (one hour for desktop trays, thirty days for hosted ones), and an old join URL from a tray Seven has since replaced keeps leading to the newer tray. Disconnect Seven's tray if you want it to expire sooner.
For an already-paired automation route, use slicc lease grant --no-input --browser http://127.0.0.1:9222 --link work --to jkt:<thumbprint> --allow https://billing.example --for 1h. Any local process running as the same user, including a local agent acting as the requester, can approve a lease through the control socket (cdp-lease-approve) or slicc lease grant --no-input (an expansion through slicc lease grant <request> --add); nothing remote can, because the lease link has no approval operation. To keep untrusted local agents from approving, run the broker and owner commands as a separate OS user or keep those agents in a sandbox; the control socket is a 0600 socket in a per-user 0700 directory with a peer-uid check on each connection on macOS and Linux; on Windows only the directory's permissions (user and SYSTEM) protect it, with no per-connection check (see Running links). Choose the browser locally; do not use passwords or tokens in any URL. A bare HTTPS origin (no trailing slash) covers that origin's SPA paths, query and fragment. A slash means an exact URL, including exact root /. A trailing /** means a segment-bounded path prefix; https://billing.example/** is its root prefix. No wildcard hosts, inherited authority or implicit widening. Protected/credential origins win. Limits: eight distinct rules, 2,048 bytes per URL, one day per grant, sixteen pending requests and four active leases per broker.
Inspect slicc lease status. For expansion the job opens a new request for the added exact URL. slicc lease grant <request> --add https://receipts.example/r/1042 --keep-expiry issues a replacement for the same holder, task tab and absolute expiry, retiring old data streams. slicc lease deny <request> leaves the original intact. slicc lease revoke <lease> immediately retires it, including idle connections. Broker/browser disconnect invalidates the epoch; grants are never restored. On terminal expiry, revoke or graceful shutdown the broker attempts to close only the target it created, never an existing owner tab. A process crash, lost browser connection or a refusal by the underlying protected guard can leave a tab open without remote authority.
Exclusive transport and local control