Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanmiCoder/cc-haha
/ functions
Functions
17,500 in github.com/NanmiCoder/cc-haha
⨍
Functions
17,500
◇
Types & classes
494
↓ 5 callers
Function
isTextField
(s: PrimitiveSchemaDefinition)
src/components/mcp/ElicitationDialog.tsx:26
↓ 5 callers
Function
isToolReferenceBlock
(obj: unknown)
src/utils/toolSearch.ts:479
↓ 5 callers
Function
isTouchH5Environment
(env: TouchH5Environment)
desktop/src/lib/touchH5.ts:57
↓ 5 callers
Function
isUltrathinkEnabled
()
src/utils/thinking.ts:20
↓ 5 callers
Function
isUsableBuiltinRipgrepPath
(candidatePath: string)
src/utils/ripgrep.ts:39
↓ 5 callers
Function
isVimModeEnabled
()
src/components/PromptInput/utils.ts:12
↓ 5 callers
Function
isVoiceGrowthBookEnabled
()
src/voice/voiceModeEnabled.ts:16
↓ 5 callers
Method
isWithinRoot
(targetPath: string, rootPath: string)
src/server/services/workspaceService.ts:1224
↓ 5 callers
Function
isWorktreeModeEnabled
()
src/utils/worktreeModeEnabled.ts:9
↓ 5 callers
Function
isXtermJs
()
src/ink/terminal.ts:143
↓ 5 callers
Function
jsonResponse
(body: unknown, status = 200)
desktop/src/lib/trace/callCache.test.ts:30
↓ 5 callers
Function
killDetachedProcessGroup
(pid: number)
src/utils/ShellCommand.ts:56
↓ 5 callers
Function
killSidecar
(child: SidecarChild, sync = false, deps: KillSidecarDeps = {})
desktop/electron/services/sidecarManager.ts:394
↓ 5 callers
Function
lanesForMode
(mode: QualityGateMode, baselineTargets: BaselineTarget[] = [])
scripts/quality-gate/modes.ts:25
↓ 5 callers
Function
listAllCronTasks
(dir?: string)
src/utils/cronTasks.ts:350
↓ 5 callers
Function
loadBrowseDir
(path?: string)
desktop/src/components/shared/DirectoryPicker.tsx:117
↓ 5 callers
Function
loadMcpServerUserConfig
( pluginId: string, serverName: string, )
src/utils/plugins/mcpbHandler.ts:141
↓ 5 callers
Function
loadNetworkSettings
()
src/server/services/networkSettings.ts:153
↓ 5 callers
Method
loadTeamConfig
(name: string)
src/server/services/teamService.ts:288
↓ 5 callers
Function
localFileUrl
(base: string, absPath: string)
src/server/__tests__/h5-access-auth.test.ts:112
↓ 5 callers
Function
logExposureForFeature
* Log experiment exposure for a feature if it has experiment data. * Deduplicates within a session - each feature is logged at most once.
src/services/analytics/growthbook.ts:296
↓ 5 callers
Function
logMemoryDirCounts
* Log memory directory file/subdir counts asynchronously. * Fire-and-forget — doesn't block prompt building.
src/memdir/memdir.ts:153
↓ 5 callers
Function
lt
(a: string, b: string)
src/utils/semver.ts:33
↓ 5 callers
Function
makeAssistantToolUseEntry
( toolUses: Array<{ id: string; name: string; input: Record<string, unknown> }>, parentUuid?: string, )
src/server/__tests__/sessions.test.ts:255
↓ 5 callers
Function
makeBridge
(options?: { currentSessionId?: string | null; open?: boolean; hasSession?: boolean })
adapters/common/__tests__/session-recovery.test.ts:20
↓ 5 callers
Function
makeFakeSocketFactory
()
adapters/whatsapp/__tests__/protocol.test.ts:38
↓ 5 callers
Function
makeMockClient
()
adapters/feishu/__tests__/media.test.ts:8
↓ 5 callers
Function
makeRequest
( method: string, urlStr: string, body?: Record<string, unknown> | string, )
src/server/__tests__/open-target-api.test.ts:9
↓ 5 callers
Function
makeResult
(messagesToKeep?: Message[])
src/services/compact/compact.test.ts:63
↓ 5 callers
Function
makeSession
(overrides: Partial<PerSessionState> = {})
desktop/src/components/chat/StreamingIndicator.test.tsx:28
↓ 5 callers
Function
makeStore
(initial: SessionEntry | null)
adapters/common/__tests__/session-recovery.test.ts:5
↓ 5 callers
Function
makeTempAuthDir
()
adapters/whatsapp/__tests__/protocol.test.ts:56
↓ 5 callers
Function
makeWorktreeStateEntry
( sessionId: string, worktreePath: string, overrides: Record<string, unknown> = {}, )
src/server/__tests__/sessions.test.ts:328
↓ 5 callers
Function
markTerminalSetupComplete
()
src/utils/appleTerminalBackup.ts:15
↓ 5 callers
Function
maybeExpandFilePath
(filePath: string)
src/utils/fileHistory.ts:878
↓ 5 callers
Function
maybeResizeAndDownsampleImageBlock
( imageBlock: ImageBlockParam, )
src/utils/imageResizer.ts:665
↓ 5 callers
Function
methodNotAllowed
(method: string, route: string)
src/server/api/h5-access.ts:7
↓ 5 callers
Method
nextWord
()
src/utils/Cursor.ts:561
↓ 5 callers
Function
normalizeExternalUrl
(target: string)
desktop/electron/services/shell.ts:23
↓ 5 callers
Function
normalizeH5AccessSettings
(settings: H5AccessSettings | undefined)
desktop/src/stores/settingsStore.ts:701
↓ 5 callers
Function
normalizeKeyForComparison
(key: string)
src/keybindings/reservedShortcuts.ts:91
↓ 5 callers
Function
normalizeOsPermissions
(perms: RawOsPermissions)
src/utils/computerUse/permissions.ts:18
↓ 5 callers
Function
normalizeSearch
(value: string)
desktop/src/pages/MemorySettings.tsx:691
↓ 5 callers
Function
normalizeServerUrl
(value: string | null | undefined)
desktop/src/lib/desktopRuntime.ts:320
↓ 5 callers
Function
normalizeSidebarProjectPreferences
(value: unknown)
src/server/services/desktopUiPreferencesService.ts:87
↓ 5 callers
Function
normalizeStoredSettings
(value: unknown)
src/server/services/h5AccessService.ts:548
↓ 5 callers
Function
notificationPermissionState
( NotificationClass: ElectronNotificationConstructor, )
desktop/electron/services/notifications.ts:26
↓ 5 callers
Function
okRepositoryContext
(overrides: Partial<RepositoryContextResult> = {})
desktop/src/pages/EmptySession.test.tsx:143
↓ 5 callers
Method
onClose
()
adapters/common/ws-bridge.ts:246
↓ 5 callers
Method
onData
(handler: (data: string) => void)
desktop/electron/services/terminal.test.ts:40
↓ 5 callers
Function
onEnd
()
src/utils/process.ts:61
↓ 5 callers
Function
onResume
(sessionId: UUID, log: LogOption, entrypoint: ResumeEntrypoint)
src/commands/resume/resume.tsx:195
↓ 5 callers
Function
openDesktopNotificationSettings
()
desktop/src/lib/desktopNotifications.ts:262
↓ 5 callers
Function
openaiResponsesStreamToAnthropic
( upstream: ReadableStream<Uint8Array>, model: string, )
src/server/proxy/streaming/openaiResponsesStreamToAnthropic.ts:27
↓ 5 callers
Function
parseArithCommaList
Top-level: comma-separated list. arithmetic_expansion emits multiple children.
src/utils/bash/bashParser.ts:4138
↓ 5 callers
Function
parseChangedLinesFromDiff
(diff: string)
scripts/quality-gate/coverage.ts:448
↓ 5 callers
Function
parseGitConfigValue
( gitDir: string, section: string, subsection: string | null, key: string, )
src/utils/git/gitConfigParser.ts:18
↓ 5 callers
Function
parseGitHubRepository
(input: string)
src/utils/detectRepository.ts:132
↓ 5 callers
Function
parseJsonBody
(req: Request)
src/server/api/providers.ts:218
↓ 5 callers
Function
parseMcpConfigFromFilePath
(params: { filePath: string expandVars: boolean scope: ConfigScope })
src/services/mcp/config.ts:1392
↓ 5 callers
Function
parseNotificationSmokeDelay
(value: string | undefined)
desktop/electron/services/notificationSmoke.ts:58
↓ 5 callers
Function
parseSlashCommand
(input: string)
src/utils/slashCommandParsing.ts:25
↓ 5 callers
Function
parseSlashCommandToolsFromFrontmatter
( toolsValue: unknown, )
src/utils/markdownConfigLoader.ts:132
↓ 5 callers
Function
permissionModeTitle
(mode: PermissionMode)
src/utils/permissions/PermissionMode.ts:123
↓ 5 callers
Function
persistSessionRuntimeConfig
( sessionId: string, runtime: { providerId: string | null; modelId: string; effort?: string }, )
src/server/ws/handler.ts:882
↓ 5 callers
Function
pickRandom
* Pick a random element from an array
src/utils/words.ts:777
↓ 5 callers
Function
planTelegramStreamingUpdate
( currentText: string, deltaText: string, limit: number, )
adapters/telegram/format.ts:39
↓ 5 callers
Function
preferredServerPorts
(env: NodeJS.ProcessEnv = process.env)
desktop/electron/services/sidecarManager.ts:158
↓ 5 callers
Method
prevOffset
(offset: number)
src/utils/Cursor.ts:1503
↓ 5 callers
Method
prevWord
()
src/utils/Cursor.ts:620
↓ 5 callers
Function
printTable
( title: string, rows: Array<{ name: string } & Bucket>, nameHeader = 'Group', )
scripts/count-app-loc.ts:143
↓ 5 callers
Function
projectFile
(sessionId: string)
src/utils/__tests__/stats.test.ts:75
↓ 5 callers
Function
proxyUrlFromElectronProxyRules
(rules: string | undefined)
desktop/electron/services/sidecarManager.ts:228
↓ 5 callers
Function
q
(c: number)
src/native-ts/color-diff/index.ts:106
↓ 5 callers
Function
query
()
src/entrypoints/agentSdkTypes.ts:120
↓ 5 callers
Function
queueTarget
(target: AssistantOutputTarget, key: string, position: number)
desktop/src/lib/assistantOutputTargets.ts:92
↓ 5 callers
Function
readCachedMarketplace
* Read a cached marketplace from disk without updating it * * @param installLocation - Path to the cached marketplace * @returns The marketplace ob
src/utils/plugins/marketplaceManager.ts:2061
↓ 5 callers
Function
readFileInRange
( filePath: string, offset = 0, maxLines?: number, maxBytes?: number, signal?: AbortSignal, option
src/utils/readFileInRange.ts:73
↓ 5 callers
Function
readFileOrNull
(filePath: string)
src/server/services/sessionRewindService.ts:330
↓ 5 callers
Function
readGitHead
( gitDir: string, )
src/utils/git/gitFilesystem.ts:149
↓ 5 callers
Function
readLock
()
src/utils/computerUse/computerUseLock.ts:48
↓ 5 callers
Method
readRecentEvents
(limit = 100)
src/server/services/diagnosticsService.ts:207
↓ 5 callers
Function
readRecord
(value: unknown)
desktop/src/stores/chatStore.ts:2621
↓ 5 callers
Function
readRunsFile
()
src/server/services/cronScheduler.ts:195
↓ 5 callers
Method
readStoredSettings
()
src/server/services/h5AccessService.ts:605
↓ 5 callers
Function
readString
(obj: Record<string, unknown>, keys: string[])
adapters/dingtalk/permission-card.ts:117
↓ 5 callers
Method
readTasksFile
读取任务 JSON 文件。文件不存在时返回空列表。
src/server/services/cronService.ts:131
↓ 5 callers
Function
readU64
(view: DataView, offset: number)
src/utils/claudeCodeCch.ts:187
↓ 5 callers
Function
readWindowState
( app: App, displays: Array<Pick<Display, 'bounds' | 'workArea'>>, env: NodeJS.ProcessEnv = process.env,
desktop/electron/services/windows.ts:89
↓ 5 callers
Function
readXmlTag
(text: string, tag: string)
src/goals/goalState.ts:234
↓ 5 callers
Function
reconstructAbsolutePath
(rest: string)
src/server/api/localFile.ts:30
↓ 5 callers
Method
recordEvent
(input: RecordTraceEventInput)
src/services/api/traceCapture.ts:343
↓ 5 callers
Function
redactSensitiveText
(value: string)
desktop/src/pages/McpSettings.tsx:88
↓ 5 callers
Function
redactTokens
(raw: unknown)
src/services/mcp/xaa.ts:94
↓ 5 callers
Method
refresh
()
adapters/common/session-store.ts:63
↓ 5 callers
Function
refreshActivePlugins
( setAppState: SetAppState, )
src/utils/plugins/refresh.ts:75
↓ 5 callers
Function
refreshMarketplace
( name: string, onProgress?: MarketplaceProgressCallback, options?: { disableCredentialHelper?: boolean
src/utils/plugins/marketplaceManager.ts:2368
↓ 5 callers
Function
removeAgentWorktree
( worktreePath: string, worktreeBranch?: string, gitRoot?: string, hookBased?: boolean, )
src/utils/worktree.ts:996
↓ 5 callers
Method
render
()
desktop/src/components/ErrorBoundary.tsx:26
↓ 5 callers
Function
renderControls
(props: Partial<ComponentProps<typeof RepositoryLaunchControls>> = {})
desktop/src/components/shared/RepositoryLaunchControls.test.tsx:87
← previous
next →
2,001–2,100 of 17,500, ranked by callers