Repository navigation
feat(patterns): chat room composes into a Workspace (outlier-B groundwork) - #1758
Merged
Merged
Conversation
…work) Adds the chat activity's projection onto the remaining pattern primitives (ACTIVITY-ROOM-PATTERNS.md), so the whole room is expressed as data a RenderTarget draws — not just the roster: - `roomsListing(vm)` — the nav Listing (tab bar == persona channel-attention); one active cell today (the focused room), carrying its purpose as the group. - `chatWorkspace(vm)` — the room as a `Workspace`: nav + left people-Listing + `Content` keyed by the room's `purpose` (the conversation body) + empty context. - `ChatContentBody` — the chat Content payload (messages + isEmpty). This is the data spine every activity projects the same way, so foundry (outlier B) slots in as a different purpose + content body + a context HF-model Listing, with ZERO shell change. 3 new tests: roster→people-Listing, room→nav-Listing, room→Workspace with purpose-keyed Content. chat-view typecheck + all tests + lint green. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…cast (review #1758) Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Jul 4, 2026
…ft) (#1762) * feat(sdk): #80 — automate view-payload vendoring (kill the silent drift) The SDK deliberately VENDORS continuum view payloads from the canonical ts-rs output (protocol/typescript/positron/) so a UI app depends only on @continuum/sdk-typescript and stays public-installable. But the re-vendoring was manual ("do not hand-edit; re-vendor on change") and drifted silently: ChatViewState.purpose was hand-synced (not byte-exact), ForgeViewState was never vendored at all. - scripts/vendor-views.mjs — ONE declared vendored set (chat + foundry closures), copied deterministically from protocol/. `--check` mode fails loud on drift. - Re-vendored ChatViewState (now byte-exact) + vendored ForgeViewState + ForgeModelView; barrels (views/index + SDK index) export them → the client can now import the foundry types (unblocks the foundry renderer). - Wired `vendor:views:check` into `check:clients` so future drift can't merge. Boy-scout while the gate was tightened: fixed 2 pre-existing non-null-assertion lint errors (patternProjections.spec.ts) and 1 pre-existing typecheck error (apps/tui fixture missing the now-required `purpose`) — both slipped past the CI ratchet since #1757/#1758 but the tightened check:clients surfaces them. Full check:clients green (73 client tests). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(sdk): update vendored-views barrel header for foundry + the automated script (review #1762) The header still said 'chat closure only' and 'do not hand-edit; re-vendor' — now it names the chat AND foundry closures and points at scripts/vendor-views.mjs + the check:clients drift guard. Same boy-scout discipline the header preaches. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 4.8 <[email protected]>
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.
Projects the chat activity onto the remaining pattern primitives:
roomsListing(nav = tab bar == channel-attention) +chatWorkspace(nav + left people-Listing+Contentkeyed by roompurpose+ empty context) +ChatContentBody. The data spine every activity projects the same way — foundry slots in as a different purpose + content body + a context HF-modelListing, zero shell change. 3 new tests; chat-view typecheck + all tests + lint green.🤖 Generated with Claude Code