feat(icons): add PackyCode provider icon support

Add PackyCode as a supported AI provider icon with proper metadata
and filtering configuration.

Changes:
- Add 'packycode' to icon filter whitelist in filter-icons.js
- Register PackyCode metadata with display name, category, and keywords
- Import PackyCode SVG icon file
- Export icon through index.ts for use in provider configurations

The PackyCode icon uses currentColor to adapt to theme styling.
This commit is contained in:
YoVinchen
2025-11-24 22:35:30 +08:00
parent 09a87c97b8
commit 304d14b1ab
5 changed files with 11 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ const KEEP_LIST = [
'zhipu', 'chatglm', 'glm', 'minimax', 'mistral', 'cohere',
'perplexity', 'huggingface', 'midjourney', 'stability',
'xai', 'grok', 'yi', 'zeroone', 'ollama',
'packycode',
// Cloud/Tools
'aws', 'googlecloud', 'huawei', 'cloudflare',
+1
View File
@@ -24,6 +24,7 @@ const KNOWN_METADATA = {
microsoft: { name: 'microsoft', displayName: 'Microsoft', category: 'ai-provider', keywords: ['copilot', 'azure'], defaultColor: '#00A4EF' },
cohere: { name: 'cohere', displayName: 'Cohere', category: 'ai-provider', keywords: ['cohere'], defaultColor: '#39594D' },
perplexity: { name: 'perplexity', displayName: 'Perplexity', category: 'ai-provider', keywords: ['perplexity'], defaultColor: '#20808D' },
packycode: { name: 'packycode', displayName: 'PackyCode', category: 'ai-provider', keywords: ['packycode', 'packy', 'packyapi'], defaultColor: 'currentColor' },
mistral: { name: 'mistral', displayName: 'Mistral', category: 'ai-provider', keywords: ['mistral'], defaultColor: '#FF7000' },
huggingface: { name: 'huggingface', displayName: 'Hugging Face', category: 'ai-provider', keywords: ['huggingface', 'hf'], defaultColor: '#FFD21E' },
aws: { name: 'aws', displayName: 'AWS', category: 'cloud', keywords: ['amazon', 'cloud'], defaultColor: '#FF9900' },
File diff suppressed because one or more lines are too long
+7
View File
@@ -219,6 +219,13 @@ export const iconMetadata: Record<string, IconMetadata> = {
keywords: ["gpt", "chatgpt"],
defaultColor: "#00A67E",
},
packycode: {
name: "packycode",
displayName: "PackyCode",
category: "ai-provider",
keywords: ["packycode", "packy", "packyapi"],
defaultColor: "currentColor",
},
palm: {
name: "palm",
displayName: "palm",
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.3 KiB