Skip to content

v0.3.0

Choose a tag to compare

@behrangsa behrangsa released this 13 Feb 21:31
· 18 commits to master since this release

What's Changed

Theme & Layout

  • Redesign default theme to a two-row layout with model, session, project directory (row 1) and git status, context usage (row 2)
  • Use telescope for project directory display and compress for path shortening

Refactoring

  • Extract utilities into dedicated modules: utils/git.ts, utils/path.ts, utils/model.ts, utils/term.ts
  • Move schema to src/schema/statusLine.ts
  • Add neverthrow for type-safe error handling

New Utilities

  • compress(path) — shorten path segments to first character
  • tildify(path) — replace home directory with ~
  • telescope(path) — show first/last segments with ellipsis
  • getDisplayWidth(str) — calculate display width accounting for emoji

Tooling

  • Add Biome for formatting and linting
  • Add justfile for task automation
  • Exclude justfile and AGENTS.md from npm package

Documentation

  • Comprehensive AGENTS.md with full project structure, utility docs, and troubleshooting
  • Update README with new theme preview, all schema fields, and theming docs
  • Fix schema link path in README

Fixes

  • Return empty string on invalid/missing input instead of error labels
  • Rename BranchResult.status from 'not-git' to 'none'
  • Add missing await for makeDirStatus in default theme

Full Changelog: v0.2.1...v0.3.0