session/

directory
v0.6.1-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2026 License: Apache-2.0

Directories

Path Synopsis
Controller adapts the compaction service to the step-loop task seam.
Controller adapts the compaction service to the step-loop task seam.
Package evidenceharvest extracts the lines worth preserving from tool output before a compaction: command outcomes, exact error signatures and paths referenced across messages.
Package evidenceharvest extracts the lines worth preserving from tool output before a compaction: command outcomes, exact error signatures and paths referenced across messages.
Package fullverification discovers the project-wide build and test entrypoints that form the session-end machine verification floor.
Package fullverification discovers the project-wide build and test entrypoints that form the session-end machine verification floor.
Package instruction discovers the project's instruction files (AGENTS.md and the files named in config, local or remote) and tracks which ones a session has already loaded, so each is injected into the prompt once.
Package instruction discovers the project's instruction files (AGENTS.md and the files named in config, local or remote) and tracks which ones a session has already loaded, so each is injected into the prompt once.
Package llmcall resolves adaptive-router choices and assembles one OpenRouter call.
Package llmcall resolves adaptive-router choices and assembles one OpenRouter call.
Package loopguard is a pure repetition and budget guard for agent action loops: it stops a run that repeats the same action, cycles through a short sequence of actions, or exceeds a cost or action budget, and warns once before a budget runs out.
Package loopguard is a pure repetition and budget guard for agent action loops: it stops a run that repeats the same action, cycles through a short sequence of actions, or exceeds a cost or action budget, and warns once before a budget runs out.
Package outputoffload keeps large tool outputs out of the context window: the full text is written to a file under .senior-dev/tool-output and the model sees a bounded extract (head, tail and diagnostic-looking lines) plus the path.
Package outputoffload keeps large tool outputs out of the context window: the full text is written to a file under .senior-dev/tool-output and the model sees a bounded extract (head, tail and diagnostic-looking lines) plus the path.
Package overflow is the session-layer view of the compaction budget.
Package overflow is the session-layer view of the compaction budget.
The SQLite cold-start retry policy.
The SQLite cold-start retry policy.
Package runbudget resolves the optional run-level cost and wall-clock budget from flags and environment and tracks spend against it.
Package runbudget resolves the optional run-level cost and wall-clock budget from flags and environment and tracks spend against it.
Package sessioncore owns the durable session lifecycle: sessions, messages and parts are written to the flat JSON storage and every change is published on the bus.
Package sessioncore owns the durable session lifecycle: sessions, messages and parts are written to the flat JSON storage and every change is published on the bus.
Package system builds the environment block of a turn's system prompt: the model in use, the working directory and the date.
Package system builds the environment block of a turn's system prompt: the model in use, the working directory and the date.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL