MCPcopy Index your code

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

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

↓ 19 callersMethodsend
(sessionId: string, message: ClientMessage)
desktop/src/api/websocket.ts:109
↓ 19 callersFunctionstripAnsi
(value: string)
desktop/src/components/chat/ToolCallBlock.tsx:779
↓ 19 callersFunctionuseAppStateStore
()
src/state/AppState.tsx:177
↓ 18 callersFunctionapi
( method: string, pathname: string, options: { body?: Record<string, unknown> bearerToken?: stri
src/server/__tests__/h5-access-api.test.ts:10
↓ 18 callersMethodappendText
追加文本增量。不等待,只安排一次节流 flush。
adapters/feishu/streaming-card.ts:259
↓ 18 callersFunctionbuildPermissionCard
( toolName: string, input: unknown, requestId: string, workDir?: string, )
adapters/feishu/__tests__/feishu.test.ts:217
↓ 18 callersMethodcheckNow
Visible for testing -- force a single poll cycle.
src/server/services/teamWatcher.ts:48
↓ 18 callersFunctionclearOpenAIOAuthTokenCache
()
src/services/openaiAuth/storage.ts:220
↓ 18 callersFunctioncronMatches
(cronExpr: string, date: Date)
src/server/services/cronScheduler.ts:171
↓ 18 callersFunctiongetTracer
()
src/utils/telemetry/sessionTracing.ts:152
↓ 18 callersFunctionhandleApiRequest
(req: Request, url: URL)
src/server/router.ts:32
↓ 18 callersFunctionhandleModelsApi
( req: Request, url: URL, segments: string[], )
src/server/api/models.ts:166
↓ 18 callersFunctionisPolicyAllowed
(policy: string)
src/services/policyLimits/index.ts:514
↓ 18 callersMethodlistSessions
* List all sessions, optionally filtered by project path.
src/server/services/sessionService.ts:2332
↓ 18 callersFunctionmakeRequest
Create a mock Request
src/server/__tests__/providers.test.ts:38
↓ 18 callersFunctionmakeTeamConfig
Create a standard team config for testing.
src/server/__tests__/team-watcher.test.ts:48
↓ 18 callersFunctionmaybeResizeAndDownsampleImageBuffer
( imageBuffer: Buffer, originalSize: number, ext: string, )
src/utils/imageResizer.ts:179
↓ 18 callersFunctionnormalizeNameForMCP
(name: string)
src/services/mcp/normalization.ts:17
↓ 18 callersFunctiononResponse
(requestId_3, handler_0)
src/hooks/useReplBridge.tsx:577
↓ 18 callersFunctiononSubmit
(selectedServers)
src/components/MCPServerDesktopImportDialog.tsx:72
↓ 18 callersFunctionparseFrontmatter
( markdown: string, sourcePath?: string, )
src/utils/frontmatterParser.ts:130
↓ 18 callersMethodresetSession
Reset session for a chatId (e.g. /new command).
adapters/common/ws-bridge.ts:128
↓ 18 callersFunctionsetCwd
(path: string, relativeTo?: string)
src/utils/Shell.ts:447
↓ 18 callersFunctionsetOriginalCwd
(cwd: string)
src/bootstrap/state.ts:515
↓ 18 callersFunctionspawn
(opts: SessionSpawnOpts, dir: string)
src/bridge/sessionRunner.ts:250
↓ 18 callersFunctiont
(M)
desktop/src-tauri/resources/preview-agent.js:18
↓ 18 callersFunctiontoRelative
(rootDir: string, targetPath: string)
scripts/quality-gate/package-smoke/index.ts:166
↓ 17 callersFunctionappendEntryToFile
( fullPath: string, entry: Record<string, unknown>, )
src/utils/sessionStorage.ts:2601
↓ 17 callersFunctioncreateCleanGitRepo
(baseDir: string)
src/server/__tests__/sessions.test.ts:54
↓ 17 callersFunctionemit
(ws: WebSocket, payload: Record<string, unknown>)
src/server/__tests__/fixtures/mock-sdk-cli.ts:8
↓ 17 callersMethodend
* End a query. Returns true if this generation is still current * (meaning the caller should perform cleanup). Returns false if a * newer query
src/utils/QueryGuard.ts:74
↓ 17 callersFunctionfindMatches
(rootDir: string, matcher: (candidate: string) => boolean, options?: { directoriesOnly?: boolean })
scripts/quality-gate/package-smoke/index.ts:207
↓ 17 callersFunctiongetEmptyToolPermissionContext
()
src/Tool.ts:141
↓ 17 callersFunctiongetMcpConfigsByScope
( scope: 'project' | 'user' | 'local' | 'enterprise', )
src/services/mcp/config.ts:896
↓ 17 callersFunctionheadlessProfilerCheckpoint
(name: string)
src/utils/headlessProfiler.ts:83
↓ 17 callersFunctioni
(M)
desktop/src-tauri/resources/preview-agent.js:18
↓ 17 callersFunctionmatchingRuleForInput
( path: string, toolPermissionContext: ToolPermissionContext, toolType: 'edit' | 'read', behavior: 'al
src/utils/permissions/filesystem.ts:970
↓ 17 callersFunctionnormalizeCaseForComparison
(path: string)
src/utils/permissions/filesystem.ts:90
↓ 17 callersFunctiononProgress
(progress: { data: ShellProgress; })
src/utils/processUserInput/processBashCommand.tsx:55
↓ 17 callersFunctiononReject
(feedback)
src/hooks/useSSHSession.ts:143
↓ 17 callersFunctionosc
(...parts: (string | number)[])
src/ink/termio/osc.ts:18
↓ 17 callersFunctionparse
* Parse a command string and return a ParsedCommand instance. * Returns null if parsing fails completely.
src/utils/bash/ParsedCommand.ts:310
↓ 17 callersFunctionprepareApiRequest
()
src/utils/teleport/api.ts:181
↓ 17 callersFunctionreadNonEmptyString
(record: Record<string, unknown>, ...keys: string[])
desktop/src/stores/chatStore.ts:2613
↓ 17 callersMethodright
()
src/utils/Cursor.ts:311
↓ 17 callersMethodsave
()
adapters/common/session-store.ts:75
↓ 17 callersFunctionsaveCurrentProjectConfig
( updater: (currentConfig: ProjectConfig) => ProjectConfig, cwd?: string, )
src/utils/config.ts:1633
↓ 17 callersFunctionsetStep
()
src/components/TeleportProgress.tsx:120
↓ 17 callersMethodsleep
(ms: number)
src/cli/transports/SerialBatchEventUploader.ts:261
↓ 17 callersFunctionsplitMessage
(text: string, limit: number)
adapters/common/format.ts:39
↓ 17 callersMethodstartSession
({ serverPort }: { serverPort: number })
src/server/services/hahaOAuthService.ts:106
↓ 17 callersFunctionstringOf
(value: unknown)
desktop/src/lib/trace/sse.ts:392
↓ 17 callersMethodupdateUserSettings
更新用户级设置(浅合并)
src/server/services/settingsService.ts:169
↓ 17 callersFunctionwaitForProgrammaticScrollReset
()
desktop/src/components/chat/MessageList.test.tsx:20
↓ 17 callersFunctionwithCors
(response: Response, cors: CorsResolution)
src/server/index.ts:61
↓ 16 callersFunctionB
(M,Q)
desktop/src-tauri/resources/preview-agent.js:18
↓ 16 callersFunctionD
(M,Q,Z,q)
desktop/src-tauri/resources/preview-agent.js:18
↓ 16 callersFunctioncontentTypeForPath
(filePath: string)
src/server/api/previewFs.ts:37
↓ 16 callersFunctioncreateAssistantMessage
({ content, usage, isVirtual, }: { content: string | BetaContentBlock[] usage?: Usage isVirtual?:
src/utils/messages.ts:420
↓ 16 callersFunctioncreateServer
(body: Record<string, unknown>)
src/server/api/mcp.ts:466
↓ 16 callersMethodget
(index: number)
src/ink/screen.ts:50
↓ 16 callersMethodgetComputedTop
()
src/ink/layout/yoga.ts:112
↓ 16 callersFunctiongetGraphemeSegmenter
()
src/utils/intl.ts:13
↓ 16 callersFunctiongetOpenAIOAuthTokens
()
src/services/openaiAuth/storage.ts:193
↓ 16 callersFunctiongit
(cwd: string, ...args: string[])
src/server/__tests__/workspace-service.test.ts:24
↓ 16 callersMethodgraphemeAt
(pos: number)
src/utils/Cursor.ts:980
↓ 16 callersFunctionhandleSettingsApi
( req: Request, url: URL, segments: string[], )
src/server/api/settings.ts:41
↓ 16 callersFunctionhandler
(e: MouseEvent)
desktop/src/components/tasks/TaskRow.tsx:32
↓ 16 callersFunctionhasProgressMessage
* Guard: checks if progress data has a `message` field (agent_progress or * skill_progress). Other progress types (e.g. bash_progress forwarded from
src/tools/AgentTool/UI.tsx:40
↓ 16 callersFunctionisBetaTracingEnabled
()
src/utils/telemetry/betaSessionTracing.ts:78
↓ 16 callersFunctionisBuiltInAgent
( agent: AgentDefinition, )
src/tools/AgentTool/loadAgentsDir.ts:168
↓ 16 callersFunctionisDesktopRuntime
()
desktop/src/lib/desktopRuntime.ts:69
↓ 16 callersFunctionisFastModeSupportedByModel
( modelSetting: ModelSetting, )
src/utils/fastMode.ts:167
↓ 16 callersFunctionisLocalAgentTask
(task: unknown)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:149
↓ 16 callersFunctionisSettingSourceEnabled
(source: SettingSource)
src/utils/settings/constants.ts:174
↓ 16 callersFunctionloadInstalledPluginsV2
()
src/utils/plugins/installedPluginsManager.ts:344
↓ 16 callersMethodloadTokens
()
src/server/services/hahaOAuthService.ts:78
↓ 16 callersFunctionq0
(M)
desktop/src-tauri/resources/preview-agent.js:18
↓ 16 callersMethodreadJsonlFile
(filePath: string)
src/server/services/sessionService.ts:513
↓ 16 callersFunctionreadTeamFile
(teamName: string)
src/utils/swarm/teamHelpers.ts:132
↓ 16 callersFunctionrepositoryBadRequest
(code: RepositoryErrorCode, message: string)
src/server/services/repositoryLaunchService.ts:135
↓ 16 callersFunctionreq
(url: string, init: RequestInit = {})
src/server/__tests__/h5-access-policy.test.ts:9
↓ 16 callersFunctionsameFloat
(a: number, b: number)
src/native-ts/yoga-layout/index.ts:113
↓ 16 callersFunctionsetCwdState
(cwd: string)
src/bootstrap/state.ts:531
↓ 16 callersFunctionsplitCommand_DEPRECATED
(command: string)
src/utils/bash/commands.ts:265
↓ 16 callersMethodstartTool
记录一次 tool_use 开始。dedupe 按 toolUseId(缺省时按 name+index)。
adapters/feishu/streaming-card.ts:275
↓ 16 callersMethodthrottledUpdate
* 节流更新入口。 * * @param throttleMs - 最小 flush 间隔。CardKit 传 THROTTLE.CARDKIT_MS, * Patch 降级路径传 THROTTLE.PATCH_MS。
adapters/feishu/flush-controller.ts:121
↓ 16 callersFunctionupdateRepresentativeClaim
()
src/services/mockRateLimits.ts:210
↓ 16 callersFunctionwaitUntil
( predicate: () => boolean | Promise<boolean>, label: string, timeoutMs = 8000, )
src/server/__tests__/conversations.test.ts:1401
↓ 16 callersFunctionwriteStatus
Write a status line and track its visual line count.
src/bridge/bridgeUI.ts:118
↓ 15 callersFunctionat
(date: string, time: string)
src/utils/__tests__/stats.test.ts:17
↓ 15 callersFunctionclassifyPreviewLink
(href: string)
desktop/src/lib/previewLinkRouter.ts:20
↓ 15 callersMethodclose
()
src/services/mcp/InProcessTransport.ts:37
↓ 15 callersFunctiondescribeCron
(cron: string, t: TFunc)
desktop/src/lib/cronDescribe.ts:34
↓ 15 callersFunctionemitHookResponse
(data: { hookId: string hookName: string hookEvent: string output: string stdout: string stderr: s
src/utils/hooks/hookEvents.ts:153
↓ 15 callersMethodenable
()
src/server/services/h5AccessService.ts:650
↓ 15 callersFunctionenqueue
(command: QueuedCommand)
src/utils/messageQueueManager.ts:128
↓ 15 callersMethodexecuteTask
* Execute a single task by spawning a CLI subprocess. * @param task The task to execute * @param options.createSession When true, creates a Sess
src/server/services/cronScheduler.ts:461
↓ 15 callersMethodfinalize
* 流式结束,切到最终态。 * - 先 waitForFlush 确保中间帧写入完成 * - 然后 close streaming_mode(仅 CardKit 路径) * - 最后用完整 rendered 卡片 update * - complete FlushContro
adapters/feishu/streaming-card.ts:322
↓ 15 callersFunctionflushSeg
()
src/utils/bash/bashParser.ts:2926
← previousnext →401–500 of 17,500, ranked by callers