Expand description
Service layer sitting between algocline-engine and algocline-mcp.
Hosts AppConfig, AppService, and the process pool (pool)
providing UDS-based worker isolation for MCP tool calls. Also owns
the hub-projection preset resolution (load_hub_projection_config
and related config types) that translates preset selectors into
runtime-ready projection contexts.
Modules§
- pool
- Process-pool IPC layer for
host_mode=trueexecution.
Structs§
- AppConfig
- Application-wide configuration resolved from environment variables.
- AppService
- HubContext7
Config [hub.context7]TOML section — context7 projection overrides.- HubDevin
Config [hub.devin]TOML section — Devin wiki projection overrides.- HubProjection
Config - Combined resolved configuration passed to
inject_config_subtablefor both the context7 and Devin projections. - Query
Response - A single query response in a batch feed.
- Resolved
Context7 - Resolved, merged configuration for a single context7 projection.
- Resolved
Devin - Resolved, merged configuration for a single Devin wiki projection.
- Search
Path - A package search path with its origin, ordered by priority (first = highest).
- Token
Usage - Token usage reported by the host LLM alongside its response.
Enums§
- LogDir
Source - How the log directory was resolved.
Constants§
- PRESET_
CATALOG_ VERSION - Revision marker for the builtin preset dictionary bundled with this
binary. Bump when builtin recipes change (even if
CARGO_PKG_VERSIONdoes not).
Traits§
- Engine
Api - Transport-independent API for the algocline engine.
Functions§
- load_
hub_ projection_ config - Load
alc.tomlfromproject_root(if available) and resolve the[hub.context7]/[hub.devin]sections into aHubProjectionConfigusing a three-stage precedence chain: