Skip to content

Detect official Grok CLI install path#202

Merged
jsgrrchg merged 2 commits into
mainfrom
fix-grok-cli-discovery
Jun 3, 2026
Merged

Detect official Grok CLI install path#202
jsgrrchg merged 2 commits into
mainfrom
fix-grok-cli-discovery

Conversation

@jsgrrchg
Copy link
Copy Markdown
Owner

@jsgrrchg jsgrrchg commented Jun 3, 2026

Summary

  • Detects the official Grok CLI install path at ~/.grok/bin/grok.
  • Adds that directory to the Electron sidecar PATH.
  • Makes runtime diagnostics report the same resolved binary path used by setup status.

Why

The official xAI installer places Grok under ~/.grok/bin, which was not part of NeverWrite's discovery paths. A valid Grok install could therefore appear missing unless the user configured a custom binary path.

Validation

  • cargo test grok_ from apps/desktop/native-backend
  • git diff --check

@jsgrrchg jsgrrchg marked this pull request as ready for review June 3, 2026 16:31
@jsgrrchg jsgrrchg merged commit 5382d8f into main Jun 3, 2026
12 checks passed
@jsgrrchg jsgrrchg deleted the fix-grok-cli-discovery branch June 3, 2026 22:59
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