aider-ce 0.87.7.dev11__py3-none-any.whl → 0.87.8.dev14__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.
Potentially problematic release.
This version of aider-ce might be problematic. Click here for more details.
- aider/__init__.py +1 -1
- aider/_version.py +2 -2
- aider/coders/base_coder.py +16 -0
- aider/queries/tree-sitter-languages/fortran-tags.scm +15 -0
- aider/repomap.py +9 -2
- {aider_ce-0.87.7.dev11.dist-info → aider_ce-0.87.8.dev14.dist-info}/METADATA +3 -1
- {aider_ce-0.87.7.dev11.dist-info → aider_ce-0.87.8.dev14.dist-info}/RECORD +11 -10
- {aider_ce-0.87.7.dev11.dist-info → aider_ce-0.87.8.dev14.dist-info}/WHEEL +0 -0
- {aider_ce-0.87.7.dev11.dist-info → aider_ce-0.87.8.dev14.dist-info}/entry_points.txt +0 -0
- {aider_ce-0.87.7.dev11.dist-info → aider_ce-0.87.8.dev14.dist-info}/licenses/LICENSE.txt +0 -0
- {aider_ce-0.87.7.dev11.dist-info → aider_ce-0.87.8.dev14.dist-info}/top_level.txt +0 -0
aider/__init__.py
CHANGED
aider/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.87.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 87,
|
|
31
|
+
__version__ = version = '0.87.8.dev14'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 87, 8, 'dev14')
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
aider/coders/base_coder.py
CHANGED
|
@@ -367,6 +367,7 @@ class Coder:
|
|
|
367
367
|
context_compaction_max_tokens=None,
|
|
368
368
|
context_compaction_summary_tokens=8192,
|
|
369
369
|
map_cache_dir=".",
|
|
370
|
+
repomap_in_memory=False,
|
|
370
371
|
):
|
|
371
372
|
# initialize from args.map_cache_dir
|
|
372
373
|
self.map_cache_dir = map_cache_dir
|
|
@@ -555,6 +556,8 @@ class Coder:
|
|
|
555
556
|
map_mul_no_files=map_mul_no_files,
|
|
556
557
|
refresh=map_refresh,
|
|
557
558
|
max_code_line_length=map_max_line_length,
|
|
559
|
+
repo_root=self.root,
|
|
560
|
+
use_memory_cache=repomap_in_memory,
|
|
558
561
|
)
|
|
559
562
|
|
|
560
563
|
self.summarizer = summarizer or ChatSummary(
|
|
@@ -853,6 +856,19 @@ class Coder:
|
|
|
853
856
|
mentioned_fnames.update(self.get_ident_filename_matches(mentioned_idents))
|
|
854
857
|
|
|
855
858
|
all_abs_files = set(self.get_all_abs_files())
|
|
859
|
+
|
|
860
|
+
# Exclude metadata/docs from repo map inputs to reduce parsing overhead
|
|
861
|
+
def _include_in_map(abs_path):
|
|
862
|
+
try:
|
|
863
|
+
rel = self.get_rel_fname(abs_path)
|
|
864
|
+
except Exception:
|
|
865
|
+
rel = str(abs_path)
|
|
866
|
+
parts = Path(rel).parts
|
|
867
|
+
if ".meta" in parts or ".docs" in parts:
|
|
868
|
+
return False
|
|
869
|
+
return True
|
|
870
|
+
|
|
871
|
+
all_abs_files = {p for p in all_abs_files if _include_in_map(p)}
|
|
856
872
|
repo_abs_read_only_fnames = set(self.abs_read_only_fnames) & all_abs_files
|
|
857
873
|
repo_abs_read_only_stubs_fnames = set(self.abs_read_only_stubs_fnames) & all_abs_files
|
|
858
874
|
chat_files = (
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
;; derived from: https://github.com/stadelmanma/tree-sitter-fortran
|
|
2
|
+
;; License: MIT
|
|
3
|
+
|
|
4
|
+
(module_statement
|
|
5
|
+
(name) @name.definition.class) @definition.class
|
|
6
|
+
|
|
7
|
+
(function_statement
|
|
8
|
+
name: (name) @name.definition.function) @definition.function
|
|
9
|
+
|
|
10
|
+
(subroutine_statement
|
|
11
|
+
name: (name) @name.definition.function) @definition.function
|
|
12
|
+
|
|
13
|
+
(module_procedure_statement
|
|
14
|
+
name: (name) @name.definition.function) @definition.function
|
|
15
|
+
|
aider/repomap.py
CHANGED
|
@@ -146,15 +146,22 @@ class RepoMap:
|
|
|
146
146
|
map_mul_no_files=8,
|
|
147
147
|
refresh="auto",
|
|
148
148
|
max_code_line_length=100,
|
|
149
|
+
repo_root=None,
|
|
150
|
+
use_memory_cache=False,
|
|
149
151
|
):
|
|
150
152
|
self.io = io
|
|
151
153
|
self.verbose = verbose
|
|
152
154
|
self.refresh = refresh
|
|
153
155
|
|
|
154
156
|
self.map_cache_dir = map_cache_dir
|
|
155
|
-
|
|
157
|
+
# Prefer an explicit repo root (eg per-test repo), fallback to CWD
|
|
158
|
+
self.root = repo_root or os.getcwd()
|
|
156
159
|
|
|
157
|
-
|
|
160
|
+
# Allow opting into an in-memory tags cache to avoid disk/SQLite locks
|
|
161
|
+
if use_memory_cache:
|
|
162
|
+
self.TAGS_CACHE = dict()
|
|
163
|
+
else:
|
|
164
|
+
self.load_tags_cache()
|
|
158
165
|
self.cache_threshold = 0.95
|
|
159
166
|
|
|
160
167
|
self.max_map_tokens = map_tokens
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aider-ce
|
|
3
|
-
Version: 0.87.
|
|
3
|
+
Version: 0.87.8.dev14
|
|
4
4
|
Summary: Aider is AI pair programming in your terminal
|
|
5
5
|
Project-URL: Homepage, https://github.com/dwash96/aider-ce
|
|
6
6
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -110,6 +110,8 @@ This project aims to be compatible with upstream Aider, but with priority commit
|
|
|
110
110
|
* [Fix Deepseek model configurations](https://github.com/Aider-AI/aider/commit/c839a6dd8964d702172cae007375e299732d3823)
|
|
111
111
|
* [Relax Version Pinning For Easier Distribution](https://github.com/dwash96/aider-ce/issues/18)
|
|
112
112
|
* [Remove Confirm Responses from History](https://github.com/Aider-AI/aider/pull/3958)
|
|
113
|
+
* [Benchmark Results By Language](https://github.com/dwash96/aider-ce/pull/27)
|
|
114
|
+
* [Allow Benchmarks to Use Repo Map For Better Accuracy](https://github.com/dwash96/aider-ce/pull/25)
|
|
113
115
|
|
|
114
116
|
### Other Notes
|
|
115
117
|
* [MCP Configuration](https://github.com/dwash96/aider-ce/blob/main/aider/website/docs/config/mcp.md)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
aider/__init__.py,sha256=
|
|
1
|
+
aider/__init__.py,sha256=L_m8OhluWARorOjDdH4WkH3_wiexv_GyMsWey-nx1cg,496
|
|
2
2
|
aider/__main__.py,sha256=Vdhw8YA1K3wPMlbJQYL5WqvRzAKVeZ16mZQFO9VRmCo,62
|
|
3
|
-
aider/_version.py,sha256=
|
|
3
|
+
aider/_version.py,sha256=dIeEnTgAtWMLdSY_gWSbzJtqoMA7B_5lRLbSgOyJAE4,721
|
|
4
4
|
aider/analytics.py,sha256=c5ujaCcMc3yG-9rz_0oSsqBwmVQRxJnui6iE_yDyY_M,7507
|
|
5
5
|
aider/args.py,sha256=yjfHJm-eKBEXJ7MlqoGQEjkFhBlCvGtwp44AajAtROs,32491
|
|
6
6
|
aider/args_formatter.py,sha256=CBRnzHyZk-fFCK0ekAzb6C4PPJOU-VTpWIIsJe3qUhk,6369
|
|
@@ -28,7 +28,7 @@ aider/openrouter.py,sha256=FAdv7L8xgILXgmC_b1gnuYJStmpaPyiZMp-7nSdInlQ,4642
|
|
|
28
28
|
aider/prompts.py,sha256=Qv-JS8BzGjusEPmR3-qmjjvN3S9mb7W4KpWiGui-Jk0,1954
|
|
29
29
|
aider/reasoning_tags.py,sha256=VOg5wM7JSrMo47OyS1FFuLrr2cp2KyutEC4_zsUsCbY,2288
|
|
30
30
|
aider/repo.py,sha256=ZLq0E6gwm7KabzYASib-7bqv-E55JZOWCpXfC3IZJeE,22922
|
|
31
|
-
aider/repomap.py,sha256=
|
|
31
|
+
aider/repomap.py,sha256=zWGDo3wqp9DEX2VvDDA7GzcTs5v3Tg5Oa7X6IRKWe-A,33638
|
|
32
32
|
aider/report.py,sha256=WobVDEK6YxB0GpHrF5twTfUYH5dsNWFIHFsB9lds7E8,5899
|
|
33
33
|
aider/run_cmd.py,sha256=9-NpSL4hlqIndf_EN1jnmWfjX7vIPbDgKgGPGRAr2Rw,4223
|
|
34
34
|
aider/scrape.py,sha256=RyKlO3cN2QvfovaLQFJNx8j1Zaz6Qx2wqWhYO9H2Yug,8334
|
|
@@ -46,7 +46,7 @@ aider/coders/architect_coder.py,sha256=b7KqtivnllPdyMfxbnEUd9G0C1ZFaiappV25Rz0Dk
|
|
|
46
46
|
aider/coders/architect_prompts.py,sha256=R0_KxZjo-km_yNaeDAquDP9qfp3IdWgrdMirCWe0RIE,1658
|
|
47
47
|
aider/coders/ask_coder.py,sha256=Omk4Ih8-prefkMZ_jnRS3faoW5CQUakHOvZ-s7piM3U,210
|
|
48
48
|
aider/coders/ask_prompts.py,sha256=W6HwDUfzfOLt9q8sl6rw7fN7b5ND90FkxCZrtrWl5vY,1171
|
|
49
|
-
aider/coders/base_coder.py,sha256
|
|
49
|
+
aider/coders/base_coder.py,sha256=-sd7hURrr1vszNGaTmcyqrR2vb5Bka37636pRVQI_UY,112717
|
|
50
50
|
aider/coders/base_prompts.py,sha256=O3bBjhf0hgvtKbQ9QyOMnRy8LrmfLyT9dVAcXxHS_3k,3659
|
|
51
51
|
aider/coders/chat_chunks.py,sha256=8HPet6cmQdgWvaA_tGpinO4ASMst53uTcSEtNVTYDXE,1981
|
|
52
52
|
aider/coders/context_coder.py,sha256=Y5LdIaYHywMB03lXsmHTYsDnyHIHJ6FNZLMWa9wjArs,1571
|
|
@@ -123,6 +123,7 @@ aider/queries/tree-sitter-languages/dart-tags.scm,sha256=AjxpyJIXuLjP5u3U89bhWer
|
|
|
123
123
|
aider/queries/tree-sitter-languages/elisp-tags.scm,sha256=wjm1YYD1vgjBbh0E2CzUnmagl82Uq6-LcEojmvhiJkY,332
|
|
124
124
|
aider/queries/tree-sitter-languages/elixir-tags.scm,sha256=eO20nPIwI7_vq4Fob6U5RjX1wLKgn6Gglj41ITpE6eg,1605
|
|
125
125
|
aider/queries/tree-sitter-languages/elm-tags.scm,sha256=4qTEWJCAd7_BOfwyky0q_NYzAMtGdiq7qwo1GIhXmag,951
|
|
126
|
+
aider/queries/tree-sitter-languages/fortran-tags.scm,sha256=BD6M5CVhMpINlLR7U9bL6STRwGLYBrMmvmldOHe1-9U,419
|
|
126
127
|
aider/queries/tree-sitter-languages/go-tags.scm,sha256=mHtS5NEuxWJGfVz1rq4YlJRMYVDAl5tf7iYnm6RikVE,848
|
|
127
128
|
aider/queries/tree-sitter-languages/hcl-tags.scm,sha256=yOVCBeF4C3ZrFG-gg0adWg2QkxylPcI2dbVeEgD7EPE,2137
|
|
128
129
|
aider/queries/tree-sitter-languages/java-tags.scm,sha256=7WKb-djGv0Ief6XEWQPYpfLpgJHtMPPukIUi55PegvE,627
|
|
@@ -257,9 +258,9 @@ aider/website/docs/usage/tutorials.md,sha256=ZKBztbUtucHOiv9h8gvWiWTP6MTSsFyz4mA
|
|
|
257
258
|
aider/website/docs/usage/voice.md,sha256=BtX7pHRgHRWUmrNbS4JssC-SO8RrJ_OetBCtIYpO0pU,3452
|
|
258
259
|
aider/website/docs/usage/watch.md,sha256=OVF14lGtv1vhSXRE8PpxQ3YW-uXSifarUbmLBjmLRyA,7940
|
|
259
260
|
aider/website/share/index.md,sha256=P51aDw9AT8AVbsU7v6g1tWuMjly7y_plM_ZI1ScaT8Y,3172
|
|
260
|
-
aider_ce-0.87.
|
|
261
|
-
aider_ce-0.87.
|
|
262
|
-
aider_ce-0.87.
|
|
263
|
-
aider_ce-0.87.
|
|
264
|
-
aider_ce-0.87.
|
|
265
|
-
aider_ce-0.87.
|
|
261
|
+
aider_ce-0.87.8.dev14.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
262
|
+
aider_ce-0.87.8.dev14.dist-info/METADATA,sha256=q6vpQmoR1ejtPYMnMdajoYVgoIcYRvb9MvZcbj0rT2A,18429
|
|
263
|
+
aider_ce-0.87.8.dev14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
264
|
+
aider_ce-0.87.8.dev14.dist-info/entry_points.txt,sha256=OxI0JxfyJrc24nTmsdvpaWUx8Flz2huOij_-ifp-48w,69
|
|
265
|
+
aider_ce-0.87.8.dev14.dist-info/top_level.txt,sha256=uwOA6ycgSiRLrBsaRBcIeN_eBKAX78U01_KDEHR8mBk,6
|
|
266
|
+
aider_ce-0.87.8.dev14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|