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
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:404
↓ 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
({ 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
↓ 1 callers
Function
setup
({ backendKind = "local", previousConversations, }: SetupOptions = {})
__tests__/hooks/mutation/pause-conversation-mutation-behavior.test.tsx:38
↓ 1 callers
Function
setupDependencies
()
__tests__/hooks/query/use-branch-data.test.ts:64
↓ 1 callers
Function
setupDesktopEventListeners
( handleDragMove: (event: MouseEvent | TouchEvent) => void, handleDragEnd: () => void, )
src/hooks/use-drag-resize.ts:87
↓ 1 callers
Function
setupKind
(automation: Automation)
src/utils/automation-edit-draft.ts:26
↓ 1 callers
Function
setupMobileEventListeners
( handleDragMove: (event: MouseEvent | TouchEvent) => void, handleDragEnd: () => void, )
src/hooks/use-drag-resize.ts:66
↓ 1 callers
Function
setupMocks
()
__tests__/api/agent-profiles-service.test.ts:43
↓ 1 callers
Function
setupMocks
()
__tests__/hooks/chat/use-chat-attachment-upload.test.tsx:49
↓ 1 callers
Function
setupMocks
()
__tests__/hooks/query/use-git-repositories.test.ts:80
↓ 1 callers
Function
setupPaginationTest
()
__tests__/components/chat/chat-interface.test.tsx:373
↓ 1 callers
Function
setupSuppliesEventSource
* Whether an event trigger's `source` is derivable for every selectable action. * * `buildTrigger` fills `source` from a field named `source` in the
src/manifests/manifest-validation.ts:528
↓ 1 callers
Function
setupTrajectory
Register + activate the mock LLM trajectory for a skill-triggered conversation.
tests/e2e/mock-llm/automations/mock-llm-preset-automation.spec.ts:61
↓ 1 callers
Function
severities
(source: string, filePath: string)
__tests__/scripts/arbitrary-values-lint.test.ts:15
↓ 1 callers
Function
shellHeight
()
__tests__/components/conversation-events/chat/messages-virtualization.test.tsx:1207
↓ 1 callers
Function
shellQuote
(value: string)
playwright.mock-llm.config.ts:72
↓ 1 callers
Function
shellQuote
(value: string)
playwright.live.config.ts:26
↓ 1 callers
Function
shellQuote
(value: string)
src/utils/workspace-file-discovery.ts:57
↓ 1 callers
Function
shouldCharacterStreamField
( field: AutomationSetupField, value: AutomationSetupFormValues[AutomationSetupField], )
src/components/features/automations/setup/automation-setup-panel.tsx:419
↓ 1 callers
Function
shouldDefaultToProjectsPath
( homeData: HomeDirectoryResponse | undefined, )
src/components/features/home/workspace-dropdown/folder-browser-modal.tsx:119
↓ 1 callers
Function
shouldSyncLauncherDefaultLocalBackend
( backend: Backend, defaultBackend: Backend, )
src/api/backend-registry/storage.ts:56
↓ 1 callers
Function
shouldUseMainAppCookieAuth
()
src/api/main-app-auth.ts:22
↓ 1 callers
Function
show
()
src/components/features/canvas-extensions/canvas-extension-card.test.tsx:34
↓ 1 callers
Function
showHelp
()
scripts/dev-with-automation.mjs:264
↓ 1 callers
Function
showHelp
()
scripts/dev-static.mjs:165
↓ 1 callers
Function
showHelp
()
scripts/static-server.mjs:244
↓ 1 callers
Function
showHelp
()
scripts/ingress.mjs:97
↓ 1 callers
Function
showStartupFailure
* Switch the splash into its failure state: expand the console and show the * error summary with Copy logs / Quit actions, keeping the window open so
electron/main.mjs:545
↓ 1 callers
Function
showUnverified
()
__tests__/components/settings/llm-profiles/add-models-modal.test.tsx:162
↓ 1 callers
Function
shutdown
(signal = "SIGTERM")
scripts/dev-extra-backend.mjs:190
↓ 1 callers
Function
shutdown
(signal = "SIGTERM")
scripts/dev-safe.mjs:1267
↓ 1 callers
Function
sideFor
(el: Element, requested?: GuidedTourSide)
src/components/features/setup-guide/tour/tour-engine.ts:123
↓ 1 callers
Function
sidebarCollapsedIconBgClassName
(active: boolean)
src/components/features/sidebar/sidebar-layout.ts:50
↓ 1 callers
Function
sidebarCollapsedIconGlyphClassName
(active: boolean)
src/components/features/sidebar/sidebar-layout.ts:59
↓ 1 callers
Function
sidebarHeaderRowClassName
(collapsed: boolean)
src/components/features/sidebar/sidebar-layout.ts:15
↓ 1 callers
Function
sidebarNavListClassName
(collapsed: boolean)
src/components/features/sidebar/sidebar-layout.ts:27
↓ 1 callers
Function
single
(event: OpenHandsEvent)
__tests__/components/conversation-events/chat/group-events.test.ts:1005
↓ 1 callers
Function
skillNames
(payload: unknown)
__tests__/api/agent-server-adapter.test.ts:1569
↓ 1 callers
Function
slackToolResult
(text: string, isError = false)
tests/e2e/mock-llm/mcp/mock-llm-mcp-slack-credentials.spec.ts:71
↓ 1 callers
Function
slackToolResult
(text: string, isError = false)
__tests__/api/mcp-service/mcp-service.api.test.ts:152
↓ 1 callers
Function
sleep
(ms: number)
src/api/mcp-service/mcp-service.api.ts:223
↓ 1 callers
Function
sleep
(ms)
tests/e2e/mock-llm/scripts/upsert-pr-comment.mjs:74
↓ 1 callers
Function
sleep
(ms)
tests/e2e/live/scripts/upsert-pr-comment.mjs:99
↓ 1 callers
Function
sleepSync
(ms)
scripts/dev-with-automation.mjs:1104
↓ 1 callers
Function
slot
(content: string)
__tests__/components/conversation-events/chat/streamed-reply-handoff.test.tsx:8
↓ 1 callers
Function
slotInsertIndex
( uiEvents: UIEvent[], anchorSeq: number | null | undefined, isFromPlanningAgent: boolean, )
src/utils/handle-event-for-ui.ts:50
↓ 1 callers
Function
slots
()
__tests__/contexts/conversation-websocket-context.test.tsx:1589
↓ 1 callers
Function
slotsOf
(events: OpenHandsEvent[])
__tests__/utils/handle-event-for-ui.test.ts:362
↓ 1 callers
Function
snapshot
()
src/mocks/workspaces-handlers.ts:25
↓ 1 callers
Function
snapshot
Stable form of both lists, so an unchanged set can skip the save.
src/hooks/use-skill-enablement.ts:169
↓ 1 callers
Function
sortFieldsByRenderOrder
( fields: AutomationSetupField[], )
src/components/features/automations/setup/automation-setup-panel.tsx:409
↓ 1 callers
Function
sortTreeInPlace
(node: FileTreeNode)
src/utils/file-tree.ts:8
↓ 1 callers
Function
sortedEntries
(map)
scripts/bump-pins.mjs:91
↓ 1 callers
Function
sortedKeys
(record?: Record<string, string> | null)
src/utils/mcp-server-health-key.ts:3
↓ 1 callers
Function
sourceFiles
(dir: string)
__tests__/themes/status-tone-contrast.test.ts:72
↓ 1 callers
Function
sourceFiles
(dir: string)
__tests__/themes/theme-source-guards.test.ts:7
↓ 1 callers
Function
sourceIsKnown
(source: string)
src/components/features/automations/setup/automation-setup-panel.tsx:3770
↓ 1 callers
Function
sourceLine
(source: string)
__tests__/tools/automation-form-tool.test.ts:90
↓ 1 callers
Function
spawnAgentCanvas
Spawn `bin/agent-canvas.mjs` with the given CLI flags and env overrides.
tests/e2e/mock-llm/backends/mock-llm-partial-stack.spec.ts:42
↓ 1 callers
Function
spawnAgentCanvas
( flags: string[], env: Record<string, string> = {}, )
tests/e2e/mock-llm/backends/mock-llm-cross-connect.spec.ts:51
↓ 1 callers
Function
spawnProcess
(command, args, options = {})
scripts/dev-extra-backend.mjs:99
↓ 1 callers
Function
spawnProcess
(command, args, options = {})
scripts/dev-safe.mjs:1156
← previous
next →
4,701–4,800 of 6,870, ranked by callers