graphify-vault 0.3.0__tar.gz → 0.3.2__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 (73) hide show
  1. {graphify_vault-0.3.0/graphify_vault.egg-info → graphify_vault-0.3.2}/PKG-INFO +2 -2
  2. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/__main__.py +2 -2
  3. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/doctor.py +28 -19
  4. {graphify_vault-0.3.0 → graphify_vault-0.3.2/graphify_vault.egg-info}/PKG-INFO +2 -2
  5. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/pyproject.toml +2 -2
  6. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/LICENSE +0 -0
  7. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/README.md +0 -0
  8. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/__init__.py +0 -0
  9. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/analyze.py +0 -0
  10. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/benchmark.py +0 -0
  11. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/build.py +0 -0
  12. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/cache.py +0 -0
  13. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/cluster.py +0 -0
  14. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/detect.py +0 -0
  15. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/export.py +0 -0
  16. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/extract.py +0 -0
  17. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/hooks.py +0 -0
  18. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/ingest.py +0 -0
  19. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/manifest.py +0 -0
  20. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/report.py +0 -0
  21. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/security.py +0 -0
  22. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/serve.py +0 -0
  23. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/skill-aider.md +0 -0
  24. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/skill-claw.md +0 -0
  25. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/skill-codex.md +0 -0
  26. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/skill-copilot.md +0 -0
  27. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/skill-droid.md +0 -0
  28. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/skill-kiro.md +0 -0
  29. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/skill-opencode.md +0 -0
  30. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/skill-trae.md +0 -0
  31. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/skill-vscode.md +0 -0
  32. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/skill-windows.md +0 -0
  33. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/skill.md +0 -0
  34. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/transcribe.py +0 -0
  35. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/validate.py +0 -0
  36. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/watch.py +0 -0
  37. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify/wiki.py +0 -0
  38. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify_vault.egg-info/SOURCES.txt +0 -0
  39. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify_vault.egg-info/dependency_links.txt +0 -0
  40. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify_vault.egg-info/entry_points.txt +0 -0
  41. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify_vault.egg-info/requires.txt +0 -0
  42. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/graphify_vault.egg-info/top_level.txt +0 -0
  43. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/setup.cfg +0 -0
  44. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_analyze.py +0 -0
  45. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_benchmark.py +0 -0
  46. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_build.py +0 -0
  47. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_cache.py +0 -0
  48. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_claude_md.py +0 -0
  49. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_cluster.py +0 -0
  50. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_confidence.py +0 -0
  51. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_detect.py +0 -0
  52. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_export.py +0 -0
  53. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_extract.py +0 -0
  54. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_graph_build_perf.py +0 -0
  55. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_hooks.py +0 -0
  56. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_hypergraph.py +0 -0
  57. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_ingest.py +0 -0
  58. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_install.py +0 -0
  59. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_languages.py +0 -0
  60. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_multilang.py +0 -0
  61. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_pipeline.py +0 -0
  62. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_rationale.py +0 -0
  63. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_report.py +0 -0
  64. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_security.py +0 -0
  65. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_semantic_similarity.py +0 -0
  66. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_serve.py +0 -0
  67. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_sort_by.py +0 -0
  68. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_spatial_craft_build.py +0 -0
  69. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_spatialsdk_query_regression.py +0 -0
  70. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_transcribe.py +0 -0
  71. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_validate.py +0 -0
  72. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_watch.py +0 -0
  73. {graphify_vault-0.3.0 → graphify_vault-0.3.2}/tests/test_wiki.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphify_vault
3
- Version: 0.3.0
4
- Summary: Graphify fork with GRAPHIFY_WORKSPACE path resolution for distributed graph artifacts, same-label node merging, incremental build fixes, and future local knowledge vault capabilities
3
+ Version: 0.3.2
4
+ Summary: Fork of github.com/safishamsi/graphify with GRAPHIFY_WORKSPACE path resolution for distributed graph artifacts, same-label node merging, incremental build fixes, and local knowledge vault capabilities
5
5
  License: MIT License
6
6
 
7
7
  Copyright (c) 2026 Safi Shamsi
@@ -10,10 +10,10 @@ from graphify.security import sanitize_label
10
10
 
11
11
  try:
12
12
  from importlib.metadata import version as _pkg_version
13
- __version__ = _pkg_version("graphifyy")
13
+ __version__ = _pkg_version("graphify_vault")
14
14
  except Exception:
15
15
  # PyInstaller frozen app: importlib.metadata can't find the package
16
- __version__ = "0.4.23"
16
+ __version__ = "0.3.1"
17
17
 
18
18
 
19
19
  def _check_skill_version(skill_dst: Path) -> None:
@@ -3,15 +3,16 @@ from __future__ import annotations
3
3
 
4
4
  import json
5
5
  import os
6
+ import shutil
6
7
  import subprocess
7
8
  import sys
8
9
  from pathlib import Path
9
10
 
10
11
  try:
11
12
  from importlib.metadata import version as _pkg_version
12
- __version__ = _pkg_version("graphifyy")
13
+ __version__ = _pkg_version("graphify_vault")
13
14
  except Exception:
