summaryrefslogtreecommitdiffhomepage
path: root/internal/tui/state
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-05-30 15:34:22 -0500
committeradamdottv <[email protected]>2025-05-30 15:34:25 -0500
commitc69c9327da4a43a63928807fcf36b24755cfac18 (patch)
treedf79a6c58976af977a28717619d70db4a62f4853 /internal/tui/state
parentf5e2c596d4f887daa4df579975dd5451fadc8457 (diff)
downloadopencode-c69c9327da4a43a63928807fcf36b24755cfac18.tar.gz
opencode-c69c9327da4a43a63928807fcf36b24755cfac18.zip
wip: refactoring tui
Diffstat (limited to 'internal/tui/state')
-rw-r--r--internal/tui/state/state.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/tui/state/state.go b/internal/tui/state/state.go
index 33b1cc7f1..6b117518e 100644
--- a/internal/tui/state/state.go
+++ b/internal/tui/state/state.go
@@ -5,8 +5,15 @@ import (
)
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
}