Skip to content

Releases

Agent Office v0.4.2

Choose a tag to compare

@github-actions github-actions released this 06 Nov 06:11
1cc4b3e

Agent Office can now update itself. This release is mostly plumbing: you have to install it by
hand one last time
, and from here on the app can offer the next version on its own.

Updates from inside the app

Settings gained an Updates panel. It checks when you open Settings, downloads and installs on
request, and then offers a restart — it never restarts by itself, since you may be watching a run
you would rather not interrupt.

Every update is checked against a signing key baked into the app. An update that is unsigned, or
signed by anything else, is refused.

Settings also shows the version you are running, which it never did before.

Which installs can self-update

The Windows .exe and .msi and the Linux .AppImage are the intended path, and the Windows
update deliberately goes through the NSIS installer, because that is the one that stops the
background collector before replacing it.

If you installed from .deb, .rpm or the AUR, keep using apt, dnf or pacman. The update
manifest currently also lists .deb and .rpm, which would replace files your package manager
owns without telling it. That is being sorted out before the next release — see
#11. Nothing can act on it today, since
no earlier version has an updater at all.

Install

Platform File
Windows Agent.Office_0.4.2_x64-setup.exe or _x64_en-US.msi
Debian/Ubuntu Agent.Office_0.4.2_amd64.deb
Fedora/RHEL Agent.Office-0.4.2-1.x86_64.rpm
Any Linux Agent.Office_0.4.2_amd64.AppImage
Android (viewer) Agent.Office_0.4.2_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"). That is separate from the update signing above.

Agent Office v0.4.1

Choose a tag to compare

@github-actions github-actions released this 06 Nov 03:40
9ece798

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.

Agent Office v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 15:39
c84c70e

Agent Office is now open source under Apache-2.0. This release also fixes a startup bug that
affected every install.

Fixed: the app appeared to hang on startup

The desktop app checked whether its collector was alive by sending a Host header without the
port. The collector's host allowlist requires the port to match its listener, so every health
check came back 403
and the app never recognised a collector that was in fact running and
serving normally. It waited out a 30 second deadline and then showed an error.

The wait also happened before the window was created, so there was nothing on screen at all while
it ran. The window now opens on its loading page immediately and the wait happens in the
background, which also restores reusing a collector already listening on port 4747 (handy if you
run bun run start inside WSL).

Collector hardening

  • Requests carrying X-Forwarded-For, Forwarded or Via are never treated as loopback for
    authorization, so a reverse proxy cannot borrow loopback trust.
  • /api/remote, which toggles phone and device sharing, now requires a direct loopback Host and
    Origin, and is disabled entirely whenever ALLOWED_HOSTS is set.
  • ALLOWED_HOSTS without a TOKEN of at least 16 characters stops the collector from starting.
  • Host and Origin are checked against local, Tailscale and configured hostnames, including the
    port.

These rules live in apps/collector/src/security.ts and have unit and integration tests.

Open source

Apache-2.0, plus a security policy, contributing guide and
code of conduct. CI runs typecheck and the test suite on every pull request.

Adapters for new agents are the most useful contribution, and CONTRIBUTING.md walks through
adding one.

Install

Platform File
Windows Agent.Office_0.4.0_x64-setup.exe or _x64_en-US.msi
Debian/Ubuntu Agent.Office_0.4.0_amd64.deb
Fedora/RHEL Agent.Office-0.4.0-1.x86_64.rpm
Any Linux Agent.Office_0.4.0_amd64.AppImage
Android (viewer) Agent.Office_0.4.0_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").

A note on what this reads

Agent Office reads the session logs your coding agents already write to your home directory.
Those logs contain your prompts, file contents and command output. The collector only ever
reads them, changes no agent's configuration, and binds to 127.0.0.1 unless you explicitly set a
TOKEN and widen it.