Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

341 B
Raw Blame
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}`;
}