Repository navigation
Agent Office v0.4.1
Two fixes for bugs that shipped in v0.4.0. Both only appear outside the test suite, which is why
they got through: one needs a real upgrade over a running install, the other needs a real browser.
Fixed: the Windows installer failed on upgrade
Installing over an existing version failed with:
Error opening file for writing: ...\AppData\Local\Agent Office\agent-office-collector.exe
Agent Office closes to the tray by default, so the app is usually still running when you install
an update, and NSIS cannot overwrite a running executable. The installer stopped the main binary
but knew nothing about the collector it spawns.
The installer now stops the collector before copying any file, and before an uninstall removes
them. This fix lives in the installer itself, so upgrading from v0.4.0 to v0.4.1 already
benefits — you do not need to quit from the tray first.
Fixed: the sharing panel was missing
Settings showed no sharing section at all: no QR code for the phone app, no Tailscale device
list, no token rotation. With the QR gone, the Android viewer had no supported way to be pointed
at a hub.
The panel renders nothing when it cannot read /api/remote, and that read always failed.
Browsers send no Origin header on a same-origin GET, which is per the fetch spec, but the
endpoint demanded one. A valid loopback Origin is still required whenever one is present, and
every state-changing request keeps the full check, so the CSRF protection this replaced is
intact.
Install
| Platform | File |
|---|---|
| Windows | Agent.Office_0.4.1_x64-setup.exe or _x64_en-US.msi |
| Debian/Ubuntu | Agent.Office_0.4.1_amd64.deb |
| Fedora/RHEL | Agent.Office-0.4.1-1.x86_64.rpm |
| Any Linux | Agent.Office_0.4.1_amd64.AppImage |
| Android (viewer) | Agent.Office_0.4.1_android-arm64.apk |
Arch users: agent-office-bin on the AUR.
Installers are not code-signed yet, so Windows SmartScreen will ask on first run
("More info" → "Run anyway").
The .msi is built by WiX rather than NSIS and does not carry the installer fix above. WiX uses
Restart Manager, which detects the locked file and asks you to close the app instead of failing,
so the behaviour differs but is not a hard error.