Expand description
Session management application logic.
Modules§
- approval_
replay - Authoritative permission refresh for approved-tool replay.
- chat
- Chat use case: prepare a chat turn for execution.
- child_
completion_ coordinator - Child-session completion coordinator.
- child_
session - Child session management use cases.
- errors
- Error types for session use cases.
- execute
- Execute use case: prepare a session for agent execution.
- execution_
prep - Single authoritative pre-execution session mutation point.
- metadata
- Authoritative writer for session metadata fields (
title,pinned, …). - no_
progress - Compatibility for a Root already paused by the former progress detector.
- provider_
model - repository
- Session access trait for decoupling use cases from server infrastructure.
- resolution
- Single source of truth for resolving the per-session execution “dance”: provider-name derivation + provider_type + global auxiliary models + gold config, mapped into the snapshot structs the agent loop consumes.
- respond
- Respond use case: submit a user response to a pending question.
- resume
- Resume execution use case.
- session_
create - Session creation use case.
- skill_
input - Pure ordinary-input preparation. This is not a pre-append authorizer. A future host must independently resolve current authority and supply the correlated borrowed data. Nothing here loads, pins, persists or invokes it.
- supervisor
- Host-facing Supervisor identity bootstrap over the canonical Storage port.
- system_
prompt - System prompt snapshot builder.
- truncation
- Message truncation use cases.
- types
Structs§
Functions§
- plan_
legacy_ skill_ history - Validate original typed and receipt evidence on every invocation, including retries whose deterministic ordinary message already exists. Identity is only deduplication; it never substitutes for the loaded anchor.