MCPcopy Create free account

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

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

↓ 6 callersFunctionrow
(l1: string, v1: string, l2: string, v2: string)
src/components/Stats.tsx:1106
↓ 6 callersFunctionrun
(cmd: string[], options: { optional?: boolean } = {})
scripts/pr/check-pr.ts:6
↓ 6 callersMethodrunGit
( workDir: string, args: string[], )
src/server/services/workspaceService.ts:1623
↓ 6 callersFunctionrunWithAgentContext
(context: AgentContext, fn: () => T)
src/utils/agentContext.ts:108
↓ 6 callersFunctionsafeEntries
( obj: Record<string, V> | undefined | null, )
src/commands/insights.ts:3025
↓ 6 callersMethodsanitizePath
* Sanitize a path the same way the shared session storage does. * This must remain Windows-safe, so reserved characters such as ':' are normalized
src/server/services/sessionService.ts:505
↓ 6 callersFunctionsaveOpenAIOAuthTokens
(tokens: OpenAIOAuthTokens)
src/services/openaiAuth/storage.ts:141
↓ 6 callersFunctionscopeToSettingSource
( scope: PluginScope, )
src/utils/plugins/pluginIdentifier.ts:104
↓ 6 callersFunctionscrollToBottom
()
src/ink/components/ScrollBox.tsx:152
↓ 6 callersMethodsendMessage
( sessionId: string, content: string, attachments?: AttachmentRef[], )
src/server/services/conversationService.ts:450
↓ 6 callersMethodsendStopGeneration
Stop the current generation.
adapters/common/ws-bridge.ts:107
↓ 6 callersFunctionsetAppState
(updater: (prev: AppState) => AppState)
src/tools/AgentTool/agentToolUtils.test.ts:50
↓ 6 callersMethodsetJustifyContent
(justify: LayoutJustify)
src/ink/layout/yoga.ts:231
↓ 6 callersFunctionsetupFiles
()
src/server/api/__tests__/localFile.test.ts:20
↓ 6 callersFunctionshift
(p: Point, vRow: number)
src/ink/selection.ts:540
↓ 6 callersFunctionshouldTriggerNonStreamingFallbackForEmptyStream
({ hasMessageStart, assistantMessageCount, stopReason, }: { hasMessageStart: boolean assistantMessag
src/services/api/streamFallback.ts:1
↓ 6 callersMethodshutdown
()
src/utils/telemetry/bigqueryExporter.ts:215
↓ 6 callersFunctionsignClaudeCodeCCHInString
(body: string)
src/utils/claudeCodeCch.ts:21
↓ 6 callersMethodstageDownloadedUpdate
()
desktop/electron/services/updater.ts:163
↓ 6 callersMethodstartOfLine
()
src/utils/Cursor.ts:426
↓ 6 callersFunctionstartWhatsAppLoginWithQr
(options: { authDir: string force?: boolean createSocket?: CreateLoginSocket })
adapters/whatsapp/protocol.ts:58
↓ 6 callersFunctionstopConnecting
Stop the connecting spinner.
src/bridge/bridgeUI.ts:180
↓ 6 callersFunctionstrEquals
(a: string, b: string)
src/tools/PowerShellTool/powershellPermissions.ts:178
↓ 6 callersFunctionstringValue
(value: unknown)
adapters/dingtalk/helpers.ts:99
↓ 6 callersFunctionstripModel1mMarker
(model: string)
desktop/src/pages/Settings.tsx:852
↓ 6 callersFunctionstyleBorderLine
( line: string, color: Color | undefined, dim: boolean | undefined, )
src/ink/render-border.ts:70
↓ 6 callersFunctionsubstitutePluginVariables
( value: string, plugin: { path: string; source?: string }, )
src/utils/plugins/pluginOptionsStorage.ts:326
↓ 6 callersFunctionsuggestionForExactCommand
(command: string)
src/tools/BashTool/bashPermissions.ts:266
↓ 6 callersFunctionsymbolKindToString
* Maps SymbolKind enum to readable string
src/tools/LSPTool/formatters.ts:272
↓ 6 callersFunctiontoArray
(val: T | T[])
src/utils/shell/specPrefix.ts:36
↓ 6 callersFunctiontoErrorMessage
(err: unknown)
adapters/telegram/commands.ts:717
↓ 6 callersFunctiontoSDKMessages
(messages: Message[])
src/utils/messages/mappers.ts:115
↓ 6 callersFunctiontotalForDate
( dailyModelTokens: Array<{ date: string tokensByModel: { [model: string]: number } }>, date: st
src/utils/__tests__/stats.test.ts:90
↓ 6 callersFunctiontransitionHyperlink
( diff: Diff, current: Hyperlink, target: Hyperlink, )
src/ink/log-update.ts:470
↓ 6 callersFunctiontryEncodeImageCandidate
({ sharp, imageBuffer, originalWidth, originalHeight, dimensions, format, maxBytes, allowFallb
src/utils/imageResizer.ts:476
↓ 6 callersMethodtxn
(fn: (prev: Point) => [patches: Diff, next: Delta])
src/ink/log-update.ts:765
↓ 6 callersFunctionupdateActiveSpeculationState
( setAppState: SetAppState, updater: (state: ActiveSpeculationState) => Partial<ActiveSpeculationState>, )
src/services/PromptSuggestion/speculation.ts:310
↓ 6 callersFunctionuseElapsedTime
( startTime: number, isRunning: boolean, ms: number = 1000, pausedMs: number = 0, endTime?: number,
src/hooks/useElapsedTime.ts:17
↓ 6 callersFunctionusePermissionRequestLogging
( toolUseConfirm: ToolUseConfirm, unaryEvent: UnaryEvent, )
src/components/permissions/hooks.ts:101
↓ 6 callersFunctionuseStartupNotification
( compute: () => Result | Promise<Result>, )
src/hooks/notifs/useStartupNotification.ts:19
↓ 6 callersFunctionuseTerminalNotification
()
src/ink/useTerminalNotification.ts:25
↓ 6 callersFunctionvalidateH5PublicBaseUrl
( publicBaseUrl: string, localInterfaceHosts: string[] = collectLocalIPv4Hosts(), )
src/server/services/h5AccessService.ts:409
↓ 6 callersFunctionvalidatePath
* Validates a file system path, handling tilde expansion.
src/tools/PowerShellTool/pathValidation.ts:1017
↓ 6 callersFunctionvalidateQuarantineManifest
(manifest: QuarantineManifest, options: { enforceReviewDate?: boolean; asOf?: Date } = {})
scripts/quality-gate/quarantine.ts:33
↓ 6 callersFunctionwithOAuth401Retry
( request: () => Promise<T>, opts?: { also403Revoked?: boolean }, )
src/utils/http.ts:116
↓ 6 callersFunctionwriteBridgePointer
( dir: string, pointer: BridgePointer, )
src/bridge/bridgePointer.ts:62
↓ 6 callersMethodwriteIndex
(index: ProvidersIndex)
src/server/services/providerService.ts:160
↓ 6 callersFunctionwriteSkill
(root: string, skillName: string, content: string)
src/server/__tests__/skills.test.ts:38
↓ 6 callersMethodwriteTarString
(header: Buffer, offset: number, length: number, value: string)
src/server/services/diagnosticsService.ts:632
↓ 6 callersFunctionwriteWindowSmokeSnapshot
( window: WindowSmokeWindow | null, reason: string, env: WindowSmokeEnv = process.env, )
desktop/electron/services/windowSmoke.ts:15
↓ 6 callersFunctionxxh64Round
(acc: bigint, input: bigint)
src/utils/claudeCodeCch.ts:174
↓ 6 callersFunctionzodToJsonSchema
(schema: ZodTypeAny)
src/utils/zodToJsonSchema.ts:17
↓ 5 callersFunctionP1
(M,Q,Z)
desktop/src-tauri/resources/preview-agent.js:18
↓ 5 callersFunctionQ
(Z,q)
desktop/src-tauri/resources/preview-agent.js:18
↓ 5 callersFunctionT1
(M,Q)
desktop/src-tauri/resources/preview-agent.js:18
↓ 5 callersFunction__resetWebSocketHandlerStateForTests
()
src/server/ws/handler.ts:2820
↓ 5 callersMethod_isCardKitStreamActive
@internal
adapters/feishu/streaming-card.ts:618
↓ 5 callersMethod_notify
()
src/utils/QueryGuard.ts:118
↓ 5 callersFunctionackWork
()
src/bridge/bridgeMain.ts:837
↓ 5 callersFunctionaddScopeToServers
* Internal utility: Add scope to server configs
src/services/mcp/config.ts:79
↓ 5 callersFunctionaddUniqueModel
( models: ApiModelInfo[], model: ApiModelInfo | null, )
src/server/api/models.ts:61
↓ 5 callersFunctionapp
(root = tempDir())
desktop/electron/services/appMode.test.ts:24
↓ 5 callersFunctionappendCappedMessage
( prev: readonly T[] | undefined, item: T, )
src/tasks/InProcessTeammateTask/types.ts:108
↓ 5 callersFunctionappendOrUpdateTailCompactSummary
( messages: UIMessage[], update: Partial<Omit<CompactSummaryMessage, 'id' | 'type' | 'timestamp'>>, time
desktop/src/stores/chatStore.ts:540
↓ 5 callersFunctionapplyOperator
( op: Operator, from: number, to: number, ctx: OperatorContext, linewise: boolean = false, )
src/vim/operators.ts:493
↓ 5 callersFunctionapplyTextStyles
(text: string, styles: TextStyles)
src/ink/colorize.ts:176
↓ 5 callersFunctionassembleToolPool
( permissionContext: ToolPermissionContext, mcpTools: Tools, )
src/tools.ts:346
↓ 5 callersFunctionbashToolCheckExactMatchPermission
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, )
src/tools/BashTool/bashPermissions.ts:991
↓ 5 callersMethodbroadcast
(message: ServerMessage)
src/server/services/teamWatcher.ts:327
↓ 5 callersFunctionbuildBridgeConnectUrl
( environmentId: string, ingressUrl?: string, )
src/bridge/bridgeStatusUtil.ts:39
↓ 5 callersFunctionbuildPluginCommandTelemetryFields
( pluginInfo: { pluginManifest: PluginManifest; repository: string }, managedNames: Set<string> | null = n
src/utils/telemetry/pluginTelemetry.ts:173
↓ 5 callersMethodbuildSyntheticDiff
( oldPath: string, newPath: string, oldContent: string, newContent: string, )
src/server/services/workspaceService.ts:1015
↓ 5 callersMethodcaptureScrolledRows
* Capture text from rows about to scroll out of the viewport during * drag-to-scroll. Must be called BEFORE the ScrollBox scrolls so the * scree
src/ink/ink.tsx:1162
↓ 5 callersFunctioncaptureToDataUrl
(kind: CaptureKind, element?: Element)
desktop/src/preview-agent/screenshot.ts:6
↓ 5 callersMethodcheckAuthStatus
* Check whether any usable auth exists: * 1. A cc-haha provider is active → has auth * 2. Original ~/.claude/settings.json has ANTHROPIC_AUTH_
src/server/services/providerService.ts:432
↓ 5 callersMethodcheckDependencies
()
src/utils/sandbox/sandbox-adapter.ts:887
↓ 5 callersFunctioncheckPathTraversal
* Check for parent-directory segments ('..') in a path string. * * For plugin.json component paths this is a security concern (escaping the plugin d
src/utils/plugins/validatePlugin.ts:92
↓ 5 callersFunctioncheckReadPermissionForTool
( tool: Tool, input: { [key: string]: unknown }, toolPermissionContext: ToolPermissionContext, )
src/utils/permissions/filesystem.ts:1045
↓ 5 callersFunctioncheckStartFailed
()
src/services/lsp/LSPClient.ts:73
↓ 5 callersFunctionclampPosition
(position: { x: number; y: number })
desktop/src/hooks/useSelectionPopoverDismiss.ts:111
↓ 5 callersFunctionclassifyBashCommand
( _command: string, _cwd: string, _descriptions: string[], _behavior: ClassifierBehavior, _signal: A
src/utils/permissions/bashClassifier.ts:40
↓ 5 callersFunctioncleanup
()
src/screens/REPL.tsx:2299
↓ 5 callersFunctionclearActiveUserTurn
(sessionId: string, activeTurn: ActiveUserTurnState)
src/server/ws/handler.ts:462
↓ 5 callersFunctioncollect
(gen: AsyncGenerator<any, void>)
src/services/api/streamRetry.test.ts:38
↓ 5 callersFunctioncollectLocalIPv4Hosts
(networkInterfaces: NetworkInterfaces = os.networkInterfaces())
src/server/services/h5AccessService.ts:384
↓ 5 callersFunctioncommandInvokesWsl
(command?: string)
src/utils/shell/wslInterop.ts:5
↓ 5 callersMethodcomplete
标记完成 —— 当前 flush 跑完后不再接受新的。
adapters/feishu/flush-controller.ts:48
↓ 5 callersFunctioncomputeHash
(data: unknown)
src/services/api/promptCacheBreakDetection.ts:170
↓ 5 callersMethodconflict
(message: string)
src/server/middleware/errorHandler.ts:25
↓ 5 callersMethodconnect
()
src/server/directConnectManager.ts:50
↓ 5 callersFunctionconstrainDimensions
( width: number, height: number, maxWidth: number, maxHeight: number, )
src/utils/imageResizer.ts:384
↓ 5 callersFunctionconsumeKeyword
(P: ParseState, name: string, kids: TsNode[])
src/utils/bash/bashParser.ts:3688
↓ 5 callersFunctioncontainsPathTraversal
(path: string)
src/utils/path.ts:133
↓ 5 callersFunctionconvertEffortValueToLevel
(value: EffortValue)
src/utils/effort.ts:202
↓ 5 callersMethodcountChangedLines
(value: string)
src/server/services/workspaceService.ts:1008
↓ 5 callersFunctioncountTokensWithFallback
( messages: Anthropic.Beta.Messages.BetaMessageParam[], tools: Anthropic.Beta.Messages.BetaToolUnion[],
src/utils/analyzeContext.ts:84
↓ 5 callersFunctioncountTranscriptLines
(content: string)
src/server/services/sessionRewindService.ts:446
↓ 5 callersFunctioncreateCardEntity
( client: LarkClient, card: Record<string, unknown>, )
adapters/feishu/cardkit.ts:135
↓ 5 callersFunctioncreateCompressedImageResult
( buffer: Buffer, mediaType: string, originalSize: number, )
src/utils/imageResizer.ts:852
↓ 5 callersFunctioncreateDefaultSessionState
()
desktop/src/stores/chatStore.ts:160
← previousnext →1,701–1,800 of 17,500, ranked by callers