Intelligent-Internet / Intelligent-Internet/opencode-a2a

升级 a2a-sdk 至 1.1.3 并审计下游兼容层

Open
#515 2 comments 0 reactions 0 assignees View on GitHub

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.tomluv.lock 锁定 a2a-sdk 1.1.3
  • SDK contract/shape 审计结论可追踪
  • 不必要的 override 已删除,必要项有说明
  • ./scripts/doctor.sh 通过

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.