Skip to main content

parse_cursor_value

Function parse_cursor_value 

Source
pub fn parse_cursor_value(value: Value, model: &str) -> Vec<AgentEvent>
Expand description

Map one parsed stream-json value to events (see module docs / docs/scoping/cursor-cli-backend.md’s event-to-AgentEvent table). Unrecognized type/subtype combinations route to AgentEvent::Other rather than being guessed at.