/** repo-counts keys: the repo's star count, its pack byte estimate, and per discussion / comment upvotes. */ export const REPO_STARS = "stars"; export const REPO_PACK_BYTES = "pack"; export const discussionUpvotesKey = (id: string) => `d:${id}`; export const commentUpvotesKey = (id: string) => `c:${id}`; /** mcp-usage key: one counter row per UTC day and tool. */ export function usageKey(day: string, tool: string): string { return `${day}|${tool}`; }