wip: refactoring tui

This commit is contained in:
adamdottv
2025-06-04 09:20:42 -05:00
parent 0b565b18c4
commit 01050a430f
60 changed files with 115 additions and 115 deletions

View File

@@ -0,0 +1,21 @@
package state
import (
"github.com/sst/opencode/pkg/client"
)
type SessionSelectedMsg = *client.SessionInfo
type ModelSelectedMsg struct {
Provider client.ProviderInfo
Model client.ProviderModel
}
type SessionClearedMsg struct{}
type CompactSessionMsg struct{}
// TODO: remove
type StateUpdatedMsg struct {
State map[string]any
}
// TODO: store in CONFIG/tui.yaml