Remove the entire QMD search engine (semantic indexing, hybrid search, vector embeddings) and replace with a simple walkdir-based keyword search. QMD never worked reliably in production, added bundle bloat, and showed "Index failed" in the status bar. What changed: - Rust: deleted indexing.rs, rewrote search.rs as pure keyword search - Frontend: removed useIndexing hook, IndexingBadge, hybrid search - Menu: removed "Reindex Vault" command from palette and menu bar - Config: removed qmd from bundle resources and build script - Deleted tools/qmd/ (QMD CLI tool, MCP server, tests) - Updated docs (ARCHITECTURE, ABSTRACTIONS, GETTING-STARTED) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
516 B
Rust
14 lines
516 B
Rust
fn main() {
|
|
// Ensure resource directories exist for the Tauri build.
|
|
// These are gitignored and populated by scripts (bundle-mcp-server.mjs).
|
|
// Without a placeholder, `tauri build` / `cargo test` fails if the scripts haven't run.
|
|
for dir in ["resources/mcp-server"] {
|
|
let path = std::path::Path::new(dir);
|
|
if !path.exists() {
|
|
std::fs::create_dir_all(path).ok();
|
|
std::fs::write(path.join(".placeholder"), "").ok();
|
|
}
|
|
}
|
|
tauri_build::build()
|
|
}
|