MCPcopy Create free account

hub / github.com/Gitlawb/openclaude / functions

Functions15,760 in github.com/Gitlawb/openclaude

↓ 67 callersFunctionisBareMode
()
src/utils/envUtils.ts:296
↓ 67 callersFunctionuid
(s: string)
src/services/contextCollapse/index.test.ts:14
↓ 64 callersFunctionformatNumber
(number: number)
src/utils/format.ts:126
↓ 64 callersFunctionpromptCommand
({ name, getDescription, source = 'builtin', kind, pluginName, localizationKey, aliases, isHid
src/utils/suggestions/commandSuggestions.test.ts:17
↓ 64 callersFunctionquery
( params: QueryParams, )
src/query.ts:389
↓ 64 callersFunctionreaddir
(fsPath)
src/utils/fsOperations.ts:405
↓ 63 callersMethodrender
()
src/components/SentryErrorBoundary.ts:21
↓ 63 callersFunctionunlink
(fsPath)
src/utils/fsOperations.ts:409
↓ 62 callersFunctioncreateAttachmentMessage
( attachment: Attachment, )
src/utils/attachments.ts:3253
↓ 61 callersFunctioncreateAssistantAPIErrorMessage
({ content, apiError, error, errorDetails, }: { content: string apiError?: AssistantMessage['apiEr
src/utils/messages.ts:440
↓ 61 callersFunctioncreateGoalState
( condition: string, now: string = nowIso(), maxTurns = DEFAULT_GOAL_MAX_TURNS, )
src/services/goal/state.ts:40
↓ 61 callersFunctionquote
(args: ReadonlyArray<unknown>)
src/utils/bash/shellQuote.ts:267
↓ 60 callersFunctionclearInterval
()
src/cli/bg.test.ts:47
↓ 60 callersFunctionparsePluginIdentifier
(plugin: string)
src/utils/plugins/pluginIdentifier.ts:51
↓ 60 callersFunctionparseUserSpecifiedModel
( modelInput: ModelName | ModelAlias, )
src/utils/model/model.ts:750
↓ 60 callersFunctionstableStringify
( value: unknown, space?: number, )
src/utils/stableStringify.ts:66
↓ 59 callersFunctionacquireEnvMutex
( options?: MutexAcquireOptions, )
src/entrypoints/sdk/shared.ts:143
↓ 59 callersFunctionbuildLaunchEnv
(options: { profile: ProviderProfile persisted: ProfileFile | null goal: RecommendationGoal processEnv
src/utils/providerProfile.ts:1300
↓ 59 callersFunctioncreateRoot
({ stdout = process.stdout, stdin = process.stdin, stderr = process.stderr, exitOnCtrlC = true, patc
src/ink/root.ts:129
↓ 59 callersFunctiongetModelMaxOutputTokens
(model: string)
src/utils/context.ts:346
↓ 59 callersFunctionid
(n: number)
src/commands/branch/branch.test.ts:67
↓ 58 callersFunctionexpandPath
(path: string, baseDir?: string)
src/utils/path.ts:32
↓ 58 callersFunctionformatFileSize
(sizeInBytes: number)
src/utils/format.ts:9
↓ 58 callersFunctionuseKeybindings
( // Handler returning `false` means "not consumed" — the event propagates // to later useInput/useKeybind
src/keybindings/useKeybinding.ts:113
↓ 57 callersFunctionasSystemPrompt
(value: readonly string[])
src/utils/systemPromptType.ts:12
↓ 56 callersFunctiongetEmptyToolPermissionContext
()
src/Tool.ts:151
↓ 56 callersMethodinterrupt
Abort the current operation.
src/entrypoints/sdk/query.ts:188
↓ 56 callersFunctionisClaudeAISubscriber
()
src/utils/auth.ts:1585
↓ 56 callersFunctionisFullscreenEnvEnabled
()
src/utils/fullscreen.ts:120
↓ 56 callersFunctionuseSetAppState
()
src/state/AppState.tsx:166
↓ 55 callersFunctionasTrimmedString
(value: unknown)
src/services/api/xaiOAuthShared.ts:35
↓ 55 callersFunctionroughTokenCountEstimation
( content: string, bytesPerToken: number = 4, )
src/services/tokenEstimation.ts:273
↓ 54 callersFunctionapplyProviderProfileToProcessEnv
( profile: ProviderProfile, options?: { primaryModel?: string }, )
src/utils/providerProfiles.ts:740
↓ 54 callersFunctionformatTokens
(count: number)
src/utils/format.ts:135
↓ 52 callersFunctiongetSecureStorage
(options?: { allowPlainTextFallback?: boolean })
src/utils/secureStorage/index.ts:69
↓ 52 callersFunctiongracefulShutdown
( exitCode = 0, reason: ExitReason = 'other', options?: { getAppState?: () => AppState setAppSta
src/utils/gracefulShutdown.ts:396
↓ 52 callersFunctionisAgentSwarmsEnabled
()
src/utils/agentSwarmsEnabled.ts:24
↓ 51 callersFunctioncreateCombinedAbortSignal
( signal: AbortSignal | undefined, opts?: { signalB?: AbortSignal; timeoutMs?: number }, )
src/utils/combinedAbortSignal.ts:15
↓ 51 callersFunctionleaf
(P: ParseState, type: string, tok: Token)
src/utils/bash/bashParser.ts:702
↓ 51 callersFunctionrestoreLex
(L: Lexer, s: LexSave)
src/utils/bash/bashParser.ts:759
↓ 51 callersFunctionstripAnsi
(s: string)
src/cost-tracker.format.test.ts:57
↓ 51 callersFunctionuseTheme
()
src/components/design-system/ThemeProvider.tsx:121
↓ 50 callersFunctionextractTag
(html: string, tagName: string)
src/utils/messages.ts:649
↓ 50 callersFunctiongetProviderValidationError
( env: NodeJS.ProcessEnv = process.env, options?: { resolveGeminiCredential?: ( env: NodeJS.Proc
src/utils/providerValidation.ts:500
↓ 50 callersFunctionid
(n: number)
src/utils/conversationRecovery.test.ts:40
↓ 50 callersFunctionprofile
(profile: ProfileFile['profile'], env: ProfileFile['env'])
src/utils/providerProfile.test.ts:49
↓ 50 callersFunctionresolve
(requestId, behavior, fromServer)
src/services/mcp/channelPermissions.ts:228
↓ 50 callersFunctionsanitizeApiKey
( key: string | null | undefined, )
src/utils/providerSecrets.ts:86
↓ 49 callersFunctiongetDisplayPath
(filePath: string)
src/utils/file.ts:155
↓ 49 callersFunctionresolveActiveRouteIdFromEnv
( processEnv: NodeJS.ProcessEnv = process.env, options?: { activeProfileProvider?: string activePr
src/integrations/routeMetadata.ts:847
↓ 49 callersFunctiontruncateToWidth
(text: string | undefined, maxWidth: number)
src/utils/truncate.ts:64
↓ 48 callersFunctionbuildTool
(def: D)
src/Tool.ts:812
↓ 48 callersFunctionmkdirSync
(dirPath, options)
src/utils/fsOperations.ts:547
↓ 48 callersFunctiononCancel
()
src/components/permissions/simplePermissionActions.ts:122
↓ 48 callersFunctionresolveCacheProvider
( provider: APIProvider, hints?: { githubNativeAnthropic?: boolean; openAiBaseUrl?: string }, )
src/services/api/cacheMetrics.ts:247
↓ 47 callersMethodemit
(type: string | symbol, ...args: unknown[])
src/ink/events/emitter.ts:15
↓ 47 callersFunctiongenerateCommandSuggestions
( input: string, commands: Command[], )
src/utils/suggestions/commandSuggestions.ts:523
↓ 47 callersFunctiongetGateway
(id: string)
src/integrations/registry.ts:108
↓ 47 callersFunctionpass
(label: string, detail?: string)
scripts/system-check.ts:57
↓ 47 callersFunctionuseInput
(inputHandler: Handler, options: Options = {})
src/ink/hooks/use-input.ts:42
↓ 46 callersFunctiongetModelStrings
()
src/utils/model/modelStrings.ts:143
↓ 46 callersMethodmarkDirty
()
src/native-ts/yoga-layout/index.ts:577
↓ 46 callersFunctionsetInterval
(callback: () => void)
src/cli/bg.test.ts:43
↓ 46 callersFunctionstringValue
(value: unknown)
src/utils/taskReport.ts:1201
↓ 46 callersFunctionwrapMessagesInSystemReminder
( messages: UserMessage[], )
src/utils/messages.ts:3380
↓ 45 callersMethoddispose
()
src/utils/memoryCompaction.ts:13
↓ 45 callersMethodenqueue
* Enqueue a patch to PUT /worker. Coalesces with any existing pending * patch. Fire-and-forget — callers don't need to await.
src/cli/transports/WorkerStateUploader.ts:43
↓ 45 callersFunctionisDefined
(n: number)
src/native-ts/yoga-layout/index.ts:108
↓ 45 callersFunctionregisterCleanup
( cleanupFn: () => void | Promise<void>, )
src/utils/cleanupRegistry.ts:14
↓ 44 callersMethodcleanup
()
src/utils/ShellCommand.ts:96
↓ 44 callersFunctioncreateAssistantMessage
({ content, usage, isVirtual, }: { content: string | BetaContentBlock[] usage?: Usage isVirtual?:
src/utils/messages.ts:416
↓ 44 callersFunctionisFastModeEnabled
()
src/utils/fastMode.ts:38
↓ 44 callersFunctionqueryCheckpoint
(name: string)
src/utils/queryProfiler.ts:69
↓ 44 callersFunctionwaitForCondition
( predicate: () => boolean, timeoutMs = 3000, )
src/components/ExportDialog.test.tsx:47
↓ 43 callersFunctioncliError
(msg?: string)
src/cli/exit.ts:19
↓ 43 callersFunctionfindValue
( properties: Array<{ label?: string; value: unknown }>, label: string, )
src/utils/status.routes.test.ts:92
↓ 43 callersFunctiongracefulShutdownSync
( exitCode = 0, reason: ExitReason = 'other', options?: { getAppState?: () => AppState setAppSta
src/utils/gracefulShutdown.ts:341
↓ 43 callersMethodkill
()
src/utils/ShellCommand.ts:356
↓ 43 callersFunctionnextToken
* Scan next token. Context-sensitive: `cmd` mode treats [ as operator (test * command start), `arg` mode treats [ as word char (glob/subscript).
src/utils/bash/bashParser.ts:302
↓ 42 callersMethodflush
()
src/services/api/thinkTagSanitizer.ts:75
↓ 42 callersFunctiongetMaxOutputTokensForModel
(model: string)
src/services/api/claude.ts:3609
↓ 42 callersFunctionreadFileSync
(filePath: string)
src/utils/fileRead.ts:100
↓ 42 callersFunctionupdateTaskState
( taskId: string, setAppState: SetAppState, updater: (task: T) => T, )
src/utils/task/framework.ts:48
↓ 41 callersFunctioncsi
(...args: (string | number)[])
src/ink/termio/csi.ts:45
↓ 41 callersFunctiongetDefaultAppState
()
src/state/AppStateStore.ts:462
↓ 41 callersFunctionimportAgentModule
()
src/utils/model/agent.test.ts:70
↓ 41 callersMethodstopImmediatePropagation
()
src/ink/events/event.ts:8
↓ 40 callersFunctiongetAgentModel
( agentModel: string | undefined, parentModel: string, toolSpecifiedModel?: string, permissionMode?: P
src/utils/model/agent.ts:40
↓ 40 callersFunctiongetAnthropicClient
({ apiKey, maxRetries, model, fetchOverride, source, providerOverride, effortValue, }: { apiKe
src/services/api/client.ts:317
↓ 40 callersFunctionredact
(value: string)
src/utils/taskReport.ts:1167
↓ 40 callersFunctionrenderMessagesToJSON
(messages: Message[], _tools?: Tools)
src/utils/exportRenderer.tsx:328
↓ 40 callersFunctionresetSettingsCache
()
src/utils/settings/settingsCache.ts:55
↓ 40 callersFunctionresolveAppliedEffort
( model: string, appStateEffortValue: EffortValue | undefined, context?: ReasoningControlContext, )
src/utils/effort.ts:866
↓ 39 callersFunctionlog
(message: string, ...args: unknown[])
src/utils/claudeInChrome/chromeNativeHost.ts:34
↓ 39 callersMethodreadFile
* Reads a file with caching. Returns both content and encoding. * Cache key includes file path and modification time for automatic invalidation.
src/utils/fileReadCache.ts:22
↓ 39 callersFunctionredactSecretValueForDisplay
( value: string | null | undefined, ...sources: Array<SecretValueSource | null | undefined> )
src/utils/providerSecrets.ts:224
↓ 38 callersFunctiondetectProvider
(modelOverride?: string)
src/components/StartupScreen.ts:79
↓ 38 callersFunctionescapeHtml
(value: string)
src/services/api/xaiOAuthShared.ts:130
↓ 38 callersFunctiongetMainLoopModel
()
src/utils/model/model.ts:172
↓ 38 callersFunctionimportFreshWithRetryModule
( provider: | 'firstParty' | 'openai' | 'github' | 'bedrock' | 'vertex' | 'gemini'
src/services/api/withRetry.test.ts:66
← previousnext →101–200 of 15,760, ranked by callers