From 6db40f668939a14b8e81d580e82d5d1c020bed75 Mon Sep 17 00:00:00 2001 From: tduhamel42 Date: Thu, 16 Oct 2025 11:48:57 +0200 Subject: [PATCH] feat: Reactivate AI agent command Restore the AI agent command functionality after maintenance period. Users can now run 'fuzzforge ai agent' to launch the full AI agent CLI with A2A orchestration. --- cli/src/fuzzforge_cli/commands/ai.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/cli/src/fuzzforge_cli/commands/ai.py b/cli/src/fuzzforge_cli/commands/ai.py index 2667845..a5834dd 100644 --- a/cli/src/fuzzforge_cli/commands/ai.py +++ b/cli/src/fuzzforge_cli/commands/ai.py @@ -27,9 +27,14 @@ app = typer.Typer(name="ai", help="Interact with the FuzzForge AI system") @app.command("agent") def ai_agent() -> None: """Launch the full AI agent CLI with A2A orchestration.""" - console.print("[yellow]⚠️ The AI agent command is temporarily deactivated[/yellow]") - console.print("[dim]This feature is undergoing maintenance and will be re-enabled soon.[/dim]") - raise typer.Exit(0) + console.print("[cyan]🤖 Opening Project FuzzForge AI Agent session[/cyan]\n") + try: + from fuzzforge_ai.cli import FuzzForgeCLI + cli = FuzzForgeCLI() + asyncio.run(cli.run()) + except ImportError as exc: + console.print(f"[red]Failed to import AI CLI:[/red] {exc}") + raise typer.Exit(1) from exc # Memory + health commands