Skip to main content

Crate trustee_core

Crate trustee_core 

Source
Expand description

Trustee Core — shared types, session state, and workflow logic.

This crate is the shared foundation used by both trustee-tui (terminal UI) and the upcoming trustee-api (HTTP/WebSocket server). It contains:

  • Types: enums and structs that model the agent’s state machine
  • Session: the core Session struct (agent state without UI concerns)
  • Workflow: command execution, handoff, and message handling
  • Config: auto-handoff and color parsing from TOML

Modules§

config
Configuration parsing for trustee-core.
session
Session state — core agent session without any UI concerns.
sessions
Session discovery for the API/Web layer.
types
Type definitions shared across trustee frontends (TUI, API, Web).