Skip to content

Releases

SpaceStateCLI 0.4.0

Choose a tag to compare

@kerker00 kerker00 released this 02 Nov 18:08
7974598

SpaceStateCLI 0.4.0 follows SpacePush's change stream.

  • spacestate watch --push checks as soon as SpacePush reports a change, with a 15-minute fallback interval.
  • spacestate notify shows confirmed changes as desktop notifications through notify-send. A systemd user unit is in contrib/.
  • Uses SpaceStateKit 0.4.1, which fixes a crash on Linux when a URL session was released. That crash could also end long-running commands with earlier versions.

These commands need SpacePush 2.2.0 or later with the stream listener enabled.

The source passed macOS and Linux CI. Both commands ran 40 seconds against production SpacePush without a crash, but a notification from notify and a check woken by watch --push have not been seen against a real event. The same stream code delivered a production test event in spacestate-desktop.

SpaceStateCLI 0.3.0

Choose a tag to compare

@kerker00 kerker00 released this 11 Oct 17:59
091ae85

See how to get into a space and how to reach it.

$ spacestate info leinelab
LeineLab  ● open     for 1 min
  Website     https://leinelab.org
  Address     Hüttenstraße 22B, 30165 Hannover, Germany (DE)
  Access      If sign is red, space is locked. …
  Contact     Email     anfragen@leinelab.org
              Mastodon  @leinelab@chaos.social
  Feeds       Calendar  https://leinelab.org/…/dokuwiki-56d0397423f22.ics
  Projects    https://github.com/LeineLab
  Endpoint    https://leinelab.org/api/spaceapi.json
  • New info command: website, address with country, access hint, contacts, keymasters, feeds, links, projects and linked spaces. Only what the space publishes is shown. info --json has all details.
  • Uses SpaceStateKit 0.2.0.

Breaking: the JSON output is simpler. show --json and search --json print an array; watch --json keeps one object per line. schemaVersion, network, fetchedAt and observedAt are gone; lastChange is now since, checkedAt tells when the state was fetched, and error alone marks an unreachable space. See CHANGELOG.md and the README.

The attached Linux executable is dynamically linked and requires a matching Swift 6.2 runtime/toolchain and its system dependencies on Ubuntu 24.04. Installation notes and MIT license are included; SHA256SUMS verifies the archive. Static binaries, ARM64 and fresh-system packaging remain follow-up work.

Verified CI: https://github.com/kerker00/SpaceStateCLI/actions/runs/38160827077

SpaceStateCLI 0.2.0

Choose a tag to compare

@kerker00 kerker00 released this 11 Oct 14:21
301adf5

A command line for people: ask by name whether a space is open, save your spaces, and follow them.

spacestate mainframe            # Mainframe  ● open     for 36 min  Open!
spacestate add mainframe        # then just: spacestate
spacestate watch -i 5m          # current state, then a timed line on every change
spacestate -q mainframe && echo open
  • Spaces are given by name or endpoint URL. Ambiguous names list the candidates instead of guessing.
  • Optional saved spaces in ~/.config/spacestate/spaces, managed with add and remove.
  • search lists open spaces first; --open filters.
  • --json, --waybar and -q (answers through the exit code) for scripts and status bars.
  • Per-command help and shell completion for zsh, bash and fish.

Breaking: the 0.1.0 commands and options (status --space, --format) are gone, and invalid arguments exit with 64 instead of 2. JSON contract version 1 is unchanged. See CHANGELOG.md.

The attached Linux executable is dynamically linked and requires a matching Swift 6.2 runtime/toolchain and its system dependencies on Ubuntu 24.04. Installation notes and MIT license are included; SHA256SUMS verifies the archive. Static binaries, ARM64 and fresh-system packaging remain follow-up work.

Verified CI: https://github.com/kerker00/SpaceStateCLI/actions/runs/38146460808

SpaceStateCLI 0.1.0

Choose a tag to compare

@kerker00 kerker00 released this 10 Oct 20:28

First usable CLI release, built on SpaceStateKit 0.1.0.

  • search, status, and polling watch commands.
  • Text, versioned JSON, NDJSON, and Waybar JSON output.
  • Explicit network-error snapshots, separate diagnostics, documented exit codes.
  • Linux Ubuntu 24.04 x86_64 and macOS Swift 6.2 CI: unit tests, release builds, and real HTTP command tests.

The attached Linux executable is dynamically linked and requires a matching Swift 6.2 runtime/toolchain and its system dependencies on Ubuntu 24.04. Installation notes and MIT license are included; SHA256SUMS verifies the archive. It is an initial development release, not a standalone runtime bundle. Static binaries, ARM64, fresh-system packaging and desktop notifications remain follow-up work.

See the repository README for commands, the JSON contract, and Waybar configuration.

Verified CI: https://github.com/kerker00/SpaceStateCLI/actions/runs/38083614092