When rerunning the installer with an existing installation, the current version is reported as unknown:
==> Existing installation found: unknown
==> Upgrading to: v0.1.40
I can reproduce this consistently with claude-code-proxy 0.1.40 on Linux amd64.
The binary prints its version without a leading v:
$ claude-code-proxy --version
claude-code-proxy 0.1.40
However, the installer only matches versions that begin with v:
grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+'
Removing the required prefix should make detection agree with the CLI output:
grep -oE '[0-9]+\.[0-9]+\.[0-9]+'
The installation itself still completes successfully, so this appears to be a display-only issue. I’d be happy to submit a small PR for it.
When rerunning the installer with an existing installation, the current version is reported as
unknown:I can reproduce this consistently with
claude-code-proxy 0.1.40on Linux amd64.The binary prints its version without a leading
v:However, the installer only matches versions that begin with
v:grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+'Removing the required prefix should make detection agree with the CLI output:
grep -oE '[0-9]+\.[0-9]+\.[0-9]+'The installation itself still completes successfully, so this appears to be a display-only issue. I’d be happy to submit a small PR for it.