Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
4,010 in github.com/OpenHands/OpenHands
⨍
Functions
4,010
◇
Types & classes
1,065
↓ 4 callers
Method
sendMessage
( conversationId: string, message: SendMessageRequest, runtime?: ConversationRuntimeContext | null
src/api/conversation-service/agent-server-conversation-service.api.ts:344
↓ 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:53
↓ 4 callers
Function
signalProcessTree
(proc, signal)
scripts/dev-process-utils.mjs:85
↓ 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:309
↓ 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
↓ 4 callers
Function
useHandleBuildPlanClick
()
src/hooks/use-handle-build-plan-click.ts:14
↓ 4 callers
Function
useHandlePlanClick
()
src/hooks/use-handle-plan-click.ts:20
↓ 4 callers
Function
useHasPermission
(permission: string)
src/hooks/use-has-permission.ts:4
↓ 4 callers
Function
useLocalWorkspaces
({ enabled = true, }: UseLocalWorkspacesOptions = {})
src/hooks/query/use-local-workspaces.ts:13
↓ 4 callers
Function
useSaveLlmProfile
()
src/hooks/mutation/use-save-llm-profile.ts:16
↓ 4 callers
Function
useScrollToBottom
(scrollRef: RefObject<HTMLDivElement | null>)
src/hooks/use-scroll-to-bottom.ts:3
↓ 4 callers
Function
useSubConversationTaskPolling
( taskId: string | null, parentConversationId: string | null, )
src/hooks/query/use-sub-conversation-task-polling.ts:22
↓ 4 callers
Function
useTaskList
()
src/hooks/use-task-list.ts:35
↓ 4 callers
Function
useToggleAutomation
()
src/hooks/query/use-automations.ts:35
↓ 4 callers
Function
useUnifiedPauseConversation
()
src/hooks/mutation/use-unified-stop-conversation.ts:16
↓ 4 callers
Function
useUnifiedWebSocketStatus
()
src/hooks/use-unified-websocket-status.ts:9
↓ 4 callers
Function
useUpdateMcpServer
()
src/hooks/mutation/use-update-mcp-server.ts:16
↓ 4 callers
Function
validateLocalAgentServerPath
(localPath)
scripts/dev-safe.mjs:821
↓ 4 callers
Function
waitForOnboardingStep
(page: Page, step: number)
tests/e2e/support/onboarding-helpers.ts:99
↓ 4 callers
Function
writeStoredBackends
(backends: Backend[])
src/api/backend-registry/storage.ts:95
↓ 3 callers
Method
_send_json
(self, status: int, payload: dict)
tests/e2e/mock-llm/scripts/mock-llm-server.py:312
↓ 3 callers
Function
adaptSystemMessage
( events: OHEvent[], )
src/utils/system-message-adapter.ts:13
↓ 3 callers
Function
addValue
(values: Set<string>, value: unknown)
src/utils/redact-mcp-secrets.ts:33
↓ 3 callers
Method
addWorkspaceParents
( items: LocalWorkspaceParent[], )
src/api/workspaces-service/workspaces-service.api.ts:56
↓ 3 callers
Method
addWorkspaces
( items: LocalWorkspace[], )
src/api/workspaces-service/workspaces-service.api.ts:46
↓ 3 callers
Function
appendBootLog
(name, line, level)
electron/main.mjs:446
↓ 3 callers
Function
applyColorTheme
(key: ColorThemeKey)
src/themes/color-themes.ts:240
↓ 3 callers
Function
applyGroupFolderOrder
( groups: readonly T[], order: readonly string[], )
src/components/features/conversation-panel/conversation-panel-list-helpers.ts:481
↓ 3 callers
Function
assertPortsFree
(portConfigs, host = "127.0.0.1")
scripts/dev-safe.mjs:261
↓ 3 callers
Function
barColorClassForStatus
( status: AutomationRunStatus | string, )
src/components/features/home/featured-automations/automation-run-activity-metrics.ts:66
↓ 3 callers
Function
beginMcpHealthCheck
(key: string)
src/api/mcp-health/mcp-health-store.ts:36
↓ 3 callers
Function
buildAcpAgentSettingsDiff
( providerKey: string, options: { command?: string[]; model?: string | null; allowUnknownServe
src/constants/acp-providers.ts:484
↓ 3 callers
Function
buildAgentServerAutomationEnv
(config)
scripts/dev-with-automation.mjs:746
↓ 3 callers
Function
buildAutomationCommand
* Build the uvx command for running automation backend. * * Environment variables (highest precedence first): * - OH_AUTOMATION_GIT_REF: Git commit
scripts/dev-with-automation.mjs:284
↓ 3 callers
Function
buildAutomationTelemetryEnv
(env = process.env)
scripts/dev-with-automation.mjs:758
↓ 3 callers
Function
buildConfig
(args, env = process.env)
scripts/ingress.mjs:122
↓ 3 callers
Function
buildHomeAutomationMenuItems
({ automation, t, canManage, canEdit, isRunPending, isCancelPending, canCancel, testIdPrefix,
src/components/features/home/featured-automations/build-home-automation-menu-items.tsx:44
↓ 3 callers
Function
buildLiveLlmSettings
()
tests/e2e/live/utils/agent-server-conversation.ts:184
↓ 3 callers
Function
buildPluginLaunchPath
(plugins: PluginSpec[])
src/utils/plugin-launch-url.ts:13
↓ 3 callers
Function
buildRouteArgs
(routes)
scripts/dev-with-automation.mjs:702
↓ 3 callers
Function
buildSdkSettingsPayload
( schema: SettingsSchema, values: SettingsFormValues, dirty: SettingsDirtyState, )
src/utils/sdk-settings-schema.ts:411
↓ 3 callers
Function
buildSkillPills
( skill: SkillInfo, translate: TFunction, options: BuildSkillPillsOptions = {}, )
src/components/features/skills/build-skill-pills.tsx:35
↓ 3 callers
Function
buildWebSocketUrl
( conversationId: string | undefined, conversationUrl: string | null | undefined, )
src/utils/websocket-url.ts:109
↓ 3 callers
Function
clearMcpServerHealth
(key: string)
src/api/mcp-health/mcp-health-store.ts:68
↓ 3 callers
Function
clearPendingCloudTelemetryConsent
( expected?: ResolvedTelemetryConsent, )
src/services/telemetry.ts:514
↓ 3 callers
Function
clearTelemetryData
()
src/services/telemetry.ts:833
↓ 3 callers
Function
coerceFieldValue
( field: SettingsFieldSchema, rawValue: string | boolean, )
src/utils/sdk-settings-schema.ts:339
↓ 3 callers
Function
collectErrorMessages
(error: unknown)
src/utils/user-facing-error.ts:13
↓ 3 callers
Function
convertImageToBase64
(file: File)
src/utils/convert-image-to-base-64.ts:1
↓ 3 callers
Function
createChatMessage
( message: string, image_urls: string[], file_urls: string[], timestamp: string, )
src/services/chat-service.ts:3
↓ 3 callers
Function
createCloudAppConversation
( request: AppConversationStartRequest, // Defaults to the active backend. The typed launch action passes
src/api/cloud/conversation-service.api.ts:149
↓ 3 callers
Function
createInterfaceManifestWithSubPages
()
__tests__/manifests/manifest-test-data.ts:152
↓ 3 callers
Function
createPlanComponents
(extraClassName?: string)
src/components/features/markdown/plan-components.tsx:21
↓ 3 callers
Function
createProfileViaUI
( page: Page, options: { profileName: string; model: string; apiKey?: string; baseUrl?: st
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:643
↓ 3 callers
Method
createSecret
* Create or update a custom secret (upsert by name). * Uses the agent-server API endpoint: PUT /api/settings/secrets * * @param name - Secret
src/api/secrets-service.ts:48
↓ 3 callers
Function
createTitleFromKey
( key: string, values: Readonly<Record<string, unknown>>, )
src/components/conversation-events/chat/event-content-helpers/get-event-content.tsx:39
↓ 3 callers
Method
deleteConversation
(conversationId: string)
src/api/conversation-service/agent-server-conversation-service.api.ts:736
↓ 3 callers
Method
deleteSecret
* Delete a custom secret by name. * Uses the agent-server API endpoint: DELETE /api/settings/secrets/{name} * * @param name - Secret name to
src/api/secrets-service.ts:118
↓ 3 callers
Function
deriveErrorMap
(entry: SetupEntry)
src/manifests/automation-setup.ts:186
↓ 3 callers
Function
deriveProfileNameFromModel
(model: string)
src/utils/derive-profile-name.ts:27
↓ 3 callers
Function
deriveRunHealth
( state: LatestAutomationRunState, )
src/components/features/home/featured-automations/automation-run-health.ts:17
↓ 3 callers
Method
downloadConversation
(conversationId: string)
src/api/conversation-service/agent-server-conversation-service.api.ts:638
↓ 3 callers
Function
extractBaseHost
* Extracts the base host from conversation URL * @param conversationUrl The conversation URL containing host/port (e.g., "http://localhost:3000/api/c
src/utils/websocket-url.ts:6
↓ 3 callers
Function
extractModelAndProvider
(model: string)
src/utils/extract-model-and-provider.ts:12
↓ 3 callers
Function
extractPathPrefix
* Extracts the path prefix from conversation URL (everything before /api/conversations) * This is needed for proxy deployments where agent-servers ar
src/utils/websocket-url.ts:37
↓ 3 callers
Function
extractSettings
( formData: FormData, )
src/utils/settings-utils.ts:29
↓ 3 callers
Function
failure
(error: string, guidance: string)
src/services/child-conversation-launch.ts:85
↓ 3 callers
Function
fetchCloudSettings
()
src/api/cloud/settings-service.api.ts:134
↓ 3 callers
Method
fetchSettingsFromApi
* Fetch settings from the agent server API with retry logic. * * @param exposeSecrets - Controls how secrets are returned: * - undefined: S
src/api/settings-service/settings-service.api.ts:430
↓ 3 callers
Function
findAutomationCommand
( automation: Pick<RecommendedAutomation, "id" | "skill">, )
src/utils/automation-catalog.ts:46
↓ 3 callers
Function
finish
(afterToken: number, outcome: ContextCompactionOutcome)
src/hooks/use-await-context-compaction.ts:86
↓ 3 callers
Function
finish
(busy)
scripts/dev-safe.mjs:1068
↓ 3 callers
Function
focusContentEditableAtEnd
( element: HTMLElement | null, )
src/components/features/chat/utils/chat-input.utils.ts:159
↓ 3 callers
Function
formatCommand
(command: readonly string[])
src/utils/acp-command.ts:176
↓ 3 callers
Function
formatCompactDuration
(ms: number | null)
src/manifests/automation-insights.ts:129
↓ 3 callers
Function
formatCompactTokenCount
(value: number)
src/utils/format-token-count.ts:2
↓ 3 callers
Function
formatTriggerSourceLabel
(source: string)
src/components/features/home/featured-automations/automation-run-health.ts:60
↓ 3 callers
Function
getACPToolCallContent
(event: ACPToolCallEvent)
src/components/conversation-events/chat/event-content-helpers/get-acp-tool-call-content.ts:100
↓ 3 callers
Function
getACPToolCallResult
( event: ACPToolCallEvent, )
src/components/conversation-events/chat/event-content-helpers/get-observation-result.ts:14
↓ 3 callers
Function
getACPToolCallTitleKey
(event: ACPToolCallEvent)
src/components/conversation-events/chat/event-content-helpers/get-acp-tool-call-content.ts:10
↓ 3 callers
Function
getActionSummaryTitle
(event: ActionEvent)
src/components/conversation-events/chat/event-content-helpers/get-action-event-title.ts:24
↓ 3 callers
Function
getActiveCloudBackend
()
src/api/cloud/git-service.api.ts:12
↓ 3 callers
Function
getActiveCloudBackend
()
src/api/cloud/secrets-service.api.ts:14
↓ 3 callers
Function
getAgentServerFormDefaults
()
src/api/agent-server-config.ts:134
↓ 3 callers
Function
getAutomationLaunchPrompt
( automation: RecommendedAutomation, )
src/utils/automation-catalog.ts:63
↓ 3 callers
Function
getAutomationRunDurationMs
( run: AutomationRun, nowMs: number = Date.now(), )
src/components/features/home/featured-automations/automation-run-activity-metrics.ts:19
↓ 3 callers
Function
getBackendHealthEntry
(id: string)
src/api/backend-registry/health-store.ts:29
↓ 3 callers
Function
getCloudOrganizationMe
( orgId: string, backend?: Backend, )
src/api/cloud/organization-service.api.ts:98
↓ 3 callers
Function
getCloudOrganizations
( backend?: Backend, )
src/api/cloud/organization-service.api.ts:43
← previous
next →
301–400 of 4,010, ranked by callers