CLI version is Unknown in bug report :)
Diagnostic Information
- CLI Version: Unknown
- Operating System: darwin v24.0.1
- Sandbox Environment: sandbox-exec (minimal)
- Model Version: gemini-2.5-pro-preview-05-06
That's odd, I get a CLI version in my bug reports:
Diagnostic Information
- CLI Version: 0.1.0
- Operating System: darwin v20.18.0
- Sandbox Environment: sandbox-exec (minimal)
- Model Version: gemini-2.5-pro-preview-05-06
i was using a linked (from head) binary in a non-gemini project... have you tested that?
On Tue, May 20, 2025 at 1:25 PM Allen Hutchison @.***> wrote:
allenhutchison left a comment (google-gemini/gemini-cli#446) https://github.com/google-gemini/gemini-cli/issues/446#issuecomment-2895743604
That's odd, I get a CLI version in my bug reports: Diagnostic Information
- CLI Version: 0.1.0
- Operating System: darwin v20.18.0
- Sandbox Environment: sandbox-exec (minimal)
- Model Version: gemini-2.5-pro-preview-05-06
— Reply to this email directly, view it on GitHub https://github.com/google-gemini/gemini-cli/issues/446#issuecomment-2895743604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFWNPAHAVZD3ZF57VTVGCL27OFSFAVCNFSM6AAAAAB5Q55Y3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQOJVG42DGNRQGQ . You are receiving this because you authored the thread.Message ID: @.***>
ok, that's the problem. I'm using process.env.npm_package_version to grab the version, is there a better way to get it?
i was using a linked (from head) binary in a non-gemini project... have you tested that? …
fwiw, I think a linked binary should still be considered a 'unknown' version since it loads directly from source. Or maybe 'development' would be more accurate?
@KeijiBranshi would know best