MCPcopy Create free account

hub / github.com/Gitlawb/openclaude / functions

Functions15,760 in github.com/Gitlawb/openclaude

↓ 2,738 callersFunctionlogForDebugging
( message: string, { level }: { level: DebugLogLevel } = { level: 'debug', }, )
src/utils/debug.ts:203
↓ 1,093 callersFunctionlogEvent
( _eventName: string, _metadata?: { [key: string]: boolean | number | undefined }, )
src/services/analytics/index.ts:56
↓ 955 callersMethodhas
(key: string)
src/utils/fileStateCache.ts:50
↓ 658 callersMethodset
(key: string, value: FileState)
src/utils/fileStateCache.ts:45
↓ 619 callersFunctionlogError
(error: unknown)
src/utils/log.ts:159
↓ 582 callersMethodget
(options: GetOptions = {})
src/ink/output.ts:310
↓ 564 callersMethodmax
()
src/utils/fileStateCache.ts:66
↓ 462 callersMethodwrite
Send a message to the server.
src/cli/transports/Transport.ts:23
↓ 431 callersMethodkeys
()
src/utils/fileStateCache.ts:78
↓ 422 callersFunctionisEnvTruthy
(value)
vscode-extension/openclaude-vscode/src/state.js:30
↓ 415 callersFunctionlazySchema
(factory: () => T)
src/utils/lazySchema.ts:5
↓ 407 callersMethodadd
* Add an item to the buffer. If the buffer is full, * the oldest item will be evicted.
src/utils/CircularBuffer.ts:18
↓ 388 callersMethodentries
()
src/utils/fileStateCache.ts:82
↓ 348 callersFunctiondefineModel
(d: ModelDescriptor)
src/integrations/define.ts:30
↓ 348 callersMethodtoString
()
src/utils/bash/ParsedCommand.ts:23
↓ 347 callersMethodresolve
(authorizationCode: string)
src/services/oauth/auth-code-listener.ts:242
↓ 338 callersFunctionjsonStringify
( value: unknown, replacer?: | ((this: unknown, key: string, value: unknown) => unknown) | (number
src/utils/slowOperations.ts:180
↓ 328 callersFunctionadvance
Advance one JS char, updating byte offset for UTF-8.
src/utils/bash/bashParser.ts:146
↓ 288 callersFunctiongetGlobalConfig
()
src/utils/config.ts:1299
↓ 287 callersMethodget
(key: string)
src/utils/fileStateCache.ts:41
↓ 277 callersMethoddelete
()
src/utils/secureStorage/index.ts:50
↓ 262 callersFunctiongetFsImplementation
()
src/utils/fsOperations.ts:647
↓ 251 callersFunctionuseAppState
(selector: (state: AppState) => T)
src/state/AppState.tsx:146
↓ 244 callersFunctionresolve
(start: UUID)
src/utils/sessionStorage.ts:2369
↓ 238 callersFunctioncreateUserMessage
({ content, isMeta, isVisibleInTranscriptOnly, isVirtual, isCompactSummary, isCollapseSummary, s
src/utils/messages.ts:465
↓ 238 callersFunctionsetAppState
()
src/utils/promptShellExecution.test.ts:80
↓ 233 callersFunctionmk
Build a node. Slices text from source by byte range via char-index lookup.
src/utils/bash/bashParser.ts:660
↓ 227 callersFunctionpeek
(L: Lexer, off = 0)
src/utils/bash/bashParser.ts:162
↓ 221 callersFunctionlogMCPDebug
(serverName: string, message: string)
src/utils/log.ts:317
↓ 219 callersFunctionerrorMessage
(error: unknown)
src/cli/bg.ts:201
↓ 217 callersFunctiongetSessionId
()
src/bootstrap/state.ts:441
↓ 216 callersMethodcreate
( params: ShimCreateParams, options?: { signal?: AbortSignal; headers?: Record<string, string> }, )
src/services/api/openaiShim.ts:2812
↓ 206 callersFunctionlogForDiagnosticsNoPII
( level: DiagnosticLogLevel, event: string, data?: Record<string, unknown>, )
src/utils/diagLogs.ts:27
↓ 205 callersFunctionsaveGlobalConfig
( updater: (currentConfig: GlobalConfig) => GlobalConfig, )
src/utils/config.ts:949
↓ 202 callersFunctiongetAPIProvider
()
src/utils/model/providers.ts:31
↓ 202 callersFunctiongetCwd
()
src/utils/cwd.ts:26
↓ 201 callersFunctiononDone
(...args: OnDoneArgs)
src/commands/resume/resume.test.tsx:213
↓ 174 callersMethodend
* End the flush and return any queued items for draining. * Caller is responsible for sending the returned items.
src/bridge/flushGate.ts:37
↓ 168 callersFunctionacquireSharedMutationLock
( scope: string, timeoutMs?: number, )
src/test/sharedMutationLock.ts:21
↓ 168 callersFunctionreleaseSharedMutationLock
()
src/test/sharedMutationLock.ts:34
↓ 167 callersFunctionexecFileNoThrow
( file: string, args: string[], options: ExecFileOptions = { timeout: 10 * SECONDS_IN_MINUTE * MS_IN
src/utils/execFileNoThrow.ts:132
↓ 161 callersMethodabort
()
vscode-extension/openclaude-vscode/src/chat/chatProvider.js:182
↓ 155 callersFunctioncreateOpenAIShimClient
(options: { defaultHeaders?: Record<string, string> maxRetries?: number timeout?: number reasoningEffo
src/services/api/openaiShim.ts:4429
↓ 151 callersFunctionreadFile
(fsPath, options)
src/utils/fsOperations.ts:442
↓ 146 callersMethodclear
* Clear a region by writing empty cells. Used when a node shrinks to * ensure stale content from the previous frame is removed.
src/ink/output.ts:269
↓ 145 callersFunctiongetFeatureValue_CACHED_MAY_BE_STALE
( _featureName: string, defaultValue: T, )
src/services/analytics/growthbook.ts:114
↓ 139 callersFunctionjsonParse
(text, reviver)
src/utils/slowOperations.ts:204
↓ 133 callersFunctiongetSettingsForSource
( source: SettingSource, )
src/utils/settings/settings.ts:309
↓ 133 callersFunctionmkdir
(dirPath, options)
src/utils/fsOperations.ts:421
↓ 132 callersMethodsleep
(ms: number)
src/cli/transports/SerialBatchEventUploader.ts:261
↓ 130 callersMethoderror
(error: unknown)
src/utils/stream.ts:59
↓ 129 callersFunctionerrorMessage
(e: unknown)
src/utils/errors.ts:119
↓ 125 callersMethodclose
Cleanup resources and stop iteration.
src/entrypoints/sdk/query.ts:186
↓ 123 callersFunctionrmSync
(path, options)
src/utils/fsOperations.ts:595
↓ 122 callersFunctiongetPlatform
()
src/utils/nativeInstaller/installer.ts:87
↓ 117 callersFunctiononDone
(result?: string)
src/commands/ads.test.ts:28
↓ 116 callersFunctionuseKeybinding
( action: string, handler: () => void | false | Promise<void>, options: Options = {}, )
src/keybindings/useKeybinding.ts:33
↓ 109 callersFunctiongetOriginalCwd
()
src/bootstrap/state.ts:535
↓ 107 callersFunctionimportFreshProviderProfileModules
()
src/utils/providerProfiles.test.ts:133
↓ 104 callersFunctionstat
(fsPath)
src/utils/fsOperations.ts:401
↓ 103 callersFunctionsanitizeProviderConfigValue
( value: string | null | undefined, ...sources: Array<SecretValueSource | null | undefined> )
src/utils/providerSecrets.ts:268
↓ 103 callersMethodtext
()
src/utils/Cursor.ts:1062
↓ 101 callersFunctionexecFileNoThrowWithCwd
( file: string, args: string[], { abortSignal, timeout: finalTimeout = 10 * SECONDS_IN_MINUTE *
src/utils/execFileNoThrow.ts:155
↓ 101 callersMethodpreventDefault
()
src/ink/events/terminal-event.ts:64
↓ 100 callersMethodread
()
src/utils/secureStorage/index.ts:47
↓ 99 callersFunctionexistsSync
(fsPath)
src/utils/fsOperations.ts:396
↓ 99 callersFunctionid
(n: number)
src/utils/sessionStorage.test.ts:42
↓ 98 callersMethodunmount
(error?: Error | number | null)
src/ink/ink.tsx:1482
↓ 97 callersFunctiongetErrnoCode
(e: unknown)
src/utils/errors.ts:128
↓ 95 callersFunctionplural
( n: number, word: string, pluralWord = word + 's', )
src/utils/stringUtils.ts:32
↓ 93 callersFunctioncolor
( c: keyof Theme | Color | undefined, theme: ThemeName, type: ColorType = 'foreground', )
src/components/design-system/color.ts:9
↓ 93 callersMethodrecord
(durationMs: number)
src/utils/fpsTracker.ts:11
↓ 93 callersFunctiontoError
(e: unknown)
src/utils/errors.ts:111
↓ 91 callersMethodupdate
(data: SecureStorageData)
src/utils/secureStorage/index.ts:49
↓ 90 callersFunctionbuildProfile
(overrides: Partial<ProviderProfile> = {})
src/utils/providerProfiles.test.ts:167
↓ 87 callersFunctionisENOENT
(e: unknown)
src/utils/errors.ts:139
↓ 85 callersFunctionsetState
(opts: { numStartups?: number lastSponsored?: number frequency?: number enabled?: boolean tips: Tip[
src/services/tips/tipScheduler.test.ts:74
↓ 84 callersFunctionskipBlanks
(L: Lexer)
src/utils/bash/bashParser.ts:272
↓ 84 callersFunctiontoolUse
( id: string, name: string, input: Record<string, unknown> = {}, )
src/query/toolFailureLoopGuard.test.ts:12
↓ 84 callersFunctionupdateSettingsForSource
( source: EditableSettingSource, settings: SettingsJson, )
src/utils/settings/settings.ts:416
↓ 83 callersFunctiontoolResult
( toolUseId: string, content: string, isError = true, isAgentStepLimitToolResult = false, )
src/query/toolFailureLoopGuard.test.ts:25
↓ 82 callersFunctionuseTerminalSize
()
src/hooks/useTerminalSize.ts:7
↓ 80 callersFunctioncount
(arr: readonly T[], pred: (x: T) => unknown)
src/utils/array.ts:5
↓ 79 callersFunctionrm
(fsPath, options)
src/utils/fsOperations.ts:417
↓ 78 callersFunctionresolveProviderRequest
(options?: { model?: string baseUrl?: string fallbackModel?: string reasoningEffortOverride?: Reasonin
src/services/api/providerConfig.ts:796
↓ 78 callersFunctionupdate
( state = createToolFailureLoopGuardState(), toolUseBlocks: ToolUseBlock[], results: ReturnType<typeof t
src/query/toolFailureLoopGuard.test.ts:51
↓ 77 callersMethodget
* Get a cached value by key. On first call for a key, computes and caches it. * Subsequent calls return the cached value until a watched file chang
src/utils/git/gitFilesystem.ts:463
↓ 77 callersFunctiongetSettings_DEPRECATED
()
src/utils/settings/settings.ts:833
↓ 76 callersFunctiongetInitialSettings
()
src/utils/settings/settings.ts:824
↓ 75 callersFunctiongetContextWindowForModel
( model: string, betas?: string[], )
src/utils/context.ts:223
↓ 74 callersFunctiongetOauthConfig
()
src/constants/oauth.ts:186
↓ 71 callersMethodclear
* Clear history.
src/utils/tokens.ts:535
↓ 71 callersFunctiongetIsNonInteractiveSession
()
src/bootstrap/state.ts:995
↓ 71 callersFunctionprofileCheckpoint
(name: string)
src/utils/startupProfiler.ts:65
↓ 70 callersFunctionapplyProviderFlag
( provider: string, args: string[], )
src/utils/providerFlag.ts:259
↓ 70 callersFunctionsetStep
()
src/components/TeleportProgress.tsx:120
↓ 70 callersFunctionwaitForFrameOutput
( getOutput: () => string, predicate: (output: string) => boolean, timeoutMs = 2500, )
src/components/ProviderManager.test.tsx:429
↓ 70 callersFunctionwriteToStdout
(data: string)
src/utils/process.ts:28
↓ 68 callersFunctionrgb
(r: number, g: number, b: number)
src/native-ts/color-diff/index.ts:84
↓ 67 callersFunctionanalyzeContinuationIntent
( text: string, )
src/utils/continuation.ts:124
next →1–100 of 15,760, ranked by callers