MCPcopy Create free account

hub / github.com/ammaarreshi/gemma-chat / functions

Functions130 in github.com/ammaarreshi/gemma-chat

↓ 22 callersFunctionemit
(chunk: StreamChunk)
src/main/index.ts:158
↓ 17 callersFunctionsend
(channel: string, payload: unknown)
src/main/index.ts:80
↓ 9 callersFunctionensureWorkspace
(conversationId: string)
src/main/workspace.ts:23
↓ 5 callersFunctionupdateActive
(fn: (c: Conversation) => Conversation)
src/renderer/src/components/Chat.tsx:77
↓ 4 callersFunctionassertInWorkspace
(base: string, target: string)
src/main/workspace.ts:29
↓ 4 callersFunctionvenvDir
()
src/main/mlx.ts:21
↓ 4 callersFunctionworkspaceDir
(conversationId: string)
src/main/workspace.ts:15
↓ 4 callersFunctionwsWriteFile
( conversationId: string, path: string, content: string )
src/main/workspace.ts:270
↓ 3 callersFunctionescapeHtml
(s: string)
src/main/workspace.ts:220
↓ 3 callersFunctionnewConversation
(mode: AgentMode = 'code')
src/renderer/src/components/Chat.tsx:44
↓ 3 callersFunctionpreviewUrl
(conversationId: string)
src/main/workspace.ts:174
↓ 3 callersFunctionrunProcess
Run a subprocess and stream output to onProgress
src/main/mlx.ts:224
↓ 3 callersFunctionstopServer
()
src/main/mlx.ts:347
↓ 2 callersFunctioncleanFileContent
(raw: string, path: string)
src/main/tools.ts:144
↓ 2 callersFunctioncreateWindow
()
src/main/index.ts:39
↓ 2 callersFunctiondataDir
()
src/main/mlx.ts:17
↓ 2 callersFunctionfindSystemPython
* Find a compatible system Python (3.10–3.13). * We explicitly skip 3.14+ because mlx-lm doesn't publish wheels for it yet. * We try versioned binar
src/main/mlx.ts:43
↓ 2 callersFunctionformatBytes
(n?: number)
src/renderer/src/components/Setup.tsx:11
↓ 2 callersFunctionlistLocalModels
()
src/main/mlx.ts:394
↓ 2 callersFunctionlistTree
(base: string, max = 200)
src/main/workspace.ts:234
↓ 2 callersFunctionlocateMLX
()
src/main/mlx.ts:113
↓ 2 callersFunctionmodelsDir
()
src/main/mlx.ts:30
↓ 2 callersFunctionnewId
(prefix: string)
src/renderer/src/components/Chat.tsx:55
↓ 2 callersFunctionreadFile
(args: Record<string, unknown>, ctx: ToolContext)
src/main/tools.ts:180
↓ 2 callersFunctionrefreshFiles
()
src/renderer/src/components/Canvas.tsx:76
↓ 2 callersFunctionrenderToolHelp
(mode: 'chat' | 'code')
src/main/tools.ts:367
↓ 2 callersFunctionsanitizeId
(id: string)
src/main/workspace.ts:19
↓ 2 callersFunctionstartServer
( python: string, model: string, onProgress?: (p: ServerProgress) => void )
src/main/mlx.ts:269
↓ 2 callersFunctionstripTags
(s: string)
src/main/tools.ts:71
↓ 2 callersFunctiontz
()
src/main/tools.ts:359
↓ 2 callersFunctionvenvPython
The python binary inside our managed venv
src/main/mlx.ts:26
↓ 2 callersFunctionworkspacesRoot
()
src/main/workspace.ts:11
↓ 2 callersFunctionwsReadFile
(conversationId: string, path: string)
src/main/workspace.ts:284
↓ 1 callersFunctionactionTarget
(_name: string, args: Record<string, unknown>)
src/main/index.ts:145
↓ 1 callersFunctionchatStream
( opts: MLXChatOptions )
src/main/mlx.ts:431
↓ 1 callersFunctionchatSystemPrompt
(enableTools: boolean)
src/main/tools.ts:391
↓ 1 callersFunctioncodeSystemPrompt
(workspacePath: string, previewHref: string)
src/main/tools.ts:426
↓ 1 callersFunctioncreateConversation
(mode: AgentMode = 'code')
src/renderer/src/components/Chat.tsx:81
↓ 1 callersFunctionemitActivity
()
src/main/index.ts:237
↓ 1 callersFunctionemitSafeBoundary
(buffer: string, from: number)
src/main/tools.ts:562
↓ 1 callersFunctionensureMLXRunning
(model: string)
src/main/index.ts:86
↓ 1 callersFunctionescapeHtml
(s: string)
src/renderer/src/components/Message.tsx:387
↓ 1 callersFunctionfindNextAction
(text: string, from = 0)
src/main/tools.ts:508
↓ 1 callersFunctionformatElapsed
(sec: number)
src/renderer/src/components/Message.tsx:222
↓ 1 callersFunctionformatSize
(n: number)
src/renderer/src/components/Canvas.tsx:345
↓ 1 callersFunctionformatTime
(seconds: number)
src/renderer/src/components/Composer.tsx:270
↓ 1 callersFunctiongetTranscriber
( onProgress?: ProgressCb )
src/renderer/src/lib/whisper.ts:14
↓ 1 callersFunctiongetWorkspaceServerPort
()
src/main/workspace.ts:170
↓ 1 callersFunctionhandleChat
(req: ChatRequest, channel: string)
src/main/index.ts:154
↓ 1 callersFunctionhandleSend
(input: string)
src/renderer/src/components/Chat.tsx:111
↓ 1 callersFunctionhandleSetup
(model: string)
src/main/index.ts:128
↓ 1 callersFunctionhtmlToText
(html: string)
src/main/tools.ts:102
↓ 1 callersFunctioninstallMLX
( onProgress: (p: InstallProgress) => void )
src/main/mlx.ts:175
↓ 1 callersFunctionloadConversations
()
src/renderer/src/components/Chat.tsx:25
↓ 1 callersFunctionmixToMono
(buf: AudioBuffer)
src/renderer/src/lib/whisper.ts:77
↓ 1 callersFunctionparseActionBody
(body: string)
src/main/tools.ts:530
↓ 1 callersFunctionparseDuckDuckGoResults
( html: string )
src/main/tools.ts:43
↓ 1 callersFunctionparseThinking
(content: string)
src/renderer/src/components/Message.tsx:19
↓ 1 callersFunctionpickMime
()
src/renderer/src/components/Composer.tsx:276
↓ 1 callersFunctionreadSSE
Parse an SSE byte stream into individual data payloads
src/main/mlx.ts:485
↓ 1 callersFunctionrenderDirList
( id: string, rel: string, files: Array<{ name: string; kind: string }> )
src/main/workspace.ts:194
↓ 1 callersFunctionrenderPlaceholder
(_id: string)
src/main/workspace.ts:178
↓ 1 callersFunctionresampleLinear
(input: Float32Array, fromRate: number, toRate: number)
src/renderer/src/lib/whisper.ts:88
↓ 1 callersFunctionrunTool
( name: string, args: Record<string, unknown>, ctx: ToolContext )
src/main/tools.ts:581
↓ 1 callersFunctionsaveConversations
(cs: Conversation[])
src/renderer/src/components/Chat.tsx:36
↓ 1 callersFunctionstartRecording
()
src/renderer/src/components/Composer.tsx:56
↓ 1 callersFunctionstartWorkspaceServer
()
src/main/workspace.ts:64
↓ 1 callersFunctionstopRecording
()
src/renderer/src/components/Composer.tsx:121
↓ 1 callersFunctionstopWorkspaceServer
()
src/main/workspace.ts:162
↓ 1 callersFunctionsubmit
()
src/renderer/src/components/Composer.tsx:42
↓ 1 callersFunctiontoolIcon
(name: string)
src/renderer/src/components/Message.tsx:290
↓ 1 callersFunctiontoolLabel
(call: ToolCall)
src/renderer/src/components/Message.tsx:262
↓ 1 callersFunctiontoolVerb
(name: string)
src/renderer/src/components/Message.tsx:195
↓ 1 callersFunctiontranscribeAudioBlob
( blob: Blob, onProgress?: ProgressCb )
src/renderer/src/lib/whisper.ts:48
↓ 1 callersFunctionwaitForHealth
* Poll the server's /v1/models endpoint until it responds. * If the server process exits early, throw immediately.
src/main/mlx.ts:360
↓ 1 callersFunctionwalk
(dir: string, prefix: string)
src/main/workspace.ts:236
↓ 1 callersFunctionwanted
(t: ToolSpec)
src/main/tools.ts:368
↓ 1 callersFunctionwriteFile
(args: Record<string, unknown>, ctx: ToolContext)
src/main/tools.ts:133
↓ 1 callersFunctionwriteLivePartial
()
src/main/index.ts:209
↓ 1 callersFunctionwsDeleteFile
(conversationId: string, path: string)
src/main/workspace.ts:316
↓ 1 callersFunctionwsEditFile
( conversationId: string, path: string, oldString: string, newString: string, replaceAll = false )
src/main/workspace.ts:290
↓ 1 callersFunctionwsRunBash
( conversationId: string, command: string, timeoutMs = 60_000, maxBytes = 16_000 )
src/main/workspace.ts:333
FunctionActivityBar
({ activity, startedAt, toolCalls }: { activity: AgentActivity startedAt: number toolCalls?: ToolC
src/renderer/src/components/Message.tsx:132
FunctionApp
()
src/renderer/src/App.tsx:12
FunctionBootSplash
()
src/renderer/src/App.tsx:131
FunctionCanvas
({ conversationId, streaming, onClose }: Props)
src/renderer/src/components/Canvas.tsx:18
FunctionChat
({ model, onSwitchModel }: Props)
src/renderer/src/components/Chat.tsx:59
FunctionCodeView
({ live }: { live: LiveFile | null })
src/renderer/src/components/Canvas.tsx:195
FunctionComposer
({ onSend, onStop, streaming, disabled, placeholder, model: _model }: Props)
src/renderer/src/components/Composer.tsx:15
FunctionEmptyState
({ mode }: { mode: AgentMode })
src/renderer/src/components/Chat.tsx:527
FunctionFileList
({ files, onOpen }: { files: WorkspaceFile[] onOpen: (path: string) => void })
src/renderer/src/components/Canvas.tsx:300
FunctionGemmaLogo
({ className }: { className?: string })
src/renderer/src/components/Setup.tsx:223
FunctionHeader
({ model, mode, canvasOpen, onToggleMode, onToggleCanvas, onSwitchModel }: { model: string mod
src/renderer/src/components/Chat.tsx:335
FunctionIconButton
({ title, onClick, children }: { title: string onClick: () => void children: React.ReactNode })
src/renderer/src/components/Canvas.tsx:280
FunctionMessage
({ message, streaming, onRegenerate }: Props)
src/renderer/src/components/Message.tsx:35
FunctionMessageList
({ messages, streaming, mode, onRegenerate }: { messages: ChatMessage[] streaming: boolean mode:
src/renderer/src/components/Chat.tsx:469
FunctionMicButton
({ state, seconds, onClick, disabled }: { state: RecState seconds: number onClick: () => void
src/renderer/src/components/Composer.tsx:214
FunctionModePill
({ active, onClick, children }: { active: boolean onClick: () => void children: React.ReactNode })
src/renderer/src/components/Chat.tsx:448
FunctionResizableCanvas
({ conversationId, streaming, onClose }: { conversationId: string streaming: boolean onClose: () =
src/renderer/src/components/Chat.tsx:280
FunctionSetup
({ status, model, onModelChange, onStart }: Props)
src/renderer/src/components/Setup.tsx:23
next →1–100 of 130, ranked by callers