Skip to content

v2.2.0

Choose a tag to compare

@cyyever cyyever released this 21 Feb 15:11
· 428 commits to main since this release
767916b

New Features

  • Per-provider API keys with env variable expansion β€” Providers in config.yaml now support both short form (URL string) and
    expanded form (url + api_key) with $VAR/${VAR} expansion, ideal for Docker deployments. (456e489)
  • Remote TUI via management API on proxy port β€” The management API is now exposed on the proxy port for non-loopback
    --listen-address, enabling remote dashboard access. (e762ff1)
  • Hardened Docker setup β€” Non-root user (UID 1000), HEALTHCHECK instruction, .dockerignore, and a docker-compose.yml added to the
    repo. (39b7d68)
  • Conditional TTY suppression in earlyinit β€” New earlyinit package suppresses bubbletea's terminal escape queries before init()
    runs, preventing garbage output in containers. (15d642b)

Bug Fixes

  • Propagate provider env vars to daemon β€” Env vars referenced in provider api_key fields are now passed to the daemon child
    process. Credential redaction hardened via MarshalJSON/String() on ProviderConfig and RequestContext. (4aa7b6e)
  • Pass API base URL to dashboard for remote TCP connections (211ea7e)
  • Dockerfile rewritten as multi-stage build from local source (a9b8fa2, 7c1c775)
  • Fix Docker TUI β€” Foreground mode now correctly enables styled output when a TTY is present; logger colors preserved. (0dcd235)
  • Fix stale comments about earlyinit and init ordering (fbbd959)
  • Resolve lint issues β€” Add json tags to StatusData, remove unused nolint directives, fix gofmt. (067e8f5)

Refactoring

  • Unify local and remote API client creation (e4d1247)
  • Simplify main.go β€” Removed sandbox-related CLI commands and streamlined startup. (net ~200 lines removed from main.go)

Documentation

  • README restructured as a focused landing page; CLI reference, configuration, and Docker guides moved to dedicated docs/ files.
    (0dcd235)
  • New docs: docs/cli.md, docs/configuration.md, docs/docker.md added. (c5b8758)
  • README improvements β€” Better beginner onboarding, Docker quick start, value-first ordering. (62705df, 507379c, 2245a38)
  • Migration guide updated with v2.2 section, Windows pipe path fix. (c5b8758)

Tests & CI

  • Docker CI job β€” Build image, health check, and SIGTERM graceful shutdown test. (b57732d)
  • New test coverage: dashboard unit tests for remote API connections, earlyinit tests (25 cases),
    MarshalJSON/String()/ProviderEnvKeys tests, deduplicated test helpers across multiple packages. (711a364, 0d997fd, 1728b8a)