omni-cortex 1.0.4__tar.gz → 1.0.5__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.
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/PKG-INFO +1 -1
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/config.py +2 -2
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/search/semantic.py +7 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/pyproject.toml +1 -1
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/.gitignore +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/LICENSE +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/README.md +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/dashboard/backend/chat_service.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/dashboard/backend/database.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/dashboard/backend/main.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/dashboard/backend/models.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/dashboard/backend/project_scanner.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/dashboard/backend/pyproject.toml +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/dashboard/backend/uv.lock +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/dashboard/backend/websocket_manager.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/hooks/post_tool_use.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/hooks/pre_tool_use.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/hooks/stop.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/hooks/subagent_stop.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/__init__.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/categorization/__init__.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/categorization/auto_tags.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/categorization/auto_type.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/dashboard.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/database/__init__.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/database/connection.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/database/migrations.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/database/schema.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/database/sync.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/decay/__init__.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/decay/importance.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/embeddings/__init__.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/embeddings/local.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/models/__init__.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/models/activity.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/models/agent.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/models/memory.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/models/relationship.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/models/session.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/resources/__init__.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/search/__init__.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/search/hybrid.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/search/keyword.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/search/ranking.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/server.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/setup.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/tools/__init__.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/tools/activities.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/tools/memories.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/tools/sessions.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/tools/utilities.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/utils/__init__.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/utils/formatting.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/utils/ids.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/utils/timestamps.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/omni_cortex/utils/truncation.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/scripts/import_ken_memories.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/scripts/populate_session_data.py +0 -0
- {omni_cortex-1.0.4 → omni_cortex-1.0.5}/scripts/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: omni-cortex
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
4
4
|
Summary: Universal Memory MCP for Claude Code - dual-layer activity logging and knowledge storage
|
|
5
5
|
Project-URL: Homepage, https://github.com/AllCytes/Omni-Cortex
|
|
6
6
|
Project-URL: Repository, https://github.com/AllCytes/Omni-Cortex
|
|
@@ -31,8 +31,8 @@ class CortexConfig:
|
|
|
31
31
|
auto_provide_context: bool = True
|
|
32
32
|
context_depth: int = 3
|
|
33
33
|
|
|
34
|
-
# Search
|
|
35
|
-
default_search_mode: str = "
|
|
34
|
+
# Search (default to keyword since embeddings are disabled by default)
|
|
35
|
+
default_search_mode: str = "keyword"
|
|
36
36
|
|
|
37
37
|
# Global
|
|
38
38
|
global_sync_enabled: bool = True
|
|
@@ -12,6 +12,7 @@ from ..embeddings.local import (
|
|
|
12
12
|
blob_to_vector,
|
|
13
13
|
DEFAULT_MODEL_NAME,
|
|
14
14
|
)
|
|
15
|
+
from ..config import load_config
|
|
15
16
|
|
|
16
17
|
logger = logging.getLogger(__name__)
|
|
17
18
|
|
|
@@ -65,6 +66,12 @@ def semantic_search(
|
|
|
65
66
|
Returns:
|
|
66
67
|
List of (Memory, similarity_score) tuples
|
|
67
68
|
"""
|
|
69
|
+
# Check if embeddings are enabled - skip semantic search if disabled
|
|
70
|
+
config = load_config()
|
|
71
|
+
if not config.embedding_enabled:
|
|
72
|
+
logger.debug("Embeddings disabled, skipping semantic search")
|
|
73
|
+
return []
|
|
74
|
+
|
|
68
75
|
# Generate embedding for query
|
|
69
76
|
try:
|
|
70
77
|
query_embedding = generate_embedding(query, model_name)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|