Skip to content

Releases: Obitrain/obi

0.2.1

Choose a tag to compare

@github-actions github-actions released this 22 Jun 09:36
4deb65b

obi 0.2.1

Spec

  • Refreshed the vendored OpenAPI spec to obitrain-api v1.99.0. obi schema now surfaces the new granularity parameter on GET /v1/training/session/laps: granularity=length returns per-pool-length swim splits reconstructed from the 1 s distance channel (~1 s precision, finer than the samples endpoint), and regenerated models.

Fixes

  • Derive __version__ from package metadata.
  • codegen: use ruff formatters; add just refresh.

0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Jun 11:51
d5cdb73

0.2.0

  • QR code loginobi auth login renders a scannable QR code for the device-link URL,
    so you can authenticate from a phone without copy-pasting.
  • Rich login panel — login flow uses a styled Rich panel with live status and clean Ctrl-C
    cancellation instead of plain text output.
  • OpenAPI spec refresh — bundled spec updated to v1.95.0 with regenerated models.
  • Docs — agent driving guide added to README and quickstart.
  • CI — actions bumped to Node 24 SHA pins.

0.1.0

Choose a tag to compare

@github-actions github-actions released this 05 Jun 18:33
7831c10

obitrain 0.1.0 — initial release

The command-line client for the Obitrain API: authenticate once, call any endpoint, and discover the API contract offline.

Highlights

  • Authentication — device-code login (obi auth login), token storage (auth set/auth clear), per-profile 0600 credential files, and ephemeral --token/OBI_TOKEN.
  • Generic requests — one obi api <PATH> passthrough (-X/-d/-q/-H/-o/--json/-n); bodies from inline JSON, @file, or stdin.
  • Offline discoveryobi schema searches a bundled OpenAPI contract; obi schema show renders params, payloads, responses, and referenced schemas with no network.
  • Agent-friendly — bodies to stdout, one-line JSON diagnostics to stderr, stable exit codes, and 404/405/422 repair hints.
  • Docs — published site with user and agent quickstarts.

Merging this PR tags 0.1.0, creates the GitHub Release, and publishes to PyPI.