MCPcopy Create free account

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

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

↓ 6 callersFunctionisMcpServerAllowedByPolicy
* Check if an MCP server is allowed by enterprise policy * Checks name-based, command-based, and URL-based restrictions * @param serverName The name
src/services/mcp/config.ts:427
↓ 6 callersFunctionisMultiSelectEnumSchema
( schema: PrimitiveSchemaDefinition, )
src/utils/mcp/elicitationValidation.ts:52
↓ 6 callersFunctionisOfficialMarketplaceName
( marketplace: string | undefined, )
src/utils/plugins/pluginIdentifier.ts:75
↓ 6 callersFunctionisOpenAIResponsesModel
(model: string)
src/services/openaiAuth/models.ts:55
↓ 6 callersFunctionisPDFExtension
(ext: string)
src/utils/pdfUtils.ts:67
↓ 6 callersFunctionisPanelAgentTask
(t: unknown)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:159
↓ 6 callersFunctionisPerfettoTracingEnabled
()
src/utils/telemetry/perfettoTracing.ts:384
↓ 6 callersFunctionisPidBasedLockingEnabled
()
src/utils/nativeInstaller/pidLock.ts:35
↓ 6 callersFunctionisPluginInstalled
(pluginId: string)
src/utils/plugins/installedPluginsManager.ts:856
↓ 6 callersFunctionisPowerShellParameter
( arg: string, elementType?: CommandElementType, )
src/utils/powershell/parser.ts:1647
↓ 6 callersFunctionisPythonVersionAtLeast
( version: string | null, major: number, minor: number, )
src/server/api/computer-use-python.ts:72
↓ 6 callersMethodisRawModeSupported
()
src/ink/components/App.tsx:151
↓ 6 callersFunctionisRetryableStreamError
(error: unknown)
src/services/api/withRetry.ts:201
↓ 6 callersFunctionisScratchpadEnabled
()
src/utils/permissions/filesystem.ts:298
↓ 6 callersFunctionisSessionPersistenceDisabled
()
src/bootstrap/state.ts:1353
↓ 6 callersFunctionisSessionTab
(tab: Tab | null)
desktop/src/components/layout/TabBar.tsx:36
↓ 6 callersFunctionisTouchH5Document
( doc: Document | undefined = typeof document === 'undefined' ? undefined : document, )
desktop/src/lib/touchH5.ts:21
↓ 6 callersFunctionisXaaEnabled
()
src/services/mcp/xaaIdpLogin.ts:32
↓ 6 callersFunctionj1
(M)
desktop/src-tauri/resources/preview-agent.js:18
↓ 6 callersFunctionkillAsyncAgent
(taskId: string, setAppState: SetAppState)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:282
↓ 6 callersMethodkillPane
* Kills/closes a specific pane.
src/utils/swarm/backends/TmuxBackend.ts:271
↓ 6 callersFunctionlastGrapheme
(text: string)
src/utils/intl.ts:37
↓ 6 callersFunctionlistCandidates
( projectDir: string, doStat: boolean, projectPath?: string, )
src/utils/listSessionsImpl.ts:169
↓ 6 callersMethodlistTeams
()
src/server/services/teamService.ts:97
↓ 6 callersFunctionlistener
(newLimits: ClaudeAILimits)
src/services/claudeAiLimitsHook.ts:12
↓ 6 callersFunctionloadConfig
()
src/server/api/computer-use.ts:493
↓ 6 callersFunctionloadFullLog
(log: LogOption)
src/utils/sessionStorage.ts:2978
↓ 6 callersFunctionloadMarketplacesWithGracefulDegradation
( config: Record<string, KnownMarketplace>, )
src/utils/plugins/marketplaceHelpers.ts:71
↓ 6 callersFunctionloadPluginLspServers
( plugin: LoadedPlugin, errors: PluginError[] = [], )
src/utils/plugins/lspPluginIntegration.ts:57
↓ 6 callersFunctionloadQuarantineManifest
(path = defaultManifestPath, options: { enforceReviewDate?: boolean; asOf?: Date } = {})
scripts/quality-gate/quarantine.ts:20
↓ 6 callersFunctionloadSkillsFromSkillsDir
* Loads skills from a /skills/ directory path. * Only supports directory format: skill-name/SKILL.md
src/skills/loadSkillsDir.ts:407
↓ 6 callersFunctionlog
(event)
desktop/electron/services/notificationSmoke.ts:106
↓ 6 callersFunctionlogError
(message: string)
src/bridge/bridgeUI.ts:356
↓ 6 callersFunctionlogModeDecision
( enabled: boolean, mode: ToolSearchMode, reason: string, extraProps?: Record<string, number>,
src/utils/toolSearch.ts:395
↓ 6 callersFunctionlogPull
( startTime: number, outcome: { success: boolean filesWritten?: number notModified?: boolean
src/services/teamMemorySync/index.ts:1195
↓ 6 callersFunctionmakeMockCtx
()
desktop/src/preview-agent/screenshot.test.ts:10
↓ 6 callersFunctionmakeSession
(id: string, modifiedAt: string, title = id)
desktop/src/stores/sessionStore.test.ts:33
↓ 6 callersFunctionmaskSecret
(value: string | undefined)
src/server/services/adapterService.ts:77
↓ 6 callersFunctionmatchingRulesForInput
* Get matching rules for input across all rule types (deny, ask, allow)
src/tools/PowerShellTool/powershellPermissions.ts:338
↓ 6 callersFunctionmatchingRulesForInput
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, matchMode:
src/tools/BashTool/bashPermissions.ts:937
↓ 6 callersFunctionmethodNotAllowed
(method: string)
src/server/api/providers.ts:226
↓ 6 callersFunctionmockFetch
(handler: (url: string) => Response | Promise<Response>)
desktop/src/lib/trace/callCache.test.ts:34
↓ 6 callersFunctionmodelSupportsThinking
(model: string)
src/utils/thinking.ts:91
↓ 6 callersFunctionnextCronRunMs
(cron: string, fromMs: number)
src/utils/cronTasks.ts:400
↓ 6 callersFunctionnormalizeFilePath
(filePath: string)
src/utils/commitAttribution.ts:252
↓ 6 callersFunctionnormalizeFsPath
(value: string)
desktop/src/pages/MemorySettings.tsx:734
↓ 6 callersFunctionnormalizePreviewUrl
(input: string)
desktop/electron/services/preview.ts:60
↓ 6 callersFunctionnormalizeProfilePreferences
(value: unknown)
src/server/services/desktopUiPreferencesService.ts:122
↓ 6 callersFunctionnormalizeZoomFactor
(value: unknown)
desktop/electron/services/zoom.ts:4
↓ 6 callersMethodnotifySelectionChange
()
src/ink/ink.tsx:1253
↓ 6 callersFunctiononAction
()
desktop/src/lib/desktopHost/browserHost.ts:144
↓ 6 callersMethodonExit
(handler: (event: { exitCode: number, signal?: number | string | null }) => void)
desktop/electron/services/terminal.test.ts:44
↓ 6 callersFunctionopenFile
(filePath: string, content: string)
src/services/lsp/LSPServerManager.ts:270
↓ 6 callersFunctionparseAddress
(to: string)
src/utils/peerAddress.ts:8
↓ 6 callersFunctionparseAgentToolsFromFrontmatter
( toolsValue: unknown, )
src/utils/markdownConfigLoader.ts:113
↓ 6 callersFunctionparseBaselineTargetValues
(values: string[], index: ProviderIndex = loadProviderIndex())
scripts/quality-gate/providerTargets.ts:176
↓ 6 callersFunctionparseCommand
Parse a single command: simple, compound, or control structure.
src/utils/bash/bashParser.ts:995
↓ 6 callersFunctionparseGeneratedTitleText
(text: string)
src/server/services/titleService.ts:403
↓ 6 callersFunctionparseGitRemote
(input: string)
src/utils/detectRepository.ts:87
↓ 6 callersFunctionparseRGB
(colorStr: string)
src/components/Spinner/utils.ts:70
↓ 6 callersFunctionpersistDenialState
* Persist denial tracking state. For async subagents with localDenialTracking, * mutate the local state in place (since setAppState is a no-op). Othe
src/utils/permissions/permissions.ts:973
↓ 6 callersFunctionpersistPermissionUpdate
(update: PermissionUpdate)
src/utils/permissions/PermissionUpdate.ts:222
↓ 6 callersFunctionpersistPermissionUpdates
(updates: PermissionUpdate[])
src/utils/permissions/PermissionUpdate.ts:349
↓ 6 callersFunctionpick
(rng: () => number, arr: readonly T[])
src/buddy/companion.ts:40
↓ 6 callersFunctionpoll
()
src/hooks/usePrStatus.ts:49
↓ 6 callersFunctionpollWhatsAppLoginWithQr
(options: { sessionKey: string })
adapters/whatsapp/protocol.ts:143
↓ 6 callersFunctionprepareNodePtyRuntime
(sourceDir: string, cacheDir: string)
desktop/electron/services/terminal.ts:423
↓ 6 callersFunctionpreviewTraceValue
(value: unknown, maxChars = 180)
desktop/src/lib/traceViewModel.ts:450
↓ 6 callersFunctionprocessMdRules
({ rulesDir, type, processedPaths, includeExternal, conditionalRule, visitedDirs = new Set(), }: {
src/utils/claudemd.ts:697
↓ 6 callersFunctionpsExeHasParamAbbreviation
* Wrapper around commandHasArgAbbreviation that also matches alternative * parameter prefixes (`/`, en-dash, em-dash, horizontal-bar). PowerShell's
src/tools/PowerShellTool/powershellSecurity.ts:83
↓ 6 callersFunctionpushUniqueOption
( options: ModelOption[], option: ModelOption | undefined, )
src/utils/model/modelOptions.ts:52
↓ 6 callersFunctionq1
(M)
desktop/src-tauri/resources/preview-agent.js:18
↓ 6 callersFunctionread
(key: string)
desktop/src/stores/chatStore.ts:2802
↓ 6 callersFunctionreadFileSyncWithMetadata
(filePath: string)
src/utils/fileRead.ts:75
↓ 6 callersMethodreadJsonFile
安全读取 JSON 文件,文件不存在时返回空对象
src/server/services/settingsService.ts:72
↓ 6 callersFunctionreadLockContent
( lockFilePath: string, )
src/utils/nativeInstaller/pidLock.ts:137
↓ 6 callersFunctionreadProvidersConfig
Read the providers.json written to the temp config dir
src/server/__tests__/providers.test.ts:79
↓ 6 callersFunctionreadTeamFileAsync
( teamName: string, )
src/utils/swarm/teamHelpers.ts:148
↓ 6 callersFunctionrecordSidechainTranscript
( messages: Message[], agentId?: string, startingParentUuid?: UUID | null, )
src/utils/sessionStorage.ts:1480
↓ 6 callersFunctionrecorder
(api: string, resp: any)
adapters/feishu/__tests__/cardkit.test.ts:31
↓ 6 callersMethodrender
()
src/components/SentryErrorBoundary.ts:21
↓ 6 callersFunctionrenderAdapterSettings
( config: AdapterFileConfig, overrides: Partial<ReturnType<typeof useAdapterStore.getState>> = {}, )
desktop/src/pages/AdapterSettings.test.tsx:13
↓ 6 callersFunctionrenderDefaultModelSetting
( setting: ModelName | ModelAlias, )
src/utils/model/model.ts:326
↓ 6 callersFunctionrequestNativePreview
(url: string, options?: { force?: boolean })
desktop/src/components/browser/BrowserSurface.tsx:106
↓ 6 callersFunctionrequireAuth
(req: Request, tokenOverride?: string | null)
src/server/middleware/auth.ts:69
↓ 6 callersFunctionresetSessionFilePointer
()
src/utils/sessionStorage.ts:1534
↓ 6 callersFunctionresolveColor
* Resolves a color value that may be a theme key to a raw Color.
src/components/design-system/ThemedBox.tsx:42
↓ 6 callersFunctionresolveCronTaskTimeoutMs
( env: { CC_HAHA_TASK_TIMEOUT_MS?: string } = process.env, )
src/server/services/cronScheduler.ts:267
↓ 6 callersFunctionresolveHostTriple
(platform = process.platform, arch = process.arch)
desktop/electron/services/sidecarManager.ts:40
↓ 6 callersFunctionresolvePowerShellPathOverride
( override = process.env[POWERSHELL_PATH_OVERRIDE_ENV], deps: PowerShellDetectionDeps = {}, )
src/utils/shell/powershellDetection.ts:101
↓ 6 callersFunctionresolveThemeColor
(token: string, fallback: string)
desktop/src/components/chat/MermaidRenderer.tsx:153
↓ 6 callersFunctionresolveThemeSetting
(setting: ThemeSetting)
src/utils/systemTheme.ts:42
↓ 6 callersFunctionrestartError
(statusCode: number)
adapters/whatsapp/__tests__/protocol.test.ts:60
↓ 6 callersFunctionrestoreEnv
(key: string, value: string | undefined)
adapters/common/__tests__/config.test.ts:133
↓ 6 callersFunctionrestoreEnv
(key: keyof typeof originalEnv)
src/utils/managedEnv.test.ts:18
↓ 6 callersMethodresume
()
src/ink/ink.tsx:802
↓ 6 callersFunctionrgb
(r: number, g: number, b: number)
src/ink/hooks/use-tab-status.ts:13
↓ 6 callersFunctionripGrep
( args: string[], target: string, abortSignal: AbortSignal, )
src/utils/ripgrep.ts:450
↓ 6 callersFunctionripgrepCommand
()
src/utils/ripgrep.ts:157
↓ 6 callersFunctionroundValue
( v: number, scale: number, forceCeil: boolean, forceFloor: boolean, )
src/native-ts/yoga-layout/index.ts:2483
← previousnext →1,601–1,700 of 17,500, ranked by callers