MCPcopy Create free account

hub / github.com/Gitlawb/openclaude / functions

Functions15,760 in github.com/Gitlawb/openclaude

↓ 17 callersMethodgetMessages
Return all messages accumulated so far in this session.
src/entrypoints/sdk/v2.ts:149
↓ 17 callersFunctiongetProviderPresetUiMetadata
( preset: ProviderPreset, processEnv: NodeJS.ProcessEnv = process.env, )
src/integrations/providerUiMetadata.ts:70
↓ 17 callersFunctiongetSdkBetas
()
src/bootstrap/state.ts:903
↓ 17 callersFunctionhasPermissionsToUseTool
( tool, input, context, assistantMessage, toolUseID, )
src/utils/permissions/permissions.ts:493
↓ 17 callersFunctionheadlessProfilerCheckpoint
(name: string)
src/utils/headlessProfiler.ts:83
↓ 17 callersFunctionhostOf
(url: string)
src/tools/WebSearchTool/providers/custom.test.ts:339
↓ 17 callersFunctionimportFreshEnvUtils
()
src/utils/openclaudePaths.test.ts:18
↓ 17 callersFunctionimportFreshProvidersModule
()
src/utils/providerProfiles.test.ts:10
↓ 17 callersFunctionisFastModeSupportedByModel
( modelSetting: ModelSetting, )
src/utils/fastMode.ts:167
↓ 17 callersFunctionisLocalAgentTask
(task: unknown)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:149
↓ 17 callersFunctionisPolicyAllowed
(policy: string)
src/services/policyLimits/index.ts:510
↓ 17 callersFunctionloadTranscriptFile
( filePath: string, opts?: { keepAllLeaves?: boolean }, )
src/utils/sessionStorage.ts:3845
↓ 17 callersFunctionmakeContextData
(overrides: Partial<ContextData> = {})
src/utils/requestSizeBreakdown.test.ts:8
↓ 17 callersFunctionmake_router
(providers=None, strategy="balanced")
python/tests/test_smart_router.py:41
↓ 17 callersFunctionmatchingRuleForInput
( path: string, toolPermissionContext: ToolPermissionContext, toolType: 'edit' | 'read', behavior: 'al
src/utils/permissions/filesystem.ts:1037
↓ 17 callersFunctiononClose
()
src/cli/bg.ts:493
↓ 17 callersFunctionosc
(...parts: (string | number)[])
src/ink/termio/osc.ts:20
↓ 17 callersFunctionprepareApiRequest
()
src/utils/teleport/api.ts:181
↓ 17 callersFunctionquery
(params: { prompt: string | AsyncIterable<SDKUserMessage> options?: QueryOptions })
src/entrypoints/sdk/query.ts:1025
↓ 17 callersFunctionresolveToolSearchMode
( env: { ENABLE_TOOL_SEARCH?: string CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS?: string [key: strin
src/utils/toolSearch.ts:194
↓ 17 callersFunctionrestoreEnv
(key: string, value: string | undefined)
src/commands/model/model.test.tsx:52
↓ 17 callersMethodright
()
src/utils/Cursor.ts:335
↓ 17 callersFunctionsafeHostname
(url: string | undefined)
src/tools/WebSearchTool/providers/types.ts:82
↓ 17 callersFunctionsanitizeCredential
(value: string | undefined | null)
src/utils/geminiAuth.ts:47
↓ 17 callersFunctionscan
(env: Record<string, string | undefined>)
src/utils/providerAutoDetect.test.ts:16
↓ 17 callersFunctionsetMockFetch
( implementation: typeof globalThis.fetch, )
src/integrations/discoveryService.test.ts:38
↓ 16 callersFunctionapplySupportedProfileCustomHeaders
( profile: ProviderProfile, env: ProfileEnv, )
src/utils/providerProfiles.ts:378
↓ 16 callersFunctionassistant
(uuid: string, text: string)
src/services/goal/controller.test.ts:12
↓ 16 callersMethodbytes
()
src/cli/bg.test.ts:33
↓ 16 callersFunctionconvertToolsToResponsesTools
( tools: Array<{ name?: string; description?: string; input_schema?: Record<string, unknown> }>, )
src/services/api/codexShim.ts:466
↓ 16 callersFunctioncreateHeadlessHeartbeat
( options: HeadlessHeartbeatOptions, )
src/cli/headlessHeartbeat.ts:94
↓ 16 callersFunctiondefineBrand
(d: BrandDescriptor)
src/integrations/define.ts:26
↓ 16 callersFunctionderiveShortMessageId
(uuid: string)
src/utils/messages.ts:205
↓ 16 callersFunctiondrainQuery
(q: Query)
tests/sdk/helpers/query-test-doubles.ts:158
↓ 16 callersFunctionensureExportFilenameExtension
( filename: string, format: ExportFormat, { preserveMarkdownExtension = false }: { preserveMarkdownExten
src/utils/exportFormats.ts:57
↓ 16 callersFunctionevaluateGoalAfterTurn
({ messagesForQuery, assistantMessages, toolUseContext, querySource, deps = {}, }: { messagesForQu
src/services/goal/controller.ts:128
↓ 16 callersFunctionformatError
(error: unknown)
src/utils/toolErrors.ts:5
↓ 16 callersMethodget
(index: number)
src/ink/screen.ts:50
↓ 16 callersFunctiongetArc
()
src/utils/conversationArc.ts:109
↓ 16 callersFunctiongetAssistantMessageFromError
( error: unknown, model: string, options?: { messages?: Message[] messagesForAPI?: (UserMessage
src/services/api/errors.ts:656
↓ 16 callersFunctiongetCacheStatsHistory
()
src/services/api/cacheStatsTracker.ts:147
↓ 16 callersMethodgetComputedTop
()
src/ink/layout/yoga.ts:112
↓ 16 callersFunctiongetDefaultMainLoopModel
()
src/utils/model/model.ts:434
↓ 16 callersFunctiongetGraphemeSegmenter
()
src/utils/intl.ts:13
↓ 16 callersFunctiongetProjectDir
(cwd: string)
src/utils/cachePaths.ts:21
↓ 16 callersFunctiongetResultMessages
(messages: Msg[])
src/services/api/compressToolHistory.test.ts:120
↓ 16 callersFunctiongetTools
(permissionContext: ToolPermissionContext)
src/tools.ts:260
↓ 16 callersFunctiongetUserSpecifiedModelSetting
()
src/utils/model/model.ts:115
↓ 16 callersMethodgraphemeAt
(pos: number)
src/utils/Cursor.ts:1004
↓ 16 callersFunctionimportFreshCodexCredentials
( cacheKey: string, )
src/utils/codexCredentials.test.ts:13
↓ 16 callersFunctionisAnthropicAuthEnabled
()
src/utils/auth.ts:100
↓ 16 callersFunctionisBuiltInAgent
( agent: AgentDefinition, )
src/tools/AgentTool/loadAgentsDir.ts:172
↓ 16 callersFunctionloadEnvFile
(filePath: string)
src/utils/envFile.ts:345
↓ 16 callersFunctionmakeUserMsg
(id: string, content = 'hello')
src/services/contextCollapse/index.test.ts:18
↓ 16 callersFunctionnormalizeExportFormat
(value: string)
src/utils/exportFormats.ts:13
↓ 16 callersFunctionnormalizeMessages
(messages: Message[])
src/utils/messages.ts:757
↓ 16 callersFunctiononProgress
(progress: { data: ShellProgress; })
src/utils/processUserInput/processBashCommand.tsx:55
↓ 16 callersFunctionreadTeamFile
(teamName: string)
src/utils/swarm/teamHelpers.ts:131
↓ 16 callersFunctionrenderModelName
(model: ModelName)
src/utils/model/model.ts:696
↓ 16 callersFunctionresolveBackgroundSession
( target: string, )
src/cli/bgRegistry.ts:438
↓ 16 callersFunctionrestoreEnvValue
( key: keyof typeof originalEnv, )
src/integrations/discoveryService.test.ts:44
↓ 16 callersFunctionroughTokenCountEstimationForMessages
( messages: readonly { type: string message?: { content?: unknown } attachment?: Attachment }[
src/services/tokenEstimation.ts:540
↓ 16 callersFunctionsameFloat
(a: number, b: number)
src/native-ts/yoga-layout/index.ts:113
↓ 16 callersFunctionsaveProfileFile
( profileFile: ProfileFile, options?: ProfileFileLocation, )
src/utils/providerProfile.ts:1188
↓ 16 callersMethodsend
(msg: Message)
src/utils/mailbox.ts:33
↓ 16 callersFunctionsetMainLoopModelOverride
( model: ModelSetting | undefined, )
src/bootstrap/state.ts:893
↓ 16 callersFunctionsettings
(overrides: Partial<SettingsJson>)
src/components/TrustDialog/utils.test.ts:100
↓ 16 callersFunctionsplitCommand_DEPRECATED
(command: string)
src/utils/bash/commands.ts:265
↓ 16 callersFunctiontriggerCacheDrop
({ first = snapshot(), second = snapshot(), secondMessages = assistantMessages(60_000), }: { first?: P
src/services/api/promptCacheBreakDetection.test.ts:198
↓ 16 callersFunctionuseSettings
(settings: SettingsJson)
src/components/ModelPicker.test.tsx:24
↓ 16 callersFunctionvalidateIntegrationRegistry
()
src/integrations/registry.ts:219
↓ 16 callersFunctionvalidateToolResultPairing
( messages: (UserMessage | AssistantMessage)[], context: ToolResultPairingValidationContext = {}, )
src/utils/messages.ts:5847
↓ 16 callersFunctionwriteFullFrame
(output: Output, width: number, height: number)
src/ink/output.test.ts:64
↓ 16 callersFunctionwriteStatus
Write a status line and track its visual line count.
src/bridge/bridgeUI.ts:118
↓ 15 callersFunctionasString
(value: unknown)
src/services/api/minimaxUsage/parse.ts:25
↓ 15 callersFunctionassistantMessage
( inputTokens: number, outputTokens: number, options: { toolUses?: Array<{ id: string; name: string;
src/tasks/LocalAgentTask/progressTracker.test.ts:19
↓ 15 callersFunctionbuildCompatibilityProcessEnv
(options: { compatibilityMode: CompatibilityProfileMode profileEnv: ProfileEnv processEnv?: NodeJS.Proce
src/utils/providerProfile.ts:1059
↓ 15 callersFunctionbuildProviderState
(label, detail, source)
vscode-extension/openclaude-vscode/src/state.js:307
↓ 15 callersFunctioncapitalize
(s: string)
src/utils/effort.ts:776
↓ 15 callersFunctioncheckEmptyIndicator
(text: string, expected: string)
src/commands.test.ts:222
↓ 15 callersFunctionclearPluginCache
(reason?: string)
src/utils/plugins/pluginLoader.ts:3508
↓ 15 callersMethodconnect
* Open the transport connection. Implementations handle their own * reconnection/backoff; the returned promise resolves when the initial * conne
src/cli/transports/Transport.ts:20
↓ 15 callersFunctioncreateMessage
(role: string, content: string, createdAt: number = Date.now())
src/utils/relevancePruning.test.ts:10
↓ 15 callersFunctiondrain
( generator: AsyncGenerator<any, any>, )
src/services/goal/controller.test.ts:48
↓ 15 callersFunctionemitHookResponse
(data: { hookId: string hookName: string hookEvent: string output: string stdout: string stderr: s
src/utils/hooks/hookEvents.ts:153
↓ 15 callersFunctionenableConfigs
()
src/utils/config.ts:1589
↓ 15 callersFunctionescapeXml
(s: string | null | undefined)
src/utils/xml.ts:11
↓ 15 callersFunctionexecuteShellCommandsInPrompt
( text: string, context: ToolUseContext, slashCommandName: string, shell?: FrontmatterShell, options
src/utils/promptShellExecution.ts:79
↓ 15 callersFunctionexpectEquivalent
(messages: Message[])
src/utils/messages.normalizeCached.test.ts:36
↓ 15 callersFunctionfail
(message: string)
src/cli/bg.ts:196
↓ 15 callersFunctionflushSeg
()
src/utils/bash/bashParser.ts:2926
↓ 15 callersFunctiongetCliBinaryName
()
src/utils/doctorDiagnostic.ts:51
↓ 15 callersFunctiongetCommandName
(cmd: CommandBase)
src/types/command.ts:245
↓ 15 callersFunctiongetEffectiveBashTimeoutMs
( requestedTimeout: unknown, env: EnvLike = process.env, )
src/utils/timeouts.ts:47
↓ 15 callersFunctiongetModeFromInput
(input: string)
src/components/PromptInput/inputModes.ts:16
↓ 15 callersFunctiongetOrganizationUUID
()
src/services/oauth/client.ts:426
↓ 15 callersFunctiongetRouteProviderTypeLabel
( routeId: string, )
src/integrations/routeMetadata.ts:793
↓ 15 callersFunctionglmChunk
(content: string, finishReason?: string)
src/services/api/openaiShim.xmlToolCalls.test.ts:50
↓ 15 callersFunctionhas1mContext
(model: string)
src/utils/context.ts:142
↓ 15 callersFunctionhasCommand
(cmd: string)
src/services/voice.ts:49
← previousnext →501–600 of 15,760, ranked by callers