Skip to main content

Crate forge_browser

Crate forge_browser 

Source
Expand description

The server-owned browser: one CEF host process per org profile, and the host owns that profile’s tabs.

The host is a bundle of its own (Forge Browser.app), staged by scripts/stage-browser-host.sh beside forge’s machine-local state, so the server never links CEF into its own process and nothing here needs the client installed.

Modules§

channel
Frames over a Unix socket: length-prefixed, so one read is one frame.
control
The host’s control lines to the server, on stdout.
frame
A painted frame as it leaves the host: a small header and encoded pixels.
host_bundle
Where the server’s own CEF bundle lives.
idle
The idle release: a profile nobody has touched for a while closes.
input
Input as the page receives it: a controlling viewer’s gesture, routed to the part of the browser that can deliver it as a person’s own.
profiles
The server’s profile store: one directory per org profile.
tabs
The Playwright driver’s tab list, as the service reads it.