vibe-hnindex

v0.1.2
io.github.AndyAnh174/vibe-hnindex Checked 4 days ago Published 8 months ago

Index source code into a local knowledge base, search with keyword + semantic + hybrid modes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

index_codebase

Index an entire codebase directory for later search. Scans all supported source files, chunks them, and stores in the knowledge base with keyword and semantic indexes. Supports incremental indexing — unchanged files are skipped.

ParameterTypeDescription
path *stringAbsolute path to the codebase directory
project_name *stringUnique name for this project

index_file

Index or re-index a single file in an existing project. The project must have been indexed with index_codebase first.

ParameterTypeDescription
file_path *stringAbsolute path to the file
project_name *stringProject name (must already exist from index_codebase)

list_projects

List all indexed projects with their metadata including file count, chunk count, and last indexed time.

delete_project

Delete a project and all its indexed data from the knowledge base (both SQLite and Qdrant).

ParameterTypeDescription
project_name *stringName of the project to delete

get_file_info

Get information about a specific indexed file including its chunks, line ranges, and language.

ParameterTypeDescription
file_path *stringRelative file path within the project (e.g., "src/index.ts")
project_name *stringProject name