feat(console): web skin skeleton — roster + 6-state polling (ADR-3 slice-1) - #6
Closed
brettchien wants to merge 1 commit into
Closed
feat(console): web skin skeleton — roster + 6-state polling (ADR-3 slice-1)#6brettchien wants to merge 1 commit into
brettchien wants to merge 1 commit into
Conversation
…ice-1) A framework-light TypeScript web console: renders the deployment roster with each instance's canonical 6-state and ready/desired/current, refreshed by polling a Source. MockSource (fixtures) drives the standalone/browser build; TauriSource (desktop, slice-2) bridges to studio-cp via the Tauri global. Verified locally: tsc --noEmit clean, 8 vitest tests (rosterHtml), vite build produces a standalone dist/index.html. No core needed to run with mocks.
Contributor
Author
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.
First slice of the ADR-3 desktop console: the web skin.
Renders the deployment roster — each row's canonical 6-state badges +
ready/desired/current— refreshed by polling aSource. Framework-light TypeScript (no UI framework) to keep it verifiable.Why frontend-only this slice: the authoring runtime can't build the Tauri Rust backend (aws-sdk-ec2 > RAM) and is headless (no GUI to run a desktop app). So slice-1 is the part that is buildable + showable here; the Tauri shell + Rust
deploy_listbridge to studio-cp is slice-2 (gated on PR #2 merge + a Tauri CI job).Runs with no core: outside Tauri it uses
MockSourcefixtures —npm run dev, ornpm run buildthen opendist/index.html(file://).Verified locally:
tsc --noEmit(strict) cleannpm test— 8 vitest tests on the purerosterHtmlnpm run build— vite produces a standalonedist/Contract:
src/types.tsmirrors studio-cp'sDeployment/InstancePhase/AgentState; the UI depends only on that shape, so swappingMockSource→TauriSource(→ SwiftUI later) doesn't touch rendering.Draft — skeleton for review; visual is best seen by opening the build (I'm headless, can't screenshot).