Skip to main content

Crate supercode_frontend_model

Crate supercode_frontend_model 

Source
Expand description

Presentation-framework-neutral state for clients of supercode.sdk.v1.

This crate is a client implementation, not a runtime protocol. It reduces the canonical frontend descriptor, history, requests, and sequenced events into transcript/composer state and semantic intents. It deliberately has no terminal, renderer, donor-client, provider, persistence, scheduler, import, export, or reduction implementation dependency.

Structs§

ComposerCapabilities
Composer controls copied from the SDK runtime descriptor.
ComposerKey
One framework-neutral key atom.
ComposerModel
Pure composer state. It owns no runtime and performs no I/O.
ComposerOverlay
One SDK-owned request displayed by the composer.
PasteBurst
RetroGrab
TranscriptCell
One renderer-ready transcript cell.
TranscriptModel
Transcript state for a single frontend attachment.

Enums§

CellState
Lifecycle state of one transcript cell.
CharDecision
ComposerAction
Runtime action produced by one editor operation.
ComposerInputEvent
Input atoms used by terminal, browser, and donor-derived clients.
ComposerKeyCode
Renderer-independent key vocabulary accepted by the semantic composer.
ComposerOverlayKind
Generic overlay category. Child approvals remain typed approvals on the wire; the child distinction is presentation metadata from the payload.
ComposerTurnState
Immediate local turn state. A submit changes this before any runtime await.
FlushResult
TranscriptKind
Stable semantic category used by the terminal renderer.

Functions§

semantic_value_summary
Produce a bounded, control-free semantic description while retaining the exact opaque value in the client model for inspection and round trips.