diff options
| author | adamdottv <[email protected]> | 2025-05-30 15:34:22 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-30 15:34:25 -0500 |
| commit | c69c9327da4a43a63928807fcf36b24755cfac18 (patch) | |
| tree | df79a6c58976af977a28717619d70db4a62f4853 /internal/tui/state | |
| parent | f5e2c596d4f887daa4df579975dd5451fadc8457 (diff) | |
| download | opencode-c69c9327da4a43a63928807fcf36b24755cfac18.tar.gz opencode-c69c9327da4a43a63928807fcf36b24755cfac18.zip | |
wip: refactoring tui
Diffstat (limited to 'internal/tui/state')
| -rw-r--r-- | internal/tui/state/state.go | 7 |
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 } |
