claude-code-best/src/skills/mcpSkills.ts
James Feng 315b0bd80e fix(tsc): Phase 1 — add 25 stub files, eliminate all Cannot find module errors (270→204)
- 25 stub files: types/tools, types/utils, contextCollapse, mcpSkills, etc.
- 11 reused from chore/bridge-green, 14 created from scratch
- All stubs documented in docs/devlog/02-tsc-stubs.md
- Build passes, tests not regressed
2026-06-07 10:41:02 +08:00

13 lines
576 B
TypeScript

// STUB: 待补全 — 见 docs/devlog/02-tsc-stubs.md
// MCP skills — fetches skills/commands exposed via MCP servers.
// Dynamically require'd by services/mcp/client.ts and useManageMCPConnections.ts
// when MCP_SKILLS feature is enabled.
// Stub: returns empty array of Command.
import type { Command } from 'src/types/command.js'
export const fetchMcpSkillsForClient: ((...args: unknown[]) => Promise<Command[]>) & { cache: Map<string, unknown> } = Object.assign(
(..._args: unknown[]) => Promise.resolve([] as Command[]),
{ cache: new Map<string, unknown>() },
)