6 months ago
567686bThis keeps the last open PR #83 review threads aligned with the code that actually ships. The A2UI tool contract now advertises supported interaction round-trips, browser local-state fallback preserves desktop feature flag overrides, and the surface manager only evicts when a new distinct surface would overflow the cap. The dock reducer keeps unconditional toolCallId coalescing, but its docs and tests now match that intended contract. Constraint: Review-thread fixes must preserve the current green PR behavior while landing on a new SHA Rejected: Enforce the coalescing time window for matching toolCallId values | current grouping behavior appears intentional across projection and chat rendering Confidence: high Scope-risk: narrow Reversibility: clean Directive: If toolCallId grouping semantics change later, update the dock reducer docs/tests and chat-side A2UI coalescing together Tested: bun run typecheck; bun test test/tools/a2ui.test.ts test/a2ui/surfaceManager.test.ts apps/desktop/test/web-workspace-state.test.ts apps/desktop/test/a2ui-dock-reducer.test.ts; bun test --max-concurrency 1 Not-tested: GitHub Actions on the new commit
Parente9da784