Crate ralph_proto

Crate ralph_proto 

Source
Expand description

§ralph-proto

Shared types, error definitions, and traits for the Ralph Orchestrator framework.

This crate provides the foundational abstractions used across all Ralph crates, including:

  • Event and EventBus types for pub/sub messaging
  • Hat definitions for agent personas
  • Topic matching for event routing
  • Common error types

Structs§

Event
An event in the pub/sub system.
EventBus
Central pub/sub hub for routing events between hats.
Hat
A hat (persona) that defines agent behavior.
HatId
Unique identifier for a hat.
TerminalColorMode
Color mode detection result.
TerminalResize
Terminal dimension change event.
TerminalWrite
Raw bytes written to stdout or stderr.
Topic
A topic for event routing.
TuiFrame
TUI frame capture for future ralph-tui integration.

Enums§

Error
Errors that can occur in the Ralph Orchestrator.
UxEvent
A UX event captured during session recording.

Traits§

FrameCapture
Abstract interface for capturing rendered output.

Type Aliases§

Result
Result type alias using our Error type.