Skip to content

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 19:03
· 27 commits to main since this release
a381a96

Getting homebutler into Claude Desktop meant hand-editing its JSON config and having Node or homebutler installed first, and the dashboard container would not start until its token was written into a mounted config file or onto a command line ps shows; now the first is one file to open and the second is -e HOMEBUTLER_TOKEN=….

Each has an edge. The extension starts in read mode, and read mode never saves a report snapshot, so on its own it never reports a change: it compares against snapshots that homebutler report or cron saved outside it, or it needs Highest tool risk raised to write. There is one bundle per platform for macOS and Linux, none for Windows, and the bundles are not signed. HOMEBUTLER_TOKEN is the last place serve looks for a token, after --token and web.token, and docker inspect shows it. Editing settings from the dashboard still needs a mounted config.yaml. Inside a container, homebutler mcp now refuses to describe the machine it runs on rather than describing the container, and polling a remote report from Homepage no longer moves that server's baseline.

⚠️ Behavior changes

  • Inside a container, homebutler mcp refuses a local call to the tools that read the machine it runs on (#373). system_status, open_ports, processes, network_scan, alerts, inventory_scan, inventory_export, report and doctor, called without server or with a server marked local: true, answered with the container's own /proc and sockets, and with a config mounted they put the local machine's name on those numbers. They now return an error with the sentence the dashboard already shows: homebutler is running in a container, which cannot see the machine it is on. An agent that relied on those calls gets the error instead of readings that were never about the host. The same calls pointed at a server reached over SSH work as before, and nothing changes outside a container. Tool names, parameters, risk classes and result fields are unchanged. The descriptions of system_status, network_scan and inventory_export, and of the server parameter on the tools that take one, now say that a local call is refused inside a container
  • The image sets HOMEBUTLER_CONTAINER=1 (#373). homebutler recognised a container by /.dockerenv or /run/.containerenv, and containerd-only runtimes write neither: Kubernetes without dockershim, nerdctl, some k3s. There, the image answered local MCP calls and the dashboard's status with the container's own numbers, and served the dashboard on 0.0.0.0 with no token. On those runtimes it now refuses both, as it always has under Docker and Podman, so a deployment that started without a token there stops starting until it is given one. Under Docker and Podman nothing changes
  • serve reads HOMEBUTLER_TOKEN when neither --token nor web.token is set (#377). A serve that ran without a token, and whose environment happened to have the variable, now protects its dashboard with it: a browser that had it open is asked for that token, and its settings become editable with it. The variable is unset once read, so the docker, systemctl and ssh that serve runs do not inherit it. Two messages changed with it: refusing to serve from a container without a token now says to set HOMEBUTLER_TOKEN rather than pass --token, and the warning for a public bind with no token names web.token and HOMEBUTLER_TOKEN
  • GET /api/report?server=<name> no longer saves a snapshot on that server (#375). It forwarded report --json without --no-save, so every poll, from a Homepage widget or anything else, saved one there and moved its baseline, and the next comparison was against a few seconds earlier. It now forwards report --json --no-save, as the local route has always compared without saving. A remote that was getting its snapshots only from being polled stops getting them: save one with POST /api/report/snapshot?server=<name>, or with homebutler report from cron on that machine. A remote older than 0.18.0 has no report at all and is answered with a 502 naming its version, as before

✨ Features

  • each release carries a Claude Desktop extension per platform (homebutler_<version>_darwin_arm64.mcpb and the rest), with the binary inside, so the MCP server installs from Claude Desktop without Node or a separate homebutler (#374, #382). It installs switched on and starts as homebutler mcp --max-risk read, and the extension's Highest tool risk setting raises that to write or destructive. In read mode it never saves a report snapshot, so it reports changes only against snapshots saved outside it, by homebutler report or cron. The bundles are listed in checksums.txt. docs/mcp-server.md says how to install one and which PATH it runs with
  • the dashboard container can be started with -e HOMEBUTLER_TOKEN=…, a compose environment: entry, or a masked Unraid, Portainer or TrueNAS field, and no config file on the host (#377). Until now the first run needed a hand-written config.yaml, chmodded to 0600 and mounted, or --token on the command line, where ps shows it. --token wins over web.token, which wins over the variable, so a variable left in a template does not replace a web.token written on purpose, and serve says on stderr when it ignores one. HOMEBUTLER_TOKEN= with nothing after it, as an unfilled template field leaves it, counts as unset, so the container refuses to start rather than serving with no token. The settings screen never writes the variable's value into config.yaml, and no API response carries it. serve install, doctor and config validate still count only web.token, because an installed systemd or launchd unit does not get the installing shell's environment. docs/docker.md shows the docker run and compose forms, and docker exec <name> printenv HOMEBUTLER_TOKEN reads it back

🐛 Fixes

  • a Homepage widget reading summary.* from GET /api/report?server=<name> showed -, because a remote report had no summary (#375). It now answers with the same summary object as a local report, and so does POST /api/report/snapshot?server=<name>. A remote answer that is JSON but not an object, such as null, which 1.4.0 passed through with a 200, is now a 502 with invalid response from remote server, as an answer that is not JSON already was
  • the dashboard's sign-in screen and its read-only hints named only web.token and --token, so somebody who started the container with HOMEBUTLER_TOKEN was sent looking for a config file they did not have (#379). The sign-in screen now names the variable and how to read it back, docker exec <name> printenv HOMEBUTLER_TOKEN, and the five read-only settings cards name the variable too, beside web.token. Neither says which of them this server used, and the API still does not tell the browser
  • the SSH errors for a key that would not load, or a server with no credentials, named key_file, which is not a config key, and ~/.config/homebutler/config.yaml whatever file had been loaded (#373). In the image that file is /config/config.yaml. They now name key and the file the server entry was read from

📚 Documentation

  • the README now points at the Homepage card under Dashboards, where before the snippet was only in docs/web-dashboard.md (#372). The card shows needs attention, changes, containers running and containers stopped, and polls once a minute rather than Homepage's default ten seconds, because each GET /api/report runs a full collection. The doc says that Changes counts skipped lines too, so a server with no saved snapshot shows 1 until one is saved

🧹 Chores

  • golang.org/x/crypto moves from 0.57.0 to 0.58.0 (#368), and the web dependencies, goreleaser/goreleaser-action (6 to 7) and docker/setup-qemu-action (3 to 4) are bumped (#369, #370, #371)