MCPcopy Create free account

hub / github.com/Gitlawb/openclaude / functions

Functions15,760 in github.com/Gitlawb/openclaude

↓ 38 callersFunctiononStateChange
(state, detail)
src/cli/print.ts:4126
↓ 38 callersFunctionrestoreEnv
(key: string, value: string | undefined)
src/services/api/openaiShim.test.ts:57
↓ 38 callersFunctionsanitizeToolNameForAnalytics
( toolName: string, )
src/services/analytics/metadata.ts:70
↓ 37 callersFunctionisPrivateHostname
(hostname: string)
src/tools/WebSearchTool/providers/custom.ts:289
↓ 37 callersFunctionmakeUser
(uuid: string, text = 'hello')
src/services/compact/snipCompact.test.ts:16
↓ 37 callersFunctionmaybe
(label: string, f: () => Promise<A[]>)
src/utils/attachments.ts:1031
↓ 37 callersFunctionmockProvider
( provider: MockProvider, isFirstPartyAnthropicBaseUrl = false, )
src/utils/model/agent.test.ts:35
↓ 37 callersFunctionnormalizeProfileModel
( value: string | undefined | null, )
src/utils/providerProfile.ts:288
↓ 37 callersFunctionsetStatus
(s: string)
src/screens/REPL.tsx:4536
↓ 37 callersFunctionuid
(s: string)
src/services/contextCollapse/collapseUtils.test.ts:14
↓ 36 callersMethodappend
(content: string)
src/utils/task/diskOutput.ts:110
↓ 36 callersFunctionfile
(relative: string)
src/__tests__/bugfixes.test.ts:21
↓ 36 callersFunctiongetAppState
()
src/commands/commit.ts:71
↓ 36 callersFunctiongetIsRemoteMode
()
src/bootstrap/state.ts:1546
↓ 36 callersFunctionisAutoMemoryEnabled
()
src/memdir/paths.ts:31
↓ 36 callersFunctionresolveModelReasoningControl
( model: string, context?: ReasoningControlContext, )
src/utils/effort.ts:460
↓ 35 callersFunctionaddGlobalEntity
( type: string, name: string, attributes: Record<string, string> = {}, )
src/utils/knowledgeGraph.ts:339
↓ 35 callersFunctioncreateBackgroundSession
( input: CreateBackgroundSessionInput, )
src/cli/bgRegistry.ts:375
↓ 35 callersFunctiongetProject
()
src/utils/sessionStorage.ts:451
↓ 35 callersFunctiongetSessionContextWindowOverride
( model: string, )
src/utils/context.ts:119
↓ 35 callersFunctiongetTeamName
(teamContext?: { teamName: string })
src/utils/teammate.ts:111
↓ 35 callersFunctionrenderMessagesToMarkdown
(messages: Message[], _tools?: Tools, _columns?: number)
src/utils/exportRenderer.tsx:147
↓ 35 callersFunctionrestoreEnv
(key: string, value: string | undefined)
src/services/api/client.test.ts:62
↓ 35 callersFunctionuseShortcutDisplay
( action: string, context: KeybindingContextName, fallback: string, )
src/keybindings/useShortcutDisplay.ts:29
↓ 35 callersMethodwarn
(message: string)
src/entrypoints/sdk/permissions.ts:55
↓ 34 callersFunctioncreatePermissionRequestMessage
(params: { request_id: string agent_id: string tool_name: string tool_use_id: string description: st
src/utils/teammateMailbox.ts:488
↓ 34 callersFunctiongetSubscriptionType
()
src/utils/auth.ts:1683
↓ 34 callersFunctionisLocalProviderUrl
(baseUrl: string | undefined)
src/services/api/providerConfig.ts:414
↓ 34 callersFunctionmockProviderProfiles
( overrides: Partial<typeof import('../../utils/providerProfiles.js')> = {}, )
src/commands/model/model.test.tsx:139
↓ 34 callersFunctionresolveOpenAIShimRuntimeContext
(options?: { processEnv?: NodeJS.ProcessEnv baseUrl?: string model?: string activeProfileProvider?: st
src/integrations/runtimeMetadata.ts:225
↓ 34 callersFunctionsaveLex
(L: Lexer)
src/utils/bash/bashParser.ts:756
↓ 34 callersMethodshift
* Shift full-width rows within [top, bottom] by n. n > 0 = up. Mirrors * what DECSTBM + SU/SD does to the terminal. Paired with blit() to reuse
src/ink/output.ts:261
↓ 34 callersFunctionsleep
(ms: number)
src/cli/bg.ts:676
↓ 33 callersFunctionextractCacheMetrics
( usage: RawUsage, provider: CacheAwareProvider, )
src/services/api/cacheMetrics.ts:426
↓ 33 callersFunctionnormalizeToolArguments
( toolName: string, rawArguments: string | undefined, )
src/services/api/toolArgumentNormalization.ts:42
↓ 33 callersFunctionreadFileSync
(fsPath, options)
src/utils/fsOperations.ts:464
↓ 33 callersFunctionsameOptionalEnvValue
( left: string | undefined, right: string | undefined, )
src/utils/providerProfiles.ts:539
↓ 32 callersFunctioncleanup
()
src/utils/ShellCommand.ts:476
↓ 32 callersFunctioncreateAbortController
( maxListeners: number = DEFAULT_MAX_LISTENERS, )
src/utils/abortController.ts:16
↓ 32 callersFunctioncreateSystemMessage
( content: string, level: SystemMessageLevel, toolUseID?: string, preventContinuation?: boolean, )
src/utils/messages.ts:4620
↓ 32 callersFunctionhasNonEmptyEnvValue
(value: string | undefined)
src/integrations/routeMetadata.ts:234
↓ 32 callersFunctionmodelSupportsEffort
(model: string, context?: ReasoningControlContext)
src/utils/effort.ts:482
↓ 32 callersFunctionpermissionRuleValueToString
( ruleValue: PermissionRuleValue, )
src/utils/permissions/permissionRuleParser.ts:144
↓ 32 callersFunctiontruncate
( text: string, columns: number, position: 'start' | 'middle' | 'end', )
src/ink/wrap-text.ts:15
↓ 32 callersFunctionuseNotifications
()
src/context/notifications.tsx:39
↓ 31 callersFunctionasMockFetch
( // eslint-disable-next-line @typescript-eslint/no-explicit-any mockFn: Mock<(...args: any[]) => any>, )
src/test/typedMocks.ts:9
↓ 31 callersMethodfeed
(chunk: string)
src/services/api/thinkTagSanitizer.ts:74
↓ 31 callersFunctionisFsInaccessible
(e: unknown)
src/utils/errors.ts:187
↓ 31 callersMethodnext
()
src/utils/stream.ts:19
↓ 31 callersFunctionresolveToCanonical
(name: string)
src/tools/PowerShellTool/readOnlyValidation.ts:984
↓ 31 callersFunctionsendControlResponseSuccess
( message: SDKControlRequest, response?: Record<string, unknown>, )
src/cli/print.ts:2902
↓ 31 callersFunctionsleep
(ms: number)
src/utils/settings/changeDetector.test.ts:57
↓ 31 callersFunctionswitchSession
( sessionId: SessionId, projectDir: string | null = null, )
src/bootstrap/state.ts:495
↓ 30 callersFunctioncanUseTool
( tool, input, toolUseContext, assistantMessage, toolUseId, forceDecision, )
src/cli/print.ts:4320
↓ 30 callersMethodcancel
()
src/utils/task/diskOutput.ts:137
↓ 30 callersFunctioncleanState
()
src/services/contextCollapse/index.test.ts:69
↓ 30 callersFunctioncreateToolFailureLoopGuardState
()
src/query/toolFailureLoopGuard.ts:27
↓ 30 callersFunctionerrorMessage
(err: ImportTokenError, codeUrl: string)
src/commands/remote-setup/remote-setup.tsx:62
↓ 30 callersFunctionfindToolByName
(tools: Tools, name: string)
src/Tool.ts:387
↓ 30 callersFunctionmake_provider
(name, healthy=True, configured=True, latency=100.0, cost=0.002, errors=0, requests=0)
python/tests/test_smart_router.py:22
↓ 30 callersFunctionrun
(args: string)
src/commands/lsp/lsp.test.ts:161
↓ 29 callersFunctioncreateBaseHookInput
( permissionMode?: string, sessionId?: string, // Typed narrowly (not ToolUseContext) so callers can pas
src/utils/hooks.ts:490
↓ 29 callersFunctiondebug
(msg: string)
src/bridge/bridgeApi.ts:69
↓ 29 callersFunctionescapeHtml
(value)
vscode-extension/openclaude-vscode/src/extension.js:27
↓ 29 callersFunctiongetPrimaryModel
(modelField: string)
src/utils/providerModels.ts:25
↓ 29 callersMethodisSandboxingEnabled
()
src/utils/sandbox/sandbox-adapter.ts:903
↓ 29 callersFunctionlogMCPError
(serverName: string, error: unknown)
src/utils/log.ts:303
↓ 29 callersFunctionopenBrowser
(url: string)
src/utils/browser.ts:39
↓ 29 callersFunctionpathExists
(path: string)
src/utils/file.ts:39
↓ 28 callersMethod_broadcast
(msg)
vscode-extension/openclaude-vscode/src/chat/chatProvider.js:76
↓ 28 callersFunctioncreateMessage
(content: string)
src/utils/incrementalTokenCounter.test.ts:5
↓ 28 callersFunctiongetAvailableEffortLevels
(model: string, context?: ReasoningControlContext)
src/utils/effort.ts:754
↓ 28 callersFunctiongetGlobalGraph
()
src/utils/knowledgeGraph.ts:326
↓ 28 callersFunctiongetOAuthHeaders
(accessToken: string)
src/utils/teleport/api.ts:276
↓ 28 callersFunctiongetProjectsDir
()
vscode-extension/openclaude-vscode/src/chat/sessionManager.js:46
↓ 28 callersFunctionnormalize
(p: string)
src/utils/plugins/pluginOptionsStorage.ts:330
↓ 28 callersFunctionresolveRouteIdFromBaseUrl
( baseUrl?: string, options?: { requireDiscovery?: boolean }, )
src/integrations/routeMetadata.ts:803
↓ 28 callersFunctionsetOriginalCwd
(cwd: string)
src/bootstrap/state.ts:551
↓ 28 callersMethodstop
()
src/utils/claudeInChrome/chromeNativeHost.ts:193
↓ 28 callersFunctiontoolMatchesName
( tool: { name: string; aliases?: string[] }, name: string, )
src/Tool.ts:377
↓ 28 callersFunctiontrimOrUndefined
(value: string | undefined)
src/utils/providerProfiles.ts:186
↓ 28 callersFunctionwriteToMailbox
( recipientName: string, message: Omit<TeammateMessage, 'read'>, teamName?: string, )
src/utils/teammateMailbox.ts:134
↓ 27 callersFunctionbuildStartupEnvFromProfile
(options?: { persisted?: ProfileFile | null goal?: RecommendationGoal processEnv?: NodeJS.ProcessEnv g
src/utils/providerProfile.ts:1862
↓ 27 callersMethodclear
()
src/utils/storage/SQLiteProvider.ts:262
↓ 27 callersFunctiongetCommands
(cwd: string)
src/commands.ts:522
↓ 27 callersMethodgetCount
* Get token count using cache when possible. * O(1) for cached, O(n) for new messages.
src/utils/incrementalTokenCounter.ts:72
↓ 27 callersFunctionrecordRequest
( metrics: CacheMetrics, label: string, )
src/services/api/cacheStatsTracker.ts:92
↓ 27 callersFunctionsetActiveProviderProfile
( profileId: string, options?: ProfileFileLocation, )
src/utils/providerProfiles.ts:1407
↓ 27 callersFunctionsetSessionContextWindowOverride
( model: string, tokens: number, )
src/utils/context.ts:83
↓ 26 callersFunctionasNonEmptyString
(value)
vscode-extension/openclaude-vscode/src/state.js:26
↓ 26 callersFunctionclearAllCaches
()
src/utils/plugins/cacheUtils.ts:44
↓ 26 callersFunctioncliOk
(msg?: string)
src/cli/exit.ts:27
↓ 26 callersFunctionextractTextContent
( blocks: readonly { readonly type: string }[], separator = '', )
src/utils/messages.ts:3167
↓ 26 callersFunctiongetAgentName
()
src/utils/teammate.ts:98
↓ 26 callersFunctiongetRouteDescriptor
( routeId: string, )
src/integrations/routeMetadata.ts:128
↓ 26 callersFunctiongetSessionIdFromLog
(log: LogOption)
src/utils/sessionStorage.ts:3292
↓ 26 callersMethodgetStats
* Gets cache statistics for debugging/monitoring.
src/utils/fileReadCache.ts:87
↓ 26 callersFunctionimportFreshEffortModule
(options: { provider: 'codex' | 'openai' supportsCodexReasoningEffort: boolean routeId?: string catalo
src/utils/effort.codex.test.ts:38
↓ 26 callersFunctionloadKnownMarketplacesConfig
()
src/utils/plugins/marketplaceManager.ts:351
↓ 26 callersFunctionmapModel
(raw: unknown)
src/integrations/gateways/groq.ts:32
← previousnext →201–300 of 15,760, ranked by callers