Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
6,964 in github.com/OpenHands/OpenHands
⨍
Functions
6,964
◇
Types & classes
1,448
↓ 1 callers
Function
endpointAt
(name: string)
src/manifests/interface-validation.ts:674
↓ 1 callers
Function
ensureBundleName
* Rename dist/<current>.app to dist/<productName>.app and repoint path.txt. * Returns { appDir, renamed }, or null if the bundle can't be determined.
scripts/brand-dev-electron.mjs:113
↓ 1 callers
Function
ensureDirectories
(config)
scripts/dev-with-automation.mjs:663
↓ 1 callers
Function
ensureExecutable
(p)
scripts/download-node.mjs:156
↓ 1 callers
Function
ensureLiveLlmProfile
(request: APIRequestContext)
tests/e2e/live/utils/agent-server-conversation.ts:141
↓ 1 callers
Function
ensureMockLLMProfileViaAPI
( request: APIRequestContext, model = "openai/mock-test-model", )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:412
↓ 1 callers
Function
ensureSessionApiKey
()
tests/e2e/live/scripts/run-live-e2e.mjs:101
↓ 1 callers
Function
ensureSessionAwake
({ api, sessionId, pollIntervalMs = DEFAULT_POLL_INTERVAL_MS, timeoutMs = DEFAULT_TIMEOUT_MS, })
scripts/mars-session.mjs:76
↓ 1 callers
Function
entries
()
__tests__/hooks/chat/use-btw-interceptor.test.ts:23
↓ 1 callers
Function
entriesFor
(conversationId: string)
src/hooks/chat/record-model-switch-message.test.ts:79
↓ 1 callers
Function
entriesFor
(c: string)
__tests__/components/chat/btw-messages.test.tsx:9
↓ 1 callers
Function
entriesFor
(conversationId: string)
__tests__/stores/model-store.test.ts:8
↓ 1 callers
Function
entriesFor
(conv: string)
__tests__/stores/btw-store.test.ts:7
↓ 1 callers
Function
entry
(overrides: Partial<McpLogoEntry>)
__tests__/components/features/mcp-logo-badge.test.tsx:8
↓ 1 callers
Function
entry
(id: string)
__tests__/components/features/mcp-page/mcp-logo-stack-badge.test.tsx:6
↓ 1 callers
Function
entry
(i: number)
__tests__/utils/git-diff-stats.test.ts:93
↓ 1 callers
Function
entryPath
The member's path as ustar spells it: `prefix/name` when a prefix is set.
src/utils/tar-unpack.ts:91
↓ 1 callers
Function
entrySize
(header: Uint8Array)
src/utils/tar-unpack.ts:98
↓ 1 callers
Function
envAssignment
(name: string, value: string)
playwright.mock-llm.config.ts:76
↓ 1 callers
Function
envAssignment
(name: string, value: string)
playwright.live.config.ts:30
↓ 1 callers
Function
envWithIsolatedKeyPath
* Build an env that points persisted dev API key files at a fresh temp dir, * so tests don't write to the user's real ~/.openhands/agent-canvas fil
__tests__/scripts/dev-with-automation.test.ts:403
↓ 1 callers
Function
errorToastMessages
()
__tests__/hooks/mutation/use-plugin-mutations.test.ts:21
↓ 1 callers
Function
errorToastMessages
()
__tests__/hooks/mutation/use-install-canvas-extension.test.ts:20
↓ 1 callers
Function
errorToastMessages
()
__tests__/hooks/mutation/use-mcp-server-mutations-error-toast.test.ts:20
↓ 1 callers
Function
escapeCodeCell
(value)
tests/e2e/live/scripts/render-live-e2e-report.mjs:154
↓ 1 callers
Function
escapeHtml
(text: string)
tests/e2e/bind-policy/loopback-bind.spec.ts:51
↓ 1 callers
Function
escapeRegExp
(value)
tests/e2e/mock-llm/scripts/upsert-pr-comment.mjs:166
↓ 1 callers
Function
escapeRegExp
(value: string)
tests/e2e/live/utils/agent-server-conversation.ts:69
↓ 1 callers
Function
eventCalls
(event: string)
__tests__/components/onboarding/onboarding-modal.test.tsx:1190
↓ 1 callers
Function
eventDetail
( conversationId: string, draft: AutomationSetupDraft | null, result?: AutomationSetupPatchResult, )
src/api/automation-form-session.ts:253
↓ 1 callers
Function
eventIds
()
__tests__/contexts/conversation-websocket-context.test.tsx:137
↓ 1 callers
Function
eventKey
(on: Automation["trigger"]["on"])
src/utils/automation-edit-draft.ts:41
↓ 1 callers
Function
eventKeyPayload
(value: string)
src/components/features/automations/setup/automation-setup-panel.tsx:358
↓ 1 callers
Function
eventPatternMatches
(pattern: string, eventType: string)
src/mocks/automation-handlers.ts:112
↓ 1 callers
Function
eventSourceInputValue
(value: string, knownSources: string[])
src/components/features/automations/setup/automation-setup-panel.tsx:3618
↓ 1 callers
Function
eventTextContent
(event: unknown)
tests/e2e/live/utils/agent-server-conversation.ts:544
↓ 1 callers
Function
eventTriggerExtras
( trigger: Automation["trigger"], )
src/utils/automation-edit-draft.ts:58
↓ 1 callers
Function
eventTypeMatches
(pattern: string, eventKey: string)
src/components/features/automations/setup/automation-setup-panel.tsx:456
↓ 1 callers
Function
eventTypeOptions
( user: ReturnType<typeof userEvent.setup>, )
__tests__/components/automations/automation-setup-panel.test.tsx:3835
↓ 1 callers
Function
eventTypeOptionsForSource
* The event types the service offers for a source. A service without * `eventTypesBySource` lists GitHub's only, in `eventTypes`.
src/components/features/automations/setup/automation-setup-panel.tsx:444
↓ 1 callers
Function
evidenceDetails
(specs, args)
tests/e2e/live/scripts/render-live-e2e-report.mjs:329
↓ 1 callers
Function
exchange
()
__tests__/scripts/tunnel-client.test.ts:240
↓ 1 callers
Function
executablePaths
* The packed paths the service executes rather than reads. * * The setup script is run through a shell, and the entrypoint's first word is * the pr
src/manifests/manifest-bundle.ts:50
↓ 1 callers
Function
executeFailingMutation
( client: QueryClient, error: unknown, meta?: Record<string, unknown>, )
__tests__/query-client-config.behavior.test.ts:87
↓ 1 callers
Function
executeFailingQuery
( client: QueryClient, error: unknown, { meta, queryKey = ["behavior", "failure"], }: { me
__tests__/query-client-config.behavior.test.ts:66
↓ 1 callers
Function
executeWithResults
( argv: string[], results: SpawnResult[], )
__tests__/scripts/stryker-diff.test.ts:29
↓ 1 callers
Function
exerciseDisclosure
(bodyId: string, toggleId: string)
__tests__/components/backends/add-backend-modal.test.tsx:291
↓ 1 callers
Function
existingTarballDisplayName
(path: string)
src/components/features/automations/setup/automation-setup-panel.tsx:408
↓ 1 callers
Function
exitWith
(code: number)
__tests__/scripts/dev-with-automation.test.ts:1245
↓ 1 callers
Function
expand
(user: ReturnType<typeof userEvent.setup>)
__tests__/components/features/diff-viewer/file-diff-viewer.test.tsx:65
↓ 1 callers
Function
expectFitsViewport
(element: Locator, width: number)
tests/e2e/paper-theme.spec.ts:50
↓ 1 callers
Function
expectInstancesAfter
( advanceMs: number, expected: number, )
__tests__/hooks/use-websocket-regressions.test.ts:271
↓ 1 callers
Function
expectModifiedDiff
(row: Locator)
tests/e2e/diff-editor-lifecycle.spec.ts:38
↓ 1 callers
Function
expectNoFixedColour
(icon: SVGSVGElement)
__tests__/components/features/chat/git-chip-icons.test.tsx:33
↓ 1 callers
Function
expectNoGuide
()
__tests__/components/features/setup-guide/super-admin-setup-guide.test.tsx:177
↓ 1 callers
Function
expectNoMissingBackendToast
()
tests/e2e/mock-llm/backends/mock-llm-auth-modes.spec.ts:244
↓ 1 callers
Function
expectRefused
(dir: string, message: RegExp)
__tests__/scripts/docker-automation-kv-secret.test.ts:249
↓ 1 callers
Function
expectReleased
()
tests/e2e/diff-editor-lifecycle.spec.ts:124
↓ 1 callers
Function
expectRouteMatchesAdvertised
The invariant: the advertised URL's prefix/port are the ones being routed.
__tests__/scripts/docker-vscode-route-sync.test.ts:110
↓ 1 callers
Function
expectRuntimeClient
( conversationId: string, conversation: AppConversation, )
__tests__/hooks/mutation/conversation-mutation-utils.test.ts:125
↓ 1 callers
Function
expectTranslatedTitle
( event: OpenHandsEvent | SkillReadyEvent, key: string, values: Record<string, unknown> = {}, correspo
src/components/conversation-events/chat/event-content-helpers/get-event-content.test.tsx:159
↓ 1 callers
Function
expectedInvalidations
(conversationId: string)
__tests__/hooks/mutation/pause-conversation-mutation-behavior.test.tsx:88
↓ 1 callers
Function
extensionNotFound
(name: string)
src/mocks/canvas-extensions-handlers.ts:58
↓ 1 callers
Function
extensionPage
(page: Page)
tests/e2e/mock-llm/canvas-extensions/mock-llm-canvas-extensions.spec.ts:133
↓ 1 callers
Function
extract
(archivePath, targetDir, ext)
scripts/download-node.mjs:143
↓ 1 callers
Function
extract
(archivePath, targetDir, ext)
scripts/download-uv.mjs:147
↓ 1 callers
Function
extractAllText
* Extracts all text content from an array of TextContent items.
src/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.ts:14
↓ 1 callers
Function
extractAppPreferences
( input: Record<string, unknown>, )
src/api/settings-service/settings-service.api.ts:115
↓ 1 callers
Function
extractBasicFormData
(formData: FormData)
src/utils/settings-utils.ts:5
↓ 1 callers
Function
extractBodyPreview
(body: string)
src/components/features/skills/get-skill-card-description.ts:32
↓ 1 callers
Function
extractError
(result)
tests/e2e/mock-llm/scripts/render-mock-llm-report.mjs:83
↓ 1 callers
Function
extractExtraInfoBlocks
(text: string)
src/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.ts:25
↓ 1 callers
Function
extractFilename
(path: string)
src/components/features/chat/path-component.tsx:44
↓ 1 callers
Function
extractMessageEventText
* Extract the text body of an echoed user `MessageEvent` for matching against * the optimistic pending-message queue. The server wraps the original
src/contexts/conversation-websocket-context.tsx:153
↓ 1 callers
Function
extractPreflight
()
__tests__/scripts/docker-entrypoint-preflight.test.ts:41
↓ 1 callers
Function
f
(key: string, label = key)
__tests__/hooks/mutation/use-save-fields-as-secrets.test.ts:20
↓ 1 callers
Function
factoriesFeature
(enabled: boolean)
__tests__/hooks/query/use-factories-supported.test.tsx:45
↓ 1 callers
Function
failCreate
()
__tests__/components/features/home/home-chat-launcher-failed-launch.test.tsx:222
↓ 1 callers
Function
failOnDanglingSymlinks
* Walk the pruned tree and refuse to finish if any symlink points at a path * that no longer exists. electron-builder calls `stat()` (which follows
scripts/download-node.mjs:273
↓ 1 callers
Function
failStartup
* Show why startup failed on the splash, keeping the full startup log * readable and copyable. The automation backend can fail after the main * wind
electron/main.mjs:720
↓ 1 callers
Function
failedAcpCall
(id: string)
__tests__/components/conversation-events/chat/messages-virtualization.test.tsx:1677
↓ 1 callers
Function
failedHook
(id: string)
__tests__/components/conversation-events/chat/messages-virtualization.test.tsx:1691
↓ 1 callers
Function
failingCommands
(dir: string, ...names: string[])
__tests__/scripts/docker-automation-kv-secret.test.ts:111
↓ 1 callers
Function
failureDetails
(specs)
tests/e2e/live/scripts/render-live-e2e-report.mjs:286
↓ 1 callers
Function
fakeApi
()
__tests__/scripts/mars-tunnel-bridge.test.ts:77
↓ 1 callers
Function
fakeBridge
()
__tests__/components/features/sidebar/mars-session-panel.test.tsx:67
↓ 1 callers
Function
fakeBridge
(authState: MarsAuthState)
__tests__/components/backends/managed-agents-view.test.tsx:74
↓ 1 callers
Function
fakeIpcMain
A fake ipcMain that just records handlers so tests can invoke them directly.
__tests__/scripts/mars-tunnel-bridge.test.ts:36
↓ 1 callers
Function
fakeMarsBridge
({ signedIn }: { signedIn: boolean })
__tests__/components/backends/add-backend-modal.test.tsx:773
↓ 1 callers
Function
fakeMarsBridge
(localPort = 51000, authState: object = SIGNED_IN)
__tests__/hooks/use-mars-tunnel-backend.test.tsx:99
↓ 1 callers
Function
fakeSecurity
An in-memory stand-in for the `security` tool's generic passwords.
__tests__/scripts/mars-secret-store.test.ts:28
↓ 1 callers
Function
fakeStartTunnel
A stub startTunnel that hands out an incrementing fake port per call.
__tests__/scripts/tunnel-registry.test.ts:24
↓ 1 callers
Function
featureState
(enabled: boolean)
__tests__/components/features/chat/message-reactions.test.tsx:69
↓ 1 callers
Function
feed
(frames: Frame[])
__tests__/contexts/conversation-websocket-context.test.tsx:1723
↓ 1 callers
Function
fetchAllOpenHandsModels
( verifiedByProvider: Record<string, string[]>, pageId: string | null | undefined, seenPageIds: Set<stri
src/hooks/query/use-free-models.ts:24
↓ 1 callers
Function
fetchAllProviders
( verifiedByProvider: Record<string, string[]>, pageId: string | null | undefined, seenPageIds: Set<stri
src/hooks/query/use-search-providers.ts:19
↓ 1 callers
Function
fetchCloudConversationSettingsSchema
()
src/api/cloud/settings-service.api.ts:224
↓ 1 callers
Function
fetchCloudConversationSkills
( conversationId: string, )
src/api/cloud/skills-service.api.ts:71
↓ 1 callers
Function
fetchCloudIntegrationsConfig
()
src/api/cloud/settings-service.api.ts:276
↓ 1 callers
Function
fetchCloudMetaProfile
( name: string, )
src/api/cloud/meta-profiles-service.api.ts:34
← previous
next →
2,901–3,000 of 6,964, ranked by callers