Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
7,315 in github.com/OpenHands/OpenHands
⨍
Functions
7,315
◇
Types & classes
1,500
↓ 3 callers
Function
useConversationSkills
()
src/hooks/query/use-conversation-skills.ts:22
↓ 3 callers
Function
useCreateSecret
(options?: { onSuccess?: (secret: CustomSecretInput) => void; mutationKey?: string[]; })
src/hooks/mutation/use-create-secret.ts:24
↓ 3 callers
Function
useDefaultModelReady
()
src/hooks/query/use-free-models.ts:165
↓ 3 callers
Function
useDeleteAutomation
()
src/hooks/query/use-automations.ts:377
↓ 3 callers
Function
useDeleteConversation
()
src/hooks/mutation/use-delete-conversation.ts:10
↓ 3 callers
Function
useDownloadConversation
()
src/hooks/use-download-conversation.ts:10
↓ 3 callers
Function
useExperimentalFeatures
()
src/hooks/query/use-experimental-features.ts:26
↓ 3 callers
Function
useGoalInterceptor
( conversationId: string | null | undefined, onSubmit: (message: string) => void, )
src/hooks/chat/use-goal-interceptor.ts:21
↓ 3 callers
Function
useHomeAutomationActions
( automation: Automation, latestRun: AutomationRun | null, )
src/hooks/use-home-automation-actions.ts:37
↓ 3 callers
Function
useHomePinnedAutomations
()
src/hooks/use-home-pinned-automations.ts:107
↓ 3 callers
Function
useImportAutomation
({ factoryId, }: { factoryId?: string } = {})
src/hooks/query/use-automations.ts:356
↓ 3 callers
Function
useInfiniteScroll
({ hasNextPage, isFetchingNextPage, fetchNextPage, threshold = 100, }: UseInfiniteScrollOptions)
src/hooks/use-infinite-scroll.ts:10
↓ 3 callers
Function
useInstallPlugin
()
src/hooks/mutation/use-install-plugin.ts:20
↓ 3 callers
Function
useLaunchMarsSession
()
src/hooks/use-launch-mars-session.ts:50
↓ 3 callers
Function
useLiveConversationMetrics
(enabled: boolean = true)
src/hooks/use-live-conversation-metrics.ts:12
↓ 3 callers
Function
useLocalGitInfo
()
src/hooks/query/use-local-git-info.ts:96
↓ 3 callers
Function
useMarsAgents
( connectionId: string | null, { refetchIntervalMs = REFETCH_INTERVAL_MS, }: { refetchIntervalMs?: n
src/hooks/query/use-mars-agents.ts:77
↓ 3 callers
Function
useMarsSignIn
({ onAuthChanged, }: { onAuthChanged?: () => void } = {})
src/hooks/use-mars-sign-in.ts:18
↓ 3 callers
Function
useModelCatalogWarning
()
src/hooks/use-model-catalog-warning.ts:4
↓ 3 callers
Function
useModelInterceptor
( conversationId: string | null | undefined, onSubmit: (message: string) => void, )
src/hooks/chat/use-model-interceptor.ts:23
↓ 3 callers
Function
useOpenAISubscriptionModels
({ enabled = true, }: { enabled?: boolean } = {})
src/hooks/query/use-llm-subscription-models.ts:6
↓ 3 callers
Function
useOpenAutomationEditor
()
src/hooks/use-open-automation-editor.ts:18
↓ 3 callers
Function
usePendingSecretRequests
()
src/components/features/conversation/secret-request-card.tsx:15
↓ 3 callers
Function
usePopoverFixedPlacement
( triggerRef: React.RefObject<HTMLElement | null>, options: { open: boolean; enabled: boolean; targetWidth
src/hooks/use-popover-fixed-placement.ts:29
↓ 3 callers
Function
useProviderConnections
()
src/hooks/query/use-provider-connections.ts:19
↓ 3 callers
Function
useProviderModels
(provider: string | null)
src/hooks/query/use-provider-models.ts:45
↓ 3 callers
Function
useReadConversationFile
()
src/hooks/mutation/use-read-conversation-file.ts:12
↓ 3 callers
Function
useResizableDrawerWidth
({ containerRef, defaultWidth, minWidth, maxWidth, storageKey, enabled = true, edge = "right", }
src/hooks/use-resizable-drawer-width.ts:29
↓ 3 callers
Function
useResolvedWorkspaces
()
src/hooks/query/use-resolved-workspaces.ts:52
↓ 3 callers
Function
useRuntimeConfigurationCapabilities
( enabled: boolean, runtime: ConversationRuntimeCapabilityOptions = {}, )
src/hooks/query/use-conversation-configuration-capability.ts:55
↓ 3 callers
Function
useSaveAgentProfile
()
src/hooks/mutation/use-save-agent-profile.ts:9
↓ 3 callers
Function
useSearchRepositories
( query: string, selectedProvider?: Provider | null, disabled?: boolean, pageSize: number = 100, git
src/hooks/query/use-search-repositories.ts:6
↓ 3 callers
Function
useServiceAccounts
()
src/hooks/query/use-service-accounts.ts:41
↓ 3 callers
Function
useSessionMeta
( session: MarsSession, stage: MarsConnectStage | null = null, )
src/components/features/backends/managed-agents/use-session-meta.ts:63
↓ 3 callers
Function
useShowTitleBarBand
* The macOS desktop app hides its title bar ("hiddenInset"), leaving the * traffic lights over the shell. Screens reserve a 28px band for them (pt-7)
src/routes/root-layout.tsx:65
↓ 3 callers
Function
useSwitchLlmProfileAndLog
()
src/hooks/mutation/use-switch-llm-profile-and-log.ts:10
↓ 3 callers
Function
useTestMcpServer
()
src/hooks/mutation/use-test-mcp-server.ts:5
↓ 3 callers
Function
useUnifiedGetGitChanges
()
src/hooks/query/use-unified-get-git-changes.ts:10
↓ 3 callers
Function
useUnifiedGitCommits
()
src/hooks/query/use-unified-git-commits.ts:11
↓ 3 callers
Function
useUpdateConversation
()
src/hooks/mutation/use-update-conversation.ts:18
↓ 3 callers
Function
useUpdateConversationPublicFlag
()
src/hooks/mutation/use-update-conversation-public-flag.ts:7
↓ 3 callers
Function
useWorkspaceFileContent
(relativePath: string | null)
src/hooks/query/use-workspace-file-content.ts:142
↓ 3 callers
Function
useWorkspaceFiles
()
src/hooks/query/use-workspace-files.ts:185
↓ 3 callers
Function
userMessageText
(event: MessageEvent)
src/components/conversation-events/chat/event-content-helpers/should-render-event.ts:31
↓ 3 callers
Function
usesIsolatedWorkspace
( info: AgentServerInfo | null | undefined, )
src/api/conversation-workspace.ts:21
↓ 3 callers
Function
uvicornLogLevel
(level)
scripts/dev-safe.mjs:926
↓ 3 callers
Function
validateFormValues
( setup: SetupBlock, values: SetupFormValues, overrides: SetupFieldOverrides = {}, selectedTrigger?: s
src/manifests/manifest-local-validation.ts:261
↓ 3 callers
Function
validateFrontendDependencies
( cwd = process.cwd(), platform = process.platform, )
scripts/dev-safe.mjs:439
↓ 3 callers
Function
validateOptionalString
( record: UnknownRecord, field: string, path: string, issues: string[], )
src/utils/automation-export.ts:43
↓ 3 callers
Function
validateRequiredFields
()
src/components/features/automations/setup/automation-setup-panel.tsx:1805
↓ 3 callers
Function
validateRequiredString
( record: UnknownRecord, field: string, path: string, issues: string[], )
src/utils/automation-export.ts:29
↓ 3 callers
Function
validateSetupEntry
(candidate: unknown)
src/manifests/manifest-validation.ts:760
↓ 3 callers
Function
versionsEqual
* Compare two versions for equality (handles semantic equivalence)
scripts/check-sdk-version-sync.mjs:145
↓ 3 callers
Function
wait
(ms: number)
src/components/features/setup-guide/tour/tour-engine.ts:65
↓ 3 callers
Function
waitForTestId
( page: Page, testId: string, timeout = 60_000, )
tests/e2e/live/utils/agent-server-conversation.ts:325
↓ 3 callers
Function
warn
(message)
scripts/brand-dev-electron.mjs:80
↓ 3 callers
Function
withBackendSelectionParams
( path: string, active: ResolvedActiveBackend, )
src/api/backend-registry/url-selection.ts:26
↓ 3 callers
Function
writeJson
(res, status, body)
scripts/mars-web-bridge.mjs:255
↓ 3 callers
Function
writeSidebarOnboardingChecklistDismissed
( dismissed: boolean, )
src/components/features/sidebar/sidebar-onboarding-checklist-storage.ts:44
↓ 2 callers
Function
__resetEnvironmentSwitchOverlayForTests
()
src/components/features/backends/environment-switch-store.ts:72
↓ 2 callers
Method
_send_error
(self, status: int, error_type: str, message: str)
tests/e2e/mock-llm/scripts/mock-llm-server.py:347
↓ 2 callers
Function
abortStreamingSlot
( itemId: string, uiEvents: UIEvent[], attempt?: number, )
src/utils/handle-event-for-ui.ts:227
↓ 2 callers
Function
acpEffortOf
( profile: { acp_effort?: unknown } | null | undefined, )
src/constants/acp-providers.ts:554
↓ 2 callers
Function
actionSupportsCapabilities
( features: readonly string[], reported: DeploymentCapabilities, )
src/manifests/manifest-capabilities.ts:41
↓ 2 callers
Method
activateMetaProfile
( name: string, )
src/api/meta-profiles-service/meta-profiles-service.api.ts:89
↓ 2 callers
Function
activateProfileViaUI
(page: Page, profileName: string)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:733
↓ 2 callers
Function
addConversationMcpServers
( conversationId: string, request: AddConversationMcpServersRequest, )
src/api/conversation-configuration-service.ts:41
↓ 2 callers
Function
addConversationSecretRefs
( conversationId: string, secretsToAdd: CustomSecretInput[], )
src/api/conversation-configuration-service.ts:86
↓ 2 callers
Function
addInputTag
(tags: string[])
src/components/features/automations/detail/automation-tags-editor.tsx:58
↓ 2 callers
Function
addRecordValues
( values: Set<string>, record: Record<string, unknown> | null | undefined, )
src/utils/redact-mcp-secrets.ts:40
↓ 2 callers
Method
addWorkspaceParents
( items: LocalWorkspaceParent[], )
src/api/workspaces-service/workspaces-service.api.ts:56
↓ 2 callers
Method
addWorkspaces
( items: LocalWorkspace[], )
src/api/workspaces-service/workspaces-service.api.ts:46
↓ 2 callers
Function
additionsOf
(payload: unknown)
__tests__/api/agent-server-adapter.test.ts:1321
↓ 2 callers
Method
advance
The text now shown is `length` long.
src/components/features/markdown/rehype-fade-in-words.ts:22
↓ 2 callers
Function
agentProfileSupportsRouter
()
src/api/agent-profiles-service/profile-field-support.ts:24
↓ 2 callers
Function
agentProfileSupportsSkills
()
src/api/agent-profiles-service/profile-field-support.ts:19
↓ 2 callers
Method
align
* Common subsequence length of a[aStart, aEnd) and b[bStart, bEnd). Exact * while the search budget lasts, otherwise a lower bound that is still a
src/utils/git-diff-stats.ts:318
↓ 2 callers
Function
applyAutomationConversationFilter
( conversations: readonly AppConversation[], mode: AutomationFilterMode, selectedNames: readonly string[
src/components/features/conversation-panel/conversation-panel-list-helpers.ts:270
↓ 2 callers
Function
applyBufferedScrollCorrection
( container: Pick<HTMLElement, "scrollTop" | "scrollHeight" | "clientHeight">, pending: PendingScrollCorre
src/components/conversation-events/chat/scroll-anchoring.ts:247
↓ 2 callers
Function
applyDefaultAgentProfileToGlobal
( queryClient: QueryClient, input: AgentProfileSaveInput, )
src/hooks/mutation/sync-agent-profiles.ts:246
↓ 2 callers
Function
applyMcpServerPatch
( previous: MCPServer, patch: MCPServerPatch, )
src/utils/mcp-config.ts:380
↓ 2 callers
Function
applyMcpServers
( mcpServers: MCPConfig, labels: string[], options: { throwOnError?: boolean; mcpServerNames?: str
src/components/features/chat/conversation-configuration-modal.tsx:695
↓ 2 callers
Function
applyPinnedOrder
( base: readonly string[], preferred: readonly string[], )
src/hooks/use-home-pinned-automations.ts:63
↓ 2 callers
Function
applyPins
(root, pins, getManifest = fetchManifest)
scripts/bump-pins.mjs:148
↓ 2 callers
Function
applyProfileToMockSettings
(profile: MockLlmProfile)
src/mocks/settings-handlers.ts:590
↓ 2 callers
Function
applySchemaDefaults
( parameters: Record<string, unknown>, fields: SchemaFormField[], )
src/utils/plugin-launch-preflight.ts:93
↓ 2 callers
Function
applySkillFilters
( skills: SkillInfo[], isEnabled: SkillEnabledPredicate, state: SkillFilterState, )
src/components/features/skills/skill-filter.ts:283
↓ 2 callers
Function
applyTagConversationFilter
( conversations: readonly AppConversation[], selectedFacets: readonly string[], availableFacets: readonl
src/components/features/conversation-panel/conversation-panel-list-helpers.ts:351
↓ 2 callers
Function
artifactMediaType
(name: string)
src/utils/project-artifact-kind.ts:37
↓ 2 callers
Function
ascii
(offset: number, value: string)
src/utils/tar-gzip.ts:36
↓ 2 callers
Function
askAgent
( conversationId: string, question: string, )
src/hooks/mutation/conversation-mutation-utils.ts:84
↓ 2 callers
Function
assertCanvasExtensionModule
( value: unknown, )
src/extensions/canvas-extension-module-loader.ts:10
↓ 2 callers
Function
assertSubscriptionAuthReady
( agentSettings: Record<string, unknown>, )
src/api/agent-server-adapter.ts:1684
↓ 2 callers
Function
assessCapabilityRequirements
( entry: SetupEntry, reported: DeploymentCapabilities, )
src/manifests/manifest-capabilities.ts:70
↓ 2 callers
Function
authorize
* Whether the request may use the bridge. With no key configured every * same-host request may. Otherwise it must carry the key (HTTP) or the *
scripts/mars-web-bridge.mjs:395
↓ 2 callers
Function
automationCreateEndpointForTarget
( target?: AutomationDraftCreateTarget, selectedAction?: string | null, )
src/api/automation-service/automation-service.api.ts:111
↓ 2 callers
Function
automationRepositoryLabel
( repository: AutomationRepository, )
src/utils/automation-repo-sources.ts:214
↓ 2 callers
Function
automationTemplatesPath
()
src/manifests/automation-interface.ts:124
↓ 2 callers
Function
averageDurationDisplay
( state: RunSummaryState | undefined, )
src/components/features/automations/automation-run-insights.tsx:19
↓ 2 callers
Function
backendRequiresAcpCredentials
( backendKind: "local" | "cloud", authStatus: "authenticated" | "unauthenticated" | "unknown", )
src/components/features/onboarding/steps/setup-acp-secrets-step.tsx:243
← previous
next →
1,101–1,200 of 7,315, ranked by callers