Skip to content

v0.2.0

Choose a tag to compare

@mgreau mgreau released this 18 Feb 22:43
· 38 commits to main since this release

What's New

zen setup — interactive first-time configuration

Running zen setup walks through creating ~/.zen/config.yaml interactively:

  • Shows prerequisites (gh auth login, iTerm2, claude) upfront
  • Prompts for repo short name, GitHub full name, and worktree base path
  • Supports adding multiple repos in a loop
  • Asks for GitHub username(s) for PR review filtering
  • Writes config with sensible watch daemon defaults
  • Warns before overwriting an existing config

The config-not-found error now says Run 'zen setup' to create it.

Better error messages from gh CLI

GraphQL and auth errors now surface the actual gh stderr instead of just "exit status 1". Makes debugging on fresh machines much easier.

Changes

  • New: cmd/setup.go — interactive setup command
  • Changed: cmd/root.go — skip config loading for zen setup
  • Changed: internal/config/config.go — error message points to zen setup
  • Changed: internal/github/queries.go — surface gh stderr in errors
  • Changed: internal/github/client.go — surface gh stderr in auth errors
  • Changed: README.md — added Getting Started section

Full Changelog: v0.1.0...v0.2.0