feat(cli): wire SDUI manifest generation+consumption (ADR-0080)#2454
Merged
Conversation
…ld resolves from @objectstack/console (ADR-0080) build-console.sh: guarded best-effort step that boots the just-built console's registry and dumps the public-tier manifest into @objectstack/console/dist/ sdui.manifest.json (skips on a sha without the dump tooling; never fails the build). validate.ts: resolve the manifest from @objectstack/console too (cli already deps it) → full component/prop validation when present, parse-level otherwise. Activation = bump .objectui-sha to >=96b1293 (a release step). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📓 Docs Drift CheckThis PR changes 1 package(s): 15 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:
|
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.
ADR-0080 — wires the manifest end-to-end (the generation mechanism merged as objectstack-ai/objectui #2068).
build-console.sh: a guarded, best-effort step that boots the just-built console's registry and dumps the public-tier manifest (getPublicConfigs()→manifestFromConfigs) into@objectstack/console/dist/sdui.manifest.json. Skips cleanly on an objectui sha without the dump tooling; never fails the console build (the gate just falls back to parse-level).validate.ts: theos build/os validateJSX gate now resolves the manifest from@objectstack/consoletoo (cli already deps it), in addition to the project root → full component/prop validation when present.Verified end-to-end already (manually, the real path the script automates): live registry → 35-block manifest with full contracts →
compile()catches missing-required / bad-enum / unknown-component.Activation (deliberate release step, not in this PR): bump
.objectui-shato>=96b1293(the objectui commit that ships the dump tooling).build-console.shruns at publish time, not on PR CI, and a pin bump ships a new console across unrelated objectui changes — so it's surfaced here rather than buried in a feature PR. Until then everything is non-breaking (gate = parse-level; build step = skip).🤖 Generated with Claude Code