autobyteus 1.0.5__py3-none-any.whl → 1.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- autobyteus/agent/agent.py +97 -222
- autobyteus/agent/bootstrap_steps/__init__.py +19 -0
- autobyteus/agent/bootstrap_steps/agent_bootstrapper.py +88 -0
- autobyteus/agent/bootstrap_steps/agent_runtime_queue_initialization_step.py +57 -0
- autobyteus/agent/bootstrap_steps/base_bootstrap_step.py +38 -0
- autobyteus/agent/bootstrap_steps/system_prompt_processing_step.py +93 -0
- autobyteus/agent/bootstrap_steps/workspace_context_initialization_step.py +47 -0
- autobyteus/agent/context/__init__.py +18 -0
- autobyteus/agent/context/agent_config.py +80 -0
- autobyteus/agent/context/agent_context.py +132 -0
- autobyteus/agent/context/agent_phase_manager.py +164 -0
- autobyteus/agent/context/agent_runtime_state.py +89 -0
- autobyteus/agent/context/phases.py +47 -0
- autobyteus/agent/events/__init__.py +63 -0
- autobyteus/agent/events/agent_events.py +147 -0
- autobyteus/agent/events/agent_input_event_queue_manager.py +174 -0
- autobyteus/agent/events/notifiers.py +104 -0
- autobyteus/agent/events/worker_event_dispatcher.py +118 -0
- autobyteus/agent/factory/__init__.py +9 -0
- autobyteus/agent/factory/agent_factory.py +126 -79
- autobyteus/agent/group/agent_group.py +155 -0
- autobyteus/agent/group/agent_group_context.py +81 -0
- autobyteus/agent/handlers/__init__.py +36 -0
- autobyteus/agent/handlers/approved_tool_invocation_event_handler.py +134 -0
- autobyteus/agent/handlers/base_event_handler.py +36 -0
- autobyteus/agent/handlers/event_handler_registry.py +76 -0
- autobyteus/agent/handlers/generic_event_handler.py +46 -0
- autobyteus/agent/handlers/inter_agent_message_event_handler.py +76 -0
- autobyteus/agent/handlers/lifecycle_event_logger.py +64 -0
- autobyteus/agent/handlers/llm_complete_response_received_event_handler.py +136 -0
- autobyteus/agent/handlers/llm_user_message_ready_event_handler.py +140 -0
- autobyteus/agent/handlers/tool_execution_approval_event_handler.py +85 -0
- autobyteus/agent/handlers/tool_invocation_request_event_handler.py +186 -0
- autobyteus/agent/handlers/tool_result_event_handler.py +96 -0
- autobyteus/agent/handlers/user_input_message_event_handler.py +77 -0
- autobyteus/agent/hooks/__init__.py +9 -0
- autobyteus/agent/hooks/base_phase_hook.py +52 -0
- autobyteus/agent/input_processor/__init__.py +18 -0
- autobyteus/agent/input_processor/base_user_input_processor.py +51 -0
- autobyteus/agent/input_processor/content_prefixing_input_processor.py +41 -0
- autobyteus/agent/input_processor/metadata_appending_input_processor.py +34 -0
- autobyteus/agent/input_processor/passthrough_input_processor.py +32 -0
- autobyteus/agent/input_processor/processor_definition.py +42 -0
- autobyteus/agent/input_processor/processor_meta.py +46 -0
- autobyteus/agent/input_processor/processor_registry.py +98 -0
- autobyteus/agent/llm_response_processor/__init__.py +16 -0
- autobyteus/agent/llm_response_processor/base_processor.py +50 -0
- autobyteus/agent/llm_response_processor/processor_definition.py +36 -0
- autobyteus/agent/llm_response_processor/processor_meta.py +37 -0
- autobyteus/agent/llm_response_processor/processor_registry.py +94 -0
- autobyteus/agent/llm_response_processor/provider_aware_tool_usage_processor.py +53 -0
- autobyteus/agent/message/__init__.py +20 -0
- autobyteus/agent/message/agent_input_user_message.py +96 -0
- autobyteus/agent/message/context_file.py +82 -0
- autobyteus/agent/message/context_file_type.py +64 -0
- autobyteus/agent/message/{message.py → inter_agent_message.py} +12 -12
- autobyteus/agent/message/{message_types.py → inter_agent_message_type.py} +8 -6
- autobyteus/agent/message/send_message_to.py +142 -36
- autobyteus/agent/remote_agent.py +240 -5
- autobyteus/agent/runtime/__init__.py +15 -0
- autobyteus/agent/runtime/agent_runtime.py +139 -0
- autobyteus/agent/runtime/agent_thread_pool_manager.py +88 -0
- autobyteus/agent/runtime/agent_worker.py +200 -0
- autobyteus/agent/streaming/__init__.py +15 -0
- autobyteus/agent/streaming/agent_event_stream.py +120 -0
- autobyteus/agent/streaming/queue_streamer.py +58 -0
- autobyteus/agent/streaming/stream_event_payloads.py +156 -0
- autobyteus/agent/streaming/stream_events.py +123 -0
- autobyteus/agent/system_prompt_processor/__init__.py +14 -0
- autobyteus/agent/system_prompt_processor/base_processor.py +45 -0
- autobyteus/agent/system_prompt_processor/processor_definition.py +40 -0
- autobyteus/agent/system_prompt_processor/processor_meta.py +47 -0
- autobyteus/agent/system_prompt_processor/processor_registry.py +119 -0
- autobyteus/agent/system_prompt_processor/tool_manifest_injector_processor.py +65 -0
- autobyteus/agent/tool_invocation.py +28 -5
- autobyteus/agent/utils/__init__.py +9 -0
- autobyteus/agent/utils/wait_for_idle.py +59 -0
- autobyteus/agent/workflow/__init__.py +11 -0
- autobyteus/agent/workflow/agentic_workflow.py +89 -0
- autobyteus/agent/workflow/base_agentic_workflow.py +98 -0
- autobyteus/agent/workspace/__init__.py +9 -0
- autobyteus/agent/workspace/base_workspace.py +55 -0
- autobyteus/cli/__init__.py +10 -0
- autobyteus/cli/agent_cli.py +299 -0
- autobyteus/events/event_emitter.py +33 -56
- autobyteus/events/event_manager.py +133 -66
- autobyteus/events/event_types.py +41 -14
- autobyteus/llm/api/autobyteus_llm.py +13 -15
- autobyteus/llm/api/bedrock_llm.py +9 -3
- autobyteus/llm/api/claude_llm.py +10 -5
- autobyteus/llm/api/deepseek_llm.py +53 -91
- autobyteus/llm/api/gemini_llm.py +10 -4
- autobyteus/llm/api/grok_llm.py +53 -77
- autobyteus/llm/api/groq_llm.py +10 -5
- autobyteus/llm/api/mistral_llm.py +10 -5
- autobyteus/llm/api/nvidia_llm.py +9 -4
- autobyteus/llm/api/ollama_llm.py +56 -48
- autobyteus/llm/api/openai_llm.py +20 -14
- autobyteus/llm/base_llm.py +95 -34
- autobyteus/llm/extensions/base_extension.py +3 -4
- autobyteus/llm/extensions/token_usage_tracking_extension.py +2 -3
- autobyteus/llm/llm_factory.py +12 -13
- autobyteus/llm/models.py +87 -8
- autobyteus/llm/user_message.py +73 -0
- autobyteus/llm/utils/llm_config.py +124 -27
- autobyteus/llm/utils/response_types.py +3 -2
- autobyteus/llm/utils/token_usage.py +7 -4
- autobyteus/rpc/__init__.py +73 -0
- autobyteus/rpc/client/__init__.py +17 -0
- autobyteus/rpc/client/abstract_client_connection.py +124 -0
- autobyteus/rpc/client/client_connection_manager.py +153 -0
- autobyteus/rpc/client/sse_client_connection.py +306 -0
- autobyteus/rpc/client/stdio_client_connection.py +280 -0
- autobyteus/rpc/config/__init__.py +13 -0
- autobyteus/rpc/config/agent_server_config.py +153 -0
- autobyteus/rpc/config/agent_server_registry.py +152 -0
- autobyteus/rpc/hosting.py +244 -0
- autobyteus/rpc/protocol.py +244 -0
- autobyteus/rpc/server/__init__.py +20 -0
- autobyteus/rpc/server/agent_server_endpoint.py +181 -0
- autobyteus/rpc/server/base_method_handler.py +40 -0
- autobyteus/rpc/server/method_handlers.py +259 -0
- autobyteus/rpc/server/sse_server_handler.py +182 -0
- autobyteus/rpc/server/stdio_server_handler.py +151 -0
- autobyteus/rpc/server_main.py +198 -0
- autobyteus/rpc/transport_type.py +13 -0
- autobyteus/tools/__init__.py +75 -0
- autobyteus/tools/ask_user_input.py +34 -77
- autobyteus/tools/base_tool.py +66 -37
- autobyteus/tools/bash/__init__.py +2 -0
- autobyteus/tools/bash/bash_executor.py +42 -79
- autobyteus/tools/browser/__init__.py +2 -0
- autobyteus/tools/browser/session_aware/browser_session_aware_navigate_to.py +50 -42
- autobyteus/tools/browser/session_aware/browser_session_aware_tool.py +7 -4
- autobyteus/tools/browser/session_aware/browser_session_aware_web_element_trigger.py +117 -125
- autobyteus/tools/browser/session_aware/browser_session_aware_webpage_reader.py +75 -22
- autobyteus/tools/browser/session_aware/browser_session_aware_webpage_screenshot_taker.py +94 -28
- autobyteus/tools/browser/session_aware/factory/browser_session_aware_web_element_trigger_factory.py +10 -2
- autobyteus/tools/browser/session_aware/factory/browser_session_aware_webpage_reader_factory.py +18 -2
- autobyteus/tools/browser/session_aware/factory/browser_session_aware_webpage_screenshot_taker_factory.py +10 -2
- autobyteus/tools/browser/session_aware/shared_browser_session_manager.py +4 -3
- autobyteus/tools/browser/standalone/__init__.py +7 -0
- autobyteus/tools/browser/standalone/factory/google_search_factory.py +17 -2
- autobyteus/tools/browser/standalone/factory/webpage_reader_factory.py +17 -2
- autobyteus/tools/browser/standalone/factory/webpage_screenshot_taker_factory.py +10 -2
- autobyteus/tools/browser/standalone/google_search_ui.py +104 -67
- autobyteus/tools/browser/standalone/navigate_to.py +52 -28
- autobyteus/tools/browser/standalone/web_page_pdf_generator.py +94 -0
- autobyteus/tools/browser/standalone/webpage_image_downloader.py +146 -61
- autobyteus/tools/browser/standalone/webpage_reader.py +80 -61
- autobyteus/tools/browser/standalone/webpage_screenshot_taker.py +91 -45
- autobyteus/tools/factory/__init__.py +9 -0
- autobyteus/tools/factory/tool_factory.py +25 -4
- autobyteus/tools/file/file_reader.py +22 -51
- autobyteus/tools/file/file_writer.py +25 -56
- autobyteus/tools/functional_tool.py +234 -0
- autobyteus/tools/image_downloader.py +49 -71
- autobyteus/tools/mcp/__init__.py +47 -0
- autobyteus/tools/mcp/call_handlers/__init__.py +18 -0
- autobyteus/tools/mcp/call_handlers/base_handler.py +40 -0
- autobyteus/tools/mcp/call_handlers/sse_handler.py +22 -0
- autobyteus/tools/mcp/call_handlers/stdio_handler.py +62 -0
- autobyteus/tools/mcp/call_handlers/streamable_http_handler.py +55 -0
- autobyteus/tools/mcp/config_service.py +258 -0
- autobyteus/tools/mcp/factory.py +70 -0
- autobyteus/tools/mcp/registrar.py +135 -0
- autobyteus/tools/mcp/schema_mapper.py +131 -0
- autobyteus/tools/mcp/tool.py +101 -0
- autobyteus/tools/mcp/types.py +96 -0
- autobyteus/tools/parameter_schema.py +268 -0
- autobyteus/tools/pdf_downloader.py +78 -79
- autobyteus/tools/registry/__init__.py +0 -2
- autobyteus/tools/registry/tool_definition.py +106 -34
- autobyteus/tools/registry/tool_registry.py +46 -22
- autobyteus/tools/timer.py +150 -102
- autobyteus/tools/tool_config.py +117 -0
- autobyteus/tools/tool_meta.py +48 -26
- autobyteus/tools/usage/__init__.py +6 -0
- autobyteus/tools/usage/formatters/__init__.py +31 -0
- autobyteus/tools/usage/formatters/anthropic_json_example_formatter.py +18 -0
- autobyteus/tools/usage/formatters/anthropic_json_schema_formatter.py +25 -0
- autobyteus/tools/usage/formatters/base_formatter.py +42 -0
- autobyteus/tools/usage/formatters/default_json_example_formatter.py +42 -0
- autobyteus/tools/usage/formatters/default_json_schema_formatter.py +28 -0
- autobyteus/tools/usage/formatters/default_xml_example_formatter.py +55 -0
- autobyteus/tools/usage/formatters/default_xml_schema_formatter.py +46 -0
- autobyteus/tools/usage/formatters/gemini_json_example_formatter.py +34 -0
- autobyteus/tools/usage/formatters/gemini_json_schema_formatter.py +25 -0
- autobyteus/tools/usage/formatters/google_json_example_formatter.py +34 -0
- autobyteus/tools/usage/formatters/google_json_schema_formatter.py +25 -0
- autobyteus/tools/usage/formatters/openai_json_example_formatter.py +49 -0
- autobyteus/tools/usage/formatters/openai_json_schema_formatter.py +28 -0
- autobyteus/tools/usage/parsers/__init__.py +22 -0
- autobyteus/tools/usage/parsers/anthropic_xml_tool_usage_parser.py +10 -0
- autobyteus/tools/usage/parsers/base_parser.py +41 -0
- autobyteus/tools/usage/parsers/default_json_tool_usage_parser.py +106 -0
- autobyteus/tools/usage/parsers/default_xml_tool_usage_parser.py +135 -0
- autobyteus/tools/usage/parsers/exceptions.py +13 -0
- autobyteus/tools/usage/parsers/gemini_json_tool_usage_parser.py +68 -0
- autobyteus/tools/usage/parsers/openai_json_tool_usage_parser.py +147 -0
- autobyteus/tools/usage/parsers/provider_aware_tool_usage_parser.py +67 -0
- autobyteus/tools/usage/providers/__init__.py +22 -0
- autobyteus/tools/usage/providers/json_example_provider.py +32 -0
- autobyteus/tools/usage/providers/json_schema_provider.py +35 -0
- autobyteus/tools/usage/providers/json_tool_usage_parser_provider.py +28 -0
- autobyteus/tools/usage/providers/tool_manifest_provider.py +68 -0
- autobyteus/tools/usage/providers/xml_example_provider.py +28 -0
- autobyteus/tools/usage/providers/xml_schema_provider.py +29 -0
- autobyteus/tools/usage/providers/xml_tool_usage_parser_provider.py +26 -0
- autobyteus/tools/usage/registries/__init__.py +20 -0
- autobyteus/tools/usage/registries/json_example_formatter_registry.py +51 -0
- autobyteus/tools/usage/registries/json_schema_formatter_registry.py +51 -0
- autobyteus/tools/usage/registries/json_tool_usage_parser_registry.py +42 -0
- autobyteus/tools/usage/registries/xml_example_formatter_registry.py +30 -0
- autobyteus/tools/usage/registries/xml_schema_formatter_registry.py +33 -0
- autobyteus/tools/usage/registries/xml_tool_usage_parser_registry.py +30 -0
- {autobyteus-1.0.5.dist-info → autobyteus-1.1.0.dist-info}/METADATA +21 -3
- autobyteus-1.1.0.dist-info/RECORD +279 -0
- {autobyteus-1.0.5.dist-info → autobyteus-1.1.0.dist-info}/WHEEL +1 -1
- autobyteus/agent/async_agent.py +0 -175
- autobyteus/agent/async_group_aware_agent.py +0 -136
- autobyteus/agent/group/async_group_aware_agent.py +0 -122
- autobyteus/agent/group/coordinator_agent.py +0 -36
- autobyteus/agent/group/group_aware_agent.py +0 -121
- autobyteus/agent/orchestrator/__init__.py +0 -0
- autobyteus/agent/orchestrator/base_agent_orchestrator.py +0 -82
- autobyteus/agent/orchestrator/multi_replica_agent_orchestrator.py +0 -72
- autobyteus/agent/orchestrator/single_replica_agent_orchestrator.py +0 -43
- autobyteus/agent/registry/__init__.py +0 -11
- autobyteus/agent/registry/agent_definition.py +0 -94
- autobyteus/agent/registry/agent_registry.py +0 -114
- autobyteus/agent/response_parser/__init__.py +0 -0
- autobyteus/agent/response_parser/tool_usage_command_parser.py +0 -100
- autobyteus/agent/status.py +0 -12
- autobyteus/conversation/__init__.py +0 -0
- autobyteus/conversation/conversation.py +0 -54
- autobyteus/conversation/user_message.py +0 -59
- autobyteus/events/decorators.py +0 -29
- autobyteus/prompt/prompt_version_manager.py +0 -58
- autobyteus/prompt/storage/__init__.py +0 -0
- autobyteus/prompt/storage/prompt_version_model.py +0 -29
- autobyteus/prompt/storage/prompt_version_repository.py +0 -83
- autobyteus/tools/bash/factory/__init__.py +0 -0
- autobyteus/tools/bash/factory/bash_executor_factory.py +0 -6
- autobyteus/tools/factory/ask_user_input_factory.py +0 -6
- autobyteus/tools/factory/image_downloader_factory.py +0 -9
- autobyteus/tools/factory/pdf_downloader_factory.py +0 -9
- autobyteus/tools/factory/webpage_image_downloader_factory.py +0 -6
- autobyteus/tools/file/factory/__init__.py +0 -0
- autobyteus/tools/file/factory/file_reader_factory.py +0 -6
- autobyteus/tools/file/factory/file_writer_factory.py +0 -6
- autobyteus/tools/mcp_remote_tool.py +0 -82
- autobyteus/tools/web_page_pdf_generator.py +0 -90
- autobyteus-1.0.5.dist-info/RECORD +0 -163
- {autobyteus-1.0.5.dist-info → autobyteus-1.1.0.dist-info}/licenses/LICENSE +0 -0
- {autobyteus-1.0.5.dist-info → autobyteus-1.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Module: autobyteus.storage.db.models.prompt_version_model
|
|
3
|
-
|
|
4
|
-
This module defines the PromptVersionModel, which represents the database model
|
|
5
|
-
for storing versioned prompts. Each entry contains the prompt identifier, version
|
|
6
|
-
number, content of the prompt, whether the version is the current effective prompt,
|
|
7
|
-
and the creation/modification timestamp.
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
from repository_sqlalchemy import Base
|
|
11
|
-
from sqlalchemy import Column, String, Integer, Text, Boolean
|
|
12
|
-
|
|
13
|
-
class PromptVersionModel(Base):
|
|
14
|
-
"""
|
|
15
|
-
Represents the database model for storing versioned prompts.
|
|
16
|
-
|
|
17
|
-
Attributes:
|
|
18
|
-
- prompt_name (String): Identifier for the prompt.
|
|
19
|
-
- version_no (Integer): Version number for the prompt.
|
|
20
|
-
- prompt_content (Text): Content of the versioned prompt.
|
|
21
|
-
- is_current_effective (Boolean): Indicates if this version is the current effective prompt.
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
__tablename__ = 'prompt_versions'
|
|
25
|
-
|
|
26
|
-
prompt_name = Column(String, primary_key=True, nullable=False)
|
|
27
|
-
version_no = Column(Integer, primary_key=True, nullable=False)
|
|
28
|
-
prompt_content = Column(Text, nullable=False)
|
|
29
|
-
is_current_effective = Column(Boolean, default=False, nullable=False)
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
from typing import Optional
|
|
2
|
-
|
|
3
|
-
from repository_sqlalchemy import BaseRepository
|
|
4
|
-
|
|
5
|
-
from autobyteus.prompt.storage.prompt_version_model import PromptVersionModel
|
|
6
|
-
|
|
7
|
-
class PromptVersionRepository(BaseRepository[PromptVersionModel]):
|
|
8
|
-
"""
|
|
9
|
-
A repository class that offers CRUD operations for PromptVersionModel and manages version-specific operations.
|
|
10
|
-
This class interfaces with the database for operations related to prompt versions.
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
def create_version(self, prompt_version: PromptVersionModel) -> PromptVersionModel:
|
|
14
|
-
"""
|
|
15
|
-
Store a new version of the prompt.
|
|
16
|
-
|
|
17
|
-
Args:
|
|
18
|
-
prompt_version (PromptVersionModel): The version to be stored.
|
|
19
|
-
|
|
20
|
-
Returns:
|
|
21
|
-
ModelType: The stored version.
|
|
22
|
-
"""
|
|
23
|
-
return self.create(prompt_version)
|
|
24
|
-
|
|
25
|
-
def get_version(self, prompt_name: str, version_no: int) -> Optional[PromptVersionModel]:
|
|
26
|
-
"""
|
|
27
|
-
Retrieve a specific version of the prompt for a given name.
|
|
28
|
-
|
|
29
|
-
Args:
|
|
30
|
-
prompt_name (str): Identifier for the prompt.
|
|
31
|
-
version_no (int): The version number to be retrieved.
|
|
32
|
-
|
|
33
|
-
Returns:
|
|
34
|
-
Optional[PromptVersionModel]: The retrieved version or None if not found.
|
|
35
|
-
"""
|
|
36
|
-
return self.session.query(PromptVersionModel).filter_by(prompt_name=prompt_name, version_no=version_no).first()
|
|
37
|
-
|
|
38
|
-
def get_current_effective_version(self, prompt_name: str) -> Optional[PromptVersionModel]:
|
|
39
|
-
"""
|
|
40
|
-
Retrieve the current effective version of the prompt for a given name.
|
|
41
|
-
|
|
42
|
-
Args:
|
|
43
|
-
prompt_name (str): Identifier for the prompt.
|
|
44
|
-
|
|
45
|
-
Returns:
|
|
46
|
-
Optional[PromptVersionModel]: The current effective version or None if not found.
|
|
47
|
-
"""
|
|
48
|
-
return self.session.query(PromptVersionModel).filter_by(prompt_name=prompt_name, is_current_effective=True).first()
|
|
49
|
-
|
|
50
|
-
def get_latest_created_version(self, prompt_name: str) -> Optional[PromptVersionModel]:
|
|
51
|
-
"""
|
|
52
|
-
Retrieve the most recently created version of the prompt for a given name.
|
|
53
|
-
|
|
54
|
-
Args:
|
|
55
|
-
prompt_name (str): Identifier for the prompt.
|
|
56
|
-
|
|
57
|
-
Returns:
|
|
58
|
-
Optional[PromptVersionModel]: The latest created version or None if not found.
|
|
59
|
-
"""
|
|
60
|
-
return self.session.query(PromptVersionModel).filter_by(prompt_name=prompt_name).order_by(PromptVersionModel.created_at.desc()).first()
|
|
61
|
-
|
|
62
|
-
def delete_version(self, prompt_name: str, version_no: int) -> None:
|
|
63
|
-
"""
|
|
64
|
-
Delete a specific version of the prompt for a given name.
|
|
65
|
-
|
|
66
|
-
Args:
|
|
67
|
-
prompt_name (str): Identifier for the prompt.
|
|
68
|
-
version_no (int): The version number to be deleted.
|
|
69
|
-
"""
|
|
70
|
-
version = self.get_version(prompt_name, version_no)
|
|
71
|
-
if version:
|
|
72
|
-
self.delete(version)
|
|
73
|
-
|
|
74
|
-
def delete_oldest_version(self, prompt_name: str) -> None:
|
|
75
|
-
"""
|
|
76
|
-
Delete the oldest version of the prompt for a given name.
|
|
77
|
-
|
|
78
|
-
Args:
|
|
79
|
-
prompt_name (str): Identifier for the prompt.
|
|
80
|
-
"""
|
|
81
|
-
oldest_version = self.session.query(PromptVersionModel).filter_by(prompt_name=prompt_name).order_by(PromptVersionModel.created_at.asc()).first()
|
|
82
|
-
if oldest_version:
|
|
83
|
-
self.delete(oldest_version)
|
|
File without changes
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
from autobyteus.tools.factory.tool_factory import ToolFactory
|
|
2
|
-
from autobyteus.tools.image_downloader import ImageDownloader
|
|
3
|
-
|
|
4
|
-
class ImageDownloaderFactory(ToolFactory):
|
|
5
|
-
def __init__(self, custom_download_folder: str = None):
|
|
6
|
-
self.custom_download_folder = custom_download_folder
|
|
7
|
-
|
|
8
|
-
def create_tool(self) -> ImageDownloader:
|
|
9
|
-
return ImageDownloader(custom_download_folder=self.custom_download_folder)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
from autobyteus.tools.factory.tool_factory import ToolFactory
|
|
2
|
-
from autobyteus.tools.pdf_downloader import PDFDownloader
|
|
3
|
-
|
|
4
|
-
class PDFDownloaderFactory(ToolFactory):
|
|
5
|
-
def __init__(self, custom_download_folder: str = None):
|
|
6
|
-
self.custom_download_folder = custom_download_folder
|
|
7
|
-
|
|
8
|
-
def create_tool(self) -> PDFDownloader:
|
|
9
|
-
return PDFDownloader(custom_download_folder=self.custom_download_folder)
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
from autobyteus.tools.factory.tool_factory import ToolFactory
|
|
2
|
-
from autobyteus.tools.browser.standalone.webpage_image_downloader import WebPageImageDownloader
|
|
3
|
-
|
|
4
|
-
class WebPageImageDownloaderFactory(ToolFactory):
|
|
5
|
-
def create_tool(self) -> WebPageImageDownloader:
|
|
6
|
-
return WebPageImageDownloader()
|
|
File without changes
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
# file: autobyteus/autobyteus/tools/mcp_remote_tool.py
|
|
2
|
-
import logging
|
|
3
|
-
from typing import Any, Dict
|
|
4
|
-
|
|
5
|
-
from autobyteus.tools.base_tool import BaseTool
|
|
6
|
-
import mcp
|
|
7
|
-
|
|
8
|
-
logger = logging.getLogger(__name__)
|
|
9
|
-
|
|
10
|
-
class McpRemoteTool(BaseTool):
|
|
11
|
-
"""
|
|
12
|
-
A tool that executes remote tool calls on an MCP (Model Context Protocol) server.
|
|
13
|
-
"""
|
|
14
|
-
def __init__(self, name: str, description: str, connection_params: Dict[str, Any]):
|
|
15
|
-
"""
|
|
16
|
-
Initializes the McpRemoteTool.
|
|
17
|
-
|
|
18
|
-
Args:
|
|
19
|
-
name: The unique name/identifier of the tool (e.g., 'McpRemoteTool').
|
|
20
|
-
description: A human-readable description of the tool's purpose.
|
|
21
|
-
connection_params: A dictionary containing MCP server connection details
|
|
22
|
-
(e.g., {'host': 'localhost', 'port': 5000}).
|
|
23
|
-
|
|
24
|
-
Raises:
|
|
25
|
-
ValueError: If name, description, or connection_params are invalid.
|
|
26
|
-
"""
|
|
27
|
-
if not name or not isinstance(name, str):
|
|
28
|
-
raise ValueError("McpRemoteTool requires a non-empty string 'name'.")
|
|
29
|
-
if not description or not isinstance(description, str):
|
|
30
|
-
raise ValueError(f"McpRemoteTool '{name}' requires a non-empty string 'description'.")
|
|
31
|
-
if not isinstance(connection_params, dict) or not connection_params:
|
|
32
|
-
raise ValueError(f"McpRemoteTool '{name}' requires a non-empty dictionary for 'connection_params'.")
|
|
33
|
-
|
|
34
|
-
super().__init__(name, description)
|
|
35
|
-
self.connection_params = connection_params
|
|
36
|
-
logger.debug(f"McpRemoteTool initialized with name '{self.name}' and connection_params: {self.connection_params}")
|
|
37
|
-
|
|
38
|
-
def execute(self, args: Dict[str, Any]) -> Any:
|
|
39
|
-
"""
|
|
40
|
-
Executes the remote tool call on the MCP server.
|
|
41
|
-
|
|
42
|
-
Args:
|
|
43
|
-
args: A dictionary containing the tool name and parameters to pass to the MCP server
|
|
44
|
-
(e.g., {'tool_name': 'do_mcp_analysis', 'params': {...}}).
|
|
45
|
-
|
|
46
|
-
Returns:
|
|
47
|
-
The result of the tool execution, typically a dictionary or string.
|
|
48
|
-
|
|
49
|
-
Raises:
|
|
50
|
-
ValueError: If args is invalid or missing required fields.
|
|
51
|
-
RuntimeError: If the MCP server connection or tool execution fails.
|
|
52
|
-
"""
|
|
53
|
-
if not isinstance(args, dict) or 'tool_name' not in args:
|
|
54
|
-
logger.error(f"Invalid arguments for McpRemoteTool '{self.name}': 'tool_name' is required.")
|
|
55
|
-
raise ValueError("McpRemoteTool requires a dictionary with a 'tool_name' key.")
|
|
56
|
-
|
|
57
|
-
tool_name = args['tool_name']
|
|
58
|
-
params = args.get('params', {})
|
|
59
|
-
logger.info(f"Executing McpRemoteTool '{self.name}' with tool_name '{tool_name}' and params: {params}")
|
|
60
|
-
|
|
61
|
-
try:
|
|
62
|
-
# Step 17: Establish connection to MCP server
|
|
63
|
-
client = mcp.stdio_client(self.connection_params)
|
|
64
|
-
logger.debug(f"Connected to MCP server with connection_params: {self.connection_params}")
|
|
65
|
-
|
|
66
|
-
# Step 19: Create client session
|
|
67
|
-
session = client.ClientSession()
|
|
68
|
-
logger.debug(f"Created MCP client session for tool '{tool_name}'")
|
|
69
|
-
|
|
70
|
-
# Step 20: Initialize session
|
|
71
|
-
session.initialize()
|
|
72
|
-
logger.debug(f"Initialized MCP session for tool '{tool_name}'")
|
|
73
|
-
|
|
74
|
-
# Step 21: Call the remote tool
|
|
75
|
-
result = session.call_tool(tool_name, params)
|
|
76
|
-
logger.info(f"Successfully executed MCP tool '{tool_name}' with result: {result}")
|
|
77
|
-
|
|
78
|
-
return result
|
|
79
|
-
|
|
80
|
-
except Exception as e:
|
|
81
|
-
logger.error(f"Failed to execute McpRemoteTool '{self.name}' for tool '{tool_name}': {str(e)}")
|
|
82
|
-
raise RuntimeError(f"McpRemoteTool execution failed: {str(e)}")
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
from autobyteus.tools.base_tool import BaseTool
|
|
2
|
-
from brui_core.ui_integrator import UIIntegrator
|
|
3
|
-
import os
|
|
4
|
-
import logging
|
|
5
|
-
|
|
6
|
-
class WebPagePDFGenerator(BaseTool, UIIntegrator):
|
|
7
|
-
"""
|
|
8
|
-
A class that generates a PDF of a given webpage using Playwright.
|
|
9
|
-
"""
|
|
10
|
-
def __init__(self):
|
|
11
|
-
BaseTool.__init__(self)
|
|
12
|
-
UIIntegrator.__init__(self)
|
|
13
|
-
self.logger = logging.getLogger(__name__)
|
|
14
|
-
|
|
15
|
-
@classmethod
|
|
16
|
-
def tool_usage_xml(cls):
|
|
17
|
-
"""
|
|
18
|
-
Return an XML string describing the usage of the WebPagePDFGenerator tool.
|
|
19
|
-
|
|
20
|
-
Returns:
|
|
21
|
-
str: An XML description of how to use the WebPagePDFGenerator tool.
|
|
22
|
-
"""
|
|
23
|
-
return '''
|
|
24
|
-
WebPagePDFGenerator: Generates a PDF of a given webpage in A4 format and saves it to the specified directory. Usage:
|
|
25
|
-
<command name="WebPagePDFGenerator">
|
|
26
|
-
<arg name="url">webpage_url</arg>
|
|
27
|
-
<arg name="save_dir">path/to/save/directory</arg>
|
|
28
|
-
</command>
|
|
29
|
-
where "webpage_url" is a string containing the URL of the webpage to generate a PDF from, and "path/to/save/directory" is the directory where the PDF will be saved.
|
|
30
|
-
'''
|
|
31
|
-
|
|
32
|
-
async def _execute(self, **kwargs):
|
|
33
|
-
"""
|
|
34
|
-
Generate a PDF of the webpage at the given URL using Playwright and save it to the specified directory.
|
|
35
|
-
|
|
36
|
-
Args:
|
|
37
|
-
**kwargs: Keyword arguments containing the URL and save directory. The URL should be specified as 'url', and the directory as 'save_dir'.
|
|
38
|
-
|
|
39
|
-
Returns:
|
|
40
|
-
str: The file path of the saved PDF.
|
|
41
|
-
|
|
42
|
-
Raises:
|
|
43
|
-
ValueError: If the 'url' or 'save_dir' keyword arguments are not specified.
|
|
44
|
-
"""
|
|
45
|
-
url = kwargs.get('url')
|
|
46
|
-
save_dir = kwargs.get('save_dir')
|
|
47
|
-
if not url:
|
|
48
|
-
raise ValueError("The 'url' keyword argument must be specified.")
|
|
49
|
-
if not save_dir:
|
|
50
|
-
raise ValueError("The 'save_dir' keyword argument must be specified.")
|
|
51
|
-
|
|
52
|
-
os.makedirs(save_dir, exist_ok=True)
|
|
53
|
-
|
|
54
|
-
try:
|
|
55
|
-
await self.initialize()
|
|
56
|
-
await self.page.goto(url, wait_until="networkidle")
|
|
57
|
-
|
|
58
|
-
file_path = self._generate_file_path(save_dir, url)
|
|
59
|
-
await self._generate_and_save_pdf(file_path)
|
|
60
|
-
|
|
61
|
-
self.logger.info(f"PDF generated and saved to {file_path}")
|
|
62
|
-
return file_path
|
|
63
|
-
except Exception as e:
|
|
64
|
-
self.logger.error(f"Error generating PDF: {str(e)}")
|
|
65
|
-
raise
|
|
66
|
-
finally:
|
|
67
|
-
await self.cleanup()
|
|
68
|
-
|
|
69
|
-
def _generate_file_path(self, directory, url):
|
|
70
|
-
"""
|
|
71
|
-
Generate a file path for the PDF.
|
|
72
|
-
|
|
73
|
-
Args:
|
|
74
|
-
directory (str): The directory to save the PDF in.
|
|
75
|
-
url (str): The URL of the webpage (used to generate a filename).
|
|
76
|
-
|
|
77
|
-
Returns:
|
|
78
|
-
str: The generated file path.
|
|
79
|
-
"""
|
|
80
|
-
filename = f"webpage_pdf_{hash(url)}.pdf"
|
|
81
|
-
return os.path.join(directory, filename)
|
|
82
|
-
|
|
83
|
-
async def _generate_and_save_pdf(self, file_path):
|
|
84
|
-
"""
|
|
85
|
-
Generate a PDF of the current page and save it to a file.
|
|
86
|
-
|
|
87
|
-
Args:
|
|
88
|
-
file_path (str): The path to save the PDF to.
|
|
89
|
-
"""
|
|
90
|
-
await self.page.pdf(path=file_path, format='A4')
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
autobyteus/__init__.py,sha256=ij7pzJD0e838u_nQIypAlXkJQgUkcB898Gqw2Dovv-s,110
|
|
2
|
-
autobyteus/check_requirements.py,sha256=nLWmqMlGiAToQuub68IpL2EhRxFZ1CyCwRCMi2C5hrY,853
|
|
3
|
-
autobyteus/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
autobyteus/agent/agent.py,sha256=T8ccpNz4j89oBnxdMkDhEZaBkI7yFNX_DZRbNyUCarE,10243
|
|
5
|
-
autobyteus/agent/async_agent.py,sha256=rltz-Q2vT85RRIVO5Fcz15colqtc0jhZEUzxQHxMIB0,6664
|
|
6
|
-
autobyteus/agent/async_group_aware_agent.py,sha256=eySdlxy4qMXeGClpXZ9zFTPI19ZZeWQDAdNCxcScl-w,6274
|
|
7
|
-
autobyteus/agent/exceptions.py,sha256=tfXvey5SkT70X6kcu29o8YO91KB0hI9_uLrba91_G2s,237
|
|
8
|
-
autobyteus/agent/remote_agent.py,sha256=v6oOViXxOVtEleRkfBhZlrOiqfKfUE_iEIIYV763t2M,300
|
|
9
|
-
autobyteus/agent/status.py,sha256=xvsGydjiPls7FjdEDhSBrqt9otgkPEyRVyVOlmdALq4,240
|
|
10
|
-
autobyteus/agent/tool_invocation.py,sha256=HVNUmQcQCNKw4HaCIcB2HWYVVFk7hYA-8QHVkleBHR8,225
|
|
11
|
-
autobyteus/agent/factory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
-
autobyteus/agent/factory/agent_factory.py,sha256=KQBXzTgR6E5rXpeKu556RuvM4oGZe9JEh0lIXJM76zQ,4009
|
|
13
|
-
autobyteus/agent/group/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
-
autobyteus/agent/group/async_group_aware_agent.py,sha256=tg_r1qehTg9Z7TJ1ZWwy413K_ZhwPRhIAs4GnJJjDX0,5658
|
|
15
|
-
autobyteus/agent/group/coordinator_agent.py,sha256=F3fTE3c_aL5YtU-UdHzBOqUeBoOLdkYNR-IO-OKTsbk,1397
|
|
16
|
-
autobyteus/agent/group/group_aware_agent.py,sha256=mGUzlaNHJ4QNEq2bSpICTIbUfhwUTf497s0iO1bpLes,5763
|
|
17
|
-
autobyteus/agent/message/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
|
-
autobyteus/agent/message/message.py,sha256=s5azAIEilDHyptqYpVRIZVqvozB78pz-3dtmhAyPWME,2010
|
|
19
|
-
autobyteus/agent/message/message_types.py,sha256=0UVCPxf73plo0IBxrxTWOX5X-18P-lPR1IccBYKx-yQ,867
|
|
20
|
-
autobyteus/agent/message/send_message_to.py,sha256=9BVUqk7BavtGZ9i2kRtRWQR37Do-pA04v4DDUL08kek,2177
|
|
21
|
-
autobyteus/agent/orchestrator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
|
-
autobyteus/agent/orchestrator/base_agent_orchestrator.py,sha256=nwQeBNwWjttq_zRnQPd7hbCwOOuf9pb2QxYpMZRjhi8,2998
|
|
23
|
-
autobyteus/agent/orchestrator/multi_replica_agent_orchestrator.py,sha256=AtWpX2n5ZcTkyrV89JwYlixQ4YpKoiydERY_QGOf90s,3269
|
|
24
|
-
autobyteus/agent/orchestrator/single_replica_agent_orchestrator.py,sha256=0IN3trXvMvCvhALI4cTPZwhaBZavJVQ-Dmi5p4Bc920,1932
|
|
25
|
-
autobyteus/agent/registry/__init__.py,sha256=4isjV2jNONeZaWoNHL_5bVJ0dZ3pzPJCww_vzQQwLgI,341
|
|
26
|
-
autobyteus/agent/registry/agent_definition.py,sha256=nqBgcX7OMovS7dUIqmbLCSSO4WEFt2HzbTAYIEuweO8,4014
|
|
27
|
-
autobyteus/agent/registry/agent_registry.py,sha256=vAfVuEKWY0r9tPeConwmBekuz6MTvpHfO-LUN8a8M44,4141
|
|
28
|
-
autobyteus/agent/response_parser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
|
-
autobyteus/agent/response_parser/tool_usage_command_parser.py,sha256=T4grKoDzrZQHJIN9bL6jgYjFS9jWDWwvntolV1xfgxM,4020
|
|
30
|
-
autobyteus/conversation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
|
-
autobyteus/conversation/conversation.py,sha256=lKo_MB3hm1-hTkLzCIPNC3GdZwFVQLeHSJZRZQDvDoA,2610
|
|
32
|
-
autobyteus/conversation/user_message.py,sha256=MQv3Vfkoko4vbWs9zYIIfEZhlLhCpN-_MJc1gE9wuw4,2134
|
|
33
|
-
autobyteus/events/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
|
-
autobyteus/events/decorators.py,sha256=1VZeqO8iYEwWSzCrMIurt9Q8YIL4LzXoshsGNRew2iU,892
|
|
35
|
-
autobyteus/events/event_emitter.py,sha256=4y0T5UzC7Ep22RXSNSNsLkAx5zu031_JlOcD28jlH7o,3335
|
|
36
|
-
autobyteus/events/event_manager.py,sha256=OnMHEj0NM8hBh2R0ZLS3Lx2yMzDr2QPvOjFPcwX88Qk,3698
|
|
37
|
-
autobyteus/events/event_types.py,sha256=ziG23LO5Z1gz8Tpnlo-FpVnjO1QLeBncyusyxtvKyk4,473
|
|
38
|
-
autobyteus/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
|
-
autobyteus/llm/autobyteus_provider.py,sha256=WCLUZM24UUB9Gl32WKgwoyXx41pnRXJiz-c9PpiC_C4,6747
|
|
40
|
-
autobyteus/llm/base_llm.py,sha256=YiufOXRENzJmcMkNOVb1KHeNAdeYIQJ4jJdiiHMjvL8,9029
|
|
41
|
-
autobyteus/llm/llm_factory.py,sha256=sCOsplGLJJ-7G40r5uh0M0MuMVi_Eyo2STJeBoUrMGw,11566
|
|
42
|
-
autobyteus/llm/models.py,sha256=d1WeEnbe0hauc0FJTDb5D3o5dilYan-rHlgnQZPT80g,3052
|
|
43
|
-
autobyteus/llm/ollama_provider.py,sha256=1JitvsA1sJAULZHLJkegs9Zoz9ZrhHbn1qyMpsmq0Ks,4013
|
|
44
|
-
autobyteus/llm/providers.py,sha256=qDMtQa46-NB4oXvBadnpzAhJGIjMEFvBVBk-BErbkN0,310
|
|
45
|
-
autobyteus/llm/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
|
-
autobyteus/llm/api/autobyteus_llm.py,sha256=zSn5DW7kJfVlHWC4sUjTGy9LSFkwnEDEBvQiAgLPn40,5197
|
|
47
|
-
autobyteus/llm/api/bedrock_llm.py,sha256=8va6U7xH0PqQWijzTtumajJDd-IYqN00sKnKke0VLg0,3156
|
|
48
|
-
autobyteus/llm/api/claude_llm.py,sha256=SVpXfDv-fFsoK767oJWAz9RjHax67jAavJxfUm85op8,6029
|
|
49
|
-
autobyteus/llm/api/deepseek_llm.py,sha256=BKuGKf1yfrbcr6JqQCwZP_d57Okf3mpdqJkA25FXDz4,10107
|
|
50
|
-
autobyteus/llm/api/gemini_llm.py,sha256=v2cl_ETnfFUJbdIS1ZdU69DOB1pCAGHd-lRoXHpyYpY,3100
|
|
51
|
-
autobyteus/llm/api/grok_llm.py,sha256=w8x6fbHAoEfJr3X3ypTh4nv5H_3hxrdqQ8b3ZyLHKgo,9012
|
|
52
|
-
autobyteus/llm/api/groq_llm.py,sha256=5K7a2-K8A9zBhgHG5ZOHAj4XOOt4HJN7ZcflIeHZxQ8,3383
|
|
53
|
-
autobyteus/llm/api/mistral_llm.py,sha256=8V3zhOtGKULxG22zmgSWfHC8jhVRJjJgNRlMMhQg1Uo,4895
|
|
54
|
-
autobyteus/llm/api/nvidia_llm.py,sha256=4m4YpY9MO-hT_qW5QPBVillVL-tSLujIHCXJvzqYY6E,3814
|
|
55
|
-
autobyteus/llm/api/ollama_llm.py,sha256=jd21OgyLOw9AUASuuySmDVfq_zOTRX10I63iSDWaeb0,6042
|
|
56
|
-
autobyteus/llm/api/openai_llm.py,sha256=X9POmbVOp4fpQzchDhhOB2XFrQv9R-89tZTmxyOhE6g,6162
|
|
57
|
-
autobyteus/llm/extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
|
-
autobyteus/llm/extensions/base_extension.py,sha256=YqXOuuImEvlTz8WL993BJa0yQ0ojYOfHdAIAE60XIb4,1323
|
|
59
|
-
autobyteus/llm/extensions/extension_registry.py,sha256=b4b3U5cQB9kZpJpqmT_e1lviLzjGQBsp7gJuYppjpjU,1254
|
|
60
|
-
autobyteus/llm/extensions/token_usage_tracking_extension.py,sha256=bHyWywlbChZXOAF4dFKq7XPv0VYhFyUggK8p_184zgA,3456
|
|
61
|
-
autobyteus/llm/token_counter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
62
|
-
autobyteus/llm/token_counter/base_token_counter.py,sha256=NSY6rdSmBNn9MEAY4vSdnuB2BRRRwoP3rDp9ulBTAWA,2019
|
|
63
|
-
autobyteus/llm/token_counter/claude_token_counter.py,sha256=-gIB8uafY3fVy5Fefk0NTVH2NAFy0gfT8znHlpLQSwo,2620
|
|
64
|
-
autobyteus/llm/token_counter/deepseek_token_counter.py,sha256=YWCng71H6h5ZQX0DrjqfMua-SeCH1ATizWLvxxr591s,859
|
|
65
|
-
autobyteus/llm/token_counter/mistral_token_counter.py,sha256=YAUPqksnonTQRd1C7NjjFUPsjEDq_AKWxTc5GNTVGqU,4760
|
|
66
|
-
autobyteus/llm/token_counter/openai_token_counter.py,sha256=hGpKSo52NjtLKU8ZMHr76243wglFkfM9-ycSXJW-cwE,2811
|
|
67
|
-
autobyteus/llm/token_counter/token_counter_factory.py,sha256=UskjW6NmqwsJv3cpJG33owNLsYdulakT5T_QotLzSQ0,1841
|
|
68
|
-
autobyteus/llm/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
69
|
-
autobyteus/llm/utils/image_payload_formatter.py,sha256=2T21VK2Ql-AoxHGkfQGv2UX6CjMMBMzv1Hy4ekUdzfU,2661
|
|
70
|
-
autobyteus/llm/utils/llm_config.py,sha256=gsptknaw8-3yu6FOqWirfuuzUCCqdG95uNwlFrW_jMc,3344
|
|
71
|
-
autobyteus/llm/utils/messages.py,sha256=4w_hEFJf7xgGlCk1Ss9GJEA2f2vgAYiRuGKAbwT_9Uc,1573
|
|
72
|
-
autobyteus/llm/utils/rate_limiter.py,sha256=VxGw3AImu0V6BDRiL3ICsLQ8iMT3zszGrAeOKaazbn0,1295
|
|
73
|
-
autobyteus/llm/utils/response_types.py,sha256=M3UzO3q0Yfd4eAXL9lG3l_T47BxAJFA_XG8Jn00B_eg,584
|
|
74
|
-
autobyteus/llm/utils/token_pricing_config.py,sha256=6oRkG6R-BrP54sTI5Btjpy4s2c7bSAP7uZpzXldxx3E,4509
|
|
75
|
-
autobyteus/llm/utils/token_usage.py,sha256=Y7WmB5WWSzPe5hbD1z8RfHrum4HfSzWPoU0P2X_fnB0,289
|
|
76
|
-
autobyteus/llm/utils/token_usage_tracker.py,sha256=RC4zL5k343-wLm0jXc-rwAOMhpxs_1klnrh-xi2J7W8,4220
|
|
77
|
-
autobyteus/person/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
78
|
-
autobyteus/person/person.py,sha256=hUBLaGu2_SiClhrXIEl6b9BTXbzyBimwX6Qc08iApTU,866
|
|
79
|
-
autobyteus/person/role.py,sha256=U7gFBtYY6IlQ2Hr1bqxlPwfXb4ixOJT5WSz3cjSpybU,511
|
|
80
|
-
autobyteus/person/examples/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
81
|
-
autobyteus/person/examples/sample_persons.py,sha256=dANMjmH5IVUfBoLvWeo4d1Obms5x30MBSvFgJIBa78M,368
|
|
82
|
-
autobyteus/person/examples/sample_roles.py,sha256=rQqUGTUj0dSqTlOciRjo5AYS53hCAKl4oifpGHsrScM,430
|
|
83
|
-
autobyteus/prompt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
84
|
-
autobyteus/prompt/prompt_builder.py,sha256=2hStweYFSIXN9kif86G8Fj7VdjsIVceJYiCNboauEGk,1886
|
|
85
|
-
autobyteus/prompt/prompt_template.py,sha256=taNEAUNXLt0a3WP_bNqzeNgSIIM7rgubqBBYWHRR1Kw,1539
|
|
86
|
-
autobyteus/prompt/prompt_version_manager.py,sha256=a6QdjaXMOQX-gZVegsBj4zU9-Q2D8V27Jm2_I8-juug,2690
|
|
87
|
-
autobyteus/prompt/storage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
88
|
-
autobyteus/prompt/storage/prompt_version_model.py,sha256=_0sRkhKpojEm7VPXj6XjU1E9AAiYPrQx03K-BM5Ht24,1171
|
|
89
|
-
autobyteus/prompt/storage/prompt_version_repository.py,sha256=yQ8UO9QPPG5CHh34VbXnmOL8v4Nb4Fukj8eWzcUcfZU,3238
|
|
90
|
-
autobyteus/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
91
|
-
autobyteus/tools/ask_user_input.py,sha256=XiyHwsGpnLj8PexHQEmr0Rc9pCPzfaluo2-q0Ctfq58,2681
|
|
92
|
-
autobyteus/tools/base_tool.py,sha256=5qv-ILTdDN4lgVlC52wdfl7pFypq3iI4P32q1sxOc7w,2703
|
|
93
|
-
autobyteus/tools/image_downloader.py,sha256=DAFXY_lwXe2cDrNrUC2cU4J43TcP7cmC-sF_ORFj6WQ,4818
|
|
94
|
-
autobyteus/tools/mcp_remote_tool.py,sha256=tcGHIfP2Tb0868CCl1Nuz-rckY930kUMKa8H1dFb4cg,3658
|
|
95
|
-
autobyteus/tools/pdf_downloader.py,sha256=oIuEqoIHCpR0xZbA_9n8-Grc6f_V_8Pre4ucKcleTCw,3317
|
|
96
|
-
autobyteus/tools/timer.py,sha256=2z_R1aaHxf3sE_bIgND_VTbGmk3-caIfkCBMUToNKZU,4381
|
|
97
|
-
autobyteus/tools/tool_meta.py,sha256=AyvX5v9YKvyze1YpnA011VDVAktwt5DXVy59pFbC8Qk,2425
|
|
98
|
-
autobyteus/tools/utils.py,sha256=PuHGlARmNx5HA2YFVF5XA36MoeAyFL6voK10S12AYS0,546
|
|
99
|
-
autobyteus/tools/web_page_pdf_generator.py,sha256=OQPyUoqJV5N5cPjhzJJh6HeB2IA0LKjXCrQIUf2mmXw,3229
|
|
100
|
-
autobyteus/tools/bash/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
101
|
-
autobyteus/tools/bash/bash_executor.py,sha256=Bo-LxzzGKLONweXS0AEeczmpkBNcmgE2VJ3m-tayCHg,3024
|
|
102
|
-
autobyteus/tools/bash/factory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
103
|
-
autobyteus/tools/bash/factory/bash_executor_factory.py,sha256=IZiKBc2QwrZmB3qHlUM-geUQ9G4BbnFRCI1veGY890Y,236
|
|
104
|
-
autobyteus/tools/browser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
105
|
-
autobyteus/tools/browser/session_aware/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
|
-
autobyteus/tools/browser/session_aware/browser_session_aware_navigate_to.py,sha256=0IWjMSRyq3SV7L3akPwJBPH8b8-8z4zVj1UrMGPf8S0,2427
|
|
107
|
-
autobyteus/tools/browser/session_aware/browser_session_aware_tool.py,sha256=qapnkteZ2WM3wpygKieERbiewF_g2gGA0MXgbNewBFE,1319
|
|
108
|
-
autobyteus/tools/browser/session_aware/browser_session_aware_web_element_trigger.py,sha256=xR7zu3YKe3D3H7AVxU0VXOc55qPvj7ilqEUl-8nbsjI,6208
|
|
109
|
-
autobyteus/tools/browser/session_aware/browser_session_aware_webpage_reader.py,sha256=0WzgPAISPYy6rSDpGESeNijYJ43Lt0hiyFH-kl8WFLU,1366
|
|
110
|
-
autobyteus/tools/browser/session_aware/browser_session_aware_webpage_screenshot_taker.py,sha256=acmuooL-MrN-tN1dv6MVr4LyKs9tmAhjt0a0VkFq1Yc,1807
|
|
111
|
-
autobyteus/tools/browser/session_aware/shared_browser_session.py,sha256=WjdkY6vrE96hluwHQS8U0K5z3XE8QMw2-fDRv5VFhXA,326
|
|
112
|
-
autobyteus/tools/browser/session_aware/shared_browser_session_manager.py,sha256=TAlpvZa1Jl8Hoiqe090vzHEHmv48XLUYbAS6lhBSpf8,1032
|
|
113
|
-
autobyteus/tools/browser/session_aware/web_element_action.py,sha256=jPWGmqoTB7Hpk6APQOWglLUaJmf5c_nR8Hh0AbT4fkM,477
|
|
114
|
-
autobyteus/tools/browser/session_aware/factory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
115
|
-
autobyteus/tools/browser/session_aware/factory/browser_session_aware_web_element_trigger_factory.py,sha256=jlUU3VydMMBLR2kIbVLngdNZRYv4XVB-sXkZ-ihx6T8,377
|
|
116
|
-
autobyteus/tools/browser/session_aware/factory/browser_session_aware_webpage_reader_factory.py,sha256=a5CArnsLXSKJ2Gd7Y5d6m1Dr5-30tsLxusHiuJWcXBY,596
|
|
117
|
-
autobyteus/tools/browser/session_aware/factory/browser_session_aware_webpage_screenshot_taker_factory.py,sha256=TJu_yKie41jmUncq1NNNLPE-K-C7brpWdPSUE2hyPV0,402
|
|
118
|
-
autobyteus/tools/browser/standalone/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
119
|
-
autobyteus/tools/browser/standalone/google_search_ui.py,sha256=jnAIR5lJsm7AMx7roN5SV61Qz8_SehIl90uIQsV_eto,3217
|
|
120
|
-
autobyteus/tools/browser/standalone/navigate_to.py,sha256=mi-IBwNWbtaKNH5X6xFoETDm0TkEMaaQ-pZJ1M_XBRY,1705
|
|
121
|
-
autobyteus/tools/browser/standalone/webpage_image_downloader.py,sha256=xsxF5fh1We-5fo0Mx2Isuw1vaoB2knGD97D_cxA4Y94,2862
|
|
122
|
-
autobyteus/tools/browser/standalone/webpage_reader.py,sha256=vQbMgqcyxTvgLnpkfFM7T64aq4xW0-yv5REE_Q0K5TU,2877
|
|
123
|
-
autobyteus/tools/browser/standalone/webpage_screenshot_taker.py,sha256=0iWQAsTc5mtoxFxmboN_eVK-a6u7Wtd56JAe9ppPk_0,2038
|
|
124
|
-
autobyteus/tools/browser/standalone/factory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
125
|
-
autobyteus/tools/browser/standalone/factory/google_search_factory.py,sha256=k2hvPhYAf85HxPPHYq7TpkIJUE3TuAsQTjCpLZ6vvKE,461
|
|
126
|
-
autobyteus/tools/browser/standalone/factory/webpage_reader_factory.py,sha256=mR6910LzPxG2DD8i5tlHEReAP72SLhL46FY0e_SRLHE,463
|
|
127
|
-
autobyteus/tools/browser/standalone/factory/webpage_screenshot_taker_factory.py,sha256=GiNdZvM6V_0wD9Dhrk-B0GaJ3TyaENP2b71pfzUbw84,301
|
|
128
|
-
autobyteus/tools/factory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
129
|
-
autobyteus/tools/factory/ask_user_input_factory.py,sha256=0NA0p9wuNzHA4rG0gOI0GghX3E5Qt49Q2tEEfVFJQzo,232
|
|
130
|
-
autobyteus/tools/factory/image_downloader_factory.py,sha256=9n9AOreN1RgsagBZWqf9Fxz5ATFVLX4TnKv8L_U8bj8,418
|
|
131
|
-
autobyteus/tools/factory/pdf_downloader_factory.py,sha256=H1vsiGFs5jKq9H5mFCjzn5Kfu-iZPhA2j-orw6IALjA,408
|
|
132
|
-
autobyteus/tools/factory/tool_factory.py,sha256=EgX1v0v6tBKY_PSpfv2WHAnoXOf-xr9Z1b4GTsCkWJw,265
|
|
133
|
-
autobyteus/tools/factory/webpage_image_downloader_factory.py,sha256=0UbwNIYaDh9RE-qOYPr2RIa_kb8eER50_vSb3BgjJ_c,301
|
|
134
|
-
autobyteus/tools/file/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
135
|
-
autobyteus/tools/file/file_reader.py,sha256=glNWFlLLNrS6E2nX6V2aWMxZy_36W4T-ybNjMT_X--k,1746
|
|
136
|
-
autobyteus/tools/file/file_writer.py,sha256=VmsjW5MrLWSD95kwcORzSfJ_XFwqLvjQ4TZiUrWh3xw,1968
|
|
137
|
-
autobyteus/tools/file/factory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
138
|
-
autobyteus/tools/file/factory/file_reader_factory.py,sha256=e6Dn7E6kO4iJ_XadSu-NlLSA2mPd8nv694zW4BnzQJc,226
|
|
139
|
-
autobyteus/tools/file/factory/file_writer_factory.py,sha256=sILoFqWoR_CJHTzV3z9cUrk6dQFHiTFYEOHGiTHSr9I,226
|
|
140
|
-
autobyteus/tools/handlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
141
|
-
autobyteus/tools/handlers/shell_handler.py,sha256=ClTXqFR45iyD0gcoOPpKRX5p6g_6BI4a5JOLuKuQOIA,1065
|
|
142
|
-
autobyteus/tools/operation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
143
|
-
autobyteus/tools/operation/file_operation.py,sha256=bAehQ9PfHoCDpk9Wa7vx9h3ohzVuaGzzBUogxleTwq8,2375
|
|
144
|
-
autobyteus/tools/operation/file_rename_operation.py,sha256=pExiC69HUzYbKihlVumlGHMGxmmrsKQB0JfAM5x4JH0,1710
|
|
145
|
-
autobyteus/tools/operation/operation.py,sha256=9sIZnlrPct5CwkCKuwbspVKvjF4KumP6twmXRo1blwo,1702
|
|
146
|
-
autobyteus/tools/operation/shell_operation.py,sha256=_BiGIRGWCzzwPVtbqFwXpHOvnqH68YqJujQI-gWeKx0,1860
|
|
147
|
-
autobyteus/tools/registry/__init__.py,sha256=WeGvjcuCf0_cTPMV1pjHq8Am6FuiDqDYVIldYUeUj-E,330
|
|
148
|
-
autobyteus/tools/registry/tool_definition.py,sha256=7xjq_BrDpRWxTrCmLAomQFL2ERmDV_8L_Jz3D-YQQpo,2090
|
|
149
|
-
autobyteus/tools/registry/tool_registry.py,sha256=BKlPqTpm_96aLF1_C4YB0jIsI3JP5_rpiwGp9gPoiiA,3823
|
|
150
|
-
autobyteus/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
151
|
-
autobyteus/utils/dynamic_enum.py,sha256=c_mgKtKrjb958LlCWeAApl1LMvVB7U_0SWl-8XFhRag,1339
|
|
152
|
-
autobyteus/utils/file_utils.py,sha256=QK0LvrwA5c9FDjpSrfPPEQbu_AirteJNiLad9yRahDY,512
|
|
153
|
-
autobyteus/utils/html_cleaner.py,sha256=mI2V83yFRfQe8NnN6fr6Ujpa0bPlq25NW5tTKaz2WGk,8672
|
|
154
|
-
autobyteus/utils/singleton.py,sha256=YVURj5nRcMtzwFPxgy6ic4MSe3IUXNf6XWYuiXyhDOg,814
|
|
155
|
-
autobyteus/workflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
156
|
-
autobyteus/workflow/simple_task.py,sha256=CcEEfamaZk1pjkPG9TVmlvzMAeTznHvQncRIwgp48tI,3378
|
|
157
|
-
autobyteus/workflow/task.py,sha256=CYyPs8YvEwpWXcF4swJukPNuv6RRs3X-9UOnN6vG2Ko,5746
|
|
158
|
-
autobyteus/workflow/workflow.py,sha256=3PXZVtgnajGUAbZR22xht_2pU2WjYNmA1j0f5TkM3G0,1453
|
|
159
|
-
autobyteus-1.0.5.dist-info/licenses/LICENSE,sha256=Ompok_c8HRsXRwmax-pGR9OZRRxZC9RPp4JB6eTJd0M,1360
|
|
160
|
-
autobyteus-1.0.5.dist-info/METADATA,sha256=ZJkFqUzP61Q_RAxllsqksTKy-HRMK0gyJQlEis4WXaI,4399
|
|
161
|
-
autobyteus-1.0.5.dist-info/WHEEL,sha256=ooBFpIzZCPdw3uqIQsOo4qqbA4ZRPxHnOH7peeONza0,91
|
|
162
|
-
autobyteus-1.0.5.dist-info/top_level.txt,sha256=OeVeFlKcnysp6uMGe8TDaoFeuh4NUK4wZIfNjXCWKTE,11
|
|
163
|
-
autobyteus-1.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|