MCPcopy Create free account

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

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

↓ 1 callersFunctionfetchRemoteProviderTemplates
(versionCode?: number | null)
src/lib/ai/provider-templates-runtime.ts:182
↓ 1 callersFunctionfilePathFromCreateResult
(input: Record<string, unknown>, result: AgentToolResult)
src/lib/agent/tool-registry.ts:315
↓ 1 callersFunctionfileToBase64
(file: File)
src/lib/sync/github.ts:14
↓ 1 callersFunctionfilterFileTree
(tree: DirTree[], showCloud: boolean)
src/app/core/main/file/file-manager.tsx:49
↓ 1 callersFunctionfilterRAGKeywords
(keywords: {text: string, weight: number}[])
src/app/core/main/chat/chat-send.tsx:75
↓ 1 callersFunctionfilterTimelineEvents
(events: AgentTraceEvent[])
src/app/core/main/chat/agent-run-timeline.tsx:95
↓ 1 callersFunctionfindAndCollect
(_tree: NonNullable<typeof tree>, _targetPath: string)
src/app/core/main/editor/folder/index.tsx:38
↓ 1 callersFunctionfindInTree
(tree: typeof fileTree, targetPath: string)
src/app/core/main/file/index.tsx:56
↓ 1 callersFunctionfindMatchingEditorShortcut
(event: KeyboardEvent, shortcuts: EditorShortcut[])
src/lib/editor-shortcut-utils.ts:164
↓ 1 callersFunctionfindRecentOnboardingFile
({ preferredPath, activeFilePath, openTabPaths, fileTree, }: { preferredPath?: string activeFilePa
src/app/core/main/editor/empty-state-actions.ts:120
↓ 1 callersFunctionfindSelectedModel
()
src/app/core/main/chat/chat-footer.tsx:15
↓ 1 callersFunctionfindSelectedModelDisplay
()
src/app/core/setting/components/model-select.tsx:220
↓ 1 callersMethodfinishRun
(result: AgentRuntimeResult)
src/lib/agent/agent-handler.ts:264
↓ 1 callersFunctionflattenFileTree
(tree: OnboardingFileTreeNode[])
src/app/core/main/editor/empty-state-actions.ts:99
↓ 1 callersFunctionfloatTo16BitPCM
(view: DataView, offset: number, input: Float32Array)
src/lib/audio-converter.ts:89
↓ 1 callersMethodforcePush
* 强制推送文件到远程(忽略 SHA 不匹配) * 用于用户确认后强制覆盖远程文件
src/lib/sync/sync-push-queue.ts:763
↓ 1 callersFunctionformatActiveFile
(context: AgentContextSnapshot)
src/lib/agent/prompt-assembler.ts:43
↓ 1 callersFunctionformatAgentDuration
(duration?: number)
src/app/core/main/chat/agent-display-utils.ts:30
↓ 1 callersFunctionformatAgentTarget
(target: string)
src/app/core/main/chat/agent-display-utils.ts:36
↓ 1 callersFunctionformatDayKey
(timestamp: number, timeZone?: string)
src/lib/activity/aggregate.ts:9
↓ 1 callersFunctionformatDuration
(seconds: number)
src/components/recording-indicator.tsx:16
↓ 1 callersFunctionformatDuration
(seconds: number)
src/components/recording-dialog.tsx:40
↓ 1 callersFunctionformatDuration
(duration?: number)
src/components/ui/agent-plan.tsx:705
↓ 1 callersFunctionformatDuration
(seconds: number)
src/app/core/main/mark/control-recording.tsx:63
↓ 1 callersFunctionformatEntryBucket
(timestamp: number)
src/components/activity/activity-day-detail.tsx:44
↓ 1 callersFunctionformatEntryTime
(timestamp: number)
src/components/activity/activity-day-detail.tsx:51
↓ 1 callersFunctionformatFileSize
(bytes: number)
src/app/core/main/chat/chat-input.tsx:92
↓ 1 callersFunctionformatFileSize
(bytes: number)
src/app/core/main/editor/unsupported-file.tsx:77
↓ 1 callersFunctionformatLastProcessTime
(timestamp: number | null)
src/app/core/main/editor/markdown/footer-bar/vector-calc.tsx:20
↓ 1 callersFunctionformatLastSyncTime
()
src/components/sync-status-badge.tsx:82
↓ 1 callersFunctionformatMcpCatalog
()
src/lib/agent/prompt-assembler.ts:24
↓ 1 callersMethodformatMemoriesForPrompt
* 格式化记忆为系统提示词格式
src/lib/context/loader.ts:115
↓ 1 callersFunctionformatQuote
(context: AgentContextSnapshot)
src/lib/agent/prompt-assembler.ts:55
↓ 1 callersFunctionformatRelativeTime
(timestamp: number, locale: string)
src/app/core/main/chat/chat-header.tsx:25
↓ 1 callersFunctionformatRelativeTime
(timestamp: number, locale: string)
src/app/core/main/chat/chat-empty.tsx:20
↓ 1 callersFunctionformatRelativeTime
(timestamp: number, locale: string)
src/app/mobile/chat/components/mobile-chat-header.tsx:25
↓ 1 callersFunctionformatShortcutForDisplay
(shortcut: string)
src/lib/editor-shortcut-utils.ts:217
↓ 1 callersFunctionformatSkills
(context: AgentContextSnapshot)
src/lib/agent/prompt-assembler.ts:11
↓ 1 callersMethodformatSkillsAsSystemPrompt
* 格式化多个 Skills 为系统提示 * * @param skills - Skills 列表 * @returns 格式化后的系统提示
src/lib/skills/executor.ts:124
↓ 1 callersFunctionformatTime
(date: Date)
src/app/core/main/editor/markdown/sync/sync-button.tsx:426
↓ 1 callersFunctionformatToolCatalog
(tools: AgentTool[])
src/lib/agent/prompt-assembler.ts:5
↓ 1 callersFunctiongenId
()
src/hooks/use-toast.ts:31
↓ 1 callersFunctiongenerateContentHash
* 生成内容哈希值,用于去重
src/lib/rag.ts:44
↓ 1 callersFunctiongenerateCopyFilename
(parentPath: string, originalName: string)
src/lib/default-filename.ts:51
↓ 1 callersFunctiongenerateFilePreview
(filePath: string, isCustom: boolean, preferEditorContent: boolean = false)
src/app/core/main/chat/chat-input.tsx:856
↓ 1 callersFunctiongenerateNonce
* 生成随机 Nonce(至少16位)
src/lib/event-report.ts:79
↓ 1 callersMethodgenerateRecordId
* 生成记录 ID
src/lib/skills/executor.ts:540
↓ 1 callersFunctiongenerateRecordImageThumbnail
(imagePath: string, maxSize: number)
src/lib/record-image-thumbnail.ts:133
↓ 1 callersFunctiongenerateSignature
* 生成请求签名 * 签名规则:MD5(body=${body}&nonce=${nonce}&secretKey=${secretKey}&timestamp=${timestamp}&url=${url})
src/lib/event-report.ts:89
↓ 1 callersFunctiongenerateSkillId
(directoryName: string)
src/lib/skills/parser.ts:352
↓ 1 callersFunctiongenerateUUID
* 生成 UUID
src/db/memories.ts:61
↓ 1 callersFunctiongenerateUniqueFilename
(parentPath: string = '', baseName: string = 'Untitled')
src/lib/default-filename.ts:10
↓ 1 callersFunctiongetActiveOcrProvider
()
src/lib/ocr-packages.ts:32
↓ 1 callersFunctiongetActiveOcrProviderId
()
src/lib/ocr-packages.ts:26
↓ 1 callersFunctiongetActualLayout
()
src/app/core/main/page.tsx:133
↓ 1 callersFunctiongetAdaptiveCharsPerSecond
(backlog: number)
src/app/core/main/chat/streaming-smoother.ts:15
↓ 1 callersMethodgetAll
()
src/db/vector.ts:35
↓ 1 callersFunctiongetAllActivityEvents
()
src/db/activity.ts:88
↓ 1 callersFunctiongetAllConversations
()
src/db/conversations.ts:118
↓ 1 callersFunctiongetAllFolderPaths
(tree: DirTree[], parentPath: string = '')
src/stores/article.ts:1783
↓ 1 callersFunctiongetAllVectorDocumentFilenames
()
src/db/vector.ts:259
↓ 1 callersFunctiongetAppVersion
()
src/lib/sync/auto-data-sync-queue.ts:2175
↓ 1 callersFunctiongetAutoDataSyncBadgeVariant
()
src/components/title-bar-toolbars/sync-toggle.tsx:564
↓ 1 callersFunctiongetAutoDataSyncDelay
()
src/lib/sync/auto-data-sync-queue.ts:843
↓ 1 callersFunctiongetAutoDataSyncMetaCheckInterval
()
src/lib/sync/auto-data-sync-queue.ts:904
↓ 1 callersFunctiongetAutoDataSyncStatusText
()
src/components/title-bar-toolbars/sync-toggle.tsx:537
↓ 1 callersFunctiongetAvailability
(task: SpeechTask, capabilities: SpeechCapabilities)
src/lib/speech/resolver.ts:3
↓ 1 callersFunctiongetAvailableOutputPath
(folder: string, rawTitle: string, isCustomWorkspace: boolean)
src/app/core/main/mark/organize-notes.tsx:103
↓ 1 callersFunctiongetAvatarUrl
()
src/components/app-footbar.tsx:205
↓ 1 callersFunctiongetBM25Index
()
src/lib/bm25.ts:259
↓ 1 callersFunctiongetBackupMethodStatus
({ primaryBackupMethod, syncRepoState, giteeSyncRepoState, gitlabSyncProjectState, giteaSyncRepoStat
src/app/mobile/setting/components/mobile-me-helpers.ts:167
↓ 1 callersFunctiongetBackupProviderName
(primaryBackupMethod: SyncProvider)
src/app/mobile/setting/components/mobile-me-helpers.ts:200
↓ 1 callersFunctiongetBannerTitle
( phase: AutoDataSyncPhase, showSuccess: boolean, t: ReturnType<typeof useTranslations> )
src/components/record-sync-status-banner.tsx:100
↓ 1 callersFunctiongetBatchLinkedFileReadPlan
( filePaths: string[], linkedResource: { relativePath?: string; name?: string; path?: string } )
src/lib/agent/tools/note-tools.ts:41
↓ 1 callersFunctiongetBrowserTimeZone
()
src/lib/activity/index.ts:7
↓ 1 callersFunctiongetChangedSyncableSettingKeys
(current: SettingState, previous: SettingState)
src/stores/setting.ts:288
↓ 1 callersFunctiongetChildrenByPath
(tree: DirTree[], path: string)
src/app/mobile/writing/browser-utils.ts:32
↓ 1 callersFunctiongetCommitUrl
(sha: string)
src/app/core/main/editor/markdown/sync/history-sheet.tsx:117
↓ 1 callersFunctiongetCompletionFeedbackMode
( completedStep: OnboardingStepId, activeStep: OnboardingStepId | null )
src/app/core/main/editor/onboarding-state.ts:84
↓ 1 callersMethodgetConfig
* 获取配置
src/lib/sync/sync-manager.ts:172
↓ 1 callersMethodgetContextForQuery
* 获取查询的相关记忆 * - 偏好类记忆:始终包含 * - 记忆类:通过嵌入相似度匹配(阈值 0.7)
src/lib/context/loader.ts:47
↓ 1 callersFunctiongetCreateOnlyExistingActiveFile
(context: AgentContextSnapshot)
src/lib/agent/runtime.ts:214
↓ 1 callersFunctiongetCroppedPngBytes
(cropper: Cropper)
src/app/core/main/mark/control-scan.tsx:66
↓ 1 callersFunctiongetCurrentActivityStreak
(data: ActivityCalendarData | null)
src/app/mobile/setting/components/mobile-me-helpers.ts:68
↓ 1 callersFunctiongetCurrentSyncState
()
src/app/core/setting/sync/page.tsx:85
↓ 1 callersFunctiongetCurrentSyncState
(platform: SyncPlatform)
src/app/mobile/setting/pages/sync/page.tsx:103
↓ 1 callersFunctiongetCurrentWeekActivityCount
(data: ActivityCalendarData | null)
src/app/mobile/setting/components/mobile-me-helpers.ts:52
↓ 1 callersFunctiongetDayLabel
(day: string)
src/app/mobile/record/mobile-record-stream.tsx:226
↓ 1 callersFunctiongetDefaultLayout
(layoutKey: string)
src/app/core/main/page.tsx:13
↓ 1 callersFunctiongetDefaultRange
()
src/lib/activity/index.ts:11
↓ 1 callersFunctiongetDeviceId
* 获取设备唯一标识 * - 桌面端:使用硬件唯一标识(machine-uid) * - 移动端:使用 UUID 并持久化存储(应用卸载后会重置)
src/lib/event-report.ts:130
↓ 1 callersFunctiongetDifferentExplicitTargetFile
(context: AgentContextSnapshot)
src/lib/agent/runtime.ts:200
↓ 1 callersFunctiongetDisplayText
()
src/app/core/main/chat/quote-display.tsx:29
↓ 1 callersFunctiongetDroppedFileMarkdownLinks
(dataTransfer: DataTransfer, currentFilePath: string)
src/app/core/main/editor/markdown/tiptap-editor.tsx:426
↓ 1 callersFunctiongetDroppedFilePath
(file: File)
src/app/core/main/editor/markdown/tiptap-editor.tsx:343
↓ 1 callersFunctiongetEditorContentContainerClass
(options: { centeredContent: boolean isMobile: boolean outlineOpen?: boolean outlinePosition?: 'left'
src/lib/editor-layout-styles.ts:1
↓ 1 callersFunctiongetEditorSelectionFallbackResult
()
src/lib/agent/tools/editor-tools.ts:62
↓ 1 callersFunctiongetEditorShortcutDefinition
(id: EditorShortcutCommandId)
src/config/editor-shortcuts.ts:85
↓ 1 callersFunctiongetEmbeddingModelInfo
* 获取嵌入模型信息
src/lib/ai/embedding.ts:24
↓ 1 callersFunctiongetEntryBodyText
(entry: ActivityEntry)
src/components/activity/activity-day-detail.tsx:62
← previousnext →1,001–1,100 of 2,812, ranked by callers