ckgraphify 0.2.1__tar.gz → 0.2.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.
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/PKG-INFO +1 -1
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/__main__.py +0 -38
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/pyproject.toml +1 -1
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/skill/skill.md +2 -2
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/LICENSE +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/MANIFEST.in +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/README.md +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/ckgraphify.egg-info/SOURCES.txt +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/__init__.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/analyze.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/benchmark.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/bridge_mtop.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/build.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/business_map.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/cache.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/callflow_html.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/cluster.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/dedup.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/detect.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/export.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/extract.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/global_graph.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/google_workspace.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/graph_main_backend.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/graph_main_frontend.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/graph_main_frontend_sdk.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/graph_main_html.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/graph_main_merge.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/graph_main_trace.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/hooks.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/ingest.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/llm.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/manifest.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/repo_registry.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/report.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/security.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/serve.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/transcribe.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/tree_html.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/validate.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/watch.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/graphify/wiki.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/setup.cfg +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/skill/__init__.py +0 -0
- {ckgraphify-0.2.1 → ckgraphify-0.2.2}/skill/skill-codex.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ckgraphify
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: AI coding assistant skill for Claude Code and Codex - graph-main boundary graphs, multi-repo call chains, business-map concepts, and business search
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/safishamsi/graphify
|
|
@@ -22,31 +22,6 @@ def _default_graph_path() -> str:
|
|
|
22
22
|
return str(Path(_GRAPHIFY_OUT) / "graph.json")
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
def _check_skill_version(skill_dst: Path) -> None:
|
|
26
|
-
"""Warn if the installed skill is from an older ckgraphify package version."""
|
|
27
|
-
version_file = skill_dst.parent / ".ckgraphify_version"
|
|
28
|
-
if not version_file.exists():
|
|
29
|
-
return
|
|
30
|
-
if not skill_dst.exists():
|
|
31
|
-
print(" warning: skill dir exists but SKILL.md is missing. Run 'graphify install' to repair.")
|
|
32
|
-
return
|
|
33
|
-
installed = version_file.read_text(encoding="utf-8").strip()
|
|
34
|
-
if installed != __version__:
|
|
35
|
-
print(f" warning: skill is from ckgraphify {installed}, package is {__version__}. Run 'graphify install' to update.", file=sys.stderr)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
def _refresh_all_version_stamps() -> None:
|
|
39
|
-
"""After a successful install, update .ckgraphify_version in all other known skill dirs.
|
|
40
|
-
|
|
41
|
-
Prevents stale-version warnings from platforms that were installed previously
|
|
42
|
-
but not explicitly re-installed during this upgrade.
|
|
43
|
-
"""
|
|
44
|
-
for cfg in _PLATFORM_CONFIG.values():
|
|
45
|
-
skill_dst = Path.home() / cfg["skill_dst"]
|
|
46
|
-
vf = skill_dst.parent / ".ckgraphify_version"
|
|
47
|
-
if skill_dst.exists():
|
|
48
|
-
vf.write_text(__version__, encoding="utf-8")
|
|
49
|
-
|
|
50
25
|
_SETTINGS_HOOK = {
|
|
51
26
|
# Claude Code v2.1.117+ removed dedicated Grep/Glob tools; searches now go through Bash.
|
|
52
27
|
# We match on Bash and inspect the command string to avoid firing on every shell call.
|
|
@@ -151,10 +126,6 @@ def install(platform: str = "claude") -> None:
|
|
|
151
126
|
claude_md.parent.mkdir(parents=True, exist_ok=True)
|
|
152
127
|
claude_md.write_text(_SKILL_REGISTRATION.lstrip(), encoding="utf-8")
|
|
153
128
|
print(f" CLAUDE.md -> created at {claude_md}")
|
|
154
|
-
# Refresh version stamps in all other previously-installed skill dirs so
|
|
155
|
-
# stale-version warnings don't fire for platforms not explicitly re-installed.
|
|
156
|
-
_refresh_all_version_stamps()
|
|
157
|
-
|
|
158
129
|
print()
|
|
159
130
|
print("Done. Open your AI coding assistant and type:")
|
|
160
131
|
print()
|
|
@@ -523,15 +494,6 @@ def _clone_repo(url: str, branch: str | None = None, out_dir: Path | None = None
|
|
|
523
494
|
|
|
524
495
|
|
|
525
496
|
def main() -> None:
|
|
526
|
-
# Check all known skill install locations for a stale version stamp.
|
|
527
|
-
# Skip during install/uninstall (hook writes trigger a fresh check anyway).
|
|
528
|
-
# Skip during hook-check — it runs on every editor tool use and must be silent.
|
|
529
|
-
# Deduplicate paths so platforms sharing the same install dir don't warn twice.
|
|
530
|
-
_silent_cmds = {"install", "uninstall", "hook-check"}
|
|
531
|
-
if not any(arg in _silent_cmds for arg in sys.argv):
|
|
532
|
-
for skill_dst in {Path.home() / cfg["skill_dst"] for cfg in _PLATFORM_CONFIG.values()}:
|
|
533
|
-
_check_skill_version(skill_dst)
|
|
534
|
-
|
|
535
497
|
if len(sys.argv) >= 2 and sys.argv[1] in ("-v", "--version", "version"):
|
|
536
498
|
print(f"graphify {__version__}")
|
|
537
499
|
return
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ckgraphify"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "AI coding assistant skill for Claude Code and Codex - graph-main boundary graphs, multi-repo call chains, business-map concepts, and business search"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -15,9 +15,9 @@ Before running any `graphify` command in the Claude plugin environment, ensure t
|
|
|
15
15
|
export GRAPHIFY="${CLAUDE_PLUGIN_ROOT}/.graphify/bin/graphify"
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
The prepare script ensures the shared Python environment has `ckgraphify`, writes the plugin-local CLI wrapper, and runs `${CLAUDE_PLUGIN_ROOT}/scripts/sync-artifacts.sh`. Before using the default graph or business map,
|
|
18
|
+
The prepare script ensures the shared Python environment has `ckgraphify`, writes the plugin-local CLI wrapper, and runs `${CLAUDE_PLUGIN_ROOT}/scripts/sync-artifacts.sh`. If Bash does not inherit `${CLAUDE_PLUGIN_ROOT}`, the prepare script resolves the plugin root from its own script location. Before using the default graph or business map, the sync script queries the production kg-server (`KG_SERVER_URL`, default `https://kg-banks.alibaba.net`) for the lightweight latest manifest. If the remote graph/concept versions and checksums already match the local manifest, it does not download files.
|
|
19
19
|
|
|
20
|
-
If
|
|
20
|
+
If the plugin root cannot be determined from the skill context or the prepare script path, report that the Claude plugin environment is not active. Do not use macOS `/usr/bin/python3` or `sudo pip`. Do not inline the setup script from this skill; run the bundled script so quoting, checksum validation, and Python selection stay deterministic.
|
|
21
21
|
|
|
22
22
|
## User API
|
|
23
23
|
|
|
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
|