summaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-29 11:32:55 -0400
committerDax Raad <[email protected]>2025-05-29 11:32:55 -0400
commit6f604bd0f999a5df4ed6a57aef524f0dcf9eb356 (patch)
treeefb732ba56257a8f02edea604424821c9b687cf3 /internal
parent42c1cd6a852be5295aedc5c19e1a2aef45a464e3 (diff)
downloadopencode-6f604bd0f999a5df4ed6a57aef524f0dcf9eb356.tar.gz
opencode-6f604bd0f999a5df4ed6a57aef524f0dcf9eb356.zip
remove secondary codegen
Diffstat (limited to 'internal')
-rw-r--r--internal/tui/tui.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/tui/tui.go b/internal/tui/tui.go
index 0bda5facb..dbb8460ed 100644
--- a/internal/tui/tui.go
+++ b/internal/tui/tui.go
@@ -267,15 +267,15 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
}
// Handle SSE events from the TypeScript backend
- case *client.EventStorageWrite:
- slog.Debug("Received SSE event", "key", msg.Key)
+ case client.EventStorageWrite:
+ slog.Debug("Received SSE event", "key", msg.Properties.Key)
- splits := strings.Split(msg.Key, "/")
+ splits := strings.Split(msg.Properties.Key, "/")
current := a.app.State
for i, part := range splits {
if i == len(splits)-1 {
- current[part] = msg.Content
+ current[part] = msg.Properties.Content
} else {
if _, exists := current[part]; !exists {
current[part] = make(map[string]any)