Expand description
Handoff context generation — extract structured summaries from sessions.
This module provides programmatic extraction of session summaries for handoff between agent sessions. It supports both single-session and multi-session merge.
Structs§
- Conversation
- A user→agent conversation pair.
- File
Change - A file change observed during a session.
- Handoff
Summary - Summary extracted from a single session.
- Merged
Handoff - Merged handoff from multiple sessions.
- Shell
Cmd - A shell command executed during a session.
Functions§
- format_
duration - Format seconds into a human-readable duration string.
- generate_
handoff_ hail - Generate a summary HAIL session from an original session.
- generate_
handoff_ markdown - Generate a Markdown handoff document from a single session summary.
- generate_
merged_ handoff_ markdown - Generate a Markdown handoff document from a merged multi-session handoff.
- merge_
summaries - Merge multiple session summaries into a single handoff context.