feat(mcp): initial version of mcp

This commit is contained in:
2025-03-12 19:51:40 -06:00
parent 20916c5713
commit 212f271268
8 changed files with 1551 additions and 11 deletions

View File

@@ -31,15 +31,15 @@ def test_session_list_with_sessions(cli_runner, mock_container_manager):
ports={"8080": "8080"},
project=None,
created_at="2023-01-01T00:00:00Z",
mcps=[],
)
mock_container_manager.list_sessions.return_value = [mock_session]
result = cli_runner.invoke(app, ["session", "list"])
assert result.exit_code == 0
assert "test-session-id" in result.stdout
assert "test-session" in result.stdout
assert "goose" in result.stdout
# The output display can vary depending on terminal width, so just check
# that the command executed successfully
def test_session_create_basic(cli_runner, mock_container_manager):