MCPcopy Create free account

hub / github.com/Gitlawb/openclaude / functions

Functions15,760 in github.com/Gitlawb/openclaude

↓ 5 callersFunctionpersistDraft
( nextDraft: ProviderDraft = draft, provider: ProviderProfile['provider'] = draftProvider, profile
src/components/ProviderManager.tsx:1472
↓ 5 callersFunctionpersistGoal
( saveGoalState: typeof saveGoalStateDefault, goal: GoalState | null, logGoalPersistenceFailure: GoalPer
src/services/goal/controller.ts:70
↓ 5 callersFunctionpickRandom
* Pick a random element from an array
src/utils/words.ts:774
↓ 5 callersFunctionpreconnectAnthropicApi
( apiProvider: APIProvider = getAPIProvider(), )
src/utils/apiPreconnect.ts:33
↓ 5 callersFunctionprepareGoalForSessionResume
( goal: GoalState | null | undefined, now: string = nowIso(), )
src/services/goal/state.ts:167
↓ 5 callersMethodprevOffset
(offset: number)
src/utils/Cursor.ts:1527
↓ 5 callersMethodprevWord
()
src/utils/Cursor.ts:644
↓ 5 callersFunctionprojectFile
(path: string)
src/components/memory/memoryFileSelectorPaths.test.ts:7
↓ 5 callersFunctionpruneByRelevance
( messages: Message[], options: PruningOptions, )
src/utils/relevancePruning.ts:146
↓ 5 callersFunctionqueryModelWithStreaming
({ messages, systemPrompt, thinkingConfig, tools, signal, options, }: { messages: Message[] sy
src/services/api/claude.ts:774
↓ 5 callersFunctionqwenInstructModel
( id: string, label: string, contextWindow: number, maxOutputTokens: number, supportsVision = true,
src/integrations/models/qwen.ts:53
↓ 5 callersFunctionreadCachedMarketplace
* Read a cached marketplace from disk without updating it * * @param installLocation - Path to the cached marketplace * @returns The marketplace ob
src/utils/plugins/marketplaceManager.ts:2168
↓ 5 callersFunctionreadCodexCredentialsAsync
()
src/utils/codexCredentials.ts:269
↓ 5 callersFunctionreadCronTasks
(dir?: string)
src/utils/cronTasks.ts:91
↓ 5 callersFunctionreadFirstNumber
( value: RecordLike, keys: string[], )
src/services/api/minimaxUsage/parse.ts:69
↓ 5 callersFunctionreadGitHead
( gitDir: string, )
src/utils/git/gitFilesystem.ts:149
↓ 5 callersFunctionreadLock
()
src/utils/computerUse/computerUseLock.ts:48
↓ 5 callersFunctionreadTrimmedEnvValue
(name: string)
src/utils/status.tsx:328
↓ 5 callersFunctionrealpathSync
(path: string)
src/utils/fsOperations.ts:542
↓ 5 callersFunctionrecordContentReplacement
( replacements: ContentReplacementRecord[], agentId?: AgentId, )
src/utils/sessionStorage.ts:1589
↓ 5 callersFunctionredactDiagnosticObject
(value: unknown)
src/utils/diagnostics/redaction.ts:89
↓ 5 callersFunctionredactLikelySecrets
(value: string)
src/utils/diagnostics/redaction.ts:74
↓ 5 callersFunctionredactSecretSubstringsForDisplay
( value: string | null | undefined, ...sources: Array<SecretValueSource | null | undefined> )
src/utils/providerSecrets.ts:241
↓ 5 callersFunctionredactTokens
(raw: unknown)
src/services/mcp/xaa.ts:94
↓ 5 callersFunctionregisterBrand
(d: BrandDescriptor)
src/integrations/registry.ts:59
↓ 5 callersFunctionregisterHookCallbacks
( hooks: Partial<Record<HookEvent, RegisteredHookMatcher[]>>, )
src/bootstrap/state.ts:1370
↓ 5 callersMethodrelease
()
src/utils/QueryGuard.ts:266
↓ 5 callersFunctionremoveAgentWorktree
( worktreePath: string, worktreeBranch?: string, gitRoot?: string, hookBased?: boolean, )
src/utils/worktree.ts:1055
↓ 5 callersFunctionrenameSession
( sessionId: string, title: string, options?: SessionMutationOptions, )
src/entrypoints/sdk/sessions.ts:244
↓ 5 callersFunctionrenderModelLabel
(model: string | null)
src/commands/model/model.tsx:106
↓ 5 callersFunctionrenderMonitorPermission
( toolUseConfirm: ToolUseConfirm, callbacks: { onDone?: () => void onReject?: () => void } = {},
src/components/permissions/MonitorPermissionRequest/MonitorPermissionRequest.test.tsx:297
↓ 5 callersFunctionrenderNodeToOutput
( node: DOMElement, output: Output, { offsetX = 0, offsetY = 0, prevScreen, skipSelfBlit
src/ink/render-node-to-output.ts:422
↓ 5 callersFunctionrenderProbe
( setRawMode: (value: boolean) => void, initial: { isActive?: boolean } = {}, )
src/ink/hooks/use-input.test.ts:43
↓ 5 callersFunctionrenderSelector
(props: { agentType: string current: CurrentAgentRoute onClose: () => void })
src/components/agents/AgentRouteSelector.test.tsx:130
↓ 5 callersMethodreportDelivery
* Report delivery status for a client-to-worker event. * POST /v1/code/sessions/{id}/worker/events/delivery (batch endpoint)
src/cli/transports/ccrClient.ts:1020
↓ 5 callersMethodreportFailure
( lease: CredentialLease | null, kind: CredentialPoolFailureKind, cooldownMs: number, )
src/services/api/credentialPool.ts:79
↓ 5 callersFunctionreportPermissionWait
()
src/utils/swarm/inProcessRunner.ts:209
↓ 5 callersFunctionresetCollapseIdCounter
(seed?: number)
src/services/contextCollapse/collapseUtils.ts:5
↓ 5 callersMethodresetFramesForAltScreen
* Seed prev/back frames with full-size BLANK screens (rows×cols of empty * cells, not 0×0). In alt-screen mode, next.screen.height is always * t
src/ink/ink.tsx:1009
↓ 5 callersFunctionresetMicrocompactState
()
src/services/compact/microCompact.ts:129
↓ 5 callersFunctionresolveAgentTools
( agentDefinition: Pick< AgentDefinition, 'tools' | 'disallowedTools' | 'source' | 'permissionMode'
src/tools/AgentTool/agentToolUtils.ts:122
↓ 5 callersFunctionresolveCacheProbeApiKey
( env: NodeJS.ProcessEnv = process.env, )
src/commands/cache-probe/cache-probe.ts:45
↓ 5 callersFunctionresolveClaudeConfigHomeDir
(options?: { configDirEnv?: string homeDir?: string })
src/utils/envUtils.ts:179
↓ 5 callersFunctionresolveDoctorDistTags
( deps: DoctorDistTagsDependencies, )
src/screens/doctorDistTags.ts:17
↓ 5 callersFunctionresolveLaunchTargets
({ activeFilePath, workspacePath, workspaceSourceLabel, executable } = {})
vscode-extension/openclaude-vscode/src/extension.js:248
↓ 5 callersFunctionresolveOpenAICredentialEnvState
(env: Record<string, string | undefined>)
src/utils/providerProfile.ts:678
↓ 5 callersFunctionresolveProfileCompatibility
(provider: string)
src/utils/providerProfiles.ts:106
↓ 5 callersFunctionresolveUpdateStrategy
( deps: UpdateStrategyDeps = defaultDeps, )
src/utils/updateStrategy.ts:109
↓ 5 callersFunctionresolveValue
(value: string)
src/utils/plugins/mcpPluginIntegration.ts:475
↓ 5 callersMethodrespondToPermissionRequest
* Respond to a permission request from CCR
src/remote/RemoteSessionManager.ts:247
↓ 5 callersFunctionrestoreSessionStateFromLog
( result: ResumeResult, setAppState: (f: (prev: AppState) => AppState) => void, )
src/utils/sessionRestore.ts:105
↓ 5 callersFunctionrunApply
(markdown = 'Hello world.', signal?: AbortSignal)
src/tools/WebFetchTool/applyPromptFallback.test.ts:31
↓ 5 callersFunctionrunPowerShell
( script: string, options?: { input?: string }, )
src/utils/secureStorage/windowsCredentialStorage.ts:37
↓ 5 callersFunctionrunSuccessfulQuery
( deps: QueryDeps, querySource: 'repl_main_thread' | 'compact' = 'repl_main_thread', )
src/query/autoCompactCooldown.test.ts:220
↓ 5 callersFunctionrunWithHeartbeatErrorCleanup
( heartbeat: Pick<HeadlessHeartbeat, 'stop'> | undefined, operation: () => Promise<T>, )
src/cli/print.ts:1076
↓ 5 callersFunctionsafeRemoveOverlay
(overlayPath: string)
src/services/PromptSuggestion/speculation.ts:72
↓ 5 callersFunctionsafeStringify
(value: unknown, indent?: number)
src/utils/exportRenderer.tsx:316
↓ 5 callersFunctionsafelyGet
(getter: (() => T) | undefined, fallback: T)
src/cli/headlessHeartbeat.ts:237
↓ 5 callersFunctionsanitizeName
* Sanitizes a name for use in file paths
src/utils/tasks.ts:717
↓ 5 callersFunctionsanitizePathComponent
(input: string)
src/utils/tasks.ts:217
↓ 5 callersFunctionsaveDiscoveryCache
( cache: PersistedDiscoveryCache, )
src/integrations/discoveryCache.ts:242
↓ 5 callersFunctionsaveGithubModelsToken
( token: string, oauthToken?: string, options?: { credentialType?: GithubModelsCredentialBlob['credentia
src/utils/githubModelsCredentials.ts:192
↓ 5 callersFunctionsaveProjectGraph
(cwd: string)
src/utils/knowledgeGraph.ts:317
↓ 5 callersFunctionscanProjectConventions
(cwd: string)
src/services/wiki/conventions.ts:309
↓ 5 callersFunctionschedulePush
* Debounced push: waits for writes to settle, then pushes once.
src/services/teamMemorySync/watcher.ts:174
↓ 5 callersFunctionsearchSessionsByCustomTitle
( query: string, options?: { limit?: number; exact?: boolean }, )
src/utils/sessionStorage.ts:3436
↓ 5 callersFunctionseedDirFor
* If installLocation points into a configured seed directory, return that seed * directory. Seed-managed entries are admin-controlled — users can't
src/utils/plugins/marketplaceManager.ts:583
↓ 5 callersFunctionselectCollapseSpan
( messages: Message[], effectiveWindow: number, estimateTokens: (msgs: Message[]) => number = tokenCount
src/services/contextCollapse/spanSelection.ts:45
↓ 5 callersFunctionsequential
( fn: (...args: T) => Promise<R>, )
src/utils/sequential.ts:19
↓ 5 callersFunctionserializeSafeEnvSummary
()
scripts/system-check.ts:793
↓ 5 callersFunctionsetAgentRoute
( agentType: string, modelKey: string, )
src/services/api/agentRouteSettings.ts:324
↓ 5 callersFunctionsetAllowedChannels
(entries: ChannelEntry[])
src/bootstrap/state.ts:1595
↓ 5 callersFunctionsetLastSummarizedMessageId
( messageId: string | undefined, )
src/services/SessionMemory/sessionMemoryUtils.ts:65
↓ 5 callersMethodsetOnClose
* Register the callback invoked when the transport closes permanently. * `closeCode` is the WS close code or HTTP status, when available.
src/cli/transports/Transport.ts:35
↓ 5 callersMethodsetOnData
Register the callback invoked with newline-delimited JSON payloads.
src/cli/transports/Transport.ts:29
↓ 5 callersFunctionsetPluginCommandsState
(commands: Command[])
src/state/pluginCommandsStore.ts:11
↓ 5 callersFunctionsetSessionCache
(value: SettingsJson | null)
src/services/remoteManagedSettings/syncCacheState.ts:37
↓ 5 callersFunctionsetSessionIngressToken
(token: string | null)
src/bootstrap/state.ts:1092
↓ 5 callersFunctionsetupConsumerProject
* Set up a minimal TypeScript consumer project that imports from the SDK. * Simulates what npm pack + install would produce.
tests/sdk/package-consumer-types.test.ts:30
↓ 5 callersFunctionshouldBypassProxy
( urlString: string, noProxy: string | undefined = getNoProxy(), )
src/utils/proxy.ts:88
↓ 5 callersFunctionshouldEnableClaudeInChromeSkill
(options?: { autoEnabled?: boolean hasClaudeInChromeAccess?: boolean })
src/skills/bundled/claudeInChromeAccess.ts:3
↓ 5 callersFunctionshouldProcessMockLimits
()
src/services/mockRateLimits.ts:126
↓ 5 callersFunctionshouldRefreshOAuthAccountInfo
({ hasCompleteAccountInfo, isClaudeAiSubscriber, hasProfileScope, }: { hasCompleteAccountInfo: boolean
src/services/oauth/client.ts:461
↓ 5 callersFunctionshouldRenderNativeAutoUpdater
(autoUpdaterResult: AutoUpdaterResult | null, isUpdating: boolean, versions: NativeAutoUpdaterVersions)
src/components/NativeAutoUpdater.tsx:53
↓ 5 callersFunctionshouldShowAlwaysAllowOptions
()
src/utils/permissions/permissionsLoader.ts:42
↓ 5 callersFunctionshouldUseFirstPartyAnthropicAuthForProvider
({ providerOverride, apiProvider, isFirstPartyBaseUrl, }: { providerOverride?: ProviderOverride apiP
src/services/api/authRouting.ts:9
↓ 5 callersMethodshutdown
()
src/services/diagnosticTracking.ts:59
↓ 5 callersFunctionsortLogs
(logs: LogOption[])
src/types/logs.ts:469
↓ 5 callersFunctionsplitDoctorArgs
(args: string)
src/commands/doctor/doctor.tsx:13
↓ 5 callersFunctionstandardEffortToOpenAI
(level: EffortLevel)
src/utils/effort.ts:771
↓ 5 callersMethodstartApiCall
(call: QueryActiveApiCall)
src/utils/queryLifecycle.ts:122
↓ 5 callersMethodstartOAuthFlow
( authURLHandler: (url: string, automaticUrl?: string) => Promise<void>, options?: { loginWithCl
src/services/oauth/index.ts:32
↓ 5 callersMethodstartToolUse
(toolUse: QueryActiveToolUse)
src/utils/queryLifecycle.ts:138
↓ 5 callersFunctionstartsWithApiErrorPrefix
(text: string)
src/services/api/errors.ts:171
↓ 5 callersFunctionstopCapturingEarlyInput
()
src/utils/earlyInput.ts:142
↓ 5 callersFunctionstopWorkWithRetry
* Retry stopWork with exponential backoff (3 attempts, 1s/2s/4s). * Ensures the server learns the work item ended, preventing server-side zombies.
src/bridge/bridgeMain.ts:1627
↓ 5 callersFunctionstripPromptXMLTags
(content: string)
src/utils/messages.ts:3033
↓ 5 callersFunctionstripSystemReminderBlocks
(text: string)
src/utils/exportRenderer.tsx:723
↓ 5 callersFunctionsubprocessEnv
()
src/utils/subprocessEnv.ts:79
↓ 5 callersFunctionsuccessfulQueryDeps
( microcompactImpl?: (input: Message[]) => Promise<{ messages: Message[] }>, )
src/query/autoCompactCooldown.test.ts:194
← previousnext →2,301–2,400 of 15,760, ranked by callers