MCPcopy Index your code

hub / github.com/Nutlope/llamacoder / functions

Functions102 in github.com/Nutlope/llamacoder

↓ 22 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:272
↓ 9 callersFunctionextractAllCodeBlocks
(input: string)
lib/utils.ts:57
↓ 5 callersFunctiondispatch
(action: Action)
hooks/use-toast.ts:131
↓ 5 callersFunctiontoTitleCase
(rawName: string)
lib/utils.ts:276
↓ 4 callersFunctioncreateMessage
( chatId: string, text: string, role: "assistant" | "user", files?: any[], )
app/(main)/actions.ts:6
↓ 4 callersFunctiongetExtensionForLanguage
(language: string)
lib/utils.ts:203
↓ 4 callersFunctiongetFilesFromMessage
(msg: Message)
app/(main)/chats/[id]/code-viewer.tsx:169
↓ 4 callersFunctionparseTag
(tag: string)
app/(main)/chats/[id]/code-viewer.tsx:103
↓ 3 callersFunctionparseReplySegments
(markdown: string)
lib/utils.ts:112
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
hooks/use-toast.ts:56
↓ 2 callersFunctionextractFirstCodeBlock
(input: string)
lib/utils.ts:21
↓ 2 callersFunctionflushText
()
lib/utils.ts:121
↓ 2 callersFunctiongenerateAppTitle
(fileList: typeof files)
app/(main)/chats/[id]/code-viewer.tsx:204
↓ 2 callersFunctionresolveModel
(model: string)
lib/constants.ts:7
↓ 2 callersFunctiontoast
({ ...props }: Toast)
hooks/use-toast.ts:140
↓ 1 callersFunctionbuildFileTree
( files: Array<{ path: string; content: string; language: string }>, )
components/syntax-highlighter.tsx:207
↓ 1 callersFunctiondismiss
()
hooks/use-toast.ts:148
↓ 1 callersFunctionextractLatestStreamBlock
( input: string, )
app/(main)/chats/[id]/code-viewer.tsx:65
↓ 1 callersFunctionf
()
app/(main)/chats/[id]/page.client.tsx:52
↓ 1 callersFunctionfetchTitle
()
app/api/create-chat/route.ts:40
↓ 1 callersFunctiongenId
()
hooks/use-toast.ts:20
↓ 1 callersFunctiongenerateAppTitle
(files: typeof allFiles)
app/(main)/chats/[id]/chat-log.tsx:132
↓ 1 callersFunctiongenerateIntelligentFilename
( content: string, language: string, )
lib/utils.ts:176
↓ 1 callersFunctiongetFilesFromMessage
(msg: Message)
app/(main)/chats/[id]/page.client.tsx:219
↓ 1 callersFunctiongetMainCodingPrompt
()
lib/prompts.ts:34
↓ 1 callersFunctiongetMonacoLanguage
(language: string)
lib/utils.ts:248
↓ 1 callersFunctiongetSandpackConfig
( files: Array<{ path: string; content: string }>, )
lib/sandpack-config.ts:3
↓ 1 callersFunctionmergeFiles
( base: Array<{ code: string; language: string; path: string; fullMatch: string;
app/(main)/chats/[id]/code-viewer.tsx:145
↓ 1 callersFunctionoptimizeMessagesForTokens
( messages: { role: "system" | "user" | "assistant"; content: string }[], )
app/api/get-next-completion-stream-promise/route.ts:8
↓ 1 callersFunctionparseFenceTag
(tag: string)
lib/utils.ts:5
↓ 1 callersFunctionparseFileName
(fileName: string)
lib/utils.ts:86
↓ 1 callersFunctionreducer
(state: State, action: Action)
hooks/use-toast.ts:72
↓ 1 callersFunctiontimeAgo
(date: Date)
app/(main)/chats/[id]/code-viewer.tsx:262
↓ 1 callersFunctionuseMediaQuery
(query: string)
hooks/use-media-query.ts:3
↓ 1 callersFunctionuseToast
()
hooks/use-toast.ts:169
FunctionAppVersionButton
({ version, filename, fileCount, appTitle, generating, disabled, onClick, isActive, }: { ver
components/app-version-button.tsx:4
FunctionArrowLeftIcon
(props: ComponentProps<"svg">)
components/icons/arrow-left.tsx:3
FunctionArrowRightIcon
(props: ComponentProps<"svg">)
components/icons/arrow-right.tsx:3
FunctionAssistantMessage
({ content, version, message, isActive, onMessageClick = () => {}, previousMessage, isStreaming
app/(main)/chats/[id]/chat-log.tsx:110
FunctionChatBox
({ chat, onNewStreamPromise, isStreaming, }: { chat: Chat; onNewStreamPromise: (v: Promise<ReadableS
app/(main)/chats/[id]/chat-box.tsx:11
FunctionChatLog
({ chat, activeMessage, streamText, onMessageClick, }: { chat: Chat; activeMessage?: Message; st
app/(main)/chats/[id]/chat-log.tsx:15
FunctionChevronLeftIcon
(props: ComponentProps<"svg">)
components/icons/chevron-left.tsx:3
FunctionChevronRightIcon
(props: ComponentProps<"svg">)
components/icons/chevron-right.tsx:3
FunctionCloseIcon
(props: ComponentProps<"svg">)
components/icons/close-icon.tsx:3
FunctionCodeRunner
({ language, code, files, onRequestFix, }: { language?: string; code?: string; files?: Array<{ p
components/code-runner.tsx:3
FunctionCodeRunnerServerAction
({ code, runCodeAction, }: { code: string; runCodeAction: (v: string) => Promise<string>; })
components/code-runner-server-action.tsx:7
FunctionCodeViewer
({ chat, streamText, message, onMessageChange, activeTab, onTabChange, onClose, onRequestFix,
app/(main)/chats/[id]/code-viewer.tsx:37
FunctionCodeViewerLayout
({ children, isShowing, onClose, }: { children: ReactNode; isShowing: boolean; onClose: () => void
app/(main)/chats/[id]/code-viewer-layout.tsx:13
FunctionCopyIcon
(props: ComponentProps<"svg">)
components/icons/copy-icon.tsx:3
FunctionDrawer
({ shouldScaleBackground = true, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>)
components/ui/drawer.tsx:8
FunctionDrawerFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/drawer.tsx:69
FunctionDrawerHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/drawer.tsx:58
FunctionError
({ error, reset, }: { error: Error & { digest?: string }; reset: () => void; })
app/(main)/chats/[id]/error.tsx:5
FunctionErrorMessage
({ onRequestFix }: { onRequestFix: (e: string) => void })
components/code-runner-react.tsx:39
FunctionFieldset
({ children, ...rest }: ComponentProps<"fieldset">)
components/fieldset.tsx:4
FunctionFileTree
({ tree, activeFile, onFileSelect, prefix = "", }: { tree: any; activeFile: string; onFileSelect
components/syntax-highlighter.tsx:228
FunctionGET
(request: Request)
app/api/og/route.tsx:3
FunctionGithubIcon
(props: React.SVGProps<SVGSVGElement>)
components/icons/github-icon.tsx:1
FunctionHeader
()
components/header.tsx:7
FunctionHome
()
app/(main)/page.tsx:32
FunctionImage
({ params, }: { params: { messageId: string }; })
app/share/v2/[messageId]/_opengraph-image.tsx:14
FunctionLayout
({ children }: { children: React.ReactNode })
app/share/layout.tsx:1
FunctionLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/(main)/layout.tsx:4
FunctionLightbulbIcon
(props: ComponentProps<"svg">)
components/icons/lightbulb.tsx:3
FunctionLightningBoltIcon
(props: ComponentProps<"svg">)
components/icons/lightning-bolt.tsx:3
FunctionLoadingButton
({ children, ...rest }: ComponentProps<"button">)
components/loading-button.tsx:5
FunctionLoadingMessage
({ isHighQuality, screenshotUrl, }: { isHighQuality: boolean; screenshotUrl: string | undefined; })
app/(main)/page.tsx:502
FunctionLoadingPage
()
app/share/v2/[messageId]/loading.tsx:3
FunctionLogoSmall
(props: ComponentProps<"svg">)
components/icons/logo-small.tsx:3
FunctionNewLink
({ href, newQuery, children, ...props }: Omit<ComponentProps<typeof Link>, "href"> & NewLinkProps)
components/new-link.tsx:12
FunctionPOST
(request: NextRequest)
app/api/create-chat/route.ts:11
FunctionPOST
(req: Request)
app/api/get-next-completion-stream-promise/route.ts:39
FunctionPage
()
app/not-found.tsx:3
FunctionPage
({ params, }: { params: Promise<{ id: string }>; })
app/share/[id]/page.tsx:41
FunctionPage
({ params, }: { params: Promise<{ id: string }>; })
app/(main)/chats/[id]/page.tsx:35
FunctionPageClient
({ chat }: { chat: Chat })
app/(main)/chats/[id]/page.client.tsx:32
FunctionPlayIcon
(props: ComponentProps<"svg">)
components/icons/play-icon.tsx:3
FunctionProviders
({ children }: { children: ReactNode })
app/(main)/providers.tsx:12
FunctionReactCodeRunner
({ files, onRequestFix, }: { files: Array<{ path: string; content: string }>; onRequestFix?: (e: strin
components/code-runner-react.tsx:12
FunctionRefreshIcon
(props: ComponentProps<"svg">)
components/icons/refresh.tsx:3
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:35
FunctionShare
({ message }: { message?: Message })
app/(main)/chats/[id]/share.tsx:7
FunctionShareIcon
(props: ComponentProps<"svg">)
components/icons/share-icon.tsx:3
FunctionSharePage
({ params, }: { params: Promise<{ messageId: string }>; })
app/share/v2/[messageId]/page.tsx:37
FunctionSpinner
({ loading = true, children, className = "size-3", }: { loading?: boolean; children?: ReactNode; c
components/spinner.tsx:5
FunctionSyntaxHighlighter
({ files, activePath, disableSelection, isStreaming, }: { files: Array<{ path: string; content: stri
components/syntax-highlighter.tsx:7
FunctionToaster
()
components/ui/toaster.tsx:13
FunctionUploadIcon
(props: ComponentProps<"svg">)
components/icons/upload-icon.tsx:3
FunctionUserMessage
({ content }: { content: string })
app/(main)/chats/[id]/chat-log.tsx:100
FunctionXIcon
(props: ComponentProps<"svg">)
components/icons/x-icon.tsx:3
FunctiongenerateMetadata
({ params, }: { params: Promise<{ messageId: string }>; })
app/share/v2/[messageId]/page.tsx:8
FunctiongenerateMetadata
({ params, }: { params: Promise<{ id: string }>; })
app/share/[id]/page.tsx:12
FunctiongenerateMetadata
({ params }: Props)
app/(main)/chats/[id]/page.tsx:12
FunctiongetLanguageOfFile
(filePath: string)
lib/utils.ts:228
FunctionhandleDownloadFiles
()
app/(main)/chats/[id]/code-viewer.tsx:273
FunctionhandleKeyDown
(e: KeyboardEvent)
app/(main)/chats/[id]/code-viewer.tsx:308
FunctionhandleScreenshotUpload
(event: any)
app/(main)/page.tsx:70
FunctiononChange
(event: MediaQueryListEvent)
hooks/use-media-query.ts:7
FunctionscrollTo
(options: ValueAnimationTransition = {})
hooks/use-scroll-to.ts:7
FunctionshareAction
()
app/(main)/chats/[id]/share.tsx:8
next →1–100 of 102, ranked by callers