Skip to content

fix(console): add -version flag#11

Merged
CryptoJones merged 1 commit into
mainfrom
fix/26.08-console-version
May 27, 2026
Merged

fix(console): add -version flag#11
CryptoJones merged 1 commit into
mainfrom
fix/26.08-console-version

Conversation

@CryptoJones
Copy link
Copy Markdown
Owner

Console's main is independent of runtime.Run, so the -version flag added in 26.07 missed it. The signed v26.08 release ships a console binary that errors with flag provided but not defined: -version. Expose runtime.VersionString and wire it into cmd/console/main.go.

🤖 Generated with Claude Code

cmd/console has its own main and doesn't go through runtime.Run, so the
-version flag added in 26.07 missed it. The signed v26.08 release
contains a console binary that errors with "flag provided but not
defined: -version", inconsistent with agent/wintermute/neuromancer.

Expose runtime.VersionString (was versionString) and wire it into
cmd/console/main.go. Smoke test:

  $ go build -o /tmp/c ./cmd/console && /tmp/c -version
  console 6d65b22

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@CryptoJones CryptoJones merged commit c747693 into main May 27, 2026
5 of 6 checks passed
@CryptoJones CryptoJones deleted the fix/26.08-console-version branch May 27, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant