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
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:937
↓ 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:564
↓ 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:799
↓ 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:1451
↓ 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:282
↓ 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
↓ 1 callers
Function
setConversationEvents
( conversationId: string, events: OpenHandsEvent[] = [], )
__tests__/hooks/use-load-older-events.test.tsx:117
↓ 1 callers
Function
setFieldValue
(name: string, value: SetupFormValue)
src/components/features/manifest/manifest-setup-dialog.tsx:420
↓ 1 callers
Function
setInjected
(value: unknown)
__tests__/utils/vscode-origin.test.ts:7
↓ 1 callers
Function
setInjectedCloudHost
(value: unknown)
__tests__/api/agent-server-config.test.ts:85
↓ 1 callers
Function
setInjectedKey
(value: unknown)
__tests__/api/agent-server-config.test.ts:257
↓ 1 callers
Function
setInnerWidth
(value: number)
__tests__/hooks/use-popover-fixed-placement.test.ts:10
↓ 1 callers
Function
setInputText
( element: HTMLDivElement, text: string, cursorOffset = text.length, )
__tests__/hooks/chat/use-slash-command.test.ts:84
↓ 1 callers
Function
setMenuScrollMetrics
( menu: HTMLElement, { scrollTop, scrollHeight = 100, clientHeight = 20, }: { scrollTop: num
__tests__/components/features/home/git-repo-dropdown.test.tsx:148
↓ 1 callers
Function
setMode
(mode: "STANDARD" | "CHOOSE")
__tests__/routes/agent-settings-tool-selection.test.tsx:117
↓ 1 callers
Function
setNoConversation
* What `useUserConversation(null)` really returns: a disabled query, pending * forever and never loading. Script automation runs land here because th
__tests__/hooks/query/use-bash-command-logs.test.tsx:79
↓ 1 callers
Function
setScrollMetrics
( el: HTMLElement, metrics: { scrollTop: number; scrollHeight: number; clientHeight: number }, )
__tests__/components/chat/chat-interface.test.tsx:411
↓ 1 callers
Function
setScrollMetrics
({ clientHeight, element, scrollHeight, scrollTop, }: { clientHeight: number; element: HTMLElement
__tests__/hooks/use-infinite-scroll.test.tsx:17
↓ 1 callers
Function
setShell
(platform: string | undefined)
__tests__/utils/desktop-shell.test.ts:8
↓ 1 callers
Function
setStore
( overrides: Partial<{ images: File[]; files: File[]; loadingFiles: string[]; loadingImages:
src/components/features/chat/uploaded-files.test.tsx:74
↓ 1 callers
Function
setStoredSelectedWorkspacePath
(path: string | null)
src/components/features/home/workspace-selection-form.tsx:54
↓ 1 callers
Function
setTasks
(tasks: TestTask[])
__tests__/routes/task-list-tab.test.tsx:48
↓ 1 callers
Function
setTourActive
A tour opens or closes while the guide is on the page.
__tests__/components/features/setup-guide/super-admin-setup-guide.test.tsx:57
↓ 1 callers
Function
setTriggerValue
(kind: string)
src/components/features/manifest/manifest-setup-dialog.tsx:371
↓ 1 callers
Function
setUserAgent
(userAgent: string)
__tests__/contexts/conversation-websocket-provider.behavior.test.tsx:2854
↓ 1 callers
Function
setUserAgent
(userAgent: string)
__tests__/hooks/use-page-visibility-reconnect.test.ts:10
↓ 1 callers
Function
setVisibility
(state: "visible" | "hidden")
__tests__/contexts/conversation-websocket-provider.behavior.test.tsx:2858
↓ 1 callers
Function
setVisibility
(state: "visible" | "hidden")
__tests__/hooks/use-page-visibility-reconnect.test.ts:14
↓ 1 callers
Function
setWindowWidth
(width: number)
__tests__/hooks/use-conversation-panel-route.test.tsx:16
↓ 1 callers
Function
setWindowWidth
(width: number)
__tests__/hooks/use-breakpoint.test.ts:6
↓ 1 callers
Function
settings
(overrides: Record<string, unknown> = {})
__tests__/hooks/use-migrate-enabled-skills.test.tsx:20
↓ 1 callers
Function
settingsClient
(backend: Backend)
src/api/experimental-features-service/experimental-features-service.api.ts:19
↓ 1 callers
Function
settingsItemIds
(items: ReturnType<typeof createCommandMenuItems>)
__tests__/components/features/command-menu/command-menu-items.test.tsx:31
↓ 1 callers
Function
settingsResponse
(model: string)
__tests__/api/settings-service.test.ts:55
↓ 1 callers
Function
settingsWith
(overrides: Partial<Settings> = {})
__tests__/hooks/use-migrate-default-agent-profile.test.ts:64
↓ 1 callers
Function
settingsWith
(overrides: Partial<Settings>)
__tests__/hooks/mutation/sync-agent-profiles.test.ts:95
↓ 1 callers
Function
settingsWithGithubMcp
()
__tests__/components/automations/recommended-automations.test.tsx:152
↓ 1 callers
Function
settleBackendSwitch
* Wait for a backend switch triggered by a dropdown click to finish. * * `BackendSelector.handleSelectBackend` awaits a real * `ENVIRONMENT_SWITCH_
__tests__/components/backends/backend-selector.test.tsx:188
↓ 1 callers
Function
settled
(summary: Partial<AutomationRunSummary>)
__tests__/manifests/automation-insights.test.ts:47
↓ 1 callers
Function
setup
( conversationId: string | null, curAgentState: AgentState = AgentState.AWAITING_USER_INPUT, )
src/hooks/chat/use-plan-mode-interceptor.test.ts:36
↓ 1 callers
Function
setup
(conversationId: string | null)
src/hooks/chat/use-goal-interceptor.test.ts:20
↓ 1 callers
Function
setup
(text: string, caretOffset?: number)
__tests__/components/features/chat/utils/chat-input.utils.test.ts:322
↓ 1 callers
Function
setup
()
__tests__/components/features/files-tab/workspace-file-discovery-settings.test.tsx:43
↓ 1 callers
Function
setup
* `realRegistry` keeps the bridge's own tunnel registry, whose listeners bind * loopback without dialing anything until a client connects.
__tests__/scripts/mars-tunnel-bridge.test.ts:121
↓ 1 callers
Function
setup
(factoryId?: string)
__tests__/hooks/query/use-automations-backend-switch.test.tsx:665
↓ 1 callers
Function
setup
({ currentConversationId = "conversation-1", previousConversations, }: SetupOptions = {})
__tests__/hooks/mutation/use-unified-stop-conversation.test.tsx:71
↓ 1 callers
Function
setup
()
__tests__/hooks/mutation/use-update-experimental-feature.test.tsx:36
← previous
next →
4,701–4,800 of 6,964, ranked by callers