Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
7,148 in github.com/OpenHands/OpenHands
⨍
Functions
7,148
◇
Types & classes
1,478
↓ 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:1416
↓ 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:4234
↓ 1 callers
Function
Layout
({ children }: { children: React.ReactNode })
src/root.tsx:102
↓ 1 callers
Function
__resetAutomationFormSessionsForTests
()
src/api/automation-form-session.ts:446
↓ 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:336
↓ 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
addEntry
( slug: string, entry: Partial<WorklogEntry> & Pick<WorklogEntry, "body">, )
__tests__/routes/factory-worklogs.test.tsx:104
↓ 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:1446
↓ 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:1444
↓ 1 callers
Method
alignAroundAnchors
* Matches lines that occur exactly once in both ranges, keeping the longest * run that appears in the same order on both sides (found by patience
src/utils/git-diff-stats.ts:376
↓ 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:251
↓ 1 callers
Function
answer
(id: string, askId: string)
__tests__/utils/decision-closures-relayed.test.ts:22
↓ 1 callers
Method
answerAskUser
( conversationId: string, askId: string, answer: { optionIndex?: number; text?: string }, runt
src/api/conversation-service/agent-server-conversation-service.api.ts:551
↓ 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
↓ 1 callers
Function
apply
(base: unknown, next: unknown)
src/utils/mcp-config.ts:384
↓ 1 callers
Function
applyAddEvent
(state: EventState, event: OHEvent)
src/stores/use-event-store.ts:160
↓ 1 callers
Function
applyGridStyles
(grid: HTMLElement)
__tests__/components/backends/add-backend-modal.test.tsx:276
↓ 1 callers
Function
applyHeightToElement
( element: HTMLElement, height: number, constraints: HeightConstraints, )
src/hooks/use-auto-resize.ts:58
↓ 1 callers
Function
applyLanguage
(language: string)
src/hooks/use-sync-document-language.ts:11
↓ 1 callers
Function
applyLayout
()
__tests__/components/automations/automation-setup-panel.test.tsx:425
↓ 1 callers
Function
applyResizeStrategy
( element: HTMLElement, strategy: ResizeStrategy, )
src/hooks/use-auto-resize.ts:103
↓ 1 callers
Function
applyTagFlags
( conversation: T, conversationId: string, changes: Record<string, boolean>, )
src/hooks/mutation/use-update-conversation-tag-flags.ts:18
↓ 1 callers
Function
applyTelemetrySelectionBoundary
( previous: ResolvedActiveBackend, next: ResolvedActiveBackend, )
src/contexts/active-backend-context.tsx:45
↓ 1 callers
Function
applyValue
()
src/hooks/use-auto-resize.ts:354
↓ 1 callers
Function
arrangeCloudDefaultLaunch
()
__tests__/hooks/mutation/resolve-conversation-launch.test.ts:376
↓ 1 callers
Function
arrangeFlow
(flow: UseDeviceFlowReturn)
__tests__/components/backends/device-flow-login.test.tsx:63
↓ 1 callers
Function
arrangeFlowTransition
( initial: UseDeviceFlowReturn, next: UseDeviceFlowReturn, )
__tests__/components/backends/device-flow-login.test.tsx:68
↓ 1 callers
Function
arrangeHomeLookup
()
src/api/workspace-path-resolution.test.ts:41
↓ 1 callers
Function
arrangeInstance
(featureFlags: Record<string, unknown>)
__tests__/routes/mcp-page.test.tsx:435
↓ 1 callers
Function
arrangeLocalCreate
(conversationId: string)
__tests__/api/agent-server-conversation-service.test.ts:3381
← previous
next →
2,301–2,400 of 7,148, ranked by callers