ctxgraph-code 0.4.0__tar.gz → 0.4.1__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_code-0.4.0 → ctxgraph_code-0.4.1}/PKG-INFO +1 -1
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/pyproject.toml +1 -1
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/cli.py +26 -0
- ctxgraph_code-0.4.1/src/ctxgraph_code/config/global_paths.py +9 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code.egg-info/PKG-INFO +1 -1
- ctxgraph_code-0.4.0/src/ctxgraph_code/config/global_paths.py +0 -16
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/README.md +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/setup.cfg +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/__init__.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/__main__.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/analyzers/__init__.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/analyzers/python/__init__.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/analyzers/python/importer.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/analyzers/python/semantic.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/analyzers/python/symbols.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/analyzers/treesitter/__init__.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/analyzers/treesitter/analyzer.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/analyzers/treesitter/languages.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/config/__init__.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/config/build_status.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/config/hooks.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/config/init.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/config/settings.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/exclude/__init__.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/exclude/patterns.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/graph/__init__.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/graph/builder.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/graph/models.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/graph/query.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/graph/storage.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/render.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/view/__init__.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/view/visualizer.py +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code.egg-info/SOURCES.txt +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code.egg-info/dependency_links.txt +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code.egg-info/entry_points.txt +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code.egg-info/requires.txt +0 -0
- {ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ctxgraph-code"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.1"
|
|
8
8
|
description = "Code knowledge graph for Claude Code. Build a relationship graph of your Python codebase and query it during coding sessions."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
@@ -885,6 +885,32 @@ def uninstall_hooks_cmd(
|
|
|
885
885
|
console.print("[yellow]No hooks found to remove.[/yellow]")
|
|
886
886
|
|
|
887
887
|
|
|
888
|
+
@app.command(name="install-slash")
|
|
889
|
+
def install_slash(
|
|
890
|
+
repo_path: Optional[str] = typer.Option(
|
|
891
|
+
None, "--repo", "-r", help="Repository path"
|
|
892
|
+
),
|
|
893
|
+
project_slash: bool = typer.Option(
|
|
894
|
+
False, "--project-slash",
|
|
895
|
+
help="Install in project .claude/commands/ instead of globally",
|
|
896
|
+
),
|
|
897
|
+
):
|
|
898
|
+
"""Install the /ctxgraph-code slash command for Claude Code.
|
|
899
|
+
|
|
900
|
+
Defaults to global installation (~/.claude/commands/) so it
|
|
901
|
+
works in every project. Use --project-slash for project-local.
|
|
902
|
+
"""
|
|
903
|
+
path = Path(repo_path).resolve() if repo_path else Path.cwd()
|
|
904
|
+
if project_slash:
|
|
905
|
+
claude_dir = path / ".claude" / "commands"
|
|
906
|
+
else:
|
|
907
|
+
claude_dir = get_global_claude_commands_dir()
|
|
908
|
+
_write_slash_command(claude_dir / "ctxgraph-code.md", path)
|
|
909
|
+
console.print(
|
|
910
|
+
"Open Claude Code and type [bold]/ctxgraph-code[/bold] to get started."
|
|
911
|
+
)
|
|
912
|
+
|
|
913
|
+
|
|
888
914
|
@app.command()
|
|
889
915
|
def probe(
|
|
890
916
|
query: str = typer.Argument(..., help="Search query"),
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
|
|
3
|
-
import os
|
|
4
|
-
import platform
|
|
5
|
-
from pathlib import Path
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
def get_global_claude_commands_dir() -> Path:
|
|
9
|
-
system = platform.system()
|
|
10
|
-
if system == "Windows":
|
|
11
|
-
base = Path(os.environ.get("APPDATA", Path.home() / "AppData" / "Roaming"))
|
|
12
|
-
return base / "Claude" / "commands"
|
|
13
|
-
elif system == "Darwin":
|
|
14
|
-
return Path.home() / "Library" / "Application Support" / "Claude" / "commands"
|
|
15
|
-
else:
|
|
16
|
-
return Path.home() / ".config" / "claude" / "commands"
|
|
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
|
{ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/analyzers/treesitter/__init__.py
RENAMED
|
File without changes
|
{ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/analyzers/treesitter/analyzer.py
RENAMED
|
File without changes
|
{ctxgraph_code-0.4.0 → ctxgraph_code-0.4.1}/src/ctxgraph_code/analyzers/treesitter/languages.py
RENAMED
|
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
|