v1.5.2

v1.5.0 Release Notes

Released


v1.4.2 -> v1.5.0

Summary


Narrows where Agenvoy loads skills, tools and hooks from to a single user-level home, and tightens permission gating for local automation, including closing the HTTP route out of the sandbox. Terminal users also gain finer control over command and script execution, and the web UI gains multi-language support plus Security and Tools management pages.
翻譯
本版將 Skill、工具與 Hook 的載入來源收斂到單一使用者層級位置,並收緊本機自動化的權限,包含封閉經 HTTP 離開沙箱的途徑。終端介面使用者也能更細緻地控制命令與指令碼的執行;網頁介面則新增多語系支援,以及安全性與工具管理頁面。

Changes


FEAT


  • Add /tool to manage which script tools can run without confirmation (@pardnchiu) [e30b2407]
  • Add a Command network switch in /config for sandboxed foreground and background commands (@pardnchiu) [2a9b5954]
  • Add write_skill copy mode to duplicate a Skill directory (@pardnchiu) [4465acae]
  • Add a Hook network switch in /config that denies hook network access (@pardnchiu) [e0a75ab0]
    • Skip a hook that errors instead of blocking the conversation
  • Add a LAN access switch in /config that lets private-network devices reach the API, off by default (@pardnchiu) [abc66b9c]
    • Reject requests whose Host header is neither a local name nor a private-network address
  • Add web UI multi-language support with 16 bundled dictionaries and a /v1/i18n endpoint, following the browser language (@pardnchiu) [4d7bbefd, f07578b3]
  • Add a Security section to the web UI System tab for the Command network, Hook network and LAN access switches, backed by /v1/config/security (@pardnchiu) [a8f07e6a]
  • Add /v1/tools endpoints, limited to localhost, to list, inspect and allow script tools (@pardnchiu) [e845f103]
  • Add a Tools tab to the web UI Feature page for listing, viewing and allowing script tools (@pardnchiu) [9e267679]

翻譯
  • 新增 /tool,可管理哪些指令碼工具能免確認執行
  • 在 /config 新增命令網路開關,適用於沙箱內的前景與背景命令
  • 新增 write_skill 複製模式,可複製整個 Skill 目錄
  • 在 /config 新增 Hook 網路開關,可禁止 Hook 連網
    • Hook 執行出錯時改為略過,不再中斷對話
  • 在 /config 新增區網存取開關,開啟後允許區網裝置連線 API,預設關閉
    • Host 標頭不是本機名稱或區網位址的請求會被拒絕
  • 網頁介面新增多語系支援,內建 16 份字典與 /v1/i18n 端點,依瀏覽器語言顯示
  • 網頁介面 System 分頁新增 Security 區塊,可切換命令網路、Hook 網路與區網存取,由 /v1/config/security 提供
  • 新增僅限本機存取的 /v1/tools 端點,可列出、檢視與允許指令碼工具
  • 網頁介面 Feature 頁新增 Tools 分頁,可列出、檢視與允許指令碼工具


UPDATE


  • Run agen -p inside the terminal process instead of through the daemon (@pardnchiu) [a1d85049]
    • Keep --skip-sandbox available only in the terminal
  • Restore QuickUI template rendering in the HTML render guide and the check_html check (@pardnchiu) [1c7e5f28]

翻譯
  • agen -p 改為在終端機行程內執行,不再經過 daemon
    • --skip-sandbox 僅限終端機使用
  • 還原 HTML 渲染規範的 QuickUI 模板寫法與 check_html 檢查


FIX


  • Offer to reset an invalid runtime configuration at terminal startup while retaining a backup (@pardnchiu) [600a67e9]

翻譯
  • 終端介面啟動時若發現執行環境設定無法載入,可選擇重設並保留原檔備份


