AI-native design editor. Open-source Figma alternative.
import { COMMANDS } from '@open-pencil/cli/commands'
import { ALL_TOOLS, isToolExposed } from '@open-pencil/core/tools'
export interface LandingStats {
/** Top-level `openpencil` commands, in alphabetical order. */
cliCommands: string[]
/** Tools the MCP server exposes. */
mcpTools: number
}
declare const data: LandingStats
export { data }
/** Counted from the source at build time, so the page cannot drift from the product. */
export default {
load(): LandingStats {
return {
cliCommands: Object.keys(COMMANDS).toSorted(),
mcpTools: ALL_TOOLS.filter((tool) => isToolExposed(tool, 'mcp')).length
}
}
}