MCPcopy Create free account

hub / github.com/EvanBacon/grok-voice-demo / functions

Functions171 in github.com/EvanBacon/grok-voice-demo

↓ 12 callersFunctiongetTextStyle
(styles: StyleMap, key: string)
src/components/markdown/render-rules.tsx:17
↓ 11 callersFunctiongetViewStyle
(styles: StyleMap, key: string)
src/components/markdown/render-rules.tsx:15
↓ 8 callersFunctioncn
(...inputs: ClassValue[])
src/utils/tailwind.ts:4
↓ 7 callersMethodstop
()
src/utils/grok-voice-core.ts:308
↓ 7 callersFunctionuseChatContext
()
src/components/chat/chat-context.tsx:19
↓ 5 callersMethodsetStatus
(status: VoiceStatus)
src/utils/grok-voice-core.ts:298
↓ 5 callersMethodstart
()
src/utils/grok-voice-core.ts:172
↓ 4 callersMethodfail
(message: string)
src/utils/grok-voice-core.ts:302
↓ 4 callersFunctionuseConversationContext
()
src/components/chat/conversation.tsx:49
↓ 4 callersFunctionuseDrawer
()
src/components/drawer-content.tsx:35
↓ 4 callersFunctionuseModel
()
src/components/model-context.tsx:50
↓ 3 callersMethodemitTranscript
( role: "user" | "assistant", text: string, id?: string, )
src/utils/grok-voice-core.ts:280
↓ 3 callersFunctionlevelFromFloat
(samples: Float32Array)
src/utils/grok-voice-core.ts:69
↓ 2 callersFunctioncreateStreamingStore
()
src/components/chat/streaming-store.ts:8
↓ 2 callersFunctiondecodePCM16Base64
(base64: string)
src/utils/grok-voice-core.ts:147
↓ 2 callersFunctionencodePCM16Base64
(float32: Float32Array)
src/utils/grok-voice-core.ts:136
↓ 2 callersFunctiongetRNStylesFromHljsStyle
( hljsStyle: ReactStyle, )
src/components/markdown/code-block.tsx:48
↓ 2 callersFunctiongetTextFromParts
Extract text content from a UIMessage's parts array.
src/app/index.tsx:54
↓ 2 callersFunctionminmax
(value: number, start: number, end: number)
src/components/drawer-layout.tsx:50
↓ 2 callersFunctionnormalizeIdentifier
(id: string)
src/components/markdown/utils.ts:256
↓ 2 callersMethodsend
(payload: unknown)
src/utils/grok-voice-core.ts:292
↓ 2 callersFunctiontransform
( node: RootContent | Root, definitions: Map<string, Definition>, )
src/components/markdown/utils.ts:260
↓ 2 callersFunctionuseVoiceSettings
()
src/components/voice/voice-settings-context.tsx:49
↓ 1 callersFunctionaddKeysRecursively
(node: Node)
src/components/markdown/utils.ts:232
↓ 1 callersFunctionbase64ToBytes
(base64: string)
src/utils/grok-voice-core.ts:118
↓ 1 callersFunctionbytesToBase64
(bytes: Uint8Array)
src/utils/grok-voice-core.ts:104
↓ 1 callersFunctioncapLoop
(loop, fn)
babel.config.js:29
↓ 1 callersFunctioncleanStyle
(style: CSSProperties)
src/components/markdown/code-block.tsx:41
↓ 1 callersFunctionconvertStylesToProps
( style: React.ComponentProps<typeof AnimatedEXGlassView>["style"], move: Record<string, string>, )
src/components/tw.tsx:70
↓ 1 callersMethoddebugLog
(length: number, type: string)
src/components/markdown/ast-renderer.ts:52
↓ 1 callersFunctionformatTimeAgo
(daysAgo: number)
src/app/chats.tsx:13
↓ 1 callersFunctiongetDrawerWidth
(layoutWidth: number, drawerWidth?: number)
src/components/drawer-layout.tsx:43
↓ 1 callersFunctiongetKey
(node: Node)
src/components/markdown/utils.ts:224
↓ 1 callersFunctiongetKeyFromMarkdown
()
src/components/markdown/utils.ts:243
↓ 1 callersFunctiongetMergedStyles
( styles: StyleMap | null = null, merge = false, )
src/components/markdown/utils.ts:195
↓ 1 callersMethodgetRenderFunction
(type: keyof RenderRules)
src/components/markdown/ast-renderer.ts:58
↓ 1 callersMethodhandleMessage
(event: MessageEvent)
src/utils/grok-voice-core.ts:224
↓ 1 callersFunctionmockStreamResponse
( text: string, onToken: (token: string) => void, signal?: AbortSignal, )
src/app/index.tsx:40
↓ 1 callersFunctiononPress
()
src/components/markdown/render-rules.tsx:94
↓ 1 callersMethodopenSocket
(clientSecret: string)
src/utils/grok-voice.ts:50
↓ 1 callersMethodplayChunk
(base64: string)
src/utils/grok-voice.ts:90
↓ 1 callersFunctionpreserveNewlines
* Convert single newlines to hard breaks (two trailing spaces) so they render * the same way they appear during streaming. Skips fenced code blocks.
src/components/markdown/chat-markdown.tsx:22
↓ 1 callersFunctionremoveTextStyleProps
( style: T, )
src/components/markdown/utils.ts:164
↓ 1 callersFunctionresampleLinear
( input: Float32Array, inRate: number, outRate: number, )
src/utils/grok-voice-core.ts:79
↓ 1 callersFunctionresolveReference
()
src/components/markdown/utils.ts:290
↓ 1 callersFunctionresolveVoiceConfig
(voiceId: string, personalityId: string)
src/components/voice/voice-settings.ts:97
↓ 1 callersMethodstartCapture
( onChunk: (base64: string) => void, onLevel: (level: number) => void, )
src/utils/grok-voice.ts:56
↓ 1 callersFunctionstatusToPersonaState
(status: VoiceStatus)
src/components/persona/persona-bubble.tsx:24
↓ 1 callersMethodteardown
()
src/utils/grok-voice.ts:112
↓ 1 callersFunctiontrimNewlines
(string: string)
src/components/markdown/code-block.tsx:59
↓ 1 callersFunctionuseAIChat
()
src/app/index.tsx:63
↓ 1 callersFunctionuseMockChat
()
src/app/index.tsx:130
↓ 1 callersFunctionuseSystemBackgroundColor
()
src/utils/use-system-background-color.ts:5
↓ 1 callersFunctionuseVoiceAgent
()
src/components/voice/use-voice-agent.ts:31
FunctionActionRow
({ icon, label, destructive, onPress, }: { icon: LucideIcon; label: string; destructive?: boolea
src/app/model-picker.tsx:9
FunctionAddToChatSheet
()
src/app/attachments.tsx:5
FunctionAndroidGrabber
()
src/components/grabber.android.tsx:5
FunctionAndroidGrabber
()
src/components/grabber.tsx:1
FunctionAttachmentButton
({ icon, label, onPress, }: { icon: LucideIcon; label: string; onPress?: () => void; })
src/components/attachments-content.tsx:21
FunctionAttachmentsButton
()
src/components/chat/attachments-button.web.tsx:15
FunctionAttachmentsButton
()
src/components/chat/attachments-button.tsx:11
FunctionAttachmentsContent
()
src/components/attachments-content.tsx:114
FunctionBar
({ index, history, }: { index: number; history: SharedValue<number[]>; })
src/components/voice/waveform.tsx:19
FunctionBetterGlassView
( props: React.ComponentProps<typeof AnimatedEXGlassView>, )
src/components/tw.tsx:58
FunctionBlurViewRawBackdrop
({ tint = "default", intensity = 50, blurReductionFactor = 4, experimentalBlurMethod = "none", style
src/components/blur-raw.tsx:8
FunctionBlurViewRawBackdrop
({ tint = "default", intensity = 50, ...props })
src/components/blur-raw.web.tsx:4
FunctionBottomToolbar
()
src/app/chats.tsx:241
FunctionCapabilitiesScreen
()
src/app/(settings)/capabilities.tsx:15
FunctionCapabilityToggle
({ icon, label, description, value, onValueChange, }: { icon: LucideIcon; label: string; descr
src/app/(settings)/capabilities.tsx:131
FunctionChatMarkdown
({ children }: { children: string })
src/components/markdown/chat-markdown.tsx:28
FunctionChatRow
({ item, onRename, onDelete, onStar, }: { item: Chat; onRename: () => void; onDelete: () => void
src/app/chats.tsx:21
FunctionChatScreen
()
src/app/index.tsx:214
FunctionChatsScreen
()
src/app/chats.tsx:91
FunctionConversation
({ renderMessage, emptyState, children, }: { /** Render callback for each message – passed to the unde
src/components/chat/conversation.tsx:58
FunctionConversation
({ renderMessage, emptyState, children, }: { renderMessage: (info: { item: ChatMessage }) => ReactElem
src/components/chat/conversation.web.tsx:36
FunctionConversationEmptyState
({ title = "Ready", description, icon = "bubble.left.and.bubble.right", }: { title?: string; descrip
src/components/chat/conversation.tsx:325
FunctionConversationEmptyState
({ title = "How can I help you today?", description, }: { title?: string; description?: string; icon
src/components/chat/conversation.web.tsx:180
FunctionConversationScrollButton
()
src/components/chat/conversation.tsx:302
FunctionConversationScrollButton
()
src/components/chat/conversation.web.tsx:174
FunctionDisclosureRow
({ icon, label, detail, onPress, }: { icon: LucideIcon; label: string; detail: string; onPress
src/components/attachments-content.tsx:86
FunctionDrawerChatItem
({ title, onPress, active, }: { title: string; onPress: () => void; active?: boolean; })
src/components/drawer-content.tsx:62
FunctionDrawerContent
({ onNavigate, onOpenModal, }: { onNavigate: (path: Href) => void; onOpenModal: (path: Href) => void;
src/components/drawer-content.tsx:94
FunctionDrawerDim
({ progress, }: { progress: ReturnType<typeof useDerivedValue<number>>; })
src/components/drawer-layout.tsx:342
FunctionDrawerLayout
({ open, onOpen, onClose, drawerContent, drawerWidth: drawerWidthProp, swipeEnabled = true, chil
src/components/drawer-layout.tsx:65
FunctionDrawerNavItem
({ label, onPress, }: { label: string; onPress: () => void; })
src/components/drawer-content.tsx:43
FunctionDrawerProvider
({ children }: { children: React.ReactNode })
src/components/drawer-content.tsx:22
FunctionEmptySearch
({ query }: { query: string })
src/app/chats.tsx:80
FunctionFallbackAppleGlassView
({ fallbackTint, fallbackIntensity, children, style, className, ...rest }: FallbackAppleGlassViewP
src/components/tw.tsx:34
FunctionForInStatement
(loop)
babel.config.js:67
FunctionFunctionDeclaration
(path)
babel.config.js:61
FunctionGET
()
src/app/api/voice-session+api.ts:21
FunctionGlow
({ state, size }: { state: PersonaState; size: number })
src/components/persona/persona-bubble.tsx:49
FunctionHeaderTitleMenu
()
src/components/main-header.fallback.tsx:8
FunctionHeaderTitleMenu
()
src/components/main-header.swiftui.tsx:22
FunctionIcon
({ icon, className, strokeWidth, style, }: { icon: LucideIcon; className?: string; strokeWidth?:
src/components/icon.web.tsx:14
FunctionIconBase
({ icon: Icon, style, strokeWidth, }: { icon: LucideIcon; style?: any; strokeWidth?: number; cla
src/components/icon.tsx:5
FunctionLeftToolbar
()
src/app/chats.tsx:186
FunctionMainHeader
()
src/components/main-header.fallback.tsx:33
FunctionMainHeader
()
src/components/main-header.swiftui.tsx:88
FunctionMainHeader
()
src/components/main-header.tsx:1
next →1–100 of 171, ranked by callers