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.
Files changed (56) hide show
  1. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/PKG-INFO +1 -1
  2. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/pyproject.toml +1 -1
  3. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/mcp/server.py +13 -2
  4. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/PKG-INFO +1 -1
  5. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/README.md +0 -0
  6. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/setup.cfg +0 -0
  7. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/__init__.py +0 -0
  8. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/analyzers/__init__.py +0 -0
  9. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/analyzers/python/__init__.py +0 -0
  10. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/analyzers/python/importer.py +0 -0
  11. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/analyzers/python/semantic.py +0 -0
  12. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/analyzers/python/symbols.py +0 -0
  13. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/capsule/__init__.py +0 -0
  14. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/capsule/renderer.py +0 -0
  15. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/capsule/savings.py +0 -0
  16. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/chat.py +0 -0
  17. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/cli/__init__.py +0 -0
  18. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/cli/main.py +0 -0
  19. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/clients/__init__.py +0 -0
  20. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/clients/models.py +0 -0
  21. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/config/__init__.py +0 -0
  22. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/config/init.py +0 -0
  23. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/config/providers.py +0 -0
  24. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/config/settings.py +0 -0
  25. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/exclude/__init__.py +0 -0
  26. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/exclude/patterns.py +0 -0
  27. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/graph/__init__.py +0 -0
  28. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/graph/builder.py +0 -0
  29. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/graph/models.py +0 -0
  30. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/graph/query.py +0 -0
  31. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/graph/storage.py +0 -0
  32. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/history.py +0 -0
  33. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/mcp/__init__.py +0 -0
  34. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/skills/__init__.py +0 -0
  35. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/skills/field-guide.toml +0 -0
  36. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/skills/project-style.toml +0 -0
  37. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/skills/template.example.toml +0 -0
  38. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/view/__init__.py +0 -0
  39. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/view/visualizer.py +0 -0
  40. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/wrapper/__init__.py +0 -0
  41. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph/wrapper/claude.py +0 -0
  42. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/SOURCES.txt +0 -0
  43. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/dependency_links.txt +0 -0
  44. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/entry_points.txt +0 -0
  45. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/requires.txt +0 -0
  46. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/src/ctxgraph.egg-info/top_level.txt +0 -0
  47. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_analyzers.py +0 -0
  48. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_benchmark.py +0 -0
  49. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_capsule.py +0 -0
  50. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_config.py +0 -0
  51. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_e2e.py +0 -0
  52. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_integration.py +0 -0
  53. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_model_mode.py +0 -0
  54. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_models.py +0 -0
  55. {ctxgraph-0.5.2 → ctxgraph-0.5.3}/tests/test_query.py +0 -0
  56. {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.2
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.2"
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
- except ImportError:
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.\n"
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.2
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