Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
6,964 in github.com/OpenHands/OpenHands
⨍
Functions
6,964
◇
Types & classes
1,448
↓ 2 callers
Function
resolveFrontendPort
( preferredPort, { bindHost = "127.0.0.1", reservedPorts = [] } = {}, )
scripts/dev-safe.mjs:351
↓ 2 callers
Function
resolveHooksProjectDir
* Workspace root whose `.openhands/hooks.json` a host-workspace conversation * loads: the folder the user attached, else the backend's workspace root
src/api/conversation-workspace.ts:107
↓ 2 callers
Function
resolveList
()
__tests__/hooks/mutation/use-create-conversation.test.tsx:445
↓ 2 callers
Function
resolveLlmProfileSettings
* Resolve the encrypted LLM config for a named LLM profile, so a planner can * run the parent conversation's *current* model (`active_profile`, track
src/api/agent-server-adapter.ts:1447
↓ 2 callers
Function
resolveMaxIterations
(value: unknown)
src/api/agent-server-adapter.ts:182
↓ 2 callers
Function
resolveNewConversationWorkspace
(options: { conversationId: string; workingDir?: string; selectedRepository?: string | null; parentCon
src/api/conversation-workspace.ts:55
↓ 2 callers
Function
resolveOrigin
(origin?: string)
src/utils/base-path.ts:55
↓ 2 callers
Function
resolvePickerKind
({ isAcp, }: ResolvePickerKindInput)
src/components/features/chat/components/resolve-picker-kind.ts:39
↓ 2 callers
Function
resolvePinnedConversations
( pinnedIds: readonly string[], conversations: readonly AppConversation[], )
src/components/features/conversation-panel/conversation-panel-list-helpers.ts:183
↓ 2 callers
Function
resolveProviderToken
( provider: Provider, )
src/api/git-provider-items-service.ts:26
↓ 2 callers
Function
resolveResponderDeploymentOption
( target: ResponderDeploymentTarget, )
src/utils/responder-deployment.ts:55
↓ 2 callers
Function
resolveSave
()
__tests__/components/features/settings/secrets-settings/secret-form.test.tsx:128
↓ 2 callers
Function
resolveSchemaChoiceLabel
( t: TFunction, fieldKey: string, choiceValue: string | number | boolean, schemaLabel: string, )
src/utils/sdk-settings-field-metadata.ts:147
↓ 2 callers
Function
resolveSchemaFieldDescription
( t: TFunction, fieldKey: string, schemaValue?: string | null, )
src/utils/sdk-settings-field-metadata.ts:133
↓ 2 callers
Function
resolveSchemaFieldLabel
( t: TFunction, fieldKey: string, schemaValue: string, )
src/utils/sdk-settings-field-metadata.ts:121
↓ 2 callers
Function
resolveSchemaFieldText
* Common resolver for schema field text (labels and descriptions). * Uses the i18n fallback chain: * 1. If schema provides an explicit translation k
src/utils/sdk-settings-field-metadata.ts:87
↓ 2 callers
Function
resolveTerminalForeground
(host: HTMLElement)
src/hooks/use-terminal.ts:76
↓ 2 callers
Function
resolveTitleLlmProfile
( preference: string | null | undefined, profiles: ProfileListResponse | undefined, agentLlmProfileRef?:
src/utils/title-llm-profile.ts:13
↓ 2 callers
Function
resolveVisualizerBody
( event: OpenHandsEvent, correspondingAction?: ActionEvent, )
src/components/features/chat/tool-visualizers/dispatcher.tsx:19
↓ 2 callers
Function
resolveWithinCwd
(label, filePath, options = {})
tests/e2e/live/scripts/render-live-e2e-report.mjs:53
↓ 2 callers
Function
resolvedLLMBaseUrl
(apiKeySource)
tests/e2e/live/scripts/run-live-e2e.mjs:61
↓ 2 callers
Function
resourcesDirFor
Resolve the packaged Resources dir for a platform, mirroring the bundle layout.
__tests__/scripts/electron-builder-config.test.ts:36
↓ 2 callers
Function
restUsage
(overrides: Record<string, number | null> = {})
__tests__/hooks/use-live-conversation-metrics.test.ts:30
↓ 2 callers
Function
restorePostHogConsent
(posthog: PostHog)
src/services/telemetry.ts:226
↓ 2 callers
Function
restoreStartupAttachmentDraft
(conversationId: string)
src/utils/restore-startup-attachment-draft.ts:14
↓ 2 callers
Function
resumeCloudSandbox
(sandboxId: string)
src/api/cloud/conversation-service.api.ts:318
↓ 2 callers
Function
resumeGoal
(conversationId: string)
src/hooks/mutation/conversation-mutation-utils.ts:127
↓ 2 callers
Method
retrieveInstallationRepositories
( provider: string, installationIndex: number, installations: string[], pageId?: string, l
src/api/git-service/git-service.api.ts:113
↓ 2 callers
Method
retrieveUserGitRepositories
( provider: string, pageId?: string, limit = 30, installationId?: string, gitProviderId?:
src/api/git-service/git-service.api.ts:87
↓ 2 callers
Function
retryOnTransient
* Retry an HTTP request on transient failures (socket hang up, ECONNRESET, * 502, 503).
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:359
↓ 2 callers
Function
retryTransientRequest
(failureCount: number, error: unknown)
src/utils/transient-error-retry.ts:24
↓ 2 callers
Method
revealedAt
When the character at `offset` was revealed, or null if long enough ago.
src/components/features/markdown/rehype-fade-in-words.ts:43
↓ 2 callers
Method
revokeBackendSecrets
( name: string, backend: Backend, )
src/api/canvas-extensions-service.ts:236
↓ 2 callers
Function
revokeSession
()
src/api/canvas-extensions-service.ts:153
↓ 2 callers
Function
rewriteAgentServerUrls
(value, proxyBase, field = null)
scripts/mars-web-bridge.mjs:318
↓ 2 callers
Function
routerDetached
(name: string)
src/hooks/mutation/sync-agent-profiles.ts:164
↓ 2 callers
Function
run
(configId: string, action: () => Promise<unknown>)
src/components/features/backends/managed-agents/digitalocean-connect-panel.tsx:260
↓ 2 callers
Function
runCountDisplay
(state: RunSummaryState | undefined)
src/components/features/automations/automation-run-insights.tsx:7
↓ 2 callers
Function
runLaunch
( errorKey: string, action: () => Promise<unknown>, )
src/components/features/backends/managed-agents/managed-agents-view.tsx:186
↓ 2 callers
Function
runScript
(body: string, env: NodeJS.ProcessEnv = {})
__tests__/scripts/docker-entrypoint-preflight.test.ts:71
↓ 2 callers
Function
runSessionAction
( sessionId: string, action: () => Promise<unknown>, )
src/components/features/backends/managed-agents/managed-agents-view.tsx:211
↓ 2 callers
Function
runningSince
(status: GitSyncStatus)
src/routes/automation-git-sync.tsx:45
↓ 2 callers
Function
safeLocalStorage
()
src/components/providers/telemetry-provider.tsx:58
↓ 2 callers
Function
safeSessionStorage
()
src/components/providers/telemetry-provider.tsx:48
↓ 2 callers
Function
safeTitle
(title?: string | null)
src/utils/transcript-export/index.ts:158
↓ 2 callers
Function
sameScopeSelection
(a: string[], b: string[])
src/constants/profile-scope.ts:29
↓ 2 callers
Function
sameSkillSelection
( a: SkillEnablement, b: SkillEnablement, )
src/utils/skill-enablement.ts:198
↓ 2 callers
Function
sanitize
(str)
tests/e2e/mock-llm/scripts/render-mock-llm-report.mjs:96
↓ 2 callers
Function
sanitizeAttribution
( value: unknown, )
src/components/providers/telemetry-provider.tsx:79
↓ 2 callers
Function
sanitizePinnedRoute
(value: unknown)
src/hooks/use-pinned-home-route.ts:45
↓ 2 callers
Function
save
(entries)
scripts/mars-secret-store.mjs:242
↓ 2 callers
Function
saveCloudSecret
({ name, value, description, previousName, }: SaveCloudSecretOptions)
src/api/cloud/secrets-service.api.ts:80
↓ 2 callers
Method
saveMetaProfile
( name: string, config: MetaProfile, )
src/api/meta-profiles-service/meta-profiles-service.api.ts:66
↓ 2 callers
Function
saveVerified
* A well-formed token can still be refused by the MARS feature flippers, so * a new credential only sticks once a real API call has accepted it. A
scripts/mars-tunnel-bridge.mjs:255
↓ 2 callers
Function
schedulePendingTaskMessageReassign
( fromConversationId: string, toConversationId: string, )
src/utils/pending-task-message-link.ts:25
↓ 2 callers
Function
searchAgentServerRepositories
(args: { provider: string; query?: string; limit?: number; pageId?: string; })
src/api/git-service/git-service.api.ts:45
↓ 2 callers
Function
searchAllSubdirectories
( path: string, fileClient: FileClientLike = getFileClient(), )
src/hooks/query/use-search-subdirs.ts:26
↓ 2 callers
Function
searchCloudConversations
( limit: number = 20, pageId?: string, )
src/api/cloud/conversation-service.api.ts:91
↓ 2 callers
Function
searchCloudSharedEvents
(options: { conversationId: string; limit?: number; pageId?: string; })
src/api/cloud/shared-conversation-service.api.ts:44
↓ 2 callers
Function
searchPaginationEvents
( events: OpenHandsEvent[], searchParams: URLSearchParams, )
src/mocks/conversation-handlers.ts:179
↓ 2 callers
Method
searchProviders
* @param verifiedByProvider - Pre-fetched verified-models map used by the * local reconstruction path. Ignored for cloud backends, which call
src/api/config-service/config-service.api.ts:144
↓ 2 callers
Function
seedConversationState
( conversationId: string, overrides: Record<string, unknown> = {}, )
__tests__/components/features/conversation/conversation-tabs.test.tsx:84
↓ 2 callers
Function
selectAgentServer
(user = userEvent.setup())
__tests__/components/backends/add-backend-modal.test.tsx:82
↓ 2 callers
Function
selectCanvasExtensionPage
( pages: RegisteredCanvasExtensionPage[], extensionName: string, routePath: string, )
src/components/features/canvas-extensions/canvas-extensions-runtime.tsx:46
↓ 2 callers
Function
selectionKey
(backendId: string, orgId: string | null)
src/api/backend-registry/last-conversation-store.ts:15
↓ 2 callers
Method
sendEvent
(...args: unknown[])
__tests__/contexts/conversation-websocket-provider.behavior.test.tsx:168
↓ 2 callers
Function
serializeActivityLogRowsCsv
( rows: AutomationRunExportRow[], )
src/utils/automation-activity-log-export.ts:49
↓ 2 callers
Function
serializeForInlineScript
(value)
scripts/static-server.mjs:370
↓ 2 callers
Function
serializeRequest
* @param {Request} request
public/mockServiceWorker.js:345
↓ 2 callers
Function
sessionActivityLiveTitle
(session: SessionActivity)
src/components/conversation-events/chat/event-message-components/session-activity.tsx:43
↓ 2 callers
Function
sessionProxyBase
(req, sessionId)
scripts/mars-web-bridge.mjs:256
↓ 2 callers
Function
setAutomationFormSessionSavedDraftRequestKey
( conversationId: string, savedDraftRequestKey: string, )
src/api/automation-form-session.ts:295
↓ 2 callers
Function
setColorTheme
(key: ColorThemeKey)
src/themes/color-theme/runtime.ts:41
↓ 2 callers
Function
setDotted
Set a value in a nested object at a dotted key path (e.g. "llm.model").
src/utils/sdk-settings-schema.ts:78
↓ 2 callers
Method
setEnabled
( name: string, enabled: boolean, consent?: { revision: string; secret_refs?: string[] }, back
src/api/canvas-extensions-service.ts:267
↓ 2 callers
Function
setInteractive
(stop: GuidedTourStop | undefined)
src/components/features/setup-guide/tour/tour-engine.ts:71
↓ 2 callers
Method
setKvEntries
* Overwrite existing keys in one transaction: every key is written or none * is. The write is rejected with 409 when the store's version is no long
src/api/automation-service/automation-service.api.ts:1068
↓ 2 callers
Function
setLastConversationId
( backendId: string, orgId: string | null, conversationId: string, )
src/api/backend-registry/last-conversation-store.ts:48
↓ 2 callers
Function
setLoadingStatus
* Update the status line on the loading window, if it's still alive. * * The loading screen exposes a global `window.__setLoadingStatus(line)` * fu
electron/main.mjs:605
↓ 2 callers
Function
setLoadingWindowExpanded
* Grow or shrink the loading window to reveal/hide the startup-log console. * Keeps the top edge fixed so the splash content doesn't jump. Invoked fr
electron/main.mjs:331
↓ 2 callers
Function
setLockedPackage
(lockText, name, manifest)
scripts/bump-pins.mjs:105
↓ 2 callers
Function
setPanelOpen
(open: boolean)
src/hooks/use-select-conversation-tab.ts:32
↓ 2 callers
Function
setPendingTaskDraft
( taskId: string | null | undefined, draftMessage: string, )
src/utils/conversation-local-storage.ts:343
↓ 2 callers
Function
setPin
(text, key, version)
scripts/bump-pins.mjs:63
↓ 2 callers
Function
setRevealing
(id: symbol, isRevealing: boolean)
src/hooks/use-streamed-text.ts:15
↓ 2 callers
Function
setRow
(model: string, patch: Partial<ModelRow>)
src/components/features/settings/llm-profiles/add-models-modal.tsx:221
↓ 2 callers
Function
setServiceLogListener
(listener)
scripts/dev-with-automation.mjs:710
↓ 2 callers
Function
setTelemetryWebsiteAttribution
( attribution: WebsiteHandoffAttribution | undefined, )
src/services/telemetry.ts:186
↓ 2 callers
Function
setTourActive
(next: boolean)
src/components/features/setup-guide/tour/tour-engine.ts:46
↓ 2 callers
Function
setWaiting
(waiting: boolean)
src/components/features/setup-guide/tour/tour-engine.ts:87
↓ 2 callers
Function
settingsWithMcpConfig
(mcp_config: unknown)
__tests__/components/automations/recommended-automations.test.tsx:144
↓ 2 callers
Function
settleRunningDefaultAgentProfileMigration
( queryClient: QueryClient, backendId: string, )
src/hooks/use-migrate-default-agent-profile.ts:174
↓ 2 callers
Function
setupDefaultMocks
( repositoryDataOverrides: Partial< ReturnType<typeof mockUseRepositoryData> > = {}, urlSearchOverri
__tests__/components/features/home/git-repo-dropdown.test.tsx:83
↓ 2 callers
Function
setupState
()
__tests__/components/shared/buttons/conversation-confirmation-buttons.test.tsx:104
↓ 2 callers
Function
sharedDefaultProfileFields
( input: AgentProfileSaveInput, )
src/hooks/mutation/sync-agent-profiles.ts:235
↓ 2 callers
Function
shortSessionId
(session: MarsSession)
src/components/features/backends/managed-agents/managed-agents-labels.ts:44
↓ 2 callers
Function
shouldAnchorScroll
( item: Pick<VirtualItem, "start" | "end">, delta: number, instance: SizeChangeInstance, )
src/components/conversation-events/chat/scroll-anchoring.ts:201
↓ 2 callers
Function
shouldReapplyProfileAfterSave
({ activeProfileName, originalName, savedName, }: { activeProfileName: string | null | undefined; or
src/components/features/settings/llm-profiles/llm-settings-local-view.tsx:74
↓ 2 callers
Function
shouldShowAutomationRunSummaryHovercard
( summary: string, shortSummary: string = shortenAutomationRunSummary(summary), )
src/components/features/home/featured-automations/automation-run-health.ts:125
↓ 2 callers
Function
shouldShowPlanPreview
( eventId: string, planPreviewEventIds: Set<string>, )
src/components/conversation-events/chat/hooks/use-plan-preview-events.ts:108
← previous
next →
1,901–2,000 of 6,964, ranked by callers