Skip to main content

Crate agentmux_srv

Crate agentmux_srv 

Source

ModulesΒ§

bootstrap πŸ”’
Server bootstrap sequence, extracted from main().
config πŸ”’
drone πŸ”’
Drone pane backend β€” issue #753 Phase 1.
headless πŸ”’
Headless mode: srv started directly β€” a container entrypoint, a server, CI β€” with no launcher or desktop host. docs/specs/SPEC_SRV_HEADLESS_MODE_2026_09_26.md.
malloc_arenas πŸ”’
Linux (glibc) only: cap glibc’s malloc arenas, and pin its mmap threshold.
messaging πŸ”’
Messaging bridge framework β€” common types shared by all platform bridges.
open_cli πŸ”’
agentmux-srv open: open a browser at a headless srv that serves its own UI. SPEC_HEADLESS_SERVER_PACKAGE_AND_LOCAL_WEB_UI Β§3.
proc_name πŸ”’
The name ps, top and desktop system monitors show for this process on Linux.
sagas πŸ”’
server πŸ”’
system_drive πŸ”’
SystemDrive for a Windows srv started with a bare environment (a headless srv under a service manager, env -i). The shell’s icon and thumbnail caches live in %SystemDrive%\ProgramData\Microsoft\Windows\Caches, and the shell expands that name from the process environment, not from the registry. With the variable missing, the text stays as it is and the shell makes a folder literally called %SystemDrive% in the current directory (#2524). srv sets the variable itself, from the Windows folder, so every child it starts (the file-icon helper first) inherits a real drive.

StaticsΒ§

ALLOCATOR πŸ”’
The system allocator with counters in front of it, so the srv memory log line can say how much of what the process has committed is in use (backend::mem_census::alloc).

FunctionsΒ§

app_main πŸ”’
exit_if_helper_child πŸ”’
Runs the document-reading or file-icon child srv was started as, and exits; returns when this is an ordinary start.
main πŸ”’
prepare_process_mode πŸ”’
Prepares the process for headless or launcher-owned running; true when headless.