Skip to main content

handle_reactive_history_search

Function handle_reactive_history_search 

Source
pub(super) async fn handle_reactive_history_search(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Query<HistorySearchQuery>,
) -> Response
Expand description

GET /agentmux/reactive/history/search: search an agent’s own past conversations (SPEC_AGENT_HISTORY_SEARCH_2026_09_17.md). Unlike /reactive/transcript (the live session’s tail), it reads sessions persisted on disk, including ended ones: after a compaction or session reset an agent answers questions about its own past confidently and wrongly, with nothing marking the boundary.