Skip to content

Releases: atgreen/agcm

v0.1.10

16 Jan 13:37

Choose a tag to compare

v0.1.10

Minor release adding CLI support for bundle export.

New Features

  • --bundle flag for CLI export: Export cases to bundled 4MB markdown files from the command line
    agcm export cases --bundle 1                 # Bundle export using preset 1
    agcm export cases --bundle --status open     # Bundle export open cases
    • Same functionality as the B key in TUI (added in v0.1.9)
    • Creates files no larger than 4MB each (compatible with AI tool upload limits)
    • Files named export-bundle-1.md, export-bundle-2.md, etc.

v0.1.9

16 Jan 13:21

Choose a tag to compare

v0.1.9

Feature release adding bundle export for AI tool integration.

New Features

  • Bundle export (B key): Export all cases to bundled markdown files
    • Creates files no larger than 4MB each (compatible with AI tool upload limits)
    • Files named export-bundle-1.md, export-bundle-2.md, etc.
    • Includes case descriptions and comments only (no attachments)
    • Useful for uploading support case context to Claude, ChatGPT, etc.

Usage

  1. Press B in the TUI
  2. Select an output directory
  3. Cases are exported to numbered bundle files, each under 4MB

v0.1.8

16 Jan 12:54

Choose a tag to compare

v0.1.8

Feature release adding preset support to CLI commands.

New Features

  • Preset support in CLI: Use saved filter presets from the command line
    • agcm list cases 1 - List cases using preset 1
    • agcm export cases 1 - Export cases using preset 1
    • Presets are created in the TUI using Ctrl+s followed by a digit (0-9)
    • CLI flags can override preset values: agcm list cases 1 --severity 1,2

Changes

  • Export cases requires filters: agcm export cases without any filters or
    preset now displays usage help instead of exporting all cases
  • Help screen dismissal: Any key now closes the help screen (previously
    only ? worked)

Behavior Notes

  • If a preset slot has no saved filter, the command prints a message and exits
  • CLI flags always override preset values when both are provided
  • agcm list cases without arguments still lists all cases (unchanged)

v0.1.7

16 Jan 11:36

Choose a tag to compare

v0.1.7

Bug fix release addressing export issues, search navigation, and file picker styling.

Bug Fixes

  • Export fixes:

    • Combined exports (--combined) now properly add cases to the manifest
    • Filter metadata is now correctly persisted in the export manifest
    • Attachments are now downloaded in combined export mode
    • Progress counter uses atomic operations for accurate counts
  • Search navigation: Fixed Ctrl-f search scrolling to wrong positions

    • Now tracks actual viewport line offsets instead of synthetic line numbers
    • Correctly handles headers, metadata, and separator lines in position calculations
  • API client cleanup: Added Close() method to properly release resources

    • Debug file descriptor is now closed on application exit

Improvements

  • File picker styling: Redesigned for better readability

    • Dark background with proper contrast
    • Right-aligned file sizes for consistent alignment
    • Full-width highlight on selected row
    • Styled text input for path entry
  • Debug mode: Debug files are now only created when --debug flag is used

    • Removed unconditional debug file creation in TUI components

v0.1.6

16 Jan 10:53

Choose a tag to compare

v0.1.6

Feature release adding filter presets and multiple product selection.

New Features

  • Filter presets: Save up to 10 filter configurations to slots 1-9 and 0

    • Press 1-9 or 0 to load a saved preset
    • Press Ctrl+s then a digit to save current filter to that slot
    • Presets are persisted in config file (~/.config/agcm/config.yaml)
  • Multiple account support: Filter by multiple accounts simultaneously

    • CLI: Use -a flag with comma-separated account numbers
    • TUI: Enter comma-separated accounts in the filter dialog
  • Multiple product selection: Select multiple products with tag-based UI

    • Products appear as removable tags in the filter dialog
    • Type to search, Enter to add, Backspace to remove last tag
    • Product dropdown overlays to the right of the filter dialog
  • Mouse support in filter dialog: Click to interact with filter dialog

    • Click checkboxes to toggle status/severity filters
    • Click text fields to focus them
    • Click buttons (Apply, Clear, Cancel) to activate
    • Click product dropdown items to select

