Delphi Code
v0.3.4Let coding agents browse code across all your local, GitHub and Bitbucket repos, offline
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search
Find code by what it does. Call this before grepping or reading files whenever you look for where a behaviour or concept is implemented and don't know the exact identifier, file or string, such as 'where are passwords checked?' or 'how are failed requests retried?'. Leave project out to search every indexed repository: that is how to find a service's callers, its dependencies and other services' code. Use grep only for exact names and strings you already know. Results are best match first; path is relative to the project and start_line/end_line locate the passage, so read around it. A higher s…
| Parameter | Type | Description |
|---|---|---|
query * | string | Describe the behaviour you are looking for, not a single keyword |
language | array | Only results in these languages |
limit | integer | Maximum number of results; default 10 |
path | array | Only results whose path matches one of these globs, such as src/* |
project | string | Project path, indexed key or folder name to stay inside one project; omit to search every indexed repository |
index
Build or incrementally update a local project's index. Updates after edits are fast; the first index of a large project can take minutes.
| Parameter | Type | Description |
|---|---|---|
ignore | array | Extra gitignore-style patterns to skip |
language | array | Only index these languages, such as python or typescript |
max_bytes | integer | Skip files larger than this; default 1048576 |
path | array | Only index paths matching these project-relative globs, such as src/* |
project | string | Absolute path of the project root, or an indexed key (github.com/acme/api) or folder name (api). Pass it explicitly: the default is the server's working directory, which may not be your project |
status
Report whether a project is indexed, and when and at which commit.
| Parameter | Type | Description |
|---|---|---|
project | string | Absolute path of the project root, or an indexed key (github.com/acme/api) or folder name (api). Pass it explicitly: the default is the server's working directory, which may not be your project |
doctor
Check the model, SQLite extensions and storage with a real embedding.
| Parameter | Type | Description |
|---|---|---|
project | string | Absolute path of the project root, or an indexed key (github.com/acme/api) or folder name (api). Pass it explicitly: the default is the server's working directory, which may not be your project |
add
Track projects or remote repositories and index them. Remote repositories are cloned and indexed now, which needs the network and can take minutes.
| Parameter | Type | Description |
|---|---|---|
sources * | array | Project directories, bitbucket.org/workspace/repository or github.com/owner/repository |
ignore | array | Extra gitignore-style patterns to skip |
language | array | Only index these languages, such as python or typescript |
max_bytes | integer | Skip files larger than this; default 1048576 |
no_sync | boolean | Only update the registry; index later with sync |
path | array | Only index paths matching these project-relative globs, such as src/* |
ref | string | Branch or tag of remote repositories; defaults to the default branch |
sync
Index tracked projects; remote repositories fetch their new commits, which needs the network.
| Parameter | Type | Description |
|---|---|---|
projects | array | Tracked project paths, keys or names; omit to sync every one |
list
List tracked projects and stored indexes.
| Parameter | Type | Description |
|---|---|---|
indexed | boolean | Only list projects that have an index |
remove
Stop tracking a project and delete its index.
| Parameter | Type | Description |
|---|---|---|
name * | string | Project path, key, or indexed name |
keep_index | boolean | Only untrack the project and keep its index |
setup
Download the pinned embedding model, or import it with from, and check the installation.
| Parameter | Type | Description |
|---|---|---|
from | string | Prepared model directory to import without network access |