Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
7,208 in github.com/OpenHands/OpenHands
⨍
Functions
7,208
◇
Types & classes
1,487
↓ 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
snapshotFrom
( usageToMetrics: Record<string, ReturnType<typeof metrics>>, )
__tests__/utils/conversation-metrics.test.ts:29
↓ 1 callers
Function
sortFieldsByRenderOrder
( fields: AutomationSetupField[], )
src/components/features/automations/setup/automation-setup-panel.tsx:419
↓ 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:3859
↓ 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
↓ 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:1123
↓ 1 callers
Function
startAgentServer
(config)
scripts/dev-static.mjs:335
↓ 1 callers
Function
startAutomationBackend
(config)
scripts/dev-with-automation.mjs:1254
↓ 1 callers
Function
startAutomationBackend
(config)
scripts/dev-static.mjs:400
↓ 1 callers
Function
startCanvas
(stateDir: string)
__tests__/scripts/mars-web-bridge.test.ts:889
↓ 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:1487
↓ 1 callers
Function
startIngress
(config)
scripts/dev-static.mjs:512
↓ 1 callers
Function
startIngress
(config)
scripts/ingress.mjs:178
↓ 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:2061
↓ 1 callers
Function
startStaticServer
(config)
scripts/static-server.mjs:673
↓ 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:1607
↓ 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
(extra: Partial<PullRequestStatus>)
__tests__/utils/pull-request-attention.test.ts:8
↓ 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:666
↓ 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:568
↓ 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
← previous
next →
5,001–5,100 of 7,208, ranked by callers