gum-tool-output

Consolidate Gum runtime logs and errors into the central Output tab.

597|79|Updated Mar 11, 2015
One-click install
npx skills add https://github.com/vchelaru/Gum --skill gum-tool-output
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gum-tool-output
Source: https://github.com/vchelaru/Gum/tree/main/.claude/skills/gum-tool-output
Command: npx skills add https://github.com/vchelaru/Gum --skill gum-tool-output

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gum's Output system provides a centralized, typed interface to collect and display runtime messages (logs and errors) in Gum's Output tab, enabling consistent UI feedback during development and plugin work.

Core Features & Use Cases

  • IOutputManager interface exposes AddOutput and AddError for appending timestamped lines.
  • MainOutputViewModel stores the output in a single OutputText buffer and is registered for DI as both MainOutputViewModel and IOutputManager.
  • MainOutputPlugin registers the Output tab in the UI, enabling a dedicated space for logs and errors.
  • Useful during UI debugging, plugin development, and tool integration to observe real-time feedback and diagnose issues.

Quick Start

Inject IOutputManager into your UI components and call AddOutput or AddError to log messages to the Output tab.

Frequently Asked Questions about gum-tool-output

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I centralize runtime logs and errors in Gum for UI debugging?

Centralize runtime logs in Gum by using an IOutputManager interface that appends timestamped messages and errors directly to a dedicated Output tab. This provides consistent UI feedback and traceability during plugin development and tool configuration tasks.

What is the best way to capture background thread diagnostics in Gum plugins?

Capture background thread diagnostics in Gum plugins by injecting an IOutputManager that uses a dispatcher-safe wrapper. This ensures messages appended from background threads are safely routed to the central Output tab without causing UI threading issues.

Does the Gum output manager have a character limit for the output text buffer?

The Gum output manager limits the output text buffer to 50,000 characters. This cap prevents excessive memory consumption during intensive UI debugging or plugin development while maintaining real-time diagnostic feedback in the Output tab.

How do I display custom log messages in the Gum Output tab?

Display custom log messages in the Gum Output tab by injecting the IOutputManager into your UI components and calling the AddOutput or AddError methods. These functions append timestamped lines to the MainOutputViewModel's output buffer for immediate display.

Can I use this output logging system for real-time tool configuration feedback?

You can use this output logging system for real-time tool configuration feedback. The MainOutputPlugin registers the Output tab directly in the UI, providing a dedicated space to observe live runtime messages and diagnose issues as they occur.