tscode-kg 0.2.0__tar.gz → 0.3.0__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.
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/PKG-INFO +2 -6
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/pyproject.toml +36 -9
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/__init__.py +1 -1
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/LICENSE +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/README.md +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/__main__.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/analysis.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/app.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/bridge.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/centrality.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/__init__.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_analyze.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_bridges.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_build.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_centrality.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_explain.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_framework_nodes.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_hooks.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_init.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_mcp.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_model.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_query.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_snapshot.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/cmd_viz.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/cli/main.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/coderank.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/config.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/explain.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/extractor.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/framework_detector.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/kg.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/layout3d.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/mcp_server.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/snapshots.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/viz3d.py +0 -0
- {tscode_kg-0.2.0 → tscode_kg-0.3.0}/src/tscode_kg/viz3d_timeline.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tscode-kg
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Knowledge graph for TypeScript/JavaScript codebases — AST extraction, hybrid semantic+structural search
|
|
5
5
|
License-Expression: Elastic-2.0
|
|
6
6
|
License-File: LICENSE
|
|
@@ -16,22 +16,18 @@ Classifier: Programming Language :: Python :: 3
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
18
|
Provides-Extra: dev
|
|
19
|
-
Provides-Extra: kgdeps
|
|
20
19
|
Provides-Extra: viz
|
|
21
20
|
Provides-Extra: viz3d
|
|
22
21
|
Requires-Dist: PyQt5 (>=5.15.11,<5.16) ; extra == "viz3d"
|
|
23
22
|
Requires-Dist: click (>=8.1.0,<9)
|
|
24
23
|
Requires-Dist: detect-secrets (>=1.5.0) ; extra == "dev"
|
|
25
|
-
Requires-Dist:
|
|
26
|
-
Requires-Dist: kgmodule-utils[semantic,sqlite-vec] (>=0.8.0)
|
|
24
|
+
Requires-Dist: kgmodule-utils[semantic,sqlite-vec] (>=0.10.0)
|
|
27
25
|
Requires-Dist: markdown (>=3.10,<3.11) ; extra == "viz3d"
|
|
28
26
|
Requires-Dist: mcp (>=1.0.0,<2)
|
|
29
27
|
Requires-Dist: networkx (>=3.0)
|
|
30
28
|
Requires-Dist: param (>=2.4,<2.5) ; extra == "viz3d"
|
|
31
29
|
Requires-Dist: plotly (>=6.8.0,<6.9) ; extra == "viz"
|
|
32
30
|
Requires-Dist: pre-commit (>=4.5.1) ; extra == "dev"
|
|
33
|
-
Requires-Dist: pycode-kg (>=0.20.0,<0.21) ; extra == "dev"
|
|
34
|
-
Requires-Dist: pycode-kg (>=0.20.0,<0.21) ; extra == "kgdeps"
|
|
35
31
|
Requires-Dist: pylint (>=4.0.5) ; extra == "dev"
|
|
36
32
|
Requires-Dist: pytest (>=8.0.0) ; extra == "dev"
|
|
37
33
|
Requires-Dist: pytest-cov (>=5.0.0) ; extra == "dev"
|
|
@@ -28,7 +28,7 @@ packages = [{ include = "tscode_kg", from = "src" }]
|
|
|
28
28
|
|
|
29
29
|
[project]
|
|
30
30
|
name = "tscode-kg"
|
|
31
|
-
version = "0.
|
|
31
|
+
version = "0.3.0"
|
|
32
32
|
description = "Knowledge graph for TypeScript/JavaScript codebases — AST extraction, hybrid semantic+structural search"
|
|
33
33
|
readme = "README.md"
|
|
34
34
|
license = "Elastic-2.0"
|
|
@@ -54,7 +54,7 @@ dependencies = [
|
|
|
54
54
|
"tree-sitter>=0.25.0",
|
|
55
55
|
"tree-sitter-typescript>=0.23.2",
|
|
56
56
|
"rich>=14.3.3,<15",
|
|
57
|
-
"kgmodule-utils[semantic,sqlite-vec]>=0.
|
|
57
|
+
"kgmodule-utils[semantic,sqlite-vec]>=0.10.0",
|
|
58
58
|
"click>=8.1.0,<9",
|
|
59
59
|
# Upper-bounded: mcp 2.0 removed the bundled `mcp.server.fastmcp` module
|
|
60
60
|
# (FastMCP was split out into the standalone `fastmcp` package) and rebuilt
|
|
@@ -67,11 +67,9 @@ dependencies = [
|
|
|
67
67
|
]
|
|
68
68
|
|
|
69
69
|
[project.optional-dependencies]
|
|
70
|
-
#
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"doc-kg>=0.18.1",
|
|
74
|
-
]
|
|
70
|
+
# pycode-kg is not an extra: it is never imported by this package, so it does
|
|
71
|
+
# not belong in published metadata. It lives in [tool.poetry.group.kg] below --
|
|
72
|
+
# see that block for why the old "install it by hand" workaround is retired.
|
|
75
73
|
# Streamlit graph explorer + plotly timeline.
|
|
76
74
|
# Version brackets follow pycode_kg's proven lockfile versions.
|
|
77
75
|
viz = [
|
|
@@ -95,8 +93,6 @@ viz3d = [
|
|
|
95
93
|
]
|
|
96
94
|
dev = [
|
|
97
95
|
"detect-secrets>=1.5.0",
|
|
98
|
-
# This repo is Python — pycodekg indexes it and runs in the pre-commit hook.
|
|
99
|
-
"pycode-kg>=0.20.0,<0.21",
|
|
100
96
|
"ty>=0.0.41",
|
|
101
97
|
"pre-commit>=4.5.1",
|
|
102
98
|
"pylint>=4.0.5",
|
|
@@ -105,6 +101,37 @@ dev = [
|
|
|
105
101
|
"ruff>=0.4.0",
|
|
106
102
|
]
|
|
107
103
|
|
|
104
|
+
# ---------------------------------------------------------------------------
|
|
105
|
+
# Maintainer tooling (Poetry group, not a PEP 621 extra)
|
|
106
|
+
# ---------------------------------------------------------------------------
|
|
107
|
+
# pycode-kg is a tool this repo *runs*, not a library it imports: PyCodeKG
|
|
108
|
+
# indexes this repo's Python source from the outside, via the `pycodekg` CLI in
|
|
109
|
+
# .git/hooks/pre-commit. It belongs in a Poetry group -- locked and installable,
|
|
110
|
+
# but never written into the wheel, so no published extra acquires a sibling.
|
|
111
|
+
#
|
|
112
|
+
# doc-kg rides along for fleet uniformity: every repo's `kg` group carries the
|
|
113
|
+
# same two CLIs, so `poetry install --with kg` means one thing everywhere. This
|
|
114
|
+
# repo has no DocKG index today (no .mcp.json, no `dockg` invocation), so the
|
|
115
|
+
# CLI is simply available rather than required -- and it is here, not in an
|
|
116
|
+
# extra, precisely because nothing depends on it at runtime.
|
|
117
|
+
#
|
|
118
|
+
# poetry install --with kg # get the pycodekg CLI into .venv/bin
|
|
119
|
+
# poetry install # default: group is optional, skipped
|
|
120
|
+
#
|
|
121
|
+
# This supersedes the standing "install it by hand" workaround. That note
|
|
122
|
+
# described a real deadlock -- older pycode-kg capped transformers below 4.57
|
|
123
|
+
# while kgmodule-utils >=0.9.0 needs >=5.5.0, which silently held this repo on
|
|
124
|
+
# the pre-CVE transformers line. pycode-kg 0.21.4 no longer pins transformers at
|
|
125
|
+
# all; it inherits the same kgmodule-utils[semantic] constraint this project
|
|
126
|
+
# already uses, so the two no longer conflict. Verified: locking with this group
|
|
127
|
+
# keeps transformers at 5.14.1.
|
|
128
|
+
[tool.poetry.group.kg]
|
|
129
|
+
optional = true
|
|
130
|
+
|
|
131
|
+
[tool.poetry.group.kg.dependencies]
|
|
132
|
+
doc-kg = ">=0.21.1"
|
|
133
|
+
pycode-kg = ">=0.21.4"
|
|
134
|
+
|
|
108
135
|
[project.urls]
|
|
109
136
|
Homepage = "https://github.com/Flux-Frontiers/tscode_kg"
|
|
110
137
|
Repository = "https://github.com/Flux-Frontiers/tscode_kg"
|
|
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
|