Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
6,870 in github.com/OpenHands/OpenHands
⨍
Functions
6,870
◇
Types & classes
1,427
↓ 1 callers
Function
useMcpServerHealth
(server: MCPServerConfig)
src/hooks/use-mcp-server-health.ts:18
↓ 1 callers
Function
useModalFocus
({ elevated }: { elevated: boolean })
src/components/shared/modals/use-modal-focus.ts:84
↓ 1 callers
Function
useOnboardingProfileSeed
* The profile the local LLM step edits (see `loadOnboardingProfile`). Raw LLM * settings are never the source. The seed is taken once per backend, be
src/components/features/onboarding/steps/setup-llm-step.tsx:106
↓ 1 callers
Function
useOpenHandsModels
(hasBackend: boolean)
src/hooks/query/use-free-models.ts:72
↓ 1 callers
Function
useOptionalScrollContext
()
src/context/scroll-context.tsx:48
↓ 1 callers
Function
usePinnedHomeRoute
()
src/hooks/use-pinned-home-route.ts:79
↓ 1 callers
Function
usePluginFileContent
( basePath: string | null, relativePath: string | null, )
src/hooks/query/use-plugin-file-content.ts:10
↓ 1 callers
Function
usePollOpenAISubscriptionLogin
()
src/hooks/mutation/use-llm-subscription-auth.ts:11
↓ 1 callers
Function
useRenameAgentProfile
()
src/hooks/mutation/use-rename-agent-profile.ts:10
↓ 1 callers
Function
useRepositoryBranchesPaginated
( repository: string | null, perPage: number = 30, selectedProvider?: Provider, gitProviderId?: number
src/hooks/query/use-repository-branches.ts:6
↓ 1 callers
Function
useRepositoryDefaultBranch
( repository: string | null, provider: Provider, enabled: boolean, gitProviderId?: number | null, )
src/hooks/query/use-repository-default-branch.ts:9
↓ 1 callers
Function
useRepositoryIssues
( repository: string | null | undefined, provider: Provider | null | undefined, )
src/hooks/query/use-repository-git-items.ts:19
↓ 1 callers
Function
useRespondToConfirmation
()
src/hooks/mutation/use-respond-to-confirmation.ts:12
↓ 1 callers
Function
useResponderUrlSecret
()
src/hooks/use-responder-url-secret.ts:17
↓ 1 callers
Function
useSaveAcpSecrets
( fields: ACPProviderSecretField[], consumesFileCredentials: boolean, )
src/hooks/use-save-acp-secrets.ts:34
↓ 1 callers
Function
useSaveMetaProfile
()
src/hooks/mutation/use-save-meta-profile.ts:12
↓ 1 callers
Function
useSchemaWithBackendContext
()
__tests__/hooks/query/use-agent-settings-schema.test.tsx:39
↓ 1 callers
Function
useScrollContext
()
src/context/scroll-context.tsx:36
↓ 1 callers
Function
useSearchBranches
( repository: string | null, query: string, perPage: number = 30, selectedProvider?: Provider, gitPr
src/hooks/query/use-search-branches.ts:6
↓ 1 callers
Function
useSearchSubdirs
(path: string | null)
src/hooks/query/use-search-subdirs.ts:53
↓ 1 callers
Function
useSecondsTick
* Re-render every second while a cycle runs. The elapsed hint is derived from * the clock, not from props, and the status poll returns identical JSON
src/components/features/automations/git-sync/git-sync-activity-row.tsx:26
↓ 1 callers
Function
useSetCanvasExtensionEnabled
()
src/hooks/mutation/use-manage-canvas-extensions.ts:75
↓ 1 callers
Function
useSetupCapabilities
( entry: SetupEntry, )
src/hooks/query/use-manifest-capabilities.ts:50
↓ 1 callers
Function
useSidebarOnboardingChecklist
()
src/components/features/sidebar/use-sidebar-onboarding-checklist.ts:42
↓ 1 callers
Function
useSidebarOnboardingChecklistDismissed
()
src/components/features/sidebar/use-sidebar-onboarding-checklist-dismissed.ts:7
↓ 1 callers
Function
useSkillEnabledFilter
( agentProfileId?: string | null, )
src/hooks/use-skill-enablement.ts:138
↓ 1 callers
Function
useSkillEnablement
()
src/hooks/use-skill-enablement.ts:192
↓ 1 callers
Function
useSkillInstalls
(conversationId: string | null | undefined)
src/hooks/use-skill-installs.ts:12
↓ 1 callers
Function
useSkills
( projectDir?: string, options: { enabled?: boolean } = {}, )
src/hooks/query/use-skills.ts:10
↓ 1 callers
Function
useStartOpenAISubscriptionLogin
()
src/hooks/mutation/use-llm-subscription-auth.ts:5
↓ 1 callers
Function
useStepDisclosure
( initiallyOpen: boolean, persistedKey?: string, )
src/components/conversation-events/chat/step-disclosure-context.tsx:50
↓ 1 callers
Function
useStreamedMarkdownBlocks
* Split streamed markdown into its stable blocks plus the tail, remembering * the boundaries so each update parses only the text after the last one,
src/components/features/markdown/markdown-renderer.tsx:191
↓ 1 callers
Function
useSyncConversationOverviewPanelPeek
()
src/hooks/use-conversation-overview-panel-peek.ts:44
↓ 1 callers
Function
useTimestampHover
()
src/hooks/use-timestamp-hover.ts:10
↓ 1 callers
Function
useUnifiedGitDiff
(config: UseUnifiedGitDiffConfig)
src/hooks/query/use-unified-git-diff.ts:20
↓ 1 callers
Function
useUnifiedResumeConversation
()
src/hooks/mutation/use-unified-start-conversation.ts:11
↓ 1 callers
Function
useUnifiedUploadFiles
()
src/hooks/mutation/use-unified-upload-files.ts:14
↓ 1 callers
Function
useUninstallCanvasExtension
()
src/hooks/mutation/use-manage-canvas-extensions.ts:93
↓ 1 callers
Function
useUpdateAutomationKeepAlive
()
src/hooks/query/use-automations.ts:195
↓ 1 callers
Function
useUpdateAutomationTags
()
src/hooks/query/use-automations.ts:182
↓ 1 callers
Function
useUpdateProviderConnection
()
src/hooks/mutation/use-update-provider-connection.ts:15
↓ 1 callers
Function
useUpdateSecret
(options?: { onSuccess?: (secret: CustomSecretInput) => void; mutationKey?: string[]; })
src/hooks/mutation/use-update-secret.ts:26
↓ 1 callers
Function
useWindowCapabilities
({ hasTouchProperty, finePointer, }: { hasTouchProperty: boolean; finePointer?: boolean; })
__tests__/utils/browser-and-file-utilities.test.ts:33
↓ 1 callers
Function
userEvent
(id: string)
__tests__/components/shared/buttons/conversation-confirmation-buttons.test.tsx:98
↓ 1 callers
Function
userEventCount
(page: Page, conversationId: string)
tests/e2e/mock-llm/conversations/mock-llm-message-confirmation.spec.ts:23
↓ 1 callers
Function
userMessage
(id: string)
src/hooks/chat/record-model-switch-message.test.ts:13
↓ 1 callers
Function
userMessage
(id: string)
__tests__/components/features/chat/resolved-conversation-banner.test.tsx:73
↓ 1 callers
Function
userSkillDirExists
(name: string)
tests/e2e/mock-llm/utils/skill-test-helpers.ts:137
↓ 1 callers
Function
userSkillExists
(name: string)
tests/e2e/mock-llm/utils/skill-test-helpers.ts:133
↓ 1 callers
Function
usesProxyDefaults
(apiKeySource)
tests/e2e/live/scripts/run-live-e2e.mjs:52
↓ 1 callers
Function
uvicornLogLevel
Narrow a level exactly as the entrypoint does, via the marked block.
__tests__/scripts/docker-log-level.test.ts:59
↓ 1 callers
Function
uvxAvailable
* Verify uvx is reachable (either bundled or system). * Returns true/false — callers show a dialog on false.
electron/main.mjs:149
↓ 1 callers
Function
validateCommand
(command: string)
src/components/features/settings/mcp-settings/mcp-server-form.tsx:152
↓ 1 callers
Function
validateEnvironment
()
tests/e2e/live/scripts/run-live-e2e.mjs:168
↓ 1 callers
Function
validateField
( name: string, field: SetupFormField, rawValue: SetupFormValue | undefined, overrides: SetupFieldOver
src/manifests/manifest-local-validation.ts:204
↓ 1 callers
Function
validateIssueNumber
(issueNumber)
tests/e2e/mock-llm/scripts/upsert-pr-comment.mjs:67
↓ 1 callers
Function
validateIssueNumber
(issueNumber)
tests/e2e/live/scripts/upsert-pr-comment.mjs:92
↓ 1 callers
Function
validateLaunchParams
* Validate what the agent-server cannot. * * The tool's JSON Schema is turned into a pydantic model with `extra="forbid"`, * so unknown/misspelled
src/services/child-conversation-launch.ts:120
↓ 1 callers
Function
validateMockDraft
( endpoint: string, body: Record<string, unknown>, )
src/mocks/automation-handlers.ts:204
↓ 1 callers
Function
validateName
(name: string)
src/components/features/settings/mcp-settings/mcp-server-form.tsx:128
↓ 1 callers
Function
validateNameUniqueness
(name: string)
src/components/features/settings/mcp-settings/mcp-server-form.tsx:136
↓ 1 callers
Function
validateRemoteAuth
(formData: FormData)
src/components/features/settings/mcp-settings/mcp-server-form.tsx:191
↓ 1 callers
Function
validateRepo
(repo)
tests/e2e/mock-llm/scripts/upsert-pr-comment.mjs:60
↓ 1 callers
Function
validateRepo
(repo)
tests/e2e/live/scripts/upsert-pr-comment.mjs:81
↓ 1 callers
Function
validateScript
( value: unknown, issues: string[], )
src/utils/automation-export.ts:165
↓ 1 callers
Function
validateStdioServer
(formData: FormData)
src/components/features/settings/mcp-settings/mcp-server-form.tsx:230
↓ 1 callers
Function
validateTimeout
(timeoutStr: string)
src/components/features/settings/mcp-settings/mcp-server-form.tsx:214
↓ 1 callers
Function
validateTrigger
( value: unknown, issues: string[], )
src/utils/automation-export.ts:58
↓ 1 callers
Function
validateUrl
(url: string)
src/components/features/settings/mcp-settings/mcp-server-form.tsx:115
↓ 1 callers
Function
validateUrlUniqueness
(url: string)
src/components/features/settings/mcp-settings/mcp-server-form.tsx:160
↓ 1 callers
Function
validateValue
( name: string, field: SetupFormField, value: string, overrides: SetupFieldOverrides, )
src/manifests/manifest-local-validation.ts:224
↓ 1 callers
Function
validatedSession
( session: CanvasExtensionAppViewSession, )
src/extensions/canvas-extension-app-view.ts:43
↓ 1 callers
Function
value
(flag: string)
__tests__/scripts/mars-secret-store.test.ts:36
↓ 1 callers
Function
verifyLayout
* Confirm the extracted tree has the binaries we depend on. * On Unix Node puts them in bin/; on Windows they live at the root.
scripts/download-node.mjs:169
↓ 1 callers
Function
verifyStoredGitHubCredential
()
tests/e2e/mock-llm/mcp/mock-llm-mcp-github.spec.ts:302
↓ 1 callers
Function
view
()
__tests__/components/chat/chat-interface.test.tsx:2184
↓ 1 callers
Function
view
(id: string, currentPath = `/conversations/${id}`)
__tests__/components/features/chat/conversation-launch-view.test.tsx:33
↓ 1 callers
Function
view
(createdBy: "all" | "me" | "others" | "service")
__tests__/manifests/automation-insights.test.ts:388
↓ 1 callers
Function
viewer
()
__tests__/routes/shared-conversation-viewer-behavior.test.tsx:232
↓ 1 callers
Function
visibleBounds
Edges, with an 8px margin, of the area that can show `element`: its * nearest ancestor that clips horizontally, else the window.
src/components/features/chat/message-reactions.tsx:135
↓ 1 callers
Function
visibleCardIds
()
__tests__/routes/automations-dashboard.test.tsx:590
↓ 1 callers
Function
visibleSessions
Destroyed sessions are gone for good; listing them is only noise.
src/hooks/query/use-mars-agents.ts:35
↓ 1 callers
Function
visitSuites
(suites)
tests/e2e/live/scripts/extract-live-e2e-media.mjs:103
↓ 1 callers
Function
visualFor
(status: ExecutionStatus | null | undefined)
src/components/features/conversation-panel/conversation-status-dot.tsx:40
↓ 1 callers
Function
wait
(ms: number)
__tests__/components/features/setup-guide/tour-engine.test.ts:58
↓ 1 callers
Function
waitForAgentReply
(page: Page)
tests/e2e/live/utils/agent-server-conversation.ts:505
↓ 1 callers
Function
waitForAgentServer
* Wait until `url` returns HTTP 200 — meaning the agent-server itself is * serving requests, not just that the ingress proxy is up. * * On first la
electron/main.mjs:288
↓ 1 callers
Function
waitForCloudConversationId
* Wait for the Cloud start task to expose its conversation id. * * The Cloud API provisions a sandbox asynchronously and only fills in * `app_conve
src/services/child-conversation-launch.ts:359
↓ 1 callers
Function
waitForConfiguredBackendToBeSkipped
()
__tests__/components/onboarding/onboarding-modal.test.tsx:192
↓ 1 callers
Function
waitForConnection
(result: { current: { isConnected: boolean; }; })
__tests__/hooks/use-websocket-regressions.test.ts:6
↓ 1 callers
Function
waitForCreatedAutomationId
Poll the main conversation for the automation ID returned by the create command.
tests/e2e/mock-llm/automations/mock-llm-automation.spec.ts:91
↓ 1 callers
Function
waitForCriticResultDisplay
(page: Page)
tests/e2e/live/utils/agent-server-conversation.ts:679
↓ 1 callers
Function
waitForCriticResultEvent
( request: APIRequestContext, conversationId: string, )
tests/e2e/live/utils/agent-server-conversation.ts:647
↓ 1 callers
Function
waitForExit
Wait for a child process to exit within a timeout.
tests/e2e/mock-llm/backends/mock-llm-partial-stack.spec.ts:73
↓ 1 callers
Function
waitForLicenseRequest
()
__tests__/components/features/alerts/license-banner.test.tsx:63
↓ 1 callers
Function
waitForNonUserMessageText
(page: Page, text: string)
tests/e2e/live/utils/agent-server-conversation.ts:455
↓ 1 callers
Function
waitForPath
( page: Page, pattern: RegExp, timeout = 60_000, )
tests/e2e/live/utils/agent-server-conversation.ts:300
↓ 1 callers
Function
waitForPort
(port: number, child?: ChildProcess)
__tests__/scripts/ingress.test.ts:93
↓ 1 callers
Function
waitForRunCompleted
* Poll for COMPLETED, but re-dispatch once when a run terminally FAILED — * the completion-message race documented at findFailedRun() is upstream *
tests/e2e/mock-llm/automations/mock-llm-automation.spec.ts:255
↓ 1 callers
Function
waitForRunStatus
* Poll until a run reaches the expected status or times out. * * Fails fast, quoting the backend's `error_detail`, once every run has ended * in so
tests/e2e/mock-llm/automations/mock-llm-automation.spec.ts:181
← previous
next →
5,101–5,200 of 6,870, ranked by callers