agentpool 2.1.3__tar.gz → 2.3.6__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.1.3 → agentpool-2.3.6}/PKG-INFO +39 -29
- {agentpool-2.1.3 → agentpool-2.3.6}/README.md +22 -9
- {agentpool-2.1.3 → agentpool-2.3.6}/pyproject.toml +31 -26
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/__init__.py +13 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/acp_requests.py +26 -83
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/agent/connection.py +16 -7
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/agent/implementations/debug_server/cli.py +3 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/agent/implementations/debug_server/debug_server.py +14 -9
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/agent/protocol.py +6 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/bridge/README.md +18 -5
- agentpool-2.3.6/src/acp/bridge/__init__.py +7 -0
- agentpool-2.3.6/src/acp/bridge/__main__.py +132 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/bridge/bridge.py +2 -2
- agentpool-2.3.6/src/acp/bridge/ws_server.py +173 -0
- agentpool-2.3.6/src/acp/bridge/ws_server_cli.py +89 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/client/connection.py +44 -34
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/client/implementations/default_client.py +3 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/client/implementations/headless_client.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/connection.py +36 -20
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/filesystem.py +31 -190
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/notifications.py +20 -50
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/__init__.py +18 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/agent_responses.py +26 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/client_requests.py +17 -0
- agentpool-2.3.6/src/acp/schema/session_state.py +194 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/session_updates.py +18 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/stdio.py +96 -126
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/task/sender.py +8 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/task/supervisor.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/tool_call_state.py +4 -38
- agentpool-2.3.6/src/acp/transports.py +464 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/utils.py +17 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/__init__.py +6 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/__init__.py +2 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/acp_agent/acp_agent.py +430 -174
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/acp_agent/acp_converters.py +74 -35
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/acp_agent/client_handler.py +190 -24
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/acp_agent/session_state.py +4 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/agent.py +644 -118
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/agui_agent/__init__.py +0 -7
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/agui_agent/agui_agent.py +328 -135
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/agui_agent/agui_converters.py +3 -132
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/agui_agent/helpers.py +3 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/architect.py +2 -2
- agentpool-2.3.6/src/agentpool/agents/base_agent.py +359 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/claude_code_agent/__init__.py +13 -1
- agentpool-2.3.6/src/agentpool/agents/claude_code_agent/claude_code_agent.py +1575 -0
- agentpool-2.3.6/src/agentpool/agents/claude_code_agent/converters.py +174 -0
- agentpool-2.3.6/src/agentpool/agents/claude_code_agent/history.py +474 -0
- agentpool-2.3.6/src/agentpool/agents/claude_code_agent/models.py +77 -0
- agentpool-2.3.6/src/agentpool/agents/claude_code_agent/static_info.py +100 -0
- agentpool-2.3.6/src/agentpool/agents/claude_code_agent/usage.py +242 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/context.py +40 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/events/__init__.py +30 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/events/builtin_handlers.py +67 -3
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/events/event_emitter.py +32 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/events/events.py +77 -3
- agentpool-2.3.6/src/agentpool/agents/events/infer_info.py +145 -0
- agentpool-2.3.6/src/agentpool/agents/events/processors.py +254 -0
- agentpool-2.3.6/src/agentpool/agents/events/tts_handlers.py +186 -0
- agentpool-2.3.6/src/agentpool/agents/modes.py +67 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/slashed_agent.py +8 -6
- agentpool-2.3.6/src/agentpool/agents/tool_call_accumulator.py +213 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/tool_wrapping.py +1 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/common_types.py +26 -10
- agentpool-2.3.6/src/agentpool/config_resources/__init__.py +53 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/config_resources/acp_assistant.yml +8 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/config_resources/agents.yml +3 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/config_resources/agents_template.yml +1 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/config_resources/claude_code_agent.yml +10 -6
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/config_resources/external_acp_agents.yml +2 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/config_resources/tts_test_agents.yml +4 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/delegation/base_team.py +7 -6
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/delegation/pool.py +153 -168
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/delegation/team.py +55 -49
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/delegation/teamrun.py +50 -36
- agentpool-2.3.6/src/agentpool/diagnostics/__init__.py +53 -0
- agentpool-2.3.6/src/agentpool/diagnostics/lsp_manager.py +1593 -0
- agentpool-2.3.6/src/agentpool/diagnostics/lsp_proxy.py +41 -0
- agentpool-2.3.6/src/agentpool/diagnostics/lsp_proxy_script.py +229 -0
- agentpool-2.3.6/src/agentpool/diagnostics/models.py +398 -0
- agentpool-2.3.6/src/agentpool/docs/__init__.py +5 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/docs/utils.py +130 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/log.py +6 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mcp_server/__init__.py +0 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mcp_server/client.py +68 -9
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mcp_server/conversions.py +54 -13
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mcp_server/manager.py +34 -53
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mcp_server/registries/official_registry_client.py +37 -3
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mcp_server/tool_bridge.py +242 -143
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/messaging/__init__.py +0 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/messaging/compaction.py +79 -207
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/messaging/connection_manager.py +4 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/messaging/event_manager.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/messaging/message_container.py +6 -30
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/messaging/message_history.py +22 -6
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/messaging/messagenode.py +49 -11
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/messaging/messages.py +54 -35
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/messaging/processing.py +11 -21
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/models/__init__.py +1 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/models/acp_agents/base.py +6 -24
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/models/acp_agents/mcp_capable.py +53 -162
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/models/acp_agents/non_mcp.py +129 -95
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/models/agents.py +99 -77
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/models/agui_agents.py +1 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/models/claude_code_agents.py +101 -18
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/models/file_parsing.py +0 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/models/manifest.py +113 -50
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/observability/observability_registry.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/prompts/conversion_manager.py +1 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/prompts/parts/zed.md +1 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/prompts/prompts.py +8 -6
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/repomap.py +211 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/__init__.py +11 -1
- agentpool-2.3.6/src/agentpool/resource_providers/aggregating.py +105 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/base.py +60 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/codemode/code_executor.py +7 -5
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/codemode/helpers.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/codemode/progress_executor.py +5 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/codemode/provider.py +5 -3
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/codemode/remote_mcp_execution.py +4 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/codemode/remote_provider.py +6 -5
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/filtering.py +3 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/mcp_provider.py +92 -13
- agentpool-2.3.6/src/agentpool/resource_providers/plan_provider.py +359 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/pool.py +7 -3
- agentpool-2.3.6/src/agentpool/resource_providers/resource_info.py +111 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/static.py +4 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/running/executor.py +3 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/sessions/__init__.py +2 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/sessions/manager.py +32 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/sessions/models.py +50 -7
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/sessions/session.py +11 -46
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/skills/registry.py +15 -10
- agentpool-2.3.6/src/agentpool/storage/manager.py +921 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/talk/talk.py +3 -4
- agentpool-2.3.6/src/agentpool/testing.py +647 -0
- agentpool-2.3.6/src/agentpool/tool_impls/__init__.py +6 -0
- agentpool-2.3.6/src/agentpool/tool_impls/agent_cli/__init__.py +42 -0
- agentpool-2.3.6/src/agentpool/tool_impls/agent_cli/tool.py +95 -0
- agentpool-2.3.6/src/agentpool/tool_impls/ask_user/__init__.py +42 -0
- agentpool-2.3.6/src/agentpool/tool_impls/ask_user/tool.py +60 -0
- agentpool-2.3.6/src/agentpool/tool_impls/bash/__init__.py +64 -0
- agentpool-2.3.6/src/agentpool/tool_impls/bash/helpers.py +35 -0
- agentpool-2.3.6/src/agentpool/tool_impls/bash/tool.py +135 -0
- agentpool-2.3.6/src/agentpool/tool_impls/delete_path/__init__.py +70 -0
- agentpool-2.3.6/src/agentpool/tool_impls/delete_path/tool.py +142 -0
- agentpool-2.3.6/src/agentpool/tool_impls/download_file/__init__.py +80 -0
- agentpool-2.3.6/src/agentpool/tool_impls/download_file/tool.py +183 -0
- agentpool-2.3.6/src/agentpool/tool_impls/execute_code/__init__.py +55 -0
- agentpool-2.3.6/src/agentpool/tool_impls/execute_code/tool.py +118 -0
- agentpool-2.3.6/src/agentpool/tool_impls/grep/__init__.py +80 -0
- agentpool-2.3.6/src/agentpool/tool_impls/grep/tool.py +189 -0
- agentpool-2.3.6/src/agentpool/tool_impls/list_directory/__init__.py +73 -0
- agentpool-2.3.6/src/agentpool/tool_impls/list_directory/tool.py +178 -0
- agentpool-2.3.6/src/agentpool/tool_impls/read/__init__.py +104 -0
- agentpool-2.3.6/src/agentpool/tool_impls/read/tool.py +261 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/tools/__init__.py +2 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/tools/base.py +80 -33
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/tools/manager.py +57 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/ui/base.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/ui/mock_provider.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/ui/stdlib_provider.py +2 -2
- agentpool-2.3.6/src/agentpool/utils/file_watcher.py +269 -0
- agentpool-2.3.6/src/agentpool/utils/identifiers.py +121 -0
- agentpool-2.3.6/src/agentpool/utils/pydantic_ai_helpers.py +46 -0
- agentpool-2.3.6/src/agentpool/utils/streams.py +726 -0
- agentpool-2.3.6/src/agentpool/utils/subprocess_utils.py +155 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/tasks.py +7 -3
- agentpool-2.3.6/src/agentpool/utils/token_breakdown.py +461 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/vfs_registry.py +7 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/__main__.py +22 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/common.py +5 -17
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/create.py +1 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/history.py +9 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/serve_acp.py +41 -20
- agentpool-2.3.6/src/agentpool_cli/serve_agui.py +87 -0
- agentpool-2.3.6/src/agentpool_cli/serve_opencode.py +119 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/serve_vercel.py +1 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/__init__.py +30 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/agents.py +75 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/completers.py +2 -2
- agentpool-2.3.6/src/agentpool_commands/history.py +62 -0
- agentpool-2.3.6/src/agentpool_commands/mcp.py +176 -0
- agentpool-2.3.6/src/agentpool_commands/models.py +115 -0
- agentpool-2.3.6/src/agentpool_commands/text_sharing/__init__.py +119 -0
- agentpool-2.3.6/src/agentpool_commands/text_sharing/base.py +123 -0
- agentpool-2.3.6/src/agentpool_commands/text_sharing/github_gist.py +80 -0
- agentpool-2.3.6/src/agentpool_commands/text_sharing/opencode.py +462 -0
- agentpool-2.3.6/src/agentpool_commands/text_sharing/paste_rs.py +59 -0
- agentpool-2.3.6/src/agentpool_commands/text_sharing/pastebin.py +116 -0
- agentpool-2.3.6/src/agentpool_commands/text_sharing/shittycodingagent.py +112 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/tools.py +57 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/utils.py +80 -30
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/__init__.py +30 -2
- agentpool-2.3.6/src/agentpool_config/agentpool_tools.py +498 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/builtin_tools.py +79 -25
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/commands.py +24 -1
- agentpool-2.3.6/src/agentpool_config/compaction.py +258 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/converters.py +1 -1
- agentpool-2.3.6/src/agentpool_config/event_handlers.py +642 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/events.py +1 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/forward_targets.py +1 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/jinja.py +3 -3
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/mcp_server.py +131 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/nodes.py +1 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/observability.py +44 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/session.py +0 -3
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/storage.py +84 -40
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/tools.py +11 -22
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/toolsets.py +139 -226
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_prompts/braintrust_hub.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_prompts/fabric.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_prompts/langfuse_hub.py +2 -3
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_prompts/promptlayer_provider.py +2 -3
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/a2a_server/server.py +3 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/acp_agent.py +251 -189
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/acp_tools.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/commands/acp_commands.py +253 -53
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/commands/debug_commands.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/commands/docs_commands/fetch_repo.py +12 -12
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/commands/docs_commands/get_schema.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/commands/docs_commands/get_source.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/commands/docs_commands/git_diff.py +2 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/commands/docs_commands/url_to_markdown.py +2 -2
- agentpool-2.3.6/src/agentpool_server/acp_server/event_converter.py +647 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/input_provider.py +53 -10
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/server.py +23 -79
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/session.py +239 -346
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/session_manager.py +19 -33
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/agui_server/server.py +3 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/mcp_server/server.py +3 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/openai_api_server/server.py +3 -4
- agentpool-2.3.6/src/agentpool_server/opencode_server/.rules +95 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/ENDPOINTS.md +363 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/__init__.py +27 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/command_validation.py +172 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/converters.py +980 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/dependencies.py +24 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/input_provider.py +268 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/__init__.py +240 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/agent.py +53 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/app.py +72 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/base.py +26 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/common.py +23 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/config.py +37 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/events.py +728 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/file.py +88 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/mcp.py +44 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/message.py +179 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/parts.py +328 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/provider.py +81 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/pty.py +43 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/models/session.py +111 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/__init__.py +27 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/agent_routes.py +473 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/app_routes.py +202 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/config_routes.py +262 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/file_routes.py +571 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/global_routes.py +94 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/lsp_routes.py +319 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/message_routes.py +756 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/permission_routes.py +63 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/pty_routes.py +298 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/session_routes.py +1264 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/routes/tui_routes.py +139 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/server.py +470 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/state.py +130 -0
- agentpool-2.3.6/src/agentpool_server/opencode_server/time_utils.py +8 -0
- agentpool-2.3.6/src/agentpool_storage/__init__.py +25 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/base.py +184 -2
- agentpool-2.3.6/src/agentpool_storage/claude_provider/ARCHITECTURE.md +433 -0
- agentpool-2.3.6/src/agentpool_storage/claude_provider/__init__.py +42 -0
- agentpool-2.3.6/src/agentpool_storage/claude_provider/provider.py +1089 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/file_provider.py +278 -15
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/memory_provider.py +193 -12
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/models.py +3 -0
- agentpool-2.3.6/src/agentpool_storage/opencode_provider/ARCHITECTURE.md +386 -0
- agentpool-2.3.6/src/agentpool_storage/opencode_provider/__init__.py +16 -0
- agentpool-2.3.6/src/agentpool_storage/opencode_provider/helpers.py +414 -0
- agentpool-2.3.6/src/agentpool_storage/opencode_provider/provider.py +882 -0
- agentpool-2.3.6/src/agentpool_storage/project_store.py +325 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/session_store.py +6 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/sql_provider/__init__.py +4 -2
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/sql_provider/models.py +48 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/sql_provider/sql_provider.py +269 -3
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/sql_provider/utils.py +12 -13
- agentpool-2.3.6/src/agentpool_storage/zed_provider/__init__.py +16 -0
- agentpool-2.3.6/src/agentpool_storage/zed_provider/helpers.py +281 -0
- agentpool-2.3.6/src/agentpool_storage/zed_provider/models.py +130 -0
- agentpool-2.3.6/src/agentpool_storage/zed_provider/provider.py +442 -0
- agentpool-2.3.6/src/agentpool_storage/zed_provider.py +803 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/__init__.py +0 -2
- agentpool-2.3.6/src/agentpool_toolsets/builtin/__init__.py +23 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/builtin/code.py +99 -63
- agentpool-2.3.6/src/agentpool_toolsets/builtin/debug.py +286 -0
- agentpool-2.3.6/src/agentpool_toolsets/builtin/execution_environment.py +228 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/builtin/file_edit/file_edit.py +115 -7
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/builtin/skills.py +9 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/builtin/subagent_tools.py +64 -51
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/builtin/workers.py +3 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/composio_toolset.py +4 -4
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/entry_points.py +3 -1
- agentpool-2.3.6/src/agentpool_toolsets/fsspec_toolset/__init__.py +19 -0
- agentpool-2.3.6/src/agentpool_toolsets/fsspec_toolset/diagnostics.py +902 -0
- agentpool-2.3.6/src/agentpool_toolsets/fsspec_toolset/grep.py +522 -0
- agentpool-2.3.6/src/agentpool_toolsets/fsspec_toolset/helpers.py +632 -0
- agentpool-2.3.6/src/agentpool_toolsets/fsspec_toolset/image_utils.py +161 -0
- agentpool-2.3.6/src/agentpool_toolsets/fsspec_toolset/streaming_diff_parser.py +249 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/fsspec_toolset/toolset.py +671 -188
- agentpool-2.3.6/src/agentpool_toolsets/mcp_discovery/__init__.py +5 -0
- agentpool-2.3.6/src/agentpool_toolsets/mcp_discovery/data/mcp_servers.parquet +0 -0
- agentpool-2.3.6/src/agentpool_toolsets/mcp_discovery/toolset.py +511 -0
- agentpool-2.3.6/src/agentpool_toolsets/mcp_run_toolset.py +136 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/notifications.py +33 -33
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/openapi.py +3 -1
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/search_toolset.py +3 -1
- agentpool-2.3.6/src/agentpool_toolsets/streaming_tools.py +265 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/vfs_toolset.py +5 -9
- agentpool-2.1.3/src/acp/bridge/__init__.py +0 -6
- agentpool-2.1.3/src/acp/bridge/__main__.py +0 -90
- agentpool-2.1.3/src/acp/schema/session_state.py +0 -81
- agentpool-2.1.3/src/acp/transports.py +0 -112
- agentpool-2.1.3/src/agentpool/agents/base_agent.py +0 -148
- agentpool-2.1.3/src/agentpool/agents/claude_code_agent/claude_code_agent.py +0 -1001
- agentpool-2.1.3/src/agentpool/agents/claude_code_agent/converters.py +0 -290
- agentpool-2.1.3/src/agentpool/config_resources/__init__.py +0 -16
- agentpool-2.1.3/src/agentpool/docs/__init__.py +0 -1
- agentpool-2.1.3/src/agentpool/resource_providers/aggregating.py +0 -54
- agentpool-2.1.3/src/agentpool/resource_providers/plan_provider.py +0 -196
- agentpool-2.1.3/src/agentpool/storage/manager.py +0 -419
- agentpool-2.1.3/src/agentpool/testing.py +0 -129
- agentpool-2.1.3/src/agentpool/utils/streams.py +0 -97
- agentpool-2.1.3/src/agentpool_commands/models.py +0 -62
- agentpool-2.1.3/src/agentpool_config/event_handlers.py +0 -683
- agentpool-2.1.3/src/agentpool_config/resources.py +0 -33
- agentpool-2.1.3/src/agentpool_storage/__init__.py +0 -9
- agentpool-2.1.3/src/agentpool_storage/text_log_provider.py +0 -275
- agentpool-2.1.3/src/agentpool_toolsets/builtin/__init__.py +0 -31
- agentpool-2.1.3/src/agentpool_toolsets/builtin/agent_management.py +0 -239
- agentpool-2.1.3/src/agentpool_toolsets/builtin/chain.py +0 -287
- agentpool-2.1.3/src/agentpool_toolsets/builtin/execution_environment.py +0 -392
- agentpool-2.1.3/src/agentpool_toolsets/builtin/history.py +0 -36
- agentpool-2.1.3/src/agentpool_toolsets/builtin/integration.py +0 -85
- agentpool-2.1.3/src/agentpool_toolsets/builtin/tool_management.py +0 -90
- agentpool-2.1.3/src/agentpool_toolsets/builtin/user_interaction.py +0 -52
- agentpool-2.1.3/src/agentpool_toolsets/fsspec_toolset/__init__.py +0 -7
- agentpool-2.1.3/src/agentpool_toolsets/fsspec_toolset/diagnostics.py +0 -115
- agentpool-2.1.3/src/agentpool_toolsets/fsspec_toolset/grep.py +0 -337
- agentpool-2.1.3/src/agentpool_toolsets/fsspec_toolset/helpers.py +0 -239
- agentpool-2.1.3/src/agentpool_toolsets/mcp_run_toolset.py +0 -61
- agentpool-2.1.3/src/agentpool_toolsets/semantic_memory_toolset.py +0 -536
- {agentpool-2.1.3 → agentpool-2.3.6}/LICENSE +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/README.md +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/__main__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/agent/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/agent/implementations/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/agent/implementations/debug_server/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/agent/implementations/debug_server/debug.html +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/agent/implementations/testing.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/bridge/py.typed +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/bridge/settings.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/client/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/client/implementations/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/client/implementations/noop_client.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/client/protocol.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/exceptions.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/py.typed +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/agent_plan.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/agent_requests.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/base.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/capabilities.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/client_responses.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/common.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/content_blocks.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/mcp.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/messages.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/notifications.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/protocol_stuff.md +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/slash_commands.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/terminal.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/schema/tool_call.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/task/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/task/debug.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/task/dispatcher.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/task/queue.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/task/state.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/terminal_handle.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/acp/tool_call_reporter.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/__main__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/acp_agent/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/agui_agent/chunk_transformer.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/agui_agent/event_types.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/interactions.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/agents/sys_prompts.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/base_provider.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/config_resources/agui_test.yml +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/config_resources/claude_style_subagent.md +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/config_resources/opencode_style_subagent.md +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/delegation/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/delegation/message_flow_tracker.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/docs/gen_examples.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/functional/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/functional/py.typed +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/functional/run.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/functional/structure.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/hooks/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/hooks/agent_hooks.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/hooks/base.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/hooks/callable.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/hooks/command.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/hooks/prompt.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/jinja_filters.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mcp_server/constants.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mcp_server/helpers.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mcp_server/message_handler.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mcp_server/registries/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mcp_server/registries/pulsemcp_client.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/messaging/context.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/messaging/events.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/mime_utils.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/models/acp_agents/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/models/file_agents.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/observability/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/prompts/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/prompts/base.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/prompts/builtin_provider.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/prompts/convert.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/prompts/manager.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/py.typed +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/README.md +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/arduino-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/c-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/chatito-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/clojure-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/commonlisp-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/cpp-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/csharp-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/d-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/dart-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/elisp-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/elixir-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/elm-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/gleam-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/go-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/java-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/javascript-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/lua-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/matlab-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/ocaml-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/ocaml_interface-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/pony-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/properties-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/python-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/r-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/racket-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/ruby-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/rust-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/solidity-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/swift-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-language-pack/udev-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/README.md +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/c-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/c_sharp-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/cpp-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/dart-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/elisp-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/elixir-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/elm-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/fortran-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/go-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/haskell-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/hcl-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/java-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/javascript-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/julia-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/kotlin-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/matlab-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/ocaml-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/ocaml_interface-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/php-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/python-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/ql-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/ruby-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/rust-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/scala-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/typescript-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/queries/tree-sitter-languages/zig-tags.scm +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/codemode/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/resource_providers/codemode/default_prompt.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/running/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/running/decorators.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/running/discovery.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/running/injection.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/running/py.typed +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/running/run_nodes.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/server.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/sessions/store.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/skills/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/skills/manager.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/skills/skill.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/storage/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/storage/serialization.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/talk/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/talk/registry.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/talk/stats.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/tasks/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/tasks/exceptions.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/tasks/registry.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/text_templates/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/text_templates/system_prompt.jinja +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/text_templates/tool_call_default.jinja +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/text_templates/tool_call_markdown.jinja +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/text_templates/tool_call_simple.jinja +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/tools/exceptions.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/tools/tool_call_info.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/ui/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/baseregistry.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/count_tokens.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/dag.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/importing.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/inspection.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/model_capabilities.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/network.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/now.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/parse_time.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/result_utils.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool/utils/signatures.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/agent.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/cli_types.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/log.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/py.typed +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/run.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/serve_api.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/serve_mcp.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/store.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/task.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/utils.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_cli/watch.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/base.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/commands.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/connections.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/markdown_utils.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/prompts.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/py.typed +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/read.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/resources.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/session.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_commands/workers.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/conditions.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/durable.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/hook_conditions.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/hooks.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/knowledge.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/loaders.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/output_types.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/pool_server.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/prompt_hubs.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/prompts.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/py.typed +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/skills.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/system_prompts.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/task.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/teams.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_config/workers.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_prompts/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_prompts/py.typed +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/a2a_server/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/a2a_server/a2a_types.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/a2a_server/storage.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/commands/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/commands/docs_commands/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/commands/docs_commands/helpers.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/commands/spawn.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/converters.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/syntax_detection.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/acp_server/zed_tools.md +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/aggregating_server.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/agui_server/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/base.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/http_server.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/mcp_server/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/mcp_server/zed_wrapper.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/openai_api_server/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/openai_api_server/completions/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/openai_api_server/completions/helpers.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/openai_api_server/completions/models.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/openai_api_server/responses/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/openai_api_server/responses/helpers.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/openai_api_server/responses/models.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_server/py.typed +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/formatters.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/py.typed +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/sql_provider/cli.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_storage/sql_provider/queries.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/builtin/file_edit/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/builtin/file_edit/fuzzy_matcher/__init__.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/builtin/file_edit/fuzzy_matcher/example_usage.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/builtin/file_edit/fuzzy_matcher/streaming_fuzzy_matcher.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/config_creation.py +0 -0
- {agentpool-2.1.3 → agentpool-2.3.6}/src/agentpool_toolsets/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentpool
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.6
|
|
4
4
|
Summary: Pydantic-AI based Multi-Agent Framework with YAML-based Agents, Teams, Workflows & Extended ACP / AGUI integration
|
|
5
5
|
Keywords:
|
|
6
6
|
Author: Philipp Temminghoff
|
|
@@ -24,6 +24,7 @@ Classifier: Topic :: Software Development
|
|
|
24
24
|
Classifier: Topic :: Utilities
|
|
25
25
|
Classifier: Typing :: Typed
|
|
26
26
|
Requires-Dist: anyenv[httpx]>=0.3.0
|
|
27
|
+
Requires-Dist: claude-agent-sdk>=0.1.18
|
|
27
28
|
Requires-Dist: docler>=1.0.3
|
|
28
29
|
Requires-Dist: docstring-parser>=0.17.0
|
|
29
30
|
Requires-Dist: epregistry
|
|
@@ -34,14 +35,16 @@ Requires-Dist: fsspec
|
|
|
34
35
|
Requires-Dist: httpx
|
|
35
36
|
Requires-Dist: jinja2
|
|
36
37
|
Requires-Dist: jinjarope
|
|
37
|
-
Requires-Dist:
|
|
38
|
+
Requires-Dist: keyring>=25.6.0
|
|
39
|
+
Requires-Dist: llmling-models>=1.4.1
|
|
38
40
|
Requires-Dist: logfire
|
|
39
41
|
Requires-Dist: mcp>=1.2.0
|
|
42
|
+
Requires-Dist: pillow>=11.3.0
|
|
40
43
|
Requires-Dist: platformdirs
|
|
41
44
|
Requires-Dist: promptantic>=0.4.5
|
|
42
45
|
Requires-Dist: psygnal>=0.11.1
|
|
43
46
|
Requires-Dist: pydantic>=2.10.0
|
|
44
|
-
Requires-Dist: pydantic-ai-slim>=1.0.0
|
|
47
|
+
Requires-Dist: pydantic-ai-slim[openai,google,anthropic,mistral,retries]>=1.0.0
|
|
45
48
|
Requires-Dist: pydocket==0.16.1
|
|
46
49
|
Requires-Dist: python-dotenv>=1.0.1
|
|
47
50
|
Requires-Dist: rich
|
|
@@ -54,15 +57,16 @@ Requires-Dist: structlog>=25.5.0
|
|
|
54
57
|
Requires-Dist: tokonomics>=0.1.2
|
|
55
58
|
Requires-Dist: toprompt>=0.0.1
|
|
56
59
|
Requires-Dist: typer
|
|
57
|
-
Requires-Dist: upathtools>=0.1.0
|
|
60
|
+
Requires-Dist: upathtools[httpx]>=0.1.0
|
|
61
|
+
Requires-Dist: watchfiles>=1.1.1
|
|
62
|
+
Requires-Dist: websockets>=15.0
|
|
58
63
|
Requires-Dist: yamling>=2.0.2
|
|
59
64
|
Requires-Dist: fasta2a ; extra == 'a2a'
|
|
60
65
|
Requires-Dist: starlette ; extra == 'a2a'
|
|
61
66
|
Requires-Dist: ag-ui-protocol>=0.1.10 ; extra == 'ag-ui'
|
|
62
67
|
Requires-Dist: braintrust ; extra == 'braintrust'
|
|
63
68
|
Requires-Dist: autoevals ; extra == 'braintrust'
|
|
64
|
-
Requires-Dist:
|
|
65
|
-
Requires-Dist: clipman ; extra == 'clipboard'
|
|
69
|
+
Requires-Dist: copykitten ; extra == 'clipboard'
|
|
66
70
|
Requires-Dist: rustworkx>=0.17.1 ; extra == 'coding'
|
|
67
71
|
Requires-Dist: grep-ast ; extra == 'coding'
|
|
68
72
|
Requires-Dist: ast-grep-py>=0.40.0 ; extra == 'coding'
|
|
@@ -78,27 +82,23 @@ Requires-Dist: tree-sitter-go>=0.23.0 ; extra == 'coding'
|
|
|
78
82
|
Requires-Dist: tree-sitter-json>=0.24.0 ; extra == 'coding'
|
|
79
83
|
Requires-Dist: tree-sitter-yaml>=0.6.0 ; extra == 'coding'
|
|
80
84
|
Requires-Dist: composio ; extra == 'composio'
|
|
81
|
-
Requires-Dist: pydantic-ai-slim[openai,google,anthropic,mistral,retries]>=1.0.0 ; extra == 'default'
|
|
82
85
|
Requires-Dist: evented[all] ; extra == 'events'
|
|
83
86
|
Requires-Dist: fsspec[git] ; extra == 'git'
|
|
84
87
|
Requires-Dist: langfuse ; extra == 'langfuse'
|
|
85
88
|
Requires-Dist: markitdown ; python_full_version < '3.14' and extra == 'markitdown'
|
|
89
|
+
Requires-Dist: fastembed>=0.7.4 ; python_full_version < '3.14' and extra == 'mcp-discovery'
|
|
90
|
+
Requires-Dist: lancedb>=0.26.0 ; python_full_version < '3.14' and extra == 'mcp-discovery'
|
|
91
|
+
Requires-Dist: pyarrow>=19.0.0 ; python_full_version < '3.14' and extra == 'mcp-discovery'
|
|
86
92
|
Requires-Dist: mcpx-py>=0.7.0 ; extra == 'mcp-run'
|
|
87
|
-
Requires-Dist: typeagent>=0.3.3 ; extra == 'memory'
|
|
88
93
|
Requires-Dist: apprise>=1.9.5 ; extra == 'notifications'
|
|
89
|
-
Requires-Dist: keyring>=25.6.0 ; extra == 'oauth'
|
|
90
94
|
Requires-Dist: promptlayer ; extra == 'promptlayer'
|
|
91
95
|
Requires-Dist: logfire[fastapi] ; extra == 'server'
|
|
92
96
|
Requires-Dist: fastapi ; extra == 'server'
|
|
93
97
|
Requires-Dist: uvicorn[standard] ; extra == 'server'
|
|
94
98
|
Requires-Dist: textual>=1.0.0 ; extra == 'textual'
|
|
95
99
|
Requires-Dist: tiktoken ; extra == 'tiktoken'
|
|
96
|
-
Requires-Dist: openai>=
|
|
97
|
-
Requires-Dist:
|
|
98
|
-
Requires-Dist: numpy>=1.24.0 ; extra == 'tts'
|
|
99
|
-
Requires-Dist: edge-tts>=7.0.0 ; extra == 'tts-edge'
|
|
100
|
-
Requires-Dist: miniaudio>=1.60 ; extra == 'tts-edge'
|
|
101
|
-
Requires-Dist: sounddevice>=0.5.0 ; extra == 'tts-edge'
|
|
100
|
+
Requires-Dist: anyvoice[tts-edge,openai]>=0.0.2 ; extra == 'tts'
|
|
101
|
+
Requires-Dist: zstandard>=0.23.0 ; extra == 'zed'
|
|
102
102
|
Requires-Python: >=3.13
|
|
103
103
|
Project-URL: Code coverage, https://app.codecov.io/gh/phil65/agentpool
|
|
104
104
|
Project-URL: Discussions, https://github.com/phil65/agentpool/discussions
|
|
@@ -108,25 +108,22 @@ Project-URL: Source, https://github.com/phil65/agentpool
|
|
|
108
108
|
Provides-Extra: a2a
|
|
109
109
|
Provides-Extra: ag-ui
|
|
110
110
|
Provides-Extra: braintrust
|
|
111
|
-
Provides-Extra: claude
|
|
112
111
|
Provides-Extra: clipboard
|
|
113
112
|
Provides-Extra: coding
|
|
114
113
|
Provides-Extra: composio
|
|
115
|
-
Provides-Extra: default
|
|
116
114
|
Provides-Extra: events
|
|
117
115
|
Provides-Extra: git
|
|
118
116
|
Provides-Extra: langfuse
|
|
119
117
|
Provides-Extra: markitdown
|
|
118
|
+
Provides-Extra: mcp-discovery
|
|
120
119
|
Provides-Extra: mcp-run
|
|
121
|
-
Provides-Extra: memory
|
|
122
120
|
Provides-Extra: notifications
|
|
123
|
-
Provides-Extra: oauth
|
|
124
121
|
Provides-Extra: promptlayer
|
|
125
122
|
Provides-Extra: server
|
|
126
123
|
Provides-Extra: textual
|
|
127
124
|
Provides-Extra: tiktoken
|
|
128
125
|
Provides-Extra: tts
|
|
129
|
-
Provides-Extra:
|
|
126
|
+
Provides-Extra: zed
|
|
130
127
|
Description-Content-Type: text/markdown
|
|
131
128
|
|
|
132
129
|
# AgentPool
|
|
@@ -169,16 +166,19 @@ flowchart TB
|
|
|
169
166
|
end
|
|
170
167
|
|
|
171
168
|
interface --> acp_server[ACP Server]
|
|
169
|
+
interface --> opencode_server[OpenCode Server]
|
|
172
170
|
interface --> agui_server[AG-UI Server]
|
|
173
171
|
|
|
174
172
|
acp_server --> clients1[Zed, Toad, ACP Clients]
|
|
175
|
-
|
|
173
|
+
opencode_server --> clients2[OpenCode TUI/Desktop]
|
|
174
|
+
agui_server --> clients3[AG-UI Clients]
|
|
176
175
|
```
|
|
177
176
|
|
|
178
177
|
## Quick Start
|
|
179
178
|
|
|
180
179
|
```bash
|
|
181
|
-
uv tool install agentpool
|
|
180
|
+
uv tool install agentpool
|
|
181
|
+
|
|
182
182
|
```
|
|
183
183
|
|
|
184
184
|
### Minimal Configuration
|
|
@@ -210,7 +210,7 @@ agents:
|
|
|
210
210
|
coordinator:
|
|
211
211
|
type: native
|
|
212
212
|
model: openai:gpt-4o
|
|
213
|
-
|
|
213
|
+
tools:
|
|
214
214
|
- type: subagent # Can delegate to all other agents
|
|
215
215
|
system_prompt: "Coordinate tasks between available agents."
|
|
216
216
|
|
|
@@ -278,7 +278,7 @@ agents:
|
|
|
278
278
|
model:
|
|
279
279
|
type: fallback
|
|
280
280
|
models: [openai:gpt-4o, anthropic:claude-sonnet-4-0]
|
|
281
|
-
|
|
281
|
+
tools:
|
|
282
282
|
- type: subagent
|
|
283
283
|
- type: resource_access
|
|
284
284
|
mcp_servers:
|
|
@@ -293,11 +293,19 @@ agents:
|
|
|
293
293
|
words: [error, warning]
|
|
294
294
|
```
|
|
295
295
|
|
|
296
|
-
###
|
|
296
|
+
### Server Protocols
|
|
297
|
+
|
|
298
|
+
AgentPool can expose your agents through multiple server protocols:
|
|
299
|
+
|
|
300
|
+
| Server | Command | Use Case |
|
|
301
|
+
|--------|---------|----------|
|
|
302
|
+
| **ACP** | `agentpool serve-acp` | IDE integration (Zed, Toad) - bidirectional communication with tool confirmations |
|
|
303
|
+
| **OpenCode** | `agentpool serve-opencode` | OpenCode TUI/Desktop - supports remote filesystems via fsspec |
|
|
304
|
+
| **MCP** | `agentpool serve-mcp` | Expose tools to other agents |
|
|
305
|
+
| AG-UI | `agentpool serve-agui` | AG-UI compatible frontends |
|
|
306
|
+
| OpenAI API | `agentpool serve-api` | Drop-in OpenAI API replacement |
|
|
297
307
|
|
|
298
|
-
- **
|
|
299
|
-
- **ACP**: Serve agents to Zed, Toad, and other ACP clients
|
|
300
|
-
- **AG-UI**: Expose agents through AG-UI protocol
|
|
308
|
+
The **ACP server** is ideal for IDE integration - it provides real-time tool confirmations and session management. The **OpenCode server** enables the OpenCode TUI to control AgentPool agents, including agents operating on remote environments (Docker, SSH, cloud sandboxes).
|
|
301
309
|
|
|
302
310
|
### Additional Capabilities
|
|
303
311
|
|
|
@@ -313,7 +321,9 @@ agents:
|
|
|
313
321
|
|
|
314
322
|
```bash
|
|
315
323
|
agentpool run agent_name "prompt" # Single run
|
|
316
|
-
agentpool serve-acp config.yml #
|
|
324
|
+
agentpool serve-acp config.yml # ACP server for IDEs
|
|
325
|
+
agentpool serve-opencode config.yml # OpenCode TUI server
|
|
326
|
+
agentpool serve-mcp config.yml # MCP server
|
|
317
327
|
agentpool watch --config agents.yml # React to triggers
|
|
318
328
|
agentpool history stats --group-by model # View analytics
|
|
319
329
|
```
|
|
@@ -38,16 +38,19 @@ flowchart TB
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
interface --> acp_server[ACP Server]
|
|
41
|
+
interface --> opencode_server[OpenCode Server]
|
|
41
42
|
interface --> agui_server[AG-UI Server]
|
|
42
43
|
|
|
43
44
|
acp_server --> clients1[Zed, Toad, ACP Clients]
|
|
44
|
-
|
|
45
|
+
opencode_server --> clients2[OpenCode TUI/Desktop]
|
|
46
|
+
agui_server --> clients3[AG-UI Clients]
|
|
45
47
|
```
|
|
46
48
|
|
|
47
49
|
## Quick Start
|
|
48
50
|
|
|
49
51
|
```bash
|
|
50
|
-
uv tool install agentpool
|
|
52
|
+
uv tool install agentpool
|
|
53
|
+
|
|
51
54
|
```
|
|
52
55
|
|
|
53
56
|
### Minimal Configuration
|
|
@@ -79,7 +82,7 @@ agents:
|
|
|
79
82
|
coordinator:
|
|
80
83
|
type: native
|
|
81
84
|
model: openai:gpt-4o
|
|
82
|
-
|
|
85
|
+
tools:
|
|
83
86
|
- type: subagent # Can delegate to all other agents
|
|
84
87
|
system_prompt: "Coordinate tasks between available agents."
|
|
85
88
|
|
|
@@ -147,7 +150,7 @@ agents:
|
|
|
147
150
|
model:
|
|
148
151
|
type: fallback
|
|
149
152
|
models: [openai:gpt-4o, anthropic:claude-sonnet-4-0]
|
|
150
|
-
|
|
153
|
+
tools:
|
|
151
154
|
- type: subagent
|
|
152
155
|
- type: resource_access
|
|
153
156
|
mcp_servers:
|
|
@@ -162,11 +165,19 @@ agents:
|
|
|
162
165
|
words: [error, warning]
|
|
163
166
|
```
|
|
164
167
|
|
|
165
|
-
###
|
|
168
|
+
### Server Protocols
|
|
169
|
+
|
|
170
|
+
AgentPool can expose your agents through multiple server protocols:
|
|
171
|
+
|
|
172
|
+
| Server | Command | Use Case |
|
|
173
|
+
|--------|---------|----------|
|
|
174
|
+
| **ACP** | `agentpool serve-acp` | IDE integration (Zed, Toad) - bidirectional communication with tool confirmations |
|
|
175
|
+
| **OpenCode** | `agentpool serve-opencode` | OpenCode TUI/Desktop - supports remote filesystems via fsspec |
|
|
176
|
+
| **MCP** | `agentpool serve-mcp` | Expose tools to other agents |
|
|
177
|
+
| AG-UI | `agentpool serve-agui` | AG-UI compatible frontends |
|
|
178
|
+
| OpenAI API | `agentpool serve-api` | Drop-in OpenAI API replacement |
|
|
166
179
|
|
|
167
|
-
- **
|
|
168
|
-
- **ACP**: Serve agents to Zed, Toad, and other ACP clients
|
|
169
|
-
- **AG-UI**: Expose agents through AG-UI protocol
|
|
180
|
+
The **ACP server** is ideal for IDE integration - it provides real-time tool confirmations and session management. The **OpenCode server** enables the OpenCode TUI to control AgentPool agents, including agents operating on remote environments (Docker, SSH, cloud sandboxes).
|
|
170
181
|
|
|
171
182
|
### Additional Capabilities
|
|
172
183
|
|
|
@@ -182,7 +193,9 @@ agents:
|
|
|
182
193
|
|
|
183
194
|
```bash
|
|
184
195
|
agentpool run agent_name "prompt" # Single run
|
|
185
|
-
agentpool serve-acp config.yml #
|
|
196
|
+
agentpool serve-acp config.yml # ACP server for IDEs
|
|
197
|
+
agentpool serve-opencode config.yml # OpenCode TUI server
|
|
198
|
+
agentpool serve-mcp config.yml # MCP server
|
|
186
199
|
agentpool watch --config agents.yml # React to triggers
|
|
187
200
|
agentpool history stats --group-by model # View analytics
|
|
188
201
|
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[project]
|
|
4
4
|
name = "agentpool"
|
|
5
|
-
version = "2.
|
|
5
|
+
version = "2.3.6"
|
|
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"
|
|
@@ -32,6 +32,7 @@ classifiers = [
|
|
|
32
32
|
]
|
|
33
33
|
dependencies = [
|
|
34
34
|
"anyenv[httpx]>=0.3.0",
|
|
35
|
+
"claude-agent-sdk>=0.1.18",
|
|
35
36
|
"docler>=1.0.3",
|
|
36
37
|
"docstring-parser>=0.17.0",
|
|
37
38
|
"epregistry",
|
|
@@ -42,14 +43,16 @@ dependencies = [
|
|
|
42
43
|
"httpx",
|
|
43
44
|
"jinja2",
|
|
44
45
|
"jinjarope",
|
|
45
|
-
"
|
|
46
|
+
"keyring>=25.6.0",
|
|
47
|
+
"llmling-models>=1.4.1",
|
|
46
48
|
"logfire",
|
|
47
49
|
"mcp>=1.2.0",
|
|
50
|
+
"pillow>=11.3.0",
|
|
48
51
|
"platformdirs",
|
|
49
52
|
"promptantic>=0.4.5",
|
|
50
53
|
"psygnal>=0.11.1",
|
|
51
54
|
"pydantic>=2.10.0",
|
|
52
|
-
"pydantic-ai-slim>=1.0.0",
|
|
55
|
+
"pydantic-ai-slim[openai,google,anthropic,mistral,retries]>=1.0.0",
|
|
53
56
|
# Only add below (Copier)
|
|
54
57
|
"pydocket==0.16.1",
|
|
55
58
|
"python-dotenv>=1.0.1",
|
|
@@ -64,7 +67,9 @@ dependencies = [
|
|
|
64
67
|
"tokonomics>=0.1.2",
|
|
65
68
|
"toprompt>=0.0.1",
|
|
66
69
|
"typer",
|
|
67
|
-
"upathtools>=0.1.0",
|
|
70
|
+
"upathtools[httpx]>=0.1.0",
|
|
71
|
+
"watchfiles>=1.1.1",
|
|
72
|
+
"websockets>=15.0",
|
|
68
73
|
"yamling>=2.0.2",
|
|
69
74
|
]
|
|
70
75
|
|
|
@@ -93,8 +98,7 @@ acp = "acp.filesystem:ACPPath"
|
|
|
93
98
|
a2a = ["fasta2a", "starlette"] # A2A Server
|
|
94
99
|
ag-ui = ["ag-ui-protocol>=0.1.10"] # Ag-UI Agents
|
|
95
100
|
braintrust = ["braintrust", "autoevals"] # Braintrust Prompt Hub
|
|
96
|
-
|
|
97
|
-
clipboard = ["clipman"] # Clipboard functionality
|
|
101
|
+
clipboard = ["copykitten"] # Clipboard functionality
|
|
98
102
|
coding = [
|
|
99
103
|
"rustworkx>=0.17.1",
|
|
100
104
|
"grep-ast",
|
|
@@ -112,21 +116,19 @@ coding = [
|
|
|
112
116
|
"tree-sitter-yaml>=0.6.0",
|
|
113
117
|
] # Packages to allow coding functionality
|
|
114
118
|
composio = ["composio"] # Composio toolsets
|
|
115
|
-
default = [
|
|
116
|
-
"pydantic-ai-slim[openai,google,anthropic,mistral,retries]>=1.0.0",
|
|
117
|
-
] # Set of commonly used AI providers
|
|
118
119
|
events = ["evented[all]"] # Event triggers for agents
|
|
119
120
|
git = ["fsspec[git]"] # Git support
|
|
120
121
|
langfuse = ["langfuse"] # Langfuse Prompt Hub
|
|
121
122
|
markitdown = [
|
|
122
123
|
"markitdown; python_version < '3.14'"
|
|
123
124
|
] # MarkItDown Media Converter
|
|
125
|
+
mcp-discovery = [
|
|
126
|
+
"fastembed>=0.7.4; python_version < '3.14'",
|
|
127
|
+
"lancedb>=0.26.0; python_version < '3.14'",
|
|
128
|
+
"pyarrow>=19.0.0; python_version < '3.14'",
|
|
129
|
+
] # MCP Discovery Toolset with semantic search
|
|
124
130
|
mcp_run = ["mcpx-py>=0.7.0"] # MCP.run Toolset
|
|
125
|
-
memory = ["typeagent>=0.3.3"] # TypeAgent semantic knowledge DB
|
|
126
131
|
notifications = ["apprise>=1.9.5"] # Notification Toolset
|
|
127
|
-
oauth = [
|
|
128
|
-
"keyring>=25.6.0"
|
|
129
|
-
] # OAuth functionality (will be fixed dep for FastMCP >2.13)
|
|
130
132
|
promptlayer = ["promptlayer"] # PromptLayer Prompt Hub
|
|
131
133
|
server = [
|
|
132
134
|
"logfire[fastapi]",
|
|
@@ -135,22 +137,16 @@ server = [
|
|
|
135
137
|
] # OpenAI Server functionality
|
|
136
138
|
textual = ["textual>=1.0.0"] # Textual CLI app to create configs
|
|
137
139
|
tiktoken = ["tiktoken"] # Exact token counting
|
|
138
|
-
tts = [
|
|
139
|
-
|
|
140
|
-
"sounddevice>=0.5.0",
|
|
141
|
-
"numpy>=1.24.0"
|
|
142
|
-
] # Text-to-Speech with OpenAI
|
|
143
|
-
tts-edge = [
|
|
144
|
-
"edge-tts>=7.0.0",
|
|
145
|
-
"miniaudio>=1.60",
|
|
146
|
-
"sounddevice>=0.5.0",
|
|
147
|
-
] # Text-to-Speech with Edge TTS (free, no API key)
|
|
140
|
+
tts = ["anyvoice[tts-edge,openai]>=0.0.2"] # Text-to-Speech using AnyVoice
|
|
141
|
+
zed = ["zstandard>=0.23.0"] # Zed IDE storage provider
|
|
148
142
|
|
|
149
143
|
[dependency-groups]
|
|
150
144
|
dev = [
|
|
151
145
|
"alembic>=1.16.5",
|
|
152
146
|
"check-jsonschema>=0.35.0",
|
|
153
147
|
"devtools",
|
|
148
|
+
"fastembed>=0.7.4; python_version < '3.14'",
|
|
149
|
+
"lancedb>=0.26.0; python_version < '3.14'",
|
|
154
150
|
"openapi_spec_validator",
|
|
155
151
|
"pyinstaller>=6.17.0",
|
|
156
152
|
"pyreadline3",
|
|
@@ -158,7 +154,9 @@ dev = [
|
|
|
158
154
|
# Only add below (Copier)
|
|
159
155
|
"pytest-asyncio>=0.24.0",
|
|
160
156
|
"pytest-cov",
|
|
157
|
+
# "pytest-pretty>=1.3.0",
|
|
161
158
|
"pytest-rerunfailures>=16.1",
|
|
159
|
+
"pytest-timeout>=2.4.0",
|
|
162
160
|
"pytest-xdist",
|
|
163
161
|
"syrupy>=4.0.0",
|
|
164
162
|
]
|
|
@@ -259,7 +257,7 @@ reportPrivateImportUsage = false
|
|
|
259
257
|
reportUnusedExpression = false
|
|
260
258
|
|
|
261
259
|
[tool.pytest]
|
|
262
|
-
addopts = ["-m", "not slow and not
|
|
260
|
+
addopts = ["-m", "not slow and not acp_snapshot"]
|
|
263
261
|
filterwarnings = [
|
|
264
262
|
"ignore::DeprecationWarning:psygnal.*",
|
|
265
263
|
"ignore::DeprecationWarning:pydantic.*:",
|
|
@@ -270,7 +268,7 @@ log_date_format = "%Y-%m-%d %H:%M:%S"
|
|
|
270
268
|
log_format = "%(asctime)s %(levelname)s %(message)s"
|
|
271
269
|
log_level = "ERROR"
|
|
272
270
|
markers = [
|
|
273
|
-
"
|
|
271
|
+
"acp_snapshot: marks tests as ACP snapshot tests (excluded by default)",
|
|
274
272
|
"asyncio: mark test as async",
|
|
275
273
|
"integration: marks tests as integration tests",
|
|
276
274
|
"slow: marks tests as slow",
|
|
@@ -280,6 +278,7 @@ minversion = "9.0"
|
|
|
280
278
|
python_files = ["test_*.py"]
|
|
281
279
|
pythonpath = ["src"]
|
|
282
280
|
testpaths = ["tests"]
|
|
281
|
+
timeout = "180"
|
|
283
282
|
asyncio_default_fixture_loop_scope = "function"
|
|
284
283
|
asyncio_mode = "auto"
|
|
285
284
|
|
|
@@ -394,6 +393,11 @@ runtime-evaluated-decorators = [
|
|
|
394
393
|
"pydantic.validate_call",
|
|
395
394
|
"fastapi.FastAPI.get",
|
|
396
395
|
"fastapi.FastAPI.post",
|
|
396
|
+
"fastapi.APIRouter.get",
|
|
397
|
+
"fastapi.APIRouter.post",
|
|
398
|
+
"fastapi.APIRouter.put",
|
|
399
|
+
"fastapi.APIRouter.delete",
|
|
400
|
+
"fastapi.APIRouter.patch",
|
|
397
401
|
"fastmcp.FastMCP.tool",
|
|
398
402
|
"typer.Typer.command",
|
|
399
403
|
]
|
|
@@ -411,7 +415,7 @@ max-complexity = 15
|
|
|
411
415
|
[tool.ruff.lint.per-file-ignores]
|
|
412
416
|
"__init__.py" = ["E402", "I001"]
|
|
413
417
|
"scripts/*" = ["INP001"]
|
|
414
|
-
"*tests/*" = ["D100"]
|
|
418
|
+
"*tests/*" = ["D100", "PLR2004"]
|
|
415
419
|
"docs/examples/**/*.py" = [
|
|
416
420
|
"TC001",
|
|
417
421
|
] # Examples don't need TYPE_CHECKING imports
|
|
@@ -460,4 +464,5 @@ source-exclude = [
|
|
|
460
464
|
]
|
|
461
465
|
|
|
462
466
|
# [tool.uv.sources]
|
|
467
|
+
# exxec = { path = "../exxec", editable = true }
|
|
463
468
|
# schemez = { path = "../schemez", editable = true }
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
from acp.client import DefaultACPClient, HeadlessACPClient, NoOpClient, ClientSideConnection
|
|
4
4
|
from acp.agent import AgentSideConnection
|
|
5
5
|
from acp.bridge import ACPBridge, BridgeSettings
|
|
6
|
-
from acp.filesystem import ACPFileSystem, ACPPath
|
|
7
6
|
from acp.agent.protocol import Agent
|
|
8
7
|
from acp.client.protocol import Client
|
|
9
8
|
from acp.terminal_handle import TerminalHandle
|
|
@@ -73,6 +72,13 @@ from acp.schema import (
|
|
|
73
72
|
ToolCall,
|
|
74
73
|
)
|
|
75
74
|
from acp.stdio import stdio_streams, run_agent, connect_to_agent
|
|
75
|
+
from acp.transports import (
|
|
76
|
+
serve,
|
|
77
|
+
StdioTransport,
|
|
78
|
+
WebSocketTransport,
|
|
79
|
+
StreamTransport,
|
|
80
|
+
Transport,
|
|
81
|
+
)
|
|
76
82
|
from acp.exceptions import RequestError
|
|
77
83
|
|
|
78
84
|
__version__ = "0.0.1"
|
|
@@ -166,7 +172,10 @@ __all__ = [ # noqa: RUF022
|
|
|
166
172
|
"FileSystemCapability",
|
|
167
173
|
# stdio helper
|
|
168
174
|
"stdio_streams",
|
|
169
|
-
#
|
|
170
|
-
"
|
|
171
|
-
"
|
|
175
|
+
# transport
|
|
176
|
+
"serve",
|
|
177
|
+
"StdioTransport",
|
|
178
|
+
"WebSocketTransport",
|
|
179
|
+
"StreamTransport",
|
|
180
|
+
"Transport",
|
|
172
181
|
]
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
import asyncio
|
|
6
|
-
from typing import TYPE_CHECKING
|
|
6
|
+
from typing import TYPE_CHECKING, Any
|
|
7
|
+
|
|
8
|
+
import structlog
|
|
7
9
|
|
|
8
10
|
from acp.schema import (
|
|
9
11
|
CreateTerminalRequest,
|
|
@@ -19,7 +21,6 @@ from acp.schema import (
|
|
|
19
21
|
WriteTextFileRequest,
|
|
20
22
|
)
|
|
21
23
|
from acp.terminal_handle import TerminalHandle
|
|
22
|
-
from agentpool.log import get_logger
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
if TYPE_CHECKING:
|
|
@@ -30,20 +31,10 @@ if TYPE_CHECKING:
|
|
|
30
31
|
WaitForTerminalExitResponse,
|
|
31
32
|
)
|
|
32
33
|
|
|
33
|
-
logger = get_logger(__name__)
|
|
34
|
+
logger = structlog.get_logger(__name__)
|
|
34
35
|
|
|
35
36
|
|
|
36
|
-
RULES_FILE_NAMES = [
|
|
37
|
-
".rules",
|
|
38
|
-
"CLAUDE.md",
|
|
39
|
-
"AGENT.md",
|
|
40
|
-
"AGENTS.md",
|
|
41
|
-
"GEMINI.md",
|
|
42
|
-
".cursorrules",
|
|
43
|
-
".windsurfrules",
|
|
44
|
-
".clinerules",
|
|
45
|
-
".github/copilot-instructions.md",
|
|
46
|
-
]
|
|
37
|
+
RULES_FILE_NAMES = ["CLAUDE.md", "AGENTS.md"]
|
|
47
38
|
|
|
48
39
|
|
|
49
40
|
class ACPRequests:
|
|
@@ -54,12 +45,7 @@ class ACPRequests:
|
|
|
54
45
|
"""
|
|
55
46
|
|
|
56
47
|
def __init__(self, client: Client, session_id: str) -> None:
|
|
57
|
-
"""Initialize requests helper.
|
|
58
|
-
|
|
59
|
-
Args:
|
|
60
|
-
client: ACP client
|
|
61
|
-
session_id: Session ID
|
|
62
|
-
"""
|
|
48
|
+
"""Initialize requests helper."""
|
|
63
49
|
self.client = client
|
|
64
50
|
self.id = session_id
|
|
65
51
|
|
|
@@ -80,12 +66,7 @@ class ACPRequests:
|
|
|
80
66
|
Returns:
|
|
81
67
|
File content as string
|
|
82
68
|
"""
|
|
83
|
-
request = ReadTextFileRequest(
|
|
84
|
-
session_id=self.id,
|
|
85
|
-
path=path,
|
|
86
|
-
limit=limit,
|
|
87
|
-
line=line,
|
|
88
|
-
)
|
|
69
|
+
request = ReadTextFileRequest(session_id=self.id, path=path, limit=limit, line=line)
|
|
89
70
|
response = await self.client.read_text_file(request)
|
|
90
71
|
return response.content
|
|
91
72
|
|
|
@@ -104,12 +85,7 @@ class ACPRequests:
|
|
|
104
85
|
return None
|
|
105
86
|
|
|
106
87
|
async def write_text_file(self, path: str, content: str) -> None:
|
|
107
|
-
"""Write text content to a file.
|
|
108
|
-
|
|
109
|
-
Args:
|
|
110
|
-
path: File path to write
|
|
111
|
-
content: Text content to write
|
|
112
|
-
"""
|
|
88
|
+
"""Write text content to a file."""
|
|
113
89
|
request = WriteTextFileRequest(session_id=self.id, path=path, content=content)
|
|
114
90
|
await self.client.write_text_file(request)
|
|
115
91
|
|
|
@@ -125,19 +101,19 @@ class ACPRequests:
|
|
|
125
101
|
"""Create a new terminal session.
|
|
126
102
|
|
|
127
103
|
Args:
|
|
128
|
-
command: Command to run
|
|
129
|
-
|
|
104
|
+
command: Command to run. For shell commands (pipes, redirects, etc.),
|
|
105
|
+
pass the full command string and omit args.
|
|
106
|
+
args: Command arguments, appended to command.
|
|
130
107
|
cwd: Working directory for terminal
|
|
131
108
|
env: Environment variables for terminal
|
|
132
109
|
output_byte_limit: Maximum bytes to capture from output
|
|
133
|
-
|
|
134
|
-
Returns:
|
|
135
|
-
Terminal handle for managing the terminal session
|
|
136
110
|
"""
|
|
137
111
|
request = CreateTerminalRequest(
|
|
138
112
|
session_id=self.id,
|
|
139
113
|
command=command,
|
|
140
|
-
args
|
|
114
|
+
# Only include args if non-empty, following claude-code-acp pattern.
|
|
115
|
+
# When args is None/empty, ACP clients interpret command as a shell command.
|
|
116
|
+
args=args or None,
|
|
141
117
|
cwd=cwd,
|
|
142
118
|
env=[EnvVariable(name=k, value=v) for k, v in (env or {}).items()],
|
|
143
119
|
output_byte_limit=output_byte_limit,
|
|
@@ -146,47 +122,22 @@ class ACPRequests:
|
|
|
146
122
|
return TerminalHandle(terminal_id=response.terminal_id, requests=self)
|
|
147
123
|
|
|
148
124
|
async def terminal_output(self, terminal_id: str) -> TerminalOutputResponse:
|
|
149
|
-
"""Get output from a terminal session.
|
|
150
|
-
|
|
151
|
-
Args:
|
|
152
|
-
terminal_id: Terminal identifier
|
|
153
|
-
|
|
154
|
-
Returns:
|
|
155
|
-
Terminal output response
|
|
156
|
-
"""
|
|
125
|
+
"""Get output from a terminal session."""
|
|
157
126
|
request = TerminalOutputRequest(session_id=self.id, terminal_id=terminal_id)
|
|
158
127
|
return await self.client.terminal_output(request)
|
|
159
128
|
|
|
160
|
-
async def wait_for_terminal_exit(
|
|
161
|
-
|
|
162
|
-
terminal_id: str,
|
|
163
|
-
) -> WaitForTerminalExitResponse:
|
|
164
|
-
"""Wait for a terminal to exit.
|
|
165
|
-
|
|
166
|
-
Args:
|
|
167
|
-
terminal_id: Terminal identifier
|
|
168
|
-
|
|
169
|
-
Returns:
|
|
170
|
-
Terminal exit response with exit_code
|
|
171
|
-
"""
|
|
129
|
+
async def wait_for_terminal_exit(self, terminal_id: str) -> WaitForTerminalExitResponse:
|
|
130
|
+
"""Wait for a terminal to exit."""
|
|
172
131
|
request = WaitForTerminalExitRequest(session_id=self.id, terminal_id=terminal_id)
|
|
173
132
|
return await self.client.wait_for_terminal_exit(request)
|
|
174
133
|
|
|
175
134
|
async def kill_terminal(self, terminal_id: str) -> None:
|
|
176
|
-
"""Kill a terminal session.
|
|
177
|
-
|
|
178
|
-
Args:
|
|
179
|
-
terminal_id: Terminal identifier to kill
|
|
180
|
-
"""
|
|
135
|
+
"""Kill a terminal session."""
|
|
181
136
|
request = KillTerminalCommandRequest(session_id=self.id, terminal_id=terminal_id)
|
|
182
137
|
await self.client.kill_terminal(request)
|
|
183
138
|
|
|
184
139
|
async def release_terminal(self, terminal_id: str) -> None:
|
|
185
|
-
"""Release a terminal session.
|
|
186
|
-
|
|
187
|
-
Args:
|
|
188
|
-
terminal_id: Terminal identifier to release
|
|
189
|
-
"""
|
|
140
|
+
"""Release a terminal session."""
|
|
190
141
|
request = ReleaseTerminalRequest(session_id=self.id, terminal_id=terminal_id)
|
|
191
142
|
await self.client.release_terminal(request)
|
|
192
143
|
|
|
@@ -228,10 +179,8 @@ class ACPRequests:
|
|
|
228
179
|
try:
|
|
229
180
|
if timeout_seconds: # Wait for completion (with optional timeout)
|
|
230
181
|
try:
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
timeout=timeout_seconds,
|
|
234
|
-
)
|
|
182
|
+
coro = self.wait_for_terminal_exit(terminal_id)
|
|
183
|
+
exit_result = await asyncio.wait_for(coro, timeout=timeout_seconds)
|
|
235
184
|
except TimeoutError: # Kill on timeout and get partial output
|
|
236
185
|
await self.kill_terminal(terminal_id)
|
|
237
186
|
output_response = await self.terminal_output(terminal_id)
|
|
@@ -250,6 +199,7 @@ class ACPRequests:
|
|
|
250
199
|
tool_call_id: str,
|
|
251
200
|
*,
|
|
252
201
|
title: str | None = None,
|
|
202
|
+
raw_input: Any | None = None,
|
|
253
203
|
options: list[PermissionOption] | None = None,
|
|
254
204
|
) -> RequestPermissionResponse:
|
|
255
205
|
"""Request permission from user before executing a tool call.
|
|
@@ -257,6 +207,7 @@ class ACPRequests:
|
|
|
257
207
|
Args:
|
|
258
208
|
tool_call_id: Unique identifier for the tool call
|
|
259
209
|
title: Human-readable description of the operation
|
|
210
|
+
raw_input: The raw input parameters for the tool call
|
|
260
211
|
options: Available permission options (defaults to allow/reject once)
|
|
261
212
|
|
|
262
213
|
Returns:
|
|
@@ -264,19 +215,11 @@ class ACPRequests:
|
|
|
264
215
|
"""
|
|
265
216
|
if options is None:
|
|
266
217
|
options = [
|
|
267
|
-
PermissionOption(
|
|
268
|
-
|
|
269
|
-
name="Allow once",
|
|
270
|
-
kind="allow_once",
|
|
271
|
-
),
|
|
272
|
-
PermissionOption(
|
|
273
|
-
option_id="reject-once",
|
|
274
|
-
name="Reject",
|
|
275
|
-
kind="reject_once",
|
|
276
|
-
),
|
|
218
|
+
PermissionOption(option_id="allow-once", name="Allow once", kind="allow_once"),
|
|
219
|
+
PermissionOption(option_id="reject-once", name="Reject", kind="reject_once"),
|
|
277
220
|
]
|
|
278
221
|
|
|
279
|
-
tool_call = ToolCall(tool_call_id=tool_call_id, title=title)
|
|
222
|
+
tool_call = ToolCall(tool_call_id=tool_call_id, title=title, raw_input=raw_input)
|
|
280
223
|
request = RequestPermissionRequest(
|
|
281
224
|
session_id=self.id,
|
|
282
225
|
tool_call=tool_call,
|