autobyteus 1.1.2__py3-none-any.whl → 1.1.3__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.
Files changed (33) hide show
  1. autobyteus/agent/bootstrap_steps/__init__.py +2 -0
  2. autobyteus/agent/bootstrap_steps/agent_bootstrapper.py +2 -0
  3. autobyteus/agent/bootstrap_steps/mcp_server_prewarming_step.py +71 -0
  4. autobyteus/agent/llm_response_processor/provider_aware_tool_usage_processor.py +41 -12
  5. autobyteus/agent/runtime/agent_worker.py +24 -34
  6. autobyteus/agent/shutdown_steps/__init__.py +17 -0
  7. autobyteus/agent/shutdown_steps/agent_shutdown_orchestrator.py +63 -0
  8. autobyteus/agent/shutdown_steps/base_shutdown_step.py +33 -0
  9. autobyteus/agent/shutdown_steps/llm_instance_cleanup_step.py +45 -0
  10. autobyteus/agent/shutdown_steps/mcp_server_cleanup_step.py +32 -0
  11. autobyteus/tools/base_tool.py +2 -0
  12. autobyteus/tools/mcp/__init__.py +10 -7
  13. autobyteus/tools/mcp/call_handlers/__init__.py +0 -2
  14. autobyteus/tools/mcp/config_service.py +1 -6
  15. autobyteus/tools/mcp/factory.py +12 -26
  16. autobyteus/tools/mcp/registrar.py +57 -178
  17. autobyteus/tools/mcp/server/__init__.py +16 -0
  18. autobyteus/tools/mcp/server/base_managed_mcp_server.py +139 -0
  19. autobyteus/tools/mcp/server/http_managed_mcp_server.py +29 -0
  20. autobyteus/tools/mcp/server/proxy.py +36 -0
  21. autobyteus/tools/mcp/server/stdio_managed_mcp_server.py +33 -0
  22. autobyteus/tools/mcp/server_instance_manager.py +93 -0
  23. autobyteus/tools/mcp/tool.py +28 -46
  24. autobyteus/tools/mcp/tool_registrar.py +177 -0
  25. autobyteus/tools/mcp/types.py +10 -21
  26. autobyteus/tools/registry/tool_definition.py +11 -2
  27. autobyteus/tools/registry/tool_registry.py +27 -28
  28. {autobyteus-1.1.2.dist-info → autobyteus-1.1.3.dist-info}/METADATA +2 -1
  29. {autobyteus-1.1.2.dist-info → autobyteus-1.1.3.dist-info}/RECORD +32 -20
  30. autobyteus/tools/mcp/call_handlers/sse_handler.py +0 -22
  31. {autobyteus-1.1.2.dist-info → autobyteus-1.1.3.dist-info}/WHEEL +0 -0
  32. {autobyteus-1.1.2.dist-info → autobyteus-1.1.3.dist-info}/licenses/LICENSE +0 -0
  33. {autobyteus-1.1.2.dist-info → autobyteus-1.1.3.dist-info}/top_level.txt +0 -0
@@ -5,10 +5,11 @@ autobyteus/agent/agent.py,sha256=M8ru6n2tVnKwwcHlubpPfvLj7P_yg3zQ8k0rfBu2mWg,492
5
5
  autobyteus/agent/exceptions.py,sha256=tfXvey5SkT70X6kcu29o8YO91KB0hI9_uLrba91_G2s,237
6
6
  autobyteus/agent/remote_agent.py,sha256=DPhAWobptj82HZaACbtLkXQBYIotgr3yZ6u4D9TJmeE,14458
7
7
  autobyteus/agent/tool_invocation.py,sha256=Kt1ge4kUGzC5f6ONdoBNGDUr9OwSAIEKmGFrtGzjewM,2312
8
- autobyteus/agent/bootstrap_steps/__init__.py,sha256=galEcfZkGFg73R1Ah5V09ytAIazir8vlfZ8_Z48m35k,811
9
- autobyteus/agent/bootstrap_steps/agent_bootstrapper.py,sha256=v3hPDEnVySh7SCfa4ynUK6Me3tA4FX-XH87-CCTHwLY,4229
8
+ autobyteus/agent/bootstrap_steps/__init__.py,sha256=k3_J4MXu7PaTuUXK-D2Uax8kh4BnSNm22sDlQw6GFA4,906
9
+ autobyteus/agent/bootstrap_steps/agent_bootstrapper.py,sha256=tPxD4yQ_i3-rl9XOGaKrLMdpymBqrzHkkkzRW0xhPBw,4336
10
10
  autobyteus/agent/bootstrap_steps/agent_runtime_queue_initialization_step.py,sha256=wulFdVAwR4jTZtJgHwLYf07r76KKCKpwa1Cho2AqjSw,3265
