wip: refactoring tui

This commit is contained in:
adamdottv 2025-05-29 14:04:44 -05:00
parent 26606ccbf7
commit ce5b3126d3
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
6 changed files with 241 additions and 158 deletions

View file

@ -23,7 +23,6 @@ import (
type App struct {
Client *client.ClientWithResponses
Events *client.Client
State map[string]any
Session *client.SessionInfo
Messages []client.MessageInfo
@ -76,7 +75,6 @@ func New(ctx context.Context) (*App, error) {
agentBridge := NewAgentServiceBridge(httpClient)
app := &App{
State: make(map[string]any),
Client: httpClient,
Events: eventClient,
Session: &client.SessionInfo{},