diff --git a/crates/goose-mcp/src/developer/analyze/types.rs b/crates/goose-mcp/src/developer/analyze/types.rs index c1faab4fe7..e64a3fa919 100644 --- a/crates/goose-mcp/src/developer/analyze/types.rs +++ b/crates/goose-mcp/src/developer/analyze/types.rs @@ -25,11 +25,17 @@ pub struct AnalyzeParams { pub focus: Option, /// Call graph depth. 0=where defined, 1=direct callers/callees, 2+=transitive chains - #[serde(default = "default_follow_depth", deserialize_with = "deserialize_string_or_u32")] + #[serde( + default = "default_follow_depth", + deserialize_with = "deserialize_string_or_u32" + )] pub follow_depth: u32, /// Directory recursion limit. 0=unlimited (warning: fails on binary files) - #[serde(default = "default_max_depth", deserialize_with = "deserialize_string_or_u32")] + #[serde( + default = "default_max_depth", + deserialize_with = "deserialize_string_or_u32" + )] pub max_depth: u32, /// Maximum depth for recursive AST traversal (prevents stack overflow in deeply nested code)