v1.6.3

v1.6.3 Release Notes

Released


v1.6.2 -> v1.6.3

Summary


Streamlines skill, script tool and hook generation by running format checks on every write, so each fix round needs one call instead of two and the tool schemas the agent fetches get smaller. Background subagent runs and stored tool failures fold into existing tools under clearer names.
翻譯
精簡 skill、script tool 與 hook 的生成流程,每次寫入即檢查格式,每輪修正從兩次呼叫減為一次,agent 取用的工具 schema 也更精簡。背景 subagent 與工具錯誤紀錄併入既有工具,並改用更清楚的名稱。

Changes


UPDATE


  • Check skill, script tool and hook files right after every write (@pardnchiu) [114e83cf, 05df2322, 869a88c3]
    • write_skill, write_tool and write_hook drop mode=validate
    • write and patch append valid or every issue to the result, and the agent fixes them with patch without asking the user
    • write_skill(mode=copy) copies the whole directory first, then checks its SKILL.md
    • SKILL.md frontmatter accepts keys beyond name and description
    • The skill, tool, hook and cron generation guides end on the last write reporting valid
    • Each write-and-fix round takes one call instead of a write plus a separate validate call, so the generation flow spends fewer calls on corrections
    • Dropping the mode and its description shrinks the schemas that find_tools delivers for these three tools

翻譯
  • skill、script tool 與 hook 檔案改為每次寫入後立即檢查
    • write_skill、write_tool、write_hook 移除 mode=validate
    • write 與 patch 在結果後附上 valid 或所有問題,agent 依結果以 patch 修正,不詢問使用者
    • write_skill(mode=copy) 先複製整個目錄,再檢查其 SKILL.md
    • SKILL.md frontmatter 接受 name 與 description 以外的 key
    • skill、tool、hook 與 cron 的生成 guide 改以最後一次寫入回報 valid 作為完成條件
    • 每輪寫入與修正只需一次呼叫,不再另外呼叫 validate,生成流程花在修正上的無效呼叫隨之減少
    • 移除該 mode 與其描述後,find_tools 交付這三個工具的 schema 變小,token 用量隨之減少


REFACTOR


  • Fold invoke_background into invoke_subagent as background: true (@pardnchiu) [102513f3]
    • Background runs stay limited to TUI requests outside auto mode and are refused otherwise
    • Subagents still cannot start other subagents
  • Rename write_error to store_error and show it as Memorizing alongside store_secret (@pardnchiu) [8fc2f7ea]

翻譯
  • invoke_background 併入 invoke_subagent,改以 background: true 啟動
    • 背景執行仍只限非 auto mode 的 TUI 請求,其他情況直接拒絕
    • subagent 仍不能再啟動 subagent
  • write_error 改名為 store_error,顯示標籤與 store_secret 同為 Memorizing


Scope


  • internal/tools/file/variant/ — UPDATE (multiple files)
  • internal/filesystem/skill/ — UPDATE (check.go, validate.go)
  • internal/tools/file/boundary/ — UPDATE (boundary.go)
  • internal/tools/subagent/ — REFACTOR (background.go, invoke.go, subagents.go)
  • internal/tools/history/ — REFACTOR (multiple files)
  • internal/tools/ — REFACTOR (guide.go, command/runCommandBackground.go)
  • internal/agents/exec/ — UPDATE, REFACTOR (execute.go, toolCall.go, subagent/exec.go)
  • internal/runtime/tui/, internal/utils/ — REFACTOR (helper.go, toolFormat.go)
  • configs/prompts/guide/ — UPDATE, REFACTOR (multiple files)



Generated by SKILL