codegraphx 0.1.0__py3-none-any.whl
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.
- codegraph/__init__.py +37 -0
- codegraph/cli.py +106 -0
- codegraph/commands/__init__.py +1 -0
- codegraph/commands/conflicts.py +154 -0
- codegraph/commands/diff.py +189 -0
- codegraph/commands/export.py +141 -0
- codegraph/commands/graph.py +200 -0
- codegraph/commands/index.py +924 -0
- codegraph/commands/serve.py +62 -0
- codegraph/commands/why.py +645 -0
- codegraph/decisions/__init__.py +18 -0
- codegraph/decisions/conflicts.py +238 -0
- codegraph/decisions/extractor.py +698 -0
- codegraph/decisions/llm_extractor.py +161 -0
- codegraph/decisions/sources.py +298 -0
- codegraph/git/__init__.py +5 -0
- codegraph/git/diff.py +115 -0
- codegraph/git/history.py +156 -0
- codegraph/git/incremental.py +75 -0
- codegraph/git/refs.py +70 -0
- codegraph/models.py +211 -0
- codegraph/parser/__init__.py +1 -0
- codegraph/parser/base.py +164 -0
- codegraph/parser/common.py +147 -0
- codegraph/parser/parallel.py +96 -0
- codegraph/parser/registry.py +83 -0
- codegraph/parser/treesitter_cpp.py +102 -0
- codegraph/parser/treesitter_go.py +113 -0
- codegraph/parser/treesitter_java.py +79 -0
- codegraph/parser/treesitter_js.py +15 -0
- codegraph/parser/treesitter_py.py +163 -0
- codegraph/parser/treesitter_rust.py +120 -0
- codegraph/parser/treesitter_ts.py +178 -0
- codegraph/storage.py +767 -0
- codegraph/web/__init__.py +1 -0
- codegraph/web/app.py +271 -0
- codegraph/web/static/app.js +356 -0
- codegraph/web/static/index.html +59 -0
- codegraph/web/static/styles.css +92 -0
- codegraphx-0.1.0.dist-info/METADATA +262 -0
- codegraphx-0.1.0.dist-info/RECORD +44 -0
- codegraphx-0.1.0.dist-info/WHEEL +4 -0
- codegraphx-0.1.0.dist-info/entry_points.txt +2 -0
- codegraphx-0.1.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--bg: #0a0e12;
|
|
3
|
+
--elev: #12181f;
|
|
4
|
+
--line: #1e2833;
|
|
5
|
+
--ink: #e7eef6;
|
|
6
|
+
--muted: #7f8fa3;
|
|
7
|
+
--code: #3dffc5;
|
|
8
|
+
--decision: #ffb454;
|
|
9
|
+
--git: #6ba3ff;
|
|
10
|
+
font-family: "JetBrains Mono", "Segoe UI", system-ui, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
* { box-sizing: border-box; }
|
|
14
|
+
html, body { height: 100%; margin: 0; background: var(--bg); color: var(--ink); }
|
|
15
|
+
|
|
16
|
+
.top {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
gap: 20px;
|
|
20
|
+
padding: 10px 16px;
|
|
21
|
+
border-bottom: 1px solid var(--line);
|
|
22
|
+
background: rgba(10, 14, 18, 0.9);
|
|
23
|
+
}
|
|
24
|
+
.brand { font-weight: 700; color: var(--code); letter-spacing: 0.04em; }
|
|
25
|
+
.slider-wrap { display: flex; align-items: center; gap: 10px; flex: 1; }
|
|
26
|
+
.slider-wrap input[type="range"] { flex: 1; accent-color: var(--code); }
|
|
27
|
+
.stats { color: var(--muted); font-size: 12px; }
|
|
28
|
+
|
|
29
|
+
.layout {
|
|
30
|
+
display: grid;
|
|
31
|
+
grid-template-columns: 220px 1fr 300px;
|
|
32
|
+
height: calc(100vh - 86px);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.panel {
|
|
36
|
+
padding: 14px;
|
|
37
|
+
border-right: 1px solid var(--line);
|
|
38
|
+
overflow: auto;
|
|
39
|
+
background: var(--elev);
|
|
40
|
+
}
|
|
41
|
+
.panel.right { border-right: 0; border-left: 1px solid var(--line); }
|
|
42
|
+
.panel h2 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
|
|
43
|
+
.panel label { display: block; margin-bottom: 8px; font-size: 12px; color: var(--muted); }
|
|
44
|
+
.panel input[type="text"] {
|
|
45
|
+
width: 100%;
|
|
46
|
+
margin-top: 4px;
|
|
47
|
+
padding: 8px;
|
|
48
|
+
border-radius: 8px;
|
|
49
|
+
border: 1px solid var(--line);
|
|
50
|
+
background: #0c1117;
|
|
51
|
+
color: var(--ink);
|
|
52
|
+
}
|
|
53
|
+
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 12px; padding: 8px 10px; }
|
|
54
|
+
legend { font-size: 11px; color: var(--muted); padding: 0 4px; }
|
|
55
|
+
.hint { font-size: 11px; color: var(--muted); }
|
|
56
|
+
|
|
57
|
+
#cy { width: 100%; height: 100%; background: radial-gradient(circle at 70% 30%, rgba(61,255,197,0.06), transparent 45%), var(--bg); }
|
|
58
|
+
|
|
59
|
+
.legend {
|
|
60
|
+
display: flex;
|
|
61
|
+
gap: 16px;
|
|
62
|
+
align-items: center;
|
|
63
|
+
padding: 8px 16px;
|
|
64
|
+
border-top: 1px solid var(--line);
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
color: var(--muted);
|
|
67
|
+
}
|
|
68
|
+
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
|
|
69
|
+
.dot.code { background: var(--code); }
|
|
70
|
+
.dot.decision { background: var(--decision); }
|
|
71
|
+
.dot.edge { background: var(--git); }
|
|
72
|
+
.muted { color: var(--muted); }
|
|
73
|
+
|
|
74
|
+
.card {
|
|
75
|
+
border: 1px solid rgba(255, 180, 84, 0.35);
|
|
76
|
+
background: rgba(255, 180, 84, 0.08);
|
|
77
|
+
border-radius: 10px;
|
|
78
|
+
padding: 10px;
|
|
79
|
+
margin-bottom: 10px;
|
|
80
|
+
font-size: 12px;
|
|
81
|
+
line-height: 1.5;
|
|
82
|
+
}
|
|
83
|
+
.card strong { color: var(--decision); }
|
|
84
|
+
|
|
85
|
+
@media (prefers-reduced-motion: reduce) {
|
|
86
|
+
* { transition: none !important; animation: none !important; }
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (max-width: 960px) {
|
|
90
|
+
.layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
|
|
91
|
+
.panel.right { border-left: 0; border-top: 1px solid var(--line); }
|
|
92
|
+
}
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: codegraphx
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Turn code structure, history, and design decisions into one queryable graph
|
|
5
|
+
Project-URL: Homepage, https://github.com/fourwich/codegraph
|
|
6
|
+
Project-URL: Repository, https://github.com/fourwich/codegraph
|
|
7
|
+
Project-URL: Documentation, https://github.com/fourwich/codegraph#readme
|
|
8
|
+
Project-URL: Bug Tracker, https://github.com/fourwich/codegraph/issues
|
|
9
|
+
Author: CodeGraph Contributors
|
|
10
|
+
License: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: code-graph,developer-tools,git,provenance,tree-sitter
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
19
|
+
Classifier: Topic :: Software Development :: Version Control :: Git
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
|
+
Requires-Dist: fastapi>=0.110.0
|
|
22
|
+
Requires-Dist: gitpython>=3.1.40
|
|
23
|
+
Requires-Dist: httpx>=0.27.0
|
|
24
|
+
Requires-Dist: pydantic>=2.5.0
|
|
25
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
26
|
+
Requires-Dist: rich>=13.7.0
|
|
27
|
+
Requires-Dist: tree-sitter-cpp>=0.21.0
|
|
28
|
+
Requires-Dist: tree-sitter-go>=0.21.0
|
|
29
|
+
Requires-Dist: tree-sitter-java>=0.21.0
|
|
30
|
+
Requires-Dist: tree-sitter-python>=0.23
|
|
31
|
+
Requires-Dist: tree-sitter-rust>=0.21.0
|
|
32
|
+
Requires-Dist: tree-sitter-typescript>=0.23
|
|
33
|
+
Requires-Dist: tree-sitter>=0.22
|
|
34
|
+
Requires-Dist: typer>=0.12.0
|
|
35
|
+
Requires-Dist: uvicorn[standard]>=0.29.0
|
|
36
|
+
Provides-Extra: dev
|
|
37
|
+
Requires-Dist: httpx>=0.27.0; extra == 'dev'
|
|
38
|
+
Requires-Dist: mypy>=1.8.0; extra == 'dev'
|
|
39
|
+
Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
|
|
40
|
+
Requires-Dist: pytest>=8.0.0; extra == 'dev'
|
|
41
|
+
Requires-Dist: ruff>=0.4.0; extra == 'dev'
|
|
42
|
+
Description-Content-Type: text/markdown
|
|
43
|
+
|
|
44
|
+
# CodeGraph
|
|
45
|
+
|
|
46
|
+

|
|
47
|
+

|
|
48
|
+

|
|
49
|
+

|
|
50
|
+
|
|
51
|
+
**English:** Turn code structure, git history, and design decisions into one queryable graph — ask “why is this line here?” and get a decision card, not just a blame line.
|
|
52
|
+
|
|
53
|
+
Why not just ask an AI? Because AI cannot read a closed issue from two years ago — and because a commit subject is not an answer. CodeGraph shows a decision card only when the record states a reason or a rejected alternative; everything else is kept as history you can ask for explicitly. On Express.js that means **22 decisions out of 242 records**, not 174 "decisions" that were mostly version bumps.
|
|
54
|
+
|
|
55
|
+
**中文:** 把代码结构、历史变更和设计决策变成一张可查询的图。不只回答「谁改的」,更回答「为什么这么写」。
|
|
56
|
+
|
|
57
|
+
**Status:** alpha · 8 CLI commands · 7 languages · SQLite storage · 235 tests
|
|
58
|
+
|
|
59
|
+
> **Note on the Devpost numbers.** The hackathon entry was submitted before two
|
|
60
|
+
> bugs were found while measuring a sixth and seventh project, and the page was
|
|
61
|
+
> frozen at the deadline. An all-caps C macro was being parsed as a function
|
|
62
|
+
> (`fmt` reported 416k edges instead of 104k), and the edge table stored one row
|
|
63
|
+
> per call site rather than one per relationship (6–12% of rows were duplicates).
|
|
64
|
+
> Every table in this repository carries the corrected figures; the Devpost page
|
|
65
|
+
> shows the pre-fix ones. [docs/devpost_edit_kit.md](docs/devpost_edit_kit.md)
|
|
66
|
+
> keeps the published text as the record of what the judges saw.
|
|
67
|
+
|
|
68
|
+
See [docs/architecture.md](docs/architecture.md) for the full architecture overview.
|
|
69
|
+
|
|
70
|
+
- GitHub: https://github.com/fourwich/codegraph
|
|
71
|
+
- Live demo: https://fourwich.github.io/codegraph
|
|
72
|
+
|
|
73
|
+
### What it looks like
|
|
74
|
+
|
|
75
|
+
`codegraph why` on a line of this repository — the card is the ADR that decided
|
|
76
|
+
the line, reached from the line itself:
|
|
77
|
+
|
|
78
|
+

|
|
79
|
+
|
|
80
|
+
`codegraph index` builds the graph; the counts below are real output from this
|
|
81
|
+
repository:
|
|
82
|
+
|
|
83
|
+

|
|
84
|
+
|
|
85
|
+
`codegraph decisions --timeline` lists decisions oldest first, and
|
|
86
|
+
`codegraph conflicts` reports contradictions it can justify:
|
|
87
|
+
|
|
88
|
+
<p>
|
|
89
|
+
<img src="docs/assets/decisions.svg" alt="decision timeline" width="46%" />
|
|
90
|
+
<img src="docs/assets/conflicts.svg" alt="conflict report" width="52%" />
|
|
91
|
+
</p>
|
|
92
|
+
|
|
93
|
+
These are not mockups: `scripts/render_terminal_svg.py` renders text captured
|
|
94
|
+
from an actual run, so a screenshot cannot drift from the tool.
|
|
95
|
+
|
|
96
|
+
See [benchmarks](docs/benchmarks.md) for real-project attempts and synthetic performance numbers.
|
|
97
|
+
See [case study on Express.js](docs/case-study.md) for real-world results after JavaScript support.
|
|
98
|
+
See [decision extraction](docs/extraction-recall.md) for how `decision` and `event` records are separated, and how to reproduce the precision numbers.
|
|
99
|
+
|
|
100
|
+
### Reviewing this in five minutes
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
pip install -e ".[dev]" # or: uv pip install -e ".[dev]"
|
|
104
|
+
pytest -q # 235 tests, no network needed
|
|
105
|
+
codegraph index . # builds the graph for this repository
|
|
106
|
+
codegraph why src/codegraph/storage.py:200 # one decision card, end to end
|
|
107
|
+
codegraph graph --at 2026-09-28 --scope src # the same repository in the past
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Then: [the architecture](docs/architecture.md) ·
|
|
111
|
+
[what was measured and what is still a limitation](docs/extraction-recall.md) ·
|
|
112
|
+
[the JSON contract for editors](docs/json-contract.md) ·
|
|
113
|
+
[the 5-minute pitch script](docs/pitch_5min.md).
|
|
114
|
+
|
|
115
|
+
## Status
|
|
116
|
+
|
|
117
|
+
Verified with `pytest -q` and `codegraph --help` (235 tests passing, over 80% coverage).
|
|
118
|
+
|
|
119
|
+
Every test count in this README and in `docs/` is checked against `pytest --collect-only` by `scripts/check_materials.py`, which runs in CI — a stale number fails the build instead of shipping.
|
|
120
|
+
|
|
121
|
+
- [x] Product site (HTML / CSS / JS)
|
|
122
|
+
- [x] CLI with 8 commands (`index` / `why` / `graph` / `decisions` / `conflicts` / `export` / `serve` / `diff`)
|
|
123
|
+
- [x] tree-sitter parsing (7 languages)
|
|
124
|
+
- [x] SQLite storage
|
|
125
|
+
- [x] Real Git history traversal
|
|
126
|
+
- [x] Decision extraction from commits, ADRs, CHANGELOG — with a `decision` / `event` tier split
|
|
127
|
+
- [x] Real time-travel queries (`graph --at`)
|
|
128
|
+
- [x] 235 tests passing
|
|
129
|
+
- [x] Local web visualization (`codegraph serve`)
|
|
130
|
+
- [x] VSCode extension + `why --json` (vsix packaged and installable)
|
|
131
|
+
- [x] Optional Ollama hook (`--use-llm`)
|
|
132
|
+
|
|
133
|
+
## Language support
|
|
134
|
+
|
|
135
|
+
| Language | Extensions | Parser |
|
|
136
|
+
|---|---|---|
|
|
137
|
+
| TypeScript | `.ts` `.tsx` | `treesitter_ts.py` |
|
|
138
|
+
| JavaScript | `.js` `.mjs` `.cjs` | `treesitter_js.py` |
|
|
139
|
+
| Python | `.py` | `treesitter_py.py` |
|
|
140
|
+
| Java | `.java` | `treesitter_java.py` |
|
|
141
|
+
| Go | `.go` | `treesitter_go.py` |
|
|
142
|
+
| Rust | `.rs` | `treesitter_rust.py` |
|
|
143
|
+
| C++ | `.cpp` `.cc` `.cxx` `.hpp` `.hh` `.hxx` `.h` | `treesitter_cpp.py` |
|
|
144
|
+
|
|
145
|
+
## Quick start
|
|
146
|
+
|
|
147
|
+
CodeGraph is not on PyPI yet. Install from source:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
git clone https://github.com/fourwich/codegraph
|
|
151
|
+
cd codegraph
|
|
152
|
+
|
|
153
|
+
# recommended: uv
|
|
154
|
+
uv venv
|
|
155
|
+
uv pip install -e ".[dev]"
|
|
156
|
+
|
|
157
|
+
# or: venv + pip
|
|
158
|
+
python -m venv .venv
|
|
159
|
+
.venv\Scripts\pip install -e ".[dev]" # Windows
|
|
160
|
+
# source .venv/bin/activate && pip install -e ".[dev]" # macOS/Linux
|
|
161
|
+
|
|
162
|
+
# then, from any repository you want to inspect
|
|
163
|
+
codegraph index .
|
|
164
|
+
codegraph why src/main.py:42
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
## Commands (8)
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
codegraph --help
|
|
171
|
+
codegraph index . [--depth N] [--use-llm] [--json] [--full]
|
|
172
|
+
codegraph why docs/adr/001-use-sqlite-default.md:1 [--json] [--include-events]
|
|
173
|
+
codegraph graph --at 2026-09-23 --scope src
|
|
174
|
+
codegraph decisions --timeline [--file PATH] [--include-events]
|
|
175
|
+
codegraph diff 2026-09-23 2026-09-24 --scope src
|
|
176
|
+
codegraph conflicts --scope src # opposite / supersede / temporal
|
|
177
|
+
codegraph export --for-ai --scope src
|
|
178
|
+
codegraph serve --port 8080
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
`why` answers about a code location; a decision that is only bound at file level
|
|
182
|
+
says so, and a location with no decision says so instead of guessing. Add
|
|
183
|
+
`--include-events` to see the commit history behind a line.
|
|
184
|
+
|
|
185
|
+
Decisions that have no commit of their own (ADRs, CHANGELOG entries) bind to the
|
|
186
|
+
code they declare, so a design rule is reachable from the line it governs:
|
|
187
|
+
|
|
188
|
+
```markdown
|
|
189
|
+
# ADR-001: SQLite as the default graph store
|
|
190
|
+
|
|
191
|
+
<!-- governs: src/codegraph/storage.py -->
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
## Tech stack
|
|
195
|
+
|
|
196
|
+
| Layer | Choice |
|
|
197
|
+
|---|---|
|
|
198
|
+
| CLI | Python · Typer · Rich |
|
|
199
|
+
| Models | pydantic |
|
|
200
|
+
| Parsing | tree-sitter (+ language grammars) |
|
|
201
|
+
| Git | GitPython |
|
|
202
|
+
| Storage | SQLite (local `.codegraph/graph.db`) |
|
|
203
|
+
| Web | FastAPI · Uvicorn · Cytoscape.js |
|
|
204
|
+
| LLM (optional) | Ollama via httpx |
|
|
205
|
+
| Editor | VSCode extension (TypeScript, `vscode-extension/`) |
|
|
206
|
+
| Tests | pytest |
|
|
207
|
+
|
|
208
|
+
## Tests
|
|
209
|
+
|
|
210
|
+
```bash
|
|
211
|
+
pytest -q
|
|
212
|
+
# with coverage
|
|
213
|
+
pytest --cov=src/codegraph
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
## Storage
|
|
217
|
+
|
|
218
|
+
Everything lives in one local SQLite database at `.codegraph/graph.db`, created
|
|
219
|
+
by `codegraph index`. There is no server, no Docker and no network dependency.
|
|
220
|
+
|
|
221
|
+
A native graph backend (Dgraph or similar) was prototyped and **removed**: it was
|
|
222
|
+
503 lines of untested client code behind `--backend dgraph`, with no multi-hop
|
|
223
|
+
query that needed it, and two of its code paths returned sample data or silently
|
|
224
|
+
ignored the flag. It comes back when a real multi-hop query justifies it — see
|
|
225
|
+
[docs/adr/006-drop-dgraph-backend.md](docs/adr/006-drop-dgraph-backend.md).
|
|
226
|
+
|
|
227
|
+
## Project layout
|
|
228
|
+
|
|
229
|
+
```text
|
|
230
|
+
src/codegraph/
|
|
231
|
+
cli.py # Typer entrypoint
|
|
232
|
+
models.py # CodeNode / Edge / Decision
|
|
233
|
+
storage.py # SQLite graph store
|
|
234
|
+
parser/ # tree-sitter parsers (7 languages)
|
|
235
|
+
commands/ # index / why / graph / decisions / conflicts / export / serve / diff
|
|
236
|
+
tests/
|
|
237
|
+
docs/ # case study, benchmarks, ADRs, demo script, submission copy
|
|
238
|
+
index.html # product site
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
## Docs
|
|
242
|
+
|
|
243
|
+
- Architecture: `docs/architecture.md`
|
|
244
|
+
- Decision extraction and precision: `docs/extraction-recall.md`
|
|
245
|
+
- Case study on Express.js: `docs/case-study.md`
|
|
246
|
+
- Architecture decisions: `docs/adr/`
|
|
247
|
+
- 60s demo voiceover: `docs/demo_voiceover.md`
|
|
248
|
+
- Competition copy: `docs/competition_submission.md`
|
|
249
|
+
- Contributing: `CONTRIBUTING.md`
|
|
250
|
+
|
|
251
|
+
## Development notes
|
|
252
|
+
|
|
253
|
+
Built with AI coding assistants for API discovery, debugging, and documentation. Architecture, design decisions, and final code review are my own.
|
|
254
|
+
|
|
255
|
+
## License
|
|
256
|
+
|
|
257
|
+
MIT
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
codegraph/__init__.py,sha256=JmNqC1xG1gYwqZwTFIpz_z3dwqowNt-0NrdyvJ8GXeM,1401
|
|
2
|
+
codegraph/cli.py,sha256=8XIWf8W1WU3JaThxyUvLo6E6-N0Oj-Z5mJ504p_Fv7g,2908
|
|
3
|
+
codegraph/models.py,sha256=6JbfukxudrZNc38B29uQ9fb9cBXhUXCRxjEBfvfdk8s,7639
|
|
4
|
+
codegraph/storage.py,sha256=sC8B-r2x_phRhvzryyvRi8xNMN3hhiSUENK8qxP8oOY,27662
|
|
5
|
+
codegraph/commands/__init__.py,sha256=t_DltEhoMep1U_Ttg_9V1-cixMuT62wfXXYw3dAzjxk,36
|
|
6
|
+
codegraph/commands/conflicts.py,sha256=oKkspGjHOJf9AUcJGhOg3Onee-ZX7L038BCMYU9sFc0,5200
|
|
7
|
+
codegraph/commands/diff.py,sha256=jrnV6oqn5u62VRfyP6SX4nso2R5Qqv4H4Vr5EdPH5DA,6653
|
|
8
|
+
codegraph/commands/export.py,sha256=PozFe7hXB4H7R9GtcGBBzXGot00Awbt0Mdf-gIOU9n4,4876
|
|
9
|
+
codegraph/commands/graph.py,sha256=9rjcXdbXK9J0J2TcflcHIRBx8H3-QBKIhApxSStmKAk,6469
|
|
10
|
+
codegraph/commands/index.py,sha256=VNYQHF6PTEbxjJrXAelQTuWcHoB-1YTEn3WKTP_rMtA,33679
|
|
11
|
+
codegraph/commands/serve.py,sha256=NhFqkFuCjsPSITYunhEEXgrTsIDm9Y0-xoyUh0_x_r0,1689
|
|
12
|
+
codegraph/commands/why.py,sha256=kSBn8inGwg_7Cb7nZl0gcLLb9E7veIgIOhWjeKUX520,22220
|
|
13
|
+
codegraph/decisions/__init__.py,sha256=eaD6rIw5TImSlhH8V5Wa-iEyLvMiyZeHuq__J1h3Ibo,434
|
|
14
|
+
codegraph/decisions/conflicts.py,sha256=OLKu9yQ_mM27Tkij5HhW8acleoCwqbYdLN0w-J4z6IU,8788
|
|
15
|
+
codegraph/decisions/extractor.py,sha256=OWOUoUSsW06DNkZetQg0paF4i7zNKG5KaGtwBMv50w0,22060
|
|
16
|
+
codegraph/decisions/llm_extractor.py,sha256=_3STfOUzW_PlJWCY5cseoIqdSgAGMTg3tf2uTrWWKos,5075
|
|
17
|
+
codegraph/decisions/sources.py,sha256=t-O6iU44bBOwmqvMUIr2MCg2SLjLTshCz6WFxPyE1P4,10411
|
|
18
|
+
codegraph/git/__init__.py,sha256=6nxd3OVBrsIKPLOXDpkOezKo3fykq7udsUCc0TPV9UQ,130
|
|
19
|
+
codegraph/git/diff.py,sha256=MvNHs3lf_RWcj3wDlGoP5IXwEg7hApH1ZU3qZLOldHM,3899
|
|
20
|
+
codegraph/git/history.py,sha256=StNy2B9pjuMl5uXsQ022JYqgrOcbiEQ2Gdjm6KLsdEM,5767
|
|
21
|
+
codegraph/git/incremental.py,sha256=a_RQ1CxdbaKuBFcRAxIUPRLOcUboc4iNs3GPuAZOiWc,2321
|
|
22
|
+
codegraph/git/refs.py,sha256=YowE0h2Cf-N8VwjKf93NiHwPCYE5Jey6QCUPB8KqfkA,2562
|
|
23
|
+
codegraph/parser/__init__.py,sha256=wCh05QixSoqx59ODlNBEAGQY3glOASCJ7WjyCsMk2Ho,60
|
|
24
|
+
codegraph/parser/base.py,sha256=izCSRwd9o2gyb8SOltU73WWZua_Q9kNx5FTMrDfpHjU,5786
|
|
25
|
+
codegraph/parser/common.py,sha256=Q5shVobtoXwR2ETvdQf5CcljiwyNFllnyGof0rKGq9s,4771
|
|
26
|
+
codegraph/parser/parallel.py,sha256=muzld_As8Ffcvn46B1Ax7nEMcGSVyyuUt1tGLqGrKXQ,3072
|
|
27
|
+
codegraph/parser/registry.py,sha256=DT6cyVp0HbxK48q7WmMRjE4NJbzZU0MD9Oi9AgKSNII,2416
|
|
28
|
+
codegraph/parser/treesitter_cpp.py,sha256=btIglIPv6Otv9C0Xz1BTgJRJFIgdAGzLIWY22ldzqkQ,3728
|
|
29
|
+
codegraph/parser/treesitter_go.py,sha256=yX9_QCZm92aIk-aI_Pg2-FLnWE19hWuRpXRj8bF5NLo,4090
|
|
30
|
+
codegraph/parser/treesitter_java.py,sha256=OuhugWRdT1fC6H7GSDXWgwCNOVu2z5DI1e-lilw-BnE,2822
|
|
31
|
+
codegraph/parser/treesitter_js.py,sha256=EY_wbF5PlExjBR40-CLshPnLAx0uUYy9njU1bQPsJ80,437
|
|
32
|
+
codegraph/parser/treesitter_py.py,sha256=2AiCf0wVmQR81fGrIfcKRWpwz068IxIyQWFIqo3l_hc,5319
|
|
33
|
+
codegraph/parser/treesitter_rust.py,sha256=jA6bbFP_rH8Qiu00DKOI9F05itRkbgt0BMexNQsdF-k,4083
|
|
34
|
+
codegraph/parser/treesitter_ts.py,sha256=ZHS6ku97V1kTPZCwdLzGhzoZqM-oaMToOeG0J-UDpA4,6127
|
|
35
|
+
codegraph/web/__init__.py,sha256=b1co8N5G8X0SX8bdBjCNO5q3M717T9K2kx0asuS1C0c,40
|
|
36
|
+
codegraph/web/app.py,sha256=HrLaeeaRYCBQ5hlaSqS9A03TBV15rScoi21gAdo9vL8,9260
|
|
37
|
+
codegraph/web/static/app.js,sha256=bUy3-NkqBXQSu440HKfmPCpMocmD0BCGHb5uS2zxGyo,10300
|
|
38
|
+
codegraph/web/static/index.html,sha256=AMtwJg7X49p7PHxA6Y2poR7Kewb-k0U3Pi62PociqQg,2252
|
|
39
|
+
codegraph/web/static/styles.css,sha256=0xBgVs-jE4PqzbKDWhaT98ABzDIYGRf1i7LZCH3tD2s,2837
|
|
40
|
+
codegraphx-0.1.0.dist-info/METADATA,sha256=Jg5sE2waf8I2vkk-uPhE3plbmeiCxNfjKZVJxvnofgA,10145
|
|
41
|
+
codegraphx-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
42
|
+
codegraphx-0.1.0.dist-info/entry_points.txt,sha256=U2xQ3yhqOaaDyFtV9p7N0FDref1VEk56RE_Bnvrnycc,48
|
|
43
|
+
codegraphx-0.1.0.dist-info/licenses/LICENSE,sha256=TGgCx9AzQUW6gaoSZJ1yEQvBHfn6mMsgk8l6EgyGjs0,1079
|
|
44
|
+
codegraphx-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 CodeGraph Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|