refactor(avatars): drop dead runtimeAvatar allowlist (#1236)

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w <52a228d6edf316ec6812ac3c9fc0d696ab59fc7954d77e7be31eedcddf91335b@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
Taylor Ho
2026-06-24 00:08:18 -07:00
committed by GitHub
co-authored by npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w
parent 9a19c2d197
commit 5cbdf9e21f
-13
View File
@@ -1,13 +0,0 @@
const RUNTIME_AVATAR_URLS = new Set([
"https://goose-docs.ai/img/logo_dark.png",
"https://anthropic.gallerycdn.vsassets.io/extensions/anthropic/claude-code/2.1.77/1773707456892/Microsoft.VisualStudio.Services.Icons.Default",
"https://openai.gallerycdn.vsassets.io/extensions/openai/chatgpt/26.5313.41514/1773706730621/Microsoft.VisualStudio.Services.Icons.Default",
"https://raw.githubusercontent.com/block/buzz/refs/heads/main/crates/buzz-agent/buzz-agent.png",
]);
export function isKnownRuntimeAvatarUrl(
avatarUrl: string | null | undefined,
): boolean {
const trimmed = avatarUrl?.trim();
return trimmed ? RUNTIME_AVATAR_URLS.has(trimmed) : false;
}