Repository navigation
lang-core: parseMessage and buildMessage for stored messages - #1305
Open
Aditya-thesys wants to merge 2 commits into
Open
Aditya-thesys wants to merge 2 commits into
Aditya-thesys wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Aditya-thesys
force-pushed
the
feat/lang-core-message-protocol
branch
from
October 6, 2026 17:03
b92fd67 to
ac47ea1
Compare
…ssage) lang-core reads and writes the marker lines of spec section 7 (content, context, end). Attributes are a URL query string on the content marker, as muse writes it. The react-lang Renderer accepts a stored message as response and renders its content. Responses without markers parse as before.
Aditya-thesys
force-pushed
the
feat/lang-core-message-protocol
branch
from
October 7, 2026 06:04
ac47ea1 to
afa1f39
Compare
This branch was successfully deployed
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.
OpenUI 1.0 message protocol (spec section 7).
parseMessage(raw, { streaming })returns{ content, context, attributes, end }from a stored message with]]>openui:marker lines;buildMessage(...)writes one. Attributes use the query form (?thesys=true&libraryVersion=0.1.0).Rendereraccepts a stored message asresponse. The context is host-defined; the Renderer does not read it.sentinelParseris replaced byparseMessage/buildMessage. Stored bytes are unchanged; the legacy<content>/<context>XML is still read.