descry-codegraph 0.1.1__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.
- descry_codegraph-0.3.0/.github/assets/01-landing.png +0 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/.github/workflows/ci.yml +3 -3
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/.github/workflows/release.yml +9 -4
- descry_codegraph-0.3.0/CHANGELOG.md +745 -0
- descry_codegraph-0.3.0/CLAUDE.md +82 -0
- descry_codegraph-0.3.0/PKG-INFO +492 -0
- descry_codegraph-0.3.0/README.md +427 -0
- descry_codegraph-0.3.0/THIRD-PARTY-NOTICES.md +23 -0
- descry_codegraph-0.3.0/claude-skill/README.md +112 -0
- descry_codegraph-0.3.0/claude-skill/descry/SKILL.md +252 -0
- descry_codegraph-0.3.0/claude-skill/descry/references/cli-reference.md +155 -0
- descry_codegraph-0.3.0/claude-skill/descry/references/mcp-tools.md +76 -0
- descry_codegraph-0.3.0/claude-skill/descry/references/recipes.md +156 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/justfile +2 -2
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/pi-extension/README.md +1 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/pi-extension/descry-cli.py +2 -2
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/pi-extension/descry-tools.ts +21 -5
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/pyproject.toml +25 -14
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/src/descry/__init__.py +1 -1
- descry_codegraph-0.3.0/src/descry/_comments.py +84 -0
- descry_codegraph-0.3.0/src/descry/_env.py +8 -0
- descry_codegraph-0.3.0/src/descry/_files.py +49 -0
- descry_codegraph-0.3.0/src/descry/_graph.py +110 -0
- descry_codegraph-0.3.0/src/descry/_stdlib.py +71 -0
- descry_codegraph-0.3.0/src/descry/clang_parser.py +1690 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/src/descry/cli.py +23 -6
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/src/descry/cross_lang.py +140 -116
- descry_codegraph-0.3.0/src/descry/dart_parser.py +1701 -0
- descry_codegraph-0.3.0/src/descry/dotnet_parser.py +1359 -0
- descry_codegraph-0.3.0/src/descry/embeddings.py +929 -0
- descry_codegraph-0.3.0/src/descry/generate.py +25633 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/src/descry/git_history.py +415 -281
- descry_codegraph-0.3.0/src/descry/go_parser.py +920 -0
- descry_codegraph-0.3.0/src/descry/handlers.py +3092 -0
- descry_codegraph-0.3.0/src/descry/java_parser.py +881 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/src/descry/mcp_server.py +43 -9
- descry_codegraph-0.3.0/src/descry/php_parser.py +1266 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/src/descry/query.py +396 -263
- descry_codegraph-0.3.0/src/descry/ruby_parser.py +1468 -0
- descry_codegraph-0.3.0/src/descry/scip/adapter.py +234 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/__init__.py +23 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/_java_compat.init.gradle +21 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/clang.py +160 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/dart.py +158 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/dotnet.py +273 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/go.py +138 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/java.py +382 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/php.py +269 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/python.py +133 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/ruby.py +134 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/rust.py +283 -0
- descry_codegraph-0.3.0/src/descry/scip/adapters/typescript.py +297 -0
- descry_codegraph-0.3.0/src/descry/scip/cache.py +837 -0
- descry_codegraph-0.3.0/src/descry/scip/parser.py +616 -0
- descry_codegraph-0.3.0/src/descry/scip/support.py +70 -0
- descry_codegraph-0.3.0/src/descry/stdlib/c.json +1231 -0
- descry_codegraph-0.3.0/src/descry/stdlib/cpp.json +11711 -0
- descry_codegraph-0.3.0/src/descry/stdlib/dart.json +24956 -0
- descry_codegraph-0.3.0/src/descry/stdlib/dotnet.json +74874 -0
- descry_codegraph-0.3.0/src/descry/stdlib/go.json +14493 -0
- descry_codegraph-0.3.0/src/descry/stdlib/java.json +27459 -0
- descry_codegraph-0.3.0/src/descry/stdlib/node.json +122 -0
- descry_codegraph-0.3.0/src/descry/stdlib/php.json +7727 -0
- descry_codegraph-0.3.0/src/descry/stdlib/python.json +60134 -0
- descry_codegraph-0.3.0/src/descry/stdlib/ruby.json +12635 -0
- descry_codegraph-0.3.0/src/descry/stdlib/rust.json +52434 -0
- descry_codegraph-0.3.0/src/descry/stdlib/typescript.json +24232 -0
- descry_codegraph-0.3.0/src/descry/web/server.py +1072 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/src/descry/web/web/index.html +34 -16
- descry_codegraph-0.3.0/tests/conftest.py +135 -0
- descry_codegraph-0.3.0/tests/eval/README.md +67 -0
- descry_codegraph-0.3.0/tests/eval/__init__.py +0 -0
- descry_codegraph-0.3.0/tests/eval/compare.py +159 -0
- descry_codegraph-0.3.0/tests/eval/corpus.py +80 -0
- descry_codegraph-0.3.0/tests/eval/metrics.py +61 -0
- descry_codegraph-0.3.0/tests/eval/registry.py +47 -0
- descry_codegraph-0.3.0/tests/eval/results/results-descry.json +271 -0
- descry_codegraph-0.3.0/tests/eval/results/results-ripgrep.json +271 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/tests/fixtures/small_graph.json +1 -1
- descry_codegraph-0.3.0/tests/test_backtracking.py +243 -0
- descry_codegraph-0.3.0/tests/test_clang_parser.py +930 -0
- descry_codegraph-0.3.0/tests/test_cli.py +227 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/tests/test_config.py +58 -30
- descry_codegraph-0.3.0/tests/test_cross_lang.py +376 -0
- descry_codegraph-0.3.0/tests/test_dart_parser.py +645 -0
- descry_codegraph-0.3.0/tests/test_dotnet_parser.py +887 -0
- descry_codegraph-0.3.0/tests/test_embeddings.py +1185 -0
- descry_codegraph-0.3.0/tests/test_generate.py +30841 -0
- descry_codegraph-0.3.0/tests/test_git_history.py +1239 -0
- descry_codegraph-0.3.0/tests/test_go_parser.py +512 -0
- descry_codegraph-0.3.0/tests/test_handlers.py +1559 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/tests/test_hardening.py +227 -16
- descry_codegraph-0.3.0/tests/test_java_parser.py +412 -0
- descry_codegraph-0.3.0/tests/test_mcp.py +366 -0
- descry_codegraph-0.3.0/tests/test_non_regular_files.py +161 -0
- descry_codegraph-0.3.0/tests/test_php_parser.py +685 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/tests/test_query.py +634 -42
- descry_codegraph-0.3.0/tests/test_ruby_parser.py +841 -0
- descry_codegraph-0.3.0/tests/test_scip.py +848 -0
- descry_codegraph-0.3.0/tests/test_scip_cache.py +400 -0
- descry_codegraph-0.3.0/tests/test_scip_clang.py +134 -0
- descry_codegraph-0.3.0/tests/test_scip_dart.py +154 -0
- descry_codegraph-0.3.0/tests/test_scip_dotnet.py +97 -0
- descry_codegraph-0.3.0/tests/test_scip_go.py +103 -0
- descry_codegraph-0.3.0/tests/test_scip_java.py +550 -0
- descry_codegraph-0.3.0/tests/test_scip_php.py +63 -0
- descry_codegraph-0.3.0/tests/test_scip_ruby.py +81 -0
- descry_codegraph-0.3.0/tests/test_stdlib.py +544 -0
- descry_codegraph-0.3.0/tests/test_web_server.py +1968 -0
- descry_codegraph-0.3.0/tests/test_written_through.py +220 -0
- descry_codegraph-0.3.0/tools/stdlib/README.md +383 -0
- descry_codegraph-0.3.0/tools/stdlib/common.py +76 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_c.py +227 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_cpp.py +668 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_dart.py +309 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_dotnet.py +377 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_go.py +181 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_java.py +270 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_node.py +50 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_php.py +291 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_python.py +623 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_ruby.py +224 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_rust.py +609 -0
- descry_codegraph-0.3.0/tools/stdlib/gen_typescript.py +455 -0
- descry_codegraph-0.1.1/CHANGELOG.md +0 -68
- descry_codegraph-0.1.1/CLAUDE.md +0 -69
- descry_codegraph-0.1.1/PKG-INFO +0 -345
- descry_codegraph-0.1.1/README.md +0 -280
- descry_codegraph-0.1.1/src/descry/_env.py +0 -30
- descry_codegraph-0.1.1/src/descry/_graph.py +0 -36
- descry_codegraph-0.1.1/src/descry/ast_grep.py +0 -356
- descry_codegraph-0.1.1/src/descry/embeddings.py +0 -552
- descry_codegraph-0.1.1/src/descry/generate.py +0 -3578
- descry_codegraph-0.1.1/src/descry/handlers.py +0 -1936
- descry_codegraph-0.1.1/src/descry/scip/cache.py +0 -1047
- descry_codegraph-0.1.1/src/descry/scip/parser.py +0 -509
- descry_codegraph-0.1.1/src/descry/scip/support.py +0 -174
- descry_codegraph-0.1.1/src/descry/tree_sitter_parser.py +0 -356
- descry_codegraph-0.1.1/src/descry/web/server.py +0 -1480
- descry_codegraph-0.1.1/tests/conftest.py +0 -29
- descry_codegraph-0.1.1/tests/test_cli.py +0 -66
- descry_codegraph-0.1.1/tests/test_generate.py +0 -859
- descry_codegraph-0.1.1/tests/test_git_history.py +0 -223
- descry_codegraph-0.1.1/tests/test_handlers.py +0 -252
- descry_codegraph-0.1.1/tests/test_mcp.py +0 -96
- descry_codegraph-0.1.1/tests/test_scip.py +0 -319
- descry_codegraph-0.1.1/tests/test_tree_sitter_parser.py +0 -125
- descry_codegraph-0.1.1/tests/test_web_server.py +0 -210
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/.gitignore +0 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/LICENSE +0 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/SECURITY.md +0 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/src/descry/scip/__init__.py +0 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/src/descry/scip/pb2.py +0 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/src/descry/web/__init__.py +0 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/src/descry/web/web/style.css +0 -0
- {descry_codegraph-0.1.1 → descry_codegraph-0.3.0}/tests/__init__.py +0 -0
|
Binary file
|
|
@@ -19,9 +19,9 @@ jobs:
|
|
|
19
19
|
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
20
20
|
with:
|
|
21
21
|
python-version: "3.12"
|
|
22
|
-
- run: uv pip install --system ruff
|
|
23
|
-
- run: ruff check src/ tests/
|
|
24
|
-
- run: ruff format --check src/ tests/
|
|
22
|
+
- run: uv pip install --system ruff==0.16.4
|
|
23
|
+
- run: ruff check src/ tests/ tools/
|
|
24
|
+
- run: ruff format --check src/ tests/ tools/
|
|
25
25
|
|
|
26
26
|
test:
|
|
27
27
|
runs-on: ubuntu-latest
|
|
@@ -27,11 +27,14 @@ jobs:
|
|
|
27
27
|
steps:
|
|
28
28
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
29
29
|
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
|
|
30
|
+
with:
|
|
31
|
+
version: "0.12.23"
|
|
30
32
|
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
31
33
|
with:
|
|
32
34
|
python-version: "3.12"
|
|
33
35
|
- name: Verify tag matches pyproject version
|
|
34
|
-
|
|
36
|
+
# A manual run that targets PyPI must be dispatched from the release tag.
|
|
37
|
+
if: github.event_name == 'push' || inputs.target == 'pypi'
|
|
35
38
|
env:
|
|
36
39
|
GIT_TAG: ${{ github.ref_name }}
|
|
37
40
|
run: |
|
|
@@ -45,7 +48,7 @@ jobs:
|
|
|
45
48
|
run: uv build
|
|
46
49
|
- name: Check distributions with twine
|
|
47
50
|
run: |
|
|
48
|
-
uv pip install --system twine
|
|
51
|
+
uv pip install --system twine==7.0.0
|
|
49
52
|
twine check --strict dist/*
|
|
50
53
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
51
54
|
with:
|
|
@@ -59,6 +62,8 @@ jobs:
|
|
|
59
62
|
steps:
|
|
60
63
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
61
64
|
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
|
|
65
|
+
with:
|
|
66
|
+
version: "0.12.23"
|
|
62
67
|
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
63
68
|
with:
|
|
64
69
|
python-version: "3.12"
|
|
@@ -94,7 +99,7 @@ jobs:
|
|
|
94
99
|
# digest exists. Pinning to the version tag is the documented
|
|
95
100
|
# approach; PyPA controls this tag and tag mutation would be a
|
|
96
101
|
# notable event we'd catch via the trusted-publisher audit log.
|
|
97
|
-
uses: pypa/gh-action-pypi-publish@v1.14.
|
|
102
|
+
uses: pypa/gh-action-pypi-publish@v1.14.3
|
|
98
103
|
with:
|
|
99
104
|
repository-url: https://test.pypi.org/legacy/
|
|
100
105
|
|
|
@@ -120,4 +125,4 @@ jobs:
|
|
|
120
125
|
# digest exists. Pinning to the version tag is the documented
|
|
121
126
|
# approach; PyPA controls this tag and tag mutation would be a
|
|
122
127
|
# notable event we'd catch via the trusted-publisher audit log.
|
|
123
|
-
uses: pypa/gh-action-pypi-publish@v1.14.
|
|
128
|
+
uses: pypa/gh-action-pypi-publish@v1.14.3
|