11
11
  autobyteus/agent/bootstrap_steps/base_bootstrap_step.py,sha256=8XaGHJva2Fo4T3fACK36FbEcrblj105oVhffYFEQO1A,1349
12
+ autobyteus/agent/bootstrap_steps/mcp_server_prewarming_step.py,sha256=M_OnynyLRmyQsfEeGQ8aH-NIhbBgmXhEBRHopvkNXJc,3432
12
13
  autobyteus/agent/bootstrap_steps/system_prompt_processing_step.py,sha256=6bnKzUqdqHVAriXEKU7mddH6br7JRSUget4BllxPijg,5521
13
14
  autobyteus/agent/bootstrap_steps/workspace_context_initialization_step.py,sha256=FMF9fhD6Wgas4TpQbSwKiL43OZBmwh_cAA3G_5jRJhM,2112
14
15
  autobyteus/agent/context/__init__.py,sha256=7LXLRuI_9Por2g_B4p89jLG3rZeJ5OYlmTXkjT4OGBY,364
@@ -58,7 +59,7 @@ autobyteus/agent/llm_response_processor/base_processor.py,sha256=U9oKMwbz_oYYw__
58
59
  autobyteus/agent/llm_response_processor/processor_definition.py,sha256=AMLmiL8dMlTpmBKmQrqrfNTfwJLyL6kLHYGqJ-Ly8bE,1464
59
60
  autobyteus/agent/llm_response_processor/processor_meta.py,sha256=RC32R5SVTSpBEOdexVh_SOTIydv0_ElWGP7PsXB-q_Q,1813
60
61
  autobyteus/agent/llm_response_processor/processor_registry.py,sha256=K31pYAujCqnuVXLd_c7gekJfczkagfLC2nI6TciWKBU,4768
61
- autobyteus/agent/llm_response_processor/provider_aware_tool_usage_processor.py,sha256=Sgvs0s5Bbv-FQ6H6WzB3ru2wz158kMR40PtoHgn-_B4,2397
62
+ autobyteus/agent/llm_response_processor/provider_aware_tool_usage_processor.py,sha256=VMFhhZu-39xaZs3AWfPc_JIMjLNvIpjtv0GajigZlyw,3644
62
63
  autobyteus/agent/message/__init__.py,sha256=xRs_zyqW1e_Z6R2hu8bGj6sB5s86ZgQQMDkqoRE9kGY,681
63
64
  autobyteus/agent/message/agent_input_user_message.py,sha256=NCy-1CjB4SFj4O05cH6HyC-lK-nZaspUh7bc3iwemD8,4838
64
65
  autobyteus/agent/message/context_file.py,sha256=VCwuN9qWKUHe1sZOWKQMwnbj1DzaeyfbML9wXU8SIL8,3376
@@ -75,7 +76,12 @@ autobyteus/agent/phases/transition_info.py,sha256=wqA_ANUbDzjsgESUtgH4svVczPA6-L
75
76
  autobyteus/agent/runtime/__init__.py,sha256=VQLu_-t86WkvLKEnGmbPksP53CrqgchqY8eB-DS-SsI,457
76
77
  autobyteus/agent/runtime/agent_runtime.py,sha256=cGN9_kNQcgbG6HTZNkBFv5-xeod6Z5wBTeZCzrTVX9o,6483
77
78
  autobyteus/agent/runtime/agent_thread_pool_manager.py,sha256=-dyo3LQ4Mi1upUyyp-8EmQuRXWamIcESc1-WCVSS0dM,3607
