pub struct Services {
pub memory: Option<Arc<dyn MemoryBackend>>,
pub on_mcp: Option<McpListener>,
pub mcp_notices: Option<NoticeSink>,
pub session: SessionFlags,
pub resources: Arc<SessionResources>,
pub values: Option<SessionValues>,
pub on_schedules: Option<Listener>,
pub agent_lanes: Option<AgentLanes>,
}Expand description
Collaborators a caller may supply in place of the defaults (tests, embedders).
Fields§
§memory: Option<Arc<dyn MemoryBackend>>The memory backend behind memory.*; none: the memorantado server this process chose
(memorantado::Endpoint::choose), else the Hindsight server and bank it resolves (hindsight::Endpoint),
or memory off (“Hindsight is not configured”) when that resolves to off.
on_mcp: Option<McpListener>Told the session’s MCP gateway once its stack opens (the session worker serves /mcp with it).
mcp_notices: Option<NoticeSink>Where the gateway’s notices go when the session starts (configuration errors, an eager server that needs
sign-in): the attached client’s UI (ctx.ui.notify). None: nowhere, as without a UI in TypeScript.
session: SessionFlags--system-prompt, --no-skills, --no-context-files (crate::session_flags).
resources: Arc<SessionResources>The local skills and prompts (crate::session_resources), resolved by Runtime::new.
values: Option<SessionValues>The session whose values the module stores are (ultron.module/<name>, ultron.local/<key>, the memory
journal), set by the session actor: resuming restores them and a tree fork copies them (A07). None: files
under rlm-modules/<session id>/ (no session).
on_schedules: Option<Listener>Told the session’s active schedules (schedule.*, kernel_apis::prompt_schedule) after every change: the
session worker reports them to its server, which fires them.
agent_lanes: Option<AgentLanes>Runs typed agents’ rlm lanes for a stack without a SubagentHost (its typed agents’ records stay in
memory); none: such a stack has no rlm strategy. A host’s own AgentStores::lanes wins.