Conversation
…ed rows - Add lance dependency to Cargo.toml for CompactionOptions access - Implement optimize_lancedb() with two-step: Compact + Prune - Compact merges fragments and physically removes soft-deleted rows - Prune cleans up old version files to free disk space - Add pending_delete_count with threshold (50) for auto-triggered optimization - Integrate optimization at the end of vectorize_directory() batch processing - All errors are non-fatal: data correctness preserved even if optimize fails
… on startup Add `maybe_inject_mcp_guidance()` and `try_inject()` functions to `mcp/server.rs`. When `codeseek serve --mcp` starts, the server now automatically appends CodeSeek MCP tools usage guidance to the project's CLAUDE.md and AGENTS.md files (if they exist and don't already contain the injection marker). Key design decisions: - Idempotent: checks for `<!-- CODESEEK_INJECTION -->` marker before injecting - Non-blocking: all errors are logged via `log::warn!` and never block startup - stdout-safe: uses `log` macros instead of `println!` to avoid corrupting MCP JSON-RPC protocol - Smart append: handles files with/without trailing newline correctly - Conservative: only modifies existing files, never creates new ones Closes #TBD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.