feat(studio): workspace shell, runtime status, and the domain-hook spine - #971
Closed
jtenniswood wants to merge 1 commit into
Closed
feat(studio): workspace shell, runtime status, and the domain-hook spine#971jtenniswood wants to merge 1 commit into
jtenniswood wants to merge 1 commit into
Conversation
The frame every surface mounts in. app/workspace/layout.tsx wires the gradient chrome, the runtime-status provider, shortcuts, the storage-health banner, and the top navigation; components/shell carries the nav and the ⌘K global-search palette (static routes + live session/thread rows). features/agent/runtime-status.tsx is the single connection authority: one 5s dual poll (daemon + controller) gates every surface, carries the feature set, server capabilities and deployment identity off GET /v1/compatibility, shows the offline banner that names the fix, and refreshes composer capabilities on reconnect. Probe failure renders state — never fabricated content. The domain hooks land over the transport tier: use-agent-sessions/cron/ skills/memory/roster and storage health, plus composer-capabilities, lib/thread-map (28 tests; the palette needs it), lib/shortcuts and the static shortcuts page, and lib/feature-flags. knip sheds the foundation-era ignores whose first consumers arrive here; palette links to surfaces landing later in the series 404 into the branded not-found page until then. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Stack 6/21 — Studio: workspace shell, runtime status, domain hooks
The frame every surface mounts in, and the single connection authority that makes Studio daemon-only in practice.
app/workspace/layout.tsx+components/shell/— the workspace chrome: top navigation, the ⌘K global-search palette (static routes + live session/thread rows), storage-health banner slot.features/agent/runtime-status.tsx— the shared runtime status: one 5s dual poll (daemon + controller) gates every surface, feature set + server capabilities + deployment identity offGET /v1/compatibility(pre-exists on main), the offline banner that names the fix, API-skew banner, composer-capability refresh on reconnect. Probe failure renders state — never fabricated content.use-agent-sessions,use-agent-cron(+test),use-agent-skills,use-agent-memory,use-agent-roster,use-storage-health;composer-capabilities.lib/thread-map.ts(+28 tests) — the palette's thread rows need it;lib/shortcuts/(+test) + the static/workspace/shortcutspage;lib/feature-flags.ts;use-nav-reopen-sidebar.knip.tssheds its temporarylucide-reactignore — the first non-kit icon consumers land here.Known mid-stack state, deliberate: palette/nav links to surfaces that land later in the series 404 into PR 1's branded not-found page.
next.confighas no typedRoutes, so this is a runtime-only dead link, not a build hazard; each surface PR turns its link live.Demo at this stack point: the shell renders against a live daemon; kill the daemon and the offline banner appears; ⌘K opens with static + session rows.
Part of the stacked landing of #618.
🤖 Generated with Claude Code