78
- autobyteus/agent/runtime/agent_worker.py,sha256=RPpy9DJmMY6n8xfkkD1Eg-hFQt_0zuN9csBQBoYOgLw,11492
79
+ autobyteus/agent/runtime/agent_worker.py,sha256=gS0Vfo-tknIjc7Zxqed9qSUF4XzXhoa34RFNG0KOj7g,11185
80
+ autobyteus/agent/shutdown_steps/__init__.py,sha256=583P5F3eBdqkmwBlnqua0PBZjHpnsfNEZgGxFw3x-4o,574
81
+ autobyteus/agent/shutdown_steps/agent_shutdown_orchestrator.py,sha256=5y8Ynm0zDbV00NkiJ4XNoM9U7T0vEp5E_fkUt4pTAVI,2475
82
+ autobyteus/agent/shutdown_steps/base_shutdown_step.py,sha256=YqHMD4opVvjCHHZdD38SxxJLhfAHL5523DNymUNHiD4,1083
83
+ autobyteus/agent/shutdown_steps/llm_instance_cleanup_step.py,sha256=f0zfOLNA_Ksp4Q0kBvikNlvoTXCnN-erQzSPMtmK44c,1863
84
+ autobyteus/agent/shutdown_steps/mcp_server_cleanup_step.py,sha256=_Ra9Fsf2KnPJAoGK0YdMH1wd0GdMonc9-MYY1GQookQ,1274
79
85
  autobyteus/agent/streaming/__init__.py,sha256=ul7QUIjv5q1nYwzrU1nsVBsKZwpthdmUGsP3UPWmJ34,447
80
86
  autobyteus/agent/streaming/agent_event_stream.py,sha256=cNF0KnHenAfxYNnZwaQ4OwH-iswRr6DqFdC06O4wHOE,9723
81
87
  autobyteus/agent/streaming/queue_streamer.py,sha256=lTMyFwuf_NBJL6hrUIoz5-pqWSlM7fgz1xcVB73y1bk,2354
@@ -179,7 +185,7 @@ autobyteus/rpc/server/sse_server_handler.py,sha256=3F1LNLw6fXcB08hmWOUhGZROYhpPd
179
185
  autobyteus/rpc/server/stdio_server_handler.py,sha256=pSAvVtxyo0Hytzld7WINeKHvGBqEjp0Bad-xkY2Rul4,7398
180
186
  autobyteus/tools/__init__.py,sha256=_CpNMcAa9eOHu-kO7hcDuqSuHO9cvB9oXg_KhayP-ag,2950
181
187
  autobyteus/tools/ask_user_input.py,sha256=J7Um7BY0YXCuw5Cml89ixgnygy4P9UU-VgYHpq9fiAc,1597
182
- autobyteus/tools/base_tool.py,sha256=ROcATURq04fPLkzBw5QQ-F87KBlCiAYKJ1C_8nbaabs,5013
188
+ autobyteus/tools/base_tool.py,sha256=x8Hjth7koJ6Brgi70phlm46K5SC9ofH4qokl4QqM9JQ,5159
183
189
  autobyteus/tools/functional_tool.py,sha256=duIRfzw-DBmqZlLdXrMUUVch-rYeFQV30b383u5O-4A,10427
184
190
  autobyteus/tools/image_downloader.py,sha256=cvVK2oBPjGVNphxYFNvSsdJskTXs-NJ-PZhQcvhjS4E,4780
185
191
  autobyteus/tools/parameter_schema.py,sha256=y_CJywuOO1o14lTtwaXAVOR3B55JZAKJyZ175v-EJsE,10818
@@ -224,26 +230,32 @@ autobyteus/tools/file/file_reader.py,sha256=KEYiOwUwb8FqoD5zcHbeC-C0CylfyVn1K1Lu
224
230
  autobyteus/tools/file/file_writer.py,sha256=lqmObMuFjFN8A9FSoP8XQlip8Y6AplD4ubc8PM9k5Sk,1161
225
231
  autobyteus/tools/handlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
226
232
  autobyteus/tools/handlers/shell_handler.py,sha256=ClTXqFR45iyD0gcoOPpKRX5p6g_6BI4a5JOLuKuQOIA,1065
227
- autobyteus/tools/mcp/__init__.py,sha256=zCo6RYdaB_ZukDlLl9kN3utG-ZZUb4OiCKfrqCW-C-w,1420
228
- autobyteus/tools/mcp/config_service.py,sha256=eFoG9TbugVkFYPibd2nTL6BUQMqIySLjjmdQcCITMA8,11508
229
- autobyteus/tools/mcp/factory.py,sha256=2lPDRRP4HDV7SeRMpNsF4fhNqaMUrgr5ijTCi8p7s1o,2989
230
- autobyteus/tools/mcp/registrar.py,sha256=skxzG9dwJXK3AK4ksf1s-1HSFllzLuMWO5lQi0DNGVg,15261
233
+ autobyteus/tools/mcp/__init__.py,sha256=gwT34UgJe2rU5y4bYNOLI-PyAmRQTMWKz_WC4f2LcyE,1553
234
+ autobyteus/tools/mcp/config_service.py,sha256=b6xShFAcCzouMG5ICyBfTK_ebtj79dEU6YKr3wn2xTI,11212
235
+ autobyteus/tools/mcp/factory.py,sha256=SmPR6mgmwLEfzfole-zKuptKnSyeZEBi1t9gBbwCtZY,2204
236
+ autobyteus/tools/mcp/registrar.py,sha256=GuJImUCXFiekSduK9kvyh0H4M0Rrd9hBcae0eCzdGeY,10327
231
237
  autobyteus/tools/mcp/schema_mapper.py,sha256=PJGEAlqCgkoCThLzmkG3jXOXYk6fR1ogjSpOiCuFKsc,7502
