T-8: the console reads an answer sent as a reference for the person asking (5bcf68d, taken)

Builds: design 47 G §69 (the console reads whole), §62, §407

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
2026-11-11 14:41:05 +01:00
parent 78e5de538b
commit 60c432838b
3 changed files with 92 additions and 1 deletions
+5 -1
View File
@@ -1170,7 +1170,11 @@ func (s *Surface) discover(ctx context.Context, name string, args map[string]any
}
return failure(why)
}
content := []map[string]any{{"type": "text", "text": pretty(got.Result)}}
result, unread := resolveSent(s.conn, got.Result)
content := []map[string]any{{"type": "text", "text": pretty(result)}}
if unread != "" {
content = append(content, map[string]any{"type": "text", "text": unread})
}
if got.Node != "" {
content = append(content, map[string]any{"type": "text", "text": "answered by " + got.Node})
}