Grok Build 1.0.71
新功能 3 項
輸入框實驗支援 Vim 模式,游標外觀依狀態切換
習慣用鍵盤快捷鍵快速移動游標的開發者,現在能在終端機輸入框直接操作 Vim 指令。⟦好比轉動專業相機的對焦環,以前編輯長文只能按著方向鍵一步步挪動,現在切換模式就能透過數字計數與動作指令整段跳躍或復原。⟧只要在 config.toml 設定檔加入指定設定,就能啟用這項實驗性功能:
```toml [keys] vim = "all" ```
輸入框支援插入模式與一般模式。你可以使用 Vim 的動作移動(motions)、運算子、計數次數與復原功能。輸入框的資訊列會明確標示目前是 NORMAL 還是 INSERT。在一般模式下游標為方塊狀(block),插入模式下則切換為直線狀。透過 ui.cursor_blink 可以設定游標是否閃爍。如果你切換到極簡模式(Minimal mode),資訊列開頭會優先顯示目前模式,且 NORMAL 會以粗體標示。
官方原文
Vim editing in the prompt (experimental): set [keys] vim = "all" in config.toml for Insert and Normal modes with vim motions, operators, counts and undo. The prompt's info line shows NORMAL or INSERT
Prompt vim cursor is a block in Normal mode and a bar in Insert mode; ui.cursor_blink sets whether they blink
Minimal mode starts its info row with the prompt's vim mode (NORMAL or INSERT), and NORMAL is shown in bold
支援單次 Ctrl+C 快速退出,無未完工作按一次即可離開
當你想快速離開終端機對話時,常常要連按兩次中斷指令才能退出。⟦跟操作設有保護蓋的電源開關一樣,以前每次結束工作都得連續撥動兩次確認鈕;現在只要桌面整理乾淨且沒有未完成的流程,按下一次主開關就能俐落關閉電源。⟧現在只要開啟 ui.single_ctrl_c_quit = true,在沒有草稿或未完成工作會遺失的前提下,按一下 Ctrl+C 就能直接退出。這項開關也可以在 /settings 設定清單的 Editor 分類底下找到。若維持預設設定,工具依然會要求你按第二次 Ctrl+C 進行確認。當你只想快速清理視窗且手邊沒有未存進度時,單次按鍵就能立即關閉工作階段。
官方原文
ui.single_ctrl_c_quit = true lets a single Ctrl+C quit when no draft or unfinished work would be lost. It is also under Editor in /settings; the default still asks for a second press
整合圖片標籤樣式與懸停預覽,清理伺服器拒收通知
在對話中附加圖片與 AI 協同工作時,終端機對圖片的呈現與管理迎來多項細節調整。
輸入框內的圖片標籤(image chip)換上了與對話紀錄中已傳送圖片一致的綠色。
在對話紀錄中將游標懸停在圖片標籤上,現在會直接顯示已送出的圖片內容,若圖片未成功附加也會顯示具體原因。
訊息因視窗寬度折行時,圖片標籤會完整保留在同一行,不會再從中間斷開。
Windows 平台上的 Noctty 終端機正式支援行內圖片(inline images)直接顯示。
伺服器拒絕接收的圖片會直接自對話中移除。這解決了以往只要有圖片被拒收,後續每一輪交談都會重複跳出排除提示且提示字串不斷增長的問題。
官方原文
Image chips in the prompt use the same green as sent images in the transcript
Hovering an image chip in the transcript shows the image that was sent, or why it was not attached
Inline images display in Noctty on Windows
Image chips in your messages stay whole on one row when the message wraps
Images the server rejects are removed from the conversation, so the notice that images were left out no longer repeats, and grows, on every later turn
修正 2 項
掛鉤支援失敗時直接阻擋,發生異常立即中止後續操作
利用自訂指令把關操作流程時,若檢查程式意外當機,可能會讓原本不該放行的指令偷跑。⟦如同自動化產線上的安全防夾閘門,以前檢測感應器若突然斷電或逾時,輸送帶仍會盲目往前運轉;現在只要感應線路失去訊號,整個擋板會立即閉合並強制停機。⟧現在掛鉤(hook,特定事件發生時被觸發的小程式)正式支援 "failClosed": true 設定:
```json { "failClosed": true } ```
當這類掛鉤遇到執行逾時或程式崩潰時,工具呼叫會被直接拒絕,提示詞也會被阻擋,不再盲目繼續執行。在設定檔中啟用這項屬性後,一旦掛鉤檢查中斷,後續操作就不會擅自推進。
官方原文
Hooks accept "failClosed": true: when such a hook times out or crashes, the tool call is denied or the prompt is blocked instead of going ahead
問答與草稿排版清晰呈現,修正斜線選單重開問題
在終端機中跟代理人問答互動或檢視執行紀錄時,多處介面排版與彈出狀態獲得了清理。
回覆代理人(agent)提問時,每組問題與答案現在各獨立顯示成一行,且只有在文字長度被截斷時,尾端才會加上 … 省略號。
意見回饋的草稿列補上了明確的狀態標記,清楚列出草稿處於 drafted、declined、cancelled 或 failed。
以前剛啟動時按 Esc 關掉斜線選單,指令清單一更新它又自己跳出來,現在不會了。
交談輪次若遇到執行失敗,錯誤訊息前不再多一個通用的 "Request failed:" 前綴。
官方原文
Answers to the agent's questions show one row per question and answer, and end in … only when the text is cut
Feedback draft rows show the draft's state: drafted, declined, cancelled or failed
A slash menu closed with Esc no longer reopens by itself when the command list refreshes, such as right after startup
Turn failed rows no longer repeat a generic "Request failed:" before the error