Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
7,148 in github.com/OpenHands/OpenHands
⨍
Functions
7,148
◇
Types & classes
1,478
↓ 1 callers
Function
measureElementHeights
( element: HTMLElement, minHeight: number, )
src/hooks/use-auto-resize.ts:81
↓ 1 callers
Function
measureMount
* Cost of mounting a long conversation, in milliseconds, plus how many rows * ended up in the DOM. `withScrollParent` selects the virtualized path; p
__tests__/components/conversation-events/chat/messages-performance.test.tsx:52
↓ 1 callers
Function
measureSelectedModel
()
src/components/shared/modals/settings/model-selector.tsx:155
↓ 1 callers
Function
median
(values: number[])
tests/e2e/conversation-markdown-render-performance.spec.ts:28
↓ 1 callers
Function
member
( id: string, title: string, attention: ProjectConversation["attention"], extra: Partial<ProjectConver
__tests__/routes/project.test.tsx:19
↓ 1 callers
Function
member
( attention: ProjectConversation["attention"], )
__tests__/routes/projects.test.tsx:25
↓ 1 callers
Function
menuRow
Org rows show only the org name under a backend heading; their title keeps the full label.
__tests__/components/backends/backend-selector.test.tsx:125
↓ 1 callers
Function
mergeRecords
( base: Record<string, SettingsValue> | null | undefined, next: Record<string, SettingsValue> | null | und
src/api/settings-service/settings-service.api.ts:141
↓ 1 callers
Function
message
(id: string, source: "user" | "agent", text: string)
__tests__/components/features/chat/message-edits.test.tsx:19
↓ 1 callers
Function
message
(id: string, sender?: string)
__tests__/utils/decision-closures-relayed.test.ts:34
↓ 1 callers
Function
metadata
(title: string, updated_at = "2026-11-01T10:00:00Z")
__tests__/hooks/use-conversation-display-title.test.tsx:24
↓ 1 callers
Function
metadataLines
(args)
tests/e2e/live/scripts/render-live-e2e-report.mjs:242
↓ 1 callers
Function
migrateDefaultAgentProfile
* Copy global agent behavior into an OpenHands `default`, once. It also gets * every MCP server switched on, every secret, and the active LLM profile
src/hooks/use-migrate-default-agent-profile.ts:106
↓ 1 callers
Function
minutesAgo
(minutes: number)
src/mocks/automation-runs.mock.ts:10
↓ 1 callers
Function
minutesAgo
(minutes: number)
__tests__/components/features/conversation-panel/conversation-panel-loading.test.tsx:649
↓ 1 callers
Function
mirroredFrom
(llmProfileRef: string)
__tests__/hooks/mutation/use-switch-llm-profile.test.tsx:61
↓ 1 callers
Function
mirroredFrom
(llmProfileRef: string)
__tests__/hooks/mutation/use-activate-llm-profile.test.tsx:27
↓ 1 callers
Function
missingCreateEndpoints
( entry: SetupEntry, selectedAction?: string | null, )
src/manifests/automation-setup.ts:99
↓ 1 callers
Function
missingEndpointsForAction
* The endpoints this entry needs that the published interface does not declare. * * Asked before the form renders rather than discovered at the mome
src/manifests/automation-setup.ts:93
↓ 1 callers
Function
mockAgentStore
(agentState: AgentState)
__tests__/components/features/conversation/server-status.test.tsx:60
↓ 1 callers
Function
mockBackend
(backend: Backend, orgId: string | null)
__tests__/hooks/use-can-manage-org-profiles.test.tsx:37
↓ 1 callers
Function
mockBlobResponse
( body: BodyInit, contentType: string, )
__tests__/api/cloud/fetch-test-utils.ts:13
↓ 1 callers
Function
mockCapabilities
(features: string[])
__tests__/hooks/query/use-factories-supported.test.tsx:52
↓ 1 callers
Function
mockConnectedGitHub
()
__tests__/components/features/home/home-chat-launcher.test.tsx:359
↓ 1 callers
Function
mockEncryptedMcpConfig
(mcpConfig: unknown)
src/api/mcp-service/mcp-redacted-credentials.test.ts:30
↓ 1 callers
Function
mockExperimentalFeatures
(features: ExperimentalFeature[])
__tests__/hooks/query/use-factories-supported.test.tsx:63
↓ 1 callers
Function
mockFeatures
(features: string[])
__tests__/hooks/query/use-service-accounts.test.tsx:48
↓ 1 callers
Function
mockJsonResponse
(data: unknown, status = 200)
__tests__/api/cloud/organization-service.test.ts:26
↓ 1 callers
Function
mockJsonResponse
(data: unknown, status = 200)
__tests__/api/cloud/proxy.test.ts:39
↓ 1 callers
Function
mockLockedCookieDeployment
* Simulate an OHE-hosted Canvas: served from the locked Cloud host itself, so * the single locked backend authenticates with the main-app session coo
__tests__/root.test.tsx:195
↓ 1 callers
Function
mockMutation
(mutateAsync: Mock, overrides: Partial<T> = {})
__tests__/components/settings/meta-llm-profiles/meta-llm-settings-view.test.tsx:79
↓ 1 callers
Function
mockSavedDraftEcho
( overrides: Partial<AutomationDraftApiResponse> = {}, )
__tests__/components/automations/automation-setup-panel.test.tsx:2687
↓ 1 callers
Function
mockScrollMetrics
( element: HTMLElement, metrics: { scrollWidth: number; clientWidth: number; scrollLeft: number }, )
__tests__/components/features/markdown/markdown-table-scroll.test.tsx:8
↓ 1 callers
Function
mockScrollMetrics
( element: HTMLElement, metrics: { scrollWidth: number; clientWidth: number; scrollLeft: number }, )
__tests__/components/shared/horizontal-scroll-fade.test.tsx:5
↓ 1 callers
Function
mockScrollMetrics
( element: HTMLElement, metrics: { scrollWidth: number; clientWidth: number; scrollLeft: number }, )
__tests__/components/automations/recommended-automations-rail.test.tsx:32
↓ 1 callers
Function
mockServiceAccountsEnabled
( isServiceAccountsEnabled: boolean, isFactoriesEnabled = false, )
__tests__/routes/automation-detail.test.tsx:111
↓ 1 callers
Function
mockServiceAccountsEnabled
(isServiceAccountsEnabled: boolean)
__tests__/routes/automations-dashboard.test.tsx:67
↓ 1 callers
Function
mockServiceAccountsFlag
(featureFlags: Record<string, unknown>)
__tests__/hooks/query/use-service-accounts.test.tsx:67
↓ 1 callers
Function
mockSettingsPerBackend
Serves each backend's own Git identity, as two agent servers would.
__tests__/routes/app-settings.test.tsx:63
↓ 1 callers
Function
mockSkillList
(skills: SkillInfo[])
__tests__/routes/skills-settings.test.tsx:71
↓ 1 callers
Function
mockVerticalScrollMetrics
( element: HTMLElement, metrics: { scrollHeight: number; clientHeight: number; scrollTop: number }, )
__tests__/components/features/conversation-panel/advanced-conversation-options-modal.test.tsx:7
↓ 1 callers
Function
mockVerticalScrollMetrics
( element: HTMLElement, metrics: { scrollHeight: number; clientHeight: number; scrollTop: number }, )
__tests__/utils/scroll-fade-state.test.ts:4
↓ 1 callers
Function
mockWebClientConfig
(respond: () => Promise<unknown>)
__tests__/hooks/query/use-factories-supported.test.tsx:70
↓ 1 callers
Function
mockWindowLocation
(url: string)
__tests__/api/agent-server-config.test.ts:19
↓ 1 callers
Function
mockWindowLocation
(url: string)
__tests__/api/backend-registry/storage.test.ts:14
↓ 1 callers
Function
mockedClient
()
src/api/llm-balance-service.test.ts:45
↓ 1 callers
Function
model
( partial: Partial<LLMModel> & Pick<LLMModel, "name">, )
__tests__/components/modals/settings/model-selector.test.tsx:17
↓ 1 callers
Function
model
( provider: string, name: string, verified: boolean, )
__tests__/components/settings/llm-profiles/add-models-modal.test.tsx:81
↓ 1 callers
Function
modelSwitch
(isError: boolean)
__tests__/components/conversation-events/chat/event-content-helpers/get-observation-result.test.ts:170
↓ 1 callers
Function
mount
()
__tests__/components/features/chat/task-startup-progress.test.tsx:44
↓ 1 callers
Function
mount
()
__tests__/components/features/chat/pending-task-attachment-delivery.test.tsx:71
↓ 1 callers
Function
mount
(options?: { factoryId?: string })
__tests__/hooks/use-start-automation-setup.test.ts:42
↓ 1 callers
Function
mountChatPane
Header / feed / composer, matching the chat pane's DOM order.
src/hooks/chat/use-clamp-drag-selection.test.ts:14
↓ 1 callers
Function
mountThemeConsumerFixture
( scope: Element, appearanceOverride?: "light" | "dark", )
tests/e2e/support/theme-consumer-fixture.tsx:15
↓ 1 callers
Function
mountedRowIndices
()
__tests__/components/conversation-events/chat/messages-performance.test.tsx:123
↓ 1 callers
Function
mountedRowsFromTop
* The `[data-row-key]` rows at or below the container's top edge, with their * offsets from that edge, in document order. Empty when no row is mounte
src/components/features/chat/scroll-anchor.ts:51
↓ 1 callers
Function
mouseDownOn
(target: Element, clientY: number)
src/hooks/chat/use-clamp-drag-selection.test.ts:60
↓ 1 callers
Function
moveActive
(direction: 1 | -1)
src/components/features/home/featured-automations/home-automation-menu.tsx:117
↓ 1 callers
Function
moveBuildEntry
( fs: typeof import("fs"), source: string, destination: string, )
react-router.config.ts:28
↓ 1 callers
Function
moveDefaultOffLlmProfile
* `default` follows the active LLM profile, and the server refuses to delete * one an agent profile still uses: move `default` to the profile that wi
src/hooks/mutation/use-delete-llm-profile.ts:19
↓ 1 callers
Function
narrowSet
Rebuilding rather than casting keeps every writer below cast-free: a value the group does not declare cannot survive.
src/components/features/skills/skill-filter.ts:106
↓ 1 callers
Function
navigateToNewChat
(page: Page)
tests/e2e/mock-llm/skills/mock-llm-skills.spec.ts:92
↓ 1 callers
Function
navigationAt
(currentPath: string)
__tests__/components/backends/manage-backends-modal.test.tsx:99
↓ 1 callers
Function
nearestExistingPath
(path)
tests/e2e/live/scripts/render-live-e2e-report.mjs:41
↓ 1 callers
Function
nearestExistingPath
(path)
tests/e2e/live/scripts/extract-live-e2e-media.mjs:55
↓ 1 callers
Function
nearestExistingPath
(path)
tests/e2e/live/scripts/upsert-pr-comment.mjs:49
↓ 1 callers
Function
needsRuntimeInjection
(injectionOpts)
scripts/static-server.mjs:525
↓ 1 callers
Function
needsSorting
(events: OHEvent[], newEvent: OHEvent)
src/stores/use-event-store.ts:45
↓ 1 callers
Function
newProfileId
()
src/mocks/agent-profiles-handlers.ts:87
↓ 1 callers
Function
newProfileSeed
( defaultProfile: AgentProfile | null | undefined, )
src/components/features/settings/agent-profiles/new-profile-seed.ts:11
↓ 1 callers
Function
newStore
({ safeStorage = fakeSafeStorage } = {})
__tests__/scripts/mars-credentials.test.ts:27
↓ 1 callers
Method
new_session
( self, cwd: str, additional_directories=None, **kwargs, )
tests/e2e/mock-llm/scripts/mock-acp-server.py:63
↓ 1 callers
Function
nextToolCallId
()
__tests__/services/child-conversation-launch.test.ts:152
↓ 1 callers
Function
normalize
(p: string)
src/components/features/conversation-panel/conversation-panel.tsx:524
↓ 1 callers
Function
normalize
(names: string[])
src/constants/profile-scope.ts:30
↓ 1 callers
Function
normalizeAbsolutePath
(path: string)
src/api/conversation-service/agent-server-conversation-service.api.ts:330
↓ 1 callers
Function
normalizeAcpEfforts
(value: unknown)
src/api/conversation-service/agent-server-conversation-service.api.ts:155
↓ 1 callers
Function
normalizeAcpModels
(value: unknown)
src/api/conversation-service/agent-server-conversation-service.api.ts:164
↓ 1 callers
Function
normalizeAgent
(value: unknown)
src/api/conversation-service/agent-server-conversation-service.api.ts:245
↓ 1 callers
Function
normalizeAutomationSdkVersion
(version: unknown)
src/api/automation-service/automation-service.api.ts:248
↓ 1 callers
Function
normalizeAzureDevOpsPath
(path: string)
src/utils/parse-git-remote-url.ts:77
↓ 1 callers
Function
normalizeBalance
(raw: unknown)
src/api/llm-balance-service.ts:42
↓ 1 callers
Function
normalizeBasePath
(value?: string)
vite.config.ts:42
↓ 1 callers
Function
normalizeBasePath
(value?: string)
react-router.config.ts:5
↓ 1 callers
Function
normalizeBasePath
(value?: string | null)
src/utils/base-path.ts:3
↓ 1 callers
Function
normalizeBaseUrl
(baseUrl: string)
src/routes/llm-settings.tsx:75
↓ 1 callers
Function
normalizeConfig
(config?: MetaProfile)
src/components/features/settings/meta-llm-profiles/meta-profile-editor.tsx:70
↓ 1 callers
Function
normalizeDeviceChallenge
( raw: RawDeviceStart, )
src/api/llm-subscription-service.ts:120
↓ 1 callers
Function
normalizeDraftForDirtyCheck
(body: SetupRequestBody)
src/components/features/automations/setup/automation-setup-panel.tsx:1583
↓ 1 callers
Function
normalizeDraftListResponse
( value: unknown, )
src/api/automation-service/automation-service.api.ts:364
↓ 1 callers
Function
normalizeFieldMetadata
( value: AutomationSetupDraft["fieldMetadata"], )
src/api/automation-form-session.ts:129
↓ 1 callers
Function
normalizeFileDiscovery
(value: unknown)
src/utils/workspace-file-discovery.ts:35
↓ 1 callers
Function
normalizeHost
(host: string)
src/api/agent-server-client-options.ts:31
↓ 1 callers
Function
normalizeInstallRequest
( request: InstallCanvasExtensionRequest, )
src/api/canvas-extensions-service.ts:206
↓ 1 callers
Function
normalizeLaunchedAgentProfile
( value: unknown, )
src/api/conversation-service/agent-server-conversation-service.api.ts:309
↓ 1 callers
Function
normalizeModels
(raw: unknown)
src/api/llm-subscription-service.ts:97
↓ 1 callers
Function
normalizeOptionalProperty
( value: string | null | undefined, )
src/services/telemetry-context.ts:28
↓ 1 callers
Function
normalizePrefix
(value: string)
src/utils/vscode-origin.ts:64
↓ 1 callers
Function
normalizeRepositoryPage
(page: RepositoryPage)
src/api/git-service/git-service.api.ts:32
↓ 1 callers
Function
normalizeResult
( data: CloudOrganizationsResponse | undefined | null, )
src/api/cloud/organization-service.api.ts:20
← previous
next →
4,001–4,100 of 7,148, ranked by callers