intentgraph 0.3.0.dev0__tar.gz → 0.5.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.
Files changed (89) hide show
  1. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/.gitignore +214 -210
  2. intentgraph-0.5.0/PKG-INFO +588 -0
  3. intentgraph-0.5.0/README.md +543 -0
  4. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/pyproject.toml +173 -173
  5. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/__init__.py +65 -65
  6. intentgraph-0.5.0/src/intentgraph/adapters/parsers/__init__.py +52 -0
  7. intentgraph-0.5.0/src/intentgraph/adapters/parsers/javascript_parser.py +420 -0
  8. intentgraph-0.5.0/src/intentgraph/adapters/parsers/typescript_parser.py +535 -0
  9. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/application/services.py +36 -3
  10. intentgraph-0.5.0/src/intentgraph/cache.py +178 -0
  11. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/cli.py +618 -415
  12. intentgraph-0.5.0/src/intentgraph/query_engine.py +284 -0
  13. intentgraph-0.5.0/src/intentgraph/snapshot/__init__.py +35 -0
  14. intentgraph-0.5.0/src/intentgraph/snapshot/builder.py +207 -0
  15. intentgraph-0.5.0/src/intentgraph/snapshot/models.py +185 -0
  16. intentgraph-0.5.0/src/intentgraph/snapshot/runtime.py +311 -0
  17. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/integration/test_end_to_end.py +2 -2
  18. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/performance/test_benchmarks.py +2 -2
  19. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/property_based/test_parsers.py +1 -1
  20. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/test_adapters/test_enhanced_python_parser.py +2 -2
  21. intentgraph-0.5.0/tests/test_cache.py +386 -0
  22. intentgraph-0.5.0/tests/test_javascript_parser.py +301 -0
  23. intentgraph-0.5.0/tests/test_query_cli.py +450 -0
  24. intentgraph-0.5.0/tests/test_query_engine.py +594 -0
  25. intentgraph-0.5.0/tests/test_snapshot/__init__.py +1 -0
  26. intentgraph-0.5.0/tests/test_snapshot/conftest.py +166 -0
  27. intentgraph-0.5.0/tests/test_snapshot/fixtures/README.md +1 -0
  28. intentgraph-0.5.0/tests/test_snapshot/fixtures/malformed_toml/main.py +6 -0
  29. intentgraph-0.5.0/tests/test_snapshot/fixtures/malformed_toml/pyproject.toml +7 -0
  30. intentgraph-0.5.0/tests/test_snapshot/fixtures/mixed_tooling/.eslintrc.json +7 -0
  31. intentgraph-0.5.0/tests/test_snapshot/fixtures/mixed_tooling/.nvmrc +1 -0
  32. intentgraph-0.5.0/tests/test_snapshot/fixtures/mixed_tooling/.prettierrc.json +4 -0
  33. intentgraph-0.5.0/tests/test_snapshot/fixtures/mixed_tooling/index.js +5 -0
  34. intentgraph-0.5.0/tests/test_snapshot/fixtures/mixed_tooling/jest.config.js +3 -0
  35. intentgraph-0.5.0/tests/test_snapshot/fixtures/node_pnpm/index.ts +3 -0
  36. intentgraph-0.5.0/tests/test_snapshot/fixtures/node_pnpm/package.json +18 -0
  37. intentgraph-0.5.0/tests/test_snapshot/fixtures/node_pnpm/pnpm-lock.yaml +1 -0
  38. intentgraph-0.5.0/tests/test_snapshot/fixtures/node_pnpm/pnpm-workspace.yaml +2 -0
  39. intentgraph-0.5.0/tests/test_snapshot/fixtures/node_pnpm/tsconfig.json +8 -0
  40. intentgraph-0.5.0/tests/test_snapshot/fixtures/node_pnpm/vitest.config.ts +7 -0
  41. intentgraph-0.5.0/tests/test_snapshot/fixtures/python_poetry/app.py +13 -0
  42. intentgraph-0.5.0/tests/test_snapshot/fixtures/python_poetry/poetry.lock +4 -0
  43. intentgraph-0.5.0/tests/test_snapshot/fixtures/python_poetry/pyproject.toml +22 -0
  44. intentgraph-0.5.0/tests/test_snapshot/fixtures/structure_only/main.py +11 -0
  45. intentgraph-0.5.0/tests/test_snapshot/fixtures/structure_only/utils.py +13 -0
  46. intentgraph-0.5.0/tests/test_snapshot/test_determinism.py +138 -0
  47. intentgraph-0.5.0/tests/test_snapshot/test_edge_cases.py +187 -0
  48. intentgraph-0.5.0/tests/test_snapshot/test_runtime.py +137 -0
  49. intentgraph-0.5.0/tests/test_snapshot/test_structure.py +104 -0
  50. intentgraph-0.5.0/tests/test_typescript_parser.py +316 -0
  51. intentgraph-0.3.0.dev0/PKG-INFO +0 -688
  52. intentgraph-0.3.0.dev0/README.md +0 -643
  53. intentgraph-0.3.0.dev0/src/intentgraph/adapters/parsers/__init__.py +0 -39
  54. intentgraph-0.3.0.dev0/src/intentgraph/adapters/parsers/javascript_parser.py +0 -100
  55. intentgraph-0.3.0.dev0/src/intentgraph/adapters/parsers/typescript_parser.py +0 -102
  56. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/LICENSE +0 -0
  57. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/NOTICE +0 -0
  58. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/adapters/__init__.py +0 -0
  59. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/adapters/file_repository.py +0 -0
  60. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/adapters/git.py +0 -0
  61. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/adapters/output.py +0 -0
  62. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/adapters/parsers/base.py +0 -0
  63. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/adapters/parsers/enhanced_python_parser.py +0 -0
  64. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/adapters/parsers/go_parser.py +0 -0
  65. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/adapters/parsers/python_parser.py +0 -0
  66. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/ai/__init__.py +0 -0
  67. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/ai/agent.py +0 -0
  68. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/ai/manifest.py +0 -0
  69. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/ai/navigation.py +0 -0
  70. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/ai/query.py +0 -0
  71. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/ai/response.py +0 -0
  72. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/application/__init__.py +0 -0
  73. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/application/analyzer.py +0 -0
  74. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/application/clustering.py +0 -0
  75. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/application/streaming_analyzer.py +0 -0
  76. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/domain/__init__.py +0 -0
  77. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/domain/clustering.py +0 -0
  78. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/domain/exceptions.py +0 -0
  79. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/domain/graph.py +0 -0
  80. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/src/intentgraph/domain/models.py +0 -0
  81. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/conftest.py +0 -0
  82. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/test_adapters/__init__.py +0 -0
  83. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/test_adapters/test_git.py +0 -0
  84. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/test_adapters/test_output.py +0 -0
  85. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/test_application/test_analyzer.py +0 -0
  86. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/test_cli.py +0 -0
  87. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/test_domain/__init__.py +0 -0
  88. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/test_domain/test_graph.py +0 -0
  89. {intentgraph-0.3.0.dev0 → intentgraph-0.5.0}/tests/test_domain/test_models.py +0 -0
