Skip to content

openrot v0.4.2

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Oct 22:16

What's New

Fixed: release binaries crashed on import

The v0.4.0 and v0.4.1 binaries failed at startup with FileNotFoundError: opencode_tools.json. The PyInstaller spec shipped no data files, and the new gateway module reads openrot/core/data/opencode_tools.json and title_system.txt via Path(__file__).parent at import time — package-data declarations in pyproject.toml don't reach the PyInstaller bundle. The spec now bundles openrot/core/data next to the module.

Fixed: self-update never installed anything

(from v0.4.1, binaries were broken so it needs this release) The early-exit condition in the self-update command was inverted: when an update was available, the CLI printed the message and exited — the download and install step was unreachable. Only the "not updated" paths exit now:

  • already up to date → green message, exit;
  • check failure (network/API error) → red message, exit;
  • update available → confirmation prompt (or --yes), then download and install.

Affected installs must update once manually (e.g. via install.sh), after which self-update works as intended.