Kotlin sdk treeshake common types#1395
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive streaming parser for A2UI, supporting both v0.8 and v0.9 specifications. Key additions include the StreamingParser hierarchy, a SchemaInspector for heuristic component detection, and a TopologyAnalyzer for reachability analysis. The A2uiCatalog was also updated with logic to prune unused common types. Review feedback highlights several critical performance concerns in the parser implementation, such as inefficient string concatenation in buffers, frequent regex compilation during metadata sniffing, and redundant serialization when tracking yielded components.
263339c to
6a1ba9c
Compare
nan-yu
reviewed
May 12, 2026
d26e2fe to
76aea88
Compare
Port of Python SDK commit 1ea689d
76aea88 to
d90c8e7
Compare
nan-yu
approved these changes
May 19, 2026
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.
Description
Treeshake common types schema
Port of Python SDK commit 1ea689d
Pre-launch Checklist
If you need help, consider asking for advice on the discussion board.