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
createEditBubble
(el: HTMLElement, deps: Deps)
desktop/src/preview-agent/editBubble.ts:81
↓ 5 callers
Function
createGitWorkspace
()
src/server/__tests__/workspace-service.test.ts:31
↓ 5 callers
Function
createHyperlink
( url: string, content?: string, options?: HyperlinkOptions, )
src/utils/hyperlink.ts:24
↓ 5 callers
Function
createId
(kind: AssistantOutputTargetKind, value: string)
desktop/src/lib/assistantOutputTargets.ts:633
↓ 5 callers
Function
createImageMetadataText
( dims: ImageDimensions, sourcePath?: string, )
src/utils/imageResizer.ts:1055
↓ 5 callers
Function
createImageResponse
( buffer: Buffer, mediaType: string, originalSize: number, dimensions?: ImageDimensions, )
src/tools/FileReadTool/FileReadTool.ts:789
↓ 5 callers
Function
createPluginCommand
* Create a Command from a plugin markdown file
src/utils/plugins/loadPluginCommands.ts:218
↓ 5 callers
Function
createSession
(req: Request)
src/server/api/sessions.ts:349
↓ 5 callers
Function
createSessionForChat
(chatId: string, workDir: string)
adapters/feishu/index.ts:660
↓ 5 callers
Function
createSortedHelpConfig
()
src/main.tsx:891
↓ 5 callers
Function
createToolResultMessage
( tool: Tool<AnyObject, Output>, toolUseResult: Output, )
src/utils/messages.ts:4405
↓ 5 callers
Function
createToolUseMessage
( toolName: string, input: { [key: string]: string | number }, )
src/utils/messages.ts:4442
↓ 5 callers
Function
createUserInterruptionMessage
({ toolUse = false, }: { toolUse?: boolean })
src/utils/messages.ts:557
↓ 5 callers
Function
createWorkspaceApiGitRepo
(baseDir: string)
src/server/__tests__/sessions.test.ts:140
↓ 5 callers
Function
cronToHuman
(cron: string, opts?: { utc?: boolean })
src/utils/cron.ts:218
↓ 5 callers
Function
currentPackageSmokeArch
(arch: NodeJS.Architecture = process.arch)
scripts/quality-gate/modes.ts:11
↓ 5 callers
Function
currentPackageSmokePlatform
(platform: NodeJS.Platform = process.platform)
scripts/quality-gate/package-smoke/current.ts:5
↓ 5 callers
Method
currentThrottle
当前应使用的节流时长。
adapters/feishu/streaming-card.ts:445
↓ 5 callers
Function
dangerousRemovalDeny
(path: string)
src/tools/PowerShellTool/pathValidation.ts:848
↓ 5 callers
Function
debugBody
(data: unknown)
src/bridge/debugUtils.ts:46
↓ 5 callers
Function
decisionReasonToString
( decisionReason: PermissionDecisionReason | undefined, )
src/components/permissions/hooks.ts:61
↓ 5 callers
Method
deleteFile
(filePath: string)
src/services/analytics/firstPartyEventLoggingExporter.ts:210
↓ 5 callers
Function
detectAndGetBackend
()
src/utils/swarm/backends/registry.ts:136
↓ 5 callers
Method
didStopImmediatePropagation
()
src/ink/events/event.ts:4
↓ 5 callers
Function
diffToolInputsOnly
(filePath: string, edits: FileEdit[])
src/components/FileEditToolDiff.tsx:161
↓ 5 callers
Method
directoryTarget
( id: string, label: string, scope: 'user' | 'project', filePath: string, )
src/server/services/doctorService.ts:468
↓ 5 callers
Function
disablePluginOp
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginOperations.ts:771
↓ 5 callers
Method
disconnect
(sessionId: string)
desktop/src/api/websocket.ts:87
↓ 5 callers
Method
disconnect
* Disconnect from the remote session
src/remote/RemoteSessionManager.ts:309
↓ 5 callers
Function
emit
(nextMatches: boolean)
desktop/src/hooks/useMobileViewport.test.tsx:40
↓ 5 callers
Function
emitDelta
(state: StreamState, index: number, delta: Record<string, unknown>)
src/server/proxy/streaming/openaiChatStreamToAnthropic.ts:208
↓ 5 callers
Method
endOfLine
()
src/utils/Cursor.ts:455
↓ 5 callers
Function
enrichLogs
( allLogs: LogOption[], startIndex: number, count: number, )
src/utils/sessionStorage.ts:5106
↓ 5 callers
Function
ensureContentArray
(snapshot: JsonRecord)
desktop/src/lib/trace/sse.ts:383
↓ 5 callers
Function
ensureDesktopCliLauncherInstalled
()
src/server/services/desktopCliLauncherService.ts:127
↓ 5 callers
Method
ensureFreshTokens
()
src/server/services/hahaOAuthService.ts:219
↓ 5 callers
Method
ensureLogDir
()
src/server/services/diagnosticsService.ts:351
↓ 5 callers
Function
ensureThreadGoalHookFromTranscript
( context: Pick<ToolUseContext, 'setAppState'>, threadId: string, messages: Message[], now = Date.now(
src/goals/goalState.ts:108
↓ 5 callers
Function
escapeForDiff
(s: string)
src/utils/diff.ts:35
↓ 5 callers
Function
estimateMessageTokens
(messages: Message[])
src/services/compact/microCompact.ts:164
↓ 5 callers
Function
exchangeOpenAICodeForTokens
(input: { code: string redirectUri: string codeVerifier: string proxyUrl?: string | null timeoutMs?:
src/services/openaiAuth/client.ts:71
↓ 5 callers
Function
exec
( command: string, abortSignal: AbortSignal, shellType: ShellType, options?: ExecOptions, )
src/utils/Shell.ts:181
↓ 5 callers
Function
execSync_DEPRECATED
( command: string, options?: ExecSyncOptions, )
src/utils/execSyncWrapper.ts:32
↓ 5 callers
Function
executeOperatorMotion
( op: Operator, motion: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:42
↓ 5 callers
Function
executeShellCommandsInPrompt
( text: string, context: ToolUseContext, slashCommandName: string, shell?: FrontmatterShell, )
src/utils/promptShellExecution.ts:69
↓ 5 callers
Function
extensionForMime
(mimeType: string, fallback: string)
adapters/whatsapp/media.ts:38
↓ 5 callers
Function
extractConnectionErrorDetails
( error: unknown, )
src/services/api/errorUtils.ts:42
↓ 5 callers
Function
extractDescriptionFromMarkdown
( content: string, defaultDescription: string = 'Custom item', )
src/utils/markdownConfigLoader.ts:52
↓ 5 callers
Function
extractDiscoveredToolNames
(messages: Message[])
src/utils/toolSearch.ts:545
↓ 5 callers
Function
extractJob
(workflow: string, jobName: string)
scripts/pr/release-workflow.test.ts:9
↓ 5 callers
Function
extractLocalCommandOutput
( content: unknown, options: { allowUntagged?: boolean } = {}, )
src/server/ws/handler.ts:2210
↓ 5 callers
Method
extractStartupDetail
(message: any)
src/server/services/conversationService.ts:1495
↓ 5 callers
Function
extractSubCode
(msg: string)
adapters/feishu/card-errors.ts:76
↓ 5 callers
Function
filterMcpServersByPolicy
(configs: Record<string, T>)
src/services/mcp/config.ts:546
↓ 5 callers
Function
filterModelOptionsByAllowlist
* Filter model options by the availableModels allowlist. * Always preserves the "Default" option (value: null).
src/utils/model/modelOptions.ts:623
↓ 5 callers
Function
filterToolsByDenyRules
(tools: readonly T[], permissionContext: ToolPermissionContext)
src/tools.ts:263
↓ 5 callers
Function
findProjectDir
( projectPath: string, )
src/utils/sessionStoragePortable.ts:354
↓ 5 callers
Function
findTextNodeContaining
(container: Element, text: string)
desktop/src/components/chat/MessageList.test.tsx:53
↓ 5 callers
Function
findValue
(label: string)
scripts/quality-gate/runner.ts:342
↓ 5 callers
Function
finishSelection
(s: SelectionState)
src/ink/selection.ts:116
↓ 5 callers
Function
firstLineOf
(s: string)
src/utils/stringUtils.ts:44
↓ 5 callers
Function
flushContent
()
src/utils/bash/bashParser.ts:2347
↓ 5 callers
Function
flushGroup
()
desktop/src/components/chat/MessageList.tsx:571
↓ 5 callers
Function
fmtCoord
(c: [number, number] | undefined)
src/utils/computerUse/toolRendering.tsx:18
↓ 5 callers
Function
formatCell
(tokens: Token[] | undefined)
src/components/MarkdownTable.tsx:84
↓ 5 callers
Function
formatClockTime
(date: Date, locale: string)
desktop/src/lib/formatMessageTimestamp.ts:115
↓ 5 callers
Function
formatCommandInput
(command: CommandBase, args: string)
src/utils/processUserInput/processSlashCommand.tsx:793
↓ 5 callers
Function
formatDateLabel
(dateKey: string, locale: Locale)
desktop/src/pages/ActivitySettings.tsx:103
↓ 5 callers
Function
formatDelay
(ms: number)
src/bridge/bridgeMain.ts:1619
↓ 5 callers
Method
formatGitError
( prefix: string, args: string[], workDir: string, result: GitCommandResult, )
src/server/services/workspaceService.ts:1737
↓ 5 callers
Function
formatPathList
(paths: string[])
src/components/permissions/shellPermissionHelpers.tsx:32
↓ 5 callers
Function
formatResetTime
( timestampInSeconds: number | undefined, showTimezone: boolean = false, showTime: boolean = true, )
src/utils/format.ts:238
↓ 5 callers
Function
formatSourceForDisplay
(source: MarketplaceSource)
src/utils/plugins/marketplaceHelpers.ts:510
↓ 5 callers
Function
formatUri
* Formats a URI by converting it to a relative path if possible. * Handles URI decoding and gracefully falls back to un-decoded path if malformed. *
src/tools/LSPTool/formatters.ts:24
↓ 5 callers
Function
formatWorkspaceReferencePrompt
(references: WorkspaceChatReference[])
desktop/src/stores/workspaceChatContextStore.ts:89
↓ 5 callers
Function
fullResetSequence_CAUSES_FLICKER
( frame: Frame, reason: FlickerReason, stylePool: StylePool, debug?: { triggerY: number; prevLine: str
src/ink/log-update.ts:503
↓ 5 callers
Function
generateSessionTitle
( description: string, signal: AbortSignal, )
src/utils/sessionTitle.ts:89
↓ 5 callers
Method
get
Recover styles from an encoded ID. Strips the bit-0 flag via >>> 1.
src/ink/screen.ts:144
↓ 5 callers
Function
getAPIMetadata
()
src/services/api/claude.ts:538
↓ 5 callers
Method
getActiveSessions
()
src/server/services/conversationService.ts:887
↓ 5 callers
Function
getAgentColor
(agentType: string)
src/tools/AgentTool/agentColorManager.ts:36
↓ 5 callers
Function
getAllBaseTools
()
src/tools.ts:194
↓ 5 callers
Function
getAllInProcessTeammateTasks
(tasks: Record<string, TaskStateBase>)
src/tasks/InProcessTeammateTask/InProcessTeammateTask.tsx:113
↓ 5 callers
Function
getApiUrl
(pathOrUrl: string)
desktop/src/api/client.ts:35
↓ 5 callers
Function
getAppState
()
src/utils/hooks/execAgentHook.ts:137
↓ 5 callers
Function
getAppZoomKeyboardAction
( event: KeyboardShortcutInput, platform: string = typeof navigator === 'undefined' ? '' : navigator.platf
desktop/src/lib/appZoom.ts:108
↓ 5 callers
Function
getAssistantMessageText
(message: Message)
src/utils/messages.ts:2960
↓ 5 callers
Function
getBaseRenderOptions
( exitOnCtrlC: boolean = false, )
src/utils/renderOptions.ts:68
↓ 5 callers
Method
getBashPath
()
desktop/electron/services/terminal.ts:505
↓ 5 callers
Function
getBuiltInAgents
()
src/tools/AgentTool/builtInAgents.ts:35
↓ 5 callers
Function
getCachedIdpIdToken
(idpIssuer: string)
src/services/mcp/xaaIdpLogin.ts:99
↓ 5 callers
Function
getCachedOverageCreditGrant
()
src/services/api/overageCreditGrant.ts:48
↓ 5 callers
Function
getCachedRecentProjects
()
desktop/src/lib/recentProjectsCache.ts:7
↓ 5 callers
Function
getChicagoEnabled
()
src/utils/computerUse/gates.ts:35
↓ 5 callers
Function
getClaudeCodeMcpConfigs
( dynamicServers: Record<string, ScopedMcpServerConfig> = {}, extraDedupTargets: Promise< Record<strin
src/services/mcp/config.ts:1079
↓ 5 callers
Function
getCliHighlightPromise
()
src/utils/cliHighlight.ts:38
↓ 5 callers
Function
getCommandQueue
()
src/utils/messageQueueManager.ts:90
↓ 5 callers
Function
getCurrentInstallationType
()
src/utils/doctorDiagnostic.ts:86
↓ 5 callers
Function
getCurrentUsage
(messages: Message[])
src/utils/tokens.ts:138
↓ 5 callers
Function
getDefaultBaseUrl
()
desktop/src/api/client.ts:53
← previous
next →
1,801–1,900 of 17,500, ranked by callers