Skip to main content

Crate thndrs_lib

Crate thndrs_lib 

Source
Expand description

thndrs library entrypoint with terminal setup, draw loop, event polling, and cleanup.

The thndrs bin just calls run.

Re-exports§

pub use cli::app;
pub use cli::input;
pub use cli::renderer;
pub use crate::app::AgentEvent;
pub use crate::cli::WebSearchMode;

Modules§

acp
Client-side Agent Client Protocol integration
agent
Unified agent loop for both the fake provider and the Umans provider.
artifacts
Bounded, redacted local artifacts for recoverable tool evidence.
cli
Command-line interface for thndrs.
config
TOML configuration loading and effective config resolution.
context
Application-owned context discovery and instruction adapters.
fuzzy
harness
Minimal UI-agnostic harness API for starting an agent turn.
internals
Compact self-knowledge snapshot for model and startup inspection.
mcp
Model Context Protocol integration.
prelude
Shared headless thndrs harness surface.
prompt
Prompt assembly and context contract.
providers
Provider implementations.
search
Application-owned web search and article extraction.
server
ACP agent server entrypoint and protocol handlers.
session
Append-only JSONL session persistence.
skills
Agent Skills discovery and bounded loading.
tools
Structured read-only filesystem tools.
utils

Structs§

AgentRunConfig
Configuration for an agent run, shared by the fake and Umans providers.
HarnessHandle
Handle returned when a harness turn has started.
HarnessTurn
A single UI-independent harness turn description built from a pre-constructed agent runtime handle.
ProviderMessage
Provider-neutral conversation message used by the agent loop.

Enums§

ToolStatus
Status of an executed tool call.

Functions§

render_print_prompt
Render the --print-prompt debug view as a string.
run
Run the TUI to completion using the given CLI configuration.