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
↓ 4 callers
Function
clearRememberedProviderFlagForTests
()
src/utils/providerFlag.ts:123
↓ 4 callers
Function
clearSelection
(s: SelectionState)
src/ink/selection.ts:122
↓ 4 callers
Method
clip
(clip: Clip)
src/ink/output.ts:297
↓ 4 callers
Function
closeWithCancelled
(message: string)
src/components/ProviderManager.tsx:1313
↓ 4 callers
Function
collectContextData
( context: CollectContextDataInput, )
src/commands/context/context-noninteractive.ts:34
↓ 4 callers
Function
collectLiveBackgroundSessionIds
( deps: CollectLiveBackgroundSessionIdsDeps = {}, )
src/utils/conversationRecovery.ts:432
↓ 4 callers
Function
collectProviderSecretEnvVars
()
src/utils/diagnostics/redaction.ts:42
↓ 4 callers
Function
collectStreamingMessages
( signal: AbortSignal, options: Options, )
src/services/api/claude.streamWatchdog.test.ts:250
↓ 4 callers
Function
consume
(method: BridgeFault['method'])
src/bridge/bridgeDebug.ts:87
↓ 4 callers
Function
containsAnyPlaceholder
* All placeholder strings. Used for defense-in-depth: if a varScope value * contains ANY placeholder (exact or embedded), the value is NOT a pure *
src/utils/bash/ast.ts:94
↓ 4 callers
Function
convertContentBlocks
( content: unknown, )
src/services/api/openaiShim.ts:818
↓ 4 callers
Function
convertSDKMessage
( msg: SDKMessage, opts?: ConvertOptions, )
src/remote/sdkMessageAdapter.ts:172
↓ 4 callers
Function
convertSystemPrompt
(system: unknown)
src/services/api/codexShim.ts:125
↓ 4 callers
Function
convertToSandboxRuntimeConfig
( settings: SettingsJson, )
src/utils/sandbox/sandbox-adapter.ts:182
↓ 4 callers
Function
copyDir
(src: string, dest: string)
src/utils/plugins/pluginLoader.ts:294
↓ 4 callers
Function
countMcpToolTokens
( tools: Tools, getToolPermissionContext: () => Promise<ToolPermissionContext>, agentInfo: AgentDefiniti
src/utils/analyzeContext.ts:636
↓ 4 callers
Function
countUniqueFiles
* Counts unique files from an array of locations
src/tools/LSPTool/LSPTool.ts:531
↓ 4 callers
Function
createAbortError
(message = 'aborted')
src/hooks/fileSuggestions.test.ts:64
↓ 4 callers
Function
createActivityDescriptionResolver
(tools: Tools)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:110
↓ 4 callers
Function
createAgent
( agentType: string, source: AgentDefinition['source'] = 'userSettings', )
src/components/agents/AgentsList.test.tsx:71
↓ 4 callers
Function
createAgent
(model?: string)
src/screens/replActiveAgentModel.test.ts:6
↓ 4 callers
Function
createCachedMCState
()
src/services/compact/cachedMicrocompact.ts:40
↓ 4 callers
Function
createContentReplacementState
()
src/utils/toolResultStorage.ts:395
↓ 4 callers
Function
createCorrelationId
()
src/utils/requestLogging.ts:23
↓ 4 callers
Function
createDirectoryLink
( target: string, linkPath: string, )
src/utils/plugins/pluginLoader.test.ts:152
↓ 4 callers
Function
createEmptyAttributionState
()
src/utils/commitAttribution.ts:308
↓ 4 callers
Function
createForkSessionInfoMessage
( sourceSessionId: string | undefined, newSessionId: string = getSessionId(), )
src/utils/sessionRestore.ts:327
↓ 4 callers
Function
createGetAppStateWithAllowedTools
( baseGetAppState: ToolUseContext['getAppState'], allowedTools: string[], )
src/utils/forkedAgent.ts:152
↓ 4 callers
Function
createHarness
()
src/ink/reconciler.test.ts:125
↓ 4 callers
Function
createHeadlessHeartbeatStructuredEmitter
( structuredIO: HeadlessHeartbeatStructuredTarget, hasDrainStarted: () => boolean, )
src/cli/print.ts:1089
↓ 4 callers
Function
createHttpsProxyAgent
* Create an HttpsProxyAgent with optional mTLS configuration * Skips local DNS resolution to let the proxy handle it
src/utils/proxy.ts:137
↓ 4 callers
Function
createImageMetadataText
( dims: ImageDimensions, sourcePath?: string, )
src/utils/imageResizer.ts:835
↓ 4 callers
Function
createImageResponse
( buffer: Buffer, mediaType: string, originalSize: number, dimensions?: ImageDimensions, )
src/tools/FileReadTool/FileReadTool.ts:889
↓ 4 callers
Function
createMessage
(role: string, content: string)
src/utils/conversationArc.test.ts:24
↓ 4 callers
Function
createMultiTurnTracker
(options: MultiTurnOptions = {})
src/utils/multiTurnContext.ts:119
↓ 4 callers
Function
createReadRuleSuggestion
( dirPath: string, destination: PermissionUpdateDestination = 'session', )
src/utils/permissions/PermissionUpdate.ts:361
↓ 4 callers
Function
createRecentActivityFeed
(activities: LogOption[])
src/components/LogoV2/feedConfigs.tsx:12
↓ 4 callers
Function
createSimplePermissionHandlers
( toolUseConfirm: ToolUseConfirm, handlers: DoneHandlers, outcomes: Record<T, SimplePermissionOutcome |
src/components/permissions/simplePermissionActions.ts:86
↓ 4 callers
Function
createStderrLogger
* Environment variables for different client types: * * Direct API: * - ANTHROPIC_API_KEY: Required for direct API access * * AWS Bedrock: * - A
src/services/api/client.ts:103
↓ 4 callers
Function
createSubagentContext
( parentContext: ToolUseContext, overrides?: SubagentContextOverrides, )
src/utils/forkedAgent.ts:352
↓ 4 callers
Function
createTempProject
()
src/utils/sessionRestore.test.ts:184
↓ 4 callers
Function
createTestStreams
()
src/components/useCodexOAuthFlow.test.tsx:15
↓ 4 callers
Function
createTestStreams
()
src/components/TextInput.test.tsx:42
↓ 4 callers
Function
createTmuxBackend
* Creates a TmuxBackend instance. * Throws if TmuxBackend hasn't been registered.
src/utils/swarm/backends/registry.ts:106
↓ 4 callers
Function
createToolUseContext
( mainLoopModel: string, providerOverride?: ToolUseContext['options']['providerOverride'], )
src/tools/FileReadTool/prompt.vision.test.ts:44
↓ 4 callers
Function
createTripMessage
( detail: | { kind: 'path'; threshold: number; path: string } | { kind: 'signature'
src/query/toolFailureLoopGuard.ts:410
↓ 4 callers
Function
currentRouteValue
(current: CurrentAgentRoute)
src/services/api/agentRouteSettings.ts:160
↓ 4 callers
Function
cursorMove
(x: number, y: number)
src/ink/termio/csi.ts:169
↓ 4 callers
Function
decideStreamingTextUpdate
( currentText: string | null, apply: (current: string | null) => string | null, showPreview: boolean,
src/screens/streamingTextPublish.ts:26
↓ 4 callers
Function
decodeJwtPayload
( token: string | undefined, )
src/services/api/xaiOAuthShared.ts:99
↓ 4 callers
Function
defaultStyle
(theme: Theme)
src/native-ts/color-diff/index.ts:364
↓ 4 callers
Method
del
()
src/utils/Cursor.ts:890
↓ 4 callers
Function
delay
(ms: number)
src/services/api/claude.streamWatchdog.test.ts:271
↓ 4 callers
Function
denySpeculation
( message: string, reason: string, )
src/services/PromptSuggestion/speculation.ts:84
↓ 4 callers
Function
dequeue
( filter?: (cmd: QueuedCommand) => boolean, )
src/utils/messageQueueManager.ts:166
↓ 4 callers
Function
dequeueAllMatching
( predicate: (cmd: QueuedCommand) => boolean, )
src/utils/messageQueueManager.ts:243
↓ 4 callers
Function
detectCurrentRepository
()
src/utils/detectRepository.ts:17
↓ 4 callers
Function
detectIDEs
( includeInvalid: boolean, )
src/utils/ide.ts:664
↓ 4 callers
Function
detectImageFormatFromBuffer
(buffer: Buffer)
src/utils/imageResizer.ts:769
↓ 4 callers
Function
detectSessionFileType
( filePath: string, )
src/utils/memoryFileDetection.ts:40
↓ 4 callers
Function
diff
(before: AnyObject, after: AnyObject)
src/ink/reconciler.ts:68
↓ 4 callers
Function
disablePluginOp
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginOperations.ts:772
↓ 4 callers
Method
drainAgentFailureQueue
Drain all queued agent failure messages.
src/entrypoints/sdk/query.ts:495
↓ 4 callers
Function
drainAsyncGenerator
(generator: AsyncGenerator<unknown, T>)
src/services/api/withRetry.test.ts:93
↓ 4 callers
Function
drainSdkEvents
()
src/utils/sdkEventQueue.ts:89
↓ 4 callers
Method
drainStdin
@see drainStdin
src/ink/ink.tsx:978
↓ 4 callers
Function
effortLevelToSymbol
(level: EffortLevel)
src/components/EffortIndicator.ts:27
↓ 4 callers
Function
emitTaskProgress
( tracker: ProgressTracker, taskId: string, toolUseId: string | undefined, description: string, star
src/tools/AgentTool/agentToolUtils.ts:388
↓ 4 callers
Method
endAuthentication
(success: boolean)
src/utils/awsAuthStatusManager.ts:58
↓ 4 callers
Method
endCLIActivity
* Stops tracking CLI activity
src/utils/activityManager.ts:82
↓ 4 callers
Function
enhanceGitPullErrorMessages
* Enhance error messages for git pull failures
src/utils/plugins/marketplaceManager.ts:734
↓ 4 callers
Function
enqueueShellNotification
(taskId: string, description: string, status: 'completed' | 'failed' | 'killed', exitCode: number | undefined,
src/tasks/LocalShellTask/LocalShellTask.tsx:105
↓ 4 callers
Function
ensureBackendsRegistered
()
src/utils/swarm/backends/registry.ts:74
↓ 4 callers
Function
ensureBackgroundSessionDirs
()
src/cli/bgRegistry.ts:145
↓ 4 callers
Function
ensureConnectedClient
( client: ConnectedMCPServer, )
src/services/mcp/client.ts:1730
↓ 4 callers
Function
ensureSessionsDir
()
src/utils/sessionPersistence.ts:68
↓ 4 callers
Function
ensureToolResultsDir
()
src/utils/toolResultStorage.ts:122
↓ 4 callers
Method
enterAlternateScreen
* Pause Ink and hand the terminal over to an external TUI (e.g. git * commit editor). In non-fullscreen mode this enters the alt screen; * in fu
src/ink/ink.tsx:381
↓ 4 callers
Function
entryToRole
* Determine the role of a JSONL entry, or null if it's not a conversational message.
src/entrypoints/sdk/sessions.ts:109
↓ 4 callers
Function
escapeHtmlWithBold
(text: string)
src/commands/insights.ts:1621
↓ 4 callers
Method
estimateMessage
* Get token count for a single message.
src/utils/incrementalTokenCounter.ts:152
↓ 4 callers
Function
exceedsSizeLimit
(content: string, _path: string)
src/services/settingsSync/index.ts:497
↓ 4 callers
Function
excludeCommandsByServer
( commands: Command[], serverName: string, )
src/services/mcp/utils.ts:129
↓ 4 callers
Function
excludeResourcesByServer
( resources: Record<string, ServerResource[]>, serverName: string, )
src/services/mcp/utils.ts:142
↓ 4 callers
Function
execCommandHook
* Execute a command-based hook using bash or PowerShell. * * Shell resolution: hook.shell → 'bash'. PowerShell hooks spawn pwsh * with -NoProfile -
src/utils/hooks.ts:936
↓ 4 callers
Function
executeNonStreamingRequest
( clientOptions: { model: string fetchOverride?: Options['fetchOverride'] source: string pro
src/services/api/claude.ts:840
↓ 4 callers
Function
executePermissionAction
( toolUseConfirm: ToolUseConfirm, { onDone, onReject }: DoneHandlers, action: PermissionAction, )
src/components/permissions/simplePermissionActions.ts:35
↓ 4 callers
Method
exitAlternateScreen
* Resume Ink after an external TUI handoff with a full repaint. * In non-fullscreen mode this exits the alt screen back to main; * in fullscreen
src/ink/ink.tsx:416
↓ 4 callers
Function
expandTilde
* Expands tilde (~) at the start of a path to the user's home directory.
src/tools/PowerShellTool/pathValidation.ts:820
↓ 4 callers
Function
expectShellError
(command: string)
src/tools/BashTool/BashTool.errorOutput.test.ts:28
↓ 4 callers
Function
extensionForExportFormat
(format: ExportFormat)
src/utils/exportFormats.ts:42
↓ 4 callers
Function
extractDangerousSettings
( settings: SettingsJson | null | undefined, )
src/components/ManagedSettingsSecurityDialog/utils.ts:24
↓ 4 callers
Function
extractDescriptionFromMarkdown
( content: string, defaultDescription: string = 'Custom item', )
src/utils/markdownConfigLoader.ts:114
↓ 4 callers
Function
extractThinkingTokens
( message: AssistantMessage, )
src/utils/tokens.ts:359
↓ 4 callers
Function
fetchAuthServerMetadata
* Fetches authorization server metadata, using a configured metadata URL if available, * otherwise performing RFC 9728 → RFC 8414 discovery via the S
src/services/mcp/auth.ts:300
↓ 4 callers
Function
fetchOllamaModelsProbe
( baseUrl?: string, timeoutMs = 5000, )
src/utils/providerDiscovery.ts:75
↓ 4 callers
Function
fetchSession
( sessionId: string, )
src/utils/teleport/api.ts:289
↓ 4 callers
Function
fileHistoryCanRestore
( state: FileHistoryState, messageId: UUID, )
src/utils/fileHistory.ts:396
↓ 4 callers
Function
fileHistoryGetDiffStats
( state: FileHistoryState, messageId: UUID, )
src/utils/fileHistory.ts:411
↓ 4 callers
Function
fileHistoryTrackEdit
( updateFileHistoryState: ( updater: (prev: FileHistoryState) => FileHistoryState, ) => void, filePa
src/utils/fileHistory.ts:85
← previous
next →
2,501–2,600 of 15,760, ranked by callers