Skip to content

feat(foundry-view): client foundry projection onto the pattern primitives (outlier B, client half) - #1763

Merged
joelteply merged 2 commits into
canaryfrom
feat/foundry-view-package
Jul 4, 2026
Merged

joelteply merged 2 commits into
canaryfrom
feat/foundry-view-package

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

@continuum/foundry-view — the client half of foundry, mirroring @continuum/chat-view for kind="foundry" (unblocked by #80's Forge vendoring).

  • ForgeState + forgeStateFromEnvelope/FOUNDRY_KIND (fail-loud on kind mismatch).
  • modelsListing — the model catalogue as the Listing primitive (honest params subtitle).
  • foundryContextPanel — the model Listing as the right-hand context.
  • foundryContent — foundry Content keyed by purpose so 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

…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
@joelteply
joelteply merged commit 79028e2 into canary Jul 4, 2026
2 checks passed
@joelteply
joelteply deleted the feat/foundry-view-package branch July 4, 2026 04:27
@joelteply
joelteply restored the feat/foundry-view-package branch August 21, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant