Skip to content

v1.6.2

Latest

Choose a tag to compare

@pardnchiu pardnchiu released this 03 Dec 20:16
d802c6a

v1.6.1 -> v1.6.2

Summary

Consolidates the built-in tool surface under one naming scheme, folding overlapping history, background, testing and validation tools into fewer tools with modes. Tool, hook and skill authoring gains format checks before anything runs, and the TUI shell mode gets a cleaner input and full-width message blocks.

翻譯

以統一命名收斂內建工具,把重疊的歷史、背景、測試與驗證工具併成少數帶 mode 的工具。工具、hook 與 skill 的撰寫流程新增執行前的格式檢查,TUI 的 shell 模式輸入更精簡,訊息區塊改為滿版。

Changes

FEAT

  • Add format checks to tool, hook and skill authoring (@pardnchiu) [d52fe11]
    • write_tool, write_hook and write_skill gain mode=validate, replacing validate_tool and validate_skill
    • test_script runs one .py or .js script in the sandbox, replacing test_tool and test_hook
    • The hook_generate guide lists every state's stdin fields, replacing read_hook and the bundled demo scripts
翻譯
  • 工具、hook 與 skill 的撰寫流程新增格式檢查
    • write_tool、write_hook、write_skill 新增 mode=validate,取代 validate_tool 與 validate_skill
    • test_script 在沙箱內執行單一 .py 或 .js 腳本,取代 test_tool 與 test_hook
    • hook_generate guide 列出各 state 的 stdin 欄位,取代 read_hook 與隨附的 demo 腳本

UPDATE

  • Ask for confirmation in safe mode before rescheduling or cancelling a schedule (@pardnchiu) [bfcb947]
  • Enter TUI shell mode with ! on an empty input without keeping the prefix in the text (@pardnchiu) [eccf3a1]
    • Backspace on an empty input leaves shell mode
  • Render user messages and shell commands as full-width background blocks in the TUI (@pardnchiu) [0a34dff]
翻譯
  • safe 模式下改排程時間或取消排程前改為要求確認
  • TUI 在空白輸入時按 ! 進入 shell 模式,前綴不再留在輸入文字中
    • 空白輸入時按 Backspace 離開 shell 模式
  • TUI 的使用者訊息與 shell 指令改以滿版背景區塊呈現

REFACTOR

  • Rename built-in tools to verb-prefixed names (@pardnchiu) [2104454, bfcb947, 96e8668]
    • subagents → invoke_subagent, background_subagents → invoke_background
    • reasoning_guide → read_guides, html_template → read_html_templates, public_api_list → read_public_apis
    • list_chatbot → find_chatbots
  • Split schedules into find_schedules and write_schedule (@pardnchiu) [2104454, bfcb947]
  • Merge the history tools (@pardnchiu) [8a09f3e, 96e8668]
    • chat_history and error_history become read_history with target=chat|error
    • file_history becomes restore_file mode=list|read, beside mode=restore
  • Merge background_command into run_command as background: true (@pardnchiu) [8cc6c98]
  • Remove the SystemUse tool flag; find_tools list now hides only the preloaded tools (@pardnchiu) [c1f28dd]
  • Expose read_public_apis and test_script from the MCP server and drop the unlisted script_tool_generate_guide alias (@pardnchiu) [d52fe11, bfcb947, c1f28dd]
  • Move open_file into the file tool package and migrate error messages to go-pkg utils/msg (@pardnchiu) [f0e9ae6, 839e633, c67ba6f]
翻譯
  • 內建工具改為動詞前綴命名
    • subagents → invoke_subagent、background_subagents → invoke_background
    • reasoning_guide → read_guides、html_template → read_html_templates、public_api_list → read_public_apis
    • list_chatbot → find_chatbots
  • schedules 拆成 find_schedules 與 write_schedule
  • 合併歷史工具
    • chat_history 與 error_history 併為 read_history,以 target=chat|error 區分
    • file_history 併入 restore_file 的 mode=list|read,與 mode=restore 並列
  • background_command 併入 run_command 的 background: true
  • 移除 SystemUse 工具旗標,find_tools 清單改為只隱藏預載工具
  • MCP server 改為開放 read_public_apis 與 test_script,並移除未列出的舊別名 script_tool_generate_guide
  • open_file 移入檔案工具套件,錯誤訊息改用 go-pkg utils/msg

Scope

  • internal/tools/ — FEAT, UPDATE, REFACTOR (multiple files)
  • internal/runtime/tui/ — UPDATE (multiple files)
  • internal/runtime/routes/handler/tool/ — FIX (get.go, toggle.go)
  • internal/runtime/mcp/ — REFACTOR (expose.go, server.go)
  • internal/agents/ — REFACTOR (multiple files)
  • configs/prompts/ — FEAT, REFACTOR (multiple files)
  • README.md, doc/ — DOC

Generated by SKILL