Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gitlawb/openclaude
/ functions
Functions
15,760 in github.com/Gitlawb/openclaude
⨍
Functions
15,760
◇
Types & classes
602
↓ 2,738 callers
Function
logForDebugging
( message: string, { level }: { level: DebugLogLevel } = { level: 'debug', }, )
src/utils/debug.ts:203
↓ 1,093 callers
Function
logEvent
( _eventName: string, _metadata?: { [key: string]: boolean | number | undefined }, )
src/services/analytics/index.ts:56
↓ 955 callers
Method
has
(key: string)
src/utils/fileStateCache.ts:50
↓ 658 callers
Method
set
(key: string, value: FileState)
src/utils/fileStateCache.ts:45
↓ 619 callers
Function
logError
(error: unknown)
src/utils/log.ts:159
↓ 582 callers
Method
get
(options: GetOptions = {})
src/ink/output.ts:310
↓ 564 callers
Method
max
()
src/utils/fileStateCache.ts:66
↓ 462 callers
Method
write
Send a message to the server.
src/cli/transports/Transport.ts:23
↓ 431 callers
Method
keys
()
src/utils/fileStateCache.ts:78
↓ 422 callers
Function
isEnvTruthy
(value)
vscode-extension/openclaude-vscode/src/state.js:30
↓ 415 callers
Function
lazySchema
(factory: () => T)
src/utils/lazySchema.ts:5
↓ 407 callers
Method
add
* Add an item to the buffer. If the buffer is full, * the oldest item will be evicted.
src/utils/CircularBuffer.ts:18
↓ 388 callers
Method
entries
()
src/utils/fileStateCache.ts:82
↓ 348 callers
Function
defineModel
(d: ModelDescriptor)
src/integrations/define.ts:30
↓ 348 callers
Method
toString
()
src/utils/bash/ParsedCommand.ts:23
↓ 347 callers
Method
resolve
(authorizationCode: string)
src/services/oauth/auth-code-listener.ts:242
↓ 338 callers
Function
jsonStringify
( value: unknown, replacer?: | ((this: unknown, key: string, value: unknown) => unknown) | (number
src/utils/slowOperations.ts:180
↓ 328 callers
Function
advance
Advance one JS char, updating byte offset for UTF-8.
src/utils/bash/bashParser.ts:146
↓ 288 callers
Function
getGlobalConfig
()
src/utils/config.ts:1299
↓ 287 callers
Method
get
(key: string)
src/utils/fileStateCache.ts:41
↓ 277 callers
Method
delete
()
src/utils/secureStorage/index.ts:50
↓ 262 callers
Function
getFsImplementation
()
src/utils/fsOperations.ts:647
↓ 251 callers
Function
useAppState
(selector: (state: AppState) => T)
src/state/AppState.tsx:146
↓ 244 callers
Function
resolve
(start: UUID)
src/utils/sessionStorage.ts:2369
↓ 238 callers
Function
createUserMessage
({ content, isMeta, isVisibleInTranscriptOnly, isVirtual, isCompactSummary, isCollapseSummary, s
src/utils/messages.ts:465
↓ 238 callers
Function
setAppState
()
src/utils/promptShellExecution.test.ts:80
↓ 233 callers
Function
mk
Build a node. Slices text from source by byte range via char-index lookup.
src/utils/bash/bashParser.ts:660
↓ 227 callers
Function
peek
(L: Lexer, off = 0)
src/utils/bash/bashParser.ts:162
↓ 221 callers
Function
logMCPDebug
(serverName: string, message: string)
src/utils/log.ts:317
↓ 219 callers
Function
errorMessage
(error: unknown)
src/cli/bg.ts:201
↓ 217 callers
Function
getSessionId
()
src/bootstrap/state.ts:441
↓ 216 callers
Method
create
( params: ShimCreateParams, options?: { signal?: AbortSignal; headers?: Record<string, string> }, )
src/services/api/openaiShim.ts:2812
↓ 206 callers
Function
logForDiagnosticsNoPII
( level: DiagnosticLogLevel, event: string, data?: Record<string, unknown>, )
src/utils/diagLogs.ts:27
↓ 205 callers
Function
saveGlobalConfig
( updater: (currentConfig: GlobalConfig) => GlobalConfig, )
src/utils/config.ts:949
↓ 202 callers
Function
getAPIProvider
()
src/utils/model/providers.ts:31
↓ 202 callers
Function
getCwd
()
src/utils/cwd.ts:26
↓ 201 callers
Function
onDone
(...args: OnDoneArgs)
src/commands/resume/resume.test.tsx:213
↓ 174 callers
Method
end
* End the flush and return any queued items for draining. * Caller is responsible for sending the returned items.
src/bridge/flushGate.ts:37
↓ 168 callers
Function
acquireSharedMutationLock
( scope: string, timeoutMs?: number, )
src/test/sharedMutationLock.ts:21
↓ 168 callers
Function
releaseSharedMutationLock
()
src/test/sharedMutationLock.ts:34
↓ 167 callers
Function
execFileNoThrow
( file: string, args: string[], options: ExecFileOptions = { timeout: 10 * SECONDS_IN_MINUTE * MS_IN
src/utils/execFileNoThrow.ts:132
↓ 161 callers
Method
abort
()
vscode-extension/openclaude-vscode/src/chat/chatProvider.js:182
↓ 155 callers
Function
createOpenAIShimClient
(options: { defaultHeaders?: Record<string, string> maxRetries?: number timeout?: number reasoningEffo
src/services/api/openaiShim.ts:4429
↓ 151 callers
Function
readFile
(fsPath, options)
src/utils/fsOperations.ts:442
↓ 146 callers
Method
clear
* 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 callers
Function
getFeatureValue_CACHED_MAY_BE_STALE
( _featureName: string, defaultValue: T, )
src/services/analytics/growthbook.ts:114
↓ 139 callers
Function
jsonParse
(text, reviver)
src/utils/slowOperations.ts:204
↓ 133 callers
Function
getSettingsForSource
( source: SettingSource, )
src/utils/settings/settings.ts:309
↓ 133 callers
Function
mkdir
(dirPath, options)
src/utils/fsOperations.ts:421
↓ 132 callers
Method
sleep
(ms: number)
src/cli/transports/SerialBatchEventUploader.ts:261
↓ 130 callers
Method
error
(error: unknown)
src/utils/stream.ts:59
↓ 129 callers
Function
errorMessage
(e: unknown)
src/utils/errors.ts:119
↓ 125 callers
Method
close
Cleanup resources and stop iteration.
src/entrypoints/sdk/query.ts:186
↓ 123 callers
Function
rmSync
(path, options)
src/utils/fsOperations.ts:595
↓ 122 callers
Function
getPlatform
()
src/utils/nativeInstaller/installer.ts:87
↓ 117 callers
Function
onDone
(result?: string)
src/commands/ads.test.ts:28
↓ 116 callers
Function
useKeybinding
( action: string, handler: () => void | false | Promise<void>, options: Options = {}, )
src/keybindings/useKeybinding.ts:33
↓ 109 callers
Function
getOriginalCwd
()
src/bootstrap/state.ts:535
↓ 107 callers
Function
importFreshProviderProfileModules
()
src/utils/providerProfiles.test.ts:133
↓ 104 callers
Function
stat
(fsPath)
src/utils/fsOperations.ts:401
↓ 103 callers
Function
sanitizeProviderConfigValue
( value: string | null | undefined, ...sources: Array<SecretValueSource | null | undefined> )
src/utils/providerSecrets.ts:268
↓ 103 callers
Method
text
()
src/utils/Cursor.ts:1062
↓ 101 callers
Function
execFileNoThrowWithCwd
( file: string, args: string[], { abortSignal, timeout: finalTimeout = 10 * SECONDS_IN_MINUTE *
src/utils/execFileNoThrow.ts:155
↓ 101 callers
Method
preventDefault
()
src/ink/events/terminal-event.ts:64
↓ 100 callers
Method
read
()
src/utils/secureStorage/index.ts:47
↓ 99 callers
Function
existsSync
(fsPath)
src/utils/fsOperations.ts:396
↓ 99 callers
Function
id
(n: number)
src/utils/sessionStorage.test.ts:42
↓ 98 callers
Method
unmount
(error?: Error | number | null)
src/ink/ink.tsx:1482
↓ 97 callers
Function
getErrnoCode
(e: unknown)
src/utils/errors.ts:128
↓ 95 callers
Function
plural
( n: number, word: string, pluralWord = word + 's', )
src/utils/stringUtils.ts:32
↓ 93 callers
Function
color
( c: keyof Theme | Color | undefined, theme: ThemeName, type: ColorType = 'foreground', )
src/components/design-system/color.ts:9
↓ 93 callers
Method
record
(durationMs: number)
src/utils/fpsTracker.ts:11
↓ 93 callers
Function
toError
(e: unknown)
src/utils/errors.ts:111
↓ 91 callers
Method
update
(data: SecureStorageData)
src/utils/secureStorage/index.ts:49
↓ 90 callers
Function
buildProfile
(overrides: Partial<ProviderProfile> = {})
src/utils/providerProfiles.test.ts:167
↓ 87 callers
Function
isENOENT
(e: unknown)
src/utils/errors.ts:139
↓ 85 callers
Function
setState
(opts: { numStartups?: number lastSponsored?: number frequency?: number enabled?: boolean tips: Tip[
src/services/tips/tipScheduler.test.ts:74
↓ 84 callers
Function
skipBlanks
(L: Lexer)
src/utils/bash/bashParser.ts:272
↓ 84 callers
Function
toolUse
( id: string, name: string, input: Record<string, unknown> = {}, )
src/query/toolFailureLoopGuard.test.ts:12
↓ 84 callers
Function
updateSettingsForSource
( source: EditableSettingSource, settings: SettingsJson, )
src/utils/settings/settings.ts:416
↓ 83 callers
Function
toolResult
( toolUseId: string, content: string, isError = true, isAgentStepLimitToolResult = false, )
src/query/toolFailureLoopGuard.test.ts:25
↓ 82 callers
Function
useTerminalSize
()
src/hooks/useTerminalSize.ts:7
↓ 80 callers
Function
count
(arr: readonly T[], pred: (x: T) => unknown)
src/utils/array.ts:5
↓ 79 callers
Function
rm
(fsPath, options)
src/utils/fsOperations.ts:417
↓ 78 callers
Function
resolveProviderRequest
(options?: { model?: string baseUrl?: string fallbackModel?: string reasoningEffortOverride?: Reasonin
src/services/api/providerConfig.ts:796
↓ 78 callers
Function
update
( state = createToolFailureLoopGuardState(), toolUseBlocks: ToolUseBlock[], results: ReturnType<typeof t
src/query/toolFailureLoopGuard.test.ts:51
↓ 77 callers
Method
get
* 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 callers
Function
getSettings_DEPRECATED
()
src/utils/settings/settings.ts:833
↓ 76 callers
Function
getInitialSettings
()
src/utils/settings/settings.ts:824
↓ 75 callers
Function
getContextWindowForModel
( model: string, betas?: string[], )
src/utils/context.ts:223
↓ 74 callers
Function
getOauthConfig
()
src/constants/oauth.ts:186
↓ 71 callers
Method
clear
* Clear history.
src/utils/tokens.ts:535
↓ 71 callers
Function
getIsNonInteractiveSession
()
src/bootstrap/state.ts:995
↓ 71 callers
Function
profileCheckpoint
(name: string)
src/utils/startupProfiler.ts:65
↓ 70 callers
Function
applyProviderFlag
( provider: string, args: string[], )
src/utils/providerFlag.ts:259
↓ 70 callers
Function
setStep
()
src/components/TeleportProgress.tsx:120
↓ 70 callers
Function
waitForFrameOutput
( getOutput: () => string, predicate: (output: string) => boolean, timeoutMs = 2500, )
src/components/ProviderManager.test.tsx:429
↓ 70 callers
Function
writeToStdout
(data: string)
src/utils/process.ts:28
↓ 68 callers
Function
rgb
(r: number, g: number, b: number)
src/native-ts/color-diff/index.ts:84
↓ 67 callers
Function
analyzeContinuationIntent
( text: string, )
src/utils/continuation.ts:124
next →
1–100 of 15,760, ranked by callers