Skip to content

openBatarangs v0.2.0

Choose a tag to compare

@arpanpathak arpanpathak released this 21 Aug 21:43
· 31 commits to main since this release

What's new in v0.2.0

Stability, safety, UX, and maintainability

  • CI now enforces cargo fmt, cargo clippy -D warnings, and full tests on every push/PR
  • Chat rendering is cached: idle frames no longer re-highlight the whole log with syntect
  • TUI split into focused modules: input.rs (editing/history/suggestions), scroll.rs (scroll math), chat.rs (highlighting + cache) — app.rs is ~190 lines smaller
  • Disk-backed chat history now seeks directly to unread lines instead of re-reading the whole file on every scroll-up (O(chunk) instead of O(total))
  • nvidia-smi results are cached for 2s instead of spawning the subprocess every sample
  • Hardware memory probing extracted behind a MemoryInfo trait (hardware.rs)
  • Timed-out shell commands are killed (kill_on_drop)
  • write_file refuses to write through symlinked files, closing a workspace-escape hole
  • Modal TUI confirmations; Ctrl+C cancels tasks/closes pickers; queued tasks survive cancel
  • Installer supports aarch64 and x86_64 Linux, verifies downloads, requires curl

Tests

  • 181 tests passing: scroll overflow, confirmation state machine, channel confirmer, session-log chunk cursor, chat render cache, symlink write escape, timeout child kill, hardware trait, tiny-terminal layout, and more