SECURITY


  • Load skills, script tools and hooks only from ~/.config/agenvoy, not the work directory (@pardnchiu) [75daf679]
  • Make the Agenvoy configuration directory read-only by default for general-purpose tools and keep writable exceptions system-defined (@pardnchiu) [600a67e9, e8edfa22, 4465acae]
  • Restrict Skill writes to write_skill and revoke a Skill's trust when it is edited (@pardnchiu) [4465acae]
  • Remove enable_sandbox from /v1/send so HTTP requests always stay in the sandbox (@pardnchiu) [a1d85049]
  • Restrict daemon log access to its owner (@pardnchiu) [23f82e39]
  • Harden file permissions to 0600/0700 and add an HTTP read-header timeout to the daemon (@pardnchiu) [dc93b99f]
  • Verify SHA-384 of downloaded web UI vendor assets and fail the sync on mismatch (@pardnchiu) [cbc13ec4]
  • Require confirmation for editing Skills, script tools, and hooks, and for running hook or script-tool tests (@pardnchiu) [5fb7fe7d, e30b2407]

翻譯
  • 只從 ~/.config/agenvoy 載入 Skill、指令碼工具與 Hook,不再讀工作目錄
  • 預設禁止通用工具寫入 Agenvoy 設定目錄,可寫入的例外由系統定義
  • Skill 只能透過 write_skill 寫入,編輯後撤銷該 Skill 的信任
  • 移除 /v1/send 的 enable_sandbox,經 HTTP 送出的請求一律留在沙箱內
  • 將常駐程序日誌的存取權限限制為檔案擁有者
  • 將檔案權限收緊為 0600/0700,並為常駐程序加上 HTTP 讀取標頭逾時
  • 下載網頁介面的 vendor 資源時校驗 SHA-384,不符即中止同步
  • 編輯 Skill、指令碼工具或 Hook,以及執行 Hook 或指令碼工具測試時,須經確認


REMOVE


  • Temporarily remove the built-in extension-install and extension-upload Skills (@pardnchiu) [c5007a7f]
    • A redesigned upload/download version is planned, to make backing up and sharing personal tools easier
  • Remove the init_skill.py and init_scheduler_skill.py scaffolding scripts (@pardnchiu) [4465acae]
    • Use partial writes through write_skill instead, and no longer allow run_command to operate on skills/ directly

翻譯
  • 暫時移除內建的 extension-install 與 extension-upload Skill
    • 之後將重新設計上傳與下載,方便個人工具備份或分享
  • 移除 init_skill.py 與 init_scheduler_skill.py 骨架腳本
    • 改用 write_skill 的部分寫入,不再開放 run_command 直接操作 skills/


Integration notes


If an integration calls built-in tools by name, use write_skill for edit_skill, write_tool for edit_tool, and write_file with mode: remove and the existing filename for remove_file. A client that sends enable_sandbox: false to /v1/send is no longer honored and always runs in the sandbox; use agen -p --skip-sandbox from a terminal instead. [5fb7fe7d, 0954717d, a1d85049]
翻譯
若整合直接按名稱呼叫內建工具,請將 edit_skill 改成 write_skill、edit_tool 改成 write_tool;原本呼叫 remove_file 的地方改用 write_file,保留 filename 並加上 mode: remove。對 /v1/send 傳 enable_sandbox: false 的用戶端不再生效,一律在沙箱內執行;需要跳過沙箱時改在終端機使用 agen -p --skip-sandbox。

Scope


  • .gitignore — CHORE
  • cmd/app/ — FEAT, UPDATE, FIX, SECURITY
  • configs/ — FEAT, UPDATE, SECURITY, REMOVE (jsons/locale/i18n/, prompts/guide/)
  • extensions/skills/ — REMOVE, SECURITY
  • internal/agents/ — FEAT, SECURITY (exec/hook/)
  • internal/app/ — FEAT, UPDATE, SECURITY
  • internal/filesystem/ — FIX, SECURITY
  • internal/runtime/ — FEAT, UPDATE, SECURITY (routes/, toolAdapter/, tui/, webapp/)
  • internal/session/config/ — FEAT
  • internal/tools/ — FEAT, UPDATE, SECURITY
  • internal/utils/ — FEAT, SECURITY
  • makefile — UPDATE
  • page/ — FEAT, SECURITY (src/, public/, vendor.json)
  • go.mod, go.sum — CHORE



Generated by SKILL