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
↓ 1 callers
Function
runsEvery30Minutes
(count: number)
__tests__/components/automations/detail/activity-log-section.test.tsx:237
↓ 1 callers
Function
runtimeInfo
( metrics: Partial<RuntimeMetrics> = {}, maxBudget: number | null = 5, )
__tests__/hooks/use-live-conversation-metrics.test.ts:41
↓ 1 callers
Function
safeEqual
(a, b)
scripts/mars-web-bridge.mjs:222
↓ 1 callers
Function
sampleRow
( overrides: Partial<AutomationRunExportRow> = {}, )
__tests__/utils/automation-activity-log-export.test.ts:45
↓ 1 callers
Function
sampleRun
(overrides: Partial<AutomationRun> = {})
__tests__/utils/automation-activity-log-export.test.ts:34
↓ 1 callers
Function
sandboxIssueFromStatus
* Map a cloud sandbox status to a stable issue code (or null when the * sandbox is healthy enough to attempt the fetch).
src/hooks/query/use-bash-command-logs.ts:59
↓ 1 callers
Function
sanitizeLogLine
* Strip ANSI escapes and reduce carriage-return progress redraws (e.g. uv * download bars arrive as one chunk of "\r"-separated frames) to the final
electron/main.mjs:505
↓ 1 callers
Function
sanitizeMarkdownText
(value: string)
src/utils/transcript-export/index.ts:144
↓ 1 callers
Function
sanitizeMessage
(message: string | null)
src/routes/launch.tsx:39
↓ 1 callers
Function
sanitizePinnedIds
(value: unknown)
src/hooks/use-home-pinned-automations.ts:38
↓ 1 callers
Function
sanitizeStoredState
( stored: Record<string, unknown>, )
src/utils/conversation-local-storage.ts:107
↓ 1 callers
Function
save
(input: { name: string; profile: unknown })
__tests__/hooks/mutation/use-save-agent-profile.test.tsx:106
↓ 1 callers
Function
saveCloudAgentProfile
( name: string, profile: AgentProfileSaveInput, )
src/api/cloud/agent-profiles-service.api.ts:55
↓ 1 callers
Function
saveCloudMetaProfile
( name: string, config: MetaProfile, )
src/api/cloud/meta-profiles-service.api.ts:45
↓ 1 callers
Function
saveCloudProfile
( name: string, request: SaveProfileRequest, )
src/api/cloud/profiles-service.api.ts:79
↓ 1 callers
Function
saveDraftAndWaitForTest
( user: ReturnType<typeof userEvent.setup>, )
__tests__/components/automations/automation-setup-panel.test.tsx:2469
↓ 1 callers
Function
saveFilled
( values: Record<string, string>, { silent = false }: { silent?: boolean } = {}, )
src/hooks/use-save-acp-secrets.ts:47
↓ 1 callers
Function
saveHostedCredentialAsSecret
()
src/components/features/mcp-page/install-server-modal.tsx:258
↓ 1 callers
Function
saveMockProfile
(name: string, request: SaveProfileRequest)
src/mocks/settings-handlers.ts:628
↓ 1 callers
Function
saveProfile
(name: string, llm: Record<string, unknown>)
__tests__/api/mock-profile-lifecycle.test.ts:14
↓ 1 callers
Function
saveSelectedSecrets
()
src/components/features/mcp-page/install-server-modal.tsx:278
↓ 1 callers
Function
saveSettingsMutationFn
(settings: SettingsUpdate)
src/hooks/mutation/use-save-settings.ts:15
↓ 1 callers
Function
saveStateLabel
()
src/components/features/automations/setup/automation-setup-panel.tsx:1988
↓ 1 callers
Function
saved
(name: string)
__tests__/hooks/mutation/use-apply-onboarding-agent-profile.test.tsx:35
↓ 1 callers
Function
savedReviewer
(overrides: Partial<Automation> = {})
__tests__/components/automations/automation-setup-panel.test.tsx:4184
↓ 1 callers
Function
scanForNewCondensation
()
src/hooks/use-await-context-compaction.ts:112
↓ 1 callers
Function
scheduleCloseConversationOverviewPanelPeek
()
src/hooks/use-conversation-overview-panel-peek.ts:28
↓ 1 callers
Function
scheduleFields
( schedule: string | undefined, timezone: string | undefined, )
src/utils/automation-edit-draft.ts:69
↓ 1 callers
Function
schedulePoll
()
src/components/features/settings/llm-settings/openai-subscription-auth-card.tsx:99
↓ 1 callers
Function
scheduleScrollCorrectionFlush
()
src/components/conversation-events/chat/messages.tsx:1044
↓ 1 callers
Function
scheduleSendTimeout
( get: () => OptimisticUserMessageStore, id: string, )
src/stores/optimistic-user-message-store.ts:146
↓ 1 callers
Function
scheduleSettleFinish
()
src/hooks/use-await-context-compaction.ts:105
↓ 1 callers
Function
scheduleWidth
(element: HTMLElement)
__tests__/components/automations/automation-setup-panel.test.tsx:447
↓ 1 callers
Function
scrollToTail
()
__tests__/components/conversation-events/chat/messages-virtualization.test.tsx:1577
↓ 1 callers
Function
searchCriticEvents
( events: CriticEvent[], searchParams: URLSearchParams, )
tests/e2e/mock-llm/regressions/mock-llm-ui-regressions.spec.ts:241
↓ 1 callers
Method
searchEvents
* Search events for a conversation. Returns the raw page so callers can * paginate (via `next_page_id`) and so REST-driven history loading can *
src/api/event-service/event-service.api.ts:75
↓ 1 callers
Function
searchPaginationEvents
( events: PaginationEvent[], searchParams: URLSearchParams, )
tests/e2e/mock-llm/regressions/mock-llm-ui-regressions.spec.ts:91
↓ 1 callers
Function
secretRequestMutationKey
(toolCallId: string)
src/stores/secret-request-store.ts:25
↓ 1 callers
Function
secretUrl
(name: string)
__tests__/api/mock-secrets-api.test.ts:11
↓ 1 callers
Function
sectionOf
(title: string)
__tests__/routes/automations-tag-filter.test.tsx:190
↓ 1 callers
Function
sectionTitles
()
__tests__/routes/automations-tag-filter.test.tsx:185
↓ 1 callers
Function
seedActiveBackend
(backend: Backend)
__tests__/components/features/conversation/conversation-tabs-context-menu.test.tsx:35
↓ 1 callers
Function
seedActiveBackend
(backend: Backend)
__tests__/components/features/conversation/conversation-tabs.test.tsx:103
↓ 1 callers
Function
seedAutomationSecret
* Seed the session API key into agent-server's secrets store as * OPENHANDS_AUTOMATION_API_KEY so agents can authenticate with the * automation back
scripts/dev-with-automation.mjs:1632
↓ 1 callers
Function
seedBackend
* Seed onboarding flags + a single local backend, like the shared * {@link seedLocalStorage}, but point the backend at ``BACKEND_URL`` rather than *
tests/e2e/mock-llm/settings/mock-llm-acp-auth-banner.spec.ts:60
↓ 1 callers
Function
seedBackendAnalyticsConsent
( backendUrl = BACKEND_URL, apiKey = SESSION_API_KEY, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:73
↓ 1 callers
Function
seedBackendAnalyticsConsent
(backendUrl: string, apiKey: string)
tests/e2e/mock-llm/backends/mock-llm-cross-connect.spec.ts:160
↓ 1 callers
Function
seedCloudBackend
()
__tests__/components/onboarding/onboarding-host.test.tsx:50
↓ 1 callers
Function
seedCloudBackend
()
__tests__/components/onboarding/onboarding-modal.test.tsx:266
↓ 1 callers
Function
seedConversation
* Create a conversation directly on a backend, bypassing the UI. * * `POST /api/conversations` requires an agent config but never contacts the * LL
tests/e2e/mock-llm/backends/mock-llm-cross-connect.spec.ts:187
↓ 1 callers
Function
seedMockAgentProfiles
()
src/mocks/agent-profiles-handlers.ts:105
↓ 1 callers
Function
seedOpenHandsSettings
()
__tests__/routes/agent-settings.test.tsx:1155
↓ 1 callers
Function
seedPendingChatPreview
(conversationId: string)
src/dev/seed-pending-chat-preview.ts:14
↓ 1 callers
Function
seedRegistry
(backends: Backend[], selection: string)
__tests__/api/backend-registry/active-store.test.ts:198
↓ 1 callers
Function
seedResolvedConversation
(sandboxStatus = "RUNNING")
__tests__/components/chat/chat-interface.test.tsx:930
↓ 1 callers
Function
seedSavedServerHealth
( serverToSave: MCPServerConfig, result: ExtendedMCPTestResponse, )
src/components/features/mcp-page/custom-server-editor.tsx:106
↓ 1 callers
Function
seedUserAddedLocalBackend
()
__tests__/components/onboarding/onboarding-host.test.tsx:63
↓ 1 callers
Function
seedWithMcp
(mcpConfig: Record<string, unknown>)
__tests__/routes/agent-settings.test.tsx:945
↓ 1 callers
Function
seedWorkspaceMetadata
* Seed `selected_workspace` into the conversation metadata localStorage key. * * Uses `addInitScript` so the write happens on the real app origin wh
tests/e2e/mock-llm/files/mock-llm-files-and-git.spec.ts:45
↓ 1 callers
Function
seedWorktreeCapableParent
* Give the parent a repository/workspace, which is what marks its workspace as * able to host a worktree. Without stored metadata the parent is a scr
__tests__/services/child-conversation-launch.test.ts:169
↓ 1 callers
Function
selectLocalRowFromSecondBackend
* Seed a second backend (which becomes active, BM-001) next to the default * Local backend, then select the Local row once its health probe connects.
__tests__/components/backends/manage-backends-modal.test.tsx:117
↓ 1 callers
Function
selectNeighborAfterClose
( openPaths: string[], closedPath: string, selectedPath: string | null, )
src/stores/files-tab-store.ts:45
↓ 1 callers
Function
selectOption
(index: number)
src/components/features/mcp-page/install-server-modal.tsx:245
↓ 1 callers
Function
selectTab
(tab: ConversationTab)
src/hooks/use-select-conversation-tab.ts:48
↓ 1 callers
Function
selectTheme
(page: Page, name: string)
tests/e2e/paper-theme.spec.ts:41
↓ 1 callers
Function
selectWorkspace
(orgId: string)
__tests__/routes/automations-dashboard.test.tsx:563
↓ 1 callers
Function
selectionVia
(gitProviderId?: number)
__tests__/hooks/use-remembered-repository-selection.test.tsx:52
↓ 1 callers
Function
selfHostedGithub
An Enterprise instance offering GitHub natively, connected when `connected`.
__tests__/components/manifest/manifest-setup-dialog.test.tsx:129
↓ 1 callers
Function
sendMessage
(page: Page)
tests/e2e/mock-llm/conversations/mock-llm-message-confirmation.spec.ts:18
↓ 1 callers
Function
sendMine
()
__tests__/routes/automations-dashboard.test.tsx:797
↓ 1 callers
Function
sendWebSocketAuth
( socket: Pick<WebSocket, "send">, sessionApiKey: string | null | undefined, )
src/utils/websocket-auth.ts:4
↓ 1 callers
Function
sentBuildPrompt
()
__tests__/components/chat/chat-interface.test.tsx:1444
↓ 1 callers
Function
serve
(port: int = 9999)
tests/e2e/mock-llm/scripts/mock-llm-server.py:473
↓ 1 callers
Function
serveAutomations
(automations: Automation[])
__tests__/routes/automations-list.test.tsx:944
↓ 1 callers
Function
serveCanvasExtensionApi
* Serve the Canvas Extension API contract from the demo fixture. Registered * after `routeSessionApiKey` so it takes precedence for these routes only
tests/e2e/mock-llm/canvas-extensions/mock-llm-canvas-extensions.spec.ts:56
↓ 1 callers
Function
serveCloud
({ oauthV2LoginEnabled }: { oauthV2LoginEnabled: boolean })
__tests__/components/features/home/repo-selection-git-provider-connections.test.tsx:62
↓ 1 callers
Function
serveCloud
({ oauthV2LoginEnabled, connections = [], }: { oauthV2LoginEnabled: boolean; connections?: unknown[];
__tests__/hooks/use-remembered-repository-selection.test.tsx:64
↓ 1 callers
Function
serveCloud
({ oauthV2LoginEnabled, connections = [], }: { oauthV2LoginEnabled: boolean; connections?: unknown[];
__tests__/hooks/use-git-provider-options.test.tsx:63
↓ 1 callers
Function
serveCloud
* Serves `/installations/search` and `/repositories/search` from fixed data. * `pages[installation][pageId]` holds one page; page ids chain in key or
__tests__/hooks/query/use-git-repositories-cloud-installations.test.tsx:55
↓ 1 callers
Function
serveCloudUser
(permissions: string[])
__tests__/components/features/sidebar/sidebar-onboarding-checklist.test.tsx:516
↓ 1 callers
Function
serveDismissal
Serves the guide's dismissal and records each request body.
__tests__/components/features/setup-guide/super-admin-setup-guide.test.tsx:132
↓ 1 callers
Function
serveInjectedIndexHtml
* Serve index.html with runtime config injected into <head>. * Returns true if the response was written, false if the file was not found.
scripts/static-server.mjs:454
↓ 1 callers
Function
serveSetupGuide
* Serves `/me` and the setup state for the cloud host and counts the * requests, so cases can assert who asks the server for a guide.
__tests__/components/features/setup-guide/super-admin-setup-guide.test.tsx:105
↓ 1 callers
Function
serveWorkspaceHooks
(body: object, status = 200)
__tests__/api/agent-server-conversation-service.test.ts:2783
↓ 1 callers
Function
serverInfo
(version?: unknown, sdkVersion?: string)
src/api/agent-server-compatibility.test.ts:19
↓ 1 callers
Function
serverInfo
(version: string)
src/api/agent-server-compatibility-prerelease.test.ts:19
↓ 1 callers
Function
serverPort
(server: Server)
__tests__/scripts/ingress.test.ts:27
↓ 1 callers
Function
serverStore
(dir = mkdtempSync(join(tmpdir(), "mars-server-")))
__tests__/scripts/mars-credentials.test.ts:196
↓ 1 callers
Function
sessionCount
(lng: string, count: number)
__tests__/i18n/mars-session-count.test.ts:9
↓ 1 callers
Function
sessionKeyPolicyBlock
()
__tests__/scripts/docker-session-key-policy.test.ts:20
↓ 1 callers
Method
session_update
(self, session_id, update, **kwargs)
tests/e2e/mock-llm/scripts/test_mock_acp_server.py:18
↓ 1 callers
Function
setActionValue
(kind: string)
src/components/features/manifest/manifest-setup-dialog.tsx:380
↓ 1 callers
Function
setActiveBackend
(kind: "cloud" | "local")
__tests__/hooks/query/use-bash-command-logs.test.tsx:59
↓ 1 callers
Function
setActiveTabState
(tab: "files" | "planner")
__tests__/components/features/conversation/conversation-tabs.test.tsx:112
↓ 1 callers
Function
setAttachments
({ images = [], files = [], }: { images?: File[]; files?: File[]; } = {})
__tests__/hooks/chat/chat-submission-behavior.test.tsx:61
↓ 1 callers
Function
setAutomationFormSessionRepositories
( conversationId: string, repositories: AutomationRepository[], )
src/api/automation-form-session.ts:266
↓ 1 callers
Function
setBootPhase
* Phase marker: headline + a line in the startup-log console, so the log * records which stage a failed boot died in.
electron/main.mjs:626
↓ 1 callers
Function
setClipboard
(value: unknown)
__tests__/utils/copy-to-clipboard.test.ts:16
↓ 1 callers
Function
setConsumedNonceMap
(nonces: Record<string, number>)
src/components/providers/telemetry-provider.tsx:123
↓ 1 callers
Function
setConversation
(partial: Partial<AppConversation> | null)
__tests__/hooks/query/use-bash-command-logs.test.tsx:66
← previous
next →
4,601–4,700 of 6,870, ranked by callers