Add surface.updated to the StreamEventType union in the TS authority #28

Merged
weichen merged 2 commits from feature/generative-ui-u4-eventtype into main 2026-10-11 11:37:16 +00:00
Owner

Why: U4 frontend switches on StreamEventType; mirror the Go EvSurfaceUpdated (Core #25) so the case typechecks.

Evidence: TS-only; frontend tsc after mirror sync in Dev.

Impact: Type-only additive.

Refs: Core #25/#27; Dev task feature/generative-ui-u4

Why: U4 frontend switches on StreamEventType; mirror the Go EvSurfaceUpdated (Core #25) so the case typechecks. Evidence: TS-only; frontend tsc after mirror sync in Dev. Impact: Type-only additive. Refs: Core #25/#27; Dev task feature/generative-ui-u4
weichen added 1 commit 2026-10-11 11:36:34 +00:00
Why: U4 frontend store switches on the event type; the TS union mirrors
the Go EvSurfaceUpdated constant (Core #25) and must include it or the
frontend typecheck rejects the case.

Evidence: go test unchanged (TS-only); frontend tsc in the Dev
workspace after mirror sync.

Impact: Type-only additive.

Refs: Core PR #25; Dev task feature/generative-ui-u4
weichen added 1 commit 2026-10-11 11:37:13 +00:00
weichen merged commit 89f3906c39 into main 2026-10-11 11:37:16 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Core#28