Skip to main content

Module runtime

Module runtime 

Source
Expand description

Stable wsx daemon domain and local protocol.

The types in this module are provider-neutral. Terminal emulators, agent vendors, and executable plugins implement these contracts without becoming the workspace model.

Structs§

AgentCapabilities
AgentInfo
AgentInstanceId
AgentSessionRef
ApiError
Capabilities
Cell
CellModifiers
Client
Conversation
ConversationAttachment
ConversationCapabilities
ConversationCommand
ConversationEvent
ConversationId
ConversationInteraction
Cursor
DaemonLifecycle
EventMonitor
KeyEvent
MouseEvent
Pane
PaneActivity
PaneId
PanePorts
PluginManifest
PluginSidecarDescriptor
PluginSidecarSpec
PluginSidecarView
PluginViewPayload
PluginViewRow
Project
ProjectId
ProjectSpec
ReviewDiff
ReviewFile
ReviewFileList
ReviewHunk
ReviewLimits
ReviewRequest
ReviewResponse
ReviewSpec
Session
SessionId
Snapshot
TerminalFrame
TerminalId
TerminalRowPatch
TerminalSelectionRange
TerminalStream
TuiClientPresence
Worktree
WorktreeId
WorktreeSpec

Enums§

AgentSessionRefKind
AgentState
Availability
CellWidth
ConversationEventKind
ConversationInputMode
ConversationInteractionKind
ConversationInteractionResponse
ConversationRole
DaemonPhase
Event
EventSignal
KeyCode
MouseAction
MouseButton
PaneLayout
PluginSurface
PluginTone
ReplacementBlocker
ReplacementDisposition
Request
Response
ReviewComparison
ReviewContentKind
ReviewErrorCode
ReviewFileStatus
ReviewLine
ReviewOperation
ReviewResult
SessionPlacement
SplitAxis
TerminalClientMessage
TerminalServerMessage
TerminalUpdate

Constants§

DAEMON_REVISION
MAX_REQUEST_BYTES
MAX_RESPONSE_BYTES
PROTOCOL_VERSION
REVIEW_API_VERSION
WSX_PANE_ID_ENV
WSX_PLUGIN_VIEW_ENV
WSX_RUNTIME_GENERATION_ENV
WSX_VERSION

Functions§

binary_identity
binary_identity_version
compare_binary_identities
compare_wsx_versions
default_socket_path
encode_line
ensure_available
ensure_background_available
new_client_id
recover_daemon