Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
openclaw-import
command
Command openclaw-import migrates OpenClaw session data into Thane's conversation archive.
|
Command openclaw-import migrates OpenClaw session data into Thane's conversation archive. |
|
thane
command
Thane is an autonomous Home Assistant agent.
|
Thane is an autonomous Home Assistant agent. |
|
internal
|
|
|
agent
Package agent implements the core agent loop.
|
Package agent implements the core agent loop. |
|
awareness
Package conditions generates the "Current Conditions" section of the system prompt.
|
Package conditions generates the "Current Conditions" section of the system prompt. |
|
buildinfo
Package buildinfo holds version and build metadata stamped at compile time via ldflags.
|
Package buildinfo holds version and build metadata stamped at compile time via ldflags. |
|
carddav
Package carddav implements a CardDAV server backed by the contacts store.
|
Package carddav implements a CardDAV server backed by the contacts store. |
|
channels/email
Package email provides native IMAP and SMTP email for the Thane agent.
|
Package email provides native IMAP and SMTP email for the Thane agent. |
|
channels/mqtt
Package mqtt publishes Home Assistant MQTT discovery messages, periodic sensor state updates, and subscribes to configured topics for ambient awareness.
|
Package mqtt publishes Home Assistant MQTT discovery messages, periodic sensor state updates, and subscribes to configured topics for ambient awareness. |
|
channels/signal
Package signal provides a native Go integration with signal-cli's JSON-RPC daemon mode for sending and receiving Signal messages.
|
Package signal provides a native Go integration with signal-cli's JSON-RPC daemon mode for sending and receiving Signal messages. |
|
checkpoint
Package checkpoint provides state snapshotting and restoration for Thane.
|
Package checkpoint provides state snapshotting and restoration for Thane. |
|
config
Package config handles loading, defaulting, and validating Thane's YAML configuration.
|
Package config handles loading, defaulting, and validating Thane's YAML configuration. |
|
connwatch
Package connwatch provides service-level health monitoring with exponential backoff for external dependencies (Home Assistant, Ollama, etc).
|
Package connwatch provides service-level health monitoring with exponential backoff for external dependencies (Home Assistant, Ollama, etc). |
|
contacts
Package person tracks presence state for configured household members and provides context injection into the agent's system prompt.
|
Package person tracks presence state for configured household members and provides context injection into the agent's system prompt. |
|
database
Package database provides shared SQLite helpers for schema migration and connection management.
|
Package database provides shared SQLite helpers for schema migration and connection management. |
|
delegate
Package delegate implements the thane_delegate meta-tool for split-model execution.
|
Package delegate implements the thane_delegate meta-tool for split-model execution. |
|
events
Package events provides a publish/subscribe event bus for operational observability.
|
Package events provides a publish/subscribe event bus for operational observability. |
|
forge
Package forge provides a pluggable code forge interface for issue, pull request, and code review management.
|
Package forge provides a pluggable code forge interface for issue, pull request, and code review management. |
|
homeassistant
Package homeassistant provides a client for the Home Assistant API.
|
Package homeassistant provides a client for the Home Assistant API. |
|
httpkit
Package httpkit provides shared HTTP client construction and utilities for all outbound HTTP calls in Thane.
|
Package httpkit provides shared HTTP client construction and utilities for all outbound HTTP calls in Thane. |
|
knowledge
Package facts provides context injection for the agent loop.
|
Package facts provides context injection for the agent loop. |
|
llm
Package llm provides LLM client implementations.
|
Package llm provides LLM client implementations. |
|
logging
Package logging provides self-managed log file rotation, context-propagated structured logging, and a queryable SQLite index for Thane.
|
Package logging provides self-managed log file rotation, context-propagated structured logging, and a queryable SQLite index for Thane. |
|
loop
Package loop implements persistent goroutine-based delegate loops β lightweight autonomous observers that run continuously alongside the main agent, reporting via output targets without blocking conversation flow.
|
Package loop implements persistent goroutine-based delegate loops β lightweight autonomous observers that run continuously alongside the main agent, reporting via output targets without blocking conversation flow. |
|
mcp
Package mcp implements MCP (Model Context Protocol) client support, allowing Thane to connect to external MCP servers and expose their tools to the agent loop and delegates.
|
Package mcp implements MCP (Model Context Protocol) client support, allowing Thane to connect to external MCP servers and expose their tools to the agent loop and delegates. |
|
media
Package media provides media transcript retrieval via yt-dlp.
|
Package media provides media transcript retrieval via yt-dlp. |
|
memory
Package episodic provides context injection of episodic memory into the agent's system prompt.
|
Package episodic provides context injection of episodic memory into the agent's system prompt. |
|
metacognitive
Package metacognitive implements a perpetual self-regulating attention loop that reads persistent state, reasons via LLM, and adapts its own sleep cycle.
|
Package metacognitive implements a perpetual self-regulating attention loop that reads persistent state, reasons via LLM, and adapts its own sleep cycle. |
|
notifications
Package notifications provides provider-agnostic notification delivery with routing, callback tracking, and timeout management.
|
Package notifications provides provider-agnostic notification delivery with routing, callback tracking, and timeout management. |
|
openclaw
Package openclaw replicates OpenClaw's agent behavior on Thane's plumbing.
|
Package openclaw replicates OpenClaw's agent behavior on Thane's plumbing. |
|
opstate
Package opstate provides a namespaced key-value store for persistent operational state.
|
Package opstate provides a namespaced key-value store for persistent operational state. |
|
paths
Package paths provides a shared prefix resolver for named directory paths.
|
Package paths provides a shared prefix resolver for named directory paths. |
|
prompts
Package prompts contains all LLM prompt templates used internally by Thane.
|
Package prompts contains all LLM prompt templates used internally by Thane. |
|
router
Package router handles intelligent model selection.
|
Package router handles intelligent model selection. |
|
scheduler
Package anticipation provides storage and matching for agent anticipations.
|
Package anticipation provides storage and matching for agent anticipations. |
|
search
Package fetch provides web page fetching and content extraction.
|
Package fetch provides web page fetching and content extraction. |
|
server/api
Package api implements the Ollama-compatible HTTP API endpoints.
|
Package api implements the Ollama-compatible HTTP API endpoints. |
|
server/web
Package web implements the Cognition Engine dashboard served at the root of the Thane HTTP server.
|
Package web implements the Cognition Engine dashboard served at the root of the Thane HTTP server. |
|
talents
Package talents loads and manages behavioral guidance documents.
|
Package talents loads and manages behavioral guidance documents. |
|
tools
Package tools provides the tool registry and execution framework.
|
Package tools provides the tool registry and execution framework. |
|
unifi
Package unifi provides a client for the UniFi Network controller API and a provider interface for room-level presence detection via wireless AP client associations.
|
Package unifi provides a client for the UniFi Network controller API and a provider interface for room-level presence detection via wireless AP client associations. |
|
usage
Package usage provides persistent token usage and cost tracking for LLM interactions.
|
Package usage provides persistent token usage and cost tracking for LLM interactions. |
Click to show internal directories.
Click to hide internal directories.