mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-02 21:32:10 +03:00
refactor(agent-skills): remove deprecated AGENT_SKILLS dead code (GAP-3)
AgentSkillsPageClient (F7) was rewritten and no longer imports AGENT_SKILLS. Grep confirms zero remaining imports of the symbol in src/, open-sse/, tests/, or electron/. Remove the backward-compatible shim and TODO(F7) comment.
This commit is contained in:
@@ -431,16 +431,3 @@ export const CURATED_SKILLS: CuratedSkillEntry[] = [
|
||||
},
|
||||
];
|
||||
|
||||
// ── Backward-compatible re-export ─────────────────────────────────────────────
|
||||
// TODO(F7): Remove AGENT_SKILLS alias once AgentSkillsPageClient is rewritten.
|
||||
// The old shape expected `endpoint` (singular string | null) instead of `endpoints` (array).
|
||||
// This shim preserves the old dashboard until F7 rewrites it.
|
||||
|
||||
/** @deprecated Use getCatalog() from src/lib/agentSkills/catalog.ts instead. */
|
||||
export const AGENT_SKILLS: AgentSkill[] = CURATED_SKILLS.map((s) => ({
|
||||
...s,
|
||||
endpoints: s.category === "api" ? [] : undefined,
|
||||
cliCommands: s.category === "cli" ? [] : undefined,
|
||||
rawUrl: getAgentSkillRawUrl(s.id),
|
||||
githubUrl: getAgentSkillBlobUrl(s.id),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user