MCPcopy Index your code

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

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

↓ 15 callersFunctiongetBodyElements
(card: Record<string, unknown>)
adapters/feishu/__tests__/feishu.test.ts:426
↓ 15 callersFunctiongetHeightsForSession
(sessionId: string)
desktop/src/components/chat/virtualHeightCache.ts:34
↓ 15 callersFunctiongetMcpConfigByName
(name: string)
src/services/mcp/config.ts:1041
↓ 15 callersFunctiongetOrganizationUUID
()
src/services/oauth/client.ts:426
↓ 15 callersFunctiongetPluginsDirectory
()
src/utils/plugins/pluginDirectories.ts:53
↓ 15 callersFunctionhandleDesktopUiApi
( req: Request, url: URL, segments: string[], )
src/server/api/desktop-ui.ts:17
↓ 15 callersFunctionisEssentialTrafficOnly
()
src/utils/privacyLevel.ts:34
↓ 15 callersFunctionisIdentStart
(c: string)
src/utils/bash/bashParser.ts:226
↓ 15 callersMethodlistTasks
列出所有任务(跨所有 task list)
src/server/services/taskService.ts:105
↓ 15 callersFunctionloadAllPlugins
()
src/commands/plugin/DiscoverPlugins.tsx:124
↓ 15 callersFunctionmakeFileHistorySnapshotEntry
( snapshotMessageId: string, trackedFileBackups: Record<string, unknown>, )
src/server/__tests__/sessions.test.ts:198
↓ 15 callersFunctionmergeSlashCommands
( preferred: ReadonlyArray<SlashCommandOption>, fallback: ReadonlyArray<SlashCommandOption> = FALLBACK_SLA
desktop/src/components/chat/composerUtils.ts:199
↓ 15 callersMethodobserve
()
desktop/src/components/browser/BrowserSurface.test.tsx:8
↓ 15 callersFunctiononExit
(handler: (payload: TerminalExitPayload) => void)
desktop/src/api/terminal.ts:53
↓ 15 callersFunctiononProgress
(lastLines, allLines, totalLines, totalBytes, isIncomplete)
src/tools/BashTool/BashTool.tsx:883
↓ 15 callersFunctiononSelect
(log_0: LogOption)
src/screens/ResumeConversation.tsx:178
↓ 15 callersFunctionparsePermissionCommand
( text: string, pendingRequestIds?: Iterable<string> | null, )
adapters/common/permission.ts:13
↓ 15 callersFunctionparseStatements
* Parse a sequence of statements separated by ; & newline. Returns a flat list * where ; and & are sibling leaves (NOT wrapped in 'list' — only && ||
src/utils/bash/bashParser.ts:769
↓ 15 callersFunctionparseWord
* Parse a word-position element: bare word, string, expansion, or concatenation * thereof. Returns a single node; if multiple adjacent fragments, wra
src/utils/bash/bashParser.ts:2008
↓ 15 callersFunctionreadFileSync
(fsPath, options)
src/utils/fsOperations.ts:445
↓ 15 callersFunctionreassembleSseText
(sseText: string)
desktop/src/lib/trace/sse.ts:17
↓ 15 callersFunctionrenderModelName
(model: ModelName)
src/utils/model/model.ts:427
↓ 15 callersMethodresize
(cols: number, rows: number)
desktop/electron/services/terminal.test.ts:32
↓ 15 callersFunctionsemanticBoolean
( inner: T = z.boolean() as unknown as T, )
src/utils/semanticBoolean.ts:22
↓ 15 callersFunctiontext
(s: string)
tests/reorderAssistantToolUseBlocks.test.ts:14
↓ 15 callersFunctiontuc
()
src/utils/computerUse/wrapper.tsx:53
↓ 15 callersMethodupdateProvider
(id: string, input: UpdateProviderInput)
src/server/services/providerService.ts:239
↓ 15 callersFunctionvalidateBridgeId
(id: string, label: string)
src/bridge/bridgeApi.ts:48
↓ 15 callersFunctionwrapInSystemReminder
(content: string)
src/utils/messages.ts:3214
↓ 15 callersFunctionwriteFileSync_DEPRECATED
( filePath: string, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptionsWithFlush, )
src/utils/slowOperations.ts:248
↓ 15 callersFunctionwriteSessionFile
Write a JSONL session file. Entries may be objects (serialized) or raw strings (for malformed-line tests).
src/server/__tests__/searchService.sessions.test.ts:34
↓ 14 callersMethodappendReasoning
追加 reasoning/thinking delta —— 与 appendText 并列,渲染为顶部预览。
adapters/feishu/streaming-card.ts:267
↓ 14 callersFunctioncapitalize
(str: string)
src/utils/stringUtils.ts:20
↓ 14 callersFunctioncellAt
(screen: Screen, x: number, y: number)
src/ink/screen.ts:593
↓ 14 callersFunctioncheckAttachmentLimit
( kind: 'image' | 'file', size: number, mime?: string, )
adapters/common/attachment/attachment-limits.ts:27
↓ 14 callersFunctionclassifyH5Request
( request: Request, url: URL, context: H5RequestContext, )
src/server/h5AccessPolicy.ts:61
↓ 14 callersFunctioncleanSessionTitleSource
(raw: string)
src/utils/sessionTitleText.ts:28
↓ 14 callersFunctioncollectSse
(stream: ReadableStream<Uint8Array>)
src/server/__tests__/proxy-streaming.test.ts:23
↓ 14 callersFunctionconsumePendingDelta
(sessionId: string)
desktop/src/stores/chatStore.ts:393
↓ 14 callersFunctioncreateTraceBodySnapshot
( body: unknown, options?: { maxPreviewChars?: number; alreadyTruncated?: boolean }, )
src/services/api/traceCapture.ts:246
↓ 14 callersFunctionenableConfigs
()
src/utils/config.ts:1334
↓ 14 callersMethodforceFlush
()
src/utils/telemetry/bigqueryExporter.ts:221
↓ 14 callersFunctiongetConfiguredWorkDir
(config: AdapterConfig, platformConfig: AdapterPlatformConfig)
adapters/common/config.ts:168
↓ 14 callersFunctiongetCurrentProjectConfig
(cwd?: string)
src/utils/config.ts:1608
↓ 14 callersFunctiongetCurrentWorktreeSession
()
src/utils/worktree.ts:159
↓ 14 callersMethodgetDiff
( sessionId: string, filePath: string, )
src/server/services/workspaceService.ts:550
↓ 14 callersFunctiongetProxyFetchOptions
(opts?: { forAnthropicAPI?: boolean; proxyUrl?: string | null; targetUrl?: string | URL | null; noProxy?: stri
src/utils/proxy.ts:310
↓ 14 callersFunctiongetShortcutDisplay
( action: string, context: KeybindingContextName, fallback: string, )
src/keybindings/shortcutFormat.ts:38
↓ 14 callersMethodgetStatus
(sessionId: string)
src/server/services/workspaceService.ts:246
↓ 14 callersFunctionhandleAdaptersApi
( req: Request, _url: URL, _segments: string[], )
src/server/api/adapters.ts:142
↓ 14 callersFunctionhasDangerousExpansion
* Checks if a redirection target contains shell expansion syntax that could * bypass path validation. These require manual approval for security. *
src/utils/bash/commands.ts:830
↓ 14 callersFunctionhasEmbeddedSearchTools
()
src/utils/embeddedTools.ts:15
↓ 14 callersFunctioninitializeDesktopServerUrl
()
desktop/src/lib/desktopRuntime.ts:157
↓ 14 callersFunctionisAnthropicAuthEnabled
()
src/utils/auth.ts:101
↓ 14 callersMethodisAtEnd
()
src/utils/Cursor.ts:1000
↓ 14 callersFunctionisFastModeAvailable
()
src/utils/fastMode.ts:42
↓ 14 callersFunctionisOpenAIOfficialProviderId
( id: string | null | undefined, )
src/server/services/openaiOfficialProvider.ts:21
↓ 14 callersFunctionisOpus1mMergeEnabled
()
src/utils/model/model.ts:342
↓ 14 callersFunctionlistTasks
(taskListId: string)
src/utils/tasks.ts:443
↓ 14 callersFunctionloadConfig
()
adapters/common/config.ts:103
↓ 14 callersFunctionlogPluginFetch
( source: PluginFetchSource, urlOrSpec: string | undefined, outcome: PluginFetchOutcome, durationMs: n
src/utils/plugins/fetchTelemetry.ts:79
↓ 14 callersFunctionlogSuggestionSuppressed
( reason: string, suggestion?: string, promptId?: PromptVariant, source?: 'cli' | 'sdk', )
src/services/PromptSuggestion/promptSuggestion.ts:499
↓ 14 callersFunctionmakeMockClient
(responses: Record<string, any>)
adapters/feishu/__tests__/cardkit.test.ts:29
↓ 14 callersFunctionmakeProvider
(overrides: Partial<SavedProvider> = {})
desktop/src/stores/providerStore.test.ts:73
↓ 14 callersFunctionmakeStream
(chunks: string[])
src/server/__tests__/proxy-streaming.test.ts:11
↓ 14 callersFunctionopen
(sock)
src/upstreamproxy/relay.ts:193
↓ 14 callersFunctionreadXmlTag
(xml: string, tag: string)
desktop/src/stores/chatStore.ts:2608
↓ 14 callersFunctionregisterBundledSkill
(definition: BundledSkillDefinition)
src/skills/bundledSkills.ts:53
↓ 14 callersFunctionresolve
(value: T)
src/hooks/toolPermission/PermissionContext.ts:79
↓ 14 callersFunctionresolveGitDir
( startPath?: string, )
src/utils/git/gitFilesystem.ts:40
↓ 14 callersMethodresolvePath
Compute the target path. Creates parent dirs on demand. * If a file with the same name already exists, prefix with a timestamp * to avoid clob
adapters/common/attachment/attachment-store.ts:57
↓ 14 callersFunctionset
(name: string, value: number)
src/context/stats.tsx:36
↓ 14 callersFunctionstatSync
(fsPath)
src/utils/fsOperations.ts:435
↓ 14 callersFunctionswitchSession
( sessionId: SessionId, projectDir: string | null = null, )
src/bootstrap/state.ts:468
↓ 14 callersFunctiontoIDEDisplayName
(terminal: string | null)
src/utils/ide.ts:1214
↓ 14 callersMethodupdateConfig
更新配置(浅合并,敏感字段如果是脱敏值则保留原值)
src/server/services/adapterService.ts:125
↓ 14 callersFunctionuseSelectedMessageBg
()
src/components/messageActions.tsx:212
↓ 14 callersFunctionuseTerminalFocus
()
src/ink/hooks/use-terminal-focus.ts:13
↓ 14 callersFunctionwrapForMultiplexer
(sequence: string)
src/ink/termio/osc.ts:35
↓ 14 callersFunctionwriteFileHistoryBackup
( sessionId: string, backupFileName: string, content: string, )
src/server/__tests__/sessions.test.ts:359
↓ 13 callersFunctionF
(M,Q)
desktop/src-tauri/resources/preview-agent.js:18
↓ 13 callersFunctionbuildOpenWithItems
(ctx: OpenWithContext, targets: OpenTarget[], deps: OpenWithDeps)
desktop/src/lib/openWithItems.ts:58
↓ 13 callersFunctionbuildProjectPickerCard
(projects: RecentProject[])
adapters/feishu/__tests__/feishu.test.ts:69
↓ 13 callersFunctionclassifyH5PublicBaseUrl
(value: string)
src/server/services/h5AccessService.ts:322
↓ 13 callersFunctioncleanup
()
src/utils/ShellCommand.ts:479
↓ 13 callersMethodclose
()
desktop/electron/services/preview.ts:127
↓ 13 callersFunctiondefaultPortableDir
(app: AppModeAppLike)
desktop/electron/services/appMode.ts:22
↓ 13 callersFunctionensureArray
* Ensure a value is an array. PowerShell 5.1's ConvertTo-Json may unwrap * single-element arrays into plain objects.
src/utils/powershell/parser.ts:703
↓ 13 callersMethodensureFreshAccessToken
()
src/server/services/hahaOAuthService.ts:248
↓ 13 callersMethodequals
(other: Cursor)
src/utils/Cursor.ts:991
↓ 13 callersFunctionexecuteHooks
* Common logic for executing hooks * @param hookInput The structured hook input that will be validated and converted to JSON * @param toolUseID The
src/utils/hooks.ts:1970
↓ 13 callersFunctionextractLarkApiCode
(err: unknown)
adapters/feishu/card-errors.ts:55
↓ 13 callersFunctionfirstPartyNameToCanonical
(name: ModelName)
src/utils/model/model.ts:239
↓ 13 callersMethodgetComputedWidth
()
src/ink/layout/yoga.ts:116
↓ 13 callersFunctiongetDefaultMainLoopModelSetting
()
src/utils/model/model.ts:192
↓ 13 callersFunctiongetKairosActive
()
src/bootstrap/state.ts:1085
↓ 13 callersFunctiongetMessagesAfterCompactBoundary
(messages: T[], options?: { includeSnipped?: boolean })
src/utils/messages.ts:4785
↓ 13 callersMethodgetPosition
()
src/utils/Cursor.ts:1046
↓ 13 callersMethodgetProviderRuntimeEnv
(id: string)
src/server/services/providerService.ts:369
↓ 13 callersFunctiongetRemoteSessionUrl
( sessionId: string, ingressUrl?: string, )
src/constants/product.ts:65
← previousnext →501–600 of 17,500, ranked by callers