You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Group a session's model calls into user prompts, in the recording and the timeline #1922
The timeline's unit is one model call (Turn, core/session/timeline/timeline.go:78). A user prompt usually causes many
calls: tool loops, subagents, retries. Some calls are not the user's at all:
the agent's own title, suggestion and away-summary calls show up as main.
Replay and analysis need "what did the person ask, and what did it cost",
plus the user's think time between prompts. Nothing in the archive or the
timeline groups calls that way today.
Proposal
Derive prompts from the request bodies. A new prompt starts at a request
whose newest user message is new human text, not a tool result or an
injected message. Filter out the messages the agent injects that look like
user input (system reminders, command scaffolding, away summaries,
suggestion and compaction text). Handle compaction and --resume.
Activity