// Official plugin metadata still uses the upstream product name as the author. // Local deployments hide that label and keep other authors visible. export function visibleAuthorName(value?: string | null): string { const text = value?.trim() ?? '' if (!text) return '' if (text.toLowerCase() === 'dify' || text.toLowerCase().startsWith('dify ')) return '' return text }