@@ -1,210 +1,214 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # Directories
7
- Agentic_*/
8
- .claude/
9
- .github/
10
- .ruff_cache
11
-
12
- # C extensions
13
- *.so
14
-
15
- # Distribution / packaging
16
- .Python
17
- build/
18
- develop-eggs/
19
- dist/
20
- downloads/
21
- eggs/
22
- .eggs/
23
- lib/
24
- lib64/
25
- parts/
26
- sdist/
27
- var/
28
- wheels/
29
- share/python-wheels/
30
- *.egg-info/
31
- .installed.cfg
32
- *.egg
33
- MANIFEST
34
-
35
- # PyInstaller
36
- # Usually these files are written by a python script from a template
37
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
38
- *.manifest
39
- *.spec
40
-
41
- # Installer logs
42
- pip-log.txt
43
- pip-delete-this-directory.txt
44
-
45
- # Unit test / coverage reports
46
- htmlcov/
47
- .tox/
48
- .nox/
49
- .coverage
50
- .coverage.*
51
- .cache
52
- nosetests.xml
53
- coverage.xml
54
- *.cover
55
- *.py,cover
56
- .hypothesis/
57
- .pytest_cache/
58
- cover/
59
-
60
- # Translations
61
- *.mo
62
- *.pot
63
-
64
- # Django stuff:
65
- *.log
66
- local_settings.py
67
- db.sqlite3
68
- db.sqlite3-journal
69
-
70
- # Flask stuff:
71
- instance/
72
- .webassets-cache
73
-
74
- # Scrapy stuff:
75
- .scrapy
76
-
77
- # Sphinx documentation
78
- docs/_build/
79
-
80
- # PyBuilder
81
- .pybuilder/
82
- target/
83
-
84
- # Jupyter Notebook
85
- .ipynb_checkpoints
86
-
87
- # IPython
88
- profile_default/
89
- ipython_config.py
90
-
91
- # pyenv
92
- # For a library or package, you might want to ignore these files since the code is
93
- # intended to run in multiple environments; otherwise, check them in:
94
- # .python-version
95
-
96
- # pipenv
97
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
98
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
99
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
100
- # install all needed dependencies.
101
- #Pipfile.lock
102
-
103
- # poetry
104
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
- # This is especially recommended for binary packages to ensure reproducibility, and is more
106
- # commonly ignored for libraries.
107
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
- #poetry.lock
109
-
110
- # pdm
111
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112
- #pdm.lock
113
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114
- # in version control.
115
- # https://pdm.fming.dev/#use-with-ide
116
- .pdm.toml
117
-
118
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
119
- __pypackages__/
120
-
121
- # Celery stuff
122
- celerybeat-schedule
123
- celerybeat.pid
124
-
125
- # SageMath parsed files
126
- *.sage.py
127
-
128
- # Environments
129
- .env
130
- .venv
131
- env/
132
- venv/
133
- ENV/
134
- env.bak/
135
- venv.bak/
136
-
137
- # Spyder project settings
138
- .spyderproject
139
- .spyproject
140
-
141
- # Rope project settings
142
- .ropeproject
143
-
144
- # mkdocs documentation
145
- /site
146
-
147
- # mypy
148
- .mypy_cache/
149
- .dmypy.json
150
- dmypy.json
151
-
152
- # Pyre type checker
153
- .pyre/
154
-
155
- # pytype static type analyzer
156
- .pytype/
157
-
158
- # Cython debug symbols
159
- cython_debug/
160
-
161
- # PyCharm
162
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
163
- # be added to the global gitignore or merged into this project gitignore. For a PyCharm
164
- # project, it is not recommended to check the version control system any of the
165
- # following directories/files:
166
- # .idea/
167
- # .idea/workspace.xml
168
- # .idea/tasks.xml
169
- # .idea/dictionaries
170
- # .idea/vcs.xml
171
- # .idea/jsLibraryMappings.xml
172
-
173
- # VS Code
174
- .vscode/
175
-
176
- # MacOS
177
- .DS_Store
178
-
179
- # Windows
180
- Thumbs.db
181
- ehthumbs.db
182
- Desktop.ini
183
-
184
- # Linux
185
- *~
186
-
187
- # IDE
188
- .idea/
189
- *.swp
190
- *.swo
191
-
192
- # IntentGraph specific
193
- .intentgraph_cache/
194
- *.intentgraph
195
-
196
- # Performance profiling
197
- *.prof
198
- profile.html
199
- profile.json
200
-
201
- # Security
202
- .secrets
203
- *.key
204
- *.pem
205
-
206
- # Test artifacts
207
- test_output.json
208
- perf_test.json
209
- large_repo/
210
- sample_repo/
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # Directories
7
+ Agentic_*/
8
+ .claude/
9
+ .github/
10
+ .ruff_cache
11
+
12
+ # C extensions
13
+ *.so
14
+
15
+ # Distribution / packaging
16
+ .Python
17
+ build/
18
+ develop-eggs/
19
+ dist/
20
+ downloads/
21
+ eggs/
22
+ .eggs/
23
+ lib/
24
+ lib64/
25
+ parts/
26
+ sdist/
27
+ var/
28
+ wheels/
29
+ share/python-wheels/
30
+ *.egg-info/
31
+ .installed.cfg
32
+ *.egg
33
+ MANIFEST
34
+
35
+ # PyInstaller
36
+ # Usually these files are written by a python script from a template
37
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
38
+ *.manifest
39
+ *.spec
40
+
41
+ # Installer logs
42
+ pip-log.txt
43
+ pip-delete-this-directory.txt
44
+
45
+ # Unit test / coverage reports
46
+ htmlcov/
47
+ .tox/
48
+ .nox/
49
+ .coverage
50
+ .coverage.*
51
+ .cache
52
+ nosetests.xml
53
+ coverage.xml
54
+ *.cover
55
+ *.py,cover
56
+ .hypothesis/
57
+ .pytest_cache/
58
+ cover/
59
+
60
+ # Translations
61
+ *.mo
62
+ *.pot
63
+
64
+ # Django stuff:
65
+ *.log
66
+ local_settings.py
67
+ db.sqlite3
68
+ db.sqlite3-journal
69
+
70
+ # Flask stuff:
71
+ instance/
72
+ .webassets-cache
73
+
74
+ # Scrapy stuff:
75
+ .scrapy
76
+
77
+ # Sphinx documentation
78
+ docs/_build/
79
+
80
+ # PyBuilder
81
+ .pybuilder/
82
+ target/
83
+
84
+ # Jupyter Notebook
85
+ .ipynb_checkpoints
86
+
87
+ # IPython
88
+ profile_default/
89
+ ipython_config.py
90
+
91
+ # pyenv
92
+ # For a library or package, you might want to ignore these files since the code is
93
+ # intended to run in multiple environments; otherwise, check them in:
94
+ # .python-version
95
+
96
+ # pipenv
97
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
98
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
99
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
100
+ # install all needed dependencies.
101
+ #Pipfile.lock
102
+
103
+ # poetry
104
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
106
+ # commonly ignored for libraries.
107
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
+ #poetry.lock
109
+
110
+ # pdm
111
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112
+ #pdm.lock
113
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114
+ # in version control.
115
+ # https://pdm.fming.dev/#use-with-ide
116
+ .pdm.toml
117
+
118
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
119
+ __pypackages__/
120
+
121
+ # Celery stuff
122
+ celerybeat-schedule
123
+ celerybeat.pid
124
+
125
+ # SageMath parsed files
126
+ *.sage.py
127
+
128
+ # Environments
129
+ .env
130
+ .venv
131
+ env/
132
+ venv/
133
+ ENV/
134
+ env.bak/
135
+ venv.bak/
136
+
137
+ # Spyder project settings
138
+ .spyderproject
139
+ .spyproject
140
+
141
+ # Rope project settings
142
+ .ropeproject
143
+
144
+ # mkdocs documentation
145
+ /site
146
+
147
+ # mypy
148
+ .mypy_cache/
149
+ .dmypy.json
150
+ dmypy.json
151
+
152
+ # Pyre type checker
153
+ .pyre/
154
+
155
+ # pytype static type analyzer
156
+ .pytype/
157
+
158
+ # Cython debug symbols
159
+ cython_debug/
160
+
161
+ # PyCharm
162
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
163
+ # be added to the global gitignore or merged into this project gitignore. For a PyCharm
164
+ # project, it is not recommended to check the version control system any of the
165
+ # following directories/files:
166
+ # .idea/
167
+ # .idea/workspace.xml
168
+ # .idea/tasks.xml
169
+ # .idea/dictionaries
170
+ # .idea/vcs.xml
171
+ # .idea/jsLibraryMappings.xml
172
+
173
+ # VS Code
174
+ .vscode/
175
+
176
+ # MacOS
177
+ .DS_Store
178
+
179
+ # Windows
180
+ Thumbs.db
181
+ ehthumbs.db
182
+ Desktop.ini
183
+
184
+ # Linux
185
+ *~
186
+
187
+ # IDE
188
+ .idea/
189
+ *.swp
190
+ *.swo
191
+
192
+ # IntentGraph specific
193
+ .intentgraph_cache/
194
+ *.intentgraph
195
+
196
+ # Performance profiling
197
+ *.prof
198
+ profile.html
199
+ profile.json
200
+
201
+ # Security
202
+ .secrets
203
+ *.key
204
+ *.pem
205
+
206
+ # Test artifacts
207
+ test_output.json
208
+ perf_test.json
209
+ large_repo/
210
+ sample_repo/
211
+
212
+ CLAUDE.md
213
+ test_analysis.json
214
+ .worktrees/