Skip to content

Navide v0.2.49

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 19:31
· 57 commits to main since this release

Highlights (English)

New

  • MCP health and self-repair: Navide now checks its own tool server (MCP) every five minutes, and every 30 seconds while a check fails.
    • An MCP light next to Backend in the status bar: green, yellow after one or two failed checks in a row, red after three.
    • On red, Navide restarts only the MCP listener, on the same port: panes, CLIs and terminals keep running, and a CLI's next call reaches the new listener. If the light is still red 90 seconds later, the main bot's direct chat gets one notice.
    • The Backend popover gains Restart MCP (panes keep running) and, while the light is red, Restart the whole backend, which first lists the panes in this window it would interrupt and asks you to confirm.
    • /health reports MCP failures and the check's verdict, and backend.log records each failure, restart and recovery. All 11 languages.
  • Pane MCP reconnect: an automatic reconnect of a pane that lost Navide's tools now waits until the backend has recovered. backend.log records when a pane is judged disconnected and when it is reconnected, and a pane that comes back sends one notice to the chats bound to it, its workspace or the pane that opened it. All 11 languages.
  • SSH Remote in tmux (experimental, off by default): the SSH Remote dialog has a new Run in tmux on the host box for a terminal or a CLI pane.
    • Ticked, and when the host has tmux, the pane runs in a tmux session of its own there. The CLI or shell keeps running while the connection is down, and a reconnect, or opening the pane after Navide restarts, attaches to that same session. Closing the pane ends its session.
    • Navide uses a tmux server of its own (tmux -L navide, no config file), so your own tmux sessions and settings are untouched; Ctrl-B reaches the CLI.
    • The tool token reaches the session through a fifo, never a command line, a file or tmux's environment, and is revoked as soon as the pane's ssh exits.
    • Left off, or on a host without tmux, a pane is exactly the 0.2.48 one. All 11 languages and the user guide (en, zh-TW, ja). See Known limitations.
  • Kiro CLI model, effort and Guard: choose a model and effort when opening a kiro pane (new pane dialog, Settings, cli_open_agent); Navide passes them as --model and --effort. On macOS and Linux, Navide Guard sees a Kiro pane's tool calls through a PreToolUse hook in the pane's own Kiro home and refuses a call a Guard rule matches. Your ~/.kiro hooks are not written. See Known limitations.
  • Smallest plugin template: examples/hello-plugin is the smallest Navide plugin, ready to copy (one view, no build step, no permissions). Build for Navide has a new section, From zero to a listing, with every command in order. Settings → Navide Marketplace → Developer gains Copy buttons for its two commands and Open Template. All 11 languages.

Changed

  • plugin-packages-1.0.2: the Developer page, the guides, examples/hello-plugin, the bundled plugin-authoring skill and the Navide Marketplace website name plugin-packages-1.0.2 and its SHA-256 sums.
  • SSH Remote dialog wording: the note under a CLI now says a reconnect or restart tries to resume the pane's own conversation and starts a new one if it can't, instead of promising it will. All 11 languages.
  • cli_open_agent kickoff: a kickoff Navide could not confirm is now answered as kickoff: "unverified" instead of "failed"; read cli_get_status before resending. "failed" now means the window saw the task not go in. The call waits up to 4 minutes for the window's verdict instead of 45 seconds.

Fixed

  • Privacy, command lines: the connection-risk check stored the first 200 characters of a process's command line verbatim, so an API key or token passed on the command line was kept in plain text in navide.db. Credential values are now masked before they are written, and rows from earlier versions are masked once on upgrade. Risk decisions are unchanged.
  • Privacy, deleted accounts: deleting an account that signed in through a browser only renamed its folder aside, leaving its login files and transcripts on disk. The folder is now removed; anything Windows cannot remove because a file is open is removed on a later delete or the next launch. Archives left by earlier versions are not touched (Settings → Storage still clears them).
  • Backend responsiveness under load: the resource panel's poll no longer works out every pane's connection risk on the backend's event loop, and pane logs are written on a thread of their own (cli_read_log sees new output within 250 ms). These were the most common causes of 2–8 second stalls that made panes lose their Navide tools.
  • Plugin template package.json: the no-build template from navide-plugin init had no package.json, so the next step either found no CLI or made npx look navide-plugin up on npm, where Navide publishes nothing. The template now installs the CLI from the plugin-packages GitHub Release and adds check and package scripts: run npm install && npm run check && npm run package in the plugin's folder.

