feat(system): stderr routing migration Phase 3 — 10 branches migrated (FPLAN-0033)
Migrated error()/warning() calls across 10 branches to use CLI display API which routes to stderr. 48 files modified across ai_mail, api, backup, daemon, flow, memory, prax, seedgo, spawn, trigger. Seedgo stderr_routing standard created (24th standard) with full-file scanning. System average 49% → 69%. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
154e92d13e
commit
97952124b5
@@ -185,7 +185,7 @@ def handle_command(command: str, args: list) -> bool:
|
||||
Returns:
|
||||
True if command was handled, False otherwise
|
||||
"""
|
||||
from aipass.cli.apps.modules import console
|
||||
from aipass.cli.apps.modules import console, error
|
||||
|
||||
# Handle module-name routing (drone @trigger core <subcmd>)
|
||||
if command == "core":
|
||||
@@ -203,7 +203,7 @@ def handle_command(command: str, args: list) -> bool:
|
||||
|
||||
if command == "fire":
|
||||
if not args:
|
||||
console.print("[red]Usage: drone @trigger fire <event> [key=value ...][/red]")
|
||||
error("Usage: drone @trigger fire <event> [key=value ...]")
|
||||
return True
|
||||
event_name = args[0]
|
||||
# Parse key=value pairs from remaining args
|
||||
|
||||
Reference in New Issue
Block a user