ctxgraph 0.5.2__tar.gz → 0.5.3__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.
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/PKG-INFO +1 -1
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/pyproject.toml +1 -1
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/mcp/server.py +13 -2
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/PKG-INFO +1 -1
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/README.md +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/setup.cfg +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/analyzers/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/analyzers/python/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/analyzers/python/importer.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/analyzers/python/semantic.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/analyzers/python/symbols.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/capsule/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/capsule/renderer.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/capsule/savings.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/chat.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/cli/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/cli/main.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/clients/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/clients/models.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/config/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/config/init.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/config/providers.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/config/settings.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/exclude/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/exclude/patterns.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/graph/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/graph/builder.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/graph/models.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/graph/query.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/graph/storage.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/history.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/mcp/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/skills/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/skills/field-guide.toml +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/skills/project-style.toml +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/skills/template.example.toml +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/view/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/view/visualizer.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/wrapper/__init__.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/wrapper/claude.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/SOURCES.txt +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/dependency_links.txt +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/entry_points.txt +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/requires.txt +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/top_level.txt +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_analyzers.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_benchmark.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_capsule.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_config.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_e2e.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_integration.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_model_mode.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_models.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_query.py +0 -0
- {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_storage.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ctxgraph
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Summary: 97% cheaper AI coding. ctxgraph builds a knowledge graph of your Python codebase, then generates token-efficient context capsules for any AI tool. Or hook up Ollama/Claude/OpenAI and use it as a code-aware coding assistant — like ChatGPT or Claude Code, but with built-in graph context. Cut token costs by 97%, work offline with just a graph, or connect your favorite LLM.
|
|
5
5
|
Author: ctxgraph contributors
|
|
6
6
|
License: MIT
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ctxgraph"
|
|
7
|
-
version = "0.5.
|
|
7
|
+
version = "0.5.3"
|
|
8
8
|
description = "97% cheaper AI coding. ctxgraph builds a knowledge graph of your Python codebase, then generates token-efficient context capsules for any AI tool. Or hook up Ollama/Claude/OpenAI and use it as a code-aware coding assistant — like ChatGPT or Claude Code, but with built-in graph context. Cut token costs by 97%, work offline with just a graph, or connect your favorite LLM."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
@@ -48,8 +48,10 @@ try:
|
|
|
48
48
|
from mcp.server.models import InitializationOptions
|
|
49
49
|
|
|
50
50
|
HAS_MCP = True
|
|
51
|
-
|
|
51
|
+
_MCP_IMPORT_ERROR = None
|
|
52
|
+
except ImportError as _e:
|
|
52
53
|
HAS_MCP = False
|
|
54
|
+
_MCP_IMPORT_ERROR = _e
|
|
53
55
|
|
|
54
56
|
from ctxgraph.capsule.renderer import render_capsule, render_project_overview
|
|
55
57
|
from ctxgraph.clients.models import ModelMode, get_mode_config
|
|
@@ -285,8 +287,17 @@ def create_server(repo_path: Optional[str] = None) -> Optional[Any]:
|
|
|
285
287
|
|
|
286
288
|
def run_server(repo_path: Optional[str] = None, port: Optional[int] = None):
|
|
287
289
|
if not HAS_MCP:
|
|
290
|
+
details = ""
|
|
291
|
+
if _MCP_IMPORT_ERROR:
|
|
292
|
+
details = f"\n Error: {_MCP_IMPORT_ERROR}"
|
|
293
|
+
err_str = str(_MCP_IMPORT_ERROR)
|
|
294
|
+
if "DLL load failed" in err_str and "pywintypes" in err_str:
|
|
295
|
+
details += (
|
|
296
|
+
"\n This appears to be a Windows security policy blocking pywin32 DLLs.\n"
|
|
297
|
+
" Try: pip install mcp==1.0.0"
|
|
298
|
+
)
|
|
288
299
|
print(
|
|
289
|
-
"MCP support requires additional dependencies
|
|
300
|
+
f"MCP support requires additional dependencies.{details}\n"
|
|
290
301
|
"Install with: pip install ctxgraph[mcp]",
|
|
291
302
|
file=sys.stderr,
|
|
292
303
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ctxgraph
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Summary: 97% cheaper AI coding. ctxgraph builds a knowledge graph of your Python codebase, then generates token-efficient context capsules for any AI tool. Or hook up Ollama/Claude/OpenAI and use it as a code-aware coding assistant — like ChatGPT or Claude Code, but with built-in graph context. Cut token costs by 97%, work offline with just a graph, or connect your favorite LLM.
|
|
5
5
|
Author: ctxgraph contributors
|
|
6
6
|
License: MIT
|
|
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
|