Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
6,701 in github.com/OpenHands/OpenHands
⨍
Functions
6,701
◇
Types & classes
1,401
↓ 2 callers
Function
useSettingsSectionHeader
()
src/contexts/settings-section-header-context.tsx:28
↓ 2 callers
Function
useSetupAction
()
src/manifests/manifest-actions.ts:74
↓ 2 callers
Function
useSetupPreflight
(entry: SetupEntry)
src/hooks/use-manifest-preflight.ts:53
↓ 2 callers
Function
useSetupPrerequisites
( entry: SetupEntry, )
src/hooks/query/use-manifest-prerequisites.ts:43
↓ 2 callers
Function
useSharedConversation
( conversationId?: string, options: UseSharedConversationOptions = {}, )
src/hooks/query/use-shared-conversation.ts:13
↓ 2 callers
Function
useSharedConversationEvents
(conversationId?: string)
src/hooks/query/use-shared-conversation-events.ts:10
↓ 2 callers
Function
useSidebarMobileNav
()
src/components/features/sidebar/sidebar-mobile-nav-context.tsx:41
↓ 2 callers
Function
useSkillCatalog
(options: UseSkillCatalogOptions = {})
src/hooks/query/use-skill-catalog.ts:16
↓ 2 callers
Function
useSlashCommand
( chatInputRef: React.RefObject<HTMLDivElement | null>, )
src/hooks/chat/use-slash-command.ts:36
↓ 2 callers
Function
useStandaloneEventRowClass
()
src/components/features/chat/is-in-event-group-context.ts:18
↓ 2 callers
Function
useStartTasks
( limit = 10, listedConversationIds: string[] = [], )
src/hooks/query/use-start-tasks.ts:30
↓ 2 callers
Function
useStreamedText
(target: string, streaming = true)
src/hooks/use-streamed-text.ts:34
↓ 2 callers
Function
useSubConversations
( subConversationIds: string[] | null | undefined, )
src/hooks/query/use-sub-conversations.ts:25
↓ 2 callers
Function
useSuperAdminSetupGuide
()
src/components/features/setup-guide/use-super-admin-setup-guide.ts:51
↓ 2 callers
Function
useSwitchAcpEffort
()
src/hooks/mutation/use-switch-acp-effort.ts:17
↓ 2 callers
Function
useSwitchAcpModel
()
src/hooks/mutation/use-switch-acp-model.ts:31
↓ 2 callers
Function
useSwitchLlmProfile
()
src/hooks/mutation/use-switch-llm-profile.ts:54
↓ 2 callers
Function
useSyncAutomationTelemetryConsent
()
src/hooks/use-sync-automation-telemetry-consent.ts:19
↓ 2 callers
Function
useSyncDocumentLanguage
()
src/hooks/use-sync-document-language.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:138
↓ 2 callers
Function
useTelemetry
()
src/hooks/use-telemetry.ts:61
↓ 2 callers
Function
useTelemetryIdentity
()
src/hooks/use-telemetry-identity.ts:54
↓ 2 callers
Function
useTerminal
()
src/hooks/use-terminal.ts:91
↓ 2 callers
Function
useToolCatalog
(options: UseToolCatalogOptions = {})
src/hooks/query/use-tool-catalog.ts:16
↓ 2 callers
Function
useTriggerGitSync
()
src/hooks/query/use-git-sync.ts:82
↓ 2 callers
Function
useUnifiedVSCodeUrl
()
src/hooks/query/use-unified-vscode-url.ts:24
↓ 2 callers
Function
useUninstallPlugin
()
src/hooks/mutation/use-uninstall-plugin.ts:15
↓ 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:24
↓ 2 callers
Function
useUpdateConversationTagFlags
()
src/hooks/mutation/use-update-conversation-tag-flags.ts:39
↓ 2 callers
Function
useUpdateConversationTags
()
src/hooks/mutation/use-update-conversation-tags.ts:9
↓ 2 callers
Function
useUpdateGitSyncConfig
()
src/hooks/query/use-git-sync.ts:39
↓ 2 callers
Function
useUrlSearch
( inputValue: string, provider: Provider | null | undefined, gitProviderId?: number | null, )
src/components/features/home/git-repo-dropdown/use-url-search.tsx:6
↓ 2 callers
Function
useWorkspaceFileDiscovery
(workingDir?: string)
src/hooks/query/use-workspace-file-discovery.ts:16
↓ 2 callers
Function
useWorkspaceSession
()
src/hooks/query/use-workspace-session.ts:46
↓ 2 callers
Function
userConversationQueryOptions
( cid: string | null, active: ResolvedActiveBackend, )
src/hooks/query/use-user-conversation.ts:35
↓ 2 callers
Method
validateDraft
* Validate a draft without creating it. An invalid draft is a 200 carrying * field-addressed errors; only a malformed envelope is a 4xx.
src/api/automation-service/automation-service.api.ts:1045
↓ 2 callers
Function
validateDraftTrigger
( trigger: DraftTrigger | undefined, )
src/mocks/automation-handlers.ts:121
↓ 2 callers
Function
validateEnvFormat
( envString: string, errorKey: I18nKey = I18nKey.SETTINGS$MCP_ERROR_ENV_INVALID_FORMAT, )
src/components/features/settings/mcp-settings/mcp-server-form.tsx:173
↓ 2 callers
Function
validateForm
(formData: FormData)
src/components/features/settings/mcp-settings/mcp-server-form.tsx:251
↓ 2 callers
Function
validateIndividualFileSizes
( files: File[], )
src/utils/file-validation.ts:13
↓ 2 callers
Function
validateInterfaceManifest
( candidate: unknown, context: InterfaceValidationContext, )
src/manifests/interface-validation.ts:744
↓ 2 callers
Function
validateLocalAutomationPath
* Fail fast on an unusable OH_AUTOMATION_LOCAL_PATH instead of letting * `uv run --project <bad path>` exit on its own -- that leaves the rest of the
scripts/dev-with-automation.mjs:328
↓ 2 callers
Method
validateProfile
* Pre-flight check: fire a minimal LLM completion to catch misconfigurations * (invalid model names, missing provider prefixes, bad base URLs, inva
src/api/profiles-service/profiles-service.api.ts:158
↓ 2 callers
Function
validateTotalFileSize
( newFiles: File[], existingFiles: File[] = [], )
src/utils/file-validation.ts:33
↓ 2 callers
Function
view
(path: string)
__tests__/components/features/files-tab/workspace-file-discovery-settings.test.tsx:47
↓ 2 callers
Function
waitForI18n
(instance = getDefaultI18n())
src/i18n/index.ts:90
↓ 2 callers
Function
waitForMarsAgentServer
( host: string, { sessionId, budgetMs = AGENT_SERVER_WAIT_MS, }: { sessionId?: string; budgetMs?
src/api/mars/mars-tunnel-backend.ts:378
↓ 2 callers
Function
waitForOnboardingBackendConnected
(page: Page)
tests/e2e/support/onboarding-helpers.ts:122
↓ 2 callers
Function
waitForService
(name, url, timeoutMs = 30000, proc = null)
scripts/dev-with-automation.mjs:795
↓ 2 callers
Function
waitForToolObservation
Wait for the agent's observation from `toolName` and return it.
tests/e2e/mock-llm/windows/mock-llm-windows-known-issues.spec.ts:51
↓ 2 callers
Function
webClientConfigRequests
()
__tests__/hooks/query/use-service-accounts.test.tsx:71
↓ 2 callers
Function
withAuthStrategyReplacementDeletes
( previous: MCPAuthCredential | null | undefined, patch: T, )
src/utils/mcp-config.ts:254
↓ 2 callers
Function
withBasePathSlash
( location: Pick<Location, "pathname" | "search" | "hash">, base: string, )
src/utils/base-path-url.ts:7
↓ 2 callers
Function
withLlmSubscriptionSchemaFields
( schema: SettingsSchema | null | undefined, )
src/utils/llm-subscription-schema.ts:6
↓ 2 callers
Function
withSkillSelection
(selection: SkillEnablement)
src/hooks/mutation/sync-agent-profiles.ts:195
↓ 2 callers
Function
withWorkspaceCacheBuster
( url: string | null, version: number, )
src/stores/use-workspace-mutation-counter.ts:57
↓ 2 callers
Function
write
(account, value)
scripts/mars-secret-store.mjs:120
↓ 2 callers
Function
writeAgentSettingsKindSync
* Write the stored profile's kind into `agent_settings`. Saving the active * profile (kind changed or not) is deliberately an idempotent re-state of
src/hooks/mutation/sync-active-agent-kind.ts:64
↓ 2 callers
Function
writeAll
(next: StoredMetadata)
src/api/conversation-metadata-store.ts:84
↓ 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
writeHomeRecommendedAutomationsDismissed
( dismissed: boolean, )
src/components/features/home/home-recommended-automations-storage.ts:42
↓ 2 callers
Function
writeMap
(map: StoredMap)
src/api/backend-registry/last-conversation-store.ts:36
↓ 2 callers
Function
writePlugins
(entries: AutomationSetupPluginEntry[])
src/components/features/automations/setup/automation-setup-panel.tsx:1353
↓ 2 callers
Function
writeProxyError
(res, message, errorBody)
scripts/proxy-utils.mjs:264
↓ 2 callers
Method
writeResults
Flush per-test timing/error data — called after every test.
tests/e2e/mock-llm/reporters/done-marker-reporter.ts:95
↓ 2 callers
Function
writeStoredLocalWorkspaceMode
(mode: WorkspaceMode)
src/utils/workspace-mode.ts:71
↓ 2 callers
Function
writeTranscriptionEndpoint
( update: Partial<TranscriptionEndpoint>, )
src/utils/transcription-endpoint-storage.ts:45
↓ 1 callers
Function
Field
({ label, showLabel = true, labelClassName, suffix, horizontal = false, isStreaming = false, err
src/components/features/automations/setup/automation-setup-panel.tsx:4075
↓ 1 callers
Function
Layout
({ children }: { children: React.ReactNode })
src/root.tsx:94
↓ 1 callers
Function
_is_preflight_ping
Match the agent-server's profile pre-flight check. It sends "ping" with ``max_tokens=1`` (see ``profiles_router.validate_profile`` in openhan
tests/e2e/mock-llm/scripts/mock-llm-server.py:363
↓ 1 callers
Function
_message_text
(message: dict)
tests/e2e/mock-llm/scripts/mock-llm-server.py:392
↓ 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:425
↓ 1 callers
Function
_preflight_pong
Minimal OpenAI-style completion for the pre-flight ping. Uses the raw shape ``_send_streaming`` also understands, so the reply works whether
tests/e2e/mock-llm/scripts/mock-llm-server.py:403
↓ 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:348
↓ 1 callers
Function
_resetCanvasAuthReported
()
src/api/main-app-auth.ts:28
↓ 1 callers
Method
_send_streaming
SSE streaming: emit content chunk + finish chunk + [DONE].
tests/e2e/mock-llm/scripts/mock-llm-server.py:216
↓ 1 callers
Method
absent
(container: Rec, key: string, path: string, reason: string)
src/manifests/manifest-validation.ts:150
↓ 1 callers
Function
absoluteCanvasUrl
(path: string)
src/services/child-conversation-launch.ts:206
↓ 1 callers
Function
accept
()
__tests__/scripts/mars-web-bridge.test.ts:115
↓ 1 callers
Function
acpContext
( overrides: Partial<AcpModelContext> = {}, )
__tests__/hooks/use-chat-input-model-state.test.tsx:84
↓ 1 callers
Method
acquire
()
src/hooks/query/concurrency-limiter.ts:27
↓ 1 callers
Function
action
( id: string, command: string, )
__tests__/components/conversation-events/chat/messages-step-disclosure.test.tsx:41
↓ 1 callers
Function
action
( overrides: Partial<LaunchChildConversationAction>, )
__tests__/services/child-conversation-launch.test.ts:129
↓ 1 callers
Function
actionEvent
( id: string, securityRisk: SecurityRisk = SecurityRisk.LOW, )
__tests__/components/shared/buttons/conversation-confirmation-buttons.test.tsx:85
↓ 1 callers
Function
actionOf
(kind: string, fields: Record<string, unknown> = {})
src/components/conversation-events/chat/event-content-helpers/get-event-content.test.tsx:62
↓ 1 callers
Function
activate
(host)
src/fixtures/canvas-extensions/demo-page/extension.js:1
↓ 1 callers
Function
activate
(backend: Backend)
__tests__/hooks/use-home-pinned-automations.test.ts:56
↓ 1 callers
Function
activate
(profileId: string)
__tests__/hooks/mutation/use-activate-agent-profile.test.tsx:113
↓ 1 callers
Function
activateBackend
(backend: Backend)
__tests__/query-client-config.behavior.test.ts:52
↓ 1 callers
Function
activateBackend
(backend: Backend)
__tests__/components/features/setup-guide/super-admin-setup-guide.test.tsx:147
↓ 1 callers
Function
activateCloudAgentProfile
( profileId: string, )
src/api/cloud/agent-profiles-service.api.ts:89
↓ 1 callers
Function
activateCloudBackend
* Activates a cloud backend whose instance enables `providersConfigured` * natively, with `connected` as the user's connected providers.
__tests__/components/features/mcp-page/install-server-modal.test.tsx:1584
↓ 1 callers
Function
activateCloudBackend
()
__tests__/components/settings/acp-credentials-section-cloud.test.tsx:55
↓ 1 callers
Function
activateCloudBackend
* Activates the cloud backend with the given native git providers (and, * optionally, the built-in Jira and Linear integrations) enabled and serves
__tests__/components/automations/recommended-automations.test.tsx:167
↓ 1 callers
Function
activateCloudBackend
()
__tests__/api/cloud/shared-conversation-service.test.ts:25
↓ 1 callers
Function
activateCloudMetaProfile
( name: string, )
src/api/cloud/meta-profiles-service.api.ts:69
↓ 1 callers
Function
activateCloudProfile
( name: string, )
src/api/cloud/profiles-service.api.ts:116
↓ 1 callers
Function
activeAgent
(name: string, llmProfileRef: string)
__tests__/hooks/use-chat-input-llm-profile-state.test.tsx:153
← previous
next →
2,101–2,200 of 6,701, ranked by callers