mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
wip: refactoring tui
This commit is contained in:
parent
26606ccbf7
commit
ce5b3126d3
6 changed files with 241 additions and 158 deletions
|
|
@ -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{},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue