MCPcopy Create free account

hub / github.com/NanmiCoder/cc-haha / functions

Functions17,500 in github.com/NanmiCoder/cc-haha

↓ 8 callersFunctionupdateTerminalRuntime
( runtime: TerminalRuntime, patch: Partial<Pick<TerminalRuntime, 'terminal' | 'fit' | 'nativeSessionId' |
desktop/src/lib/terminalRuntime.ts:53
↓ 8 callersFunctionuseOptionalKeybindingContext
()
src/keybindings/KeybindingContext.tsx:196
↓ 8 callersFunctionuseTabHeaderFocus
()
src/components/design-system/Tabs.tsx:307
↓ 8 callersFunctionvalidatePluginPaths
* Validate a list of plugin component relative paths by checking existence in parallel. * * This helper parallelizes the pathExists checks (the expe
src/utils/plugins/pluginLoader.ts:1268
↓ 8 callersFunctionworktreeBranchName
(slug: string)
src/utils/worktree.ts:251
↓ 8 callersFunctionwrapText
* Wrap text to fit within a given width, returning array of lines. * ANSI-aware: preserves styling across line breaks. * * @param hard - If true, b
src/components/MarkdownTable.tsx:44
↓ 8 callersFunctionwriteJson
(filePath: string, value: unknown)
src/server/__tests__/provider-runtime-env.test.ts:13
↓ 8 callersFunctiony0
(M)
desktop/src-tauri/resources/preview-agent.js:18
↓ 7 callersFunction$
(b: { host: HTMLElement }, sel: string)
desktop/src/preview-agent/editBubble.test.ts:7
↓ 7 callersMethod_load_key_map
Extract KEY_MAP from a helper by importing it with mocked deps.
runtime/test_helpers.py:33
↓ 7 callersFunctionabortSpeculation
(setAppState: SetAppState)
src/services/PromptSuggestion/speculation.ts:802
↓ 7 callersFunctionaddSpan
(spans: Map<string, MutableSpan>, span: Omit<TraceSpan, 'childIds'>)
desktop/src/lib/traceViewModel.ts:584
↓ 7 callersFunctionappRoot
()
desktop/electron/main.ts:60
↓ 7 callersMethodbaseItem
(target: DoctorTarget)
src/server/services/doctorService.ts:363
↓ 7 callersFunctionbuildApplicationMenuTemplate
( appName: string, onNavigate: (destination: NativeMenuDestination) => void, platform = process.platform
desktop/electron/services/menu.ts:12
↓ 7 callersFunctionbuildConversationChain
( messages: Map<UUID, TranscriptMessage>, leafMessage: TranscriptMessage, )
src/utils/sessionStorage.ts:2098
↓ 7 callersFunctionbuildEffectiveSystemPrompt
({ mainThreadAgentDefinition, toolUseContext, customSystemPrompt, defaultSystemPrompt, appendSystemP
src/utils/systemPrompt.ts:41
↓ 7 callersFunctionbuildRenderedCard
(renderedMarkdown: string)
adapters/feishu/streaming-card.ts:66
↓ 7 callersFunctionbuildSidebarProjectPreferences
( projectOrder: string[], pinnedProjectKeys: Set<string>, hiddenProjectKeys: Set<string>, projectOrgan
desktop/src/components/layout/Sidebar.tsx:1608
↓ 7 callersFunctioncalculateContextBudget
( args: CalculateContextBudgetArgs, )
src/utils/contextBudget.ts:115
↓ 7 callersFunctioncallAuthorizedApps
(method: string, body?: unknown)
src/server/__tests__/computer-use-api.test.ts:22
↓ 7 callersFunctioncallIdeRpc
( toolName: string, args: Record<string, unknown>, client: ConnectedMCPServer, )
src/services/mcp/client.ts:2109
↓ 7 callersFunctioncheckGate_CACHED_OR_BLOCKING
( gate: string, )
src/services/analytics/growthbook.ts:906
↓ 7 callersFunctioncheckWritePermissionForTool
( tool: Tool<Input>, input: z.infer<Input>, toolPermissionContext: ToolPermissionContext, precomputedP
src/utils/permissions/filesystem.ts:1225
↓ 7 callersFunctionclearClassifierChecking
(toolUseID: string)
src/utils/classifierApprovals.ts:68
↓ 7 callersFunctioncountToolDefinitionTokens
( tools: Tools, getToolPermissionContext: () => Promise<ToolPermissionContext>, agentInfo: AgentDefiniti
src/utils/analyzeContext.ts:246
↓ 7 callersFunctioncreateCacheSafeParams
( context: REPLHookContext, )
src/utils/forkedAgent.ts:131
↓ 7 callersFunctioncreateChildAbortController
( parent: AbortController, maxListeners?: number, )
src/utils/abortController.ts:68
↓ 7 callersFunctioncreateDiagnosis
( status: TraceDiagnosis['status'], reason: TraceDiagnosisReason, evidence: TraceSpan[], spans: TraceS
desktop/src/lib/traceViewModel.ts:405
↓ 7 callersMethodcreateSession
(workDir: string)
adapters/common/http-client.ts:99
↓ 7 callersFunctioncreateSpanAttributes
( spanType: SpanType, customAttributes: Record<string, string | number | boolean> = {}, )
src/utils/telemetry/sessionTracing.ts:156
↓ 7 callersFunctiond0
(M,Q,Z)
desktop/src-tauri/resources/preview-agent.js:18
↓ 7 callersFunctiondebug
(msg: string)
src/tools/BriefTool/upload.ts:56
↓ 7 callersFunctiondeferred
()
desktop/src/stores/workspacePanelStore.test.ts:36
↓ 7 callersMethoddeleteSession
* Delete a session's JSONL file.
src/server/services/sessionService.ts:2631
↓ 7 callersFunctiondescribeFileType
(path: string)
desktop/src/lib/openWithItems.ts:14
↓ 7 callersMethoddestroy
()
adapters/wechat/typing.ts:36
↓ 7 callersFunctiondetectCurrentRepositoryWithHost
()
src/utils/detectRepository.ts:32
↓ 7 callersFunctiondetectPythonRuntime
( platform: NodeJS.Platform, runCommand: CommandRunner, venvPythonPath?: string, customPythonPath?: st
src/server/api/computer-use-python.ts:103
↓ 7 callersMethoddisconnect
()
desktop/src/components/browser/BrowserSurface.test.tsx:8
↓ 7 callersFunctioneditFileInEditor
(filePath: string)
src/utils/promptEditor.ts:31
↓ 7 callersFunctioneditPromptInEditor
( currentPrompt: string, pastedContents?: Record<number, PastedContent>, )
src/utils/promptEditor.ts:138
↓ 7 callersFunctionemptyFrame
( rows: number, columns: number, stylePool: StylePool, charPool: CharPool, hyperlinkPool: HyperlinkP
src/ink/frame.ts:22
↓ 7 callersFunctionensureConfigScope
(scope?: string)
src/services/mcp/utils.ts:301
↓ 7 callersFunctionescapeMarkdownV2
(text: string)
adapters/common/format.ts:251
↓ 7 callersFunctionexecTmux
* Executes a tmux command, routing through WSL on Windows. * On Windows, tmux only exists inside WSL — WSL interop lets the tmux session * launch .e
src/utils/tmuxSocket.ts:44
↓ 7 callersFunctionexpandTildePath
(target: string, platform: NodeJS.Platform = process.platform)
desktop/electron/services/shell.ts:41
↓ 7 callersFunctionextractAgentToolActivities
( message: MessageType, )
src/tools/AgentTool/agentToolUtils.ts:377
↓ 7 callersFunctionextractErrorDetail
(data: unknown)
src/bridge/debugUtils.ts:106
↓ 7 callersFunctionextractOutputRedirections
(cmd: string)
src/utils/bash/commands.ts:634
↓ 7 callersFunctionextractText
(content: string, msgType: string)
adapters/feishu/__tests__/feishu.test.ts:12
↓ 7 callersFunctionfindCommand
( commandName: string, commands: Command[], )
src/commands.ts:690
↓ 7 callersFunctionfindMarkdownTablesOutsideCodeBlocks
(text: string)
adapters/feishu/markdown-style.ts:152
↓ 7 callersFunctionfindSlashToken
(value: string, cursorPos: number)
desktop/src/components/chat/composerUtils.ts:317
↓ 7 callersFunctionfinishRecording
()
src/hooks/useVoice.ts:322
↓ 7 callersFunctionfiniteNumberOrUndefined
(value: unknown)
src/services/api/traceCapture.ts:992
↓ 7 callersFunctionformatBytes
(bytes: number)
desktop/src/lib/formatBytes.ts:1
↓ 7 callersFunctionformatPermissionInstructions
(requestId: string)
adapters/common/permission.ts:60
↓ 7 callersFunctionformatRelativeTimeAgo
( date: Date, options: RelativeTimeOptions & { now?: Date } = {}, )
src/utils/format.ts:186
↓ 7 callersFunctionformatTraceJson
(value: unknown)
desktop/src/lib/traceViewModel.ts:456
↓ 7 callersMethodfromJSON
(object: any)
src/types/generated/google/protobuf/timestamp.ts:183
↓ 7 callersMethodfromText
( text: string, columns: number, offset: number = 0, selection: number = 0, )
src/utils/Cursor.ts:162
↓ 7 callersFunctiongenerateTaskId
(type: TaskType)
src/Task.ts:98
↓ 7 callersFunctiongetAnthropicApiKey
()
src/utils/auth.ts:216
↓ 7 callersFunctiongetCallbackChatId
(ctx: TelegramCommandContext)
adapters/telegram/commands.ts:682
↓ 7 callersFunctiongetConfig
( file: string, createDefault: () => A, throwOnInvalid?: boolean, )
src/utils/config.ts:1421
↓ 7 callersFunctiongetCurrentAgentInfo
* Get current agent info
src/utils/telemetry/perfettoTracing.ts:147
↓ 7 callersFunctiongetCurrentTurnTokenBudget
()
src/bootstrap/state.ts:729
↓ 7 callersFunctiongetDebugLogPath
()
src/utils/debug.ts:230
↓ 7 callersFunctiongetDefaultOptionForUser
(fastMode = false)
src/utils/model/modelOptions.ts:67
↓ 7 callersFunctiongetDumpPromptsPath
(agentIdOrSessionId?: string)
src/services/api/dumpPrompts.ts:98
↓ 7 callersFunctiongetElectronMenuMocks
()
desktop/electron/services/menu.test.ts:15
↓ 7 callersFunctiongetErrorMessage
(error: unknown, fallback: string)
desktop/src/stores/settingsStore.ts:774
↓ 7 callersFunctiongetFeatureValue_CACHED_WITH_REFRESH
( feature: string, defaultValue: T, _refreshIntervalMs: number, )
src/services/analytics/growthbook.ts:785
↓ 7 callersMethodgetGitInfo
(sessionId: string)
adapters/common/http-client.ts:202
↓ 7 callersMethodgetInstance
()
src/utils/activityManager.ts:35
↓ 7 callersFunctiongetMCPUserAgent
()
src/utils/http.ts:38
↓ 7 callersMethodgetMemberTranscript
( teamName: string, agentId: string, )
src/server/services/teamService.ts:199
↓ 7 callersFunctiongetMemoryPath
(memoryType: MemoryType)
src/utils/config.ts:1788
↓ 7 callersFunctiongetModelContextWindowFromEnvValue
( model: string, raw: string | undefined, )
src/utils/model/modelContextWindows.ts:109
↓ 7 callersFunctiongetOpenAICodexContextWindowForModel
( model: string, )
src/services/openaiAuth/models.ts:120
↓ 7 callersFunctiongetOpus46PricingSuffix
(fastMode: boolean)
src/utils/model/model.ts:335
↓ 7 callersMethodgetPermissionMode
获取当前权限模式
src/server/services/settingsService.ts:213
↓ 7 callersFunctiongetPluginCachePath
()
src/utils/plugins/pluginLoader.ts:129
↓ 7 callersFunctiongetPreservedSelection
(prevSuggestions: SuggestionItem[], prevSelection: number, newSuggestions: SuggestionItem[])
src/hooks/useTypeahead.tsx:52
↓ 7 callersFunctiongetPreviewHost
()
desktop/src/lib/previewBridge.ts:5
↓ 7 callersMethodgetProjectsDir
()
src/server/services/sessionService.ts:497
↓ 7 callersFunctiongetProviderUsageTrust
(args: { isFirstPartyAnthropic: boolean })
src/utils/contextBudget.ts:22
↓ 7 callersFunctiongetRemoteManagedSettingsSyncFromCache
()
src/services/remoteManagedSettings/syncCacheState.ts:70
↓ 7 callersFunctiongetRemoteTaskSessionUrl
(sessionId: string)
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:853
↓ 7 callersFunctiongetSessionPanelState
( panelBySession: Record<string, WorkspacePanelSessionState | undefined>, sessionId: string, )
desktop/src/stores/workspacePanelStore.ts:119
↓ 7 callersMethodgetSessionPermissionMode
(sessionId: string)
src/server/services/conversationService.ts:661
↓ 7 callersFunctiongetSimpleCommandPrefix
(command: string)
src/tools/BashTool/bashPermissions.ts:161
↓ 7 callersMethodgetTeam
(name: string)
src/server/services/teamService.ts:132
↓ 7 callersFunctiongetTeamMemPath
()
src/memdir/teamMemPaths.ts:84
↓ 7 callersFunctiongetTotalOutputTokens
()
src/bootstrap/state.ts:708
↓ 7 callersFunctiongetUserMsgOptIn
()
src/bootstrap/state.ts:1112
↓ 7 callersFunctiongetUserSpecifiedModelSetting
()
src/utils/model/model.ts:66
↓ 7 callersFunctiongetXaaIdpSettings
()
src/services/mcp/xaaIdpLogin.ts:47
↓ 7 callersFunctiongitConfig
(rootDir: string, key: string, value: string)
scripts/git-hooks/install.ts:48
← previousnext →1,201–1,300 of 17,500, ranked by callers