Revert "Internal MCP Crate Cleanup (#4800)" (#4883)

This commit is contained in:
Alex Hancock
2025-09-29 14:21:30 -04:00
committed by GitHub
parent 2cfef016e2
commit b9ba8dca29
78 changed files with 1090 additions and 844 deletions
+5 -5
View File
@@ -271,16 +271,16 @@ pub fn apply_inspection_results_to_permissions(
mod tests {
use super::*;
use crate::conversation::message::ToolRequest;
use rmcp::model::CallToolRequestParam;
use rmcp::object;
use mcp_core::ToolCall;
use serde_json::json;
#[test]
fn test_apply_inspection_results() {
let tool_request = ToolRequest {
id: "req_1".to_string(),
tool_call: Ok(CallToolRequestParam {
name: "test_tool".into(),
arguments: Some(object!({})),
tool_call: Ok(ToolCall {
name: "test_tool".to_string(),
arguments: json!({}),
}),
};