Coverage for integrations / coding_agent / aider_core / __init__.py: 100.0%

3 statements  

« prev     ^ index     » next       coverage.py v7.14.0, created at 2026-05-12 04:49 +0000

1""" 

2Aider Core — Vendored modules from Aider (https://github.com/Aider-AI/aider). 

3 

4License: Apache 2.0 (see LICENSE file in this directory) 

5 

6This package contains cherry-picked modules from the Aider AI pair programming 

7tool, adapted for deep integration with HARTOS. The following modifications were 

8made to the original source: 

9 

101. All `from aider.X` imports replaced with relative `.X` imports 

112. LiteLLM dependency removed — replaced with HARTOS model adapter 

123. Aider's InputOutput class replaced with a minimal IO adapter 

134. Self-contained: no dependency on the full aider-chat package 

14 

15Vendored modules: 

16- repomap.py — Tree-sitter based repository understanding (PageRank on code graph) 

17- coders/search_replace.py — Flexible text search/replace with multiple strategies 

18- linter.py — Auto-lint after edits 

19- prompts.py — System prompt templates 

20- queries/ — Tree-sitter query files for 30+ languages 

21 

22Supporting utilities: 

23- dump.py, special.py, waiting.py, utils.py — Aider utilities 

24 

25HARTOS-specific: 

26- io_adapter.py — Minimal IO adapter replacing Aider's InputOutput 

27- hart_model_adapter.py — HARTOS LLM bridge replacing LiteLLM 

28""" 

29 

30__version__ = "0.1.0" 

31__aider_upstream__ = "https://github.com/Aider-AI/aider" 

32__aider_license__ = "Apache-2.0"