• Tech Dev NotesTech Dev Notes
Track apps
  • App Lookup
  • Compare Apps
Market movement
  • Store Charts
  • Global Rankings
  • Movers
  • Version Changelog
Visual research
  • In-app Screenshots
  • Store Screenshots
  • App Icons
Build intelligence
  • Tool Releases
  • Tech Stack
  • Developers
Tools
  • X Feature Flags
  • Grokipedia
  • Blog
  • Follow on X
Skip to content
Grok Build

xAI · CLI

Grok Build 0.2.40

0.2.39→0.2.40·June 13, 2026 at 4:58 AM UTC

Patch release adding --debug / --debug-file logging, improved doom-loop diagnostics, and live model-list propagation to connected clients.

Changelog

  • [new] grok --debug now writes per-session log files under ~/.grok/debug/ (with a latest.txt symlink) even when a leader process is active; --debug-file lets you override the destination.
  • [fix] Doom-loop warnings now correctly identify cycles and distinct edit failures instead of reporting identical arguments.
  • [fix] Model-list changes (from config or cache) now appear immediately in already-connected TUI and IDE clients without requiring a restart.

Under the hood

  • Added crates/codegen/xai-grok-telemetry/src/{debug_log,hooks_log}.rs to support the new debug firehose and hook instrumentation.
  • Removed the old crates/codegen/xai-grok-pager/src/tracing.rs module.
  • Updated all shell completions (bash, zsh, fish, elvish, PowerShell) to expose the new --debug and --debug-file flags.
  • Bumped the bundled manifest and version metadata to 0.2.40.

Upgrade notes

No manual steps required.

Older release← 0.2.39Newer release→ 0.2.41
All Grok Build releases →

© 2026 Tech Dev Notes

RSSAboutAPIPrivacyTermsSitemap@techdevnotes