auto-coder 0.1.305__py3-none-any.whl → 0.1.306__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 auto-coder might be problematic. Click here for more details.
- {auto_coder-0.1.305.dist-info → auto_coder-0.1.306.dist-info}/METADATA +1 -1
- {auto_coder-0.1.305.dist-info → auto_coder-0.1.306.dist-info}/RECORD +39 -34
- autocoder/agent/auto_learn_from_commit.py +3 -1
- autocoder/agent/auto_review_commit.py +3 -1
- autocoder/auto_coder.py +3 -2
- autocoder/auto_coder_runner.py +116 -3
- autocoder/chat_auto_coder.py +9 -1
- autocoder/chat_auto_coder_lang.py +552 -278
- autocoder/common/__init__.py +4 -0
- autocoder/common/auto_coder_lang.py +737 -401
- autocoder/common/code_auto_generate.py +104 -16
- autocoder/common/code_auto_generate_diff.py +101 -10
- autocoder/common/code_auto_generate_editblock.py +103 -9
- autocoder/common/code_auto_generate_strict_diff.py +99 -9
- autocoder/common/code_auto_merge.py +8 -0
- autocoder/common/code_auto_merge_diff.py +8 -0
- autocoder/common/code_auto_merge_editblock.py +7 -0
- autocoder/common/code_auto_merge_strict_diff.py +5 -0
- autocoder/common/code_modification_ranker.py +4 -2
- autocoder/common/command_completer.py +12 -0
- autocoder/common/command_generator.py +5 -4
- autocoder/common/git_utils.py +13 -7
- autocoder/common/stream_out_type.py +5 -1
- autocoder/common/utils_code_auto_generate.py +29 -3
- autocoder/dispacher/__init__.py +18 -19
- autocoder/dispacher/actions/action.py +0 -132
- autocoder/index/filter/quick_filter.py +6 -3
- autocoder/memory/__init__.py +7 -0
- autocoder/memory/active_context_manager.py +649 -0
- autocoder/memory/active_package.py +469 -0
- autocoder/memory/async_processor.py +161 -0
- autocoder/memory/directory_mapper.py +67 -0
- autocoder/utils/auto_coder_utils/chat_stream_out.py +5 -0
- autocoder/utils/project_structure.py +35 -1
- autocoder/version.py +1 -1
- {auto_coder-0.1.305.dist-info → auto_coder-0.1.306.dist-info}/LICENSE +0 -0
- {auto_coder-0.1.305.dist-info → auto_coder-0.1.306.dist-info}/WHEEL +0 -0
- {auto_coder-0.1.305.dist-info → auto_coder-0.1.306.dist-info}/entry_points.txt +0 -0
- {auto_coder-0.1.305.dist-info → auto_coder-0.1.306.dist-info}/top_level.txt +0 -0
|
@@ -199,6 +199,11 @@ def stream_out(
|
|
|
199
199
|
Returns:
|
|
200
200
|
Tuple[str, Dict[SingleOutputMeta]]: 返回完整的响应内容和最后的元数据
|
|
201
201
|
"""
|
|
202
|
+
if args is None:
|
|
203
|
+
import traceback
|
|
204
|
+
traceback.print_stack()
|
|
205
|
+
print("=="*100)
|
|
206
|
+
|
|
202
207
|
if console is None:
|
|
203
208
|
console = Console(force_terminal=True, color_system="auto", height=None)
|
|
204
209
|
|
|
@@ -169,7 +169,41 @@ class EnhancedFileAnalyzer:
|
|
|
169
169
|
|
|
170
170
|
def _basic_analysis(self, extensions: Set[str]) -> Dict:
|
|
171
171
|
"""基于规则的基础分析"""
|
|
172
|
-
CODE_EXTS = {
|
|
172
|
+
CODE_EXTS = {
|
|
173
|
+
# 通用脚本语言
|
|
174
|
+
'.py', # Python
|
|
175
|
+
'.js', '.jsx', '.ts', '.tsx', # JavaScript/TypeScript
|
|
176
|
+
'.rb', '.erb', # Ruby
|
|
177
|
+
'.php', # PHP
|
|
178
|
+
'.pl', '.pm', # Perl
|
|
179
|
+
|
|
180
|
+
# 编译型语言
|
|
181
|
+
'.java', '.kt', '.groovy', # JVM系
|
|
182
|
+
'.c', '.cpp', '.cc', '.cxx', '.h', '.hpp', # C/C++
|
|
183
|
+
'.cs', # C#
|
|
184
|
+
'.go', # Go
|
|
185
|
+
'.rs', # Rust
|
|
186
|
+
'.swift', # Swift
|
|
187
|
+
|
|
188
|
+
# Web开发
|
|
189
|
+
'.vue', '.svelte', # 前端框架
|
|
190
|
+
'.html', '.htm', # HTML
|
|
191
|
+
'.css', '.scss', '.sass', '.less', # 样式表
|
|
192
|
+
|
|
193
|
+
# 其他语言
|
|
194
|
+
'.scala', # Scala
|
|
195
|
+
'.clj', # Clojure
|
|
196
|
+
'.coffee', # CoffeeScript
|
|
197
|
+
'.lua', # Lua
|
|
198
|
+
'.r', # R
|
|
199
|
+
'.sh', '.bash', # Shell脚本
|
|
200
|
+
'.sql', # SQL
|
|
201
|
+
'.dart', # Dart
|
|
202
|
+
'.ex', '.exs', # Elixir
|
|
203
|
+
'.fs', '.fsx', # F#
|
|
204
|
+
'.hs', # Haskell
|
|
205
|
+
'.ml', '.mli' # OCaml
|
|
206
|
+
}
|
|
173
207
|
CONFIG_EXTS = {'.yml', '.yaml', '.json', '.toml', '.ini'}
|
|
174
208
|
|
|
175
209
|
return {
|
autocoder/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.306"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|