fix(cli): use CLI version instead of stale .env tag

Summary

  • CLI now uses its own version (pkg.version) instead of reading stale PGAI_TAG from existing .env files
  • Fixes issue where old .env with PGAI_TAG=beta caused Docker image not found errors
  • Registry and password settings from .env are still preserved

https://gitlab.com/postgres-ai/platform/-/issues/346

Test plan

  • Run bunx postgresai mon local-install with an existing .env containing an old tag
  • Verify the CLI uses the correct version matching Docker Hub images

🤖 Generated with Claude Code

Merge request reports

Loading