Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
export function skillPublisherLabel(skill: {
authorName: string;
publisherName?: string;
}): string {
const owner = skill.authorName.trim();
const publisher = skill.publisherName?.trim() ?? '';
if (!publisher || publisher === owner) return owner || publisher;
if (!owner) return publisher;
return `${publisher} · ${owner}`;
}