Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
6,701 in github.com/OpenHands/OpenHands
⨍
Functions
6,701
◇
Types & classes
1,401
↓ 1 callers
Function
commandExists
(command)
tests/e2e/live/scripts/run-live-e2e.mjs:33
↓ 1 callers
Function
commitEventSourceInput
(typed: string, knownSources: string[])
src/components/features/automations/setup/automation-setup-panel.tsx:3466
↓ 1 callers
Function
compareEventsByTimestamp
(a: OHEvent, b: OHEvent)
src/stores/use-event-store.ts:28
↓ 1 callers
Function
compiledStyles
(container: HTMLElement)
__tests__/components/features/conversation/conversation-overview-drawer-content.test.tsx:218
↓ 1 callers
Function
completeAgentStep
(user: ReturnType<typeof userEvent.setup>)
__tests__/components/onboarding/onboarding-modal.test.tsx:217
↓ 1 callers
Function
composite
Composite a translucent overlay onto an opaque backdrop.
__tests__/components/features/chat/components/context-window-ring.test.tsx:49
↓ 1 callers
Function
computeLineDiff
(oldText: string, newText: string)
src/components/features/chat/tool-visualizers/primitives/diff-view.tsx:68
↓ 1 callers
Function
computeVisiblePillCount
( widths: number[], containerWidth: number, )
src/components/features/skills/skill-card-pill-row.tsx:37
↓ 1 callers
Function
concatStream
(outputs: BashOutput[], key: "stdout" | "stderr")
src/components/features/automations/detail/run-logs-modal.tsx:56
↓ 1 callers
Function
condensationEvent
(id: string)
src/hooks/use-await-context-compaction.test.ts:11
↓ 1 callers
Function
condensationEvent
(id: string)
src/hooks/use-compact-context-action.test.tsx:31
↓ 1 callers
Function
configSettled
()
__tests__/hooks/query/use-service-accounts.test.tsx:96
↓ 1 callers
Function
configureLiveAgentServer
( request: APIRequestContext, options: ConfigureLiveAgentServerOptions = {}, )
tests/e2e/live/utils/agent-server-conversation.ts:104
↓ 1 callers
Function
configurePostHogBootstrap
( bootstrap: BootstrapConfig | undefined, )
src/services/telemetry.ts:398
↓ 1 callers
Function
configuredServerName
(server: MCPServerConfig)
src/utils/mcp-installed-server-display.ts:4
↓ 1 callers
Function
confirmPendingAction
()
src/components/features/backends/managed-agents/managed-agents-view.tsx:262
↓ 1 callers
Function
connectNatively
* The git providers the user has connected natively on the active backend. A * pair names the host the server reports for a self-managed connection.
__tests__/components/manifest/manifest-form-field.test.tsx:115
↓ 1 callers
Function
connectSession
* Connect over the port-forward tunnel. `host` is what the renderer * registers as the backend's base URL: the loopback listener this process *
scripts/mars-tunnel-bridge.mjs:182
↓ 1 callers
Function
connectedStatus
(accountEmail: string)
__tests__/hooks/query/use-llm-subscription-queries.test.tsx:45
↓ 1 callers
Function
connection
(id: number, title: string)
__tests__/components/features/home/repo-selection-git-provider-connections.test.tsx:38
↓ 1 callers
Function
connection
( id: number, title: string, overrides: Record<string, unknown> = {}, )
__tests__/hooks/use-git-provider-options.test.tsx:48
↓ 1 callers
Function
constructIssueUrl
( issueNumber: number, provider: Provider, repositoryName: string, )
src/api/git-provider-items-service.ts:56
↓ 1 callers
Function
continueGithubResponderLocally
()
__tests__/components/automations/recommended-automations.test.tsx:206
↓ 1 callers
Function
contract
( section: string, value_type: string, defaultValue: unknown, prominence: string,
__tests__/api/mock-settings-persistence.test.ts:108
↓ 1 callers
Function
contrast
(ink: number[], surface: number[])
__tests__/components/features/files-tab/file-content-viewer.test.tsx:320
↓ 1 callers
Function
contrast
(ink: number, surface: number)
__tests__/themes/color-themes.test.tsx:243
↓ 1 callers
Function
contrastRatio
(a: string, b: string)
__tests__/components/features/chat/components/context-window-ring.test.tsx:41
↓ 1 callers
Function
conversation
(overrides: Partial<AppConversation> = {})
__tests__/hooks/query/use-acp-session-models.test.tsx:36
↓ 1 callers
Function
cookieHeader
()
scripts/mars-web-bridge.mjs:437
↓ 1 callers
Function
copy
(value: string)
src/routes/automation-events.tsx:73
↓ 1 callers
Function
copyMedia
(sourcePath, outputDir, targetBase, fallbackExt)
tests/e2e/live/scripts/extract-live-e2e-media.mjs:169
↓ 1 callers
Function
countByValue
( skills: SkillInfo[], def: GroupDef, isEnabled: SkillEnabledPredicate, )
src/components/features/skills/skill-filter.ts:295
↓ 1 callers
Function
countOccurrences
(haystack: string, needle: string)
__tests__/components/conversation-events/chat/duplicate-streamed-message.test.tsx:30
↓ 1 callers
Function
countTextDiffStats
( original: string, modified: string, )
src/utils/git-diff-stats.ts:45
↓ 1 callers
Function
createACPEvent
()
src/components/conversation-events/chat/event-content-helpers/get-event-content.test.tsx:130
↓ 1 callers
Function
createAction
(label: string, onClick: () => void)
src/extensions/canvas-extension-app-view.ts:81
↓ 1 callers
Function
createActionEvent
( action: Action, overrides: Partial<ActionEvent> = {}, )
src/components/conversation-events/chat/event-content-helpers/get-event-content.test.tsx:70
↓ 1 callers
Function
createAgent
(input: NewMarsAgentInput)
src/components/features/backends/managed-agents/digitalocean-connect-panel.tsx:270
↓ 1 callers
Function
createAgentAction
(id: string)
__tests__/hooks/use-filtered-events.test.ts:23
↓ 1 callers
Function
createAllPaginationEvents
(prefix: string)
tests/e2e/mock-llm/regressions/mock-llm-ui-regressions.spec.ts:67
↓ 1 callers
Function
createAnchor
(rect: Partial<DOMRect> = {})
__tests__/components/features/conversation/conversation-name-context-menu.test.tsx:39
↓ 1 callers
Function
createAppBackendViewClient
( name: string, backend: Backend, )
src/api/canvas-extensions-service.ts:120
↓ 1 callers
Function
createAutomation
(overrides: Partial<Automation>)
__tests__/routes/automations-dashboard.test.tsx:114
↓ 1 callers
Function
createAutomation
(overrides: Partial<Automation>)
__tests__/routes/automations-tag-filter.test.tsx:67
↓ 1 callers
Function
createAutomation
(overrides: Partial<Automation> = {})
__tests__/manifests/automation-insights.test.ts:19
↓ 1 callers
Function
createAxiosError
({ directStatus = false, message = "Request failed", status, url, }: ErrorOptions = {})
__tests__/query-client-config.behavior.test.ts:24
↓ 1 callers
Function
createAxiosErrorWithBody
(body: unknown)
__tests__/utils/retrieve-axios-error-message.test.ts:21
↓ 1 callers
Function
createBackend
(overrides: Partial<Backend> = {})
__tests__/query-client-config.behavior.test.ts:41
↓ 1 callers
Function
createBashAction
()
__tests__/routes/shared-conversation-viewer-behavior.test.tsx:108
↓ 1 callers
Function
createBashActionEvent
( id: string, command: string, )
__tests__/components/conversation-events/chat/messages-confirmation.test.tsx:45
↓ 1 callers
Function
createBashActionEvent
( id: string, command: string, thoughtText: string, overrides?: Partial<ActionEvent<ExecuteBashAction>
__tests__/components/conversation-events/chat/event-message-think-action.test.tsx:62
↓ 1 callers
Function
createBashObservation
()
__tests__/routes/shared-conversation-viewer-behavior.test.tsx:135
↓ 1 callers
Function
createBashObservationEvent
( action: ActionEvent<ExecuteBashAction>, )
__tests__/components/conversation-events/chat/messages-confirmation.test.tsx:75
↓ 1 callers
Function
createChatInput
(message: string)
__tests__/hooks/chat/chat-submission-behavior.test.tsx:15
↓ 1 callers
Function
createChild
(isolation: ChildConversationIsolation)
src/services/child-conversation-launch.ts:279
↓ 1 callers
Function
createClipboardEvent
({ files = [], text = "", }: { files?: File[]; text?: string; })
__tests__/hooks/chat/use-chat-input-events.test.tsx:35
↓ 1 callers
Function
createCloudPaginationConversation
()
src/mocks/conversation-handlers.ts:220
↓ 1 callers
Function
createCloudProviderConnection
( request: CreateProviderConnectionRequest, )
src/api/cloud/provider-connections-service.api.ts:65
↓ 1 callers
Function
createConfig
( feature_flags: Partial<WebClientConfig["feature_flags"]> = {}, )
__tests__/hooks/use-settings-nav-items.test.tsx:35
↓ 1 callers
Function
createConversation
( id: string, overrides: Partial<AppConversation> = {}, )
__tests__/components/features/conversation-panel/conversation-group-folder-interactions.test.tsx:50
↓ 1 callers
Function
createConversationHookState
( overrides: Partial<ConversationHookState> = {}, )
__tests__/routes/shared-conversation-viewer-behavior.test.tsx:194
↓ 1 callers
Function
createCriticEvents
()
tests/e2e/mock-llm/regressions/mock-llm-ui-regressions.spec.ts:160
↓ 1 callers
Function
createDeferred
()
__tests__/components/features/conversation/transcript-export-modal.test.tsx:106
↓ 1 callers
Function
createDeferred
()
__tests__/hooks/mutation/pause-conversation-mutation-behavior.test.tsx:76
↓ 1 callers
Function
createDraftRevision
()
src/utils/conversation-local-storage.ts:255
↓ 1 callers
Function
createDragEvent
({ files = [], relatedTarget = null, }: { files?: File[]; relatedTarget?: EventTarget | null; } = {})
__tests__/hooks/chat/use-file-handling.test.tsx:9
↓ 1 callers
Function
createElementRef
(text = "message")
__tests__/hooks/chat/use-chat-input-events.test.tsx:8
↓ 1 callers
Function
createFile
(name: string)
__tests__/hooks/chat/use-file-handling.test.tsx:6
↓ 1 callers
Function
createFile
(name: string, type: string)
__tests__/hooks/chat/use-chat-attachment-upload.test.tsx:46
↓ 1 callers
Function
createFileInput
(fileName: string)
__tests__/hooks/chat/chat-submission-behavior.test.tsx:32
↓ 1 callers
Function
createFileList
(files: File[])
__tests__/components/features/chat/utils/chat-input.utils.test.ts:20
↓ 1 callers
Function
createFileLogger
* Attempt to construct a winston-backed file logger. Returns `null` if * winston isn't installed (packaged desktop app) or any setup step fails; * `
scripts/logger.mjs:47
↓ 1 callers
Function
createFlow
( overrides: Partial<UseDeviceFlowReturn> = {}, )
__tests__/components/backends/device-flow-login.test.tsx:35
↓ 1 callers
Function
createHarness
()
__tests__/hooks/query/use-git-sync.test.tsx:67
↓ 1 callers
Function
createHiddenSystemPrompt
()
__tests__/routes/shared-conversation-viewer-behavior.test.tsx:162
↓ 1 callers
Function
createHookScenario
({ includeElement = true, minHeight = 20, maxHeight = 120, enableManualResize, callbacks = true, .
__tests__/hooks/use-auto-resize.test.tsx:100
↓ 1 callers
Function
createHttpError
(status: number, statusText: string, body: unknown)
__tests__/utils/retrieve-axios-error-message.test.ts:12
↓ 1 callers
Function
createImage
(name = "diagram.png")
__tests__/components/features/chat/uploaded-image-preview.test.tsx:49
↓ 1 callers
Function
createInstalledAutomation
(templateId?: string)
__tests__/utils/automation-catalog.test.ts:78
↓ 1 callers
Function
createInterfaceManifestWith
( overrides: Record<string, unknown>, )
__tests__/manifests/manifest-test-data.ts:141
↓ 1 callers
Function
createIsolatedEnv
Create an isolated state dir + session key for a child stack instance.
tests/e2e/mock-llm/backends/mock-llm-partial-stack.spec.ts:116
↓ 1 callers
Function
createIsolatedEnv
( ingressPort: string, extra: Record<string, string> = {}, )
tests/e2e/mock-llm/backends/mock-llm-cross-connect.spec.ts:78
↓ 1 callers
Function
createKeyboardEvent
({ key = "Enter", composing = false, shiftKey = false, }: { key?: string; composing?: boolean; shi
__tests__/hooks/chat/use-chat-input-events.test.tsx:19
↓ 1 callers
Function
createLiveConversation
( request: APIRequestContext, options: ConfigureLiveAgentServerOptions = {}, )
tests/e2e/live/utils/agent-server-conversation.ts:217
↓ 1 callers
Function
createMainWindow
()
electron/main.mjs:385
↓ 1 callers
Function
createMarsWebBridge
( baseUrl = "", fetchImpl: typeof fetch = (...params) => fetch(...params), )
src/api/mars/mars-web-bridge.ts:130
↓ 1 callers
Function
createMcpProbeClient
({ host, apiKey, }: { host: string; apiKey?: string; })
src/api/mcp-service/mcp-service.api.ts:166
↓ 1 callers
Function
createMessage
* Creates a minimal message event with the same SDK shape used by history.
src/fixtures/canvas-demo-conversation.ts:45
↓ 1 callers
Function
createMessageEvent
( overrides: Partial<MessageEvent> = {}, )
src/components/conversation-events/chat/event-content-helpers/get-event-content.test.tsx:106
↓ 1 callers
Function
createMessageEvent
( source: MessageEvent["source"], role: MessageEvent["llm_message"]["role"], text: string, )
__tests__/components/conversation-events/chat/event-message-corrective-nudge.test.tsx:26
↓ 1 callers
Function
createMessageEvent
( id: string, text: string, source: "agent" | "user" = "user", )
__tests__/routes/shared-conversation-viewer-behavior.test.tsx:92
↓ 1 callers
Function
createMissingRouterLlmProfiles
( config: MetaProfile, providerConnectionId: string, )
src/components/features/settings/meta-llm-profiles/meta-llm-settings-view.tsx:165
↓ 1 callers
Function
createMockChatInputRef
(initialContent = "")
__tests__/hooks/use-draft-persistence.test.tsx:33
↓ 1 callers
Function
createMockDataTransfer
({ files = [], items = [], }: { files?: File[]; items?: Array<{ kind: string; type: string; file: File
__tests__/components/features/chat/utils/chat-input.utils.test.ts:31
↓ 1 callers
Function
createMockLlmProfilesReturn
* Helper to create properly typed mock return values for useLlmProfiles. * This avoids incomplete `as unknown as` casts by providing all required fie
__tests__/components/settings/llm-profiles/llm-settings-local-view.test.tsx:172
↓ 1 callers
Function
createMockLlmProfilesReturn
* Helper to create properly typed mock return values for useLlmProfiles.
__tests__/routes/llm-settings.test.tsx:106
↓ 1 callers
Function
createMockMutationReturn
* Helper to create properly typed mock mutation return values. * Includes all standard React Query mutation fields.
__tests__/components/settings/llm-profiles/llm-settings-local-view.test.tsx:191
↓ 1 callers
Function
createMockScrollElement
* Creates a mock scroll element with a trackable scrollTop setter. * * state.scrollTop can be set directly (bypassing the spy) to position * the el
__tests__/hooks/use-scroll-to-bottom.test.ts:12
↓ 1 callers
Function
createMockTask
( status: AppConversationStartTask["status"], appConversationId: string | null = null, )
__tests__/hooks/query/use-sub-conversation-task-polling.test.tsx:37
↓ 1 callers
Function
createNavigationValue
( overrides: Partial<NavigationContextValue> = {}, )
test-utils.tsx:57
← previous
next →
2,501–2,600 of 6,701, ranked by callers