Expand description
Daemon Client - CLI interface to the Smart Tree daemon
This module provides a client for communicating with the Smart Tree daemon. It handles:
- Health checks to see if daemon is running
- Auto-starting the daemon if not running
- Sending commands to the daemon via HTTP
- Managing daemon lifecycle (start/stop/status)
“The messenger between CLI and brain!” - Cheet
Structs§
- Context
Response - Response from daemon context endpoint
- Credits
Response - Response from daemon credits endpoint
- Daemon
Client - Daemon client configuration
- Daemon
Info - Response from daemon info endpoint
- Project
Info - Project info from daemon
- Tool
Call Request - Tool call request
- Transaction
Enums§
- Daemon
Status - Status of the daemon
Constants§
- DEFAULT_
DAEMON_ PORT - Default daemon port (Foken’s magic number!)
Functions§
- print_
context_ summary - Print context summary from daemon
- print_
credits - Print credits summary
- print_
daemon_ status - Print daemon status in a nice format
- print_
projects - Print projects list