Sync ctx v0.7.13 public release
Browse filesUpdate package version, BOM pyproject scan fix, Windows graph extraction docs, and README/docs stats while preserving the Hugging Face repo card metadata.
- README.md +4 -1
- docs/index.md +1 -1
- docs/knowledge-graph.md +8 -0
- pyproject.toml +1 -1
- src/__init__.py +1 -1
- src/ctx/__init__.py +1 -1
- src/scan_repo.py +1 -2
- src/tests/test_scan_repo.py +12 -0
README.md
CHANGED
|
@@ -11,6 +11,9 @@ tags:
|
|
| 11 |
- harness
|
| 12 |
- codex
|
| 13 |
- claude-code
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# ctx — Skill, Agent, MCP & Harness Recommendations
|
|
@@ -18,7 +21,7 @@ tags:
|
|
| 18 |
[](LICENSE)
|
| 19 |
[](https://python.org)
|
| 20 |
[](https://pypi.org/project/claude-ctx/)
|
| 21 |
-
[](graph/)
|
| 23 |
[](https://stevesolun.github.io/ctx/)
|
| 24 |
|
|
|
|
| 11 |
- harness
|
| 12 |
- codex
|
| 13 |
- claude-code
|
| 14 |
+
- developer-tools
|
| 15 |
+
- context-management
|
| 16 |
+
- local-llm
|
| 17 |
---
|
| 18 |
|
| 19 |
# ctx — Skill, Agent, MCP & Harness Recommendations
|
|
|
|
| 21 |
[](LICENSE)
|
| 22 |
[](https://python.org)
|
| 23 |
[](https://pypi.org/project/claude-ctx/)
|
| 24 |
+
[](#)
|
| 25 |
[](graph/)
|
| 26 |
[](https://stevesolun.github.io/ctx/)
|
| 27 |
|
docs/index.md
CHANGED
|
@@ -182,7 +182,7 @@ ones are flagged. New ones self-ingest.
|
|
| 182 |
---
|
| 183 |
|
| 184 |
**v0.7.x** — MIT, CI-matrixed (Ubuntu + Windows × Python 3.11/3.12),
|
| 185 |
-
3,
|
| 186 |
`ctx-monitor` (local dashboard with graph + wiki + load/unload for
|
| 187 |
skills, agents, and MCP servers, plus harness wiki/graph browsing),
|
| 188 |
`ctx-dedup-check` (pre-ship near-duplicate gate), and
|
|
|
|
| 182 |
---
|
| 183 |
|
| 184 |
**v0.7.x** — MIT, CI-matrixed (Ubuntu + Windows × Python 3.11/3.12),
|
| 185 |
+
3,683 tests collected. Ships console scripts including `ctx-init`,
|
| 186 |
`ctx-monitor` (local dashboard with graph + wiki + load/unload for
|
| 187 |
skills, agents, and MCP servers, plus harness wiki/graph browsing),
|
| 188 |
`ctx-dedup-check` (pre-ship near-duplicate gate), and
|
docs/knowledge-graph.md
CHANGED
|
@@ -55,6 +55,14 @@ mkdir -p ~/.claude/skill-wiki
|
|
| 55 |
tar xzf graph/wiki-graph.tar.gz -C ~/.claude/skill-wiki/
|
| 56 |
```
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
The extracted tree also opens directly as an Obsidian vault — the
|
| 59 |
`.obsidian/` config ships inside the tarball — so you can use
|
| 60 |
Obsidian's native graph view if you prefer it to the web dashboard.
|
|
|
|
| 55 |
tar xzf graph/wiki-graph.tar.gz -C ~/.claude/skill-wiki/
|
| 56 |
```
|
| 57 |
|
| 58 |
+
On Windows PowerShell, create the target and use the built-in `tar.exe`
|
| 59 |
+
without `--force-local`:
|
| 60 |
+
|
| 61 |
+
```powershell
|
| 62 |
+
New-Item -ItemType Directory -Force "$env:USERPROFILE\.claude\skill-wiki" | Out-Null
|
| 63 |
+
tar -xzf graph\wiki-graph.tar.gz -C "$env:USERPROFILE\.claude\skill-wiki"
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
The extracted tree also opens directly as an Obsidian vault — the
|
| 67 |
`.obsidian/` config ships inside the tarball — so you can use
|
| 68 |
Obsidian's native graph view if you prefer it to the web dashboard.
|
pyproject.toml
CHANGED
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
| 4 |
|
| 5 |
[project]
|
| 6 |
name = "claude-ctx"
|
| 7 |
-
version = "0.7.
|
| 8 |
description = "Skill and agent recommendation system for Claude Code — knowledge graph, wiki, and intake quality gates"
|
| 9 |
authors = [{ name = "Steve Solun" }]
|
| 10 |
license = "MIT"
|
|
|
|
| 4 |
|
| 5 |
[project]
|
| 6 |
name = "claude-ctx"
|
| 7 |
+
version = "0.7.13"
|
| 8 |
description = "Skill and agent recommendation system for Claude Code — knowledge graph, wiki, and intake quality gates"
|
| 9 |
authors = [{ name = "Steve Solun" }]
|
| 10 |
license = "MIT"
|
src/__init__.py
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
"""ctx — skill and agent recommendation for Claude Code."""
|
| 2 |
|
| 3 |
-
__version__ = "0.7.
|
|
|
|
| 1 |
"""ctx — skill and agent recommendation for Claude Code."""
|
| 2 |
|
| 3 |
+
__version__ = "0.7.13"
|
src/ctx/__init__.py
CHANGED
|
@@ -30,7 +30,7 @@ Package layout:
|
|
| 30 |
ctx.utils - low-level primitives (safe names, atomic IO)
|
| 31 |
"""
|
| 32 |
|
| 33 |
-
__version__ = "0.7.
|
| 34 |
|
| 35 |
|
| 36 |
# Public library surface — anything listed here is safe for third-
|
|
|
|
| 30 |
ctx.utils - low-level primitives (safe names, atomic IO)
|
| 31 |
"""
|
| 32 |
|
| 33 |
+
__version__ = "0.7.13"
|
| 34 |
|
| 35 |
|
| 36 |
# Public library surface — anything listed here is safe for third-
|
src/scan_repo.py
CHANGED
|
@@ -140,8 +140,7 @@ def read_toml_deps(path: str) -> list[str]:
|
|
| 140 |
specifiers and extras are stripped via PEP 508 splitting.
|
| 141 |
"""
|
| 142 |
try:
|
| 143 |
-
|
| 144 |
-
data = tomllib.load(f)
|
| 145 |
except Exception as exc:
|
| 146 |
print(f"Warning: failed to read TOML deps from {path}: {exc}", file=sys.stderr)
|
| 147 |
return []
|
|
|
|
| 140 |
specifiers and extras are stripped via PEP 508 splitting.
|
| 141 |
"""
|
| 142 |
try:
|
| 143 |
+
data = tomllib.loads(Path(path).read_text(encoding="utf-8-sig"))
|
|
|
|
| 144 |
except Exception as exc:
|
| 145 |
print(f"Warning: failed to read TOML deps from {path}: {exc}", file=sys.stderr)
|
| 146 |
return []
|
src/tests/test_scan_repo.py
CHANGED
|
@@ -245,6 +245,18 @@ dependencies = ["FastAPI", "pydantic", "SQLAlchemy"]
|
|
| 245 |
assert "pydantic" in deps
|
| 246 |
assert "sqlalchemy" in deps
|
| 247 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 248 |
def test_extracts_version_pinned_deps(self, tmp_path: Path) -> None:
|
| 249 |
p = _write(tmp_path / "pyproject.toml", """
|
| 250 |
[project]
|
|
|
|
| 245 |
assert "pydantic" in deps
|
| 246 |
assert "sqlalchemy" in deps
|
| 247 |
|
| 248 |
+
def test_extracts_deps_from_utf8_bom_pyproject(self, tmp_path: Path) -> None:
|
| 249 |
+
p = tmp_path / "pyproject.toml"
|
| 250 |
+
p.write_bytes(
|
| 251 |
+
b"\xef\xbb\xbf[project]\n"
|
| 252 |
+
b"dependencies = ['FastAPI', 'SQLAlchemy']\n"
|
| 253 |
+
)
|
| 254 |
+
|
| 255 |
+
deps = sr.read_toml_deps(str(p))
|
| 256 |
+
|
| 257 |
+
assert "fastapi" in deps
|
| 258 |
+
assert "sqlalchemy" in deps
|
| 259 |
+
|
| 260 |
def test_extracts_version_pinned_deps(self, tmp_path: Path) -> None:
|
| 261 |
p = _write(tmp_path / "pyproject.toml", """
|
| 262 |
[project]
|