MCPcopy Create free account

hub / github.com/codexu/note-gen / functions

Functions2,812 in github.com/codexu/note-gen

↓ 1 callersFunctioncopyMarkdownFilesRecursively
( sourceDir: string, targetDir: string, relativePath: string = '' )
src/app/core/main/file/file-actions.tsx:24
↓ 1 callersFunctioncosineSimilarity
(vecA: number[], vecB: number[])
src/db/vector.ts:228
↓ 1 callersMethodcosineSimilarity
* 计算余弦相似度
src/lib/context/loader.ts:22
↓ 1 callersFunctioncountFiles
(node: DirTree)
src/app/core/main/file/folder-item/index.tsx:126
↓ 1 callersFunctioncreateAttachmentFromBlob
(blob: Blob, name: string, source: 'file' | 'paste')
src/app/core/main/chat/chat-input.tsx:367
↓ 1 callersFunctioncreateConversation
(title: string)
src/db/conversations.ts:107
↓ 1 callersFunctioncreateCustomAiInstructionCommand
()
src/app/core/main/editor/markdown/slash-command/suggestion.tsx:248
↓ 1 callersFunctioncreateCustomLanguageOption
(language: string)
src/app/core/main/editor/markdown/code-block-view.tsx:73
↓ 1 callersFunctioncreateImageRepo
(name: string, isPrivate?: boolean)
src/lib/imageHosting/github.ts:10
↓ 1 callersFunctioncreateMarkdownLink
(href: string, label: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:339
↓ 1 callersFunctioncreateMarkdownLink
(href: string, label: string)
src/app/core/main/editor/markdown/slash-command/suggestion.tsx:165
↓ 1 callersFunctioncreateMarkdownLinksForDroppedPaths
(files: DroppedFileLink[], currentFilePath: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:396
↓ 1 callersFunctioncreateMarkdownLinksForFilePaths
(paths: string[], currentFilePath: string)
src/app/core/main/editor/markdown/slash-command/suggestion.tsx:217
↓ 1 callersFunctioncreateNewNoteFromEmptyState
({ setLeftSidebarTab, newFile, }: { setLeftSidebarTab: (tab: 'files' | 'notes') => void | Promise<void>
src/app/core/main/editor/empty-state-actions.ts:1
↓ 1 callersFunctioncreatePdfRenderFrame
(content: string)
src/app/core/main/editor/markdown/markdown-export.ts:507
↓ 1 callersFunctioncreateQuickWriteFile
()
src/components/mobile-record-tools.tsx:32
↓ 1 callersFunctioncreateStreamingIterable
( request: { config: ReturnType<typeof normalizeConfig> requestId: string body: unknown }, s
src/lib/ai/tauri-client.ts:209
↓ 1 callersFunctioncreateSyncProject
(name: string, isPrivate: boolean = true)
src/lib/sync/gitlab.ts:626
↓ 1 callersFunctioncreateSyncRepo
(name: string, isPrivate: boolean = true)
src/lib/sync/gitea.ts:693
↓ 1 callersFunctioncreateSyncRepo
(name: string, isPrivate?: boolean)
src/lib/sync/github.ts:375
↓ 1 callersFunctioncreateSyncRepo
(name: string, isPrivate?: boolean)
src/lib/sync/gitee.ts:561
↓ 1 callersFunctioncreateThumbnailBlob
(image: HTMLImageElement, maxSize: number)
src/lib/record-image-thumbnail.ts:109
↓ 1 callersFunctioncreateUntitledFile
(content: string)
src/app/core/main/editor/markdown/md-editor-wrapper.tsx:329
↓ 1 callersFunctiondedupeGroupEntries
(entries: ActivityEntry[])
src/components/activity/activity-day-detail.tsx:74
↓ 1 callersFunctiondelay
(ms: number)
src/lib/agent/recovery-manager.ts:4
↓ 1 callersFunctiondeleteAllChats
()
src/db/chats.ts:235
↓ 1 callersFunctiondeleteAllMarks
()
src/db/marks.ts:192
↓ 1 callersFunctiondeleteAllTags
()
src/db/tags.ts:99
↓ 1 callersMethoddeleteByFilename
(filename: string)
src/db/vector.ts:106
↓ 1 callersFunctiondeleteChats
(ids: number[])
src/db/chats.ts:290
↓ 1 callersFunctiondeleteFolder
(entry: FileSelectionEntry, tree: DirTree[])
src/app/core/main/file/file-manager.tsx:369
↓ 1 callersFunctiondeleteGitRemoteFile
(platform: GitSyncPlatform, entry: RemoteContentEntry, repo: string)
src/app/core/main/file/folder-item/delete-folder-utils.ts:244
↓ 1 callersFunctiondeleteGitRemoteFolder
( platform: GitSyncPlatform, folderPath: string, loadedFileEntries: RemoteContentEntry[] )
src/app/core/main/file/folder-item/delete-folder-utils.ts:272
↓ 1 callersFunctiondeleteLocalFile
(entry: FileSelectionEntry, tree: DirTree[])
src/app/core/main/file/file-manager.tsx:343
↓ 1 callersFunctiondeleteMarkLocalAsset
(mark: Pick<Mark, 'type' | 'url'>)
src/db/marks.ts:58
↓ 1 callersMethoddeleteRemoteFile
* 删除远程文件
src/lib/sync/sync-manager.ts:396
↓ 1 callersFunctiondeleteS3RemoteFolder
(config: S3Config, folderPath: string, loadedFilePaths: string[])
src/app/core/main/file/folder-item/delete-folder-utils.ts:306
↓ 1 callersFunctiondeleteTemplateHandler
(id: string)
src/app/core/setting/template/setting-template.tsx:84
↓ 1 callersFunctiondeleteWebDAVRemoteFolder
(config: WebDAVConfig, folderPath: string)
src/app/core/main/file/folder-item/delete-folder-utils.ts:329
↓ 1 callersFunctiondetectAndHandleConflict
( filePath: string, localContent: string, remoteContent: string, strategy?: ConflictResolutionStrategy
src/lib/sync/conflict-resolution.ts:138
↓ 1 callersFunctiondetectImageExtension
(bytes: Uint8Array)
src/app/core/main/mark/control-image.tsx:85
↓ 1 callersFunctiondetectNodePackageManager
(workingDirectory: string)
src/lib/skills/dependency-installer.ts:132
↓ 1 callersFunctiondetectPlatform
()
src/app/core/main/file/folder-item/index.tsx:718
↓ 1 callersFunctiondetectScriptType
(filename: string, content?: string)
src/lib/skills/parser.ts:421
↓ 1 callersFunctiondetermineWorkingDirectory
( context: SkillRuntimeContext, command: string, processedArgs: string[] )
src/lib/skills/runtime.ts:300
↓ 1 callersMethoddisconnectAll
* 断开所有服务器
src/lib/mcp/server-manager.ts:208
↓ 1 callersMethoddiscoverGlobalSkills
* 发现全局 Skills
src/lib/skills/manager.ts:121
↓ 1 callersMethoddiscoverProjectSkills
* 发现工作区 Skills
src/lib/skills/manager.ts:97
↓ 1 callersMethoddiscoverSkills
* 发现并加载所有 Skills
src/lib/skills/manager.ts:86
↓ 1 callersFunctiondismiss
()
src/hooks/use-toast.ts:154
↓ 1 callersFunctiondownloadTextFile
(content: string, filename: string, mimeType: string)
src/app/core/main/editor/markdown/markdown-export.ts:280
↓ 1 callersFunctiondropRedundantFrontTasks
(domain: AutoDataSyncDomain, taskStartedAt: number)
src/lib/sync/auto-data-sync-queue.ts:1111
↓ 1 callersFunctionemitShortcutEvent
(key: string)
src/stores/shortcut.ts:33
↓ 1 callersFunctionencodePath
(path: string)
src/lib/sync/remote-file.ts:1
↓ 1 callersFunctionenqueueAllAutoDataSync
(reason = 'manual-sync', mode: 'auto' | 'manual' = 'manual')
src/lib/sync/auto-data-sync-queue.ts:369
↓ 1 callersFunctionensureAutoDataSyncRemoteDataPath
()
src/lib/sync/auto-data-sync-queue.ts:2196
↓ 1 callersFunctionensureDebugBuffer
()
src/lib/agent/debug-log.ts:66
↓ 1 callersFunctionensureDependencyForCommand
( request: DependencyInstallRequest )
src/lib/skills/dependency-installer.ts:271
↓ 1 callersFunctionensureDirectoryExists
* 确保目录存在,如果不存在则创建
src/lib/image-handler.ts:173
↓ 1 callersFunctionensureImageAttachmentDir
()
src/app/core/main/chat/chat-input.tsx:354
↓ 1 callersFunctionensureInfographicContainer
(element: HTMLElement)
src/lib/infographic.ts:106
↓ 1 callersFunctionensureOcrTempDir
()
src/lib/ocr.ts:28
↓ 1 callersFunctionensureParentDirsExist
* 创建所有父目录
src/lib/sync/webdav.ts:394
↓ 1 callersFunctionensurePreferredHeading
(content: string, title: string)
src/app/core/main/mark/organize-notes.tsx:91
↓ 1 callersFunctionensureThumbnailDir
()
src/lib/record-image-thumbnail.ts:61
↓ 1 callersFunctionenterFolder
(path: string)
src/app/mobile/writing/custom-header.tsx:337
↓ 1 callersFunctionescapeHtmlAttribute
(value: string)
src/app/core/main/editor/markdown/markdown-export.ts:276
↓ 1 callersFunctionescapeMarkdownLinkText
(text: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:331
↓ 1 callersFunctionescapeMarkdownLinkText
(text: string)
src/app/core/main/editor/markdown/slash-command/suggestion.tsx:161
↓ 1 callersMethodevaluate
( tool: AgentTool, input: Record<string, unknown>, context?: AgentContextSnapshot )
src/lib/agent/permission-engine.ts:51
↓ 1 callersFunctioneventIcon
(event: AgentTraceEvent)
src/app/core/main/chat/agent-run-timeline.tsx:30
↓ 1 callersMethodexecuteScriptByType
* 根据脚本类型执行脚本
src/lib/skills/executor.ts:249
↓ 1 callersFunctionexecuteSkillRuntime
( request: SkillExecutionRequest )
src/lib/skills/runtime.ts:457
↓ 1 callersFunctionexpandWithSynonyms
* 基于同义词词典扩展查询 * @param query 原始查询 * @param maxVariants 最大变体数量 * @returns 查询变体列表
src/lib/rag.ts:269
↓ 1 callersFunctionexportMarkdownFile
( format: MarkdownExportFormat, filePath: string, options?: MarkdownExportOptions, )
src/app/core/main/editor/markdown/markdown-export.ts:749
↓ 1 callersMethodextractKeywords
* 从描述中提取关键词
src/lib/skills/manager.ts:722
↓ 1 callersFunctionextractTextFromPDF
( filePath: string, onProgress?: (progress: string) => void )
src/lib/pdf.ts:38
↓ 1 callersFunctionextractTextWithOCR
* 使用 OCR 从 PDF 中提取文本(用于图片型 PDF)
src/lib/pdf.ts:136
↓ 1 callersFunctionextractTitle
(step: DisplayStep)
src/components/ui/agent-plan.tsx:603
↓ 1 callersFunctionextractTitle
(content: string)
src/lib/markdown.ts:2
↓ 1 callersFunctionextractTitle
(text: string)
src/app/core/main/chat/chat-thinking.tsx:35
↓ 1 callersFunctionextractTitleFromPath
(path: string)
src/components/search-dialog.tsx:70
↓ 1 callersFunctionfetchAiConciseStream
( text: string, onChunk: (chunk: string, isFirst: boolean) => void, abortSignal?: AbortSignal, onThink
src/lib/ai/rewrite.ts:212
↓ 1 callersFunctionfetchAiDescByImage
(base64: string)
src/lib/ai/description.ts:40
↓ 1 callersFunctionfetchAiExpandStream
( text: string, onChunk: (chunk: string, isFirst: boolean) => void, abortSignal?: AbortSignal, onThink
src/lib/ai/rewrite.ts:294
↓ 1 callersFunctionfetchAiPolishStream
( text: string, onChunk: (chunk: string, isFirst: boolean) => void, abortSignal?: AbortSignal, onThink
src/lib/ai/rewrite.ts:130
↓ 1 callersFunctionfetchAiQuickPrompts
(text: string)
src/lib/ai/placeholder.ts:98
↓ 1 callersFunctionfetchAiStream
( text: string, onUpdate: (content: string) => void, abortSignal?: AbortSignal, mcpTools?: any[], t?
src/lib/ai/chat.ts:53
↓ 1 callersFunctionfetchAiTranslate
(text: string, targetLanguage: string)
src/lib/ai/translate.ts:17
↓ 1 callersFunctionfetchAiTranslateStream
( text: string, targetLanguage: string, onChunk: (chunk: string, isFirst: boolean) => void, abortSigna
src/lib/ai/translate.ts:47
↓ 1 callersFunctionfetchAudioSpeech
(text: string, customVoice?: string, customSpeed?: number)
src/lib/audio.ts:83
↓ 1 callersFunctionfetchAudioTranscription
(audioBlob: Blob)
src/lib/audio.ts:387
↓ 1 callersFunctionfetchCompletion
(context: string, abortSignal?: AbortSignal)
src/lib/ai/completion.ts:121
↓ 1 callersFunctionfetchCompletionStream
( context: string, onChunk: (chunk: string, isFirst: boolean) => void, abortSignal?: AbortSignal )
src/lib/ai/completion.ts:169
↓ 1 callersFunctionfetchContents
()
src/app/core/main/editor/markdown/sync/conflict-dialog.tsx:85
↓ 1 callersFunctionfetchData
()
src/app/core/main/mark/tag-manage.tsx:289
↓ 1 callersFunctionfetchEditorAiGenerationStream
( request: EditorAiGenerationRequest, onChunk: (chunk: string, isFirst: boolean) => void, abortSignal?:
src/lib/ai/completion.ts:235
↓ 1 callersFunctionfetchFullPath
()
src/app/core/main/editor/unsupported-file.tsx:31
↓ 1 callersFunctionfetchMetadata
()
src/app/core/main/editor/unsupported-file.tsx:49
↓ 1 callersFunctionfetchRemoteNoteGenDefaultModels
(versionCode?: number | null)
src/lib/ai/notegen-default-models-runtime.ts:169
← previousnext →901–1,000 of 2,812, ranked by callers