MCPcopy Create free account

hub / github.com/CezarProX/designclaw / functions

Functions298 in github.com/CezarProX/designclaw

↓ 196 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 30 callersFunctionsend
(step: string, status: string, data?: Record<string, unknown>)
server/routes/extract.ts:70
↓ 17 callersFunctionslog
(level: 'info' | 'warn' | 'error', msg: string)
server/services/skillGenerator.ts:18
↓ 16 callersFunctionapiFetch
(path: string, options?: RequestInit)
src/lib/api.ts:7
↓ 16 callersFunctionemit
(step: string, status: string, data?: Record<string, unknown>)
server/services/jobRunner.ts:153
↓ 12 callersFunctionaddToken
(name: string, value: string | undefined)
server/services/skillGenerator.ts:121
↓ 12 callersFunctionisVisible
(color: string)
src/components/ComponentPreview.tsx:56
↓ 10 callersFunctionelog
(msg: string)
server/services/jobRunner.ts:150
↓ 10 callersFunctionupdateStep
(step: StepName, status: StepStatus)
server/services/jobRunner.ts:158
↓ 10 callersFunctionuseAnimatedNavigate
()
src/hooks/use-animated-navigate.ts:9
↓ 9 callersFunctionclearPersistedExtraction
()
src/stores/extractionStore.ts:33
↓ 9 callersFunctionstreamFromAnthropic
* Make a streaming call to the Anthropic Messages endpoint and yield text chunks. * Retries on tool_use attempts and transient upstream errors (5xx,
server/services/skillGenerator.ts:257
↓ 7 callersFunctionlog
(level: 'info' | 'warn' | 'error', msg: string, data?: Record<string, unknown>)
server/utils/anthropic.ts:16
↓ 6 callersFunctionparsePxValue
(value: string)
src/components/SpacingShape.tsx:7
↓ 5 callersFunctiondispatch
(action: Action)
src/hooks/use-toast.ts:128
↓ 5 callersFunctionparsePx
(value: string)
src/components/TypeScale.tsx:8
↓ 5 callersFunctionparseSSEEvents
(text: string)
src/lib/sse.ts:15
↓ 4 callersFunctioncollectStream
* Collect all chunks from a streaming generator into a string.
server/services/skillGenerator.ts:372
↓ 4 callersFunctionresolveFont
(name: string | undefined, fallbackStack?: string)
src/hooks/use-font-loader.ts:94
↓ 4 callersFunctionuseCarousel
()
src/components/ui/carousel.tsx:31
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:33
↓ 4 callersFunctionuseScrollReveal
(threshold = 0.12)
src/pages/InputPage.tsx:23
↓ 4 callersFunctionuseSidebar
()
src/components/ui/sidebar.tsx:34
↓ 3 callersFunctionadd
(raw: string)
src/hooks/use-font-loader.ts:49
↓ 3 callersFunctioncontrastText
(bg: string, fallback: string)
src/components/ComponentPreview.tsx:51
↓ 3 callersFunctioncreateRateLimiter
(opts: { readonly windowMs: number; readonly max: number; readonly keyPrefix?: string; })
server/middleware/rateLimit.ts:12
↓ 3 callersFunctionfilterRelevantCSS
( sheets: readonly string[], options?: CssFilterOptions, )
server/utils/cssFilter.ts:166
↓ 3 callersFunctiongetJob
(extractionId: string)
server/services/jobRunner.ts:93
↓ 3 callersFunctiongetPayloadConfigFromPayload
(config: ChartConfig, payload: unknown, key: string)
src/components/ui/chart.tsx:278
↓ 3 callersFunctionnormalizeSectionName
(value: string)
server/services/skillGenerator.ts:22
↓ 3 callersFunctionstripForeignSections
(text: string, allowed: Set<string>)
server/services/skillGenerator.ts:605
↓ 3 callersFunctionstripMarkdownBlock
(t: string)
server/services/skillGenerator.ts:564
↓ 3 callersFunctiontoHex
(color: string)
src/components/DesignGuidelines.tsx:21
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/hooks/use-toast.ts:55
↓ 2 callersFunctionbuildCanonicalTokenBlock
(sourceCSS: string, data: ExtractedDesignData)
server/services/skillGenerator.ts:147
↓ 2 callersFunctionbuildCssFilterHints
(html: HtmlStructure, data: ExtractedDesignData)
server/services/skillGenerator.ts:96
↓ 2 callersFunctionbuildHtmlContextSections
(html: HtmlStructure)
server/prompts/userPromptBuilder.ts:15
↓ 2 callersFunctionconnectToStream
( extractionId: string, abortController: AbortController, )
src/stores/extractionStore.ts:277
↓ 2 callersFunctiondownloadMarkdown
(content: string, filename: string)
src/lib/download.ts:4
↓ 2 callersFunctionforceAllVisible
* Fast-forward all animations to their end state so every element * is fully visible for the screenshot. * * CRITICAL: Never set `transform: none`
server/services/crawler.ts:182
↓ 2 callersFunctionformatRelative
(iso: string)
src/pages/admin/AdminDashboard.tsx:200
↓ 2 callersFunctiongetLuminance
(hex: string)
src/components/ColorPalette.tsx:15
↓ 2 callersFunctiongetPersistedExtraction
()
src/stores/extractionStore.ts:41
↓ 2 callersFunctionisPrivateIp
* Check whether a resolved IP address is internal/private. * Covers IPv4, IPv6, decimal/octal notation bypasses.
server/middleware/security.ts:36
↓ 2 callersFunctionloadExtractions
()
src/pages/admin/AdminExtractions.tsx:31
↓ 2 callersFunctionopenPreparedPage
(url: string)
server/services/crawler.ts:360
↓ 2 callersFunctionprocessEvents
(events: readonly import('@/lib/sse').SSEEvent[])
src/stores/extractionStore.ts:335
↓ 2 callersFunctionrgbToHex
(rgb: string)
src/components/ColorPalette.tsx:8
↓ 2 callersFunctionscheduleCleanup
(extractionId: string)
server/services/jobRunner.ts:81
↓ 2 callersFunctiontokenizeSelectorLike
(value: string)
server/utils/cssFilter.ts:94
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:22
↓ 2 callersFunctionuseFontLoader
(data: ExtractedDesignData)
src/hooks/use-font-loader.ts:116
↓ 2 callersFunctionvalidateUrlSafety
(url: string)
server/middleware/security.ts:83
↓ 1 callersFunctionapplyReviewCorrections
(doc: string, reviewOutput: string)
server/services/skillGenerator.ts:69
↓ 1 callersFunctionbuildCssFilterHints
( htmlStructure: HtmlStructure, designData: ExtractedDesignData, )
server/services/jobRunner.ts:61
↓ 1 callersFunctionbuildFallbackTokenBlock
(data: ExtractedDesignData)
server/services/skillGenerator.ts:118
↓ 1 callersFunctionbuildFontFaceRules
(fonts: readonly CapturedFont[])
server/services/fontCapture.ts:138
↓ 1 callersFunctionbuildKeywords
(options?: CssFilterOptions)
server/utils/cssFilter.ts:118
↓ 1 callersFunctionbuildNarrativeUserPrompt
( sourceCSS: string, data: ExtractedDesignData, patterns: DetectedPatterns, html: HtmlStructure, )
server/prompts/userPromptBuilder.ts:173
↓ 1 callersFunctionbuildRegenerationPrompt
( section: string, userContext: string | undefined, sourceCSS: string, data: ExtractedDesignData, pa
server/prompts/userPromptBuilder.ts:257
↓ 1 callersFunctionbuildUserPrompt
( sourceCSS: string, data: ExtractedDesignData, patterns: DetectedPatterns, html: HtmlStructure, can
server/prompts/userPromptBuilder.ts:52
↓ 1 callersFunctioncallAnthropic
( body: Record<string, unknown>, retryCount = 0, )
server/utils/anthropic.ts:29
↓ 1 callersFunctioncaptureFontFiles
(page: Page)
server/services/fontCapture.ts:24
↓ 1 callersFunctioncaptureScreenshots
(url: string)
server/services/crawler.ts:368
↓ 1 callersFunctioncloseBrowser
()
server/services/crawler.ts:28
↓ 1 callersFunctioncollectAllFonts
(data: ExtractedDesignData)
src/hooks/use-font-loader.ts:45
↓ 1 callersFunctioncollectFontMeta
(fontName: string, scale: readonly TypeScaleEntry[])
src/components/TypeScale.tsx:64
↓ 1 callersFunctionconfigurePage
(page: Page)
server/services/crawler.ts:283
↓ 1 callersFunctioncreateAnalysisPage
(url: string)
server/services/crawler.ts:437
↓ 1 callersFunctionderiveBaseUnit
(data: ExtractedDesignData)
src/components/SpacingShape.tsx:22
↓ 1 callersFunctionderiveGuidelines
( data: ExtractedDesignData, patterns: DetectedPatterns | null, )
src/components/DesignGuidelines.tsx:25
↓ 1 callersFunctiondescribeFontUsage
( _name: string, role: string, meta: ReturnType<typeof collectFontMeta>, totalFonts: number, )
src/components/TypeScale.tsx:92
↓ 1 callersFunctiondetectButtonStyle
(data: ExtractedDesignData)
server/services/patternDetector.ts:49
↓ 1 callersFunctiondetectCardSystem
(data: ExtractedDesignData)
server/services/patternDetector.ts:28
↓ 1 callersFunctiondetectColorStrategy
(data: ExtractedDesignData)
server/services/patternDetector.ts:101
↓ 1 callersFunctiondetectMode
(data: ExtractedDesignData)
server/services/patternDetector.ts:187
↓ 1 callersFunctiondetectMotionStrategy
(data: ExtractedDesignData)
server/services/patternDetector.ts:141
↓ 1 callersFunctiondetectPatterns
(data: ExtractedDesignData)
server/services/patternDetector.ts:16
↓ 1 callersFunctiondetectScaleRatio
( sizes: readonly number[], )
src/components/TypeScale.tsx:38
↓ 1 callersFunctiondetectSpacingStrategy
(data: ExtractedDesignData)
server/services/patternDetector.ts:172
↓ 1 callersFunctiondetectTypographyStrategy
(data: ExtractedDesignData)
server/services/patternDetector.ts:125
↓ 1 callersFunctiondismiss
()
src/hooks/use-toast.ts:145
↓ 1 callersFunctiondismissCookieBanner
(page: Page)
server/services/crawler.ts:75
↓ 1 callersFunctionextractCanonicalTokenBlock
(sourceCSS: string)
server/services/skillGenerator.ts:112
↓ 1 callersFunctionextractComputedStyles
(page: Page)
server/services/computedExtractor.ts:8
↓ 1 callersFunctionextractFontFaceFamily
(cssText: string)
src/hooks/use-font-loader.ts:83
↓ 1 callersFunctionextractFontFaceUrls
(cssText: string)
src/hooks/use-font-loader.ts:70
↓ 1 callersFunctionextractHtmlStructure
(page: Page)
server/services/htmlExtractor.ts:36
↓ 1 callersFunctionextractPrimaryFontName
(fontStack: string)
src/hooks/use-font-loader.ts:32
↓ 1 callersFunctionextractSourceCSS
(page: Page)
server/services/sourceExtractor.ts:8
↓ 1 callersFunctionfetchCrossOriginCSS
(urls: string[])
server/services/sourceExtractor.ts:39
↓ 1 callersFunctiongcd
(a: number, b: number)
src/components/SpacingShape.tsx:31
↓ 1 callersFunctiongenId
()
src/hooks/use-toast.ts:24
↓ 1 callersFunctiongenerateColorPalette
(input: { readonly screenshots: { readonly desktopHero: string }; readonly extractedData: ExtractedDesignD
server/services/skillGenerator.ts:776
↓ 1 callersFunctiongenerateDesignTagline
(input: { readonly screenshots: { readonly desktopHero: string; readonly desktop: string }; readonly extra
server/services/skillGenerator.ts:709
↓ 1 callersFunctiongenerateNarrativeMd
(input: GenerationInput)
server/services/skillGenerator.ts:657
↓ 1 callersFunctiongenerateSkillMd
(input: GenerationInput)
server/services/skillGenerator.ts:300
↓ 1 callersFunctiongetBrowser
()
server/services/crawler.ts:5
↓ 1 callersFunctiongetCroppedBlob
(src: string, crop: Area)
src/components/AvatarCropModal.tsx:12
↓ 1 callersFunctiongetDensityLabel
(data: ExtractedDesignData)
src/components/SpacingShape.tsx:11
next →1–100 of 298, ranked by callers