run_for stopped dns-sd with INT, which bash ignores in background jobs
started from a script, so it never returned. It uses TERM now.
xml_escape's ${s//&/\&} keeps the backslash on bash 3.2; it uses sed
now, in all three copies.
10-core.sh's step() replaced the smoketest runner's step(); it's
core_step now.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
curl -fsSL https://federated.sh/mac | bash
install.sh checks the Mac (macOS 13+, not root, internet; warns if the
account isn't an administrator), then downloads the latest commit as an
archive from Gitea, as macOS has no git without the Command Line Tools.
It installs into ~/.local/share/federated-connector/connector, links
configure and update into ~/.local/bin and puts that on PATH at the top
of ~/.zprofile and ~/.bash_profile, then offers to run configure. Piped
into bash, it runs only once read in full, and asks from /dev/tty.
The folder never moves, so the backup and storage jobs and the Federated
Backup app (with its Full Disk Access) keep pointing at it. update shows
the commits since the installed one and swaps the new files in with two
renames.
If configure ran from another folder before, the installer says what
still runs from there; backup and storage now show as to do until
they're set up again from the installed copy.
smoketest: 05-install pipes install.sh into bash with the working copy,
runs update, then installs the published version from Gitea.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A macOS counterpart of CoreDesktop's configure, with the same drop-in
items in configure.d/:
- core: Mail, Calendar and Contacts through a configuration profile,
Superpanel as an app, Nextcloud files through the Nextcloud app, and
Element; with test-and-fix, password change and removal
- tailscale: join the Core's network through headscale
- backup: restic to Nextcloud through rclone, run by launchd through an
app that can be given Full Disk Access
- storage: SMB shares mounted the way Finder does, again at login and
on network changes
- agents, claude, opencode, hermes, sandbox: install the agents and run
them in Anthropic's sandbox runtime (Seatbelt on macOS)
- ai-servers: LLM servers on this Mac or the network, for the agents
Apps and tools macOS lacks are offered for download, checked against
their makers' Team IDs and notarization, or published SHA-256 sums.
Everything runs on macOS' bash 3.2 with only built-in tools.
smoketest/ runs scenarios in fresh macOS VMs with Tart.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>