fleet-sync (0.1.0.post50)

Published 2026-11-05 15:18:15 +01:00 by troed

Installation

pip install --index-url  fleet-sync

About this package

Converge each host to the newest published version of the components it uses.

fleet-sync

Keeps every host on the newest published version of the components it uses, and reports what it cannot keep current.

The design is in docs/superpowers/specs/2026-11-01-fleet-sync-design.md; the implementation plan is in docs/superpowers/plans/2026-11-01-fleet-core.md.

Fleet never writes the OpenCode configuration. It compares each host's file against the tracked base plus that host's manual values and reports the difference.

Commands

fleet sync            # converge this host now (what the timer runs)
fleet update          # the same, run by you
fleet update --all    # ...and poke every other host over ssh
fleet status          # every host's applied versions, plus config drift
fleet digest          # only what is behind or broken (exit 1 when anything is)
fleet selftest        # forge answers, state writable
fleet bootstrap --token <t>   # one manual run per host, then the timer takes over

The timer is a systemd user unit: OnUnitActiveSec=5min, Persistent=true, so a host that was off catches up at boot. State is published as a commit to a private fleet-state repo, which is why fleet status needs no inbound ssh.

Requirements

Requires Python: >=3.11
Details
PyPI
2026-11-05 15:18:15 +01:00
11
2026-11-23 13:52:13 +01:00
104 KiB
Assets (2)
Versions (21) View all
0.1.0.post63 2026-11-07
0.1.0.post62 2026-11-07
0.1.0.post52 2026-11-05
0.1.0.post51 2026-11-05
0.1.0.post50 2026-11-05