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
"event_class":ifis_tool{"tool_result"} else if is_duplicate {"event_msg"} else {"message"},
990
-
"payload_type":ifis_tool{"tool_result"} else if is_duplicate {"agent_message"} else if is_canonical_response {"message"} else {"text"},
1030
+
"event_class":ifis_tool_call {"tool_call"} else if is_tool_response{"tool_result"} else if is_duplicate {"event_msg"} else {"message"},
1031
+
"payload_type":ifis_tool_call {"tool_use"} else if is_tool_response{"tool_result"} else if is_duplicate {"agent_message"} else if is_canonical_response {"message"} else {"text"},
991
1032
"actor_role": actor_role,
992
-
"name":ifis_tool{"bash"} else {""},
993
-
"phase":ifis_tool || is_duplicate {"completed"} else if is_canonical_response {"final_answer"} else {""},
Copy file name to clipboardExpand all lines: crates/moraine-mcp-core/src/lib.rs
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -427,7 +427,7 @@ impl AppState {
427
427
"tools":[
428
428
{
429
429
"name": contract::SEARCH_SESSIONS_TOOL,
430
-
"description":"Search Moraine session history and return compact event-ranked handles. Use open with the returned event_id, turn_id, or session_id to expand results.",
430
+
"description":"Search Moraine session history and return compact event-ranked handles. By default, searches user_input and assistant_response events. Select tool_call or tool_response with event_types for raw tool evidence, then use open on a returned turn_id or session_id for full context.",
431
431
"inputSchema":{
432
432
"type":"object",
433
433
"additionalProperties":false,
@@ -455,7 +455,8 @@ impl AppState {
455
455
"runtime"
456
456
]
457
457
},
458
-
"description":"Optional normalized event type filter. Defaults to user_input, assistant_response, and tool_response."
458
+
"default":["user_input","assistant_response"],
459
+
"description":"Optional normalized event type filter. Defaults to user_input and assistant_response. Select tool_call or tool_response explicitly for raw tool evidence."
json!("Search Moraine session history and return compact event-ranked handles. By default, searches user_input and assistant_response events. Select tool_call or tool_response with event_types for raw tool evidence, then use open on a returned turn_id or session_id for full context.")
json!("Keyword (BM25) search query. Matching is bag-of-words: quotes and punctuation are ignored, and a quoted phrase is matched as independent terms subject to the configured minimum-match threshold, not as an exact phrase.")
json!("Optional normalized event type filter. Defaults to user_input, assistant_response, and tool_response.")
2301
+
json!("Optional normalized event type filter. Defaults to user_input and assistant_response. Select tool_call or tool_response explicitly for raw tool evidence.")
0 commit comments