Skip to content

feat(client): 增加 Runner profile preset#40

Merged
DeliciousBuding merged 1 commit into
dev/delicious233from
feat/client-runner-profile-preset-delicious233
May 22, 2026
Merged

feat(client): 增加 Runner profile preset#40
DeliciousBuding merged 1 commit into
dev/delicious233from
feat/client-runner-profile-preset-delicious233

Conversation

@DeliciousBuding
Copy link
Copy Markdown
Collaborator

变更范围

  • Edge CLI 新增 --runner-profile 参数。
  • 支持 --runner-profile agenthub-runner-mock,默认展开为 agenthub-runner --mock
  • 支持 --runner-command 覆盖 preset command,同时保留 preset 默认参数和用户追加参数。
  • 保留现有手工 --runner-command / --runner-arg / --runner-env / --runner-workdir 模式。
  • 更新客户端路线图、分支路线图和 Runner README。

Review 修复

  • README 明确 --runner-command 只能是单个 executable 名称或路径,不能填写整串 shell 命令。
  • 补 profile 场景下非法 --runner-env 仍会失败的回归测试。
  • 调整 --runner-command help,说明空 command 只有在没有 profile 时才使用内置 mock executor。

验证

  • git diff --check
  • python -c "import yaml, pathlib; yaml.safe_load(pathlib.Path('api/openapi.yaml').read_text(encoding='utf-8')); print('yaml ok')"
  • cd edge-server; go test -count=1 ./...
  • cd runner; go test -count=1 ./...

Copilot AI review requested due to automatic review settings May 22, 2026 22:59
@DeliciousBuding DeliciousBuding merged commit 120dab5 into dev/delicious233 May 22, 2026
1 of 2 checks passed
@DeliciousBuding DeliciousBuding deleted the feat/client-runner-profile-preset-delicious233 branch May 22, 2026 23:01
@DeliciousBuding DeliciousBuding review requested due to automatic review settings May 22, 2026 23:22
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