Skip to content

Agent Terminal — Live Console View & Output Streaming #420

@kovtcharov

Description

@kovtcharov

T6: Agent Terminal — Live Console View & Output Streaming

Priority: p0

Embedded terminal/console view per agent showing real-time stdout/stderr, tool invocations, and activity logs.

New Files

cpp/dotnet/GaiaTray/
├── Forms/
│   ├── AgentTerminalForm.cs
│   └── AgentTerminalForm.Designer.cs
├── Controls/
│   ├── TerminalControl.cs           # Rich text with ANSI color support
│   └── TerminalBuffer.cs            # Circular buffer (max 10K lines)
├── Services/
│   ├── AgentOutputCapture.cs        # Capture subprocess stdout/stderr
│   └── AgentLogTailer.cs            # Tail agent log files

Terminal UI

┌─────────────────────────────────────────────────────────┐
│  Process Intelligence — Terminal                 [─][□][×]│
├─────────────────────────────────────────────────────────┤
│ [Activity] [Stdout] [Stderr] [JSON-RPC]     [🔍 Filter] │
├─────────────────────────────────────────────────────────┤
│ 12:34:01  INFO   Agent started (PID 4892)               │
│ 12:34:02  TOOL   list_processes → 142 processes         │
│ 12:34:08  WARN   High CPU: chrome.exe (89%)             │
│ 12:34:10  TOOL   kill_process(7234) → 🟡 CONFIRM       │
│ 12:34:15  PERM   User approved kill_process(7234)       │
│ 12:34:15  TOOL   kill_process(7234) → success           │
├─────────────────────────────────────────────────────────┤
│ [Clear] [Export Log] [Pause] [Auto-scroll ✓]   Lines: 42│
└─────────────────────────────────────────────────────────┘

Features

  • Tab-based views: Activity (parsed stderr), Raw Stderr, JSON-RPC (parsed stdout), Raw Stdout
  • Channel separation: stdout = JSON-RPC only; stderr = structured logs (see MCP milestone)
  • Live streaming: StreamReader.ReadLineAsync() from Process.StandardOutput/Error
  • ANSI color rendering in RichTextBox
  • Filter/search: Real-time text filter
  • Circular buffer: 10,000 lines max
  • Log export: Save to .log file
  • Pause/resume: Inspect past output without losing new data
  • Multiple terminals: One per agent simultaneously
  • Auto-open on error

Blocked by: #415 (T1)

See full spec

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain:automationScheduler, autonomy, RAG, web search, watchers, researchdotnet.NET/C# implementationguiGUI / desktop applicationos-agentsOS agent MCP serversp0high prioritytrack:consumer-appHermes-competitor consumer product — mobile-first, voice + messaging + memory + skillstraySystem tray application

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions