Repository navigation
fix: prepare brain 0.1.1 for dashboard integration - #1
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
What
Prepare
@encapsa-dev/brain0.1.1 for its first dashboard integration, with corrected npm packaging, a one-action sidebar preview, a fill-parent explorer, React 18/19 compatibility proof, and complete release documentation.No npm publication, merge, production deployment, Forge modification, or
Toastability/appchange is included.Why
The published 0.1.0 artifact was the root Next.js demo workspace, including a self-dependency, rather than the nested library. The initial library also declared React 19 only, while the intended first host uses React 18.
The requested UI needs two distinct surfaces: a small read-only overview with just Expand, and a full explorer in a host-owned Brain tab. The existing compact explorer still exposed controls and managed its own expansion.
How
packages/brainthe sole public package, version 0.1.1.BrainPreviewwith a host-ownedonExpandcallback, no graph interaction, and inexpensive SVG defaults.variant="embedded"and composition UI visibility controls./embedexample matching the sidebar → host Brain tab → center content pattern.The two commits separate library/runtime changes from release/demo/documentation work. Generated distribution files remain tracked and have been rebuilt.
Testing
git diff --checkSee
docs/verification.mdfor the audit findings, executed checks, limitations, and integration boundary.docs/consumer-proof.jsoncontains the portable package-matrix evidence.Release instructions for Jordan
After review/merge and the documented checks:
Do not publish from the root workspace. npm remains on 0.1.0 until you publish this corrected release. Update the CHANGELOG's
Unreleasedheading to the actual publication date as part of your release process.GitHub About description/topics are prepared in DEVELOPMENT for review; repository settings were not changed outside this PR. Package description, keywords, repository/homepage/bugs fields, author, license, and demo metadata are included in the diff.
Scope and limitations
The first
Toastability/appimplementation should be a follow-up PR after 0.1.1 is published.