Skip to content

v0.3.1: bugfix and CLI polish

Choose a tag to compare

@emiliano-go emiliano-go released this 24 Jul 21:16
· 279 commits to master since this release
ea4a398

TL;DR

Bugfix release: verdicts no longer printed twice during review, -v/--version flags added, graceful Ctrl+C handling, and help now documents config subcommands.

Fixed

  • Verdict text was printed to stdout during trustsight review for every package, because generate_verdict_stream() had a stray print(result) in its non-streaming path. Result strings appeared above the progress bar, interleaved with analysis output.

Added

  • -v / --version flags on the root parser. Version is read from installed package metadata via importlib.metadata.version().
  • Graceful KeyboardInterrupt handling. Previously a Ctrl+C during an LLM API call dumped a 50-line httpx/SSL traceback; now prints Interrupted. and exits with code 130.

Changed

  • -h help now includes a config subcommands section showing config show, config set <key> <value>, and config sync-rules with examples, plus a general examples section with common usage patterns.

Stats

  • 1 commit since v0.3.0
  • 574 tests, all passing
  • Package version 0.3.1