Skip to content

feat: @objectstack/sdui-parser — parser's framework home (ADR-0080 M3b) - #2437

Merged
os-zhuang merged 2 commits into
mainfrom
feat/sdui-parser-framework
Jun 28, 2026
Merged

os-zhuang merged 2 commits into
mainfrom
feat/sdui-parser-framework

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

ADR-0080 M3b (part 1 — the hoist). Creates @objectstack/sdui-parser: the constrained JSX-source → SDUI SchemaNode compiler's canonical framework home (pure, isomorphic, zero React) — parse (whitelist-sanitizing, never executes) · validate (vs manifest) · codegen (JSX.IntrinsicElements .d.ts) · compile().

This is what the server-side os build save-gate will call to compile/validate a kind:'jsx' page's source; the client @object-ui/sdui-parser can re-export it.

Builds via tsup (CJS+ESM+DTS); compile + completeness + codegen verified against the built dist. Added to the changeset fixed group (the gate requires it).

Remaining (M3b part 2, separate PR): wire the os build / save path to call compile() with a serialized component manifest, and have @object-ui/sdui-parser re-export this package. That needs the cross-repo manifest artifact pipeline.

🤖 Generated with Claude Code

… (ADR-0080 M3b)

The constrained JSX-source -> SchemaNode compiler's canonical home (pure,
isomorphic, zero React). Server-side this is what the os build save-gate will
call to compile/validate kind:'jsx' page source; the client @object-ui/sdui-parser
can re-export it. Builds via tsup (CJS+ESM+DTS); compile/completeness/codegen
verified against the built dist.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 28, 2026 6:38pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface size/l labels Jun 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

No hand-written docs reference the 1 changed package(s). ✅

This branch was successfully deployed

1 active deployment
Preview — d4a0c43e Deployed Jun 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation size/l tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant