agentpool 2.9.16__tar.gz → 2.9.17__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.17}/PKG-INFO +1 -1
- {agentpool-2.9.16 → agentpool-2.9.17}/pyproject.toml +25 -1
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/connection.py +5 -2
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/acp_agent/acp_agent.py +13 -37
- agentpool-2.9.17/src/agentpool/agents/acp_agent/stream_adapter.py +78 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/agui_agent/agui_converters.py +67 -12
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/claude_code_agent.py +20 -32
- agentpool-2.9.17/src/agentpool/agents/claude_code_agent/stream_adapter.py +375 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/codex_agent/codex_agent.py +29 -47
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/codex_agent/codex_converters.py +53 -48
- agentpool-2.9.17/src/agentpool/agents/codex_agent/stream_adapter.py +224 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/native_agent/agent.py +2 -2
- agentpool-2.9.17/src/agentpool/agents/native_agent/stream_adapter.py +74 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/delegation/pool.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/chat_filesystem.py +1 -1
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tools/base.py +1 -1
- agentpool-2.9.16/src/agentpool/utils/streams.py → agentpool-2.9.17/src/agentpool/utils/file_ops_tracker.py +1 -110
- agentpool-2.9.17/src/agentpool/utils/streams/__init__.py +5 -0
- agentpool-2.9.17/src/agentpool/utils/streams/helpers.py +112 -0
- agentpool-2.9.17/src/agentpool/utils/streams/streamed_response.py +87 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/serve_api.py +10 -8
- agentpool-2.9.17/src/agentpool_server/openai_api_server/completions/helpers.py +148 -0
- agentpool-2.9.17/src/agentpool_server/openai_api_server/completions/models.py +43 -0
- agentpool-2.9.17/src/agentpool_server/openai_api_server/responses/helpers.py +81 -0
- agentpool-2.9.17/src/agentpool_server/openai_api_server/responses/models.py +102 -0
- agentpool-2.9.17/src/agentpool_server/openai_api_server/responses/stream_adapter.py +491 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/openai_api_server/server.py +98 -46
- agentpool-2.9.17/src/agentpool_toolsets/mcp_discovery/data/mcp_servers.parquet +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/mcp_discovery/toolset.py +6 -6
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/common.py +1 -1
- agentpool-2.9.17/src/pi_sdk/__init__.py +5 -0
- agentpool-2.9.17/src/pi_sdk/client.py +499 -0
- agentpool-2.9.17/src/pi_sdk/models.py +1166 -0
- agentpool-2.9.17/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_toolsets/mcp_discovery/data/mcp_servers.parquet +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/LICENSE +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/README.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/README.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/__main__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/acp_agent_api.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/acp_requests.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/connection.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/implementations/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/implementations/debug_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/implementations/debug_server/cli.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/implementations/debug_server/debug.html +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/implementations/debug_server/debug_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/implementations/debug_server/mock_agent.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/implementations/debug_server/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/implementations/testing.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/notifications.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/agent/protocol.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/bridge/README.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/bridge/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/bridge/__main__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/bridge/bridge.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/bridge/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/bridge/settings.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/bridge/ws_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/bridge/ws_server_cli.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/client/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/client/connection.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/client/implementations/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/client/implementations/default_client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/client/implementations/headless_client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/client/implementations/noop_client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/client/protocol.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/exceptions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/filesystem.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/registry/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/registry/archive.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/registry/fetch.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/registry/model.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/registry/prepare.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/agent_plan.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/agent_requests.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/agent_responses.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/capabilities.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/client_requests.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/client_responses.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/common.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/config_options.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/content_blocks.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/elicitation.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/field_meta.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/mcp.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/messages.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/notifications.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/protocol_stuff.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/session_state.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/session_updates.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/slash_commands.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/terminal.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/schema/tool_call.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/stdio.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/task/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/task/debug.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/task/dispatcher.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/task/queue.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/task/sender.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/task/state.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/task/supervisor.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/terminal_handle.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/tool_call_reporter.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/tool_call_state.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/transports.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/acp/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/__main__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/acp_agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/acp_agent/acp_converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/acp_agent/client_handler.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/acp_agent/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/acp_agent/session_state.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/agui_agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/agui_agent/agui_agent.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/agui_agent/chunk_transformer.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/agui_agent/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/base_agent.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/FORKING.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/claude_commands.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/elicitation.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/exceptions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/hook_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/mcp_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/slash_commands.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/static_info.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/codex_agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/codex_agent/static_info.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/context.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/events/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/events/builtin_handlers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/events/event_emitter.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/events/events.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/events/infer_info.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/events/processors.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/events/reconstructor.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/events/tts_handlers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/exceptions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/interactions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/modes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/native_agent/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/native_agent/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/native_agent/hook_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/native_agent/tool_wrapping.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/prompt_injection.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/staged_content.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/sys_prompts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/tool_call_accumulator.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/common_types.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/config_resources/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/config_resources/acp_assistant.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/config_resources/agents.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/config_resources/agents_template.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/config_resources/agui_test.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/config_resources/claude_code_agent.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/config_resources/claude_style_subagent.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/config_resources/codex_agent.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/config_resources/external_acp_agents.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/config_resources/opencode_style_subagent.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/config_resources/tts_test_agents.yml +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/delegation/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/delegation/base_team.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/delegation/message_flow_tracker.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/delegation/team.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/delegation/teamrun.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/diagnostics/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/diagnostics/lsp_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/diagnostics/lsp_proxy.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/diagnostics/lsp_proxy_script.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/diagnostics/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/docs/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/docs/gen_examples.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/docs/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/functional/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/functional/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/functional/run.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/functional/structure.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/hooks/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/hooks/agent_hooks.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/hooks/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/hooks/callable.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/hooks/command.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/hooks/prompt.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/jinja_filters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/log.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mcp_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mcp_server/client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mcp_server/constants.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mcp_server/conversions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mcp_server/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mcp_server/manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mcp_server/message_handler.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mcp_server/registries/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mcp_server/registries/official_registry_client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mcp_server/registries/pulsemcp_client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mcp_server/tool_bridge.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/compaction.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/connection_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/context.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/event_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/events.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/message_container.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/message_history.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/message_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/messagenode.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/messages.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/messaging/processing.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/mime_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/models/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/models/acp_agents/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/models/acp_agents/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/models/agents.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/models/agui_agents.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/models/claude_code_agents.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/models/codex_agents.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/models/fields.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/models/file_agents.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/models/file_parsing.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/models/manifest.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/observability/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/observability/observability_registry.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/prompts/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/prompts/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/prompts/builtin_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/prompts/conversion_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/prompts/convert.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/prompts/manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/prompts/parts/prompt_suggestions.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/prompts/parts/zed.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/prompts/prompts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/context.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/core.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/languages.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/outline.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/README.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/arduino-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/c-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/chatito-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/clojure-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/commonlisp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/cpp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/csharp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/d-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/dart-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/elisp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/elixir-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/elm-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/gleam-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/go-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/java-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/javascript-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/lua-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/matlab-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/ocaml-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/ocaml_interface-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/pony-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/properties-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/python-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/r-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/racket-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/ruby-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/rust-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/solidity-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/swift-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-language-pack/udev-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/README.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/c-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/c_sharp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/cpp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/dart-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/elisp-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/elixir-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/elm-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/fortran-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/go-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/haskell-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/hcl-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/java-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/javascript-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/julia-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/kotlin-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/matlab-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/ocaml-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/ocaml_interface-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/php-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/python-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/ql-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/ruby-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/rust-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/scala-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/typescript-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/queries/tree-sitter-languages/zig-tags.scm +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/tags.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/types.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/repomap/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/aggregating.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/codemode/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/codemode/code_executor.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/codemode/default_prompt.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/codemode/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/codemode/progress_executor.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/codemode/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/codemode/remote_mcp_execution.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/codemode/remote_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/filtering.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/mcp_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/plan_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/pool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/resource_info.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/resource_providers/static.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/running/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/running/decorators.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/running/discovery.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/running/executor.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/running/injection.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/running/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/running/run_nodes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/sessions/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/sessions/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/skills/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/skills/manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/skills/registry.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/skills/skill.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/storage/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/storage/manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/storage/serialization.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/talk/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/talk/registry.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/talk/stats.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/talk/talk.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tasks/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tasks/exceptions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tasks/registry.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/testing.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/text_templates/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/text_templates/system_prompt.jinja +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/text_templates/tool_call_default.jinja +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/text_templates/tool_call_markdown.jinja +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/text_templates/tool_call_simple.jinja +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/agent_cli/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/agent_cli/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/bash/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/bash/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/bash/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/delete_path/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/delete_path/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/download_file/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/download_file/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/execute_code/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/execute_code/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/grep/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/grep/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/list_directory/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/list_directory/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/question/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/question/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/read/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/read/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/sandbox_bash/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/sandbox_bash/tool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tool_impls/sandbox_bash/wrapper.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tools/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tools/exceptions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tools/manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/tools/tool_call_info.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/ui/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/ui/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/ui/elicitation.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/ui/mock_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/ui/stdlib_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/baseregistry.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/count_tokens.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/dag.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/diffs.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/file_watcher.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/identifiers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/importing.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/inspection.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/model_capabilities.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/network.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/pydantic_ai_helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/result_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/signatures.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/subprocess_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/tasks.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/thread_helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/time_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/todos.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/token_breakdown.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/utils/worktree.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/vfs_registry.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/__main__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/agent.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/cli_types.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/common.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/config_info.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/history.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/log.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/run.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/serve_acp.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/serve_agui.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/serve_mcp.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/serve_opencode.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/serve_vercel.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/store.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/task.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/ui.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_cli/watch.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/agents.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/commands.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/completers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/connections.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/history.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/markdown_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/mcp.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/pool.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/prompts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/read.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/resources.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/session.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/text_sharing/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/text_sharing/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/text_sharing/github_gist.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/text_sharing/opencode.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/text_sharing/paste_rs.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/text_sharing/pastebin.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/text_sharing/shittycodingagent.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/tools.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_commands/workers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/agentpool_tools.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/builtin_tools.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/commands.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/compaction.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/conditions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/durable.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/event_handlers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/events.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/forward_targets.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/hook_conditions.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/hooks.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/jinja.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/knowledge.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/loaders.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/mcp_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/nodes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/observability.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/output_types.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/pool_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/prompt_hubs.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/prompts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/resolution.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/session.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/skills.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/storage.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/system_prompts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/task.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/teams.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/tools.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/toolsets.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_config/workers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_prompts/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_prompts/braintrust_hub.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_prompts/fabric.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_prompts/langfuse_hub.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_prompts/promptlayer_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_prompts/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/a2a_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/a2a_server/a2a_types.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/a2a_server/agent_worker.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/a2a_server/server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/a2a_server/storage.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/acp_agent.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/commands/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/commands/debug_commands.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/commands/docs_commands/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/commands/docs_commands/fetch_repo.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/commands/docs_commands/get_schema.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/commands/docs_commands/get_source.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/commands/docs_commands/git_diff.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/commands/docs_commands/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/commands/docs_commands/url_to_markdown.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/event_converter.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/input_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/session.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/session_manager.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/syntax_detection.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/acp_server/zed_tools.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/aggregating_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/agui_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/agui_server/base_agent_adapter.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/agui_server/server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/http_server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/mcp_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/mcp_server/server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/mcp_server/zed_wrapper.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/openai_api_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/openai_api_server/completions/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/openai_api_server/responses/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/.rules +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/ENDPOINTS.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/OPENCODE_UI_TOOLS_COMPLETE.md +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/command_validation.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/dependencies.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/input_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/provider_auth.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/agent_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/app_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/config_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/file_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/global_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/lsp_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/message_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/permission_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/pty_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/question_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/session_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/routes/tui_routes.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/server.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/state.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/opencode_server/stream_adapter.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_server/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/acp_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/acp_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/claude_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/claude_provider/converters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/claude_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/codex_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/codex_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/file_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/file_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/formatters.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/memory_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/memory_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/opencode_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/opencode_provider/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/opencode_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/project_store.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/sql_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/sql_provider/cli.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/sql_provider/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/sql_provider/queries.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/sql_provider/sql_provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/sql_provider/utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/zed_provider/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/zed_provider/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/zed_provider/models.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_storage/zed_provider/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/builtin/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/builtin/code.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/builtin/debug.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/builtin/execution_environment.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/builtin/file_edit/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/builtin/file_edit/file_edit.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/builtin/skills.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/builtin/subagent_tools.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/builtin/workers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/composio_toolset.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/config_creation.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/cron.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/entry_points.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/fsspec_toolset/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/fsspec_toolset/diagnostics.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/fsspec_toolset/grep.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/fsspec_toolset/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/fsspec_toolset/image_utils.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/fsspec_toolset/streaming_diff_parser.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/fsspec_toolset/toolset.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/mcp_discovery/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/mcp_run_toolset.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/notifications.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/openapi.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/search_toolset.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/streaming_tools.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool_toolsets/vfs_toolset.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/client.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/helpers.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/__init__.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/agent.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/app.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/base.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/config.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/diagnostics.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/events.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/file.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/inputs.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/mcp.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/message.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/parts.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/provider.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/pty.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/question.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/session.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/models/tool_metadata.py +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/src/opencode_sdk/py.typed +0 -0
- {agentpool-2.9.16 → agentpool-2.9.17}/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.17"
|
|
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/**",
|
|
@@ -170,9 +170,12 @@ class Connection:
|
|
|
170
170
|
except asyncio.CancelledError:
|
|
171
171
|
return
|
|
172
172
|
except anyio.ClosedResourceError:
|
|
173
|
-
|
|
173
|
+
pass
|
|
174
174
|
except anyio.EndOfStream:
|
|
175
|
-
|
|
175
|
+
pass
|
|
176
|
+
# EOF / closed: reject in-flight requests so callers get an error
|
|
177
|
+
# instead of hanging forever (e.g. subprocess crash during initialize).
|
|
178
|
+
self._state.reject_all_outgoing(ConnectionError("Connection closed: remote end sent EOF"))
|
|
176
179
|
|
|
177
180
|
async def _process_message(self, message: dict[str, Any]) -> None:
|
|
178
181
|
method = message.get("method")
|
|
@@ -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,
|
|
@@ -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,26 @@ 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
|
-
except TimeoutError:
|
|
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
|
+
state=self._state,
|
|
472
|
+
update_event=self._client_handler._update_event,
|
|
473
|
+
prompt_task=prompt_task,
|
|
474
|
+
agent_name=self.name,
|
|
475
|
+
tool_metadata=self._tool_bridge.tool_metadata,
|
|
476
|
+
)
|
|
490
477
|
|
|
491
478
|
try:
|
|
492
479
|
async with (
|
|
493
480
|
self._tool_bridge.set_run_context(run_context, prompt=prompts),
|
|
494
|
-
merge_queue_into_iterator(
|
|
481
|
+
merge_queue_into_iterator(streamed_response, self._event_queue) as merged_events, # ty: ignore[invalid-argument-type]
|
|
495
482
|
):
|
|
496
483
|
async for event in merged_events:
|
|
497
484
|
if self._cancelled:
|
|
498
485
|
self.log.info("Stream cancelled by user")
|
|
499
486
|
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
487
|
reconstructor.observe(event) # ty: ignore[invalid-argument-type]
|
|
512
488
|
yield event # ty:ignore[invalid-yield]
|
|
513
489
|
except asyncio.CancelledError:
|
|
@@ -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
|
|
@@ -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)
|
{agentpool-2.9.16 → agentpool-2.9.17}/src/agentpool/agents/claude_code_agent/claude_code_agent.py
RENAMED
|
@@ -686,10 +686,7 @@ class ClaudeCodeAgent[TDeps = None, TResult = str](BaseAgent[TDeps, TResult]):
|
|
|
686
686
|
) -> AsyncIterator[RichAgentStreamEvent[TResult]]:
|
|
687
687
|
from clawd_code_sdk import AssistantMessage, ResultSuccessMessage, UserMessage
|
|
688
688
|
|
|
689
|
-
from agentpool.agents.claude_code_agent.stream_adapter import
|
|
690
|
-
StreamAdapterResult,
|
|
691
|
-
adapt_claude_stream,
|
|
692
|
-
)
|
|
689
|
+
from agentpool.agents.claude_code_agent.stream_adapter import ClaudeCodeStreamedResponse
|
|
693
690
|
|
|
694
691
|
await self.ensure_initialized()
|
|
695
692
|
# Resolve input provider: explicit parameter overrides agent default
|
|
@@ -711,10 +708,9 @@ class ClaudeCodeAgent[TDeps = None, TResult = str](BaseAgent[TDeps, TResult]):
|
|
|
711
708
|
await fork_client.connect()
|
|
712
709
|
client = fork_client
|
|
713
710
|
|
|
714
|
-
adapter_result: StreamAdapterResult | None = None
|
|
715
711
|
reconstructor = MessageReconstructor(initial_prompts=prompts)
|
|
712
|
+
claude_prompts = [*to_prompt_input(prompts)]
|
|
716
713
|
try:
|
|
717
|
-
claude_prompts = [*to_prompt_input(prompts)]
|
|
718
714
|
await client.query(*claude_prompts)
|
|
719
715
|
# Capture SDK session ID from init message
|
|
720
716
|
stream = client.receive_response()
|
|
@@ -726,22 +722,19 @@ class ClaudeCodeAgent[TDeps = None, TResult = str](BaseAgent[TDeps, TResult]):
|
|
|
726
722
|
# Persist SDK session ID to storage for cross-referencing
|
|
727
723
|
if self.storage and self.session_id:
|
|
728
724
|
await self.storage.update_sdk_session_id(self.session_id, self._sdk_session_id)
|
|
729
|
-
|
|
725
|
+
adapter = ClaudeCodeStreamedResponse(
|
|
726
|
+
stream=stream,
|
|
727
|
+
tool_metadata=self._tool_bridge.tool_metadata,
|
|
728
|
+
agent_name=self.name,
|
|
729
|
+
session_id=self.session_id,
|
|
730
|
+
)
|
|
730
731
|
async with (
|
|
731
732
|
self._tool_bridge.set_run_context(run_context, prompt=prompts),
|
|
732
|
-
merge_queue_into_iterator(
|
|
733
|
+
merge_queue_into_iterator(adapter, self._event_queue) as merged_events, # ty: ignore[invalid-argument-type]
|
|
733
734
|
):
|
|
734
|
-
async for event in
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
agent_name=self.name,
|
|
738
|
-
session_id=self.session_id,
|
|
739
|
-
):
|
|
740
|
-
if isinstance(event, StreamAdapterResult):
|
|
741
|
-
adapter_result = event
|
|
742
|
-
else:
|
|
743
|
-
reconstructor.observe(event)
|
|
744
|
-
yield event
|
|
735
|
+
async for event in merged_events:
|
|
736
|
+
reconstructor.observe(event) # ty:ignore[invalid-argument-type]
|
|
737
|
+
yield event # ty:ignore[invalid-yield]
|
|
745
738
|
|
|
746
739
|
except asyncio.CancelledError:
|
|
747
740
|
self.log.info("Stream cancelled via CancelledError")
|
|
@@ -749,9 +742,7 @@ class ClaudeCodeAgent[TDeps = None, TResult = str](BaseAgent[TDeps, TResult]):
|
|
|
749
742
|
if self._sdk_session_id:
|
|
750
743
|
msg_metadata["sdk_session_id"] = self._sdk_session_id
|
|
751
744
|
reconstructor.flush()
|
|
752
|
-
resolved =
|
|
753
|
-
adapter_result.resolved_model if adapter_result else None
|
|
754
|
-
) or self.model_name
|
|
745
|
+
resolved = adapter.model_name or self.model_name # pyright: ignore[reportPossiblyUnboundVariable]
|
|
755
746
|
response_msg = ChatMessage[TResult](
|
|
756
747
|
content=reconstructor.text_content, # type: ignore[arg-type] # ty:ignore[invalid-argument-type]
|
|
757
748
|
role="assistant",
|
|
@@ -778,13 +769,10 @@ class ClaudeCodeAgent[TDeps = None, TResult = str](BaseAgent[TDeps, TResult]):
|
|
|
778
769
|
except Exception as e: # noqa: BLE001
|
|
779
770
|
self.log.warning("Error disconnecting fork client", error=e)
|
|
780
771
|
|
|
781
|
-
if not adapter_result:
|
|
782
|
-
raise RuntimeError("Stream completed without producing adapter result")
|
|
783
|
-
|
|
784
772
|
reconstructor.flush()
|
|
785
773
|
|
|
786
774
|
# Determine final content - use structured output if available
|
|
787
|
-
result_message =
|
|
775
|
+
result_message = adapter._result_message
|
|
788
776
|
content = reconstructor.text_content
|
|
789
777
|
final_content: TResult
|
|
790
778
|
if (
|
|
@@ -792,8 +780,8 @@ class ClaudeCodeAgent[TDeps = None, TResult = str](BaseAgent[TDeps, TResult]):
|
|
|
792
780
|
and isinstance(result_message, ResultSuccessMessage)
|
|
793
781
|
and result_message.structured_output
|
|
794
782
|
):
|
|
795
|
-
|
|
796
|
-
final_content =
|
|
783
|
+
_adapter = TypeAdapter(self._output_type)
|
|
784
|
+
final_content = _adapter.validate_python(result_message.structured_output)
|
|
797
785
|
else:
|
|
798
786
|
final_content = content # type: ignore[assignment] # ty:ignore[invalid-assignment]
|
|
799
787
|
|
|
@@ -824,7 +812,7 @@ class ClaudeCodeAgent[TDeps = None, TResult = str](BaseAgent[TDeps, TResult]):
|
|
|
824
812
|
message_id=message_id or str(uuid.uuid4()),
|
|
825
813
|
session_id=self.session_id,
|
|
826
814
|
parent_id=user_msg.message_id,
|
|
827
|
-
model_name=
|
|
815
|
+
model_name=adapter.model_name or self.model_name,
|
|
828
816
|
messages=reconstructor.model_messages,
|
|
829
817
|
cost_info=cost_info,
|
|
830
818
|
usage=run_usage,
|
|
@@ -923,7 +911,7 @@ class ClaudeCodeAgent[TDeps = None, TResult = str](BaseAgent[TDeps, TResult]):
|
|
|
923
911
|
|
|
924
912
|
async def _set_mode(self, mode_id: str | bool, category_id: str) -> None:
|
|
925
913
|
"""Handle permissions, model, thinking_level, and effort mode switching."""
|
|
926
|
-
from clawd_code_sdk.models import
|
|
914
|
+
from clawd_code_sdk.models import ReasoningEffort
|
|
927
915
|
|
|
928
916
|
from agentpool.agents.claude_code_agent.static_info import VALID_MODES
|
|
929
917
|
|
|
@@ -932,7 +920,7 @@ class ClaudeCodeAgent[TDeps = None, TResult = str](BaseAgent[TDeps, TResult]):
|
|
|
932
920
|
# Map mode_id to PermissionMode
|
|
933
921
|
if mode_id not in VALID_MODES:
|
|
934
922
|
raise UnknownModeError(mode_id, list(VALID_MODES))
|
|
935
|
-
self._permission_mode =
|
|
923
|
+
self._permission_mode = mode_id # ty:ignore[invalid-assignment]
|
|
936
924
|
if self._client: # Update SDK client if initialized
|
|
937
925
|
await self.ensure_initialized()
|
|
938
926
|
await self._client.set_permission_mode(self._permission_mode)
|
|
@@ -953,7 +941,7 @@ class ClaudeCodeAgent[TDeps = None, TResult = str](BaseAgent[TDeps, TResult]):
|
|
|
953
941
|
# Validate thinking mode
|
|
954
942
|
if mode_id not in THINKING_MODE_TOKENS:
|
|
955
943
|
raise UnknownModeError(mode_id, list(THINKING_MODE_TOKENS.keys()))
|
|
956
|
-
self._thinking_mode =
|
|
944
|
+
self._thinking_mode = mode_id # ty:ignore[invalid-assignment]
|
|
957
945
|
# Set thinking tokens via SDK
|
|
958
946
|
if self._client:
|
|
959
947
|
await self.ensure_initialized()
|