Skip to main content

Module session_app

Module session_app 

Source
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§

LegacySkillHistoryPlan

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.