auto-coder 0.1.297__tar.gz → 0.1.298__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.
Potentially problematic release.
This version of auto-coder might be problematic. Click here for more details.
- {auto_coder-0.1.297 → auto_coder-0.1.298}/PKG-INFO +3 -2
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/auto_coder.egg-info/PKG-INFO +3 -2
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/auto_coder.egg-info/requires.txt +2 -1
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/auto_coder_rag.py +7 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/__init__.py +1 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/cache/byzer_storage_cache.py +2 -1
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/cache/local_byzer_storage_cache.py +1 -1
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/cache/local_duckdb_storage_cache.py +30 -14
- auto_coder-0.1.298/src/autocoder/version.py +1 -0
- auto_coder-0.1.297/src/autocoder/version.py +0 -1
- {auto_coder-0.1.297 → auto_coder-0.1.298}/LICENSE +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/README.md +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/setup.cfg +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/setup.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/auto_coder.egg-info/SOURCES.txt +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/auto_coder.egg-info/dependency_links.txt +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/auto_coder.egg-info/entry_points.txt +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/auto_coder.egg-info/top_level.txt +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/agent/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/agent/auto_demand_organizer.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/agent/auto_filegroup.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/agent/auto_guess_query.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/agent/auto_learn_from_commit.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/agent/auto_review_commit.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/agent/auto_tool.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/agent/coder.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/agent/designer.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/agent/planner.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/agent/project_reader.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/auto_coder.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/auto_coder_runner.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/auto_coder_server.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/benchmark.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/chat/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/chat_auto_coder.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/chat_auto_coder_lang.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/command_args.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/commands/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/commands/auto_command.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/commands/auto_web.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/commands/tools.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/JupyterClient.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/ShellClient.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/anything2images.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/anything2img.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/audio.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/auto_coder_lang.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/auto_configure.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/buildin_tokenizer.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/chunk_validation.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/cleaner.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_execute.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_generate.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_generate_diff.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_generate_editblock.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_generate_strict_diff.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_merge.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_merge_diff.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_merge_editblock.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_merge_strict_diff.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_modification_ranker.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/command_completer.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/command_generator.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/command_templates.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/computer_use.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/conf_import_export.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/conf_validator.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/const.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/context_pruner.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/conversation_pruner.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/files.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/git_utils.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/global_cancel.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/image_to_page.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/index_import_export.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/interpreter.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/llm_rerank.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/mcp_hub.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/mcp_server.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/mcp_servers/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/mcp_servers/mcp_server_gpt4o_mini_search.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/mcp_servers/mcp_server_perplexity.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/mcp_tools.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/memory_manager.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/model_speed_test.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/printer.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/recall_validation.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/result_manager.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/screenshots.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/search.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/search_replace.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/shells.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/stats_panel.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/sys_prompt.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/text.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/types.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/utils_code_auto_generate.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/data/byzerllm.md +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/data/tokenizer.json +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/db/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/db/store.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/dispacher/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/dispacher/actions/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/dispacher/actions/action.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/dispacher/actions/copilot.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/dispacher/actions/plugins/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/dispacher/actions/plugins/action_regex_project.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/dispacher/actions/plugins/action_translate.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/index/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/index/entry.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/index/filter/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/index/filter/normal_filter.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/index/filter/quick_filter.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/index/for_command.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/index/index.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/index/symbols_utils.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/index/types.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/lang.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/models.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/plugins/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/plugins/dynamic_completion_example.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/plugins/git_helper_plugin.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/plugins/sample_plugin.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/plugins/token_helper_plugin.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/plugins/utils.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/privacy/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/privacy/model_filter.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/pyproject/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/api_server.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/cache/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/cache/base_cache.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/cache/cache_result_merge.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/cache/file_monitor_cache.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/cache/rag_file_meta.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/cache/simple_cache.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/conversation_to_queries.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/doc_filter.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/document_retriever.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/lang.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/llm_wrapper.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/loaders/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/loaders/docx_loader.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/loaders/excel_loader.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/loaders/pdf_loader.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/loaders/ppt_loader.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/long_context_rag.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/qa_conversation_strategy.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/rag_config.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/rag_entry.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/raw_rag.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/relevant_utils.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/searchable.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/simple_directory_reader.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/simple_rag.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/stream_event/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/stream_event/event_writer.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/stream_event/types.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/token_checker.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/token_counter.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/token_limiter.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/token_limiter_utils.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/types.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/utils.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/variable_holder.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/regexproject/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/suffixproject/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/tsproject/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/_markitdown.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/auto_coder_utils/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/auto_coder_utils/chat_stream_out.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/auto_project_type.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/chat_auto_coder_utils/__init__.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/conversation_store.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/llm_client_interceptors.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/llms.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/log_capture.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/model_provider_selector.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/multi_turn.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/operate_config_api.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/print_table.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/project_structure.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/queue_communicate.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/request_event_queue.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/request_queue.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/rest.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/stream_thinking.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/tests.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/thread_utils.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/types.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/tests/test_action_regex_project.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/tests/test_chat_auto_coder.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/tests/test_code_auto_merge_editblock.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/tests/test_command_completer.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/tests/test_planner.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/tests/test_plugins.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/tests/test_privacy.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/tests/test_queue_communicate.py +0 -0
- {auto_coder-0.1.297 → auto_coder-0.1.298}/tests/test_symbols_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: auto-coder
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.298
|
|
4
4
|
Summary: AutoCoder: AutoCoder
|
|
5
5
|
Author: allwefantasy
|
|
6
6
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
@@ -26,7 +26,8 @@ Requires-Dist: tabulate
|
|
|
26
26
|
Requires-Dist: jupyter_client
|
|
27
27
|
Requires-Dist: prompt-toolkit
|
|
28
28
|
Requires-Dist: tokenizers
|
|
29
|
-
Requires-Dist:
|
|
29
|
+
Requires-Dist: aiofiles
|
|
30
|
+
Requires-Dist: byzerllm[saas]>=0.1.176
|
|
30
31
|
Requires-Dist: patch
|
|
31
32
|
Requires-Dist: diff_match_patch
|
|
32
33
|
Requires-Dist: GitPython
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: auto-coder
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.298
|
|
4
4
|
Summary: AutoCoder: AutoCoder
|
|
5
5
|
Author: allwefantasy
|
|
6
6
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
@@ -26,7 +26,8 @@ Requires-Dist: tabulate
|
|
|
26
26
|
Requires-Dist: jupyter_client
|
|
27
27
|
Requires-Dist: prompt-toolkit
|
|
28
28
|
Requires-Dist: tokenizers
|
|
29
|
-
Requires-Dist:
|
|
29
|
+
Requires-Dist: aiofiles
|
|
30
|
+
Requires-Dist: byzerllm[saas]>=0.1.176
|
|
30
31
|
Requires-Dist: patch
|
|
31
32
|
Requires-Dist: diff_match_patch
|
|
32
33
|
Requires-Dist: GitPython
|
|
@@ -187,6 +187,13 @@ def main(input_args: Optional[List[str]] = None):
|
|
|
187
187
|
help="The storage type of the RAG, duckdb or byzer-storage",
|
|
188
188
|
)
|
|
189
189
|
|
|
190
|
+
build_index_parser.add_argument(
|
|
191
|
+
"--rag_index_build_workers",
|
|
192
|
+
type=int,
|
|
193
|
+
default=5,
|
|
194
|
+
help="The number of workers to build the RAG index",
|
|
195
|
+
)
|
|
196
|
+
|
|
190
197
|
build_index_parser.add_argument(
|
|
191
198
|
"--quick", action="store_true", help="Skip system initialization"
|
|
192
199
|
)
|
|
@@ -300,6 +300,7 @@ class AutoCoderArgs(pydantic.BaseModel):
|
|
|
300
300
|
rag_duckdb_vector_dim: Optional[int] = 1024 # DuckDB 向量化存储的维度
|
|
301
301
|
rag_duckdb_query_similarity: Optional[float] = 0.1 # DuckDB 向量化检索 相似度 阈值
|
|
302
302
|
rag_duckdb_query_top_k: Optional[int] = 10000 # DuckDB 向量化检索 返回 TopK个结果(且大于相似度)
|
|
303
|
+
rag_index_build_workers: Optional[int] = 10
|
|
303
304
|
# rag 本地图床地址
|
|
304
305
|
local_image_host: Optional[str] = ""
|
|
305
306
|
rag_recall_max_queries: Optional[int] = 5
|
|
@@ -132,6 +132,7 @@ class ByzerStorageCache(BaseCacheManager):
|
|
|
132
132
|
self.path = path
|
|
133
133
|
self.ignore_spec = ignore_spec
|
|
134
134
|
self.required_exts = required_exts
|
|
135
|
+
self.extra_params = extra_params
|
|
135
136
|
self.rag_build_name = extra_params.rag_build_name
|
|
136
137
|
self.storage = ByzerStorage("byzerai_store", "rag", self.rag_build_name)
|
|
137
138
|
self.queue = []
|
|
@@ -329,7 +330,7 @@ class ByzerStorageCache(BaseCacheManager):
|
|
|
329
330
|
start_time = time.time()
|
|
330
331
|
|
|
331
332
|
# Use more workers to process the smaller batches efficiently
|
|
332
|
-
max_workers = min(
|
|
333
|
+
max_workers = min(self.extra_params.rag_index_build_workers, total_batches) # Cap at 10 workers or total batch count
|
|
333
334
|
logger.info(f"[BUILD CACHE] Using {max_workers} parallel workers for processing")
|
|
334
335
|
|
|
335
336
|
with ThreadPoolExecutor(max_workers=max_workers) as executor:
|
{auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/cache/local_byzer_storage_cache.py
RENAMED
|
@@ -338,7 +338,7 @@ class LocalByzerStorageCache(BaseCacheManager):
|
|
|
338
338
|
start_time = time.time()
|
|
339
339
|
|
|
340
340
|
# Use more workers to process the smaller batches efficiently
|
|
341
|
-
max_workers = min(
|
|
341
|
+
max_workers = min(self.extra_params.rag_index_build_workers, total_batches) # Cap at 10 workers or total batch count
|
|
342
342
|
logger.info(f"[BUILD CACHE] Using {max_workers} parallel workers for processing")
|
|
343
343
|
|
|
344
344
|
with ThreadPoolExecutor(max_workers=max_workers) as executor:
|
{auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/rag/cache/local_duckdb_storage_cache.py
RENAMED
|
@@ -133,15 +133,31 @@ class LocalDuckdbStorage:
|
|
|
133
133
|
return reduced
|
|
134
134
|
|
|
135
135
|
def _embedding(self, context: str, norm: bool = True, dim: int | None = None) -> List[float]:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
136
|
+
max_retries = 3
|
|
137
|
+
retry_count = 0
|
|
138
|
+
|
|
139
|
+
while retry_count < max_retries:
|
|
140
|
+
try:
|
|
141
|
+
embedding = self.llm.emb_query(context)[0].output
|
|
142
|
+
|
|
143
|
+
if dim:
|
|
144
|
+
embedding = self._apply_pca(embedding, target_dim=dim) # 降维后形状 (1024,)
|
|
145
|
+
|
|
146
|
+
if norm:
|
|
147
|
+
embedding = embedding / np.linalg.norm(embedding)
|
|
148
|
+
|
|
149
|
+
return embedding.tolist()
|
|
150
|
+
except Exception as e:
|
|
151
|
+
retry_count += 1
|
|
152
|
+
if retry_count >= max_retries:
|
|
153
|
+
logger.error(f"Failed to get embedding after {max_retries} attempts: {str(e)}")
|
|
154
|
+
raise
|
|
155
|
+
|
|
156
|
+
# Sleep between 1-5 seconds before retrying
|
|
157
|
+
sleep_time = 1 + (retry_count * 1.5)
|
|
158
|
+
logger.warning(f"Embedding API call failed (attempt {retry_count}/{max_retries}). "
|
|
159
|
+
f"Error: {str(e)}. Retrying in {sleep_time:.1f} seconds...")
|
|
160
|
+
time.sleep(sleep_time)
|
|
145
161
|
|
|
146
162
|
def _initialize(self) -> None:
|
|
147
163
|
if self.embed_dim is None:
|
|
@@ -452,9 +468,9 @@ class LocalDuckDBStorageCache(BaseCacheManager):
|
|
|
452
468
|
self.write_cache()
|
|
453
469
|
|
|
454
470
|
if items:
|
|
455
|
-
logger.info("[BUILD CACHE] Clearing existing cache from
|
|
471
|
+
logger.info("[BUILD CACHE] Clearing existing cache from DuckDB Storage")
|
|
456
472
|
self.storage.truncate_table()
|
|
457
|
-
logger.info(f"[BUILD CACHE] Preparing to write to
|
|
473
|
+
logger.info(f"[BUILD CACHE] Preparing to write to DuckDB Storage, "
|
|
458
474
|
f"total chunks: {len(items)}, total files: {len(files_to_process)}")
|
|
459
475
|
|
|
460
476
|
# Use a fixed optimal batch size instead of dividing by worker count
|
|
@@ -464,12 +480,12 @@ class LocalDuckDBStorageCache(BaseCacheManager):
|
|
|
464
480
|
total_batches = len(item_batches)
|
|
465
481
|
completed_batches = 0
|
|
466
482
|
|
|
467
|
-
logger.info(f"[BUILD CACHE] Starting to write to
|
|
483
|
+
logger.info(f"[BUILD CACHE] Starting to write to DuckDB Storage using {batch_size} items per batch, "
|
|
468
484
|
f"total batches: {total_batches}")
|
|
469
485
|
start_time = time.time()
|
|
470
486
|
|
|
471
|
-
# Use more workers to process the smaller batches efficiently
|
|
472
|
-
max_workers = min(
|
|
487
|
+
# Use more workers to process the smaller batches efficiently
|
|
488
|
+
max_workers = min(self.extra_params.rag_index_build_workers, total_batches) # Cap at 10 workers or total batch count
|
|
473
489
|
logger.info(f"[BUILD CACHE] Using {max_workers} parallel workers for processing")
|
|
474
490
|
|
|
475
491
|
def batch_add_doc(_batch):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.298"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.297"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_generate_editblock.py
RENAMED
|
File without changes
|
{auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_generate_strict_diff.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/code_auto_merge_strict_diff.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/common/mcp_servers/mcp_server_perplexity.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/dispacher/actions/plugins/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/plugins/dynamic_completion_example.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/auto_coder_utils/chat_stream_out.py
RENAMED
|
File without changes
|
|
File without changes
|
{auto_coder-0.1.297 → auto_coder-0.1.298}/src/autocoder/utils/chat_auto_coder_utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|