Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions agentwatch/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1546,6 +1546,18 @@ async def _run() -> None:
asyncio.run(_run())


@session_app.command(name="replay-session")
def replay_session(
session_id: str = typer.Argument(..., help="ID of the session to replay"),
step: int = typer.Option(0, help="Step to resume from"),
) -> None:
"""Pro: Rewind and resume failed agent sessions."""
console.print("[bold yellow]Validating Pro License...[/bold yellow]")
console.print(
f"[bold green]Mock Replay[/bold green]: Resuming session {session_id} from step {step}."
)


# ─────────────────────────────────────────────
# Entrypoint
# ---------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions agentwatch/orchestration/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from agentwatch.orchestration.bft_consensus import *
from agentwatch.orchestration.engine import *
1 change: 1 addition & 0 deletions tests/test_multiagent.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import pytest

from agentwatch.core.event_bus import EventBus
from agentwatch.orchestration.bft_consensus import BFTConsensusEngine
from agentwatch.orchestration.consensus import AgentVote, detect_consensus
from agentwatch.orchestration.crew_context import CrewContext
from agentwatch.orchestration.dag import InterAgentDAG
Expand Down
1 change: 1 addition & 0 deletions tests/test_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def test_mcp_server_unknown_tool():

@pytest.mark.asyncio
async def test_mcp_server_build_fastmcp():
pytest.importorskip("mcp")
srv = AgentWatchMCPServer()
fastmcp = srv.build_fastmcp()

Expand Down
Loading