Expand description
CLI module - handles command-line interface and application startup
Modules§
- client_
startup - Client startup logic for TUI mode
- crash_
restore - Restore the terminal if the process dies on a native fatal signal.
- easy_
startup - Easy protocol startup logic
- input_
state - Simple multi-line input state management
- management
- Management surface for creating and updating servers and clients.
- model_
select - Startup model resolution shared by the interactive UIs (rolling TUI and full-screen dashboard): decide which model to use from args/settings, validate or auto-select it, and produce the human-readable lines the UI should show about the outcome.
- server_
startup - Server startup logic for TUI mode
- theme
Structs§
- Args
- NetGet - LLM-Controlled Network Application
Constants§
- MCP_
TOKEN_ ENV - Environment variable read when
--mcp-tokenis not passed. Lives here rather than inmcp_stdio::http_guardbecause that module is compiled only withmcp-stdio/mcp-http, andArgsis parsed at every feature set.
Functions§
- create_
llm_ client - Create the LLM client from CLI args, branching on –openai-url vs –ollama-url
- execute_
due_ tasks_ owned_ public - Execute due tasks owned by a service. Closing that service cancels only the executions it launched, retaining task definitions for other AppState owners.
- execute_
due_ tasks_ public - Execute all tasks that are due (public wrapper for non-interactive mode)
- run
- Main CLI entry point