Intelligent-Internet / Intelligent-Internet/opencode-a2a
升级 a2a-sdk 至 1.1.3 并审计下游兼容层
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 26
- Forks
- 7
- Avg merge
- 18h 30m
- Merged PRs (30d)
- 18
Description
背景
当前 PR #514 正在修复 #513 暴露的出站请求头传递问题。仓库仍锁定 a2a-sdk==1.1.2,而上游最新正式版已为 1.1.3。需要在同一分支升级 SDK,并系统审查现有 SDK compatibility layer、私有形状依赖、版本约束与 override 是否仍必要。
目标
- 将
a2a-sdk从 1.1.2 升级到 1.1.3,并更新 lockfile。 - 审查 1.1.2 到 1.1.3 的上游变更和依赖变化。
- 运行现有 SDK shape/contract 锁定测试,确认公开与私有依赖面是否漂移。
- 盘点并移除已经不再必要的 compatibility override/workaround;保留项需有当前版本证据和测试保护。
- 审查依赖安全风险与现有 transitive constraints 是否仍必要。
- 更新文档并运行
./scripts/doctor.sh。
关联
- #513
- #514
验收标准
-
pyproject.toml与uv.lock锁定a2a-sdk 1.1.3 - SDK contract/shape 审计结论可追踪
- 不必要的 override 已删除,必要项有说明
-
./scripts/doctor.sh通过
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the a2a-sdk entries in pyproject.toml and uv.lock, then review the existing SDK compatibility layer, shape/contract tests, overrides, and transitive constraints. Compare the upstream 1.1.2-to-1.1.3 changes, remove unsupported workarounds only when the tests and current-version evidence allow it, update the documentation, and run ./scripts/doctor.sh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100