Grok Build 1.0.59
Highlights in this release
- Copying responses preserves original tab characters, while code blocks label language and file names
grok --resumesupports arbitrary delimiters, eliminating the need for exact symbols when finding past sessions- PowerShell hooks support reading input variables, reliably ending conversations on abort commands
New 2
Copying responses preserves original tab characters, while code blocks label language and file names
When organizing Grok-generated content after a conversation to paste code or full explanations into your editor, the copy features deliver a cleaner workflow. ⟦Think of clipping reference notes into a digital notebook: tags clearly mark the source format of each excerpt, the bottom action bar stays neatly arranged whether switching between compact and full-screen views, and original paragraph indentations remain intact when pasted into other documents.⟧ In completed responses, every code block now displays a [Copy] button below it, labeling the language or file name for that code. If you switch between compact mode and full-screen mode, the copy bar at the bottom of code blocks, tables, and charts renders correctly without layout misalignment. When copying an entire code block or a full response, content preserves its original tab characters instead of being automatically replaced with spaces.
Original changelog
[Copy] buttons appear under code blocks in finished replies, labeled with the language or file name of the code
Copy rows under code blocks, tables, and diagrams display correctly after switching between minimal and fullscreen modes
Copying a code block or a whole reply keeps its original tabs instead of turning them into spaces
grok --resume supports arbitrary delimiters, eliminating the need for exact symbols when finding past sessions
When resuming past conversation progress and recalling old sessions in the terminal, title searches no longer demand character-for-character precision. ⟦Like searching for song titles in a music player, where typing a hyphen instead of a space between words once yielded no tracks, the search feature now ignores punctuation differences so entering word fragments immediately locates saved songs.⟧ Now when running grok --resume <title>, the command automatically ignores joining symbols between title words. Even if the original recorded name is "Fix login bug", typing grok --resume fix-login-bug or separating words with underscores will successfully locate and restart that session. This saves the hassle of digging through history before resuming a project just to confirm exact title casing and spacing.
Original changelog
grok --resume <title> matches a title whatever separates its words, so fix-login-bug finds "Fix login bug"
Fixed 3
PowerShell hooks support reading input variables, reliably ending conversations on abort commands
When writing automated commands to intervene in AI conversation flows, custom hooks (small programs triggered by specific events) now offer more reliable execution flexibility. ⟦Picture an inspection station on an automated assembly line: sensors flash a yellow warning light and keep running when encountering non-standard feeds, while the conveyor belt reliably stops immediately when quality inspectors send an abort signal.⟧ Previously in advanced PowerShell inline hooks, if code read the $input variable, the entire hook failed outright. It now prints a warning message and continues executing. When a hook returns continue: false, the AI reliably stops that turn of conversation as instructed, rather than ignoring the abort signal as before. This ensures that subsequent reasoning steps will not proceed unauthorized if pre-checks fail.
Original changelog
Advanced PowerShell inline hooks that read $input run with a warning instead of failing
Hooks that return continue: false stop the turn instead of being ignored
Dashboard empty commands now display usage instructions, while preview paste supports cancellation via Esc or switching rows
When viewing projects or entering commands in the dashboard, the interface now properly guards against unintended actions caused by accidental triggers. ⟦A control panel on precision equipment provides a fitting parallel: pressing a loop button with no arguments only displays a tutorial rather than launching a fresh schedule, and switching menus or hitting cancel midway through pasting data prompts an alert that the task was aborted before commands can silently send in the background.⟧ In the dashboard, entering the /loop command without an accompanying prompt now only displays usage instructions for that command, instead of opening a new session. When waiting to paste clipboard content in the quick preview window, simply moving focus to another row or pressing the Esc key immediately cancels that pending response and triggers a toast notification with the status, rather than lingering to send unexpectedly later.
Original changelog
Dashboard /loop without a prompt shows its usage instead of starting a new session
Dashboard peek replies waiting on a clipboard paste are canceled with a toast when you move the peek to another row or press Esc, instead of being sent later
grok worktree rm fixes error hints, no longer suggesting -f when force removal is impossible
When using commands to clean up project worktrees (a Git feature for running multiple parallel copies of the same project), the terminal no longer offers ineffective troubleshooting advice. ⟦Just as visiting a courier counter to ship a package means staff will not suggest switching to express delivery if an oversized parcel cannot be accepted at all, you are spared an extra trip that still ends in rejection.⟧ Previously, when running grok worktree rm to remove a worktree that was protected or could not be directly deleted, error messages often recommended adding the -f flag for force removal. In reality, even if you supplied -f, the command still refused to delete the worktree. This unhelpful hint has now been removed, and the terminal suggests the option only when -f can genuinely carry out a forced deletion.
Original changelog
grok worktree rm no longer suggests -f for a worktree that -f would also refuse to remove