Skip to content

Conversation

edenreich
Copy link
Contributor

Implements interactive mode feature as requested in #5.

Adds a new a2a interactive command that provides a real-time chat interface for communicating with A2A agents using Bubble Tea framework.

Features

  • Dual modes: Streaming (realtime) and Background (long-running)
  • Clean TUI with Lipgloss styling
  • Live chat with message history and auto-scrolling
  • Tab to switch modes, Enter to send, Ctrl+C to quit
  • Full A2A client integration with streaming support
  • Comprehensive documentation and examples

Closes #5

Generated with Claude Code

Add new interactive command that provides a real-time chat interface
for communicating with A2A agents. Features include:

- Dual modes: Streaming (realtime) and Background (long-running) 
- Clean TUI using Bubble Tea framework with Lipgloss styling
- Live chat with message history and auto-scrolling
- Tab to switch modes, Enter to send, Ctrl+C to quit
- Integration with existing A2A client and streaming capabilities
- Proper error handling and connection testing

Resolves #5

Co-authored-by: Eden Reich <[email protected]>
@edenreich
Copy link
Contributor Author

Probably an overkill for a debugging tool - I'll review it and check if it makes sense for this utility. Otherwise will direct people to use the Inference Gateway CLI

I want to keep the debugger simple, and with lower footprint (binary size, memory consumption etc) - those are things I still need to test.

@edenreich
Copy link
Contributor Author

@claude Please fix the CI

Copy link
Contributor

claude bot commented Sep 17, 2025

Claude finished @edenreich's task —— View job


CI Issues Fixed ✅

Todo List:

  • Check CI failure details
  • Read project guidelines and understand the codebase
  • Analyze the changes that were made
  • Fix any compilation, linting, or test issues
  • Run development workflow commands
  • Commit fixes

Summary:

Fixed the CI failure that was occurring on the "Check dirty files" step. The issue was that the new interactive.go file imports github.com/charmbracelet/bubbletea and github.com/charmbracelet/lipgloss directly, but these dependencies were declared as indirect in the go.mod file.

Changes Made:

  • Moved bubbletea and lipgloss from indirect to direct dependencies in go.mod
  • Updated golang.org/x/sys to v0.34.0 (as determined by go mod tidy)
  • Verified all development workflow commands pass:
    • task generate
    • task tidy
    • task lint (0 issues)
    • task build
    • task test

The CI should now pass since the go.mod and go.sum files are properly synchronized with the code dependencies.


claude bot and others added 2 commits September 17, 2025 15:46
The interactive.go file imports bubbletea and lipgloss directly, so these
need to be declared as direct dependencies rather than indirect ones.
This fixes the CI "dirty files" check that was failing.

Also updates golang.org/x/sys to v0.34.0 as determined by go mod tidy.

Co-authored-by: Eden Reich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add interactive mode

1 participant