narrow shared stream contract disclosure#482
Merged
liujuanjuan1984 merged 1 commit intomainfrom May 7, 2026
Merged
Conversation
Collaborator
Author
|
独立审查结论如下: 代码变动审查
需求贴合度审查
风险与余项
PR 标题与描述审查
PR 与 Issue 关系审查
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
变更说明
src/opencode_a2a/contracts/extensions/public_params.py中统一 shared streaming contract 的最小 declared 字段集message_id、event_id、reasoning_tokens、cache_tokens.*、cost的继续声明tests/server/test_agent_card.py,确保 public / authenticated disclosure 对 shared streaming declared fields 保持一致docs/extension-specifications.md与docs/guide.md,改为只声明最小 shared contract,并明确未声明字段不可被客户端视为稳定契约验证
bash ./scripts/doctor.shIssue 关联
Closes #460