Wire compound composer playground at /playground/compound-composer - #7
Draft
arielconti10 wants to merge 1 commit into
Draft
Wire compound composer playground at /playground/compound-composer#7arielconti10 wants to merge 1 commit into
arielconti10 wants to merge 1 commit into
Conversation
Co-authored-by: Ariel Conti <arielconti10@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Stacked on #6. Creates the lab surface for eve-chat's compound composer (Item 4 of the composer plan):
src/components/playground/compound-composer/): faithful copy ofreferences/eve-chat/compound-composer/composer.tsxwith three documented divergences — (1) the five hardcoded lucide icons become an injectableiconsprop (icons.tsxsupplies Hugeicons defaults per this repo'scomponents.jsoniconLibrary; a lucide consumer passes its own set), (2) the preparing spinner gets amotion-reduce:animate-nonepath, (3) imports point at local shadcn paths. The snapshot inreferences/eve-chat/stays untouched.app/playground/compound-composer/): URL-only — no nav entry, no sitemap entry (sitemap derives fromcontent/navigation),robotsdisallows/playground/, page metadata setsnoindex. Minimal playground layout with a "lab surface, not the registry" header.src/views/playground/compound-composer-content.tsx): rebuilt from the eve-chat snapshot rig with the external ui.sh picker replaced by plain local panels — (1) slot composition matrix (bare vs full stack), (2) submit lifecycle simulation (idle → preparing → busy → idle, Stop aborts), (3) attachments (picker/drag/paste, max cap, attachments-only sends), (4) typed controls payload inspector with a dispatch log.src/components/ui/attachment.tsx: added via shadcn CLI (agreed dependency decision). Site-side only — not inregistry.json, not synced toregistry/base-nova/ui/, not on the public install surface.tests/ui/compound-composer.test.tsx): runtime smoke tests (uncontrolled self-clear + typed controls in the submit payload, disarmed empty submit, busy-phase Stop) plus the snapshot's compile-time generic contract checks.Constraints honored
references/eve-chat/never edited; divergences documented in the port header for future re-syncs.registry.json,public/r/untouched.Verification
pnpm run verifypasses; vitest suite 85/85; production server smoke test on/playground/compound-composerreturns 200 with the rig rendered.Next
PR 3 (stacked on this) composes the B+C dispatch-moment ideas — defensibility strip, posture badge, plan→execute gate — as integrator-side slot fills on this rig.