Skip to content

fix(cli): 简化运行目录参数 - #244

Merged
uvwt merged 1 commit into
mainfrom
fix/cli-runtime-root-default-20261018
Oct 18, 2026
Merged

uvwt merged 1 commit into
mainfrom
fix/cli-runtime-root-default-20261018

Conversation

@uvwt

@uvwt uvwt commented Oct 18, 2026

Copy link
Copy Markdown
Owner

变更

  • service / tunnel 默认自动解析 runtime root,不再要求普通用户每次传 --runtime-root
  • 解析优先级:显式 --runtime-root > AGENTDOCK_RUNTIME_ROOT > 平台默认目录
  • Linux 默认 /etc/agentdock,Windows 默认 %LOCALAPPDATA%\\AgentDock,macOS 保持 $HOME/Library/Application Support/AgentDock
  • agentdock service -h / agentdock tunnel -h 改为正常帮助输出
  • 更新内置 AgentDock User Guide 与相关测试

验证

  • go test ./...
  • go vet ./...
  • Linux amd64 / Windows amd64 交叉编译通过
  • Linux VPS 实机 smoke:agentdock tunnel status 无参数与显式 --runtime-root /etc/agentdock 输出一致;tunnel -h 正常

@uvwt
uvwt merged commit 954a9c1 into main Oct 18, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant