Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
7,208 in github.com/OpenHands/OpenHands
⨍
Functions
7,208
◇
Types & classes
1,487
↓ 3 callers
Function
selectDropdownOption
( page: Page, comboboxLabel: string | RegExp, optionText: string | RegExp, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:782
↓ 3 callers
Function
sendToClient
* @param {Client} client * @param {any} message * @param {Array<Transferable>} transferrables * @returns {Promise<any>}
public/mockServiceWorker.js:300
↓ 3 callers
Function
serializeScriptAutomation
( a: Automation, tarball: Uint8Array, )
src/utils/automation-export.ts:237
↓ 3 callers
Function
sessionActivityTitle
(session: SessionActivity)
src/components/conversation-events/chat/event-message-components/session-activity.tsx:51
↓ 3 callers
Function
setI18n
(instance?: I18nInstance | null)
src/i18n/index.ts:85
↓ 3 callers
Method
setPluginEnabled
( name: string, enabled: boolean, )
src/api/plugins-management-service.ts:45
↓ 3 callers
Function
setQueryClient
(client?: QueryClient | null)
src/query-client-config.ts:128
↓ 3 callers
Function
setSnapshot
(next: EnvironmentSwitchSnapshot)
src/components/features/backends/environment-switch-store.ts:30
↓ 3 callers
Function
setStyleHeightPx
(el: HTMLElement, height: number)
src/utils/utils.ts:88
↓ 3 callers
Function
setTelemetryBackendContext
( context: BackendTelemetryContextInput, )
src/services/telemetry.ts:199
↓ 3 callers
Function
setupDraftFromServerDraft
( saved: AutomationDraftApiResponse, )
src/components/features/automations/setup/automation-setup-draft-service.ts:94
↓ 3 callers
Function
shortenAutomationRunSummary
(summary: string)
src/components/features/home/featured-automations/automation-run-health.ts:116
↓ 3 callers
Function
shouldUseInstallationRepos
( provider: Provider | null | undefined, appMode?: "local" | "cloud", )
src/utils/utils.ts:163
↓ 3 callers
Function
splitBySuggestion
( automations: readonly T[], isFeatured: (automation: T) => boolean, { suggested, unlikely, }:
src/utils/automation-catalog.ts:415
↓ 3 callers
Function
stampActiveLlmProfile
( conversationId: string, profileName: string, stampedAt: string = new Date().toISOString(), )
src/hooks/chat/record-model-switch-message.ts:43
↓ 3 callers
Function
startConversation
(page: Page, message: string)
tests/e2e/mock-llm/windows/mock-llm-windows-known-issues.spec.ts:87
↓ 3 callers
Function
startDrag
(startY: number)
src/hooks/use-drag-resize.ts:96
↓ 3 callers
Function
startGoal
( conversationId: string, request: StartGoalRequest, )
src/hooks/mutation/conversation-mutation-utils.ts:101
↓ 3 callers
Function
startRun
(index: number)
src/components/conversation-events/chat/group-events.ts:240
↓ 3 callers
Function
startWebServer
(marsWeb: ReturnType<typeof createMarsWebBridge>)
__tests__/scripts/mars-web-bridge.test.ts:188
↓ 3 callers
Function
stopFrames
()
src/hooks/chat/use-clamp-drag-selection.ts:50
↓ 3 callers
Function
stopGoal
(conversationId: string)
src/hooks/mutation/conversation-mutation-utils.ts:118
↓ 3 callers
Function
stopServices
()
scripts/dev-with-automation.mjs:1361
↓ 3 callers
Function
stringField
A NUL-terminated header string field.
src/utils/tar-unpack.ts:79
↓ 3 callers
Function
stripMarkdown
(text: string)
src/components/features/chat/components/slash-command-menu.tsx:16
↓ 3 callers
Function
stripRedundantTitlePrefix
(event: ACPToolCallEvent)
src/components/conversation-events/chat/event-content-helpers/get-acp-tool-call-content.ts:53
↓ 3 callers
Function
stripWorkspacePrefix
(path: string)
src/utils/path-utils.ts:17
↓ 3 callers
Function
subscribeAutomationFormSession
( conversationId: string, listener: ( draft: AutomationSetupDraft | null, result?: AutomationSetup
src/api/automation-form-session.ts:426
↓ 3 callers
Function
summarizeAutomationRuns
( response: AutomationRunsResponse, )
src/manifests/automation-insights.ts:84
↓ 3 callers
Function
supportsAgentProfile
( entry: SetupEntry, selectedAction?: string | null, )
src/manifests/automation-setup.ts:145
↓ 3 callers
Method
supportsAutomationDrafts
* Whether the active deployment advertises server-backed automation drafts * (the `automationDrafts` feature from `OpenHands/automation` PR #417).
src/api/automation-service/automation-service.api.ts:1183
↓ 3 callers
Function
surfaceColor
(theme: ColorThemeKey, name: string)
__tests__/themes/theme-color-resolver.ts:176
↓ 3 callers
Function
surfaceSyncError
(error: unknown)
src/hooks/mutation/sync-active-agent-kind.ts:52
↓ 3 callers
Function
syncState
()
src/utils/conversation-local-storage.ts:428
↓ 3 callers
Method
templateValue
* A request-body string that may embed placeholders. Never rendered, so * expression syntax such as a JMESPath filter is allowed through.
src/manifests/manifest-validation.ts:143
↓ 3 callers
Function
toAbsoluteRuntimePath
* The cloud runtime's `/api/git/{changes,diff}` endpoints prepend * `/workspace/` to relative paths (so a relative arg like * `workspace/project` be
src/api/git-service/agent-server-git-service.api.ts:54
↓ 3 callers
Function
toAcpEffortChoices
( options: readonly ACPEffortOption[] | null | undefined, )
src/constants/acp-providers.ts:532
↓ 3 callers
Function
toAcpModelOptions
( models: readonly ACPModelInfo[] | null | undefined, )
src/constants/acp-providers.ts:502
↓ 3 callers
Function
toFilesTabPath
( path: string, workingDir?: string | null, )
src/utils/path-utils.ts:42
↓ 3 callers
Function
toHomePickKey
( backendId: string, orgId: string | null | undefined, )
src/hooks/use-chat-input-llm-profile-state.ts:28
↓ 3 callers
Function
toLocalWorkspacesResponse
( response: SdkWorkspacesListResponse, )
src/api/workspaces-service/workspaces-service.api.ts:29
↓ 3 callers
Function
toMcpServerName
(value: string, fallback = "mcp")
src/utils/mcp-server-name.ts:7
↓ 3 callers
Function
toMetadata
Public shape of a connection: everything except the secret.
scripts/mars-credentials.mjs:234
↓ 3 callers
Function
toProfileSkillFields
(enablement: SkillEnablement)
src/utils/skill-enablement.ts:119
↓ 3 callers
Function
toText
(value: unknown)
src/manifests/manifest-template.ts:28
↓ 3 callers
Function
topmostModalRoot
()
src/components/shared/modals/use-modal-focus.ts:26
↓ 3 callers
Function
trackAutomationSetupBlocked
({ automationId, stage, reason, field, errorCode, }: { automationId: string; sta
src/hooks/use-tracking.ts:179
↓ 3 callers
Function
trackCloudFunnelEvent
( event: string, properties: Record<string, unknown>, )
src/services/cloud-funnel-analytics.ts:13
↓ 3 callers
Function
trackInstall
()
src/services/telemetry.ts:759
↓ 3 callers
Function
trackPrebuiltAutomationEnabled
({ automationId, automationName, automationCategory, }: { automationId?: string; automat
src/hooks/use-tracking.ts:144
↓ 3 callers
Function
transformVSCodeUrl
(vsCodeUrl: string | null)
src/utils/vscode-url-helper.ts:14
↓ 3 callers
Function
trimEventTitleText
(text: string, maxLength: number)
src/components/conversation-events/chat/event-content-helpers/get-action-event-title.ts:17
↓ 3 callers
Function
trimTrailingSeparators
(path: string)
src/components/features/home/workspace-dropdown/folder-browser-modal.tsx:110
↓ 3 callers
Method
uninstallPlugin
(name: string)
src/api/plugins-management-service.ts:49
↓ 3 callers
Method
updateConversationPublicFlag
( conversationId: string, isPublic: boolean, )
src/api/conversation-service/agent-server-conversation-service.api.ts:1062
↓ 3 callers
Method
updateSecret
* Update a secret's name and/or description, and optionally overwrite its * value. When no value is given the existing one is preserved: the * a
src/api/secrets-service.ts:90
↓ 3 callers
Method
uploadAutomationTarball
* Upload a packed bundle, and return the `oh-internal://` path the create * call references. * * The body is the archive itself rather than a
src/api/automation-service/automation-service.api.ts:1506
↓ 3 callers
Function
uploadCustomArchive
()
src/components/features/automations/setup/automation-setup-panel.tsx:1726
↓ 3 callers
Function
uploadFilesToConversation
( conversationId: string, files: File[], currentConversation?: AppConversation | null, )
src/api/conversation-file-upload.api.ts:74
↓ 3 callers
Function
useAcpAuthStatus
( providerKey: string | null | undefined, options: UseAcpAuthStatusOptions = {}, )
src/hooks/query/use-acp-auth-status.ts:66
↓ 3 callers
Function
useAcpModelDiscovery
( providerKey: string | null | undefined, { enabled = true, secretRefs = null, }: { enabled?: bo
src/hooks/query/use-acp-model-discovery.ts:43
↓ 3 callers
Function
useAddMcpServer
()
src/hooks/mutation/use-add-mcp-server.ts:26
↓ 3 callers
Function
useAppTitle
()
src/hooks/use-app-title.ts:12
↓ 3 callers
Function
useApplyOnboardingAgentProfile
()
src/hooks/mutation/use-apply-onboarding-agent-profile.ts:59
↓ 3 callers
Function
useAutoRefreshFilesOnEdit
()
src/hooks/use-auto-refresh-files-on-edit.ts:74
↓ 3 callers
Function
useAutoResize
( elementRef: RefObject<HTMLElement | null>, options: UseAutoResizeOptions = {}, )
src/hooks/use-auto-resize.ts:123
↓ 3 callers
Function
useAutomationSubPageNav
()
src/components/features/automations/dashboard/use-automation-sub-page-nav.ts:17
↓ 3 callers
Function
useBashCommandLogs
(options: UseBashCommandLogsOptions)
src/hooks/query/use-bash-command-logs.ts:142
↓ 3 callers
Function
useBashCommandRunner
( conversationUrl: string | null | undefined, sessionApiKey: string | null | undefined, enabled: boolean
src/hooks/use-bash-command-runner.ts:13
↓ 3 callers
Function
useChatInputEvents
( chatInputRef: React.RefObject<HTMLDivElement | null>, smartResize: () => void, increaseHeightForEmptyC
src/hooks/chat/use-chat-input-events.ts:12
↓ 3 callers
Function
useChatInputModelState
()
src/hooks/use-chat-input-model-state.ts:50
↓ 3 callers
Function
useCloudMcpSettingsUrl
()
src/hooks/use-cloud-mcp-settings-url.ts:12
↓ 3 callers
Function
useCloudOrgMember
(userId: string | undefined)
src/hooks/query/use-cloud-org-member.ts:11
↓ 3 callers
Function
useCompactContextAction
(perTurnToken: number = 0)
src/hooks/use-compact-context-action.ts:26
↓ 3 callers
Function
useConversationMetrics
( conversationId: string | null | undefined, conversationUrl: string | null | undefined, sessionApiKey:
src/hooks/query/use-conversation-metrics.ts:7
↓ 3 callers
Function
useConversationNameContextMenu
({ conversationId, executionStatus, showOptions = false, onContextMenuToggle, }: UseConversationNameCo
src/hooks/use-conversation-name-context-menu.ts:35
↓ 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
useDeleteAutomation
()
src/hooks/query/use-automations.ts:329
↓ 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:308
↓ 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
← previous
next →
1,001–1,100 of 7,208, ranked by callers