-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (71 loc) · 1.73 KB
/
pyproject.toml
File metadata and controls
84 lines (71 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[project]
name = "code-context"
version = "0.1.0"
description = "SOTA Context Engineering MCP Server for Codebases"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
# MCP Server
"fastmcp>=2.3.0",
# Database
"asyncpg>=0.30.0",
"pgvector>=0.3.6",
# Embeddings & Reranking
"voyageai>=0.3.2",
"httpx>=0.28.0",
# AST Parsing
"tree-sitter>=0.23.0",
"tree-sitter-typescript>=0.23.0",
"tree-sitter-javascript>=0.23.0",
"tree-sitter-python>=0.23.0",
"tree-sitter-java>=0.23.0",
"tree-sitter-go>=0.23.0",
"tree-sitter-rust>=0.23.0",
"tree-sitter-sql>=0.3.0",
"tree-sitter-markdown>=0.3.0",
"tree-sitter-json>=0.23.0",
"tree-sitter-yaml>=0.6.0",
"tree-sitter-toml>=0.6.0",
"tree-sitter-css>=0.23.0",
"tree-sitter-html>=0.23.0",
# Core
"pydantic>=2.10.0",
"pydantic-settings>=2.7.0",
"PyYAML>=6.0.2",
# Utilities
"blake3>=1.0.0",
"tiktoken>=0.8.0",
"rich>=13.9.0",
# Books parsing
"ebooklib>=0.18",
"beautifulsoup4>=4.12.0",
"lxml>=5.0.0",
"pymupdf>=1.25.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"ruff>=0.8.0",
]
cli = [
"watchdog>=6.0.0",
]
[project.scripts]
code-context = "code_context.server:main"
code-context-cli = "cli.main:main"
code-context-manage = "cli.manage:main"
code-context-memory = "cli.memory:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/code_context", "cli"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]