MCPcopy Create free account

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

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

↓ 2 callersFunctionparseDimensionInput
(value: string)
src/app/core/main/editor/markdown/image-bubble-menu.tsx:41
↓ 2 callersFunctionparseSkillFile
(content: string)
src/lib/skills/parser.ts:26
↓ 2 callersFunctionperformSync
* 执行实际的同步操作
src/lib/sync/auto-sync.ts:690
↓ 2 callersMethodplayAudioBuffer
* 播放音频数据
src/lib/audio.ts:178
↓ 2 callersFunctionprocessDirectory
(dirPath: string)
src/lib/files.ts:41
↓ 2 callersFunctionprocessQueue
()
src/lib/sync/auto-data-sync-queue.ts:950
↓ 2 callersFunctionprocessTree
(tree: DirTree[])
src/lib/rag.ts:715
↓ 2 callersFunctionpromptUserForResolution
* 提示用户选择冲突解决方案
src/lib/sync/conflict-resolution.ts:244
↓ 2 callersFunctionreadDirRecursively
(dirPath: string, basePath: string, isCustomWorkspace: boolean)
src/stores/article.ts:2479
↓ 2 callersFunctionreadEditorMarkdown
()
src/lib/agent/tool-registry.ts:106
↓ 2 callersFunctionrecognizeImagePath
(path: string, timeoutMs = DEFAULT_OCR_TIMEOUT_MS)
src/lib/ocr.ts:34
↓ 2 callersFunctionremoveNodeFromTree
(tree: DirTree[], relativePath: string)
src/stores/article.ts:172
↓ 2 callersFunctionrenderMarkdownToHtml
(markdown: string, sourcePath?: string, resolveImages = false)
src/app/core/main/editor/markdown/markdown-export.ts:618
↓ 2 callersFunctionrenderSteps
()
src/components/ui/agent-plan.tsx:715
↓ 2 callersFunctionrenderVectorIcon
()
src/app/core/main/file/file-item.tsx:150
↓ 2 callersFunctionreplaceLinesInRange
( content: string, startLine: number, endLine: number, newLines: string[] )
src/lib/agent/react-diff-helpers.ts:5
↓ 2 callersFunctionreportAppStart
()
src/lib/event-report.ts:221
↓ 2 callersFunctionrequestGitHub
(method: string, url: string, body?: object)
src/components/title-bar-toolbars/sync-toggle.tsx:124
↓ 2 callersFunctionrequestGitee
(method: string, url: string, body?: object)
src/components/title-bar-toolbars/sync-toggle.tsx:145
↓ 2 callersFunctionrerankDocuments
( query: string, documents: {id: number, filename: string, content: string, similarity: number}[] )
src/lib/ai/embedding.ts:199
↓ 2 callersFunctionresetRouteStore
()
src/app/not-found.tsx:16
↓ 2 callersFunctionresolveSkillDirectory
( skillDir: string, scope: SkillScope )
src/lib/skills/path-utils.ts:18
↓ 2 callersFunctionrestoreAutoDataSyncLocalRecordSnapshot
( snapshot: AutoDataSyncRecordSnapshot, reason: string )
src/lib/sync/auto-data-sync-queue.ts:1564
↓ 2 callersFunctionretryAutoDataSync
()
src/lib/sync/auto-data-sync-queue.ts:828
↓ 2 callersFunctionreturnToFallback
()
src/app/not-found.tsx:24
↓ 2 callersFunctionroundMs
(value: number)
src/lib/sync/sync-push-queue.ts:61
↓ 2 callersFunctionroundMs
(value: number)
src/app/core/main/editor/markdown/sync/sync-button.tsx:72
↓ 2 callersFunctionrunDeferredEditorCommand
(onSuccess: () => void, onError: (error: unknown) => void)
src/app/core/main/editor/markdown/tiptap-editor.tsx:830
↓ 2 callersFunctionrunInspection
(runtime: RuntimeDefinition)
src/app/core/setting/mcp/runtime-environment-card.tsx:112
↓ 2 callersFunctionrunShellCommand
()
src/lib/skills/runtime.ts:489
↓ 2 callersFunctionsanitizeExportElementAttributes
(root: DocumentFragment | Element)
src/app/core/main/editor/markdown/markdown-export.ts:458
↓ 2 callersFunctionsanitizeFileName
(fileName: string)
src/lib/sync/filename-utils.ts:6
↓ 2 callersFunctionsaveEditorShortcuts
(shortcuts: EditorShortcut[])
src/stores/editor-shortcut.ts:23
↓ 2 callersFunctionsaveFileRecord
(path: string, desc: string, content: string)
src/app/core/main/mark/control-file.tsx:59
↓ 2 callersFunctionsaveStoreBackedEditorContent
(markdown: string)
src/lib/agent/tools/editor-tools.ts:55
↓ 2 callersMethodscheduleFlush
* 防抖调度 - 用户停止输入后执行推送
src/lib/sync/sync-push-queue.ts:186
↓ 2 callersFunctionscheduleProcess
()
src/lib/sync/auto-data-sync-queue.ts:888
↓ 2 callersMethodsearch
* 搜索 * @param query 查询文本 * @param limit 返回结果数量限制 * @returns 排序后的检索结果
src/lib/bm25.ts:142
↓ 2 callersFunctionsearchWithBM25
* BM25 搜索辅助函数 * @param query 查询文本 * @param limit 返回结果数量 * @returns BM25 检索结果
src/lib/rag.ts:432
↓ 2 callersFunctionsetAiSuggestionHighlight
(editor: Editor, range?: AiSuggestionHighlightRange)
src/app/core/main/editor/markdown/ai-suggestion-highlight.ts:43
↓ 2 callersFunctionsetAiSuggestionShortcutVisible
(visible: boolean)
src/lib/ai-suggestion-shortcut-state.ts:3
↓ 2 callersFunctionsetBlurredIfFocusLeftEditor
(view: EditorView)
src/app/core/main/editor/markdown/tiptap-editor.tsx:687
↓ 2 callersFunctionsetFileManagerDragData
(dataTransfer: DataTransfer, path: string)
src/app/core/main/file/file-dnd.ts:53
↓ 2 callersFunctionsetMenuKeyDownHandler
(handler: ((props: { event: KeyboardEvent }) => boolean) | null)
src/app/core/main/editor/markdown/slash-command/suggestion.tsx:878
↓ 2 callersFunctionshouldAutoSyncOnInitialRead
(options?: { isNewFile?: boolean })
src/app/core/main/mark/organize-notes.tsx:65
↓ 2 callersFunctionshouldEmitOrganizeOnboardingComplete
({ streamFinished, aborted, }: { streamFinished: boolean aborted: boolean })
src/app/core/main/mark/organize-onboarding.ts:1
↓ 2 callersFunctionshouldFilterConsoleMessage
(args: unknown[])
src/components/console-filter.tsx:5
↓ 2 callersFunctionshouldLoadRemoteOnTreeRefresh
(options?: { isCreateFlow?: boolean })
src/app/mobile/writing/custom-header.tsx:41
↓ 2 callersFunctionshowSkippedImageToasts
(skipped: { unsupported: string[] oversized: string[] failed: number })
src/app/core/main/chat/chat-input.tsx:293
↓ 2 callersFunctionstringifyMessageContent
(content: unknown)
src/lib/agent/runtime.ts:65
↓ 2 callersFunctionstripLocalLinkFragment
(href: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:197
↓ 2 callersFunctionstripTags
(value: string)
src/lib/ai/sanitize.ts:19
↓ 2 callersFunctionsuggestionItems
(t?: SlashCommandTranslations)
src/app/core/main/editor/markdown/slash-command/suggestion.tsx:363
↓ 2 callersFunctionswitchWorkspace
(path: string)
src/app/core/main/file/file-footer.tsx:68
↓ 2 callersFunctionswitchWorkspace
(path: string)
src/app/core/setting/file/setting-workspace.tsx:48
↓ 2 callersFunctiontoHslString
(value: string)
src/lib/infographic.ts:27
↓ 2 callersFunctiontoMarkdownRelativePath
(currentFilePath: string, targetWorkspacePath: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:289
↓ 2 callersFunctiontoMarkdownRelativePath
(currentFilePath: string, targetWorkspacePath: string)
src/app/core/main/editor/markdown/slash-command/suggestion.tsx:119
↓ 2 callersFunctiontoggleExpanded
(skillId: string)
src/app/core/main/editor/folder/skills-list.tsx:22
↓ 2 callersFunctiontogglePin
()
src/app/core/layout.tsx:178
↓ 2 callersFunctiontoggleStepExpansion
(stepId: string)
src/components/ui/agent-plan.tsx:544
↓ 2 callersMethodtokenize
* 中文友好的分词函数 * 采用混合策略:边界分割 + 过滤单字 + 过滤数字 * * 示例: * "RAG检索增强生成系统用于智能问答" * -> ["RAG", "检索", "增强", "生成", "系统", "用于", "智能", "问答"]
src/lib/bm25.ts:49
↓ 2 callersFunctiontraceDetailClassName
(event: AgentTraceEvent)
src/app/core/main/chat/agent-run-timeline.tsx:163
↓ 2 callersFunctiontransformKey
(key: string)
src/app/core/setting/shortcuts/shorcut-input.tsx:72
↓ 2 callersFunctiontransformQueries
* 转换查询(生成多个变体) * @param keywords 原始关键词列表 * @param enableExpansion 是否启用查询扩展 * @param maxVariants 每个关键词的最大变体数量 * @returns 扩展后的关键词列表
src/lib/rag.ts:315
↓ 2 callersFunctiontrimTrailingSlash
(path: string)
src/app/core/main/mark/mark-open-path.ts:28
↓ 2 callersFunctionuniquePaths
(paths: string[])
src/app/core/main/file/folder-item/delete-folder-utils.ts:48
↓ 2 callersFunctionupdateChat
(chat: Chat)
src/db/chats.ts:244
↓ 2 callersFunctionuploadDirtyAutoDataSyncDomains
(dirtyDomains: AutoDataSyncDomain[], reason: string)
src/lib/sync/auto-data-sync-queue.ts:1441
↓ 2 callersFunctionupsertMemory
( memory: Omit<Memory, 'id' | 'createdAt' | 'updatedAt' | 'accessCount' | 'lastAccessedAt' | 'category'> & {
src/db/memories.ts:101
↓ 2 callersFunctionupsertVectorDocument
(doc: Omit<VectorDocument, 'id'>)
src/db/vector.ts:149
↓ 2 callersFunctionuseUsername
()
src/hooks/use-username.ts:7
↓ 2 callersFunctionvalidateQuotedEditorWrite
( context: AgentContextSnapshot, toolName: string, args: Record<string, unknown> )
src/lib/agent/runtime.ts:242
↓ 2 callersFunctionwebdavListObjects
( config: WebDAVConfig, prefix: string, proxy?: Proxy )
src/lib/sync/webdav.ts:688
↓ 2 callersFunctionwriteDroppedFileToRoot
(deps: RootDropDeps, payload: RootDropPayload)
src/app/core/main/file/root-drop.ts:30
↓ 1 callersMethod_getGiteeFiles
* 获取 Gitee 仓库中所有文件的 SHA(递归获取子目录)
src/lib/sync/folder-sync.ts:293
↓ 1 callersMethod_giteaBatchCommit
* Gitea 批量提交(使用单个文件上传 + 并发) * Gitea API 不支持批量 commit,需要逐个上传文件
src/lib/sync/folder-sync.ts:528
↓ 1 callersMethod_giteeBatchCommit
* Gitee 批量提交 * 注意:Gitee API 不支持真正的批量操作,这里使用并发上传
src/lib/sync/folder-sync.ts:403
↓ 1 callersMethod_githubBatchCommit
* 批量提交多个文件到 GitHub
src/lib/sync/folder-sync.ts:204
↓ 1 callersMethod_gitlabBatchCommit
* GitLab 批量提交(使用 commit with actions)
src/lib/sync/folder-sync.ts:472
↓ 1 callersMethod_s3BatchUpload
* S3 批量上传
src/lib/sync/folder-sync.ts:633
↓ 1 callersMethod_webdavBatchUpload
* WebDAV 批量上传
src/lib/sync/folder-sync.ts:664
↓ 1 callersMethodaddTask
* 添加任务到队列 - 只保留最新的任务 * 每次调用都会重新开始 10 秒计时
src/lib/sync/sync-push-queue.ts:158
↓ 1 callersFunctionaddToHistory
(input: string)
src/app/core/main/chat/chat-input.tsx:225
↓ 1 callersFunctionadvanceStreamingSmoother
( state: SmootherState, targetLength: number, elapsedMs: number, )
src/app/core/main/chat/streaming-smoother.ts:22
↓ 1 callersMethodappendChange
(change: AgentChange)
src/lib/agent/agent-handler.ts:254
↓ 1 callersMethodappendLoadedSkill
(skillId: unknown)
src/lib/agent/agent-handler.ts:222
↓ 1 callersMethodappendStep
(step: AgentStep)
src/lib/agent/agent-handler.ts:245
↓ 1 callersMethodappendTrace
(event: AgentTraceEvent)
src/lib/agent/agent-handler.ts:191
↓ 1 callersFunctionapplyFontSize
()
src/app/core/main/editor/markdown/tiptap-editor.tsx:2108
↓ 1 callersFunctionapplyLineOperation
(lines: string[], operation: EditorTransactionOperation)
src/lib/agent/tool-registry.ts:195
↓ 1 callersFunctionapplyNoteGenDefaultConfig
(aiModelList: AiConfig[], noteGenConfig: AiConfig)
src/lib/ai/notegen-default-models-runtime.ts:230
↓ 1 callersFunctionapplyPendingSearch
()
src/app/core/main/editor/markdown/tiptap-editor.tsx:3036
↓ 1 callersFunctionapplyPreset
(preset: ColorScheme)
src/app/core/setting/general/interface-settings/custom-theme.tsx:78
↓ 1 callersFunctionareMarkCollectionsEquivalent
(left: Mark[], right: Mark[])
src/lib/sync/auto-data-sync-queue.ts:1705
↓ 1 callersFunctionasObject
(input: unknown)
src/lib/agent/tool-registry.ts:50
↓ 1 callersMethodassemble
(context: AgentContextSnapshot, tools: AgentTool[], systemPrompt = DEFAULT_SYSTEM_PROMPT)
src/lib/agent/prompt-assembler.ts:81
↓ 1 callersFunctionassertRemoteRecordsSafeForDownload
( store: Store, provider: AutoDataSyncProvider, mode: 'auto' | 'manual', options: AutoDataSyncDownload
src/lib/sync/auto-data-sync-queue.ts:1472
↓ 1 callersFunctionattachNodeToTree
(tree: DirTree[], relativePath: string, node: DirTree)
src/stores/article.ts:197
↓ 1 callersFunctionaudioBufferToWav
* 将 AudioBuffer 转换为 WAV Blob
src/lib/audio-converter.ts:30
← previousnext →701–800 of 2,812, ranked by callers