- Renamed namespace from "hello" to "cratedocs" for better clarity.
- Optimized overlay definitions and improved package structure resolution.
- Added `cratedocs-mcp` to overlays for streamlined integration.
1. Fixed the lookup_item command to properly handle item paths by:
- Trying different item types (struct, enum, trait, fn, macro)
- Using the proper URL structure for docs.rs items
- Adding User-Agent headers to avoid 404 errors
2. Fixed the search_crates command to:
- Include proper User-Agent headers to avoid 403 Forbidden errors
- Return JSON data in a consistent format
3. Made general improvements:
- Better CLI help text with examples
- Better error messages with specific examples
- More comprehensive documentation of usage patterns
- HTTP/SSE server: Add tests for app initialization and session management
- Docs tools: Add tests for cache functionality, error handling, and network errors
- Make components more testable by exposing necessary fields
- Add mockito for HTTP testing support
- Improve robust error handling in network tests
- Add Tower util feature for ServiceExt support