Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
3,490 in github.com/OpenHands/OpenHands
⨍
Functions
3,490
◇
Types & classes
955
↓ 2 callers
Function
useAppTitle
()
src/hooks/use-app-title.ts:8
↓ 2 callers
Function
useApplyOnboardingAgentProfile
()
src/hooks/mutation/use-apply-onboarding-agent-profile.ts:29
↓ 2 callers
Function
useAutoRefreshFilesOnEdit
()
src/hooks/use-auto-refresh-files-on-edit.ts:70
↓ 2 callers
Function
useAutoResize
( elementRef: RefObject<HTMLElement | null>, options: UseAutoResizeOptions = {}, )
src/hooks/use-auto-resize.ts:123
↓ 2 callers
Function
useAutomationDetail
(options: UseAutomationDetailOptions)
src/hooks/query/use-automation-detail.ts:17
↓ 2 callers
Function
useAutomationRuns
(options: UseAutomationRunsOptions)
src/hooks/query/use-automation-detail.ts:40
↓ 2 callers
Function
useAutomationSdkVersion
()
src/hooks/query/use-automation-sdk-version.ts:71
↓ 2 callers
Function
useAutomations
(options: UseAutomationsOptions = {})
src/hooks/query/use-automations.ts:19
↓ 2 callers
Function
useBackendForm
* Shared hook for the backend-form state used by both `BackendForm` * (edit/add mode) and `ManualConnectionColumn` (add-mode-only column). * Encapsu
src/components/features/backends/backend-form-modal.tsx:319
↓ 2 callers
Function
useBashCommandRunner
( conversationUrl: string | null | undefined, sessionApiKey: string | null | undefined, enabled: boolean
src/hooks/use-bash-command-runner.ts:60
↓ 2 callers
Function
useBtwInterceptor
( conversationId: string | null | undefined, onSubmit: (message: string) => void, )
src/hooks/chat/use-btw-interceptor.ts:13
↓ 2 callers
Function
useChatAttachmentUpload
()
src/hooks/chat/use-chat-attachment-upload.ts:15
↓ 2 callers
Function
useConversationMetrics
( conversationId: string | null | undefined, conversationUrl: string | null | undefined, sessionApiKey:
src/hooks/query/use-conversation-metrics.ts:6
↓ 2 callers
Function
useConversationSkills
()
src/hooks/query/use-conversation-skills.ts:10
↓ 2 callers
Function
useCreateSecret
()
src/hooks/mutation/use-create-secret.ts:4
↓ 2 callers
Function
useDeleteLlmProfile
()
src/hooks/mutation/use-delete-llm-profile.ts:10
↓ 2 callers
Function
useDeviceFlow
()
src/hooks/use-device-flow.ts:79
↓ 2 callers
Function
useDraftPersistence
( conversationId: string | null | undefined, chatInputRef: React.RefObject<HTMLDivElement | null>, )
src/hooks/chat/use-draft-persistence.ts:35
↓ 2 callers
Function
useEnsureActiveProfile
()
src/hooks/use-ensure-active-profile.ts:18
↓ 2 callers
Function
useFilteredEvents
()
src/hooks/use-filtered-events.ts:15
↓ 2 callers
Function
useGitRepositories
(options: UseGitRepositoriesOptions)
src/hooks/query/use-git-repositories.ts:20
↓ 2 callers
Function
useHasAttachedSource
()
src/hooks/use-has-attached-source.ts:18
↓ 2 callers
Function
useHasGitCommits
(options?: { enabled?: boolean })
src/hooks/query/use-has-git-commits.ts:27
↓ 2 callers
Function
useInstallPlugin
()
src/hooks/mutation/use-install-plugin.ts:19
↓ 2 callers
Function
useLaunchSkillInChat
()
src/hooks/use-launch-skill-in-chat.ts:5
↓ 2 callers
Function
useLoadOlderEvents
( conversationId?: string | null, )
src/hooks/use-load-older-events.ts:41
↓ 2 callers
Function
useLocalGitInfo
()
src/hooks/query/use-local-git-info.ts:96
↓ 2 callers
Function
useNewConversationCommand
()
src/hooks/mutation/use-new-conversation-command.ts:15
↓ 2 callers
Function
usePlanPreviewEvents
(allEvents: OpenHandsEvent[])
src/components/conversation-events/chat/hooks/use-plan-preview-events.ts:87
↓ 2 callers
Function
usePluginsMarketplace
()
src/hooks/query/use-plugins-marketplace.ts:9
↓ 2 callers
Function
usePopoverFixedPlacement
( triggerRef: React.RefObject<HTMLElement | null>, options: { open: boolean; enabled: boolean; targetWidth
src/hooks/use-popover-fixed-placement.ts:20
↓ 2 callers
Function
useRemoveWorkspace
()
src/hooks/mutation/use-local-workspaces-mutations.ts:19
↓ 2 callers
Function
useRemoveWorkspaceParent
()
src/hooks/mutation/use-local-workspaces-mutations.ts:42
↓ 2 callers
Function
useRenameLlmProfile
()
src/hooks/mutation/use-rename-llm-profile.ts:15
↓ 2 callers
Function
useResizablePanels
({ defaultLeftWidth = 50, minLeftWidth = 30, maxLeftWidth = 80, storageKey = "desktop-layout-panel-wid
src/hooks/use-resizable-panels.ts:14
↓ 2 callers
Function
useResolvedWorkspaces
()
src/hooks/query/use-resolved-workspaces.ts:52
↓ 2 callers
Function
useResumeConversation
()
src/hooks/mutation/use-resume-conversation.ts:4
↓ 2 callers
Function
useSaveAgentProfile
()
src/hooks/mutation/use-save-agent-profile.ts:7
↓ 2 callers
Function
useSaveFieldsAsSecrets
()
src/hooks/mutation/use-save-fields-as-secrets.ts:28
↓ 2 callers
Function
useSearchRepositories
( query: string, selectedProvider?: Provider | null, disabled?: boolean, pageSize: number = 100, )
src/hooks/query/use-search-repositories.ts:6
↓ 2 callers
Function
useSettingsSchema
( type: "agent" | "conversation", fallbackSchema?: SettingsSchema | null, )
src/hooks/query/use-agent-settings-schema.ts:10
↓ 2 callers
Function
useSettingsSectionHeader
()
src/contexts/settings-section-header-context.tsx:28
↓ 2 callers
Function
useSidebarMobileNav
()
src/components/features/sidebar/sidebar-mobile-nav-context.tsx:41
↓ 2 callers
Function
useSkills
(projectDir?: string)
src/hooks/query/use-skills.ts:10
↓ 2 callers
Function
useSlashCommand
( chatInputRef: React.RefObject<HTMLDivElement | null>, )
src/hooks/chat/use-slash-command.ts:35
↓ 2 callers
Function
useSuggestedTasks
()
src/hooks/query/use-suggested-tasks.ts:6
↓ 2 callers
Function
useSwitchAcpModel
()
src/hooks/mutation/use-switch-acp-model.ts:46
↓ 2 callers
Function
useSwitchLlmProfile
()
src/hooks/mutation/use-switch-llm-profile.ts:51
↓ 2 callers
Function
useSyncAutomationTelemetryConsent
()
src/hooks/use-sync-automation-telemetry-consent.ts:9
↓ 2 callers
Function
useSyncTelemetryConsent
()
src/hooks/use-sync-telemetry-consent.ts:31
↓ 2 callers
Function
useTaskPollingController
()
src/hooks/query/use-task-polling.ts:111
↓ 2 callers
Function
useTelemetry
()
src/hooks/use-telemetry.ts:61
↓ 2 callers
Function
useTelemetryIdentity
()
src/hooks/use-telemetry-identity.ts:51
↓ 2 callers
Function
useTerminal
()
src/hooks/use-terminal.ts:92
↓ 2 callers
Function
useUnifiedVSCodeUrl
()
src/hooks/query/use-unified-vscode-url.ts:19
↓ 2 callers
Function
useUpdateAutomation
()
src/hooks/query/use-automations.ts:66
↓ 2 callers
Function
useUpdateConversation
()
src/hooks/mutation/use-update-conversation.ts:4
↓ 2 callers
Function
useUpdateConversationPublicFlag
()
src/hooks/mutation/use-update-conversation-public-flag.ts:7
↓ 2 callers
Function
useUpdateConversationRepository
()
src/hooks/mutation/use-update-conversation-repository.ts:23
↓ 2 callers
Function
useUrlSearch
( inputValue: string, provider: Provider | null | undefined, )
src/components/features/home/git-repo-dropdown/use-url-search.tsx:6
↓ 2 callers
Function
useWebSocket
( url: string, options?: WebSocketHookOptions, )
src/hooks/use-websocket.ts:17
↓ 2 callers
Function
useWorkspaceFiles
()
src/hooks/query/use-workspace-files.ts:146
↓ 2 callers
Function
useWorkspaceSession
()
src/hooks/query/use-workspace-session.ts:46
↓ 2 callers
Function
validateAutomationTimeout
( raw: string, )
src/utils/automation-timeout.ts:20
↓ 2 callers
Function
validateEnvFormat
(envString: string)
src/components/features/settings/mcp-settings/mcp-server-form.tsx:166
↓ 2 callers
Function
validateForm
(formData: FormData)
src/components/features/settings/mcp-settings/mcp-server-form.tsx:238
↓ 2 callers
Function
validateOptionalString
( record: UnknownRecord, field: string, path: string, issues: string[], )
src/utils/automation-export.ts:40
↓ 2 callers
Function
validateRequiredString
( record: UnknownRecord, field: string, path: string, issues: string[], )
src/utils/automation-export.ts:26
↓ 2 callers
Function
versionsEqual
* Compare two versions for equality (handles semantic equivalence)
scripts/check-sdk-version-sync.mjs:133
↓ 2 callers
Function
waitForAgentMessageContaining
( request: APIRequestContext, conversationId: string, token: string, timeout = 30_000, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:288
↓ 2 callers
Function
waitForI18n
(instance = getDefaultI18n())
src/i18n/index.ts:89
↓ 2 callers
Function
waitForOnboardingBackendConnected
(page: Page)
tests/e2e/support/onboarding-helpers.ts:106
↓ 2 callers
Function
withLlmSubscriptionSchemaFields
( schema: SettingsSchema | null | undefined, )
src/utils/llm-subscription-schema.ts:6
↓ 2 callers
Function
withWorkspaceCacheBuster
( url: string | null, version: number, )
src/stores/use-workspace-mutation-counter.ts:46
↓ 2 callers
Function
writeAll
(next: StoredMetadata)
src/api/conversation-metadata-store.ts:63
↓ 2 callers
Method
writeCompletionMarkers
Write .tests-done and .all-passed — only when the suite is complete.
tests/e2e/mock-llm/reporters/done-marker-reporter.ts:119
↓ 2 callers
Function
writeMap
(map: StoredMap)
src/api/backend-registry/last-conversation-store.ts:36
↓ 2 callers
Function
writeProxyError
(res, message)
scripts/proxy-utils.mjs:47
↓ 2 callers
Method
writeResults
Flush per-test timing/error data — called after every test.
tests/e2e/mock-llm/reporters/done-marker-reporter.ts:95
↓ 1 callers
Function
__resetAutomationSdkVersionCacheForTests
()
src/hooks/query/use-automation-sdk-version.ts:19
↓ 1 callers
Function
_parse_trajectory_turns
Convert JSON turn descriptors into Message objects. Each turn is a dict with either: - {"tool_call": {"name": ..., "arguments": ...}} → to
tests/e2e/mock-llm/scripts/mock-llm-server.py:341
↓ 1 callers
Method
_read_body
Read and parse JSON body. Returns None (after sending 400) on parse failure.
tests/e2e/mock-llm/scripts/mock-llm-server.py:326
↓ 1 callers
Method
_send_streaming
SSE streaming: emit content chunk + finish chunk + [DONE].
tests/e2e/mock-llm/scripts/mock-llm-server.py:194
↓ 1 callers
Function
acpContext
( overrides: Partial<AcpModelContext> = {}, )
__tests__/hooks/use-chat-input-model-state.test.tsx:58
↓ 1 callers
Function
acpSettings
(overrides: Record<string, unknown> = {})
__tests__/api/agent-server-adapter.test.ts:605
↓ 1 callers
Function
activateCloudAgentProfile
( profileId: string, )
src/api/cloud/agent-profiles-service.api.ts:89
↓ 1 callers
Function
activateCloudProfile
( name: string, )
src/api/cloud/profiles-service.api.ts:116
↓ 1 callers
Function
activeOrgForBackend
* Send `X-Org-Id` so the upstream scopes per-request to the org the user * selected locally, instead of the user's globally-shared `current_org_id`
src/api/cloud/client.ts:28
↓ 1 callers
Function
addActionNarration
(action: ActionEvent)
src/utils/transcript-export/index.ts:291
↓ 1 callers
Function
addAuthSecrets
( values: Set<string>, auth: MCPServerConfig["auth"], )
src/utils/redact-mcp-secrets.ts:65
↓ 1 callers
Function
addBackendViaOnboarding
( page: Page, opts: { name: string; host: string; apiKey: string }, )
tests/e2e/mock-llm/backends/mock-llm-cross-connect.spec.ts:174
↓ 1 callers
Function
addInstallEvent
(id: string)
__tests__/components/features/chat/skill-install-restart-banner.test.tsx:70
↓ 1 callers
Function
addLocalBackend
()
__tests__/components/backends/add-backend-modal.test.tsx:284
↓ 1 callers
Function
addUrlSecrets
(values: Set<string>, rawUrl: string | undefined)
src/utils/redact-mcp-secrets.ts:49
↓ 1 callers
Function
addWorkspaceToServer
* Register a workspace on the agent-server so it appears in the UI dropdown.
tests/e2e/mock-llm/skills/mock-llm-skills.spec.ts:59
↓ 1 callers
Function
advanceOnboardingToLlmStep
(page: Page)
tests/e2e/support/onboarding-helpers.ts:173
↓ 1 callers
Function
agentAction
(id: string, kind: string)
src/hooks/chat/record-model-switch-message.test.ts:36
↓ 1 callers
Function
ansiPadEnd
(str, targetVisible)
scripts/dev-with-automation.mjs:1157
↓ 1 callers
Function
appDirFor
Resolve the packaged app dir for a platform, mirroring the bundle layout.
__tests__/scripts/electron-builder-config.test.ts:29
↓ 1 callers
Function
appendEntry
( state: ModelState, conversationId: string, entry: ModelListEntry, )
src/stores/model-store.ts:65
← previous
next →
901–1,000 of 3,490, ranked by callers