nexo_index_add_dir
Add a directory to persistent FTS5 search index. Specify path, type (code/md), and file patterns for automatic indexing.
Instructions
Register a new directory for FTS5 search indexing. Survives restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to directory (supports ~). | |
| notes | No | Description of what this directory contains. | |
| dir_type | No | 'code' for source files, 'md' for markdown docs. | code |
| patterns | No | Comma-separated glob patterns (only for code type). | *.php,*.js,*.json,*.py,*.ts,*.tsx |