cortex-local 2.0.3__tar.gz → 2.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cortex_local-2.0.3 → cortex_local-2.0.4}/PKG-INFO +2 -2
- {cortex_local-2.0.3 → cortex_local-2.0.4}/cortex/embedder.py +3 -1
- {cortex_local-2.0.3 → cortex_local-2.0.4}/pyproject.toml +2 -2
- {cortex_local-2.0.3 → cortex_local-2.0.4}/README.md +0 -0
- {cortex_local-2.0.3 → cortex_local-2.0.4}/cortex/__init__.py +0 -0
- {cortex_local-2.0.3 → cortex_local-2.0.4}/cortex/cli.py +0 -0
- {cortex_local-2.0.3 → cortex_local-2.0.4}/cortex/config.py +0 -0
- {cortex_local-2.0.3 → cortex_local-2.0.4}/cortex/indexer.py +0 -0
- {cortex_local-2.0.3 → cortex_local-2.0.4}/cortex/mcp_server.py +0 -0
- {cortex_local-2.0.3 → cortex_local-2.0.4}/cortex/state.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cortex-local
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.4
|
|
4
4
|
Summary: Local semantic search MCP server — notes + code, embedded Qdrant, fastembed
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Requires-Dist: click>=8.0.0
|
|
@@ -9,7 +9,7 @@ Requires-Dist: mcp[cli]>=1.0.0
|
|
|
9
9
|
Requires-Dist: networkx>=3.0
|
|
10
10
|
Requires-Dist: qdrant-client>=1.17.0
|
|
11
11
|
Provides-Extra: legacy
|
|
12
|
-
Requires-Dist: numpy
|
|
12
|
+
Requires-Dist: numpy==1.26.4; extra == 'legacy'
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
|
|
15
15
|
# cortex-local
|
|
@@ -41,7 +41,9 @@ def sparse_embed(text: str) -> tuple:
|
|
|
41
41
|
|
|
42
42
|
def pull_models() -> None:
|
|
43
43
|
"""Pre-download embedding models (run at install time)."""
|
|
44
|
-
print("Pulling fastembed models...")
|
|
44
|
+
print("Pulling fastembed models (this may take a few minutes on first run)...")
|
|
45
|
+
print(" [1/2] Downloading nomic-embed-text-v1.5 (~270 MB)...", flush=True)
|
|
45
46
|
embed("warmup")
|
|
47
|
+
print(" [2/2] Downloading BM25 sparse model...", flush=True)
|
|
46
48
|
sparse_embed("warmup")
|
|
47
49
|
print("Models ready.")
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "cortex-local"
|
|
7
|
-
version = "2.0.
|
|
7
|
+
version = "2.0.4"
|
|
8
8
|
description = "Local semantic search MCP server — notes + code, embedded Qdrant, fastembed"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -17,7 +17,7 @@ dependencies = [
|
|
|
17
17
|
]
|
|
18
18
|
|
|
19
19
|
[project.optional-dependencies]
|
|
20
|
-
legacy = ["numpy
|
|
20
|
+
legacy = ["numpy==1.26.4"]
|
|
21
21
|
|
|
22
22
|
[project.scripts]
|
|
23
23
|
cortex = "cortex.cli:cli"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|