Repository navigation
feat(foundry-view): client foundry projection onto the pattern primitives (outlier B, client half) - #1763
Merged
Conversation
…ives (outlier B, client half) @continuum/foundry-view — the client half of foundry, mirroring @continuum/chat-view for kind="foundry". Now unblocked by #80 (Forge types vendored into the SDK): - ForgeState + forgeStateFromEnvelope / FOUNDRY_KIND — lift a foundry StateEnvelope into a positron ViewState (fail-loud on kind mismatch). - modelsListing(state) — the model catalogue as the `Listing` primitive (subtitle = params+source when known, just source when params unknown; never a fabricated 0B). - foundryContextPanel — the model Listing as the right-hand context. - foundryContent — the foundry `Content`, keyed by the room's `purpose` so a target's Content registry dispatches on it. ForgeContentBody grows the centre config/recipe widgets additively. Proves foundry renders on the SAME primitives/shell as chat — only Content + Context differ. Framework-free (no DOM/ANSI), so web/tui/RAG each add only a renderer. 3 tests. Wired into workspaces + typecheck:clients + test:clients; full clients gate green. Remaining to go LIVE: structured room-purpose (#6) + the ModelCatalog watch→publish wiring, then the web/tui foundry RenderTargets. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…view #1763) Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
@continuum/foundry-view— the client half of foundry, mirroring@continuum/chat-viewfor kind="foundry" (unblocked by #80's Forge vendoring).ForgeState+forgeStateFromEnvelope/FOUNDRY_KIND(fail-loud on kind mismatch).modelsListing— the model catalogue as theListingprimitive (honest params subtitle).foundryContextPanel— the model Listing as the right-hand context.foundryContent— foundryContentkeyed bypurposeso a target's registry dispatches on it.Proves foundry renders on the SAME primitives/shell as chat — only Content + Context differ. Framework-free; 3 tests; wired into the clients gate (green).
Next to go live: #6 (structured purpose) + ModelCatalog watch→publish, then web/tui RenderTargets.
🤖 Generated with Claude Code