Known limitations

  • Kiro CLI: model, effort and Guard were built from Kiro's documentation and tested against a stand-in, not a real kiro-cli. Guard fails open for now (a call Navide does not recognise is let through) and runs only on macOS and Linux. Which model ids Kiro accepts is unverified. Kiro panes still do not resume a conversation and show no usage, sign-in or account switching.
  • SSH Remote in tmux: verified only against a stand-in ssh and tmux, not yet on a real host. After a reattach the CLI keeps running but Navide's tools in it stop working, on purpose; exit the CLI and close and reopen the pane to get them back (this is why the box is off by default). Output printed while disconnected is not in the scrollback. If the close-time ssh call cannot get in, the session stays until its CLI exits (tmux -L navide ls on the host lists it). Panes already open keep running as they are until reopened from the dialog.
  • MCP health on Windows: the MCP listener cannot be restarted on its own there. When the light turns red it stays red, the main bot still gets its notice, Restart MCP says it is not supported on this platform, and Restart the whole backend (which interrupts this window's panes) is the way back.

重點(繁體中文)

新增

  • MCP 健康檢查與自動復原: Navide 每 5 分鐘檢查一次自己的工具伺服器(MCP),檢查失敗時改成每 30 秒一次。
    • 狀態列 Backend 旁多了 MCP 燈號:正常是綠燈,連續失敗一兩次變黃燈,三次變紅燈。
    • 變紅燈時,Navide 只重啟 MCP 監聽,沿用同一個 port。分格、CLI 和終端機都繼續執行,CLI 下一次呼叫會連到新的監聽。90 秒後如果還是紅燈,主 bot 的私聊會收到一則通知。
    • Backend 彈出視窗多了 「重新啟動 MCP(不影響分格)」。紅燈時另有 「重啟整個後端…」,執行前會先列出這個視窗裡會被中斷的分格,請你確認。
    • /health 會回報 MCP 的失敗與檢查結果,backend.log 會記錄每次失敗、重啟和恢復。11 種語言。
  • 分格 MCP 重新連線: 分格失去 Navide 工具時,自動重新連線會等後端恢復後才試。backend.log 會記錄分格被判定斷線、重新連上的時間。分格接回後,會發一則通知到綁定它、它所在工作區,或開啟它的那個分格所綁定的聊天。11 種語言。
  • SSH Remote 在 tmux 裡執行(實驗功能,預設關閉): SSH Remote 對話框多了 「在主機的 tmux 裡執行」 勾選框,終端機和 CLI 分格都能用。
    • 勾選後,如果主機有 tmux,分格會在主機上用自己的 tmux session 執行。連線中斷時,CLI 或 shell 會繼續跑;重新連線,或 Navide 重開後打開分格,都會接回同一個 session。關閉分格就會結束這個 session。
    • Navide 使用自己的 tmux server(tmux -L navide,不讀設定檔),不會動到你自己的 tmux session 和設定;Ctrl-B 會直接送到 CLI。
    • 工具 token 透過 fifo 傳進 session,不經過指令列、檔案或 tmux 的環境變數;分格的 ssh 一結束,token 就會撤銷。
    • 不勾選,或主機沒有 tmux 時,分格和 0.2.48 完全一樣。11 種語言、使用手冊(en、zh-TW、ja)。請見「已知限制」。
  • Kiro CLI 選模型、effort 與 Guard: 開 kiro 分格時可以選模型和 effort(新分格對話框、設定、cli_open_agent 都可以),Navide 會用 --model 和 --effort 帶給它。在 macOS 和 Linux 上,Navide Guard 透過分格自己 Kiro home 裡的 PreToolUse hook 看得到 Kiro 的工具呼叫,符合 Guard 規則的呼叫會被拒絕。不會寫入你 ~/.kiro 裡的 hook。請見「已知限制」。
  • 最小外掛範本: examples/hello-plugin 是最小的 Navide 外掛,直接複製就能用:一個畫面、不用建置、不需要權限。Build for Navide 多了 「從零到上架」 一節,依序列出每個指令。「設定 → Navide 市集 → 開發者」多了兩個指令的複製按鈕和 「開啟範本」。11 種語言。

改變

  • plugin-packages-1.0.2: 開發者頁、開發指南、examples/hello-plugin、內建的 plugin-authoring skill 和 Navide 市集網站,都改成 plugin-packages-1.0.2,並附上 SHA-256 檢查碼。
  • SSH Remote 對話框用詞: CLI 下方的說明改成:重新連線或重開時,會「試著」接回這個分格自己的對話,接不上就開新對話。不再保證一定接得回。11 種語言。
  • cli_open_agent 的 kickoff: Navide 無法確認任務已送達時,改回 kickoff: "unverified",不再回 "failed";重送前請先看 cli_get_status。"failed" 現在只代表視窗確認任務沒有送進去。等待視窗回覆的時間從 45 秒延長到最多 4 分鐘。

修正

  • 隱私:命令列: 連線風險檢查原本會把程序命令列的前 200 個字元原樣存進 navide.db,所以命令列上帶的 API key 或 token 會以明文留著。現在寫入前會先遮罩金鑰值;舊版寫入的紀錄,會在升級時遮罩一次。風險判斷不變。
  • 隱私:刪除帳號: 刪除用瀏覽器登入的帳號時,原本只是把資料夾改名放在一旁,登入檔和對話紀錄都還留在磁碟上。現在會真的刪掉資料夾。Windows 上因為檔案被開著而刪不掉的部分,會在下次刪除或下次啟動時移除。舊版留下的封存不會動到,仍然可以從「設定 → 儲存空間」清除。
  • 高負載下的後端反應: 資源面板的輪詢不再在後端的事件迴圈上計算每個分格的連線風險;分格對話紀錄改在獨立的執行緒寫入,cli_read_log 在 250 毫秒內就看得到新的輸出。這兩件事是事件迴圈卡住 2~8 秒、讓分格失去 Navide 工具最常見的原因。
  • 外掛範本的 package.json: navide-plugin init 寫出的免建置範本原本沒有 package.json,所以照下一步操作時,不是找不到 CLI,就是讓 npx 去 npm 上找 navide-plugin,但 Navide 沒有在 npm 發佈任何套件。現在範本會從 plugin-packages 的 GitHub Release 安裝 CLI,並加上 check 和 package 兩個 script;在外掛資料夾執行 npm install && npm run check && npm run package 即可。

已知限制

  • Kiro CLI: 模型、effort 和 Guard 是照 Kiro 的文件做的,只用模擬程式測過,還沒在真的 kiro-cli 上驗證。Guard 目前遇到認不得的呼叫會放行,而且只在 macOS 和 Linux 有效。Kiro 接受哪些模型 id 尚未驗證。Kiro 分格仍然不能接續對話,也還沒有用量、登入與帳號切換。
  • SSH Remote 在 tmux 裡執行: 只用模擬的 ssh 和 tmux 驗證過,還沒在真正的主機上試過。接回之後 CLI 會繼續跑,但裡面的 Navide 工具會刻意失效,要結束 CLI、關掉分格再重開才會恢復,這也是預設關閉的原因。斷線期間的輸出不會出現在捲動紀錄裡。關閉分格時如果那次 ssh 連不進去,session 會留到它的 CLI 結束為止,可以在主機上用 tmux -L navide ls 查。已經開著的分格會維持原樣,要從對話框重開才會套用。
  • Windows 上的 MCP 健康檢查: Windows 無法單獨重啟 MCP 監聽。變紅燈後會一直維持紅燈,主 bot 仍然會收到通知,「重新啟動 MCP」會告訴你這個平台不支援。要恢復,請用「重啟整個後端…」,這會中斷這個視窗裡的分格。