Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
3,846 in github.com/OpenHands/OpenHands
⨍
Functions
3,846
◇
Types & classes
1,040
↓ 5 callers
Function
useCloudCurrentUserId
()
src/hooks/query/use-cloud-current-user-id.ts:30
↓ 5 callers
Function
useConversationLocalStorageState
(conversationId: string)
src/utils/conversation-local-storage.ts:263
↓ 5 callers
Function
useConversationWebSocket
()
src/contexts/conversation-websocket-context.tsx:1108
↓ 5 callers
Function
useIsArchivedConversation
()
src/hooks/use-is-archived-conversation.ts:4
↓ 5 callers
Function
useLlmConfigured
()
src/hooks/use-llm-configured.ts:40
↓ 5 callers
Function
useSendMessage
()
src/hooks/use-send-message.ts:13
↓ 5 callers
Function
withRetry
( fn: () => Promise<T>, maxRetries: number = 3, baseDelayMs: number = 500, )
src/api/with-retry.ts:4
↓ 5 callers
Function
writeStoredActiveBackend
( selection: BackendSelection | null, )
src/api/backend-registry/storage.ts:221
↓ 4 callers
Function
action
(overrides: Partial<CanvasUIAction>)
__tests__/services/canvas-ui.test.ts:16
↓ 4 callers
Function
actionEnvelope
(id: string, toolName: string)
__tests__/components/features/chat/tool-visualizers/test-utils.tsx:27
↓ 4 callers
Function
assertAgentServerVersionIsSupported
( serverInfo: AgentServerInfo, )
src/api/agent-server-compatibility.ts:291
↓ 4 callers
Method
authorizeOAuth
( server: MCPServerConfig, )
src/api/mcp-service/mcp-service.api.ts:248
↓ 4 callers
Function
buildAgentServerEnv
(config)
scripts/dev-safe.mjs:688
↓ 4 callers
Function
buildAutomationRuntimeServicesInfo
(config)
scripts/dev-with-automation.mjs:999
↓ 4 callers
Function
buildCreatePayload
( entry: SetupEntry, values: SetupFormValues, )
src/manifests/automation-setup.ts:83
↓ 4 callers
Function
buildMcpServerPatch
( previous: MCPServer, edited: MCPServerConfig, )
src/utils/mcp-config.ts:319
↓ 4 callers
Function
buildNpmScriptCommand
( scriptName, platform = process.platform, env = process.env, nodeExecPath = process.execPath, )
scripts/dev-safe.mjs:733
↓ 4 callers
Function
buildRuntimeServicesInfo
(options)
scripts/runtime-services-info.mjs:60
↓ 4 callers
Function
buildStartConversationRequest
( options: StartConversationOptions, )
src/api/agent-server-adapter.ts:962
↓ 4 callers
Function
clearAgentServerHomeDirCache
()
src/api/agent-server-home.ts:81
↓ 4 callers
Function
commit
(next: McpHealthMap)
src/api/mcp-health/mcp-health-store.ts:19
↓ 4 callers
Function
commit
(next: BackendHealthMap)
src/api/backend-registry/health-store.ts:19
↓ 4 callers
Function
computeSnapshot
( backends: Backend[], selection: BackendSelection | null, )
src/api/backend-registry/active-store.ts:64
↓ 4 callers
Method
createConversation
( initialUserMsg?: string, conversationInstructions?: string, plugins?: PluginSpec[], metadata
src/api/conversation-service/agent-server-conversation-service.api.ts:369
↓ 4 callers
Function
createInterfaceManifest
( overrides: Partial<InterfaceManifest> = {}, )
__tests__/manifests/manifest-test-data.ts:78
↓ 4 callers
Function
createMcpProbeClient
()
src/api/mcp-service/mcp-service.api.ts:143
↓ 4 callers
Function
defineVisualizer
( visualizer: ToolVisualizer<AK, OK>, )
src/components/features/chat/tool-visualizers/define.ts:57
↓ 4 callers
Method
deleteProfile
(name: string)
src/api/profiles-service/profiles-service.api.ts:89
↓ 4 callers
Function
ensureMockLLMAgentProfile
( request: APIRequestContext, llmProfileRef = "mock-llm", )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:532
↓ 4 callers
Function
escapeCell
(value)
tests/e2e/live/scripts/render-live-e2e-report.mjs:148
↓ 4 callers
Function
escapeHtml
(value: string)
src/utils/transcript-export/index.ts:126
↓ 4 callers
Method
executeCommand
( conversationUrl: string | null | undefined, sessionApiKey: string | null | undefined, command: s
src/api/runtime-service/agent-server-runtime-service.ts:25
↓ 4 callers
Function
findCatalogEntryForServer
( server: MCPServerConfig, catalog: MarketplaceEntry[], )
src/utils/mcp-marketplace-utils.ts:280
↓ 4 callers
Function
findInstalledEntryMatch
( entry: MarketplaceEntry, servers: MCPServerConfig[], )
src/utils/mcp-marketplace-utils.ts:165
↓ 4 callers
Function
getAcpProviderDisplayName
( key: string | null | undefined, )
src/constants/acp-providers.ts:419
↓ 4 callers
Function
getActiveCloudBackend
()
src/api/cloud/settings-service.api.ts:58
↓ 4 callers
Function
getAgentServerBaseUrl
()
src/api/agent-server-config.ts:181
↓ 4 callers
Method
getAutomationRuns
( id: string, limit = 50, offset = 0, )
src/api/automation-service/automation-service.api.ts:480
↓ 4 callers
Function
getBackendStatusLabel
( t: TFunction<"openhands">, backend: | { kind?: "local" | "cloud"; apiKey?: string |
src/components/features/backends/backend-status-label.ts:19
↓ 4 callers
Function
getCredentialValidationForServer
( server: MCPServerConfig, )
src/utils/mcp-credential-validation.ts:91
↓ 4 callers
Function
getDefaultMcpTransport
( entry: MarketplaceEntry, )
src/utils/mcp-marketplace-utils.ts:72
↓ 4 callers
Function
getEventContent
( event: OpenHandsEvent | SkillReadyEvent, correspondingAction?: ActionEvent, )
src/components/conversation-events/chat/event-content-helpers/get-event-content.tsx:294
↓ 4 callers
Function
getGitProviderBaseUrl
( gitProvider: Provider, host?: string | null, )
src/utils/utils.ts:206
↓ 4 callers
Function
getImportExportSpec
()
src/manifests/automation-interface.ts:270
↓ 4 callers
Function
getInstallableMcpConnectionOption
( entry: MarketplaceEntry, )
src/utils/mcp-marketplace-utils.ts:66
↓ 4 callers
Function
getLastRenderableEventId
()
src/hooks/chat/model-command-event-anchor.ts:4
↓ 4 callers
Function
getLockedCloudAuthMode
()
src/api/agent-server-config.ts:177
↓ 4 callers
Function
getMcpConnectionOptions
( entry: MarketplaceEntry, )
src/utils/mcp-marketplace-utils.ts:30
↓ 4 callers
Function
getNoContentActionContent
()
src/components/conversation-events/chat/event-content-helpers/get-action-content.ts:44
↓ 4 callers
Function
getPR
(isGitLab: boolean)
src/utils/utils.ts:253
↓ 4 callers
Function
getPostHogForConsentedCapture
Return the shared client only when a consented capture is safe to emit.
src/services/telemetry.ts:741
↓ 4 callers
Function
getRemoteHeaderFields
( option: McpMarketplaceConnectionOption | undefined, )
src/components/features/mcp-page/install-server-modal.tsx:103
↓ 4 callers
Function
getSettingValue
( settings: Settings, key: string, source: SettingsValueSource = "agent_settings", )
src/utils/sdk-settings-schema.ts:99
↓ 4 callers
Function
getSkillCardDescription
(skill: SkillInfo)
src/components/features/skills/get-skill-card-description.ts:48
↓ 4 callers
Function
getTaskStatusI18nKey
( taskStatus: AppConversationStartTaskStatus, )
src/utils/status.ts:31
↓ 4 callers
Function
getUserFacingConnectionErrorMessage
( error: unknown, )
src/utils/user-facing-error.ts:81
↓ 4 callers
Function
hasRedactedMcpSecretLeaf
(value: unknown)
src/utils/mcp-config.ts:44
↓ 4 callers
Function
inferInitialView
( settings: Settings, schemaOverride?: SettingsSchema | null, source: SettingsValueSource = "agent_setti
src/utils/sdk-settings-schema.ts:266
↓ 4 callers
Function
interpretMcpTestResponse
( server: MCPServerConfig, response: ExtendedMCPTestResponse, )
src/api/mcp-health/probe-mcp-server-health.ts:46
↓ 4 callers
Function
invalidateConversationQueries
( queryClient: QueryClient, conversationId: string, )
src/hooks/mutation/conversation-mutation-utils.ts:173
↓ 4 callers
Function
isCorsOrNetworkErrorMessage
( message: string | null | undefined, )
src/utils/user-facing-error.ts:47
↓ 4 callers
Function
isGoalConversationStateUpdateEvent
( event: ConversationStateUpdateEvent, )
src/types/agent-server/type-guards.ts:220
↓ 4 callers
Function
isOnboardingPreviewActive
( search = typeof window !== "undefined" ? window.location.search : "", )
src/components/features/onboarding/onboarding-preview.ts:21
↓ 4 callers
Function
isOneOf
( value: unknown, allowed: T, )
src/manifests/manifest-validation.ts:57
↓ 4 callers
Function
isPlanningFileEditorObservationEvent
( event: OpenHandsEvent, )
src/types/agent-server/type-guards.ts:143
↓ 4 callers
Function
isProfileNameValid
( value: string, { isRequired = false }: { isRequired?: boolean } = {}, )
src/utils/derive-profile-name.ts:14
↓ 4 callers
Function
isSkillReadyEvent
(event: unknown)
src/components/conversation-events/chat/event-content-helpers/create-skill-ready-event.ts:24
↓ 4 callers
Function
isSubscriptionLlmConfig
( llm: Record<string, unknown> | null | undefined, )
src/constants/llm-subscription.ts:71
↓ 4 callers
Function
isTelemetryEnabled
()
src/services/telemetry.ts:617
↓ 4 callers
Function
isValidSettingsSchema
( schema: SettingsSchema | null | undefined, )
src/utils/sdk-settings-schema.ts:51
↓ 4 callers
Method
listInstalledPlugins
()
src/api/plugins-management-service.ts:43
↓ 4 callers
Function
main
()
scripts/dev-safe.mjs:832
↓ 4 callers
Function
mapAnyGitStatusToClientStatus
( status: SupportedGitStatus, )
src/utils/git-status-mapper.ts:10
↓ 4 callers
Function
mapServiceErrors
( errors: readonly ManifestServiceError[], errorMap: Record<string, string[]>, )
src/manifests/manifest-error-map.ts:111
↓ 4 callers
Function
normalizeServiceErrors
( body: unknown, payload: SetupRequestBody | null, )
src/manifests/manifest-error-map.ts:75
↓ 4 callers
Function
notifyTelemetryConsentListeners
()
src/services/telemetry.ts:466
↓ 4 callers
Function
onTabChange
(value: ConversationTab | null)
src/hooks/use-select-conversation-tab.ts:28
↓ 4 callers
Function
parseCommand
(value: string)
src/utils/acp-command.ts:65
↓ 4 callers
Function
partitionImagesForUpload
( images: File[], markedUploadAsFileNames: readonly string[], )
src/components/features/chat/utils/chat-input.utils.ts:42
↓ 4 callers
Function
patchConversationInCache
( queryClient: QueryClient, conversationId: string, patch: Partial<AppConversation>, )
src/hooks/mutation/conversation-mutation-utils.ts:131
↓ 4 callers
Function
renderVisualizer
(ui: React.ReactElement)
__tests__/components/features/chat/tool-visualizers/test-utils.tsx:24
↓ 4 callers
Method
resolveConversationWorkingDir
( conversationId: string, )
src/api/conversation-service/agent-server-conversation-service.api.ts:529
↓ 4 callers
Function
resolveEffectiveAcpModel
(inputs: { runtimeName?: string | null; runtimeId?: string | null; configured?: string | null; sdkLlm?
src/constants/acp-providers.ts:48
↓ 4 callers
Function
seedMcpServerHealth
( server: MCPServerConfig, response: ExtendedMCPTestResponse, otherServers: MCPServerConfig[], )
src/api/mcp-health/probe-mcp-server-health.ts:125
↓ 4 callers
Function
sendMessageWithAttachments
(options: { conversationId: string; content: string; images: File[]; files: File[]; imagesMarkedUplo
src/utils/send-message-with-attachments.ts:22
↓ 4 callers
Function
setTelemetryCloudContext
( context: CloudTelemetryContextInput | null, )
src/services/telemetry.ts:126
↓ 4 callers
Function
setTelemetryIdentity
( distinctId: string | null, properties: Record<string, unknown> = {}, )
src/services/telemetry.ts:587
↓ 4 callers
Function
setValue
(key: string, value: string)
src/components/features/mcp-page/install-server-modal.tsx:181
↓ 4 callers
Function
shouldRenderEvent
(event: OpenHandsEvent)
src/components/conversation-events/chat/event-content-helpers/should-render-event.ts:39
↓ 4 callers
Function
signalProcessTree
(proc, signal)
scripts/dev-process-utils.mjs:80
↓ 4 callers
Function
spawn
( command: string, args: readonly string[], options?: SpawnSyncOptions, )
__tests__/scripts/stryker-diff.test.ts:38
↓ 4 callers
Function
stripRedundantTitlePrefix
(event: ACPToolCallEvent)
src/components/conversation-events/chat/event-content-helpers/get-acp-tool-call-content.ts:52
↓ 4 callers
Method
testServer
( server: MCPServerConfig, )
src/api/mcp-service/mcp-service.api.ts:180
↓ 4 callers
Function
textFromContent
( content: Array<TextContent | ImageContent>, )
src/components/features/chat/tool-visualizers/text-content.ts:11
↓ 4 callers
Function
toAppConversation
( info: DirectConversationInfo, )
src/api/agent-server-adapter.ts:305
↓ 4 callers
Function
trackEvent
( eventName: string, properties: Record<string, unknown> = {}, )
src/services/telemetry.ts:809
↓ 4 callers
Function
uploadFilesToConversation
( conversationId: string, files: File[], currentConversation?: AppConversation | null, )
src/api/conversation-file-upload.api.ts:72
↓ 4 callers
Function
useAllCloudOrganizations
()
src/hooks/query/use-cloud-organizations.ts:16
↓ 4 callers
Function
useAutomationHealth
()
src/hooks/query/use-automation-health.ts:7
↓ 4 callers
Function
useDispatchAutomation
()
src/hooks/query/use-automations.ts:94
← previous
next →
201–300 of 3,846, ranked by callers