Improvements

  • Loading spinner: Show spinner overlay when filtering/reloading case list
  • Cleaner filter bar: Hide individual filter pills when a preset is active
  • Updated help: Press ? to see new keybindings for presets

v0.1.5

16 Jan 09:29

Choose a tag to compare

v0.1.5

Bugfix release addressing filter and navigation issues.

Bug Fixes

  • Fix severity filter query: Remove erroneous quotes around severity numbers in API queries that prevented filtering from working correctly
  • Fix focus when switching detail tabs: Automatically switch focus to the detail pane when using left/right arrow keys to change tabs

v0.1.4

14 Jan 02:05

Choose a tag to compare

v0.1.4

Minor UX improvement release.

New Features

  • Centered loading spinner on startup: Display a centered loading box with animated spinner while cases are being fetched on initial load

Usage Examples

# Launch the TUI - you'll see a centered loading spinner while cases load
agcm

v0.1.3

13 Jan 18:30

Choose a tag to compare

v0.1.3

Bug fix release addressing several issues found during code review.

Bug Fixes

  • Fixed 401 retry with POST/PUT requests: Token refresh retries now correctly resend the request body instead of an empty body
  • Fixed case list rendering: Strip non-printable Unicode characters from case summaries that were causing display corruption
  • Fixed Hydra query filters: Implemented missing filters (GroupNumber, OwnerSSOName, StartDate, EndDate) and added default exclusion of closed cases
  • Fixed update command auth: agcm update no longer requires authentication
  • Fixed accounts pagination: agcm list accounts now iterates through all cases instead of just the first page
  • Fixed export deadlock: Prevent deadlock when --concurrency 0 is specified

New Features

  • Ctrl+F text search in case detail: Search within case content with Ctrl+N/P to navigate between matches
  • Mouse scroll during search: Scrollbars remain functional while text search is open

Usage Examples

# Search within a case (in TUI, focus detail pane then press Ctrl+F)
# Navigate matches with Ctrl+N (next) and Ctrl+P (previous)

# Export cases with date range
agcm export cases --since 2024-01-01 --until 2024-12-31

# List all accounts (now paginates through all cases)
agcm list accounts

v0.1.2

13 Jan 15:00

Choose a tag to compare

v0.1.2

Bug fix release addressing search API changes and usability improvements.

Bug Fixes

  • Fixed KCS search: Updated search API to use new Red Hat endpoint (POST /support/search/v2/kcs) after the old endpoint was decommissioned
  • Search now includes cases: The agcm search command now searches both cases and KCS (solutions/articles), matching the documented behavior
  • Fixed mouse click alignment: Fixed case list mouse click selection being offset when filter bar is displayed
  • Fixed scrollbar drag: Scrollbar drag now works correctly with lazy-loaded case lists
  • Fixed update command auth: Self-update no longer requires GitHub authentication for public repo

Improvements

  • Export debug logging: Added --debug flag support for export commands to help diagnose issues
  • Status aliases for export: Added open and closed as convenient aliases for status filters:
    • --status open expands to "Waiting on Red Hat,Waiting on Customer"
    • --status closed expands to "Closed"

Usage Examples

# Search across cases, solutions, and articles
agcm search "kernel panic"

# Export open cases with debug output
agcm export cases --account 12345 --status open --debug

v0.1.1

13 Jan 14:01

Choose a tag to compare

v0.1.1

Bug fix release addressing search API changes and usability improvements.

Bug Fixes

  • Fixed KCS search: Updated search API to use new Red Hat endpoint (POST /support/search/v2/kcs) after the old endpoint was decommissioned
  • Search now includes cases: The agcm search command now searches both cases and KCS (solutions/articles), matching the documented behavior

Improvements

  • Export debug logging: Added --debug flag support for export commands to help diagnose issues
  • Status aliases for export: Added open and closed as convenient aliases for status filters:
    • --status open expands to "Waiting on Red Hat,Waiting on Customer"
    • --status closed expands to "Closed"

Usage Examples

# Search across cases, solutions, and articles
agcm search "kernel panic"

# Export open cases with debug output
agcm export cases --account 12345 --status open --debug