MCPcopy Create free account

hub / github.com/stackblitz/bolt.new / functions

Functions200 in github.com/stackblitz/bolt.new

↓ 40 callersFunctionclassNames
(...args: ClassNamesArg[])
app/utils/classNames.ts:17
↓ 23 callersFunctioncssVar
(token: string)
app/components/workbench/terminal/theme.ts:4
↓ 13 callersFunctioncreateScopedLogger
(scope: string)
app/utils/logger.ts:28
↓ 10 callersFunctionlog
(level: DebugLevel, scope: string | undefined, messages: any[])
app/utils/logger.ts:47
↓ 7 callersMethoddispatch
(type: keyof Shortcuts)
app/lib/hooks/useShortcuts.ts:8
↓ 7 callersFunctionunreachable
(message: string)
app/utils/unreachable.ts:1
↓ 6 callersMethod#updateAction
(id: string, newState: ActionStateUpdate)
app/lib/runtime/action-runner.ts:181
↓ 6 callersMethodparse
(messageId: string, input: string)
app/lib/runtime/message-parser.ts:59
↓ 5 callersMethod#getArtifact
(id: string)
app/lib/stores/workbench.ts:270
↓ 5 callersMethodtoggleTerminal
(value?: boolean)
app/lib/stores/terminal.ts:21
↓ 4 callersMethod#extractAttribute
(tag: string, attributeName: string)
app/lib/runtime/message-parser.ts:266
↓ 4 callersFunctiongenerateAlphaPalette
* Generates an alpha palette for a given hex color. * * @param hex - The hex color code (without alpha) to generate the palette from. * @returns An
uno.config.ts:264
↓ 4 callersFunctionrunTest
(input: string | string[], outputOrExpectedResult: string | ExpectedResult)
app/lib/runtime/message-parser.spec.ts:157
↓ 3 callersMethodgetFile
(filePath: string)
app/lib/stores/files.ts:65
↓ 3 callersFunctiongetTerminalTheme
(overrides?: ITheme)
app/components/workbench/terminal/theme.ts:6
↓ 3 callersFunctionsendMessage
(_event: React.UIEvent, messageInput?: string)
app/components/chat/Chat.client.tsx:149
↓ 3 callersMethodwrite
(data)
app/lib/runtime/action-runner.ts:141
↓ 2 callersFunction_stripIndents
(value: string)
app/utils/stripIndent.ts:16
↓ 2 callersMethodaddAction
(data: ActionCallbackData)
app/lib/stores/workbench.ts:246
↓ 2 callersFunctionappendClass
(value: string, newClass: string | undefined)
app/utils/classNames.ts:51
↓ 2 callersFunctiondebounce
(fn: (...args: Args) => void, delay = 100)
app/utils/debounce.ts:1
↓ 2 callersFunctiondepthFirstTraversal
(path: string)
app/components/workbench/FileTree.tsx:369
↓ 2 callersFunctionencodeBase64
(data: string)
app/lib/crypto.ts:56
↓ 2 callersFunctionenhancePrompt
(input: string, setInput: (value: string) => void)
app/lib/hooks/usePromptEnhancer.ts:15
↓ 2 callersFunctiongetDarkTheme
()
app/components/editor/codemirror/cm-theme.ts:190
↓ 2 callersFunctiongetKey
(key: string)
app/lib/crypto.ts:46
↓ 2 callersFunctiongetLabelStyles
(color: string, textColor: string)
app/utils/logger.ts:87
↓ 2 callersFunctiongetLightTheme
()
app/components/editor/codemirror/cm-theme.ts:186
↓ 2 callersFunctionnavigateChat
(nextId: string)
app/lib/persistence/useChatHistory.ts:99
↓ 2 callersFunctionnewEditorState
( content: string, theme: Theme, settings: EditorSettings | undefined, onScrollRef: MutableRefObject<O
app/components/editor/codemirror/CodeMirrorEditor.tsx:269
↓ 2 callersMethodon
(type: keyof Shortcuts, cb: VoidFunction)
app/lib/hooks/useShortcuts.ts:12
↓ 2 callersFunctionreconfigureTheme
(theme: Theme)
app/components/editor/codemirror/cm-theme.ts:17
↓ 2 callersMethodsaveFile
(filePath: string)
app/lib/stores/workbench.ts:156
↓ 2 callersMethodsetCurrentDocumentContent
(newContent: string)
app/lib/stores/workbench.ts:107
↓ 2 callersFunctionstripIndents
(arg0: string | TemplateStringsArray, ...values: any[])
app/utils/stripIndent.ts:3
↓ 1 callersMethod#decodeFileContent
(buffer?: Uint8Array)
app/lib/stores/files.ts:186
↓ 1 callersMethod#executeAction
(actionId: string)
app/lib/runtime/action-runner.ts:98
↓ 1 callersMethod#init
()
app/lib/stores/files.ts:116
↓ 1 callersMethod#init
()
app/lib/stores/previews.ts:22
↓ 1 callersMethod#parseActionTag
(input: string, actionOpenIndex: number, actionEndIndex: number)
app/lib/runtime/message-parser.ts:241
↓ 1 callersMethod#runFileAction
(action: ActionState)
app/lib/runtime/action-runner.ts:152
↓ 1 callersMethod#runShellAction
(action: ActionState)
app/lib/runtime/action-runner.ts:124
↓ 1 callersMethodabortAllActions
()
app/lib/stores/workbench.ts:213
↓ 1 callersMethodaddArtifact
({ messageId, title, id }: ArtifactCallbackData)
app/lib/stores/workbench.ts:217
↓ 1 callersMethodattachTerminal
(terminal: ITerminal)
app/lib/stores/terminal.ts:25
↓ 1 callersFunctionbinDates
(_list: ChatHistoryItem[])
app/components/sidebar/date-binning.ts:6
↓ 1 callersFunctionbufferWatchEvents
(timeInMs: number, cb: (events: T[]) => unknown)
app/utils/buffer.ts:1
↓ 1 callersFunctionbuildFileList
( files: FileMap, rootFolder = '/', hideRoot: boolean, hiddenFiles: Array<string | RegExp>, )
app/components/workbench/FileTree.tsx:255
↓ 1 callersFunctioncamelToDashCase
(input: string)
app/lib/runtime/message-parser.ts:283
↓ 1 callersFunctionchangeBySelectedLine
( state: EditorState, cb: (from: number, to: number | undefined, changes: ChangeSpec[], line: Line) => voi
app/components/editor/codemirror/indent.ts:29
↓ 1 callersFunctionchatAction
({ context, request }: ActionFunctionArgs)
app/routes/api.chat.ts:11
↓ 1 callersFunctionchrome129IssuePlugin
()
vite.config.ts:33
↓ 1 callersFunctioncloseDialog
()
app/components/sidebar/Menu.client.tsx:71
↓ 1 callersFunctioncompareNodes
(a: Node, b: Node)
app/components/workbench/FileTree.tsx:403
↓ 1 callersFunctioncomputeFileModifications
(files: FileMap, modifiedFiles: Map<string, string>)
app/utils/diff.ts:17
↓ 1 callersFunctionconvertToBuffer
* Converts a `Uint8Array` into a Node.js `Buffer` by copying the prototype. * The goal is to avoid expensive copies. It does create a new typed arra
app/lib/stores/files.ts:214
↓ 1 callersFunctioncopyToClipboard
()
app/components/chat/CodeBlock.tsx:23
↓ 1 callersFunctiondateCategory
(date: Date)
app/components/sidebar/date-binning.ts:32
↓ 1 callersFunctiondecodeBase64
(encoded: Uint8Array)
app/lib/crypto.ts:50
↓ 1 callersFunctiondeleteById
(db: IDBDatabase, id: string)
app/lib/persistence/db.ts:95
↓ 1 callersFunctiondiffFiles
(fileName: string, oldFileContent: string, newFileContent: string)
app/utils/diff.ts:61
↓ 1 callersFunctionenhancerAction
({ context, request }: ActionFunctionArgs)
app/routes/api.enhancer.ts:13
↓ 1 callersFunctionfileModificationsToHTML
(modifications: FileModifications)
app/utils/diff.ts:92
↓ 1 callersFunctiongetAll
(db: IDBDatabase)
app/lib/persistence/db.ts:33
↓ 1 callersFunctiongetColorForLevel
(level: DebugLevel)
app/utils/logger.ts:91
↓ 1 callersFunctiongetEditorTheme
(settings: EditorSettings)
app/components/editor/codemirror/cm-theme.ts:21
↓ 1 callersMethodgetFileModifcations
()
app/lib/stores/workbench.ts:205
↓ 1 callersMethodgetFileModifications
()
app/lib/stores/files.ts:75
↓ 1 callersFunctiongetIconColor
(status: ActionState['status'])
app/components/chat/Artifact.tsx:192
↓ 1 callersFunctiongetIconSize
(size: IconSize)
app/components/ui/IconButton.tsx:65
↓ 1 callersFunctiongetLanguage
(fileName: string)
app/components/editor/codemirror/languages.ts:97
↓ 1 callersFunctiongetMessages
(db: IDBDatabase, id: string)
app/lib/persistence/db.ts:68
↓ 1 callersFunctiongetMessagesById
(db: IDBDatabase, id: string)
app/lib/persistence/db.ts:84
↓ 1 callersFunctiongetMessagesByUrlId
(db: IDBDatabase, id: string)
app/lib/persistence/db.ts:72
↓ 1 callersFunctiongetNextId
(db: IDBDatabase)
app/lib/persistence/db.ts:106
↓ 1 callersFunctiongetReadOnlyTooltip
(state: EditorState)
app/components/editor/codemirror/CodeMirrorEditor.tsx:437
↓ 1 callersFunctiongetTheme
(theme: Theme, settings: EditorSettings = {})
app/components/editor/codemirror/cm-theme.ts:10
↓ 1 callersFunctiongetUrlId
(db: IDBDatabase, id: string)
app/lib/persistence/db.ts:121
↓ 1 callersFunctiongetUrlIds
(db: IDBDatabase)
app/lib/persistence/db.ts:137
↓ 1 callersFunctionhandleSegmentClick
(index: number)
app/components/workbench/FileBreadcrumb.tsx:46
↓ 1 callersFunctioninitStore
()
app/lib/stores/theme.ts:15
↓ 1 callersFunctionisBinaryFile
(buffer: Uint8Array | undefined)
app/lib/stores/files.ts:200
↓ 1 callersFunctionisHiddenFile
(filePath: string, fileName: string, hiddenFiles: Array<string | RegExp>)
app/components/workbench/FileTree.tsx:321
↓ 1 callersFunctionisMobile
()
app/utils/mobile.ts:1
↓ 1 callersFunctionnewShellProcess
(webcontainer: WebContainer, terminal: ITerminal)
app/utils/shell.ts:5
↓ 1 callersMethodonTerminalResize
(cols: number, rows: number)
app/lib/stores/terminal.ts:35
↓ 1 callersFunctionopenDatabase
()
app/lib/persistence/db.ts:8
↓ 1 callersFunctionparseValue
(arg: ClassNamesArg)
app/utils/classNames.ts:27
↓ 1 callersFunctionprocessCode
()
app/components/chat/CodeBlock.tsx:44
↓ 1 callersFunctionread
()
app/entry.server.tsx:38
↓ 1 callersFunctionrehypePlugins
(html: boolean)
app/utils/markdown.ts:79
↓ 1 callersFunctionremarkPlugins
(limitedMarkdown: boolean)
app/utils/markdown.ts:69
↓ 1 callersMethodreset
()
app/lib/runtime/message-parser.ts:237
↓ 1 callersMethodresetAllFileModifications
()
app/lib/stores/workbench.ts:209
↓ 1 callersMethodresetCurrentDocument
()
app/lib/stores/workbench.ts:182
↓ 1 callersFunctionresetEnhancer
()
app/lib/hooks/usePromptEnhancer.ts:10
↓ 1 callersMethodresetFileModifications
()
app/lib/stores/files.ts:79
↓ 1 callersMethodrunAction
(data: ActionCallbackData)
app/lib/stores/workbench.ts:258
↓ 1 callersFunctionrunAnimation
()
app/components/chat/Chat.client.tsx:134
↓ 1 callersFunctionsanitizeUserMessage
(content: string)
app/components/chat/UserMessage.tsx:16
next →1–100 of 200, ranked by callers