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
requireValue
(name, value)
tests/e2e/live/scripts/upsert-pr-comment.mjs:35
↓ 1 callers
Function
rerenderProvider
( view: ReturnType<typeof renderProvider>, props: Partial<ProviderProps>, )
__tests__/contexts/conversation-websocket-provider.behavior.test.tsx:3210
↓ 1 callers
Function
resetAutomationMockData
()
src/mocks/automation-handlers.ts:233
↓ 1 callers
Function
resetCanvasExtensionsMockData
()
src/mocks/canvas-extensions-handlers.ts:72
↓ 1 callers
Function
resetChangeFlags
()
src/components/features/automations/git-sync/git-sync-config-form.tsx:98
↓ 1 callers
Function
resetManualResize
()
src/hooks/use-auto-resize.ts:143
↓ 1 callers
Function
resetMockAgentProfiles
()
src/mocks/agent-profiles-handlers.ts:94
↓ 1 callers
Function
resetMockWorkspaces
()
src/mocks/workspaces-handlers.ts:32
↓ 1 callers
Function
resize
(panel: HTMLElement, height: number)
__tests__/components/backends/add-backend-modal.test.tsx:241
↓ 1 callers
Function
resolveAffectedTests
(files: string[])
__tests__/e2e/resolve-affected-tests.test.ts:24
↓ 1 callers
Function
resolveAgentProfileLlmSettings
* Resolve the encrypted LLM config the given AgentProfile launches with, as a * fallback for `resolveLlmProfileSettings`. AgentProfiles hold a refere
src/api/agent-server-adapter.ts:1474
↓ 1 callers
Function
resolveAgentProfileSkillEnablement
* The skill selection of the parent's agent profile, or of the active one when * the parent recorded none. `null` — caller falls back to the global l
src/api/agent-server-adapter.ts:1520
↓ 1 callers
Function
resolveAnchor
( selector: string, timeoutMs: number, )
src/components/features/setup-guide/tour/tour-engine.ts:107
↓ 1 callers
Function
resolveAutomationSetupCapabilities
* What the automation service supports, for the setup assistant's form tool. * Shares the setup form's query, so an answer it already holds is reused
src/hooks/mutation/resolve-conversation-launch.ts:217
↓ 1 callers
Function
resolveBackendOrgLabel
* Resolve the connected organization label for a backend row, mirroring the * per-org labelling used by the backend selector. Cloud API keys are boun
src/components/features/backends/manage-backends-modal.tsx:55
↓ 1 callers
Function
resolveCollapsedPreviewPool
* Builds the frozen collapsed-preview pool for a folder. * * Global "Load more" may fetch later pages that add conversations to an * already-visibl
src/components/features/conversation-panel/conversation-panel-list-helpers.ts:101
↓ 1 callers
Function
resolveColor
(value: string)
__tests__/components/features/home/home-chat-launcher.test.tsx:528
↓ 1 callers
Function
resolveConversationHooksProjectDir
( selectedWorkspace: string | null | undefined, inContainer = false, )
src/api/conversation-workspace.ts:122
↓ 1 callers
Function
resolveCreate
()
__tests__/hooks/use-handle-plan-click.test.tsx:549
↓ 1 callers
Function
resolveDefaultProfileSkillEnablement
()
src/api/agent-server-adapter.ts:1497
↓ 1 callers
Function
resolveDetail
()
__tests__/hooks/mutation/use-activate-agent-profile.test.tsx:244
↓ 1 callers
Function
resolveDetail
()
__tests__/hooks/mutation/use-save-agent-profile.test.tsx:243
↓ 1 callers
Function
resolveEditorConfig
( env: Record<string, string> = {}, )
__tests__/scripts/docker-vscode-route-sync.test.ts:80
↓ 1 callers
Function
resolveElectronPackage
Root of the installed `electron` package, or null if it isn't resolvable.
scripts/brand-dev-electron.mjs:85
↓ 1 callers
Function
resolveEnableBrowser
(env: Record<string, string>)
__tests__/scripts/docker-browser-tools.test.ts:27
↓ 1 callers
Function
resolveEnumValue
(selected: string)
src/components/features/launch/plugin-launch-parameter-input.tsx:67
↓ 1 callers
Function
resolveFieldError
(name: string)
src/components/features/manifest/manifest-setup-dialog.tsx:588
↓ 1 callers
Function
resolveHost
( overrides: AgentServerClientOverrides, backend: Backend | null, )
src/api/agent-server-client-options.ts:35
↓ 1 callers
Function
resolveLogLevels
Resolve LOG_LEVEL / AUTOMATION_LOG_LEVEL exactly as the entrypoint does.
__tests__/scripts/docker-log-level.test.ts:30
↓ 1 callers
Function
resolveMainClient
* Resolve the main client for the given event. * Client that issues a request doesn't necessarily equal the client * that registered the worker. It'
public/mockServiceWorker.js:189
↓ 1 callers
Function
resolveMarsStateDir
(env = process.env)
scripts/mars-web-bridge.mjs:138
↓ 1 callers
Function
resolveMarsWebKey
({ env = process.env, sessionApiKey = null, } = {})
scripts/mars-web-bridge.mjs:123
↓ 1 callers
Function
resolveResult
( request: SecretRequest, savedSecret: CustomSecretInput | null, )
src/services/secret-request.ts:48
↓ 1 callers
Function
resolveRuntimeImports
* Run `await import("sirv"); await import("httpxy")` with a real Node * process whose cwd is the packaged app dir — exactly how the spawned * static
__tests__/scripts/electron-builder-config.test.ts:52
↓ 1 callers
Function
resolveSdkString
( agentSettings: Record<string, unknown>, key: string, defaultValue: string, allowEmpty = false, )
src/hooks/query/use-settings.ts:41
↓ 1 callers
Function
resolveSelectedPath
( openPaths: string[], selectedPath: string | null, )
src/stores/files-tab-store.ts:58
↓ 1 callers
Function
resolveSessionContext
* The agent the active session belongs to and that agent's sessions; for a * session launched outside any listed agent, the team's other sessions.
src/components/features/sidebar/mars-session-panel.tsx:67
↓ 1 callers
Function
resolveStaleFetch
()
__tests__/hooks/query/use-git-sync.test.tsx:100
↓ 1 callers
Function
resolveStaticServerArgs
(allowLanSessionKey: string | undefined)
__tests__/scripts/docker-session-key-policy.test.ts:29
↓ 1 callers
Function
resolveStaticUrl
(node)
eslint.config.js:73
↓ 1 callers
Function
resolveVersion
()
scripts/download-node.mjs:109
↓ 1 callers
Function
resolveVersion
()
scripts/download-uv.mjs:80
↓ 1 callers
Function
resolveWithinCwd
(label, filePath)
tests/e2e/mock-llm/scripts/upsert-pr-comment.mjs:50
↓ 1 callers
Function
resolveWithinCwd
(label, filePath, options = {})
tests/e2e/live/scripts/upsert-pr-comment.mjs:61
↓ 1 callers
Function
resolvedLLMModel
(apiKeySource)
tests/e2e/live/scripts/run-live-e2e.mjs:68
↓ 1 callers
Function
respondWith
(outcome: "success" | { error: unknown })
src/components/features/automations/git-sync/git-sync-config-form.test.tsx:45
↓ 1 callers
Function
respondWithMock
* @param {Response} response * @returns {Response}
public/mockServiceWorker.js:323
↓ 1 callers
Function
restUsage
( contextWindow: number | null, perTurnToken: number | null, )
__tests__/hooks/use-context-window-usage.test.ts:40
↓ 1 callers
Function
restoreBundledNodeNpm
* Restore the bundled Node distribution's root-level `node_modules` (npm * itself), which electron-builder silently refuses to copy, then verify the
electron-builder.config.mjs:244
↓ 1 callers
Function
restorePlanningConversationIds
(options: { conversationId: string; serverPlanningConversationId: string | null; subConversationTaskId:
src/hooks/use-handle-plan-click.ts:59
↓ 1 callers
Function
restoreRuntimeNodeModules
* Copy the dependency closure of RUNTIME_PACKAGES from the repo's * node_modules into the packaged app's Resources/app/node_modules so the * spawned
electron-builder.config.mjs:171
↓ 1 callers
Function
resumeCursor
* First-connect `after_seq` from the runtime's event count. * * Locally the count and the page are the same log, so the socket resumes at * the cou
src/hooks/query/conversation-history-query-options.ts:61
↓ 1 callers
Function
retiringIds
(frames: Frame[])
__tests__/contexts/conversation-websocket-context.test.tsx:1733
↓ 1 callers
Function
retryDelayMs
(attempt, response)
tests/e2e/mock-llm/scripts/upsert-pr-comment.mjs:80
↓ 1 callers
Function
retryDelayMs
(attempt, response)
tests/e2e/live/scripts/upsert-pr-comment.mjs:105
↓ 1 callers
Function
revokeToken
(token, fetchImpl = globalThis.fetch)
scripts/mars-oauth.mjs:245
↓ 1 callers
Function
rewriteJsonResponse
(transform, { limit })
scripts/proxy-utils.mjs:199
↓ 1 callers
Function
routeBackendSessionApiKey
(page: Page)
tests/e2e/live/utils/agent-server-conversation.ts:73
↓ 1 callers
Function
routeCriticConversation
Intercept conversation lookup + event search for critic rendering tests.
tests/e2e/mock-llm/regressions/mock-llm-ui-regressions.spec.ts:298
↓ 1 callers
Function
routeOnboardingLlmCatalog
(page: Page)
tests/e2e/support/onboarding-helpers.ts:15
↓ 1 callers
Function
routePaginationConversation
Intercept conversation lookup + event search for pagination tests.
tests/e2e/mock-llm/regressions/mock-llm-ui-regressions.spec.ts:237
↓ 1 callers
Function
routeSessionFrame
( raw: unknown, batcher: StreamingDeltaBatcher | null, /** Report a durable frame's `seq` to this socket
src/contexts/conversation-websocket-context.tsx:209
↓ 1 callers
Function
rowFor
(name: string)
tests/e2e/mock-llm/settings/mock-llm-profile-management.spec.ts:133
↓ 1 callers
Function
rpc
( baseUrl: string, method: string, args: unknown[], fetchImpl: typeof fetch, )
src/api/mars/mars-web-bridge.ts:97
↓ 1 callers
Function
run
(action: () => Promise<unknown>)
src/components/features/sidebar/mars-session-panel.tsx:268
↓ 1 callers
Function
run
(command, cwd, timeout)
src/hooks/query/use-local-git-info.ts:145
↓ 1 callers
Function
runAsOf
(call: unknown[] | undefined)
__tests__/components/automations/automation-setup-panel.test.tsx:2768
↓ 1 callers
Function
runCount
(automation: Automation, byId: Summaries)
src/manifests/automation-insights.ts:211
↓ 1 callers
Function
runDate
(run: AutomationRun)
src/components/features/automations/detail/activity-log-section.tsx:71
↓ 1 callers
Function
runFixture
( page: Page, historyCount: number, lineCount: number, )
tests/e2e/conversation-markdown-render-performance.spec.ts:36
↓ 1 callers
Function
runPlaywright
(args)
tests/e2e/live/scripts/run-live-e2e.mjs:215
↓ 1 callers
Function
runPostinstall
(isGlobal: boolean)
__tests__/package-library.test.ts:115
↓ 1 callers
Function
runPreflightAgainst
(error: unknown)
__tests__/hooks/use-manifest-preflight.test.tsx:30
↓ 1 callers
Function
runPreflightValidation
()
src/components/features/automations/setup/automation-setup-panel.tsx:1659
↓ 1 callers
Function
runReport
(osError: string)
__tests__/scripts/docker-entrypoint-preflight.test.ts:91
↓ 1 callers
Function
runsAsServiceAccount
(automation: Automation)
src/manifests/automation-insights.ts:197
↓ 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:142
↓ 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:2348
↓ 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:1918
↓ 1 callers
Function
saved
(name: string)
__tests__/hooks/mutation/use-apply-onboarding-agent-profile.test.tsx:35
← previous
next →
4,401–4,500 of 6,701, ranked by callers