agentpool 2.9.16__tar.gz → 2.9.18__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.
- {agentpool-2.9.16 → agentpool-2.9.18}/PKG-INFO +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/pyproject.toml +25 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/connection.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/implementations/debug_server/mock_agent.py +6 -2
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/implementations/testing.py +11 -6
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/client/connection.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/connection.py +9 -4
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/filesystem.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/transports.py +2 -2
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/__init__.py +2 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/acp_agent/acp_agent.py +15 -38
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/acp_agent/helpers.py +3 -11
- agentpool-2.9.18/src/agentpool/agents/acp_agent/stream_adapter.py +78 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/agui_agent/agui_agent.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/agui_agent/agui_converters.py +67 -12
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/agui_agent/helpers.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/claude_code_agent/claude_code_agent.py +22 -33
- agentpool-2.9.18/src/agentpool/agents/claude_code_agent/stream_adapter.py +379 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/codex_agent/codex_agent.py +33 -50
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/codex_agent/codex_converters.py +53 -48
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/codex_agent/static_info.py +6 -6
- agentpool-2.9.18/src/agentpool/agents/codex_agent/stream_adapter.py +224 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/native_agent/agent.py +4 -5
- agentpool-2.9.18/src/agentpool/agents/native_agent/stream_adapter.py +74 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/native_agent/tool_wrapping.py +5 -10
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/tool_call_accumulator.py +24 -77
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/common_types.py +4 -31
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/delegation/pool.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/delegation/teamrun.py +1 -5
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mcp_server/tool_bridge.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/chat_filesystem.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/message_history.py +2 -9
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/messagenode.py +3 -10
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/models/acp_agents/base.py +3 -2
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/models/agents.py +3 -4
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/models/claude_code_agents.py +3 -2
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/models/codex_agents.py +7 -3
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/observability/observability_registry.py +9 -5
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/base.py +5 -5
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/codemode/code_executor.py +2 -2
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/codemode/provider.py +2 -2
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/codemode/remote_mcp_execution.py +5 -2
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/codemode/remote_provider.py +2 -2
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/static.py +17 -19
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/running/discovery.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/running/run_nodes.py +1 -3
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tools/base.py +28 -61
- agentpool-2.9.16/src/agentpool/utils/streams.py → agentpool-2.9.18/src/agentpool/utils/file_ops_tracker.py +1 -110
- agentpool-2.9.18/src/agentpool/utils/streams/__init__.py +5 -0
- agentpool-2.9.18/src/agentpool/utils/streams/helpers.py +112 -0
- agentpool-2.9.18/src/agentpool/utils/streams/streamed_response.py +86 -0
- agentpool-2.9.18/src/agentpool/utils/streams/turn_manager.py +360 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/tasks.py +1 -4
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/serve_api.py +10 -8
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/tools.py +2 -2
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/nodes.py +1 -4
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/observability.py +13 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/task.py +2 -2
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/tools.py +14 -7
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/a2a_server/agent_worker.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/acp_agent.py +11 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/mcp_server/server.py +2 -8
- agentpool-2.9.18/src/agentpool_server/openai_api_server/completions/helpers.py +148 -0
- agentpool-2.9.18/src/agentpool_server/openai_api_server/completions/models.py +43 -0
- agentpool-2.9.18/src/agentpool_server/openai_api_server/responses/helpers.py +81 -0
- agentpool-2.9.18/src/agentpool_server/openai_api_server/responses/models.py +102 -0
- agentpool-2.9.18/src/agentpool_server/openai_api_server/responses/stream_adapter.py +491 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/openai_api_server/server.py +98 -46
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/agent_routes.py +16 -4
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/session_routes.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/state.py +4 -8
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/builtin/file_edit/file_edit.py +2 -2
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/fsspec_toolset/toolset.py +1 -1
- agentpool-2.9.18/src/agentpool_toolsets/mcp_discovery/data/mcp_servers.parquet +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/mcp_discovery/toolset.py +6 -6
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/streaming_tools.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/common.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/events.py +22 -7
- agentpool-2.9.18/src/pi_sdk/__init__.py +5 -0
- agentpool-2.9.18/src/pi_sdk/client.py +498 -0
- agentpool-2.9.18/src/pi_sdk/models.py +1160 -0
- agentpool-2.9.18/src/pi_sdk/py.typed +0 -0
- agentpool-2.9.16/src/agentpool/agents/claude_code_agent/stream_adapter.py +0 -380
- agentpool-2.9.16/src/agentpool/agents/codex_agent/stream_adapter.py +0 -193
- agentpool-2.9.16/src/agentpool_server/openai_api_server/completions/helpers.py +0 -81
- agentpool-2.9.16/src/agentpool_server/openai_api_server/completions/models.py +0 -98
- agentpool-2.9.16/src/agentpool_server/openai_api_server/responses/helpers.py +0 -73
- agentpool-2.9.16/src/agentpool_server/openai_api_server/responses/models.py +0 -96
- agentpool-2.9.16/src/agentpool_server/opencode_server/provider_auth.py +0 -285
- agentpool-2.9.16/src/agentpool_toolsets/mcp_discovery/data/mcp_servers.parquet +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/LICENSE +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/README.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/README.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/__main__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/acp_agent_api.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/acp_requests.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/implementations/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/implementations/debug_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/implementations/debug_server/cli.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/implementations/debug_server/debug.html +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/implementations/debug_server/debug_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/implementations/debug_server/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/notifications.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/protocol.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/bridge/README.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/bridge/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/bridge/__main__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/bridge/bridge.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/bridge/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/bridge/settings.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/bridge/ws_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/bridge/ws_server_cli.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/client/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/client/implementations/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/client/implementations/default_client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/client/implementations/headless_client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/client/implementations/noop_client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/client/protocol.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/exceptions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/registry/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/registry/archive.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/registry/fetch.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/registry/model.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/registry/prepare.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/agent_plan.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/agent_requests.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/agent_responses.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/capabilities.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/client_requests.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/client_responses.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/common.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/config_options.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/content_blocks.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/elicitation.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/field_meta.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/mcp.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/messages.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/notifications.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/protocol_stuff.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/session_state.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/session_updates.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/slash_commands.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/terminal.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/schema/tool_call.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/stdio.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/task/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/task/debug.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/task/dispatcher.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/task/queue.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/task/sender.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/task/state.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/task/supervisor.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/terminal_handle.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/tool_call_reporter.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/tool_call_state.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/acp/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/__main__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/acp_agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/acp_agent/acp_converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/acp_agent/client_handler.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/acp_agent/session_state.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/agui_agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/agui_agent/chunk_transformer.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/base_agent.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/claude_code_agent/FORKING.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/claude_code_agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/claude_code_agent/claude_commands.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/claude_code_agent/converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/claude_code_agent/elicitation.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/claude_code_agent/exceptions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/claude_code_agent/hook_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/claude_code_agent/mcp_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/claude_code_agent/slash_commands.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/claude_code_agent/static_info.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/codex_agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/context.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/events/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/events/builtin_handlers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/events/event_emitter.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/events/events.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/events/infer_info.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/events/processors.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/events/reconstructor.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/events/tts_handlers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/exceptions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/interactions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/modes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/native_agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/native_agent/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/native_agent/hook_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/prompt_injection.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/staged_content.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/agents/sys_prompts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/config_resources/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/config_resources/acp_assistant.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/config_resources/agents.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/config_resources/agents_template.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/config_resources/agui_test.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/config_resources/claude_code_agent.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/config_resources/claude_style_subagent.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/config_resources/codex_agent.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/config_resources/external_acp_agents.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/config_resources/opencode_style_subagent.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/config_resources/tts_test_agents.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/delegation/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/delegation/base_team.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/delegation/message_flow_tracker.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/delegation/team.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/diagnostics/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/diagnostics/lsp_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/diagnostics/lsp_proxy.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/diagnostics/lsp_proxy_script.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/diagnostics/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/docs/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/docs/gen_examples.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/docs/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/functional/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/functional/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/functional/run.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/functional/structure.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/hooks/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/hooks/agent_hooks.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/hooks/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/hooks/callable.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/hooks/command.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/hooks/prompt.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/jinja_filters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/log.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mcp_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mcp_server/client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mcp_server/constants.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mcp_server/conversions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mcp_server/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mcp_server/manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mcp_server/message_handler.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mcp_server/registries/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mcp_server/registries/official_registry_client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mcp_server/registries/pulsemcp_client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/compaction.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/connection_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/context.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/event_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/events.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/message_container.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/message_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/messages.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/messaging/processing.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/mime_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/models/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/models/acp_agents/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/models/agui_agents.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/models/fields.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/models/file_agents.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/models/file_parsing.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/models/manifest.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/observability/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/prompts/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/prompts/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/prompts/builtin_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/prompts/conversion_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/prompts/convert.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/prompts/manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/prompts/parts/prompt_suggestions.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/prompts/parts/zed.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/prompts/prompts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/context.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/core.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/languages.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/outline.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/README.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/arduino-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/c-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/chatito-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/clojure-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/commonlisp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/cpp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/csharp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/d-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/dart-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/elisp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/elixir-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/elm-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/gleam-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/go-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/java-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/javascript-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/lua-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/matlab-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/ocaml-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/ocaml_interface-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/pony-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/properties-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/python-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/r-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/racket-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/ruby-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/rust-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/solidity-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/swift-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-language-pack/udev-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/README.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/c-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/c_sharp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/cpp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/dart-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/elisp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/elixir-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/elm-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/fortran-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/go-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/haskell-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/hcl-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/java-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/javascript-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/julia-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/kotlin-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/matlab-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/ocaml-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/ocaml_interface-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/php-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/python-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/ql-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/ruby-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/rust-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/scala-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/typescript-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/queries/tree-sitter-languages/zig-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/tags.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/types.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/repomap/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/aggregating.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/codemode/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/codemode/default_prompt.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/codemode/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/codemode/progress_executor.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/filtering.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/mcp_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/plan_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/pool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/resource_providers/resource_info.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/running/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/running/decorators.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/running/executor.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/running/injection.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/running/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/sessions/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/sessions/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/skills/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/skills/manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/skills/registry.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/skills/skill.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/storage/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/storage/manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/storage/serialization.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/talk/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/talk/registry.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/talk/stats.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/talk/talk.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tasks/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tasks/exceptions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tasks/registry.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/testing.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/text_templates/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/text_templates/system_prompt.jinja +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/text_templates/tool_call_default.jinja +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/text_templates/tool_call_markdown.jinja +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/text_templates/tool_call_simple.jinja +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/agent_cli/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/agent_cli/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/bash/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/bash/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/bash/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/delete_path/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/delete_path/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/download_file/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/download_file/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/execute_code/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/execute_code/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/grep/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/grep/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/list_directory/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/list_directory/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/question/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/question/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/read/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/read/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/sandbox_bash/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/sandbox_bash/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tool_impls/sandbox_bash/wrapper.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tools/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tools/exceptions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tools/manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/tools/tool_call_info.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/ui/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/ui/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/ui/elicitation.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/ui/mock_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/ui/stdlib_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/baseregistry.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/count_tokens.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/dag.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/diffs.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/file_watcher.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/identifiers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/importing.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/inspection.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/model_capabilities.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/network.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/pydantic_ai_helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/result_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/signatures.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/subprocess_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/thread_helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/time_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/todos.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/token_breakdown.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/utils/worktree.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool/vfs_registry.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/__main__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/agent.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/cli_types.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/common.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/config_info.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/history.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/log.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/run.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/serve_acp.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/serve_agui.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/serve_mcp.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/serve_opencode.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/serve_vercel.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/store.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/task.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/ui.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_cli/watch.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/agents.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/commands.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/completers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/connections.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/history.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/markdown_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/mcp.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/pool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/prompts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/read.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/resources.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/session.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/text_sharing/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/text_sharing/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/text_sharing/github_gist.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/text_sharing/opencode.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/text_sharing/paste_rs.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/text_sharing/pastebin.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/text_sharing/shittycodingagent.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_commands/workers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/agentpool_tools.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/builtin_tools.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/commands.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/compaction.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/conditions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/durable.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/event_handlers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/events.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/forward_targets.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/hook_conditions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/hooks.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/jinja.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/knowledge.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/loaders.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/mcp_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/output_types.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/pool_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/prompt_hubs.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/prompts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/resolution.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/session.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/skills.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/storage.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/system_prompts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/teams.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/toolsets.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_config/workers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_prompts/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_prompts/braintrust_hub.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_prompts/fabric.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_prompts/langfuse_hub.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_prompts/promptlayer_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_prompts/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/a2a_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/a2a_server/a2a_types.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/a2a_server/server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/a2a_server/storage.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/commands/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/commands/debug_commands.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/commands/docs_commands/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/commands/docs_commands/fetch_repo.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/commands/docs_commands/get_schema.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/commands/docs_commands/get_source.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/commands/docs_commands/git_diff.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/commands/docs_commands/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/commands/docs_commands/url_to_markdown.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/event_converter.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/input_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/session.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/session_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/syntax_detection.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/acp_server/zed_tools.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/aggregating_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/agui_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/agui_server/base_agent_adapter.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/agui_server/server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/http_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/mcp_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/mcp_server/zed_wrapper.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/openai_api_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/openai_api_server/completions/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/openai_api_server/responses/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/.rules +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/ENDPOINTS.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/OPENCODE_UI_TOOLS_COMPLETE.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/command_validation.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/dependencies.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/input_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/app_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/config_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/file_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/global_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/lsp_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/message_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/permission_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/pty_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/question_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/routes/tui_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/opencode_server/stream_adapter.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_server/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/acp_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/acp_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/claude_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/claude_provider/converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/claude_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/codex_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/codex_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/file_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/file_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/formatters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/memory_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/memory_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/opencode_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/opencode_provider/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/opencode_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/project_store.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/sql_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/sql_provider/cli.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/sql_provider/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/sql_provider/queries.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/sql_provider/sql_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/sql_provider/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/zed_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/zed_provider/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/zed_provider/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_storage/zed_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/builtin/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/builtin/code.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/builtin/debug.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/builtin/execution_environment.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/builtin/file_edit/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/builtin/skills.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/builtin/subagent_tools.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/builtin/workers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/composio_toolset.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/config_creation.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/cron.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/entry_points.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/fsspec_toolset/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/fsspec_toolset/diagnostics.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/fsspec_toolset/grep.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/fsspec_toolset/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/fsspec_toolset/image_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/fsspec_toolset/streaming_diff_parser.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/mcp_discovery/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/mcp_run_toolset.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/notifications.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/openapi.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/search_toolset.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/agentpool_toolsets/vfs_toolset.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/agent.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/app.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/config.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/diagnostics.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/file.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/inputs.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/mcp.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/message.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/parts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/pty.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/question.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/session.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/models/tool_metadata.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.18}/src/opencode_sdk/storage_client.py +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[project]
|
|
4
4
|
name = "agentpool"
|
|
5
|
-
version = "2.9.
|
|
5
|
+
version = "2.9.18"
|
|
6
6
|
description = "Pydantic-AI based Multi-Agent Framework with YAML-based Agents, Teams, Workflows & Extended ACP / AGUI integration"
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
requires-python = ">=3.13"
|
|
@@ -444,6 +444,29 @@ division-by-zero = "warn"
|
|
|
444
444
|
[tool.uv]
|
|
445
445
|
default-groups = ["dev", "lint", "docs"]
|
|
446
446
|
constraint-dependencies = ["extism-sys<1.13.0"]
|
|
447
|
+
# exclude-newer = "1 day"
|
|
448
|
+
|
|
449
|
+
# [tool.uv.exclude-newer-package] # exclude self-maintained
|
|
450
|
+
# codexed = "0 days"
|
|
451
|
+
# clawd-code-sdk = "0 days"
|
|
452
|
+
# docler = "0 days"
|
|
453
|
+
# epregistry = "0 days"
|
|
454
|
+
# anyenv = "0 days"
|
|
455
|
+
# exxec = "0 days"
|
|
456
|
+
# mknodes = "0 days"
|
|
457
|
+
# tokonomics = "0 days"
|
|
458
|
+
# toprompt = "0 days"
|
|
459
|
+
# yamling = "0 days"
|
|
460
|
+
# sublime-search = "0 days"
|
|
461
|
+
# ripgrep-rs = "0 days"
|
|
462
|
+
# slashed = "0 days"
|
|
463
|
+
# searchly = "0 days"
|
|
464
|
+
# schemez = "0 days"
|
|
465
|
+
# upathtools = "0 days"
|
|
466
|
+
# promptantic = "0 days"
|
|
467
|
+
# llmling-models = "0 days"
|
|
468
|
+
# jinjarope = "0 days"
|
|
469
|
+
# evented = "0 days"
|
|
447
470
|
|
|
448
471
|
[tool.uv.build-backend]
|
|
449
472
|
module-name = [
|
|
@@ -457,6 +480,7 @@ module-name = [
|
|
|
457
480
|
"agentpool_toolsets",
|
|
458
481
|
"acp",
|
|
459
482
|
"opencode_sdk",
|
|
483
|
+
"pi_sdk",
|
|
460
484
|
]
|
|
461
485
|
wheel-exclude = [
|
|
462
486
|
".mypy_cache/**",
|
|
@@ -162,7 +162,7 @@ class AgentSideConnection(Client):
|
|
|
162
162
|
|
|
163
163
|
async def ext_method(self, method: str, params: dict[str, Any]) -> dict[str, Any]:
|
|
164
164
|
"""Call an extension method on the client."""
|
|
165
|
-
return await self._conn.send_request(f"_{method}", params)
|
|
165
|
+
return await self._conn.send_request(f"_{method}", params)
|
|
166
166
|
|
|
167
167
|
async def ext_notification(self, method: str, params: dict[str, Any]) -> None:
|
|
168
168
|
"""Send an extension notification to the client."""
|
{agentpool-2.9.16 → agentpool-2.9.18}/src/acp/agent/implementations/debug_server/mock_agent.py
RENAMED
|
@@ -25,6 +25,8 @@ from acp.schema import (
|
|
|
25
25
|
ReadTextFileResponse,
|
|
26
26
|
ResumeSessionResponse,
|
|
27
27
|
SessionInfo,
|
|
28
|
+
SetSessionModelResponse,
|
|
29
|
+
SetSessionModeResponse,
|
|
28
30
|
WriteTextFileResponse,
|
|
29
31
|
)
|
|
30
32
|
|
|
@@ -128,13 +130,15 @@ class MockAgent(Agent):
|
|
|
128
130
|
terminal_id = str(uuid.uuid4())
|
|
129
131
|
return CreateTerminalResponse(terminal_id=terminal_id)
|
|
130
132
|
|
|
131
|
-
async def set_session_mode(self, params: SetSessionModeRequest) ->
|
|
133
|
+
async def set_session_mode(self, params: SetSessionModeRequest) -> SetSessionModeResponse:
|
|
132
134
|
"""Mock session mode change."""
|
|
133
135
|
logger.info("Mock session mode change")
|
|
136
|
+
return SetSessionModeResponse()
|
|
134
137
|
|
|
135
|
-
async def set_session_model(self, params: SetSessionModelRequest) ->
|
|
138
|
+
async def set_session_model(self, params: SetSessionModelRequest) -> SetSessionModelResponse:
|
|
136
139
|
"""Mock session model change."""
|
|
137
140
|
logger.info("Mock session model change")
|
|
141
|
+
return SetSessionModelResponse()
|
|
138
142
|
|
|
139
143
|
async def set_session_config_option(self, params: SetSessionConfigOptionRequest) -> None:
|
|
140
144
|
"""Mock session config option change."""
|
|
@@ -19,6 +19,9 @@ from acp.schema import (
|
|
|
19
19
|
ListSessionsResponse,
|
|
20
20
|
LogoutResponse,
|
|
21
21
|
ResumeSessionResponse,
|
|
22
|
+
SetSessionConfigOptionResponse,
|
|
23
|
+
SetSessionModelResponse,
|
|
24
|
+
SetSessionModeResponse,
|
|
22
25
|
)
|
|
23
26
|
|
|
24
27
|
|
|
@@ -76,15 +79,17 @@ class TestAgent(Agent):
|
|
|
76
79
|
async def cancel(self, params: CancelNotification) -> None:
|
|
77
80
|
self.cancellations.append(params.session_id)
|
|
78
81
|
|
|
79
|
-
async def set_session_mode(self, params: SetSessionModeRequest) ->
|
|
80
|
-
return
|
|
82
|
+
async def set_session_mode(self, params: SetSessionModeRequest) -> SetSessionModeResponse:
|
|
83
|
+
return SetSessionModeResponse()
|
|
81
84
|
|
|
82
|
-
async def set_session_model(self, params: SetSessionModelRequest) ->
|
|
83
|
-
return
|
|
85
|
+
async def set_session_model(self, params: SetSessionModelRequest) -> SetSessionModelResponse:
|
|
86
|
+
return SetSessionModelResponse()
|
|
84
87
|
|
|
85
|
-
async def set_session_config_option(
|
|
88
|
+
async def set_session_config_option(
|
|
89
|
+
self, params: SetSessionConfigOptionRequest
|
|
90
|
+
) -> SetSessionConfigOptionResponse:
|
|
86
91
|
"""Mock session config option change."""
|
|
87
|
-
return
|
|
92
|
+
return SetSessionConfigOptionResponse()
|
|
88
93
|
|
|
89
94
|
async def ext_method(self, method: str, params: dict[str, Any]) -> dict[str, Any]:
|
|
90
95
|
self.ext_calls.append((method, params))
|
|
@@ -198,7 +198,7 @@ class ClientSideConnection(Agent):
|
|
|
198
198
|
await self._conn.send_notification("session/cancel", dct)
|
|
199
199
|
|
|
200
200
|
async def ext_method(self, method: str, params: dict[str, Any]) -> dict[str, Any]:
|
|
201
|
-
return await self._conn.send_request(f"_{method}", params)
|
|
201
|
+
return await self._conn.send_request(f"_{method}", params)
|
|
202
202
|
|
|
203
203
|
async def ext_notification(self, method: str, params: dict[str, Any]) -> None:
|
|
204
204
|
await self._conn.send_notification(f"_{method}", params)
|
|
@@ -129,14 +129,16 @@ class Connection:
|
|
|
129
129
|
async def __aexit__(self, *args: object) -> None:
|
|
130
130
|
await self.close()
|
|
131
131
|
|
|
132
|
-
async def send_request(self, method: str, params: JsonValue | None = None) -> Any:
|
|
132
|
+
async def send_request(self, method: str, params: JsonValue | None = None) -> dict[str, Any]:
|
|
133
133
|
request_id = self._next_request_id
|
|
134
134
|
self._next_request_id += 1
|
|
135
135
|
future = self._state.register_outgoing(request_id, method)
|
|
136
136
|
payload = {"jsonrpc": "2.0", "id": request_id, "method": method, "params": params}
|
|
137
137
|
await self._sender.send(payload)
|
|
138
138
|
self._notify_observers("outgoing", payload)
|
|
139
|
-
|
|
139
|
+
data = await future
|
|
140
|
+
assert isinstance(data, dict)
|
|
141
|
+
return data
|
|
140
142
|
|
|
141
143
|
async def send_notification(self, method: str, params: JsonValue | None = None) -> None:
|
|
142
144
|
payload = {"jsonrpc": "2.0", "method": method, "params": params}
|
|
@@ -170,9 +172,12 @@ class Connection:
|
|
|
170
172
|
except asyncio.CancelledError:
|
|
171
173
|
return
|
|
172
174
|
except anyio.ClosedResourceError:
|
|
173
|
-
|
|
175
|
+
pass
|
|
174
176
|
except anyio.EndOfStream:
|
|
175
|
-
|
|
177
|
+
pass
|
|
178
|
+
# EOF / closed: reject in-flight requests so callers get an error
|
|
179
|
+
# instead of hanging forever (e.g. subprocess crash during initialize).
|
|
180
|
+
self._state.reject_all_outgoing(ConnectionError("Connection closed: remote end sent EOF"))
|
|
176
181
|
|
|
177
182
|
async def _process_message(self, message: dict[str, Any]) -> None:
|
|
178
183
|
method = message.get("method")
|
|
@@ -525,7 +525,7 @@ class ACPFileSystem(BaseAsyncFileSystem[ACPPath, AcpInfo]):
|
|
|
525
525
|
logger.warning("CLI find error, falling back to walk: %s", e)
|
|
526
526
|
return await super()._find(path, maxdepth=maxdepth, withdirs=withdirs, **kwargs) # type: ignore[no-any-return]
|
|
527
527
|
|
|
528
|
-
find = sync_wrapper(_find)
|
|
528
|
+
find = sync_wrapper(_find) # pyright: ignore[reportAssignmentType]
|
|
529
529
|
|
|
530
530
|
def open(
|
|
531
531
|
self,
|
|
@@ -276,14 +276,14 @@ class _WebSocketReadStream(ByteReceiveStream):
|
|
|
276
276
|
|
|
277
277
|
# Read from WebSocket
|
|
278
278
|
try:
|
|
279
|
-
message = await self._websocket.recv()
|
|
279
|
+
message: str | bytes = await self._websocket.recv()
|
|
280
280
|
if isinstance(message, str):
|
|
281
281
|
message = message.encode()
|
|
282
282
|
# Add newline for JSON-RPC line protocol
|
|
283
283
|
if not message.endswith(b"\n"):
|
|
284
284
|
message += b"\n"
|
|
285
285
|
self._buffer = message[max_bytes:]
|
|
286
|
-
return message[:max_bytes]
|
|
286
|
+
return message[:max_bytes]
|
|
287
287
|
except Exception as e:
|
|
288
288
|
raise anyio.EndOfStream from e
|
|
289
289
|
|
|
@@ -18,7 +18,7 @@ from agentpool.agents import Agent, AgentContext, ClaudeCodeAgent, ACPAgent, AGU
|
|
|
18
18
|
from agentpool.delegation import AgentPool, Team, TeamRun, BaseTeam
|
|
19
19
|
from dotenv import load_dotenv
|
|
20
20
|
from agentpool.messaging.messages import ChatMessage
|
|
21
|
-
from agentpool.tools import Tool, ToolCallInfo
|
|
21
|
+
from agentpool.tools import Tool, ToolCallInfo, FunctionTool
|
|
22
22
|
from agentpool.messaging.messagenode import MessageNode
|
|
23
23
|
from agentpool.testing import acp_test_session
|
|
24
24
|
from pydantic_ai import (
|
|
@@ -55,6 +55,7 @@ __all__ = [
|
|
|
55
55
|
"ChatMessage",
|
|
56
56
|
"ClaudeCodeAgent",
|
|
57
57
|
"DocumentUrl",
|
|
58
|
+
"FunctionTool",
|
|
58
59
|
"ImageUrl",
|
|
59
60
|
"MessageNode",
|
|
60
61
|
"NativeAgentConfig",
|
|
@@ -30,7 +30,6 @@ from __future__ import annotations
|
|
|
30
30
|
|
|
31
31
|
import asyncio
|
|
32
32
|
import contextlib
|
|
33
|
-
from dataclasses import replace
|
|
34
33
|
from datetime import datetime
|
|
35
34
|
import os
|
|
36
35
|
from pathlib import Path
|
|
@@ -44,11 +43,7 @@ from acp import InitializeRequest
|
|
|
44
43
|
from acp.agent import ACPAgentAPI
|
|
45
44
|
from agentpool.agents.acp_agent.session_state import ACPSessionState
|
|
46
45
|
from agentpool.agents.base_agent import BaseAgent
|
|
47
|
-
from agentpool.agents.events import
|
|
48
|
-
RunStartedEvent,
|
|
49
|
-
StreamCompleteEvent,
|
|
50
|
-
ToolCallCompleteEvent,
|
|
51
|
-
)
|
|
46
|
+
from agentpool.agents.events import RunStartedEvent, StreamCompleteEvent
|
|
52
47
|
from agentpool.agents.events.reconstructor import MessageReconstructor
|
|
53
48
|
from agentpool.agents.exceptions import (
|
|
54
49
|
AgentNotInitializedError,
|
|
@@ -247,7 +242,7 @@ class ACPAgent[TDeps = None](BaseAgent[TDeps, str]):
|
|
|
247
242
|
agent_pool=agent_pool,
|
|
248
243
|
deps_type=deps_type,
|
|
249
244
|
auto_approve=config.auto_approve,
|
|
250
|
-
hooks=config.hooks.get_agent_hooks()
|
|
245
|
+
hooks=config.hooks.get_agent_hooks(),
|
|
251
246
|
)
|
|
252
247
|
|
|
253
248
|
@property
|
|
@@ -417,7 +412,7 @@ class ACPAgent[TDeps = None](BaseAgent[TDeps, str]):
|
|
|
417
412
|
self.log.exception("Error terminating ACP process")
|
|
418
413
|
self._process = None
|
|
419
414
|
|
|
420
|
-
async def _stream_events(
|
|
415
|
+
async def _stream_events(
|
|
421
416
|
self,
|
|
422
417
|
prompts: list[UserContent],
|
|
423
418
|
*,
|
|
@@ -469,45 +464,27 @@ class ACPAgent[TDeps = None](BaseAgent[TDeps, str]):
|
|
|
469
464
|
prompt_task = asyncio.create_task(self._api.prompt(session_id, final_blocks))
|
|
470
465
|
self._prompt_task = prompt_task
|
|
471
466
|
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
pass
|
|
484
|
-
while (update := self._state.pop_update()) is not None:
|
|
485
|
-
if native_event := acp_to_native_event(update):
|
|
486
|
-
yield native_event
|
|
487
|
-
while (update := self._state.pop_update()) is not None:
|
|
488
|
-
if native_event := acp_to_native_event(update):
|
|
489
|
-
yield native_event
|
|
467
|
+
from agentpool.agents.acp_agent.stream_adapter import AcpAgentStreamedResponse
|
|
468
|
+
|
|
469
|
+
assert self._client_handler
|
|
470
|
+
streamed_response = AcpAgentStreamedResponse(
|
|
471
|
+
provider_name="acp",
|
|
472
|
+
state=self._state,
|
|
473
|
+
update_event=self._client_handler._update_event,
|
|
474
|
+
prompt_task=prompt_task,
|
|
475
|
+
agent_name=self.name,
|
|
476
|
+
tool_metadata=self._tool_bridge.tool_metadata,
|
|
477
|
+
)
|
|
490
478
|
|
|
491
479
|
try:
|
|
492
480
|
async with (
|
|
493
481
|
self._tool_bridge.set_run_context(run_context, prompt=prompts),
|
|
494
|
-
merge_queue_into_iterator(
|
|
482
|
+
merge_queue_into_iterator(streamed_response, self._event_queue) as merged_events, # ty: ignore[invalid-argument-type]
|
|
495
483
|
):
|
|
496
484
|
async for event in merged_events:
|
|
497
485
|
if self._cancelled:
|
|
498
486
|
self.log.info("Stream cancelled by user")
|
|
499
487
|
break
|
|
500
|
-
if isinstance(event, ToolCallCompleteEvent):
|
|
501
|
-
enriched_event = event
|
|
502
|
-
if not enriched_event.agent_name:
|
|
503
|
-
enriched_event = replace(enriched_event, agent_name=self.name)
|
|
504
|
-
if (
|
|
505
|
-
enriched_event.metadata is None
|
|
506
|
-
and enriched_event.tool_call_id in self._tool_bridge.tool_metadata
|
|
507
|
-
):
|
|
508
|
-
meta = self._tool_bridge.tool_metadata[enriched_event.tool_call_id]
|
|
509
|
-
enriched_event = replace(enriched_event, metadata=meta)
|
|
510
|
-
event = enriched_event # noqa: PLW2901
|
|
511
488
|
reconstructor.observe(event) # ty: ignore[invalid-argument-type]
|
|
512
489
|
yield event # ty:ignore[invalid-yield]
|
|
513
490
|
except asyncio.CancelledError:
|
|
@@ -32,18 +32,10 @@ def filter_servers_by_capabilities(
|
|
|
32
32
|
"""
|
|
33
33
|
from acp.schema.mcp import HttpMcpServer, SseMcpServer
|
|
34
34
|
|
|
35
|
+
mcp_caps = i.mcp_capabilities if (i := agent_capabilities) else None
|
|
35
36
|
# Check what transports are supported
|
|
36
|
-
supports_http =
|
|
37
|
-
|
|
38
|
-
and agent_capabilities.mcp_capabilities
|
|
39
|
-
and agent_capabilities.mcp_capabilities.http
|
|
40
|
-
)
|
|
41
|
-
supports_sse = (
|
|
42
|
-
agent_capabilities
|
|
43
|
-
and agent_capabilities.mcp_capabilities
|
|
44
|
-
and agent_capabilities.mcp_capabilities.sse
|
|
45
|
-
)
|
|
46
|
-
|
|
37
|
+
supports_http = mcp_caps and mcp_caps.http
|
|
38
|
+
supports_sse = mcp_caps and mcp_caps.sse
|
|
47
39
|
supported_servers: list[McpServer] = []
|
|
48
40
|
unsupported_servers: list[tuple[McpServer, str]] = []
|
|
49
41
|
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"""Stream adapter for converting ACP session updates to agentpool events.
|
|
2
|
+
|
|
3
|
+
The ACP agent communicates via a subprocess running the ACP protocol. Session
|
|
4
|
+
updates are pushed into an ACPSessionState queue, and this adapter polls that
|
|
5
|
+
queue (gated by an asyncio event) until the prompt task completes.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
from dataclasses import dataclass, field, replace
|
|
11
|
+
from typing import TYPE_CHECKING, Any
|
|
12
|
+
|
|
13
|
+
from agentpool.utils.streams.streamed_response import StreamedResponse
|
|
14
|
+
from agentpool.utils.time_utils import get_now
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
if TYPE_CHECKING:
|
|
18
|
+
import asyncio
|
|
19
|
+
from collections.abc import AsyncIterator
|
|
20
|
+
from datetime import datetime
|
|
21
|
+
|
|
22
|
+
from agentpool.agents.acp_agent.client_handler import TimeoutableEvent
|
|
23
|
+
from agentpool.agents.acp_agent.session_state import ACPSessionState
|
|
24
|
+
from agentpool.agents.events import RichAgentStreamEvent
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@dataclass(kw_only=True)
|
|
28
|
+
class AcpAgentStreamedResponse(StreamedResponse):
|
|
29
|
+
"""Streamed ACP response that polls session state for updates."""
|
|
30
|
+
|
|
31
|
+
state: ACPSessionState
|
|
32
|
+
update_event: TimeoutableEvent
|
|
33
|
+
prompt_task: asyncio.Task[Any]
|
|
34
|
+
agent_name: str
|
|
35
|
+
tool_metadata: dict[str, dict[str, Any]]
|
|
36
|
+
_timestamp: datetime = field(default_factory=get_now)
|
|
37
|
+
_model_name: str | None = None
|
|
38
|
+
|
|
39
|
+
async def _get_event_iterator(self) -> AsyncIterator[RichAgentStreamEvent[str]]:
|
|
40
|
+
"""Poll raw updates from ACP state, convert to events, until prompt completes."""
|
|
41
|
+
from agentpool.agents.acp_agent.acp_converters import acp_to_native_event
|
|
42
|
+
|
|
43
|
+
while not self.prompt_task.done():
|
|
44
|
+
try:
|
|
45
|
+
await self.update_event.wait_with_timeout(0.05)
|
|
46
|
+
self.update_event.clear()
|
|
47
|
+
except TimeoutError:
|
|
48
|
+
pass
|
|
49
|
+
while (update := self.state.pop_update()) is not None:
|
|
50
|
+
if native_event := acp_to_native_event(update):
|
|
51
|
+
yield self._enrich(native_event)
|
|
52
|
+
# Drain any remaining updates after prompt completes
|
|
53
|
+
while (update := self.state.pop_update()) is not None:
|
|
54
|
+
if native_event := acp_to_native_event(update):
|
|
55
|
+
yield self._enrich(native_event)
|
|
56
|
+
|
|
57
|
+
def _enrich(self, event: RichAgentStreamEvent[str]) -> RichAgentStreamEvent[str]:
|
|
58
|
+
"""Enrich ToolCallCompleteEvents with agent name and tool metadata."""
|
|
59
|
+
from agentpool.agents.events import ToolCallCompleteEvent
|
|
60
|
+
|
|
61
|
+
if not isinstance(event, ToolCallCompleteEvent):
|
|
62
|
+
return event
|
|
63
|
+
if not event.agent_name:
|
|
64
|
+
event = replace(event, agent_name=self.agent_name)
|
|
65
|
+
if event.metadata is None and event.tool_call_id in self.tool_metadata:
|
|
66
|
+
event = replace(event, metadata=self.tool_metadata[event.tool_call_id])
|
|
67
|
+
return event
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def model_name(self) -> str:
|
|
71
|
+
"""Get the model name of the response."""
|
|
72
|
+
assert self._model_name
|
|
73
|
+
return self._model_name
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def timestamp(self) -> datetime:
|
|
77
|
+
"""Get the timestamp of the response."""
|
|
78
|
+
return self._timestamp
|
|
@@ -207,7 +207,7 @@ class AGUIAgent[TDeps = None](BaseAgent[TDeps, str]):
|
|
|
207
207
|
mcp_servers=config.mcp_servers,
|
|
208
208
|
agent_pool=agent_pool,
|
|
209
209
|
tool_confirmation_mode=config.requires_tool_confirmation,
|
|
210
|
-
hooks=config.hooks.get_agent_hooks()
|
|
210
|
+
hooks=config.hooks.get_agent_hooks(),
|
|
211
211
|
)
|
|
212
212
|
|
|
213
213
|
async def __aenter__(self) -> Self:
|
|
@@ -15,8 +15,7 @@ from uuid import uuid4
|
|
|
15
15
|
|
|
16
16
|
import anyenv
|
|
17
17
|
from pydantic_ai import (
|
|
18
|
-
|
|
19
|
-
FileUrl,
|
|
18
|
+
CachePoint,
|
|
20
19
|
ModelRequest,
|
|
21
20
|
ModelResponse,
|
|
22
21
|
SystemPromptPart,
|
|
@@ -24,8 +23,17 @@ from pydantic_ai import (
|
|
|
24
23
|
ThinkingPart,
|
|
25
24
|
ToolCallPart,
|
|
26
25
|
ToolReturnPart,
|
|
26
|
+
UploadedFile,
|
|
27
27
|
UserPromptPart,
|
|
28
28
|
)
|
|
29
|
+
from pydantic_ai.messages import (
|
|
30
|
+
AudioUrl,
|
|
31
|
+
BinaryContent,
|
|
32
|
+
DocumentUrl,
|
|
33
|
+
ImageUrl,
|
|
34
|
+
TextContent,
|
|
35
|
+
VideoUrl,
|
|
36
|
+
)
|
|
29
37
|
|
|
30
38
|
from agentpool.agents.events import (
|
|
31
39
|
CustomEvent,
|
|
@@ -42,7 +50,12 @@ from agentpool.utils.todos import PlanEntry
|
|
|
42
50
|
if TYPE_CHECKING:
|
|
43
51
|
from collections.abc import Iterator, Sequence
|
|
44
52
|
|
|
45
|
-
from ag_ui.core import
|
|
53
|
+
from ag_ui.core import (
|
|
54
|
+
Event,
|
|
55
|
+
InputContent,
|
|
56
|
+
Message,
|
|
57
|
+
Tool as AGUITool,
|
|
58
|
+
)
|
|
46
59
|
from pydantic_ai import ModelMessage, UserContent
|
|
47
60
|
|
|
48
61
|
from agentpool.agents.events import RichAgentStreamEvent
|
|
@@ -246,7 +259,15 @@ def _content_to_plan_entries(content: list[Any]) -> list[PlanEntry]:
|
|
|
246
259
|
|
|
247
260
|
def to_agui_input_content(parts: Sequence[UserContent]) -> list[InputContent]:
|
|
248
261
|
"""Convert pydantic-ai UserContent parts to AG-UI InputContent format."""
|
|
249
|
-
from ag_ui.core import
|
|
262
|
+
from ag_ui.core import (
|
|
263
|
+
AudioInputContent,
|
|
264
|
+
DocumentInputContent,
|
|
265
|
+
ImageInputContent,
|
|
266
|
+
InputContentDataSource,
|
|
267
|
+
InputContentUrlSource,
|
|
268
|
+
TextInputContent,
|
|
269
|
+
VideoInputContent,
|
|
270
|
+
)
|
|
250
271
|
|
|
251
272
|
result: list[InputContent] = []
|
|
252
273
|
for part in parts:
|
|
@@ -254,12 +275,45 @@ def to_agui_input_content(parts: Sequence[UserContent]) -> list[InputContent]:
|
|
|
254
275
|
case str() as text:
|
|
255
276
|
result.append(TextInputContent(text=text))
|
|
256
277
|
|
|
257
|
-
case
|
|
258
|
-
result.append(
|
|
278
|
+
case TextContent(content=text):
|
|
279
|
+
result.append(TextInputContent(text=text))
|
|
280
|
+
|
|
281
|
+
case ImageUrl(url=url):
|
|
282
|
+
mime = part.media_type or "image/png"
|
|
283
|
+
source = InputContentUrlSource(value=str(url), mime_type=mime)
|
|
284
|
+
result.append(ImageInputContent(source=source))
|
|
285
|
+
|
|
286
|
+
case AudioUrl(url=url):
|
|
287
|
+
mime = part.media_type or "audio/mpeg"
|
|
288
|
+
source = InputContentUrlSource(value=str(url), mime_type=mime)
|
|
289
|
+
result.append(AudioInputContent(source=source))
|
|
290
|
+
|
|
291
|
+
case VideoUrl(url=url):
|
|
292
|
+
mime = part.media_type or "video/mp4"
|
|
293
|
+
source = InputContentUrlSource(value=str(url), mime_type=mime)
|
|
294
|
+
result.append(VideoInputContent(source=source))
|
|
295
|
+
|
|
296
|
+
case DocumentUrl(url=url):
|
|
297
|
+
mime = part.media_type or "application/pdf"
|
|
298
|
+
source = InputContentUrlSource(value=str(url), mime_type=mime)
|
|
299
|
+
result.append(DocumentInputContent(source=source))
|
|
259
300
|
|
|
260
301
|
case BinaryContent(data=data, media_type=media_type):
|
|
261
302
|
encoded = base64.b64encode(data).decode()
|
|
262
|
-
|
|
303
|
+
mime = media_type or "application/octet-stream"
|
|
304
|
+
data_source = InputContentDataSource(value=encoded, mime_type=mime)
|
|
305
|
+
if part.is_image:
|
|
306
|
+
result.append(ImageInputContent(source=data_source))
|
|
307
|
+
elif part.is_audio:
|
|
308
|
+
result.append(AudioInputContent(source=data_source))
|
|
309
|
+
elif part.is_video:
|
|
310
|
+
result.append(VideoInputContent(source=data_source))
|
|
311
|
+
else: # aguis BinaryContent is deprecated
|
|
312
|
+
result.append(DocumentInputContent(source=data_source))
|
|
313
|
+
case UploadedFile() | CachePoint():
|
|
314
|
+
pass
|
|
315
|
+
case _ as unreachable:
|
|
316
|
+
assert_never(unreachable)
|
|
263
317
|
return result
|
|
264
318
|
|
|
265
319
|
|
|
@@ -306,9 +360,8 @@ def model_messages_to_agui(messages: Sequence[ModelMessage]) -> Iterator[Message
|
|
|
306
360
|
yield UserMessage(id=str(uuid4()), content=content)
|
|
307
361
|
|
|
308
362
|
case UserPromptPart(content=list() as content):
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
yield UserMessage(id=str(uuid4()), content=text)
|
|
363
|
+
agui_parts = to_agui_input_content(content)
|
|
364
|
+
yield UserMessage(id=str(uuid4()), content=agui_parts)
|
|
312
365
|
|
|
313
366
|
case UserPromptPart(content=content):
|
|
314
367
|
yield UserMessage(id=str(uuid4()), content=str(content))
|
|
@@ -350,8 +403,10 @@ def model_messages_to_agui(messages: Sequence[ModelMessage]) -> Iterator[Message
|
|
|
350
403
|
args_str = args
|
|
351
404
|
case dict():
|
|
352
405
|
args_str = anyenv.dump_json(args)
|
|
353
|
-
case
|
|
354
|
-
args_str =
|
|
406
|
+
case None:
|
|
407
|
+
args_str = ""
|
|
408
|
+
case _ as unreachable:
|
|
409
|
+
assert_never(unreachable) # ty:ignore[type-assertion-failure]
|
|
355
410
|
call = FunctionCall(name=tool_name, arguments=args_str)
|
|
356
411
|
tc = ToolCall(id=tc_id, type="function", function=call)
|
|
357
412
|
tool_calls.append(tc)
|
|
@@ -94,7 +94,7 @@ async def execute_tool_call(
|
|
|
94
94
|
# Execute the tool
|
|
95
95
|
logger.info("Executing tool", tool=tool.name, args=args)
|
|
96
96
|
try:
|
|
97
|
-
result = await tool.
|
|
97
|
+
result = await tool.run(**args)
|
|
98
98
|
result_str = str(result) if not isinstance(result, str) else result
|
|
99
99
|
logger.debug("Tool executed", tool=tool.name, result=result_str[:100])
|
|
100
100
|
return AGUIToolMessage(id=str(uuid4()), tool_call_id=tool_call_id, content=result_str)
|