DEV Community

邱敬幃 Pardn Chiu
邱敬幃 Pardn Chiu

Posted on

Agenvoy@v0.24.17 - Refactor CLI to TUI and centralize sandbox configuration

pardnchiu/Agenvoy


v0.24.16 -> v0.24.17

Summary

Folds the CLI/run path into a single-shot TUI rendering so daemon-side and interactive flows share one entry. Sandbox policy now loads through the runtime config with a user-extensible whitelist surfaced through a new slash command.

翻譯

把 CLI/run 入口收編進單次跑的 TUI rendering,讓 daemon 與互動式流程共用同一條 entry。Sandbox policy 改由 runtime config 統一管理,並透過新加的 slash 指令補充白名單。

Changes

REFACTOR

  • Replace legacy CLI flow with single-shot TUI execution (@pardnchiu) [620937f]
  • Centralize runtime sandbox config and add allow-cmd command (@pardnchiu) [ec7af48]

翻譯

  • agen cliagen run 改為單次跑 TUI(auto-submit + 跑完 Enter 退出),順手砍掉 internal/runtime/cli/promptui、stdin pending fallback;session picker 與 popup 對齊 TUI default
  • Runtime sandbox/whitelist 從 cmd/app/main.go init() 搬到 filesystem.LoadRuntime,daemon 啟動時 embed 預設 config.json::denied_mapwhite_list 一次合併;新加 /allow-cmd TUI 指令把使用者 binary 寫進 config.json(強制重啟 Deamon)

Scope

  • cmd/app/ — REFACTOR
  • internal/runtime/tui/ — REFACTOR
  • internal/runtime/cli/ — REMOVE
  • internal/filesystem/runtime.go — REFACTOR
  • internal/tools/ — REFACTOR

Generated by SKILL

Top comments (0)