DEV Community

邱敬幃 Pardn Chiu
邱敬幃 Pardn Chiu

Posted on

Agenvoy@v0.24.16 - Refactor CLI commands and enhance TUI model management

pardnchiu/Agenvoy


v0.24.15 -> v0.24.16

Summary

Model management lifecycle migrates from standalone CLI subcommands into the TUI surface with first-class OAuth callback handling, closing the split between two entry points. Startup no longer aborts when no provider is registered, letting fresh installs reach the TUI to add their first model. Deprecated CLI commands and accumulated dead helpers across the runtime are swept out.

翻譯

模型管理流程從獨立 CLI 子指令搬進 TUI 介面,OAuth 回呼也納入主控,消除兩套入口分裂。啟動時即使尚未註冊任何 provider 也不再中止,新安裝可順利進到 TUI 加入第一個模型。順手清除被棄用的 CLI 指令與 runtime 各處累積的 dead helpers。

Changes

FEAT

  • Move model management flow into TUI with OAuth callback support (@pardnchiu) [910dc10]

翻譯

  • 模型管理(add/remove)整套移到 TUI,codex/copilot 走 OAuth callback 在介面內完成登入

REFACTOR

  • Relax no-model startup flow and harden TUI runtime guards (@pardnchiu) [e8e98ca]
  • Remove deprecated MCP/session CLI commands and simplify session picker + TUI popup (@pardnchiu) [1604f6b]

翻譯

  • 放寬「啟動時必須有 model」的硬限制;同步補強 TUI runtime guards
  • 移除已棄用的 MCP/session CLI 子指令,session picker 與 TUI popup 簡化

REMOVE

  • Remove unused helpers and standardize provider HTTP clients (@pardnchiu) [172aaa9]

翻譯

  • 清掉 ParseSkillBytesLoadFSSnapshotFormatInt 等 dead helpers;雲端 provider HTTP client 統一走 provider.NewHTTPClient()

Scope

  • cmd/app/ — REFACTOR, REMOVE (main.go, cmdDeamon.go, addProvider.go, buildAgentRegistry.go)
  • internal/agents/provider/ — FEAT, REFACTOR (provider.go, copilot/, openaiCodex/, multiple new.go)
  • internal/runtime/cli/ — REMOVE (mcp.go, newSession.go, pick.go, remove.go, config.go)
  • internal/runtime/tui/ — FEAT, REFACTOR (commandModelAdd.go, commnadModelRemove.go, handlerPopup.go, update.go, view.go)
  • internal/runtime/ — REFACTOR (pending.go, discord/new.go, telegram/new.go, kuradb/run.go)
  • internal/session/ — REFACTOR (actionLog.go, config.go, session.go)
  • internal/filesystem/ — REFACTOR (path.go)
  • internal/utils/ — REFACTOR (utils.go)
  • makefile — CHORE

Generated by SKILL

Top comments (0)