feat(agent): isolate terminal task ownership

This commit is contained in:
jxxghp
2026-09-11 03:09:43 +08:00
parent 03ec668fe3
commit 66d288ffc2
36 changed files with 2270 additions and 404 deletions

View File

@@ -18,7 +18,7 @@ from app.agent.terminal.manager import _TerminalSessionManager
from app.agent.tools.impl import execute_command as command_module
from app.agent.tools.impl.execute_command import MAX_OUTPUT_PREVIEW_BYTES, ExecuteCommandTool
pytestmark = pytest.mark.asyncio
pytestmark = [pytest.mark.asyncio, pytest.mark.usefixtures("terminal_scope")]
def _python_command(code: str) -> str: