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
↓ 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
verticalMargins
(element: Element)
src/components/conversation-events/chat/scroll-anchoring.ts:74
↓ 2 callers
Function
view
(path: string)
__tests__/components/features/files-tab/workspace-file-discovery-settings.test.tsx:47
↓ 2 callers
Function
virtualAnchorOffset
( anchor: ScrollAnchor, rowStart: (key: string) => number | null, )
src/components/features/chat/scroll-anchor.ts:115
↓ 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:1390
↓ 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:4145
↓ 1 callers
Function
Layout
({ children }: { children: React.ReactNode })
src/root.tsx:97
↓ 1 callers
Function
__resetAutomationFormSessionsForTests
()
src/api/automation-form-session.ts:430
↓ 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:368
↓ 1 callers
Function
_message_text
(message: dict)
tests/e2e/mock-llm/scripts/mock-llm-server.py:397
↓ 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:430
↓ 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:408
↓ 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:353
↓ 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:221
↓ 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:45
↓ 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
↓ 1 callers
Function
activeBackendSnapshot
()
__tests__/components/backends/backend-selector.test.tsx:196
↓ 1 callers
Function
activeProfileFor
(conversationId: string)
src/hooks/chat/record-model-switch-message.test.ts:82
↓ 1 callers
Function
activityRow
()
__tests__/routes/automation-git-sync.test.tsx:215
↓ 1 callers
Function
activitySortScore
( automationId: string, runStates: Map<string, LatestAutomationRunState>, )
src/components/features/home/featured-automations/home-automation-activity.ts:47
↓ 1 callers
Function
add
(value: string)
src/components/features/manifest/manifest-repository-list.tsx:50
↓ 1 callers
Function
add
(value: string | null | undefined)
src/components/features/automations/setup/automation-setup-draft-service.ts:329
↓ 1 callers
Function
addActionNarration
(action: ActionEvent)
src/utils/transcript-export/index.ts:305
↓ 1 callers
Function
addAuthSecrets
( values: Set<string>, auth: MCPServerConfig["auth"], )
src/utils/redact-mcp-secrets.ts:65
↓ 1 callers
Function
addBackendViaDropdown
Add a backend through the sidebar dropdown (post-onboarding path).
tests/e2e/mock-llm/backends/mock-llm-cross-connect.spec.ts:219
↓ 1 callers
Function
addBackendViaOnboarding
( page: Page, opts: { name: string; host: string; apiKey: string }, )
tests/e2e/mock-llm/backends/mock-llm-cross-connect.spec.ts:293
↓ 1 callers
Function
addInstallEvent
(id: string)
__tests__/components/features/chat/skill-install-restart-banner.test.tsx:97
↓ 1 callers
Function
addLocalBackend
()
__tests__/components/backends/add-backend-modal.test.tsx:682
↓ 1 callers
Function
addServerMessage
(id: string, timestamp: string)
__tests__/stores/optimistic-user-message-store.test.ts:15
↓ 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
addressFor
(name: string)
src/components/features/automations/setup/automation-setup-prompt-stack.tsx:571
↓ 1 callers
Function
admitInterfaceManifest
(candidate: unknown)
src/manifests/automation-interface.ts:65
↓ 1 callers
Function
advanceBy
(ms: number)
__tests__/components/features/analytics/telemetry-consent-banner.test.tsx:107
↓ 1 callers
Function
advanceOnboardingToLlmStep
(page: Page)
tests/e2e/support/onboarding-helpers.ts:189
↓ 1 callers
Function
afterPack
* afterPack entry point. Invoked by electron-builder once per platform target * after the unpacked directory has been populated but before installer-
electron-builder.config.mjs:124
↓ 1 callers
Function
agentAction
(id: string, kind: string)
src/hooks/chat/record-model-switch-message.test.ts:69
↓ 1 callers
Function
agentBubble
(index: number)
tests/e2e/mock-llm/regressions/mock-llm-ui-regressions.spec.ts:662
↓ 1 callers
Function
agentFilledSectionMeta
( fields: readonly AutomationSetupField[], testId: string, )
src/components/features/automations/setup/automation-setup-panel.tsx:1420
↓ 1 callers
Function
agentMessage
(id: string)
__tests__/components/conversation-events/chat/messages-virtualization.test.tsx:1638
↓ 1 callers
Function
agentProfileSupportsInstructions
()
src/api/agent-profiles-service/profile-field-support.ts:9
↓ 1 callers
Function
agentProfileSupportsSecretRefs
()
src/api/agent-profiles-service/profile-field-support.ts:4
↓ 1 callers
Function
agentProfileSupportsTools
()
src/api/agent-profiles-service/profile-field-support.ts:14
↓ 1 callers
Function
agentServerError
(status: number, exception: string)
src/utils/unreadable-event-file-error.test.ts:6
↓ 1 callers
Function
agentUpdatedSuffix
(field: AutomationSetupField)
src/components/features/automations/setup/automation-setup-panel.tsx:1418
↓ 1 callers
Function
ansiPadEnd
(str, targetVisible)
scripts/dev-with-automation.mjs:1726
↓ 1 callers
Function
answer
( id: string, option_label: string, text: string, )
src/utils/transcript-export/index.test.ts:235
↓ 1 callers
Method
answerAskUser
( conversationId: string, askId: string, answer: { optionIndex?: number; text?: string }, runt
src/api/conversation-service/agent-server-conversation-service.api.ts:550
↓ 1 callers
Function
answerOnceThen
Serve /alive once, then hand every later request to `afterFirst`.
__tests__/scripts/docker-entrypoint-agent-server-liveness.test.ts:117
↓ 1 callers
Function
answersOnLoopback
(port)
scripts/dev-safe.mjs:355
↓ 1 callers
Function
appDirFor
Resolve the packaged app dir for a platform, mirroring the bundle layout.
__tests__/scripts/electron-builder-config.test.ts:43
↓ 1 callers
Function
appProvidersWrapper
()
__tests__/hooks/query/use-free-models.test.tsx:45
↓ 1 callers
Function
appendEntry
( state: ModelState, conversationId: string, entry: ModelListEntry, )
src/stores/model-store.ts:85
↓ 1 callers
Function
appendEvent
(state: EventState, event: OHEvent)
src/stores/use-event-store.ts:130
← previous
next →
2,201–2,300 of 6,870, ranked by callers