Skip to content

chore: rename project to opencode-a2a-server#171

Merged
liujuanjuan1984 merged 1 commit intomainfrom
issue-170-rename-to-opencode-a2a-server
Mar 13, 2026
Merged

chore: rename project to opencode-a2a-server#171
liujuanjuan1984 merged 1 commit intomainfrom
issue-170-rename-to-opencode-a2a-server

Conversation

@liujuanjuan1984
Copy link
Collaborator

概要

本 PR 将项目从 opencode-a2a-serve / opencode_a2a_serve 一次性全量重命名为 opencode-a2a-server / opencode_a2a_server,不保留兼容别名。

变更模块

1. Python 包与分发入口

  • 源码包目录从 src/opencode_a2a_serve/ 重命名为 src/opencode_a2a_server/
  • pyproject.toml 中的 project.name、CLI entrypoint、mypy / coverage 路径同步切换
  • uv.lock 中的包名同步更新

2. 运行脚本与部署约定

  • scripts/deploy*.shscripts/init_system.shscripts/start_services.shscripts/uninstall.sh 等脚本统一切换到新命令名与默认目录名
  • systemd A2A unit 名从 opencode-a2a@.service 切换为 opencode-a2a-server@.service
  • lightweight deploy 与本地启动脚本中的进程识别、入口命令、提示文案同步更新

3. 文档与仓库元信息

  • README、SECURITY、guide、deploy 相关文档统一使用新名称
  • 仓库 URL / clone URL / issue URL 元信息同步切换到新仓库名
  • GitHub 仓库已同步重命名为 Intelligent-Internet/opencode-a2a-server

4. 测试与 CI

  • 全部测试 import、logger 名、命令名断言同步切换
  • CI 中的 mypy 路径同步更新

验证

  • bash -n scripts/deploy.sh scripts/deploy/enable_instance.sh scripts/deploy/install_units.sh scripts/deploy/run_a2a.sh scripts/deploy/run_opencode.sh scripts/deploy/setup_instance.sh scripts/deploy/update_a2a.sh scripts/deploy_light.sh scripts/init_system.sh scripts/start_services.sh scripts/uninstall.sh
  • uv run pre-commit run --all-files
  • uv run pytest

结果:167 passed,coverage 84.48%

Closes #170

@liujuanjuan1984 liujuanjuan1984 marked this pull request as ready for review March 13, 2026 07:25
@liujuanjuan1984 liujuanjuan1984 merged commit 0aa289f into main Mar 13, 2026
3 checks passed
@liujuanjuan1984 liujuanjuan1984 deleted the issue-170-rename-to-opencode-a2a-server branch March 13, 2026 07:25
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.

[chore] 全量重命名项目为 opencode-a2a-server

1 participant