DEV Community

Cover image for Agenvoy@v1.3.21
邱敬幃 Pardn Chiu
邱敬幃 Pardn Chiu

Posted on

Agenvoy@v1.3.21

Agenvoy

v1.3.20 -> v1.3.21

Summary

Gives every turn a sense of the current time and uses a decision model to help approve low-risk tool calls that would otherwise need confirmation. File reading now loads only the parts relevant to the request, and file tool parameters are renamed for consistency.

翻譯

每輪對話都帶入目前時間,並透過決策模型判斷,協助放行原本需要確認但風險低的工具呼叫。讀檔改為只載入與請求相關的內容,檔案工具的參數名稱也統一調整。

Changes

FEAT

  • Inject the current time and time zone into each turn
    • Resolve "today", "now" and other relative dates against the local zone
  • Use the decision model to help approve low-risk tool calls that need confirmation
    • Judge writes outside the work directory, sensitive paths and rule-flagged commands
    • Skip the prompt only when the call is judged low risk
    • Ask the user as before when no decision model is set or the check fails

翻譯

  • 每輪對話帶入目前時間與時區
    • 「今天」「現在」等相對日期依本機時區解讀
  • 透過決策模型判斷,協助放行需要確認但風險低的工具呼叫
    • 判斷對象為寫入工作目錄外、敏感路徑及命中規則的指令
    • 只有判定為低風險時才略過確認
    • 未設定決策模型或判斷失敗時,照舊詢問使用者

FIX

  • Fix user cancellation handling and TUI skipped-tool rendering
    • Treat a user cancel as context cancellation instead of an error
    • Show skipped tool calls in the TUI log

翻譯

  • 修正使用者取消的處理與 TUI 略過工具的顯示
    • 使用者取消改視為 context 取消,不再當成錯誤
    • TUI 紀錄中顯示被略過的工具呼叫

UPDATE

  • Show only the latest reasoning paragraph in the live web UI
  • Filter read_files output by relevance to the request
    • Judge files under 16K characters as a whole and return a withheld notice when unrelated
    • Drop unrelated blocks from larger files and leave a row-range marker in their place
    • Return the whole file when full: true is set
    • Reject write_file content that still contains a marker
  • Report precise error labels for failed trash moves and tool tests

翻譯

  • 即時網頁介面只顯示最新一段推理內容
  • read_files 依與請求的相關性過濾輸出
    • 16K 字元以下的檔案整檔判斷,無關時回傳未載入通知
    • 較大的檔案移除無關段落,原位置留下行號範圍標記
    • 設定 full: true 時回傳完整檔案
    • write_file 拒絕仍含標記的內容
  • 移到垃圾桶失敗與工具測試失敗時回報更精確的錯誤類別

Scope

  • configs/ — FEAT
  • internal/agents/ — FEAT, UPDATE
  • internal/filesystem/ — UPDATE, REFACTOR
  • internal/runtime/ — FIX
  • internal/tools/ — UPDATE, REFACTOR
  • internal/utils/ — UPDATE
  • page/ — UPDATE

Generated by SKILL

Top comments (0)