232
- autobyteus/tools/mcp/tool.py,sha256=gEfw5_7RqM8e2a6h58bQN9LDmSxgf6PnEfkBxcKp38Q,3980
233
- autobyteus/tools/mcp/types.py,sha256=5b5QcWzX4i_140saNZJOFoJwDPpnIUE8YjKbBNmVLhI,4937
234
- autobyteus/tools/mcp/call_handlers/__init__.py,sha256=yUysfoJwoCBf7yOokbfr-Shn2dTgw_WAqr6N59mmdBE,584
238
+ autobyteus/tools/mcp/server_instance_manager.py,sha256=XJTKrA__fyKDxsWHwr9oqoxCboH2T3cJDFszQLKHhH8,4678
239
+ autobyteus/tools/mcp/tool.py,sha256=HpXSjvQjwwDzGGww1Cz3j4yCCLDiCYEv0RG-q-2BU4o,3380
240
+ autobyteus/tools/mcp/tool_registrar.py,sha256=JlnC0_NJzG9qgxyFlEhvqoa9w-Y9CSRyOEVN9b--Ems,8496
241
+ autobyteus/tools/mcp/types.py,sha256=KiQUPhqzro5VW7piA-eOXkBcE0FThOUgr9Pw_7iV6Us,4171
242
+ autobyteus/tools/mcp/call_handlers/__init__.py,sha256=elxV-ttOoQ3Ve5idyIetdCzFDGlQBQ9UAG9okIpaI5c,516
235
243
  autobyteus/tools/mcp/call_handlers/base_handler.py,sha256=q-34xq6w-561rwujmoJVvhJMexe4-bhqBq8ORc_W6qA,1252
236
- autobyteus/tools/mcp/call_handlers/sse_handler.py,sha256=W73gJA9trEAsDqdfkbVEfHiUtNDibRXiIM5J-nGfxqw,760
237
244
  autobyteus/tools/mcp/call_handlers/stdio_handler.py,sha256=HKbZYvX3PEZkZ60xmXgvFpEo4oYgss26l3bgswQvx2g,3522
238
245
  autobyteus/tools/mcp/call_handlers/streamable_http_handler.py,sha256=P3qMErRqHBaXtqnx_fz5NNqw7ecps856UmIsLJnniF8,2702
246
+ autobyteus/tools/mcp/server/__init__.py,sha256=yfCMAtVlfy1x8aKEnRz9_CHnco2zVSdepwIPSjywSNw,523
247
+ autobyteus/tools/mcp/server/base_managed_mcp_server.py,sha256=ep-EKh4uqorrNYvv7D27Kh4fxR1f-E3hYMclFcWq0p4,5512
248
+ autobyteus/tools/mcp/server/http_managed_mcp_server.py,sha256=vuRh0N8xczposZxwffHkHDWXtV-5Sji7clKh6J-VqY8,1270
249
+ autobyteus/tools/mcp/server/proxy.py,sha256=08F3m1I_IH2wrRXK29R_NPDB6ITHpo982Mq9G53hbUo,1660
250
+ autobyteus/tools/mcp/server/stdio_managed_mcp_server.py,sha256=vFI9icgRLedgxgEKrzNqSXMXtsdHvUcOCVhDvTSFb68,1375
239
251
  autobyteus/tools/operation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
240
252
  autobyteus/tools/operation/file_operation.py,sha256=bAehQ9PfHoCDpk9Wa7vx9h3ohzVuaGzzBUogxleTwq8,2375
241
253
  autobyteus/tools/operation/file_rename_operation.py,sha256=pExiC69HUzYbKihlVumlGHMGxmmrsKQB0JfAM5x4JH0,1710
242
254
  autobyteus/tools/operation/operation.py,sha256=9sIZnlrPct5CwkCKuwbspVKvjF4KumP6twmXRo1blwo,1702
243
255
  autobyteus/tools/operation/shell_operation.py,sha256=_BiGIRGWCzzwPVtbqFwXpHOvnqH68YqJujQI-gWeKx0,1860
