feat(acp): separate prompt acceptance from session work completion - #189
Draft
YoungSx wants to merge 24 commits into
Draft
feat(acp): separate prompt acceptance from session work completion#189YoungSx wants to merge 24 commits into
YoungSx wants to merge 24 commits into
Conversation
Default only an absent v1 type to agent, reject non-string discriminators, and preserve unsupported strings and payload fields. Share version-aware authentication serialization across DTO, collection, and initialize roots so unknown fields cannot override the negotiated method identity. Add raw initialize transport regressions, presentation selection coverage, and schema round-trip properties. Validation: 593 SDK tests, 26 presentation authentication tests, analyzer and package validation, external nupkg consumer, and a 9-case failing whitelist mutation. Refs #147
Apply negotiated identifiers and required message identities across direct, collection, and parent contracts. Preserve unknown command and resource metadata, honor explicit schema recovery rules, and keep v1-only state off draft wire. Keep live v2 disabled and preserve the published serialization surface. Validate 680 SDK tests, package compatibility against 1.0.0, and 38 draft consumer diagnostics; version-rule mutations fail 45 targeted cases.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Wait for the native canvas and splash removal within the existing boot deadline before enabling accessibility once. Uno 6.7.103 (cd452e3ee242c9a2a8dee5e65ad8088b6f5dbf83) can retain initial sibling bounds when ancestor layout moves after early semantic activation, causing pointer gates to click an adjacent card. Validated against the same Debug product with CPU throttle 4: early activation fails, late activation passes, restoring early fails, restoring late passes. The unchanged two-round pointer gate passes with the final helper at CPU rates 4 and 1. Product focus code is unchanged.
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.
ACP v2 的 prompt 回复只表示已接收。此变更用同一会话状态 owner 分别记录接收与完成,直到权威 idle 才结束调用;取消期间仍接收尾部更新。V1 仍按原终态回复完成,公开入口继续在 connect/send 前拒绝 V2。
连接令牌贯穿请求写入、session/cancel 和取消时的入站回复清理。旧连接排队写入及迟到结果不会取消或完成新连接。元数据只在 schema 明确允许的位置按错误缺省处理;state_update 扁平序列化不重复输出判别字段或 _meta。
包含 #184、#187 的协议前置及 #186 的取消/权限归属修复。权限提示沿原请求 callback 响应,旧提示、排队事件和迟到 dismiss 不会影响新请求;WASM 自动化在原生首帧后启用语义树。Refs #149、#148,不关闭总单。
验证:当前整合提交
0b107f5f的 SDK 901/901 通过,Release 分析器构建零警告、零错误。取消跨连接、metadata 和重复字段探针均先红后绿;共享权限 UI 的 Presentation 完整套件 3360/3360 通过。包消费及各平台门禁由本次提交 CI 再次核验。保持 draft:内部确定性协议对端验证不能替代真实第三方 V2 Agent。公开 live V2、生产 bridge 和 Windows 登录 GUI 未验收。