[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "mcp-code-index" version = "1.0.5" description = "SQLite-backed code index for Claude Code, exposed via MCP" readme = "README.md" requires-python = ">=3.10" license = "MIT" authors = [{ name = "Achref Tlili" }] dependencies = [ "mcp>=1.0.0", "sqlite-vec>=0.1.0", "tree-sitter>=0.23.0", "tree-sitter-python>=0.23.0", "tree-sitter-typescript>=0.23.0", "tree-sitter-go>=0.23.0", "tree-sitter-rust>=0.23.0", "watchdog>=4.0.0", "click>=8.1.0", "pathspec>=0.12.0", # Intel macOS x86_64 has no torch wheel >2.2.2; torch 2.2.2 was built # against numpy 1.x and crashes at runtime against numpy>=2 ("Numpy is # not available" / "_ARRAY_API not found"). Pin numpy<2 only on that # platform; everywhere else, torch>=2.3 is available and numpy 2 works. "numpy>=1.26.0,<2; sys_platform == 'darwin' and platform_machine == 'x86_64'", "numpy>=1.26.0; sys_platform != 'darwin' or platform_machine != 'x86_64'", "sentence-transformers>=3.0,<5", ] [project.optional-dependencies] dev = [ "pytest>=8.0.0", "pytest-asyncio>=0.23.0", "ruff>=0.5.0", ] [project.urls] Homepage = "https://github.com/achreftlili/code-index" Repository = "https://github.com/achreftlili/code-index" Issues = "https://github.com/achreftlili/code-index/issues" [project.scripts] code-index = "code_index.cli:main" code-index-mcp = "code_index.mcp_server:main" code-index-hook = "code_index.hook:main" [tool.hatch.build.targets.wheel] packages = ["src/code_index"] [tool.ruff] line-length = 100 target-version = "py310"