You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add global search across all indexed projects (v1.11.0)
5 new tools: global_init, global_status, global_query, global_signatures,
global_refresh. Uses SQLite ATTACH DATABASE for zero-copy cross-project
queries with 5-min session cache. Bulk indexing with browser-based SSE
progress UI (port 3334). Extended excludes for embedded Python runtimes,
fdk-aac, and other external code.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@@ -723,6 +743,119 @@ List and filter tasks in the project backlog. Returns tasks grouped by status an
723
743
724
744
---
725
745
746
+
## Global Search
747
+
748
+
Search across ALL indexed projects at once. Uses a global database (`~/.aidex/global.db`) that references each project's own `.aidex/index.db`. Queries use SQLite `ATTACH DATABASE` — no data copying, each project DB is the single source of truth.
749
+
750
+
### aidex_global_init
751
+
752
+
Scan a directory tree for AiDex-indexed projects and register them in the global database. Also detects unindexed projects by looking for project markers (`.csproj`, `package.json`, `Cargo.toml`, `go.mod`, `pyproject.toml`, `CMakeLists.txt`, etc.).
|`max_depth`| number | No | Maximum directory depth to scan (default: 10) |
760
+
|`tags`| string | No | Comma-separated tags for all found projects (e.g., `"privat,libs"`) |
761
+
|`exclude`| string[]| No | Directory names or absolute paths to exclude (e.g., `["llama.cpp", "Q:/develop/external"]`) |
762
+
|`index_unindexed`| boolean | No | Auto-index all unindexed projects with ≤500 estimated code files. Large projects (>500 files) are listed separately for user decision |
763
+
|`show_progress`| boolean | No | Open a browser window (`http://localhost:3334`) showing live indexing progress. Only effective with `index_unindexed: true`|
**Returns:** Count of registered/new/updated/removed projects, list of unindexed projects with their markers, totals across all registered projects. When `index_unindexed` is true, also returns `indexedResults` (per-project success/failure) and `largeProjects` (projects >500 files needing user decision).
775
+
776
+
---
777
+
778
+
### aidex_global_status
779
+
780
+
Show overview of all projects registered in the global index.
781
+
782
+
**Parameters:**
783
+
784
+
| Name | Type | Required | Description |
785
+
|------|------|----------|-------------|
786
+
|`tag_filter`| string | No | Only show projects with this tag |
0 commit comments