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
splitArgs
(args: string)
__tests__/themes/theme-color-resolver.ts:73
↓ 1 callers
Function
srgbEncode
(linear: number)
__tests__/themes/theme-color-resolver.ts:91
↓ 1 callers
Function
stableJsonStringify
(value: unknown)
src/utils/sdk-settings-schema.ts:154
↓ 1 callers
Function
stampedProfileFor
(conversationId: string)
src/hooks/chat/record-model-switch-message.test.ts:85
↓ 1 callers
Function
start
(controller)
src/utils/tar-gzip.ts:110
↓ 1 callers
Function
start
( overrides: Partial<Parameters<typeof startStaticServer>[0]>, )
__tests__/scripts/static-server.test.ts:1121
↓ 1 callers
Function
startAgentServer
(config)
scripts/dev-static.mjs:335
↓ 1 callers
Function
startAutomationBackend
(config)
scripts/dev-with-automation.mjs:1252
↓ 1 callers
Function
startAutomationBackend
(config)
scripts/dev-static.mjs:400
↓ 1 callers
Function
startCanvas
(stateDir: string)
__tests__/scripts/mars-web-bridge.test.ts:840
↓ 1 callers
Function
startFakeAgentServer
()
__tests__/scripts/mars-web-bridge.test.ts:70
↓ 1 callers
Function
startFakeHarness
* A local stand-in for MARS's port-forward endpoint: rejects the wrong path * or a bad bearer token at the HTTP-upgrade level (matching harness-api's
__tests__/scripts/tunnel-client.test.ts:31
↓ 1 callers
Function
startFakeHarness
( sessionId: string, remotePort: number, expectToken: string, )
__tests__/scripts/tunnel-registry.test.ts:394
↓ 1 callers
Function
startFakeSessionsApi
* A fake harness-api sessions endpoint. `statusSequence` is popped from the * front on each GET (repeating the last entry once exhausted), so a test
__tests__/scripts/mars-session.test.ts:20
↓ 1 callers
Function
startHandshakeWatchdog
( ws: Pick<WebSocket, "readyState" | "close">, )
src/utils/websocket-handshake.ts:17
↓ 1 callers
Function
startHttpServer
(server: Server)
__tests__/scripts/static-server.test.ts:59
↓ 1 callers
Function
startIngress
(config, { onUnexpectedExit } = {})
scripts/dev-with-automation.mjs:1485
↓ 1 callers
Function
startIngress
(config)
scripts/dev-static.mjs:512
↓ 1 callers
Function
startIngress
(config)
scripts/ingress.mjs:174
↓ 1 callers
Function
startLoad
(loadOlder: () => Promise<void>)
__tests__/hooks/use-load-older-events.test.tsx:133
↓ 1 callers
Function
startMouseDrag
( handler: (event: React.MouseEvent) => void, clientY: number, )
__tests__/hooks/use-auto-resize.test.tsx:140
↓ 1 callers
Method
startOAuthWithClient
( client: MCPClient, server: MCPServerConfig, callbackBaseUrl: string | undefined, )
src/api/mcp-service/mcp-service.api.ts:412
↓ 1 callers
Function
startOnPreferredPort
* A restored Backend asks for the port it had before the restart, which * another process may have bound since.
scripts/tunnel-registry.mjs:100
↓ 1 callers
Method
startOpenAIDeviceLogin
()
src/api/llm-subscription-service.ts:172
↓ 1 callers
Function
startPendingUpdate
Starts an Update whose install request stays pending until resolved.
__tests__/routes/canvas-extensions.test.tsx:74
↓ 1 callers
Function
startPortForwardTunnel
({ sessionId, remotePort, accessToken, getAccessToken, apiUrl = DEFAULT_MARS_API_BASE_URL, localPo
scripts/tunnel-client.mjs:101
↓ 1 callers
Function
startRecording
(target: TranscriptionEndpoint)
src/hooks/chat/use-dictation.ts:137
↓ 1 callers
Function
startServerAdvertising
( dir: string, vscodeBasePath: string | null, )
__tests__/scripts/static-server.test.ts:338
↓ 1 callers
Function
startServerLockedToCloud
(dir: string, lockToCloud: string)
__tests__/scripts/static-server.test.ts:538
↓ 1 callers
Function
startServerWithDisabledTelemetry
(dir: string)
__tests__/scripts/static-server.test.ts:593
↓ 1 callers
Function
startServerWithKey
(dir: string, sessionApiKey: string)
__tests__/scripts/static-server.test.ts:644
↓ 1 callers
Function
startServerWithRuntimeInfo
( dir: string, runtimeServicesInfo: string, )
__tests__/scripts/static-server.test.ts:390
↓ 1 callers
Function
startSpeechRecognition
( Recognition: SpeechRecognitionConstructor, )
src/hooks/chat/use-dictation.ts:100
↓ 1 callers
Function
startStack
()
electron/main.mjs:668
↓ 1 callers
Function
startStaticFrontend
(config, staticDir, { onUnexpectedExit } = {})
scripts/dev-with-automation.mjs:2059
↓ 1 callers
Function
startStaticServer
(config)
scripts/static-server.mjs:669
↓ 1 callers
Function
startStepTour
( step: SuperAdminSetupStep, event: MouseEvent<HTMLAnchorElement>, )
src/components/features/setup-guide/super-admin-setup-guide.tsx:233
↓ 1 callers
Function
startSync
()
src/hooks/use-sync-automation-telemetry-consent.ts:74
↓ 1 callers
Function
startVite
(config)
scripts/dev-with-automation.mjs:1605
↓ 1 callers
Function
started
( itemId: string, extra: Partial<ItemStartedFrame> = {}, )
__tests__/utils/handle-event-for-ui.test.ts:338
↓ 1 callers
Function
state
(overrides = {})
__tests__/components/features/chat/components/chat-input-llm-profile-picker.test.tsx:31
↓ 1 callers
Function
stateWith
( overrides: Partial<SkillFilterState> = {}, )
__tests__/components/features/skills/skill-filter.test.ts:60
↓ 1 callers
Function
staticServerInvocations
()
__tests__/scripts/docker-vscode-route-sync.test.ts:42
↓ 1 callers
Function
stats
(cost: number)
__tests__/contexts/conversation-websocket-provider.behavior.test.tsx:2503
↓ 1 callers
Function
status
(overrides: Partial<GoalStatus> = {})
__tests__/components/features/chat/goal-status-content.test.tsx:25
↓ 1 callers
Function
status
()
__tests__/contexts/conversation-websocket-provider.behavior.test.tsx:548
↓ 1 callers
Function
statusAfterRestartWith
(key: string)
__tests__/scripts/mars-web-bridge.test.ts:617
↓ 1 callers
Function
statusFor
(conv: string)
__tests__/stores/goal-store.test.ts:8
↓ 1 callers
Function
statusIcon
(status)
tests/e2e/mock-llm/scripts/render-mock-llm-report.mjs:104
↓ 1 callers
Function
statusOfLoader
(load: () => unknown)
__tests__/routes/automation-routes-without-interface.test.ts:15
↓ 1 callers
Function
stop
()
__tests__/scripts/dev-with-automation.test.ts:1498
↓ 1 callers
Function
stopChild
(child?: ChildProcess)
__tests__/scripts/ingress.test.ts:153
↓ 1 callers
Function
stopSession
(session: MarsSession)
src/components/features/backends/managed-agents/managed-agents-view.tsx:237
↓ 1 callers
Function
storage
* Where tokens are kept, for the UI. Mirrors the SecretStore when there is * one; for safeStorage, the OS keychain protects the encryption key.
scripts/mars-credentials.mjs:253
↓ 1 callers
Function
storeEntry
()
__tests__/stores/session-activity-store.test.ts:52
↓ 1 callers
Function
storeProfiles
(...profiles: ReturnType<typeof openHands>[])
__tests__/hooks/mutation/sync-agent-profiles.test.ts:77
↓ 1 callers
Function
storeTaskPlugins
( task: AppConversationStartTask, conversationId: string, )
src/hooks/query/use-task-polling.ts:48
↓ 1 callers
Function
storeUsage
( contextWindow: number, perTurnToken: number, )
__tests__/hooks/use-context-window-usage.test.ts:26
↓ 1 callers
Function
stored
(publicSkills: string[])
__tests__/routes/skills-settings.test.tsx:773
↓ 1 callers
Function
stream
( itemId: string, text: string | null, reasoning: string | null = null, )
__tests__/components/conversation-events/chat/duplicate-streamed-message.test.tsx:101
↓ 1 callers
Function
stream
(frameCount: number)
__tests__/hooks/use-streamed-text.test.tsx:113
↓ 1 callers
Function
streams
Combined stdout+stderr — CLIs are inconsistent about which stream they use * (e.g. ``codex login status`` writes to stderr).
src/api/acp-service/acp-service.api.ts:25
↓ 1 callers
Function
stringRecord
(value: unknown)
src/api/mcp-service/mcp-redacted-credentials.ts:22
↓ 1 callers
Function
stringifyDetailValue
(value: unknown)
src/components/features/automations/detail/run-logs-modal.tsx:70
↓ 1 callers
Function
stringifyPayload
(value: unknown)
src/components/conversation-events/chat/event-content-helpers/get-acp-tool-call-content.ts:75
↓ 1 callers
Function
stripAnsi
(value)
tests/e2e/live/scripts/render-live-e2e-report.mjs:144
↓ 1 callers
Function
stripBasePathFromUrl
(rawUrl, basePath)
scripts/static-server.mjs:564
↓ 1 callers
Function
stripBundledNodeModules
* Strip the auto-bundled node_modules from the packaged app, then restore * the small runtime closure of RUNTIME_PACKAGES. * * See the NODE_MODULES
electron-builder.config.mjs:135
↓ 1 callers
Function
stripFrontmatter
(content: string)
src/components/features/skills/get-skill-card-description.ts:26
↓ 1 callers
Function
stripGitSuffix
(path: string)
src/utils/parse-git-remote-url.ts:45
↓ 1 callers
Function
stubFetchResponse
(response: Partial<Response>)
src/api/agent-canvas-updates.test.ts:4
↓ 1 callers
Function
stubGet
Stub `GET <path>` on the cloud backend, recording the request.
__tests__/api/cloud/settings-service.test.ts:44
↓ 1 callers
Function
stubNonSecureContextCrypto
()
__tests__/utils/random-uuid.test.ts:11
↓ 1 callers
Function
stubPost
Stub `POST <path>` on the cloud backend, recording request + JSON body.
__tests__/api/cloud/settings-service.test.ts:58
↓ 1 callers
Function
stubWidths
(containerWidth: number, chipWidth: number)
__tests__/components/features/conversation-panel/conversation-tag-chips.test.tsx:36
↓ 1 callers
Function
stubWidths
(containerWidth: number, pillWidth: number)
__tests__/components/features/skills/skill-card-pill-row.test.tsx:39
↓ 1 callers
Function
styleHeightPx
(element: HTMLElement, fallback: number)
src/hooks/use-prompt-textarea-resize.ts:19
↓ 1 callers
Function
subject
(conversationId: string)
src/components/features/chat/path-component.test.tsx:37
↓ 1 callers
Function
submit
(value: WorkspaceFileDiscovery)
src/components/features/files-tab/workspace-file-discovery-settings.tsx:42
↓ 1 callers
Function
submit
(optionIndex?: number)
src/components/conversation-events/chat/event-message-components/decision-card.tsx:76
↓ 1 callers
Function
submit
(text: string)
__tests__/contexts/conversation-websocket-provider.behavior.test.tsx:496
↓ 1 callers
Function
submitForm
()
__tests__/components/features/analytics/telemetry-consent-banner.test.tsx:113
↓ 1 callers
Function
submitMessage
(text: string)
__tests__/components/chat/chat-interface.test.tsx:802
↓ 1 callers
Function
submitPrompt
()
__tests__/components/features/home/home-chat-launcher-failed-launch.test.tsx:118
↓ 1 callers
Function
subscribeActiveBackend
(listener: Listener)
src/api/backend-registry/active-store.ts:188
↓ 1 callers
Function
subscribeBackendHealth
(listener: Listener)
src/api/backend-registry/health-store.ts:33
↓ 1 callers
Function
subscribeColorTheme
(listener: () => void)
src/themes/color-theme/runtime.ts:35
↓ 1 callers
Function
subscribeDesktopFullScreen
( cb: (isFullScreen: boolean) => void, )
src/utils/desktop-shell.ts:42
↓ 1 callers
Function
subscribeRememberedAcpModels
(listener: () => void)
src/utils/remembered-acp-models.ts:85
↓ 1 callers
Function
subscribeTelemetryConsent
(listener: () => void)
src/services/telemetry.ts:532
↓ 1 callers
Function
substituteRedactedLeaves
* Recursively replace only the redacted display placeholders inside * ``submitted`` with the corresponding stored (encrypted) leaf. Fresh * non-reda
src/api/mcp-service/mcp-redacted-credentials.ts:40
↓ 1 callers
Function
successLine
(skill: string, dest: string)
__tests__/utils/skill-install-events.test.ts:10
↓ 1 callers
Function
successfulProcess
(stdout = "")
__tests__/scripts/stryker-diff.test.ts:68
↓ 1 callers
Function
successfulRuns
(count: number)
__tests__/components/automations/detail/activity-log-section.test.tsx:201
↓ 1 callers
Function
sumGitDiffLineStats
( stats: GitDiffLineStats[], )
src/utils/git-diff-stats.ts:111
↓ 1 callers
Function
supportedActionKinds
( entry: SetupEntry, reported: DeploymentCapabilities, )
src/manifests/manifest-capabilities.ts:48
↓ 1 callers
Function
supportedTriggerKinds
( entry: SetupEntry, reported: DeploymentCapabilities, )
src/manifests/manifest-capabilities.ts:58
↓ 1 callers
Function
suppressAnalytics
Suppress analytics modals via localStorage.
tests/e2e/mock-llm/backends/mock-llm-cross-connect.spec.ts:152
↓ 1 callers
Function
switchBackend
Makes `backendId` active the way the backend selector does: in place.
__tests__/routes/app-settings.test.tsx:70
↓ 1 callers
Function
switchBackendViaSelector
Switch the active backend through the sidebar selector.
tests/e2e/mock-llm/backends/mock-llm-cross-connect.spec.ts:256
← previous
next →
4,801–4,900 of 6,870, ranked by callers