Releases: os-tack/fcp-rust
v0.1.4
Highlights
New: stateless enrich(path) MCP tool
Returns {diagnostics, symbols, references, dependents} for a single Rust file without requiring an open rust_session. Useful for editor plugins and file-scoped checks where booting a full workspace is overkill.
- New MCP tool:
#[tool] enrich(path, content_hash?) - New JSON-RPC bridge method:
fcp.enrich - Backing logic lives in the sibling
fcp-core-rustcrate (path dep) - Warm
cargo checkkeeps responses under ~2 s on cached workspaces
Fix: symbols query tolerates rust-analyzer null response
textDocument/documentSymbol returns null (not []) when rust-analyzer hasn't yet opened a file in LSP — even when rust_session status reports ready. Previously that surfaced as ! LSP error: JSON error: invalid type: null, expected a sequence and callers fell back to inferior chunking. Now:
handle_symbolscallsdid_openbeforedocumentSymbolto nudge rust-analyzer into loading the file- Deserializes into
Option<Vec<..>>sonull→ empty list, not a parse failure
Full changelog
v0.1.3
Full Changelog: v0.1.2...v0.1.3
v0.1.2
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Full Changelog: https://github.com/aetherwing-io/fcp-rust/commits/v0.1.0
Full Changelog: https://github.com/aetherwing-io/fcp-rust/commits/v0.1.0
Full Changelog: https://github.com/aetherwing-io/fcp-rust/commits/v0.1.0