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
↓ 7 callers
Function
handle
(api: string, resp: any, args: any, idx?: number)
adapters/feishu/__tests__/streaming-card.test.ts:44
↓ 7 callers
Function
handleHahaOAuthApi
( req: Request, url: URL, segments: string[], )
src/server/api/haha-oauth.ts:27
↓ 7 callers
Function
handleHahaOpenAIOAuthApi
( req: Request, url: URL, segments: string[], )
src/server/api/haha-openai-oauth.ts:26
↓ 7 callers
Function
handleStatusApi
( req: Request, _url: URL, segments: string[], )
src/server/api/status.ts:41
↓ 7 callers
Function
install
()
src/server/__tests__/oauth-refresh-log.test.ts:40
↓ 7 callers
Function
invalidateRecentProjectsCache
()
desktop/src/lib/recentProjectsCache.ts:17
↓ 7 callers
Function
isAllowedDevRendererUrl
(input: string)
desktop/electron/services/rendererEntry.ts:9
↓ 7 callers
Method
isAvailable
* Checks if tmux is installed and available. * Delegates to detection.ts for consistent detection logic.
src/utils/swarm/backends/TmuxBackend.ts:113
↓ 7 callers
Function
isClassifierPermissionsEnabled
()
src/utils/permissions/bashClassifier.ts:24
↓ 7 callers
Method
isDestroyed
()
desktop/electron/services/preview.test.ts:40
↓ 7 callers
Function
isEscapedAtPosition
* Checks if a character at position `pos` in `content` is escaped by counting * consecutive backslashes before it. An odd number means it's escaped.
src/tools/BashTool/bashSecurity.ts:1727
↓ 7 callers
Function
isJetBrainsIde
(ide: IdeType | null)
src/utils/ide.ts:265
↓ 7 callers
Function
isKairosCronEnabled
()
src/tools/ScheduleCronTool/prompt.ts:36
↓ 7 callers
Function
isKeybindingCustomizationEnabled
()
src/keybindings/loadUserBindings.ts:41
↓ 7 callers
Function
isLatestRequest
(store: Map<string, number>, key: string, requestId: number)
desktop/src/stores/workspacePanelStore.ts:109
↓ 7 callers
Function
isMasked
(value: string | undefined)
src/server/services/adapterService.ts:83
↓ 7 callers
Function
isModelAlias
(modelInput: string)
src/utils/model/aliases.ts:12
↓ 7 callers
Function
isOAuthTokenExpired
(expiresAt: number | null)
src/services/oauth/client.ts:344
↓ 7 callers
Method
isOriginAllowed
(origin: string | null | undefined)
src/server/services/h5AccessService.ts:787
↓ 7 callers
Function
isOutputLineTruncated
(content: string)
src/utils/terminal.ts:119
↓ 7 callers
Function
isPluginBlockedByPolicy
(pluginId: string)
src/utils/plugins/pluginPolicy.ts:17
↓ 7 callers
Function
isPossibleClaudeBinary
(filePath: string)
src/utils/nativeInstaller/installer.ts:134
↓ 7 callers
Function
isSameServer
(a: Pick<McpServerRecord, 'name' | 'scope' | 'projectPath'>, b: Pick<McpServerRecord, 'name' | 'scope' | 'proj
desktop/src/stores/mcpStore.ts:38
↓ 7 callers
Function
isToolSearchEnabledOptimistic
()
src/utils/toolSearch.ts:270
↓ 7 callers
Function
isUsing3PServices
()
src/utils/auth.ts:1756
↓ 7 callers
Function
isVimPunctuation
(ch: string)
src/utils/Cursor.ts:142
↓ 7 callers
Function
isVimWordChar
(ch: string)
src/utils/Cursor.ts:138
↓ 7 callers
Function
isWs
(idx: number)
src/vim/textObjects.ts:87
↓ 7 callers
Function
launchRepl
(root: Root, appProps: AppWrapperProps, replProps: REPLProps, renderAndRun: (root: Root, element: React.ReactN
src/replLauncher.tsx:12
↓ 7 callers
Function
loadConversationForResume
( source: string | LogOption | undefined, sourceJsonlFile: string | undefined, )
src/utils/conversationRecovery.ts:456
↓ 7 callers
Function
makeCall
(overrides: Partial<TraceCallRecord> = {})
desktop/src/pages/TraceSession.test.tsx:31
↓ 7 callers
Function
makeInvalidResult
( command: string, message: string, errorId: string, )
src/utils/powershell/parser.ts:653
↓ 7 callers
Function
makeRequest
(urlStr: string)
src/server/__tests__/skills.test.ts:18
↓ 7 callers
Function
makeResult
(sessionId: string, title: string, overrides?: Partial<SessionSearchResult>)
desktop/src/components/search/GlobalSearchModal.test.tsx:36
↓ 7 callers
Method
matchProject
* Match a project by index (1-based) or fuzzy name from recent projects. * Returns { project, ambiguous[] } — ambiguous is set when multiple projec
adapters/common/http-client.ts:156
↓ 7 callers
Function
mergeUpdateMetadataArtifacts
(options: MergeUpdateMetadataOptions)
scripts/release-update-metadata.ts:244
↓ 7 callers
Function
methodNotAllowed
(method: string)
src/server/api/settings.ts:220
↓ 7 callers
Function
modelSupportsMaxEffort
(model: string)
src/utils/effort.ts:53
↓ 7 callers
Function
n
(count: number, noun: string)
src/commands/reload-plugins/reload-plugins.ts:59
↓ 7 callers
Function
normalize
(filePath: string)
src/server/services/windowsDrivePath.ts:21
↓ 7 callers
Function
normalizePathForConfigKey
(path: string)
src/utils/path.ts:149
↓ 7 callers
Function
normalizeUsage
( usage: Partial<BetaUsage> | null | undefined, )
src/services/api/emptyUsage.ts:30
↓ 7 callers
Function
notifyDesktopRestartAdapters
* Desktop host trigger: let the app process kill + respawn adapter sidecar, * 让 ~/.claude/adapters.json 里的最新凭据被新进程读到,建立飞书 / Telegram / 微信 / 钉钉 / What
desktop/src/stores/adapterStore.ts:15
↓ 7 callers
Function
notifyTasksUpdated
()
src/utils/tasks.ts:61
↓ 7 callers
Function
onChange
(option_0: PermissionOption, feedback?: string)
src/components/permissions/FilePermissionDialog/FilePermissionDialog.tsx:155
↓ 7 callers
Method
onRender
()
src/ink/ink.tsx:425
↓ 7 callers
Function
parseEffortValue
(value: unknown)
src/utils/effort.ts:71
↓ 7 callers
Function
parsePreviewAgentMessage
(raw: string)
desktop/electron/ipc/previewMessage.ts:38
↓ 7 callers
Function
parseReferences
( input: string, )
src/history.ts:62
↓ 7 callers
Function
parseSettingsFile
(path: string)
src/utils/settings/settings.ts:178
↓ 7 callers
Function
parseToolListFromCLI
(tools: string[])
src/utils/permissions/permissionSetup.ts:813
↓ 7 callers
Function
printLog
Print a permanent log line, clearing status first and restoring after.
src/bridge/bridgeUI.ts:134
↓ 7 callers
Function
processQueue
()
src/utils/sequential.ts:25
↓ 7 callers
Function
projectGroupNames
()
desktop/src/components/layout/Sidebar.test.tsx:180
↓ 7 callers
Function
push
(item: ToolUseConfirm)
src/hooks/toolPermission/PermissionContext.ts:363
↓ 7 callers
Function
pushToKillRing
( text: string, direction: 'prepend' | 'append' = 'append', )
src/utils/Cursor.ts:26
↓ 7 callers
Function
queryModelWithoutStreaming
({ messages, systemPrompt, thinkingConfig, tools, signal, options, }: { messages: Message[]; s
src/services/api/claude.ts:744
↓ 7 callers
Function
readCcHahaSettings
()
src/server/__tests__/providers-real.test.ts:36
↓ 7 callers
Function
readMailbox
( agentName: string, teamName?: string, )
src/utils/teammateMailbox.ts:84
↓ 7 callers
Function
readdirSync
(dirPath)
src/utils/fsOperations.ts:548
↓ 7 callers
Function
redactUrlCredentials
* Redact userinfo (username:password) in a URL to avoid logging credentials. * * Marketplace URLs may embed credentials (e.g. GitHub PATs in * `htt
src/utils/plugins/marketplaceManager.ts:1219
↓ 7 callers
Function
refresh
()
desktop/src/components/tasks/TaskRunsPanel.tsx:70
↓ 7 callers
Function
registerChangedFileAccessRoot
( absoluteFilePath: string | null | undefined, workDir: string | null | undefined, )
src/server/services/filesystemAccessRoots.ts:27
↓ 7 callers
Function
rejectOnce
(e: Error)
src/services/mcp/xaaIdpLogin.ts:304
↓ 7 callers
Method
renameSession
* Rename a session by appending a custom-title entry to its JSONL file.
src/server/services/sessionService.ts:2677
↓ 7 callers
Function
renderStatusLine
Render and write the current status lines based on state.
src/bridge/bridgeUI.ts:188
↓ 7 callers
Method
requestControl
( sessionId: string, request: Record<string, unknown>, timeoutMs = 10_000, )
src/server/services/conversationService.ts:589
↓ 7 callers
Function
resolveBackupPath
(backupFileName: string, sessionId?: string)
src/utils/fileHistory.ts:733
↓ 7 callers
Function
resolveOpenAICodexModel
(model: string)
src/services/openaiAuth/models.ts:60
↓ 7 callers
Function
resolveRef
( gitDir: string, ref: string, )
src/utils/git/gitFilesystem.ts:203
↓ 7 callers
Function
resolveStoredComputerUseConfig
( config?: StoredComputerUseConfig, )
src/utils/computerUse/preauthorizedConfig.ts:35
↓ 7 callers
Function
resolveWebSearchProvider
( model: string | undefined, settings: WebSearchSettings = getConfiguredWebSearchSettings(), )
src/tools/WebSearchTool/backend.ts:65
↓ 7 callers
Function
restoreDangerousPermissions
( context: ToolPermissionContext, )
src/utils/permissions/permissionSetup.ts:561
↓ 7 callers
Function
restoreEnv
(key: string, value: string | undefined)
src/utils/__tests__/thinking.test.ts:141
↓ 7 callers
Function
restoreEnv
(key: string, value: string | undefined)
src/services/api/claudeEffort.test.ts:148
↓ 7 callers
Function
roughTokenCountEstimationForContent
( content: | string | Array<Anthropic.ContentBlock> | Array<Anthropic.ContentBlockParam> | u
src/services/tokenEstimation.ts:389
↓ 7 callers
Function
runGit
(args: string[])
scripts/pr/changed-files.test.ts:11
↓ 7 callers
Function
runPostCompactCleanup
(querySource?: QuerySource)
src/services/compact/postCompactCleanup.ts:31
↓ 7 callers
Function
runQualityGateLanes
( options: QualityGateOptions, lanes: LaneDefinition[], executeLane: LaneExecutor = runLane, )
scripts/quality-gate/runner.ts:439
↓ 7 callers
Function
runWithCwdOverride
(cwd: string, fn: () => T)
src/utils/cwd.ts:12
↓ 7 callers
Function
saveInstalledPluginsV2
* Save installed plugins in V2 format to installed_plugins.json. * This is the single source of truth after V1/V2 consolidation.
src/utils/plugins/installedPluginsManager.ts:406
↓ 7 callers
Function
saveMode
(mode: 'coordinator' | 'normal')
src/utils/sessionStorage.ts:2908
↓ 7 callers
Function
saveWorktreeState
( worktreeSession: PersistedWorktreeSession | null, )
src/utils/sessionStorage.ts:2918
↓ 7 callers
Function
scan
(from: number, dir: 1 | -1, pred: (i: number) => boolean = isVisible)
src/components/VirtualMessageList.tsx:353
↓ 7 callers
Function
selectMessageText
( element: Element, text: string, rect: Partial<DOMRect> = {}, )
desktop/src/components/chat/MessageList.test.tsx:120
↓ 7 callers
Function
sendNotification
( notif: NotificationOptions, terminal: TerminalNotification, )
src/services/notifier.ts:18
↓ 7 callers
Method
sendPermissionResponse
Respond to a permission request. * * @param rule - optional rule name to make the permission persistent. * Currently the server supports `'
adapters/common/ws-bridge.ts:91
↓ 7 callers
Method
sendSdkMessage
( sessionId: string, payload: Record<string, unknown>, )
src/server/services/conversationService.ts:947
↓ 7 callers
Method
setBashPath
(value: string | null)
desktop/electron/services/terminal.ts:509
↓ 7 callers
Method
setMargin
(edge: LayoutEdge, value: number)
src/ink/layout/yoga.ts:276
↓ 7 callers
Function
setNeedsPlanModeExitAttachment
(value: boolean)
src/bootstrap/state.ts:1369
↓ 7 callers
Method
setPadding
(edge: LayoutEdge, value: number)
src/ink/layout/yoga.ts:279
↓ 7 callers
Function
setPreviewZoom
(nextZoom: number)
desktop/src/components/browser/BrowserSurface.tsx:242
↓ 7 callers
Method
setRefreshFn
(fn: RefreshFn)
src/server/services/hahaOAuthService.ts:64
↓ 7 callers
Function
setSvgStyle
(element: Element, property: string, value: string, overwrite = true)
desktop/src/components/chat/MermaidRenderer.tsx:255
↓ 7 callers
Function
setUserMsgOptIn
(value: boolean)
src/bootstrap/state.ts:1116
↓ 7 callers
Function
shouldForwardPreviewMessage
(input: { raw: unknown href: string isTopFrame: boolean })
desktop/electron/ipc/previewMessage.ts:85
↓ 7 callers
Function
shouldIncludeFirstPartyOnlyBetas
()
src/utils/betas.ts:215
↓ 7 callers
Function
shouldUseSandbox
(input: Partial<SandboxInput>)
src/tools/BashTool/shouldUseSandbox.ts:130
↓ 7 callers
Function
sinkWrite
(s: Sink, src: Buffer, start: number, end: number)
src/utils/sessionStoragePortable.ts:525
← previous
next →
1,301–1,400 of 17,500, ranked by callers