Skip to main content

Crate scarab_protocol

Crate scarab_protocol 

Source

Re-exports§

pub use terminal_state::TerminalStateReader;
pub use zones::CommandBlock;
pub use zones::SemanticZone;
pub use zones::ZoneTracker;
pub use zones::ZoneType;

Modules§

terminal_state
Safe abstraction layer for SharedState access
zones
Semantic zones for deep shell integration

Structs§

ArchivedEventMessage
An archived EventMessage
ArchivedModalItem
An archived ModalItem
ArchivedOverlayStyle
An archived OverlayStyle
ArchivedPaneInfo
An archived PaneInfo
ArchivedPluginInspectorInfo
An archived PluginInspectorInfo
ArchivedPromptMarkerInfo
An archived PromptMarkerInfo
ArchivedSessionInfo
An archived SessionInfo
ArchivedTabInfo
An archived TabInfo
Cell
EventMessage
Event message for IPC forwarding
EventMessageResolver
The resolver for an archived EventMessage
ImagePlacement
Represents an image placement in the terminal grid
ModalItem
ModalItemResolver
The resolver for an archived ModalItem
OverlayStyle
OverlayStyleResolver
The resolver for an archived OverlayStyle
PaneInfo
PaneInfoResolver
The resolver for an archived PaneInfo
PluginInspectorInfo
PluginInspectorInfoResolver
The resolver for an archived PluginInspectorInfo
PromptMarkerInfo
Shell prompt marker for IPC (OSC 133 shell integration)
PromptMarkerInfoResolver
The resolver for an archived PromptMarkerInfo
SessionInfo
SessionInfoResolver
The resolver for an archived SessionInfo
SharedImageBuffer
Shared memory buffer for image data
SharedImagePlacement
Image placement metadata for shared memory
SharedState
TabInfo
TabInfoResolver
The resolver for an archived TabInfo
TerminalMetrics
Terminal display metrics shared between rendering and input systems

Enums§

ArchivedControlMessage
An archived ControlMessage
ArchivedDaemonMessage
An archived DaemonMessage
ArchivedLogLevel
An archived LogLevel
ArchivedMenuActionType
An archived MenuActionType
ArchivedNavFocusableAction
An archived NavFocusableAction
ArchivedNotifyLevel
An archived NotifyLevel
ArchivedPluginVerificationStatus
An archived PluginVerificationStatus
ArchivedPromptJumpDirection
An archived PromptJumpDirection
ArchivedSessionResponse
An archived SessionResponse
ArchivedSplitDirection
An archived SplitDirection
ArchivedStatusBarSide
An archived StatusBarSide
ArchivedStatusRenderItem
An archived StatusRenderItem
ControlMessage
ControlMessageResolver
The resolver for an archived ControlMessage
DaemonMessage
DaemonMessageResolver
The resolver for an archived DaemonMessage
ImageFormat
Image format specification for image protocol support
LogLevel
LogLevelResolver
The resolver for an archived LogLevel
MenuActionType
MenuActionTypeResolver
The resolver for an archived MenuActionType
NavFocusableAction
NavFocusableActionResolver
The resolver for an archived NavFocusableAction
NotifyLevel
NotifyLevelResolver
The resolver for an archived NotifyLevel
PluginVerificationStatus
Verification status for plugins (zero-copy compatible)
PluginVerificationStatusResolver
The resolver for an archived PluginVerificationStatus
PromptJumpDirection
Direction for prompt jump navigation
PromptJumpDirectionResolver
The resolver for an archived PromptJumpDirection
SessionResponse
SessionResponseResolver
The resolver for an archived SessionResponse
SplitDirection
SplitDirectionResolver
The resolver for an archived SplitDirection
StatusBarSide
StatusBarSideResolver
The resolver for an archived StatusBarSide
StatusRenderItem
StatusRenderItemResolver
The resolver for an archived StatusRenderItem

Constants§

BUFFER_SIZE
GRID_HEIGHT
GRID_WIDTH
IMAGE_BUFFER_SIZE
Maximum total image buffer size (16MB)
IMAGE_SHMEM_PATH
Default shared memory path for image buffer (separate from terminal state). Can be overridden via SCARAB_IMAGE_SHMEM_PATH environment variable.
IMAGE_SHMEM_PATH_ENV
Environment variable to override the image shared memory path.
MAX_CLIENTS
MAX_IMAGES
Maximum number of concurrent image placements
MAX_MESSAGE_SIZE
MAX_RECONNECT_ATTEMPTS
RECONNECT_DELAY_MS
SHMEM_PATH
Default shared memory path for terminal state. Can be overridden via SCARAB_SHMEM_PATH environment variable.
SHMEM_PATH_ENV
Environment variable to override the shared memory path. Useful for sandboxed environments where /dev/shm is not writable.
SOCKET_PATH