Conversation
Map macro.agent_session_lifecycle onto the shared activity feed: opened is created, user prompts are messaged, renamed is edited, and deleted purges the session. Runtime consequences are ignored. DSS consumes the topic as wiring only. Co-authored-by: Wolf Mermelstein <wolf@404wolf.com>
Decode AGENT_SESSION events, resolve names and links from session previews, query entity timelines via Soup's opt-in agent session filter, and add an Activity section to the agent side panel. Co-authored-by: Wolf Mermelstein <wolf@404wolf.com>
Co-authored-by: Wolf Mermelstein <wolf@404wolf.com>
Prompts reuse Messaged, so the rail reads "sent a message" rather than "prompted". Co-authored-by: Wolf Mermelstein <wolf@404wolf.com>
|
Cursor Agent can help with this pull request. Just |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (23)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe change adds agent-session lifecycle activity ingestion in Rust. It maps session events to created, edited, messaged, purged, or ignored activity results. The web activity system now decodes agent sessions, queries their activity, resolves display names through previews, and renders them in the agent side panel. Tests cover ingestion, query construction, decoding, entity opening, and activity rendering. Documentation describes the updated side panel. Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to The agent-session activity ingestion, query support, and side-panel rendering changes have no identified merge-blocking risk. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: Wolf Mermelstein <wolf@404wolf.com>
Main added Mentioned and SessionIdentity.audience after this branch opened. CI merges with main, so the exhaustive ingest match failed to compile and the activity fixture was missing audience. Mentions notify named users; TurnStarted already records the prompt as Messaged. Also drop the duplicate agent_session Cargo.toml entry that the merge left in document_storage_service (main already depends on it). Co-authored-by: Wolf Mermelstein <wolf@404wolf.com>
Agent sessions now flow through the shared activity log the same way chats, documents, and channels already do.
Mapping
macro.agent_session_lifecycleevents are classified in the agent-session domain (ActivitySource). DSS only consumes the topic:Opened→Created(owner)TurnStartedwith an actor →Messagedon the sessionTurnStartedwith no actor → ignored (runtime / delegated)Renamed→EditedDeleted→Purge(the session row is gone)TurnEnded,Settled,WaitingForInput,InputReceived,Mentioned,Stopped→ ignoredNo new durable
Actionvariant. Prompts reuseMessaged. Mentions notify named users; the prompt is already recorded asMessaged.UI
AGENT_SESSIONand toolagent_sessiondecode as a first-class activity entityagentSessionFilter; sessions stay off by default in Soup)id="activity"Tests
cargo test -p agent_session --lib domain::activity --no-default-features— 7 passedjust checkpassed