Skip to main contentCrate codewhale_core
Source - engine
- Core engine (issue #5261).
- fragments
- Bounded context-fragment system with hard caps (issue #5264).
- ids
ThreadId / SessionId for the crates/core boundary (issue #5261).- journal
- Session tree journal placeholder (issue #5262).
- request
- Provider-neutral outbound model-request boundary.
- session
Thread / Session split (issue #5261).- tool_parser
- Legacy parser for text-based tool calls from DeepSeek models.
- JobHistoryEntry
- A single entry in a job’s history log.
- JobManager
- Manages background jobs with retry logic and persistence.
- JobRecord
- A complete job record with all metadata and history.
- JobRetryMetadata
- Retry state for a job that failed and may be retried.
- NewThread
- Result of spawning or resuming a thread.
- Runtime
- Top-level runtime combining config, model registry, threads, tools, MCP, and hooks.
- ThreadManager
- Manages thread lifecycle: spawn, resume, fork, archive, and persistence.
- InitialHistory
- How a new thread’s conversation history is initialized.
- JobStatus
- Status of a background job.
- job_record_to_agent_run
- Map a durable
JobRecord to the dependency-neutral run read model.