14
- __version__ = "0.4.23"
15
+ __version__ = "0.3.1"
15
16
 
16
17
  # ─── Helpers ─────────────────────────────────────────────
17
18
 
@@ -33,7 +34,7 @@ def _warn(msg: str) -> None:
33
34
  # ─── Checks ─────────────────────────────────────────────
34
35
 
35
36
  def _check_workspace() -> tuple[bool, str | None]:
36
- """Check GRAPHIFY_WORKSPACE is set and documentation/ exists."""
37
+ """Check GRAPHIFY_WORKSPACE is set and is a valid directory."""
37
38
  workspace = os.environ.get("GRAPHIFY_WORKSPACE", "")
38
39
  if not workspace:
39
40
  _warn("GRAPHIFY_WORKSPACE not set (optional — graphify will use graph.json parent directory for path resolution)")
@@ -42,10 +43,7 @@ def _check_workspace() -> tuple[bool, str | None]:
42
43
  if not ws_path.is_dir():
43
44
  _warn(f"GRAPHIFY_WORKSPACE={workspace} is not a directory")
44
45
  return True, None
45
- if not (ws_path / "documentation").is_dir():
46
- _warn(f"GRAPHIFY_WORKSPACE={workspace} set, but no documentation/ directory")
47
- return True, workspace
48
- _ok(f"GRAPHIFY_WORKSPACE={workspace} (documentation/ found)")
46
+ _ok(f"GRAPHIFY_WORKSPACE={workspace}")
49
47
  return True, workspace
50
48
 
51
49
 
@@ -81,6 +79,10 @@ def _check_graph_json() -> tuple[bool, Path | None]:
81
79
  Path("graphify-out/graph.json"),
82
80
  Path("../graphify-out/graph.json"),
83
81
  ]
82
+ # Also check GRAPHIFY_WORKSPACE
83
+ ws = os.environ.get("GRAPHIFY_WORKSPACE", "")
84
+ if ws:
85
+ candidates.insert(0, Path(ws) / "graphify-out" / "graph.json")
84
86
  graph_path = None
85
87
  for c in candidates:
86
88
  if c.exists():
@@ -140,19 +142,26 @@ def _check_mcp_config() -> bool:
140
142
  found = []
141
143
 
142
144
  # Check coco/Trae (support ta/traecli aliases)
143
- _trae_cli = None
144
- for cli in ("coco", "ta", "traecli"):
145
- try:
146
- result = subprocess.run(
147
- [cli, "mcp", "list"],
148
- capture_output=True, text=True, timeout=10,
149
- )
150
- if result.returncode == 0 and "spatial-knowledge-graph" in result.stdout:
151
- found.append("Trae/Coco")
152
- _trae_cli = cli
145
+ # CLI has no "mcp list" command, so check config files
146
+ _trae_config_candidates = [
147
+ Path.home() / ".trae" / "traecli.yaml",
148
+ Path.home() / ".trae-cn" / "traecli.yaml",
149
+ ]
150
+ for _cfg in _trae_config_candidates:
151
+ if _cfg.exists():
152
+ try:
153
+ content = _cfg.read_text(encoding="utf-8")
154
+ if "spatial-knowledge-graph" in content:
155
+ found.append("Trae/Coco")
156
+ break
157
+ except Exception:
158
+ pass
159
+ # Fallback: if coco/ta CLI exists but no config found, just note it's installed
160
+ if "Trae/Coco" not in found:
161
+ for cli in ("coco", "ta", "traecli"):
162
+ if shutil.which(cli):
163
+ _warn("Trae/Coco CLI found but spatial-knowledge-graph not in config — run install.sh to configure")
153
164
  break
154
- except Exception:
155
- continue
156
165
 
157
166
  # Check Claude Code (CLI or config file)
158
167
  _claude_found = False
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphify_vault
3
- Version: 0.3.0
4
- Summary: Graphify fork with GRAPHIFY_WORKSPACE path resolution for distributed graph artifacts, same-label node merging, incremental build fixes, and future local knowledge vault capabilities
3
+ Version: 0.3.2
4
+ Summary: Fork of github.com/safishamsi/graphify with GRAPHIFY_WORKSPACE path resolution for distributed graph artifacts, same-label node merging, incremental build fixes, and local knowledge vault capabilities
5
5
  License: MIT License
6
6
 
7
7
  Copyright (c) 2026 Safi Shamsi
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "graphify_vault"
7
- version = "0.3.0"
8
- description = "Graphify fork with GRAPHIFY_WORKSPACE path resolution for distributed graph artifacts, same-label node merging, incremental build fixes, and future local knowledge vault capabilities"
7
+ version = "0.3.2"
8
+ description = "Fork of github.com/safishamsi/graphify with GRAPHIFY_WORKSPACE path resolution for distributed graph artifacts, same-label node merging, incremental build fixes, and local knowledge vault capabilities"
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE" }
11
11
  keywords = ["claude", "claude-code", "codex", "opencode", "cursor", "gemini", "aider", "kiro", "knowledge-graph", "rag", "graphrag", "obsidian", "community-detection", "tree-sitter", "leiden", "llm"]
File without changes
File without changes
File without changes