The web UI
A browser draws better than a terminal: real type, images, a diff you can scroll, a palette under ⌘K. But an agent on your machine listens on a private socket, and a browser can't open one. And the browser that would run your agent's page also runs every other site you have open. So how does a page reach an agent on your Mac, while the other tabs can't?
The idea
In agents generally
A browser can open only a few kinds of connection: HTTP requests, WebSockets, and server-sent events, all to an address and a port. It can't open a Unix socket, a pipe, or a file. So a local agent that wants a browser screen needs a bridge: a small server on the loopback address, 127.0.0.1, that speaks HTTP on one side and the agent's own protocol on the other.
That bridge is easy to build and easy to get wrong, because loopback is not private. Any page in your browser can send a request to 127.0.0.1. A site you visit can try to open a WebSocket to the bridge's port. A site can also point its own name at 127.0.0.1 after the page has loaded (DNS rebinding), so the browser treats its requests as same-origin. If the bridge answers them, a web page can type commands into your agent, and the agent can run code.
So a local bridge checks three things on every request:
- Who. A secret that only your page holds. The command that opens the page hands it over, and other sites can't read it.
- From where. The
Originheader says which page sent a request, and browsers don't let a page forge it. TheHostheader says which name the browser thought it was talking to, which stops rebinding. - What. Even your own page should not be able to send every command. A page shows text from models, tools, and files, and some of that text may try to run as script. So the bridge allows only the commands a page needs.
Past the bridge, the page is a window like any other (see The terminal app): it folds the agent's numbered events into a small state and paints it.
How agents usually do it
| Approach | How it works | Good at | Costs |
|---|---|---|---|
| The agent serves the page | The agent process opens a port and serves HTTP, often with server-sent events for the stream | One process, one hop | A web server, a port, and login code in the process that holds the chats. A second API beside the agent's own protocol |
| A separate local gateway | A small server on loopback passes the agent's protocol through a WebSocket | The agent stays private. All web security sits in one small program | One more process, and one more hop |
| A hosted relay | The agent dials out to a server on the internet, and the page talks to that server | Reach the agent from a phone or another computer | Your chats pass through someone else's machine. Accounts, and a service to run |
| A tunnel | ngrok, Tailscale, or an SSH forward puts the local port somewhere else | Quick remote access | Whatever guards the port now guards it on the internet too |
| A desktop shell | Electron or a native webview loads the page and talks to the agent itself | No browser tabs, so no foreign origins | An app to build, sign, and update for every platform |
Several open problems are the same for every local web screen:
- Login without a password. The page has to prove it was opened by you, with no account and no prompt.
- Cookies on
127.0.0.1are shared by every port. A cookie set by one local server is sent to every other local server you run. - The page shows untrusted text. Model output, a tool's output, or a file's content can hold HTML. If it runs as script in the page, it can send commands.
- Hidden tabs sleep. Browsers slow a hidden tab's timers to about once a minute and stop its animation frames, so a heartbeat and a batched paint both stall.
- An old page after an upgrade. A cached page may speak an older protocol than the agent it reaches.
How golem does it
In golem
golem keeps the daemon as it is, on its Unix socket only, and puts a gateway in front of it (ADR-028). golem starts it on 127.0.0.1:7480, in the same golem binary as the TUI (ADR-019). The gateway has three stages:
- The login.
HostandOriginmust be exactly127.0.0.1:7480, and a WebSocket must carry a cookie whose secret the gateway made. A wrongHostorOrigingets 403. A missing cookie gets a socket that opens and closes at once with code 4401, which the page shows as "Rungolem webfor a fresh link". - The filter. One WebSocket message must be exactly one JSON object, with no line break, and a method a browser may call. Breaking the shape closes the link with 1008. A method a browser may not call, such as
auth.set, gets the error-32020 not allowed from the browser, and the link stays open. - The bridge. Each WebSocket gets its own connection to
golem.sock. Lines pass through unchanged in both directions. The gateway never speaks the protocol itself.
The login trades a token for a cookie. golem writes a random token to ~/.golem/run/web.token, readable only by you, and opens http://127.0.0.1:7480/#t=TOKEN. A browser never sends the part after # to a server. The page posts the token to /auth/exchange and gets a cookie with a fresh secret, not the token, because every local server would receive a cookie on 127.0.0.1. Then the page removes #t= from the address and opens /ws.
Inside, the page is the terminal app's client in a browser (ADR-029). @golem/client is the same code, with wsDial in place of the Unix socket: hello, the ping, the reconnect, and the attach after the last seq. reduceChat from @golem/view folds each session's events. What differs is where the state lives:
- Session stores, one per attached session, folded by
reduceChat. Deltas wait for the next animation frame. Any other event folds them first, then applies at once, so a hidden tab still shows a waiting approval. - The live store: the link, the session list, and downloads, which the daemon pushes to every connection.
- TanStack Query: answers to requests such as
model.listandskill.list. A pushed event marks an answer stale, so nothing polls.
Here is a real run against a throwaway daemon with qwen3.5:4b. The gateway is golem's own startGateway on port 7491. A script plays every part: a foreign site, the page, and a terminal client on the Unix socket that attaches to the same session. Times are milliseconds from the start, ids are shortened, → is a line the page sent, and ← a line it got:
7 GET /healthz → 200 {"golem":"web","pid":…}
8 upgrade from Origin http://evil.example: HTTP 403 bad origin
8 upgrade from Origin http://localhost:7491: HTTP 403 bad origin
9 upgrade from the right Origin, no cookie: opened, then closed 4401 login required
10 POST /auth/exchange, a wrong token → 403 bad token
10 POST /auth/exchange, the token → 204 Set-Cookie: golem_7491=…; HttpOnly; SameSite=Strict; Path=/; Max-Age=2592000
11 upgrade with the token itself as the cookie: opened, then closed 4401 login required
13 two objects joined by \n: closed 1008 line-break
13 page link open
13 → {"jsonrpc":"2.0","id":1,"method":"hello","params":{"protocol_major":2,"protocol_minor":35,"client":"web"}}
14 ← {"jsonrpc":"2.0","result":{"protocol_major":2,"protocol_minor":35,"daemon_version":"0.0.0-dev"},"id":1}
14 → {"jsonrpc":"2.0","id":2,"method":"auth.set","params":{"provider":"anthropic","key":"x"}}
14 ← {"jsonrpc":"2.0","id":2,"error":{"code":-32020,"message":"not allowed from the browser"}}
14 → {"jsonrpc":"2.0","id":3,"method":"session.create","params":{"cwd":"/tmp/g10"}}
15 ← {"jsonrpc":"2.0","result":{"session_id":"s_0040…"},"id":3}
17 terminal client on the Unix socket attached to the same session
17 → {"jsonrpc":"2.0","id":4,"method":"session.attach","params":{"session_id":"s_0040…","after_seq":0}}
18 ← event seq 1 session.created
18 ← {"jsonrpc":"2.0","result":{"session_id":"s_0040…","last_seq":1},"id":4}
18 → {"jsonrpc":"2.0","id":5,"method":"message.send","params":{"session_id":"s_0040…","text":"In two sentences, what is a clay golem? Do not use tools."}}
54 ← {"jsonrpc":"2.0","result":{"run_id":"r_1715…"},"id":5}
55 ← event seq 2 message.completed
56 ← event seq 3 run.started
57 ← event seq 4 message.started
1408 ← event seq 5 message.delta "A"
1419 ← event seq 6 message.delta " clay"
2164 ← event seq 72 message.completed (after 67 deltas)
2165 ← event seq 73 run.completed
2466 page: 73 events, 67 deltas; terminal: 67 deltas; same answer: true (360 chars)Every refusal came before a single protocol line reached the daemon. localhost is a different origin from 127.0.0.1, so it is refused too. The token itself is worthless as a cookie, because the gateway accepts only the secrets it made. The \n rule is the one that matters most: without it, ping would pass the method check and auth.set would reach the daemon behind it. auth.set sent alone got a JSON-RPC error with its own id, and the link stayed up. Then the page's lines went through byte for byte, the daemon's reply came back with its own key order, and the page and the terminal client got the same 67 deltas and the same 360-character answer.
The same rules are tests. packages/gateway/src/framing.test.ts and auth.test.ts cover the cases ADR-028 lists, from Host: 127.0.0.1.nip.io:7480 to a duplicate method key. just e2e drives Chrome against a real daemon with a fake model and the gateway, and fails on any CSP violation or console error.
Where it lives in the code:
packages/cli/src/web-command.ts:golemandgolem web, which both runopenWeb. It finds or starts the gateway, writes the token, and opens the link throughosascript.packages/gateway/src/bun/server.ts:startGateway, theBun.serveadapter:/healthz,/auth/exchange,/ws, and the page's files.packages/gateway/src/auth.ts:checkRequest,checkUpgrade, andexchangeToken.packages/gateway/src/framing.ts:filterMessage, which forwards, denies, or refuses one message.packages/gateway/src/bridge.ts:createBridge, one WebSocket to one daemon connection, with the pause at 4 MiB.packages/protocol/gen/browser-methods.ts:BROWSER_METHODS, written byjust gen.packages/web/src/store/boot.ts:bootPage, which trades the token and makes the one client.packages/web/src/store/session-store.ts:createSessionStore,reduceChatwith deltas once per frame.packages/web/src/store/query.ts:keepQueriesHonest, the pushed events that make answers stale.
Why this way
A gateway, not a web server in the daemon (ADR-028). The daemon holds every chat, and it stays a process with no port, no TLS, no cookies, and no login code. All network security lives in one small TypeScript program whose core is plain functions over Request and strings, tested on their own. The cost is one more process when you use the web UI, and one more hop, which costs microseconds.
The protocol through a WebSocket, not a second HTTP API. The page speaks the same JSON-RPC lines as the TUI, so attach, replay from after_seq, and fan-out come for free (ADR-007). An HTTP API with server-sent events would be a second shape to keep in step with the protocol, and replay would have to be built again.
Forward the text, never a copy. The gateway parses each message only to check it, then forwards the original text with one \n. If it re-serialized the JSON, the daemon would read something the page did not write, and an encoding difference would become a bug in the security boundary.
An allowlist, generated from the protocol. Each command declares whether a browser may call it, and just gen writes the list. A test fails when the daemon answers a method nobody declared, so a new command such as daemon.shutdown can't reach the browser by accident. A denylist would be shorter today, and every new privileged command would be open on the day it lands.
A token in the fragment, then a cookie of the gateway's own. The token travels only in the address after # and in one POST body. The cookie holds a secret that the gateway keeps only as a hash on disk, named after the port (golem_7480), HttpOnly and SameSite=Strict. A local dev server on another port that receives it can't use it without the right Origin. The cost: a file of hashes in run/, which gives a program running as you nothing it cannot already get.
A 4401 close, not an HTTP 401. A browser reports a refused upgrade only as a generic failure, the same as a network error, and the client would retry forever. A socket that opens and closes with 4401 lets the page stop and say what to run.
The terminal app's client and reducer (ADR-029). A bug fixed in @golem/client or reduceChat is fixed in both windows, and the two can't disagree about the same chat. Only the way bytes move differs, so that part is an interface: unixDial for the terminal, wsDial for the page.
Pushed facts and pulled answers apart. A session is pushed, in seq order, up to hundreds of times a second, so it folds into a small store. An answer such as model.list is pulled once and cached, so it lives in TanStack Query. Writing each delta into a query cache would wake every subscriber on every delta. No command updates the screen optimistically: your line appears with message.completed, as in the TUI, so the page never shows what the daemon didn't store.
Untrusted text stays data. DOMPurify is the only way HTML enters the page, and a lint rule forbids dangerouslySetInnerHTML anywhere else. A strict Content Security Policy backs it up: no inline script, no script from another host, no eval, and no WASM.
Try it
- Run
golem. The page opens on127.0.0.1:7480, and the address bar no longer shows#t=once the page has loaded. - Run
golem tuiin a terminal in the same folder, and ask something there. The browser's sidebar shows the session working, and opening it shows the same answer streaming. - Open
http://localhost:7480instead. The gateway answersbad host, because only127.0.0.1is let in. - Stop
golemwith Ctrl-C and start it again, then reload the tab. It connects without a new link, because the gateway kept a hash of the cookie. Rungolem web logoutand the next request shows "This page needs a fresh link". - In the page's devtools, open the Network tab and the
/wssocket. Every frame is one protocol line, the same lines/debug wireshows in the TUI.
The details
For contributors: the reference for the gateway and the page. ADR-028 and ADR-029 hold the reasons and the shapes that lost. The design system holds the look, and the gallery shows it screen by screen.
golem and golem web
Bare golem and golem web both run openWeb in the golem binary, so they do the same thing: golem web stays as a permanent alias. With no daemon running, it first asks to start golem's service (ADR-033). Then it reads ~/.golem/run/web.json, which holds pid, port, and started_at. If that pid is a live golem process and /healthz answers {"golem":"web","pid":N} with it, golem reuses that gateway: it reads web.token and opens the same kind of link. Otherwise it removes the stale file and starts a new gateway. The gateway starts before web.token is written, so a port that is taken never replaces the token of the gateway that holds it.
| Option | What it does |
|---|---|
--port N | Serve on another port. The default stays 7480, because a new port is a new origin, and the cookie and the remembered theme go with it. A port that is taken fails with a message that names --port |
--no-open | Print the link, with its token, instead of opening the browser |
--json | Print {url, port, pid} and open nothing, for scripts |
The browser is opened through osascript reading the link on stdin, because process arguments are visible to other users, and the link holds the token. Without --no-open the terminal shows the address without the token. golem runs the gateway in the foreground until Ctrl-C. golem web logout signs every browser out. The gateway does not read config.toml.
The token and the cookie
- The token file is the root of trust.
web.tokenholds a random 32-byte value, mode0600, opened withO_EXCLso no other file can be in its place. The gateway refuses to start whenrun/can be written by anyone but you. A new token is written each time a gateway starts, and the gateway deletes it when it stops. POST /auth/exchangetakes{"token": "…"}asapplication/json, at most 4096 bytes, and compares it in constant time. A good token gets 204 and a cookie with a fresh secret:golem_<port>=<secret>; HttpOnly; SameSite=Strict; Path=/; Max-Age=2592000(30 days). It has noSecureflag, because the page is plainhttpon127.0.0.1, and browsers drop aSecurecookie there.- Sign-ins survive a restart. The gateway keeps
~/.golem/run/web-sessions: a SHA-256 of each live secret and its expiry, mode0600, written to a temp file and renamed (O_EXCL, asweb.tokenis). The secret itself is never written. The gateway reads the file on each check, so a corrupt file is replaced and everyone signs in again, andgolem web logout, which empties it, takes effect on the next request. A cookie is compared by its hash, in constant time. The code issessions.ts(the store, free of Node) andsession-file.ts(the file). - The page reads
#t=intakeLoginToken, removes it withhistory.replaceStateso it doesn't stay in the history, and posts it. The result of the exchange is ignored: a stale token ends in close code 4401, which shows the right screen.
What every request is checked for
| Check | Rule | Refused with |
|---|---|---|
Host | Exactly 127.0.0.1:<port>. Stops DNS rebinding | 403 bad host |
Origin | Exactly http://127.0.0.1:<port>. localhost, another port, upper case, or a trailing slash is refused. On an upgrade or a POST, a missing Origin is refused too, because browsers always send it there | 403 bad origin, origin required |
Sec-Fetch-Site | When present, same-origin or none | 403 bad fetch site |
| The cookie | On /ws only, it must name a live secret | Opened, then closed with 4401 login required, before any line passes |
| How many | At most 16 WebSockets at once | 503 |
/healthz checks Host only and needs no secret. The page's files are served without a cookie, so the page can load and run the exchange. Nothing in them is private.
One message, one line
The daemon reads JSON lines and splits on \n (ADR-003). A browser sends whole WebSocket messages. filterMessage joins the two without ever building a line the page didn't send.
- Browser to daemon: one text message is exactly one JSON object. A message is refused, and the link closed with 1008, when it is binary, larger than 1 MiB (the daemon's
MAX_LINE_BYTES, also Bun'smaxPayloadLength), contains\nor\r, isn't JSON, isn't a plain object, or has no stringmethod. The gateway appends the one\nitself and forwards the original text. - A method a browser may not call gets a JSON-RPC error with the request's
id, code-32020, and the link stays open. A denied request whoseidis an object or an array gets no reply, because JSON-RPC can't address it. - Daemon to browser: one line is one WebSocket message.
createLineSplitterdecodes the socket's bytes with a streaming UTF-8 decoder, so a character split across two reads stays whole, splits on\n, and sends each line without it. The daemon's lines are trusted and not parsed. - The gateway never speaks the protocol. It sends no
helloand nopingon a bridged connection, so request ids belong to the page alone.
Which methods a browser may call
Each command in golem_protocol declares whether a browser may call it, and just gen writes packages/protocol/gen/browser-methods.ts, which the gateway imports. packages/daemon/tests/test_browser_methods.py fails when a method the daemon answers has no declaration.
- Denied:
auth.set, because the API key would pass through the page's memory, its devtools, and its wire view, andauth.remove, because key management stays in the terminal, where the Keychain prompt is. - Allowed, and easy to get wrong:
auth.listnever returns a key, only where each one is stored.policy.update,approval.respond, andmessage.sendare the point of the web UI. Together they can make golem run code on the Mac, which is why the threat to guard against is cross-site scripting, not secrets.
Liveness and load
- The heartbeat is end to end. The page's client keeps its
pingevery 5 s and its 10 s timeout, through the gateway, to the daemon. When a tab becomes visible again, the page callscheckNow, which pings at once, because a hidden tab's timers run about once a minute. - Between the browser and the gateway, Bun's
idleTimeout(120 s) andsendPingsclose a dead WebSocket. - A close on either side closes the other. A daemon that is down at the upgrade opens the socket and closes it with 1013, so the page can tell "daemon down" from "gateway down". A daemon that closes later closes the WebSocket with 1001. The page reconnects, says
hello, and attaches again from its lastseq. - Backpressure. When the browser falls behind and its buffered amount passes 4 MiB, the bridge stops reading the daemon socket and resumes on
drain. The daemon's queue for that connection then fills, and atMAX_PENDING_FRAMES(20 000) the daemon drops the connection. The page attaches again fromafter_seq. Input toward the daemon that piles up past 4 MiB unwritten closes the WebSocket with 1008.
Headers and the page's files
withSecurityHeaders adds these to every answer:
| Header | Value |
|---|---|
Content-Security-Policy | default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self'; frame-ancestors 'none'; base-uri 'none'; form-action 'self' |
X-Content-Type-Options | nosniff |
Referrer-Policy | no-referrer |
Cross-Origin-Opener-Policy | same-origin |
'unsafe-inline' is for styles only, because Radix's scroll lock injects a <style>. frame-ancestors 'none' stops another page from framing the approval card. index.html is no-cache and hashed assets are immutable, so after brew upgrade the next load is the new page. There is no service worker, because one would show an old page, speaking an old protocol, after an upgrade.
The page's files are embedded in bin/golem at just dist, from packages/web/dist. A checkout serves that folder when it is built, and a placeholder otherwise. A path without a file extension serves index.html, so the page's routes reload.
In development, vite dev serves the page on its own port. Its proxy for /ws and /auth rewrites Origin and Host to the gateway's own, and accepts only the dev page itself, so the gateway runs with the same checks as a release (packages/web/vite.config.ts).
What the page holds
bootPage trades the token, then makes one client with wsDial on the page's own host and clientName: "web", and createPage builds everything on it.
| Kind | Examples | Where it lives |
|---|---|---|
| A session's events | The transcript, streaming text, tool calls, the waiting approval, todos | A session store per attached session, folded by reduceChat |
| Live facts | The connection, the session list (session.list with watch), downloads, MCP and model server status | The live stores: connection.ts, session-list.ts, pulls.ts |
| Answers to a request | model.list, setup.status, skill.list, session.inspect | TanStack Query, keys [method, ...params] |
| Screen-only state | The draft, an open drawer, the theme, the palette | React state, a context, and localStorage for the theme |
The new-session store (
new-session.ts) holds what the empty screen has chosen: the folder, and the model. The model isnullfor the default and is sent asmodel_profileofsession.create. It is cleared once the first message is sent, and a reload starts from the default again.A session store is
createStore(a snapshot and its listeners) withdispatch.message.deltawaits in a map by message id until the nextrequestAnimationFrame. Any other event folds that map first, then itself, at once.foldalso keeps the session's title, folder, and model fromsession.created,model.selected, andsession.updated. In dev mode, each store reports what it folded to the Redux DevTools extension through its plain browser API, with no Redux in the bundle.Stores come and go with use.
acquire(id)attaches on the first use and detaches after the last release. The detach waits one tick, so React's strict-mode remount keeps the attachment. A session you are not looking at costs nothing. The sidebar's dots come from the session list, so a session doesn't have to be attached to show that it works or waits.Unchanged messages keep their identity.
reduceChatreturns the same object for every message an event didn't touch, so a memoized row doesn't render again while another message streams.Answers stay fresh until an event says otherwise.
staleTimeisInfinityand refetching on focus is off.keepQueriesHonestmarks them stale:Pushed Makes stale skill.registry.changedskill.listmcp.server.statusmcp.list,mcp.toolsa download that ends, a model server that changes model.list,setup.statussession.updated, a session summarythat session's session.inspecta reconnect everything Commands are thin calls.
PageActionsinpage.tswrapsmessage.send,approval.respond,run.cancel,session.set_model, and the rest. Their results arrive as events, so there is nothing to merge.The draft is kept per session id, or
"new", in memory only, so switching away and back keeps what you typed.Routes are
/,/s/:id,/settings, and/welcome, from a small history router inrouter.ts./welcomeis first run, with no sidebar:?step=engine|model|tools|readynames the step and?from=sendsays a send with no model sent the person there. At the start, a fresh home goes to/welcomeand a default that is gone goes to/welcome?step=model(ADR-039).Laterleaves aFinish setupstrip on home until a default model is ready. A send that fails with no model navigates to/welcome?from=sendand the draft stays under its key, and/setupand the palette's Setup row navigate to/settings/setup, whoseRun setup againgoes to/welcome. The web has no setup dialog: setup is these two pages.
The look, and what may render
- Tokens only.
src/styles/tokens.cssis the one place golem's colours, fonts, and sizes are defined, each colour once aslight-dark(slip, kiln). Tailwind's own palette is removed, so a component can only writebg-surface text-ink.no-arbitrary.test.tsfails on a class such asbg-[#123456], andtokens.test.tschecks the contrast of every text-on-surface pair in both themes. The docs site reads the same file. - The theme is
color-scheme. With nodata-themeon<html>the system decides, with no script and no flash.data-theme="slip"or"kiln"forces one. - The layers.
ui/holds primitives (Radix,cva) and imports nothing fromfeatures/orstore/.features/holds the screens and never imports@golem/client: they read and act throughstore/. ESLint enforces both, andlint-rules.test.tschecks the rules. - Untrusted text. Markdown goes through
marked, then DOMPurify (features/chat/markdown.ts), which forbidsstyle,<svg>,<math>, forms,javascript:anddata:links, and remote images. Links open in a new tab withrel="noopener noreferrer".xss-corpus.tsis the test corpus. Tool output and diffs are text. Code is highlighted by Shiki with its JavaScript regex engine, because the CSP forbids WASM. - The tab shows golem's state without the page being on screen.
features/tab-statussets the favicon and the title from the same states as the TUI's tab, outside the animation frame. - Commands the page doesn't have yet are listed in
TERMINAL_ONLY(features/composer/terminal-only.ts). The palette marks themIn the terminal for now, and running one says where it lives.
Files
| File | What it does |
|---|---|
packages/cli/src/web-command.ts, web.ts | golem, golem web: find or start the gateway, write the token, open the link |
packages/gateway/src/bun/server.ts | startGateway: the routes, the WebSocket, one daemon socket per link |
packages/gateway/src/auth.ts | checkRequest, checkUpgrade, exchangeToken, the cookie |
packages/gateway/src/framing.ts | filterMessage: forward, deny, or refuse one message |
packages/gateway/src/bridge.ts | createBridge: the queue, the pause at 4 MiB, the close codes |
packages/gateway/src/lines.ts | createLineSplitter: daemon bytes into whole lines |
packages/gateway/src/token-file.ts, run-file.ts | web.token and web.json |
packages/gateway/src/headers.ts | withSecurityHeaders and the CSP |
packages/protocol/gen/browser-methods.ts | BROWSER_METHODS, from just gen |
packages/client/src/ws-link.ts | wsDial: the client's link over a WebSocket |
packages/web/src/store/boot.ts, login.ts | The token for the cookie, then the one client |
packages/web/src/store/page.ts | createPage: every store on one client, and acquire |
packages/web/src/store/session-store.ts | One session's view, deltas once per frame |
packages/web/src/store/query.ts | The query client, and the events that make answers stale |
packages/web/src/styles/tokens.css | golem's look, in slip and kiln |
packages/web/e2e/ | just e2e: Chrome against a real daemon and gateway |
Read more
- Next: Tracing: how an answer was made.
- Before: The terminal app: the fold, the batcher, and the client this page shares.
- The web UI: how to use it.
- The design system: the pixel golem, the shem, the type, and the tokens. The gallery shows every screen.
- The protocol:
hello,seq, and attach, which pass through the gateway unchanged. - The daemon: the socket the gateway stands in front of.
- The overview: the whole system on one page.