Expand description
How this AgentMux was installed, and which release file upgrades it
(docs/specs/SPEC_UPGRADE_FOR_USERS_AND_AGENTS_2026_10_15.md §4.2).
Read from where the running srv binary is, so nothing has to be passed down from the launcher:
- Windows portable: srv is in
<folder>/runtime/, besideagentmux-portable.marker, and<folder>/agentmux.exeis the launcher.setup.exeinstalls the sameruntime/(marker included), so a folder with Inno Setup’s uninstaller (unins000.exe) is asetup.exeinstall; - Microsoft Store: under
WindowsApps; the Store updates it; - Windows
setup.exe: any other Windows install; - macOS: inside an
.app(srv runs nested in it, so the app is the outermost one); it can only be upgraded in place from a folder the user can write, not from the mounted.dmgor an App-Translocated copy; - Linux: an AppImage (
$APPIMAGE), a portable folder (the marker), or a.deb/.rpm(under/usror/opt; dpkg’s own file list says which package manager owns it, and the packages’ install helper says whether it can upgrade itself:docs/specs/SPEC_LINUX_PACKAGE_UPGRADE_AND_REPOSITORY_2026_10_24.md).
Enums§
- Install
Kind - How this AgentMux was installed.
Constants§
- PACKAGE_
HELPER - What a
.debor.rpmships to install its own updates as root, through polkit (scripts/agentmux-install-update.sh).
Functions§
- detect
- How the running AgentMux was installed.
- has_
uninstaller - Whether
dirholds Inno Setup’s uninstaller (unins000.exe, orunins001.exe… when one was already there): asetup.exeinstall. - linux_
portable_ root - The Linux portable folder above srv at
exe(AgentMux/usr/bin/srv): the one holdingagentmux.sh. - outermost_
app - The
.appsrv atexebelongs to, by the bundle layout: srv runs in a helper app nested inAgentMux.app/Contents/Helpers/(runtime_mode::app_bundle_of).