diff --git a/_skills_src/ai-skills b/_skills_src/ai-skills new file mode 160000 index 00000000..cde1c838 --- /dev/null +++ b/_skills_src/ai-skills @@ -0,0 +1 @@ +Subproject commit cde1c8385ead64df501c9b214e63d7ba9b283ff9 diff --git a/_skills_src/anthropics-skills b/_skills_src/anthropics-skills new file mode 160000 index 00000000..57546260 --- /dev/null +++ b/_skills_src/anthropics-skills @@ -0,0 +1 @@ +Subproject commit 57546260929473d4e0d1c1bb75297be2fdfa1949 diff --git a/_skills_src/awesome-claude-skills b/_skills_src/awesome-claude-skills new file mode 160000 index 00000000..92568c1e --- /dev/null +++ b/_skills_src/awesome-claude-skills @@ -0,0 +1 @@ +Subproject commit 92568c1edaff1bde5371154f036d959346c145a8 diff --git a/_skills_src/ce-kit b/_skills_src/ce-kit new file mode 160000 index 00000000..d4973c48 --- /dev/null +++ b/_skills_src/ce-kit @@ -0,0 +1 @@ +Subproject commit d4973c48270c66f4a4751131ec84b9dbb03669dc diff --git a/_skills_src/csm b/_skills_src/csm new file mode 160000 index 00000000..3fa16a94 --- /dev/null +++ b/_skills_src/csm @@ -0,0 +1 @@ +Subproject commit 3fa16a94e0aba3509e4d4b318ca175d3191b5b7d diff --git a/_skills_src/superpowers b/_skills_src/superpowers new file mode 160000 index 00000000..6fd45076 --- /dev/null +++ b/_skills_src/superpowers @@ -0,0 +1 @@ +Subproject commit 6fd4507659784c351abbd2bc264c7162cfd386dc diff --git a/_skills_src/tapestry-skills b/_skills_src/tapestry-skills new file mode 160000 index 00000000..80e1dc56 --- /dev/null +++ b/_skills_src/tapestry-skills @@ -0,0 +1 @@ +Subproject commit 80e1dc56df74d1cb849ad649c7ead9756e7929bb diff --git a/frontend-web/src/components/workspace/agents/agent-detail-panel.tsx b/frontend-web/src/components/workspace/agents/agent-detail-panel.tsx index 261c32ff..cedeb6c8 100644 --- a/frontend-web/src/components/workspace/agents/agent-detail-panel.tsx +++ b/frontend-web/src/components/workspace/agents/agent-detail-panel.tsx @@ -65,28 +65,6 @@ import { usePublishSquares } from "@/core/system-settings/hooks"; import { desensitize } from "@/lib/desensitize"; import { cn } from "@/lib/utils"; -/** - * Turn the admin-authored SOUL.md markdown into a clean, readable profile blurb - * for the narrow panel. The view mode is a profile card, not a document view — - * so we strip markdown syntax (headings, emphasis, inline code, list bullets, - * blockquotes) rather than rendering it, keeping the line structure intact. - */ -function cleanProfileText(raw: string): string { - return raw - .split("\n") - .map((line) => - line - .replace(/^\s{0,3}#{1,6}\s*/, "") - .replace(/^\s{0,3}>\s?/, "") - .replace(/^(\s*)[-*+]\s+/, "$1• ") - .replace(/(\*\*|__)(.*?)\1/g, "$2") - .replace(/(\*|_)(.*?)\1/g, "$2") - .replace(/`([^`]+)`/g, "$1"), - ) - .join("\n") - .replace(/\n{3,}/g, "\n\n") - .trim(); -} /** Local edit-mode draft — committed in one `updateAgent` call on 保存. */ interface AgentDraft { @@ -232,9 +210,6 @@ export function AgentDetailPanel({ () => normalizeAgentQuestions(agent?.common_questions), [agent?.common_questions], ); - const soulPreview = agent?.soul?.trim() - ? cleanProfileText(desensitize(agent.soul)) - : undefined; function beginEdit() { if (!agent || !canEdit) return; @@ -609,31 +584,6 @@ export function AgentDetailPanel({ )} - {/* ── SOUL / 人设 ────────────────────────────────────────────────── */} - {(editing || soulPreview) && ( -
} - title="人设(SOUL)" - > - {editing && draft ? ( -