auto-coder 0.1.393__tar.gz → 0.1.396__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.393 → auto_coder-0.1.396}/PKG-INFO +1 -1
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/auto_coder.egg-info/PKG-INFO +1 -1
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/project_reader.py +2 -22
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/auto_coder.py +1 -7
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit.py +289 -8
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/list_files_tool_resolver.py +10 -2
- auto_coder-0.1.396/src/autocoder/version.py +1 -0
- auto_coder-0.1.393/src/autocoder/version.py +0 -1
- {auto_coder-0.1.393 → auto_coder-0.1.396}/LICENSE +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/README.md +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/setup.cfg +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/setup.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/auto_coder.egg-info/SOURCES.txt +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/auto_coder.egg-info/dependency_links.txt +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/auto_coder.egg-info/entry_points.txt +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/auto_coder.egg-info/requires.txt +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/auto_coder.egg-info/top_level.txt +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/agentic_filter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/auto_demand_organizer.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/auto_filegroup.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/auto_guess_query.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/auto_learn.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/auto_learn_from_commit.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/auto_review_commit.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/auto_tool.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/agent_hub.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/agentic_lang.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/agentic_tool_display.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/base_agent.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/default_tools.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/test_base_agent.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tool_registry.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/ask_followup_question_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/attempt_completion_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/base_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/example_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/execute_command_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/list_files_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/plan_mode_respond_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/read_file_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/replace_in_file_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/search_files_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/talk_to_group_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/talk_to_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/use_mcp_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/write_to_file_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/types.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/coder.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/designer.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/planner.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/auto_coder_rag.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/auto_coder_runner.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/auto_coder_server.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/benchmark.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/chat/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/chat/conf_command.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/chat/models_command.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/chat/rules_command.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/chat_auto_coder.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/chat_auto_coder_lang.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/command_args.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/command_parser.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/commands/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/commands/auto_command.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/commands/auto_web.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/commands/tools.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/JupyterClient.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/ShellClient.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/action_yml_file_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/anything2images.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/anything2img.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/audio.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/auto_coder_lang.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/auto_configure.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/buildin_tokenizer.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/chunk_validation.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/cleaner.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/code_auto_execute.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/code_auto_generate.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/code_auto_generate_diff.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/code_auto_generate_editblock.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/code_auto_generate_strict_diff.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/code_auto_merge.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/code_auto_merge_diff.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/code_auto_merge_editblock.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/code_auto_merge_strict_diff.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/code_modification_ranker.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/command_completer.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/command_completer_v2.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/command_file_manager/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/command_file_manager/examples.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/command_file_manager/manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/command_file_manager/models.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/command_file_manager/utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/command_generator.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/command_templates.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/computer_use.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/conf_import_export.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/conf_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/conf_validator.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/const.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/context_pruner.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/conversation_pruner.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/conversations/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/conversations/compatibility.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/conversations/conversation_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/conversations/example.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/directory_cache/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/directory_cache/cache.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/directory_cache/test_cache.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/backup.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/conversation_checkpoint.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/examples.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/models.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/store.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/test_backup.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/test_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/test_models.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/test_store.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/test_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_checkpoint/utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_monitor/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/file_monitor/monitor.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/files.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/git_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/global_cancel.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/ignorefiles/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/ignorefiles/ignore_file_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/ignorefiles/test_ignore_file_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/image_to_page.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/index_import_export.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/interpreter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/llm_friendly_package.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/llm_friendly_package_example.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/llm_friendly_package_test.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/mcp_hub.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/mcp_server.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/mcp_server_install.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/mcp_server_types.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/mcp_servers/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/mcp_servers/mcp_server_gpt4o_mini_search.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/mcp_servers/mcp_server_perplexity.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/mcp_tools.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/memory_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/model_speed_tester.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/openai_content.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/printer.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/rag_manager/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/rag_manager/rag_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/recall_validation.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/result_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/rulefiles/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/rulefiles/autocoderrules_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/run_cmd.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/save_formatted_log.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/screenshots.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/search.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/search_replace.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/shells.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/stats_panel.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/stream_out_type.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/sys_prompt.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/test_run_cmd.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/text.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/token_cost_caculate.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/types.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/utils_code_auto_generate.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/ask_followup_question_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/attempt_completion_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/base_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/dangerous_command_checker.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/execute_command_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/list_code_definition_names_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/list_package_info_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/plan_mode_respond_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/read_file_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/replace_in_file_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/search_files_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/test_execute_command_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/test_search_files_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/test_write_to_file_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/use_mcp_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/use_rag_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_tools/write_to_file_tool_resolver.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_edit_types.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/agent/agentic_tool_display.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_agentic_editblock_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_auto_generate.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_auto_generate_diff.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_auto_generate_editblock.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_auto_generate_strict_diff.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_auto_merge.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_auto_merge_diff.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_auto_merge_editblock.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_auto_merge_strict_diff.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_diff_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_editblock_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/common/v2/code_strict_diff_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/base_compiler.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/compiler_config_api.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/compiler_config_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/compiler_factory.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/java_compiler.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/models.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/normal_compiler.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/provided_compiler.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/python_compiler.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/reactjs_compiler.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/shadow_compiler.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/compilers/vue_compiler.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/data/byzerllm.md +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/data/tokenizer.json +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/db/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/db/store.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/dispacher/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/dispacher/actions/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/dispacher/actions/action.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/dispacher/actions/copilot.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/dispacher/actions/plugins/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/dispacher/actions/plugins/action_regex_project.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/events/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/events/event_content.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/events/event_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/events/event_manager_singleton.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/events/event_store.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/events/event_types.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/helper/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/helper/project_creator.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/helper/rag_doc_creator.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/index/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/index/entry.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/index/filter/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/index/filter/normal_filter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/index/filter/quick_filter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/index/for_command.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/index/index.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/index/symbols_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/index/types.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/lang.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/base_linter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/linter_factory.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/models.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/normal_linter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/python_linter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/reactjs_linter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/shadow_linter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/test_python_linter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/test_reactjs_linter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/test_vue_linter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/linters/vue_linter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/memory/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/memory/active_changes.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/memory/active_context_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/memory/active_diagrams.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/memory/active_documents.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/memory/active_header.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/memory/active_package.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/memory/async_processor.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/memory/directory_mapper.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/models.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/plugins/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/plugins/dynamic_completion_example.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/plugins/git_helper_plugin.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/plugins/sample_plugin.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/plugins/token_helper_plugin.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/plugins/utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/privacy/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/privacy/model_filter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/pyproject/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/agentic_rag.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/api_server.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/cache/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/cache/base_cache.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/cache/byzer_storage_cache.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/cache/cache_result_merge.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/cache/failed_files_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/cache/file_monitor_cache.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/cache/local_byzer_storage_cache.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/cache/local_duckdb_storage_cache.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/cache/rag_file_meta.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/cache/simple_cache.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/conversation_to_queries.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/doc_filter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/document_retriever.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/lang.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/llm_wrapper.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/loaders/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/loaders/docx_loader.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/loaders/excel_loader.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/loaders/filter_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/loaders/image_loader.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/loaders/pdf_loader.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/loaders/ppt_loader.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/long_context_rag.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/qa_conversation_strategy.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/rag_config.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/rag_entry.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/relevant_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/searchable.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/stream_event/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/stream_event/event_writer.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/stream_event/types.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/test_doc_filter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/test_long_context_rag.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/test_token_limiter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/token_checker.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/token_counter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/token_limiter.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/token_limiter_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/tools/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/tools/recall_tool.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/tools/search_tool.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/types.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rag/variable_holder.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/rags.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/regexproject/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/run_context.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/shadows/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/shadows/shadow_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/suffixproject/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/tsproject/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/_markitdown.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/auto_coder_utils/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/auto_coder_utils/chat_stream_out.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/auto_project_type.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/chat_auto_coder_utils/__init__.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/conversation_store.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/llm_client_interceptors.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/llms.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/log_capture.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/model_provider_selector.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/multi_turn.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/operate_config_api.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/print_table.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/project_structure.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/queue_communicate.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/request_event_queue.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/request_queue.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/rest.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/stream_thinking.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/thread_utils.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/utils/types.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/tests/test_action_regex_project.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/tests/test_action_yml_file_manager.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/tests/test_chat_auto_coder.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/tests/test_code_auto_merge_editblock.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/tests/test_command_completer.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/tests/test_planner.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/tests/test_plugins.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/tests/test_privacy.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/tests/test_queue_communicate.py +0 -0
- {auto_coder-0.1.393 → auto_coder-0.1.396}/tests/test_symbols_utils.py +0 -0
|
@@ -6,26 +6,18 @@ from autocoder.common import AutoCoderArgs, SourceCode
|
|
|
6
6
|
from autocoder.common.interpreter import Interpreter
|
|
7
7
|
from autocoder.common import ExecuteSteps, ExecuteStep, detect_env
|
|
8
8
|
from autocoder.common import code_auto_execute
|
|
9
|
-
from loguru import logger
|
|
10
9
|
import os
|
|
11
10
|
import io
|
|
12
11
|
import byzerllm
|
|
13
|
-
import yaml
|
|
14
12
|
import json
|
|
15
13
|
import sys
|
|
16
|
-
import contextlib2
|
|
17
|
-
from pydantic import BaseModel
|
|
18
14
|
from byzerllm.types import Bool
|
|
19
15
|
from contextlib import contextmanager
|
|
20
16
|
from rich.console import Console
|
|
21
17
|
from rich.panel import Panel
|
|
22
18
|
from rich.text import Text
|
|
23
19
|
from rich.prompt import Prompt
|
|
24
|
-
|
|
25
|
-
queue_communicate,
|
|
26
|
-
CommunicateEvent,
|
|
27
|
-
CommunicateEventType,
|
|
28
|
-
)
|
|
20
|
+
|
|
29
21
|
|
|
30
22
|
|
|
31
23
|
@contextmanager
|
|
@@ -438,16 +430,4 @@ class ProjectReader:
|
|
|
438
430
|
return self.pp.get_tree_like_directory_structure.prompt()
|
|
439
431
|
|
|
440
432
|
def run(self, query: str, max_iterations: int = 20):
|
|
441
|
-
|
|
442
|
-
from llama_index.core.agent import ReActAgent
|
|
443
|
-
agent = ReActAgent.from_tools(
|
|
444
|
-
tools=self.tools,
|
|
445
|
-
llm=ByzerAI(llm=self.llm),
|
|
446
|
-
verbose=True,
|
|
447
|
-
max_iterations=max_iterations,
|
|
448
|
-
context=context.prompt(
|
|
449
|
-
project_map=self.get_tree_like_directory_structure(),
|
|
450
|
-
),
|
|
451
|
-
)
|
|
452
|
-
r = agent.chat(message=query)
|
|
453
|
-
return r.response
|
|
433
|
+
raise NotImplementedError("/ask is no longer supported")
|
|
@@ -907,13 +907,7 @@ def main(input_args: Optional[List[str]] = None):
|
|
|
907
907
|
from autocoder.agent.project_reader import ProjectReader
|
|
908
908
|
|
|
909
909
|
project_reader = ProjectReader(args, llm)
|
|
910
|
-
v = project_reader.run(args.query)
|
|
911
|
-
request_queue.add_request(
|
|
912
|
-
args.request_id,
|
|
913
|
-
RequestValue(
|
|
914
|
-
value=DefaultValue(value=v), status=RequestOption.COMPLETED
|
|
915
|
-
),
|
|
916
|
-
)
|
|
910
|
+
v = project_reader.run(args.query)
|
|
917
911
|
console = Console()
|
|
918
912
|
markdown_content = v
|
|
919
913
|
|
|
@@ -558,7 +558,7 @@ class AgenticEdit:
|
|
|
558
558
|
</use_mcp_tool>
|
|
559
559
|
|
|
560
560
|
# Tool Use Guidelines
|
|
561
|
-
|
|
561
|
+
0. **ALWAYS START WITH THOROUGH SEARCH AND EXPLORATION.** Before making any code changes, use search tools (list_files, grep commands) to fully understand the codebase structure, existing patterns, and dependencies. This prevents errors and ensures your changes align with project conventions.
|
|
562
562
|
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
|
|
563
563
|
2. Choose the most appropriate tool based on the task and the tool descriptions provided. Assess if you need additional information to proceed, and which of the available tools would be most effective for gathering this information. For example using the list_files tool is more effective than running a command like \`ls\` in the terminal. It's critical that you think about each available tool and use the one that best fits the current step in the task.
|
|
564
564
|
3. If multiple actions are needed, use one tool at a time per message to accomplish the task iteratively, with each tool use being informed by the result of the previous tool use. Do not assume the outcome of any tool use. Each step must be informed by the previous step's result.
|
|
@@ -579,9 +579,286 @@ class AgenticEdit:
|
|
|
579
579
|
By waiting for and carefully considering the user's response after each tool use, you can react accordingly and make informed decisions about how to proceed with the task. This iterative process helps ensure the overall success and accuracy of your work.
|
|
580
580
|
|
|
581
581
|
====
|
|
582
|
+
SEARCHING FILES
|
|
583
|
+
|
|
584
|
+
**THIS IS YOUR CORE METHODOLOGY** - The following search-first approach is not optional but mandatory for reliable code work. Every code task should follow this systematic exploration pattern.
|
|
585
|
+
This guide provides a systematic approach for AI agents and developers to effectively search, understand, and modify codebases. It emphasizes thorough pre-code investigation and post-code verification to ensure reliable and maintainable changes.
|
|
582
586
|
|
|
583
|
-
|
|
587
|
+
The methodology combines multiple search tools (grep, list_files, read_file) with structured workflows to minimize code errors, ensure comprehensive understanding, validate changes systematically, and follow established project patterns.
|
|
588
|
+
|
|
589
|
+
# list_files
|
|
590
|
+
|
|
591
|
+
## Purpose
|
|
592
|
+
|
|
593
|
+
- Discover project structure and understand directory organization
|
|
594
|
+
- Get an overview of available files and folders before diving deeper
|
|
595
|
+
|
|
596
|
+
## When to Use
|
|
597
|
+
|
|
598
|
+
- Initial project exploration to understand the codebase layout
|
|
599
|
+
- Identifying key directories like `src/`, `lib/`, `components/`, `utils/`
|
|
600
|
+
- Locating configuration files like `package.json`, `tsconfig.json`, `Makefile`
|
|
601
|
+
- Before using more targeted search tools
|
|
602
|
+
|
|
603
|
+
## Advantages
|
|
604
|
+
|
|
605
|
+
- Provides quick project overview without overwhelming detail
|
|
606
|
+
- Helps plan targeted searches in specific directories
|
|
607
|
+
- Essential first step in understanding unfamiliar codebases
|
|
608
|
+
|
|
609
|
+
# grep (Shell Commands)
|
|
610
|
+
|
|
611
|
+
## Purpose
|
|
612
|
+
|
|
613
|
+
- Find exact text matches and patterns across multiple files
|
|
614
|
+
- Perform precise searches with minimal output overhead
|
|
615
|
+
- Verify code changes and validate implementations
|
|
616
|
+
|
|
617
|
+
## When to Use
|
|
618
|
+
|
|
619
|
+
- **Pre-code Context Gathering**: Locate symbols, functions, imports, and usage patterns
|
|
620
|
+
- **Post-code Verification**: Confirm changes were applied correctly and no stale references remain
|
|
621
|
+
- **Pattern Analysis**: Understand coding conventions and existing implementations
|
|
622
|
+
|
|
623
|
+
## Key Command Patterns
|
|
624
|
+
|
|
625
|
+
**Pre-code Context Examples:**
|
|
626
|
+
|
|
627
|
+
<execute_command>
|
|
628
|
+
<command>grep -l "className" src/ | head -5</command>
|
|
629
|
+
<requires_approval>false</requires_approval>
|
|
630
|
+
</execute_command>
|
|
631
|
+
|
|
632
|
+
<execute_command>
|
|
633
|
+
<command>grep -rc "import.*React" src/ | grep -v ":0"</command>
|
|
634
|
+
<requires_approval>false</requires_approval>
|
|
635
|
+
</execute_command>
|
|
636
|
+
|
|
637
|
+
<execute_command>
|
|
638
|
+
<command>grep -Rn "function.*MyFunction\|const.*MyFunction" . | head -10</command>
|
|
639
|
+
<requires_approval>false</requires_approval>
|
|
640
|
+
</execute_command>
|
|
641
|
+
|
|
642
|
+
<execute_command>
|
|
643
|
+
<command>grep -R --exclude-dir={node_modules,dist,build,.git} "TODO" .</command>
|
|
644
|
+
<requires_approval>false</requires_approval>
|
|
645
|
+
</execute_command>
|
|
646
|
+
|
|
647
|
+
**Post-code Verification Examples:**
|
|
648
|
+
|
|
649
|
+
<execute_command>
|
|
650
|
+
<command>ls -la newfile.js 2>/dev/null && echo "File created" || echo "File not found"</command>
|
|
651
|
+
<requires_approval>false</requires_approval>
|
|
652
|
+
</execute_command>
|
|
653
|
+
|
|
654
|
+
<execute_command>
|
|
655
|
+
<command>grep -Rn "oldName" . || echo "✓ No stale references found"</command>
|
|
656
|
+
<requires_approval>false</requires_approval>
|
|
657
|
+
</execute_command>
|
|
658
|
+
|
|
659
|
+
<execute_command>
|
|
660
|
+
<command>grep -c "newName" src/*.js | grep -v ":0" || echo "⚠ New references not found"</command>
|
|
661
|
+
<requires_approval>false</requires_approval>
|
|
662
|
+
</execute_command>
|
|
663
|
+
|
|
664
|
+
<execute_command>
|
|
665
|
+
<command>grep -Rn "import.*newModule\|export.*newFunction" . | wc -l</command>
|
|
666
|
+
<requires_approval>false</requires_approval>
|
|
667
|
+
</execute_command>
|
|
668
|
+
|
|
669
|
+
## Output Optimization Tips
|
|
670
|
+
|
|
671
|
+
- Use `-l` for filenames only
|
|
672
|
+
- Use `-c` for count only
|
|
673
|
+
- Use `| head -N` to limit lines
|
|
674
|
+
- Use `| wc -l` for total count
|
|
675
|
+
- Use `2>/dev/null` to suppress errors
|
|
676
|
+
- Combine with `|| echo` for clear status messages
|
|
677
|
+
|
|
678
|
+
# search_files (Fallback)
|
|
679
|
+
|
|
680
|
+
## Purpose
|
|
681
|
+
|
|
682
|
+
- Alternative search method when grep commands aren't available
|
|
683
|
+
- Semantic search capabilities for finding related code
|
|
684
|
+
|
|
685
|
+
## When to Use
|
|
686
|
+
|
|
687
|
+
- When shell access is limited or grep is unavailable
|
|
688
|
+
- For broader, less precise searches across the codebase
|
|
689
|
+
- As a complement to grep for comprehensive code discovery
|
|
690
|
+
|
|
691
|
+
# read_file
|
|
692
|
+
|
|
693
|
+
## Purpose
|
|
694
|
+
|
|
695
|
+
- Examine complete file contents in detail
|
|
696
|
+
- Understand context, patterns, and implementation details
|
|
697
|
+
|
|
698
|
+
## When to Use
|
|
699
|
+
|
|
700
|
+
- After identifying target files through list_files or grep
|
|
701
|
+
- To understand function signatures, interfaces, and contracts
|
|
702
|
+
- For analyzing usage patterns and project conventions
|
|
703
|
+
- When detailed code examination is needed before making changes
|
|
704
|
+
|
|
705
|
+
## Important Considerations
|
|
706
|
+
|
|
707
|
+
- Use strategically after narrowing down target files
|
|
708
|
+
- Essential for understanding context before code modification
|
|
709
|
+
- Helps identify dependencies and potential side effects
|
|
710
|
+
|
|
711
|
+
# Choosing the Right Search Strategy
|
|
712
|
+
|
|
713
|
+
- **Start with list_files** to understand project structure
|
|
714
|
+
- **Use grep for targeted searches** when you know what to look for
|
|
715
|
+
- **Apply read_file for detailed examination** of specific files
|
|
716
|
+
- **Combine multiple approaches** for comprehensive understanding
|
|
584
717
|
|
|
718
|
+
**Default workflow:**
|
|
719
|
+
1. `list_files` → understand structure
|
|
720
|
+
2. `grep` → find specific patterns/symbols
|
|
721
|
+
3. `read_file` → examine details
|
|
722
|
+
4. Implement changes
|
|
723
|
+
5. `grep` → verify changes
|
|
724
|
+
|
|
725
|
+
# Comprehensive Workflow
|
|
726
|
+
|
|
727
|
+
## Phase 1: Project Discovery & Analysis
|
|
728
|
+
|
|
729
|
+
**Project Structure Overview**
|
|
730
|
+
<execute_command>
|
|
731
|
+
<command>ls -la</command>
|
|
732
|
+
<requires_approval>false</requires_approval>
|
|
733
|
+
</execute_command>
|
|
734
|
+
|
|
735
|
+
- Use `list_files` tool to understand directory structure
|
|
736
|
+
- Identify key directories: `src/`, `lib/`, `components/`, `utils/`
|
|
737
|
+
- Look for config files: `package.json`, `tsconfig.json`, `Makefile`
|
|
738
|
+
|
|
739
|
+
**Technology Stack Identification**
|
|
740
|
+
<execute_command>
|
|
741
|
+
<command>grep -E "(import|require|from).*['\"]" src/ | head -20</command>
|
|
742
|
+
<requires_approval>false</requires_approval>
|
|
743
|
+
</execute_command>
|
|
744
|
+
|
|
745
|
+
- Check package dependencies and imports
|
|
746
|
+
- Identify frameworks, libraries, and coding patterns
|
|
747
|
+
- Understand project conventions (naming, file organization)
|
|
748
|
+
|
|
749
|
+
## Phase 2: Contextual Code Investigation
|
|
750
|
+
|
|
751
|
+
**Symbol and Pattern Search**
|
|
752
|
+
<execute_command>
|
|
753
|
+
<command>grep -Rn "targetFunction\|targetClass" . --exclude-dir={node_modules,dist}</command>
|
|
754
|
+
<requires_approval>false</requires_approval>
|
|
755
|
+
</execute_command>
|
|
756
|
+
|
|
757
|
+
**Usage Pattern Analysis**
|
|
758
|
+
- Use `read_file` to examine key files in detail
|
|
759
|
+
- Understand function signatures, interfaces, and contracts
|
|
760
|
+
- Check error handling patterns and edge cases
|
|
761
|
+
|
|
762
|
+
**Dependency Mapping**
|
|
763
|
+
<execute_command>
|
|
764
|
+
<command>grep -Rn "import.*targetModule" . | grep -v test</command>
|
|
765
|
+
<requires_approval>false</requires_approval>
|
|
766
|
+
</execute_command>
|
|
767
|
+
|
|
768
|
+
## Phase 3: Implementation Planning
|
|
769
|
+
|
|
770
|
+
**Impact Assessment**
|
|
771
|
+
- Identify all files that need modification
|
|
772
|
+
- Plan backwards compatibility considerations
|
|
773
|
+
- Consider potential side effects
|
|
774
|
+
|
|
775
|
+
**Test Strategy**
|
|
776
|
+
<execute_command>
|
|
777
|
+
<command>find . -name "*test*" -o -name "*spec*" | head -10</command>
|
|
778
|
+
<requires_approval>false</requires_approval>
|
|
779
|
+
</execute_command>
|
|
780
|
+
|
|
781
|
+
- Locate existing tests for reference
|
|
782
|
+
- Plan new test cases if needed
|
|
783
|
+
|
|
784
|
+
## Phase 4: Code Implementation
|
|
785
|
+
|
|
786
|
+
More detail is on the EDITING FILES PART.
|
|
787
|
+
|
|
788
|
+
## Phase 5: Comprehensive Verification
|
|
789
|
+
|
|
790
|
+
**File System Verification**
|
|
791
|
+
<execute_command>
|
|
792
|
+
<command>ls -la newfile.* 2>/dev/null || echo "Expected new files not found"</command>
|
|
793
|
+
<requires_approval>false</requires_approval>
|
|
794
|
+
</execute_command>
|
|
795
|
+
|
|
796
|
+
**Code Integration Verification**
|
|
797
|
+
<execute_command>
|
|
798
|
+
<command>grep -Rn "oldSymbol" . --exclude-dir={node_modules,dist} || echo "✓ No stale references"</command>
|
|
799
|
+
<requires_approval>false</requires_approval>
|
|
800
|
+
</execute_command>
|
|
801
|
+
|
|
802
|
+
<execute_command>
|
|
803
|
+
<command>grep -c "newSymbol" src/ --include="*.js" --include="*.ts" | grep -v ":0"</command>
|
|
804
|
+
<requires_approval>false</requires_approval>
|
|
805
|
+
</execute_command>
|
|
806
|
+
|
|
807
|
+
**Functional Verification**
|
|
808
|
+
<execute_command>
|
|
809
|
+
<command>npm run lint 2>/dev/null || echo "Linting not configured"</command>
|
|
810
|
+
<requires_approval>false</requires_approval>
|
|
811
|
+
</execute_command>
|
|
812
|
+
|
|
813
|
+
<execute_command>
|
|
814
|
+
<command>npm test 2>/dev/null || echo "Testing not configured"</command>
|
|
815
|
+
<requires_approval>false</requires_approval>
|
|
816
|
+
</execute_command>
|
|
817
|
+
|
|
818
|
+
<execute_command>
|
|
819
|
+
<command>npm run build 2>/dev/null || echo "Build not configured"</command>
|
|
820
|
+
<requires_approval>false</requires_approval>
|
|
821
|
+
</execute_command>
|
|
822
|
+
|
|
823
|
+
**Documentation & Comments**
|
|
824
|
+
- Verify that new functions/classes have appropriate documentation
|
|
825
|
+
- Check that complex logic has explanatory comments
|
|
826
|
+
- Ensure README or other docs are updated if needed
|
|
827
|
+
|
|
828
|
+
## Phase 6: Quality Assurance
|
|
829
|
+
|
|
830
|
+
**Performance Considerations**
|
|
831
|
+
- Check for potential performance impacts
|
|
832
|
+
- Verify memory usage patterns
|
|
833
|
+
- Consider scalability implications
|
|
834
|
+
|
|
835
|
+
**Security Review**
|
|
836
|
+
- Look for potential security vulnerabilities
|
|
837
|
+
- Verify input validation and sanitization
|
|
838
|
+
- Check for proper error handling
|
|
839
|
+
|
|
840
|
+
**Final Integration Check**
|
|
841
|
+
<execute_command>
|
|
842
|
+
<command>grep -Rn "TODO\|FIXME\|XXX" . --exclude-dir={node_modules,dist} | wc -l</command>
|
|
843
|
+
<requires_approval>false</requires_approval>
|
|
844
|
+
</execute_command>
|
|
845
|
+
|
|
846
|
+
# Best Practices
|
|
847
|
+
|
|
848
|
+
- **Iterative Approach**: Don't try to understand everything at once; build knowledge progressively
|
|
849
|
+
- **Documentation First**: Read existing docs, comments, and README files before diving into code
|
|
850
|
+
- **Small Steps**: Make incremental changes and verify each step
|
|
851
|
+
- **Rollback Ready**: Always know how to undo changes if something goes wrong
|
|
852
|
+
- **Test Early**: Run tests frequently during development, not just at the end
|
|
853
|
+
- **Pattern Consistency**: Follow established project patterns rather than introducing new ones
|
|
854
|
+
|
|
855
|
+
By following this comprehensive approach, you ensure thorough understanding, reliable implementation, and robust verification of all code changes.
|
|
856
|
+
|
|
857
|
+
====
|
|
858
|
+
|
|
859
|
+
EDITING FILES
|
|
860
|
+
|
|
861
|
+
Before applying the editing techniques below, ensure you have followed the SEARCHING FILES methodology to fully understand the codebase context.
|
|
585
862
|
You have access to two tools for working with files: **write_to_file** and **replace_in_file**. Understanding their roles and selecting the right one for the job will help ensure efficient and accurate modifications.
|
|
586
863
|
|
|
587
864
|
# write_to_file
|
|
@@ -688,28 +965,31 @@ class AgenticEdit:
|
|
|
688
965
|
|
|
689
966
|
- Quickly identifies recently modified files that may be relevant to your task
|
|
690
967
|
- Provides high-level understanding of directory contents and purpose
|
|
691
|
-
- Helps prioritize which files to examine in detail with tools like read_file,
|
|
968
|
+
- Helps prioritize which files to examine in detail with tools like read_file, shell commands, or list_code_definition_names
|
|
692
969
|
|
|
693
970
|
====
|
|
694
971
|
|
|
695
972
|
CAPABILITIES
|
|
696
|
-
|
|
973
|
+
|
|
974
|
+
- **SEARCH AND UNDERSTAND FIRST**: Your primary strength lies in systematically exploring and understanding codebases before making changes. Use list_files, execute_command (grep) to map project structure, identify patterns, and understand dependencies. This exploration-first approach is crucial for reliable code modifications.
|
|
697
975
|
- You have access to tools that let you execute CLI commands on the user's computer, list files, view source code definitions, regex search, read and edit files, and ask follow-up questions. These tools help you effectively accomplish a wide range of tasks, such as writing code, making edits or improvements to existing files, understanding the current state of a project, performing system operations, and much more.
|
|
698
976
|
- When the user initially gives you a task, a recursive list of all filepaths in the current working directory ('{{ current_project }}') will be included in environment_details. This provides an overview of the project's file structure, offering key insights into the project from directory/file names (how developers conceptualize and organize their code) and file extensions (the language used). This can also guide decision-making on which files to explore further. If you need to further explore directories such as outside the current working directory, you can use the list_files tool. If you pass 'true' for the recursive parameter, it will list files recursively. Otherwise, it will list files at the top level, which is better suited for generic directories where you don't necessarily need the nested structure, like the Desktop.
|
|
699
|
-
- You can use
|
|
977
|
+
- You can use shell_command(grep) to perform regex searches across files in a specified directory, outputting context-rich results that include surrounding lines. This is particularly useful for understanding code patterns, finding specific implementations, or identifying areas that need refactoring.
|
|
700
978
|
- You can use the list_code_definition_names tool to get an overview of source code definitions for all files at the top level of a specified directory. This can be particularly useful when you need to understand the broader context and relationships between certain parts of the code. You may need to call this tool multiple times to understand various parts of the codebase related to the task.
|
|
701
|
-
- For example, when asked to make edits or improvements you might analyze the file structure in the initial environment_details to get an overview of the project, then use list_code_definition_names to get further insight using source code definitions for files located in relevant directories, then read_file to examine the contents of relevant files, analyze the code and suggest improvements or make necessary edits, then use the replace_in_file tool to implement changes. If you refactored code that could affect other parts of the codebase, you could use
|
|
979
|
+
- For example, when asked to make edits or improvements you might analyze the file structure in the initial environment_details to get an overview of the project, then use list_code_definition_names to get further insight using source code definitions for files located in relevant directories, then read_file to examine the contents of relevant files, analyze the code and suggest improvements or make necessary edits, then use the replace_in_file tool to implement changes. If you refactored code that could affect other parts of the codebase, you could use shell commands(grep) to ensure you update other files as needed.
|
|
702
980
|
- You can use the execute_command tool to run commands on the user's computer whenever you feel it can help accomplish the user's task. When you need to execute a CLI command, you must provide a clear explanation of what the command does. Prefer to execute complex CLI commands over creating executable scripts, since they are more flexible and easier to run. Interactive and long-running commands are allowed, since the commands are run in the user's VSCode terminal. The user may keep commands running in the background and you will be kept updated on their status along the way. Each command you execute is run in a new terminal instance.
|
|
703
981
|
|
|
704
982
|
====
|
|
705
983
|
|
|
706
984
|
RULES
|
|
707
|
-
|
|
985
|
+
|
|
708
986
|
- Your current working directory is: {{current_project}}
|
|
987
|
+
- **MANDATORY SEARCH BEFORE EDIT**: Before editing any file, you MUST first search to understand its context, dependencies, and usage patterns. Use list_files or grep commands to find related code, imports, and references.
|
|
988
|
+
- **VERIFY THROUGH SEARCH**: After making changes, use list_files or grep commands to verify no stale references remain and that new code integrates properly with existing patterns.
|
|
709
989
|
- You cannot \`cd\` into a different directory to complete a task. You are stuck operating from '{{ current_project }}', so be sure to pass in the correct 'path' parameter when using tools that require a path.
|
|
710
990
|
- Do not use the ~ character or $HOME to refer to the home directory.
|
|
711
991
|
- Before using the execute_command tool, you must first think about the SYSTEM INFORMATION context provided to understand the user's environment and tailor your commands to ensure they are compatible with their system. You must also consider if the command you need to run should be executed in a specific directory outside of the current working directory '{{ current_project }}', and if so prepend with \`cd\`'ing into that directory && then executing the command (as one command since you are stuck operating from '{{ current_project }}'). For example, if you needed to run \`npm install\` in a project outside of '{{ current_project }}', you would need to prepend with a \`cd\` i.e. pseudocode for this would be \`cd (path to project) && (command, in this case npm install)\`.
|
|
712
|
-
- When using the
|
|
992
|
+
- When using the shell command tool (grep), craft your regex patterns carefully to balance specificity and flexibility. Based on the user's task you may use it to find code patterns, TODO comments, function definitions, or any text-based information across the project. The results include context, so analyze the surrounding code to better understand the matches. Leverage the shell command tool(grep) in combination with other tools for more comprehensive analysis. For example, use it to find specific code patterns, then use read_file to examine the full context of interesting matches before using replace_in_file to make informed changes.
|
|
713
993
|
- When creating a new project (such as an app, website, or any software project), organize all new files within a dedicated project directory unless the user specifies otherwise. Use appropriate file paths when creating files, as the write_to_file tool will automatically create any necessary directories. Structure the project logically, adhering to best practices for the specific type of project being created. Unless otherwise specified, new projects should be easily run without additional setup, for example most projects can be built in HTML, CSS, and JavaScript - which you can open in a browser.
|
|
714
994
|
- Be sure to consider the type of project (e.g. Python, JavaScript, web application) when determining the appropriate structure and files to include. Also consider what files may be most relevant to accomplishing the task, for example looking at a project's manifest file would help you understand the project's dependencies, which you could incorporate into any code you write.
|
|
715
995
|
- When making changes to code, always consider the context in which the code is being used. Ensure that your changes are compatible with the existing codebase and that they follow the project's coding standards and best practices.
|
|
@@ -785,6 +1065,7 @@ class AgenticEdit:
|
|
|
785
1065
|
3. Remember, you have extensive capabilities with access to a wide range of tools that can be used in powerful and clever ways as necessary to accomplish each goal. Before calling a tool, do some analysis within <thinking></thinking> tags. First, analyze the file structure provided in environment_details to gain context and insights for proceeding effectively. Then, think about which of the provided tools is the most relevant tool to accomplish the user's task. Next, go through each of the required parameters of the relevant tool and determine if the user has directly provided or given enough information to infer a value. When deciding if the parameter can be inferred, carefully consider all the context to see if it supports a specific value. If all of the required parameters are present or can be reasonably inferred, close the thinking tag and proceed with the tool use. BUT, if one of the values for a required parameter is missing, DO NOT invoke the tool (not even with fillers for the missing params) and instead, ask the user to provide the missing parameters using the ask_followup_question tool. DO NOT ask for more information on optional parameters if it is not provided.
|
|
786
1066
|
4. Once you've completed the user's task, you must use the attempt_completion tool to present the result of the task to the user. You may also provide a CLI command to showcase the result of your task; this can be particularly useful for web development tasks, where you can run e.g. \`open index.html\` to show the website you've built.
|
|
787
1067
|
5. The user may provide feedback, which you can use to make improvements and try again. But DO NOT continue in pointless back and forth conversations, i.e. don't end your responses with questions or offers for further assistance.
|
|
1068
|
+
6. Work through these goals sequentially, **ALWAYS STARTING WITH COMPREHENSIVE SEARCH AND EXPLORATION** using available tools. For any code-related task, begin with list_files to understand structure, then use commands(grep) to find relevant patterns, and read_file to examine context before making changes.
|
|
788
1069
|
|
|
789
1070
|
"""
|
|
790
1071
|
## auto_select_rules(context=request.user_input, llm=self.llm,args=self.args) rules =
|
|
@@ -141,7 +141,15 @@ class ListFilesToolResolver(BaseToolResolver):
|
|
|
141
141
|
|
|
142
142
|
# Handle the case where the implementation returns a sorted list instead of a ToolResult
|
|
143
143
|
if isinstance(result, list):
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
total_items = len(result)
|
|
145
|
+
# Limit results to 200 if needed
|
|
146
|
+
if total_items > 200:
|
|
147
|
+
truncated_result = result[:200]
|
|
148
|
+
message = f"Successfully listed contents of '{list_path_str}' (Recursive: {recursive}). Found {total_items} items, showing only the first 200."
|
|
149
|
+
logger.info(message)
|
|
150
|
+
return ToolResult(success=True, message=message, content=truncated_result)
|
|
151
|
+
else:
|
|
152
|
+
message = f"Successfully listed contents of '{list_path_str}' (Recursive: {recursive}). Found {total_items} items."
|
|
153
|
+
return ToolResult(success=True, message=message, content=result)
|
|
146
154
|
else:
|
|
147
155
|
return result
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.396"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.393"
|
|
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.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/agentic_tool_display.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/test_base_agent.py
RENAMED
|
File without changes
|
|
File without changes
|
{auto_coder-0.1.393 → auto_coder-0.1.396}/src/autocoder/agent/base_agentic/tools/__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
|
|
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
|