244
256
  autobyteus/tools/registry/__init__.py,sha256=39TSHm7mD6NXhsrczsX5Mdr32US0I6z3Bzad4hgcrrA,250
245
- autobyteus/tools/registry/tool_definition.py,sha256=64dcTFC-zDSo8hAgyvGfuSjuf7MJE3NUw6_4eO9byLc,6456
246
- autobyteus/tools/registry/tool_registry.py,sha256=M6uNbnkg7TCqheBdMNmaNC_T-5rMaPPtPogN7M6Y6CA,5832
257
+ autobyteus/tools/registry/tool_definition.py,sha256=XQ6rcZWse9W-O0KM85iswIvgqqbORhmT4k1KgwvEMgI,7001
258
+ autobyteus/tools/registry/tool_registry.py,sha256=TqQOqQIdYCb1Gmj-_nnlAeejZ6qzmXLZWYABQf8OBbk,5657
247
259
  autobyteus/tools/usage/__init__.py,sha256=0kJoUH-m0d1AHTYJQyXlCjlXhMJ3e95Ykf-8J9lO2g4,224
248
260
  autobyteus/tools/usage/formatters/__init__.py,sha256=BThdI_R8Dkda1eHJFr1cQ7nLCgf5KfSuvWokjPrnT9U,1424
249
261
  autobyteus/tools/usage/formatters/anthropic_json_example_formatter.py,sha256=EVVPZ7e1tG3QRcEPjdOC0yTvnGisubfUm9geWbd9r2g,792
@@ -293,8 +305,8 @@ autobyteus/workflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
293
305
  autobyteus/workflow/simple_task.py,sha256=CcEEfamaZk1pjkPG9TVmlvzMAeTznHvQncRIwgp48tI,3378
294
306
  autobyteus/workflow/task.py,sha256=CYyPs8YvEwpWXcF4swJukPNuv6RRs3X-9UOnN6vG2Ko,5746
295
307
  autobyteus/workflow/workflow.py,sha256=3PXZVtgnajGUAbZR22xht_2pU2WjYNmA1j0f5TkM3G0,1453
296
- autobyteus-1.1.2.dist-info/licenses/LICENSE,sha256=Ompok_c8HRsXRwmax-pGR9OZRRxZC9RPp4JB6eTJd0M,1360
297
- autobyteus-1.1.2.dist-info/METADATA,sha256=62vQqwpZtk7S1Wmr_EN8hHDnZBfeHwPze7eIGCrKeqQ,6873
298
- autobyteus-1.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
299
- autobyteus-1.1.2.dist-info/top_level.txt,sha256=OeVeFlKcnysp6uMGe8TDaoFeuh4NUK4wZIfNjXCWKTE,11
300
- autobyteus-1.1.2.dist-info/RECORD,,
308
+ autobyteus-1.1.3.dist-info/licenses/LICENSE,sha256=Ompok_c8HRsXRwmax-pGR9OZRRxZC9RPp4JB6eTJd0M,1360
309
+ autobyteus-1.1.3.dist-info/METADATA,sha256=QhTUabynJyRHkjH3To4aT8dyH9j9DDR0zlgdDfXGYMo,6904
310
+ autobyteus-1.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
311
+ autobyteus-1.1.3.dist-info/top_level.txt,sha256=OeVeFlKcnysp6uMGe8TDaoFeuh4NUK4wZIfNjXCWKTE,11
312
+ autobyteus-1.1.3.dist-info/RECORD,,
@@ -1,22 +0,0 @@
1
- # file: autobyteus/autobyteus/tools/mcp/call_handlers/sse_handler.py
2
- import logging
3
- from typing import Dict, Any, TYPE_CHECKING
4
-
5
- from .base_handler import McpCallHandler
6
-
7
- if TYPE_CHECKING:
8
- from ..types import BaseMcpConfig
9
-
10
- logger = logging.getLogger(__name__)
11
-
12
- class SseMcpCallHandler(McpCallHandler):
13
- """Placeholder handler for MCP tool calls over SSE."""
14
-
15
- async def handle_call(
16
- self,
17
- config: 'BaseMcpConfig',
18
- remote_tool_name: str,
19
- arguments: Dict[str, Any]
20
- ) -> Any:
21
- logger.warning(f"SseMcpCallHandler for server '{config.server_id}' is a placeholder and not fully implemented.")
22
- raise NotImplementedError(f"SSE transport is not fully implemented for tool call to '{remote_tool_name}'.")