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
file
()
scripts/mars-secret-store.mjs:367
↓ 1 callers
Function
file
(fileName: string)
__tests__/vite-config.test.ts:179
↓ 1 callers
Function
file
(name: string, type = "text/plain")
__tests__/utils/file-processing.test.ts:37
↓ 1 callers
Function
fileEditorAction
( action: Partial<FileEditorAction> & Pick<FileEditorAction, "command" | "path">, )
__tests__/components/features/chat/tool-visualizers/test-utils.tsx:120
↓ 1 callers
Function
fileEditorObservation
( observation: Partial<FileEditorObservation> & Pick<FileEditorObservation, "command">, )
__tests__/components/features/chat/tool-visualizers/test-utils.tsx:136
↓ 1 callers
Function
filePaths
()
__tests__/components/automations/detail/script-section.test.tsx:42
↓ 1 callers
Function
fileRow
(page: Page, path: string)
tests/e2e/diff-editor-lifecycle.spec.ts:34
↓ 1 callers
Function
fileWithSize
(name: string, size: number)
__tests__/utils/attachment-size-validation.test.ts:11
↓ 1 callers
Function
fillChatInput
(page: Page, text: string)
tests/e2e/live/utils/agent-server-conversation.ts:435
↓ 1 callers
Function
fillForm
Answer the two required fields the entry ships without a default.
__tests__/components/manifest/manifest-setup-dialog.test.tsx:171
↓ 1 callers
Function
fillSlackCredentials
( page: Page, teamId: string, botToken: string, )
tests/e2e/mock-llm/mcp/mock-llm-mcp-slack-credentials.spec.ts:131
↓ 1 callers
Function
filterAgents
* Groups and other sessions left after the search and status filter. Each * group keeps the counts of its unfiltered sessions for the header and for
src/components/features/backends/managed-agents/managed-agents-view.tsx:77
↓ 1 callers
Function
filterFormValues
* The form as a filter reads it. A filter is a JMESPath expression, so a * multi-value answer inside it is a list literal - `['a/b', 'c/d']`, as the
src/manifests/automation-setup.ts:561
↓ 1 callers
Function
filterOutPinnedConversations
( conversations: readonly AppConversation[], pinnedIds: readonly string[], )
src/components/features/conversation-panel/conversation-panel-list-helpers.ts:197
↓ 1 callers
Function
filterSessions
(sessions: MarsSession[], agentMatches: boolean)
src/components/features/backends/managed-agents/managed-agents-view.tsx:83
↓ 1 callers
Function
findAcpProfile
Find the provider's profile, or the first free name for it: `codex`, `codex-2`, …
src/hooks/mutation/use-apply-onboarding-agent-profile.ts:34
↓ 1 callers
Function
findAnchor
( uiEvents: UIEvent[], anchorSeq: number | null | undefined, isFromPlanningAgent: boolean, insertIndex
src/utils/handle-event-for-ui.ts:68
↓ 1 callers
Function
findEntrypointPath
* The bundle member the entrypoint runs, if it names one: the first token * of the command that is a file in the archive (`python main.py` → `main.py
src/components/features/automations/detail/script-section.tsx:19
↓ 1 callers
Function
findFailedRun
* Find a terminally FAILED run for the automation. The agent-server can * intermittently reject the sandbox's completion message (transient 500 on *
tests/e2e/mock-llm/automations/mock-llm-automation.spec.ts:220
↓ 1 callers
Function
findFreePorts
(portConfigs, host = "127.0.0.1")
scripts/dev-safe.mjs:298
↓ 1 callers
Function
findLastPlanningObservationInPhase
* Finds the last PlanningFileEditorObservation for Plan.md in a phase. * * @param phase - Array of events in a phase * @returns The event ID of the
src/components/conversation-events/chat/hooks/use-plan-preview-events.ts:50
↓ 1 callers
Function
findLatestGoalEventId
(events: OHEvent[])
src/components/features/chat/goal-status-content.tsx:35
↓ 1 callers
Function
findLlmProfile
(name: string | null | undefined)
src/hooks/use-llm-configured.ts:72
↓ 1 callers
Function
findProject
( projects: Awaited<ReturnType<typeof getProjects>>, name: string, )
__tests__/vite-config.test.ts:49
↓ 1 callers
Function
findRuntimeServicesContent
( reqs: Record<string, unknown>[], )
tests/e2e/mock-llm/automations/mock-llm-automation.spec.ts:632
↓ 1 callers
Function
findStoredServer
( server: MCPServerConfig, storedServers: StoredMcpConfig, )
src/api/mcp-service/mcp-redacted-credentials.ts:61
↓ 1 callers
Function
fingerprintOf
* A short hash that recognises the same token entered twice (or `MARS_TOKEN` * on every start) without storing anything that could be used as it.
scripts/mars-credentials.mjs:74
↓ 1 callers
Function
finishCreate
()
__tests__/components/features/home/home-chat-launcher-failed-launch.test.tsx:264
↓ 1 callers
Function
finishMigration
()
__tests__/components/settings/agent-profiles/agent-profiles-local-view.test.tsx:1059
↓ 1 callers
Function
finishMigration
()
__tests__/hooks/mutation/use-apply-onboarding-agent-profile.test.tsx:197
↓ 1 callers
Function
finishMigration
()
__tests__/hooks/mutation/resolve-conversation-launch.test.ts:224
↓ 1 callers
Function
finishRender
()
__tests__/components/features/markdown/mermaid-diagram.test.tsx:75
↓ 1 callers
Function
finished
(text: string)
__tests__/components/conversation-events/chat/streamed-reply-handoff.test.tsx:18
↓ 1 callers
Function
firstAnchor
(tree: Root)
__tests__/components/features/markdown/markdown-renderer.test.tsx:288
↓ 1 callers
Function
firstConfiguredEnvVar
(names)
tests/e2e/live/scripts/run-live-e2e.mjs:29
↓ 1 callers
Function
firstLanIpv4
()
tests/e2e/bind-policy/loopback-bind.spec.ts:26
↓ 1 callers
Function
firstNonEmpty
(...values: Array<string | undefined>)
tests/e2e/live/utils/agent-server-conversation.ts:18
↓ 1 callers
Function
flushAsync
Flush timers and the promise work they unblock inside act.
__tests__/hooks/query/use-paginated-conversations.test.tsx:47
↓ 1 callers
Function
flushBootLog
()
electron/main.mjs:526
↓ 1 callers
Function
flushMicrotasks
()
__tests__/hooks/query/concurrency-limiter.test.ts:15
↓ 1 callers
Function
flushNext
()
__tests__/hooks/use-auto-resize.test.tsx:72
↓ 1 callers
Function
flushScheduler
(ms = 10)
__tests__/hooks/query/use-workspace-session.test.tsx:72
↓ 1 callers
Function
foldSuccessfulRuns
* Folds every stretch of successful runs after its newest few into one row, * so a script that succeeds every minute reads as a handful of lines, not
src/components/features/automations/detail/activity-log-section.tsx:84
↓ 1 callers
Function
folderToggles
()
__tests__/components/features/conversation-panel/conversation-panel-grouping.test.tsx:52
↓ 1 callers
Function
forkDraft
()
__tests__/components/features/chat/user-assistant-event-message.test.tsx:80
↓ 1 callers
Function
formAction
(formData: FormData)
src/routes/app-settings.tsx:105
↓ 1 callers
Function
formTool
(payload: { client_tools: Array<{ name: string; description: string; par
__tests__/api/agent-server-adapter.test.ts:618
↓ 1 callers
Function
formWithField
* The published form with one field's declaration replaced wholesale, so a * case can state a key the host's own types do not admit. Admission is a t
__tests__/manifests/manifest-validation.test.ts:20
↓ 1 callers
Function
formatAutomationRepositories
( repositories: AutomationRepository[] = [], )
src/utils/automation-repo-sources.ts:235
↓ 1 callers
Function
formatAutomationRunTaskMetadata
( metadata: unknown, )
src/utils/automation-run-display.ts:62
↓ 1 callers
Function
formatClockTime
(hour: number, minute: number, locale: string)
src/utils/automation-trigger-description.ts:12
↓ 1 callers
Function
formatCredits
(amount: number)
src/components/features/conversation/usage-panel/provider-balance-card.tsx:9
↓ 1 callers
Function
formatDuration
(ms)
tests/e2e/mock-llm/scripts/render-mock-llm-report.mjs:121
↓ 1 callers
Function
formatError
(result)
tests/e2e/live/scripts/render-live-e2e-report.mjs:127
↓ 1 callers
Function
formatExtendedContentOnly
(extraInfoBlocks: string[])
src/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.ts:68
↓ 1 callers
Function
formatFieldError
( error: SetupFieldError, t: (key: I18nKey, options?: Record<string, unknown>) => string, )
src/components/features/manifest/manifest-setup-dialog.tsx:844
↓ 1 callers
Function
formatHookCommand
(command: string)
src/components/shared/hook-execution-event-message.tsx:14
↓ 1 callers
Function
formatKeyList
Truncates a list of key names for display in toasts.
src/hooks/mutation/use-save-fields-as-secrets.ts:13
↓ 1 callers
Function
formatMaintenanceTime
(isoTimeString: string)
src/components/features/alerts/alert-banner.tsx:33
↓ 1 callers
Function
formatRunCost
* Format the run's accumulated LLM cost, or return null when it is unknown. * * A genuine `0` is rendered (`$0.0000`) rather than hidden: the automa
src/components/features/automations/detail/activity-log-item.tsx:56
↓ 1 callers
Function
formatRunTime
Rows sit under a day heading, so the row itself shows only the time.
src/components/features/automations/detail/activity-log-item.tsx:35
↓ 1 callers
Function
formatRunTimestamp
(dateStr: string, locale: string)
src/components/features/automations/detail/activity-log-item.tsx:22
↓ 1 callers
Function
formatSizeLabel
( size: MarsSandboxSize, t: TFunction, language: string, )
src/components/features/backends/managed-agents/digitalocean-new-agent-form.tsx:27
↓ 1 callers
Function
formatSkillKnowledge
( activatedSkills: string[], extraInfoBlocks: string[], )
src/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.ts:51
↓ 1 callers
Function
formatSkillWithContent
( skill: string, contentBlock: string | undefined, )
src/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.ts:35
↓ 1 callers
Function
formatStatusDetail
( statusDetail: AutomationRunStatusDetail | null | undefined, )
src/components/features/automations/detail/run-logs-modal.tsx:78
↓ 1 callers
Function
formatTagChipLabel
( key: string, value: string, t: (key: I18nKey) => string, )
src/components/features/conversation-panel/conversation-card/conversation-tag-chips.tsx:56
↓ 1 callers
Function
formatTimeOfDay
(hour: number, minute: number)
src/utils/automation-schedule.ts:67
↓ 1 callers
Function
formatWeekdayName
(weekday: number, locale: string)
src/utils/automation-trigger-description.ts:19
↓ 1 callers
Function
frequencyLabelKey
(frequency: Frequency)
src/components/features/automations/setup/automation-setup-panel.tsx:725
↓ 1 callers
Function
frequencyTabClassName
(selected: boolean)
src/components/features/automations/setup/automation-setup-panel.tsx:3188
↓ 1 callers
Function
freshModelStoreState
()
__tests__/hooks/use-chat-input-llm-profile-state.test.tsx:18
↓ 1 callers
Function
freshStateDir
()
__tests__/scripts/dev-with-automation.test.ts:333
↓ 1 callers
Function
freshStateDir
()
__tests__/scripts/docker-automation-kv-secret.test.ts:132
↓ 1 callers
Function
gamma
(x: number)
__tests__/components/features/files-tab/file-content-viewer.test.tsx:220
↓ 1 callers
Function
generateAgentStateChangeEvent
(state: AgentState)
src/services/agent-state-service.ts:4
↓ 1 callers
Function
generateClonePrompt
( fullName: string, gitProvider: string, branchName: string, )
__tests__/components/features/chat/git-control-bar.test.tsx:91
↓ 1 callers
Function
generateMockBranches
(count: number)
src/mocks/git-repository-handlers.ts:22
↓ 1 callers
Function
generateMockRepositories
( count: number, provider: Provider, )
src/mocks/git-repository-handlers.ts:6
↓ 1 callers
Function
generatePendingId
()
src/stores/optimistic-user-message-store.ts:118
↓ 1 callers
Function
generatePendingImportEvent
()
src/api/automation-service/automation-service.api.ts:381
↓ 1 callers
Function
generateRandomApiKey
()
scripts/dev-safe.mjs:72
↓ 1 callers
Function
getACPDisplayBlocks
(event: ACPToolCallEvent)
src/components/conversation-events/chat/event-content-helpers/get-acp-tool-call-content.ts:121
↓ 1 callers
Function
getAccessToken
()
scripts/mars-tunnel-bridge.mjs:183
↓ 1 callers
Function
getActionEventTitle
(event: OpenHandsEvent)
src/components/conversation-events/chat/event-content-helpers/get-event-content.tsx:133
↓ 1 callers
Function
getActionEventTitleDescriptor
( event: ActionEvent, )
src/components/conversation-events/chat/event-content-helpers/get-action-event-title.ts:30
↓ 1 callers
Function
getActionNarration
(event: ActionEvent)
src/utils/transcript-export/index.ts:257
↓ 1 callers
Function
getActivatedSkills
(event: MessageEvent)
src/components/conversation-events/chat/event-message.tsx:71
↓ 1 callers
Function
getActiveCloudBackend
()
src/api/cloud/sandbox-service.api.ts:6
↓ 1 callers
Function
getActiveCloudBackend
()
src/api/cloud/git-providers-service.api.ts:25
↓ 1 callers
Function
getActiveCloudBackend
()
src/api/cloud/license-service.api.ts:23
↓ 1 callers
Function
getActiveLayoutPreset
( settings: LayoutSettingsSlice, )
src/components/features/conversation-panel/conversation-layouts-menu.tsx:90
↓ 1 callers
Function
getAgentOptionIcon
(id: string)
src/components/features/onboarding/steps/choose-agent-step.tsx:30
↓ 1 callers
Function
getAgentOptions
(backendKind: BackendKind)
src/components/features/onboarding/steps/choose-agent-step.tsx:76
↓ 1 callers
Function
getAgentServerHeaders
()
src/api/agent-server-config.ts:273
↓ 1 callers
Function
getArchivesForBackend
( archivesByBackendId: Record<string, string[]>, backendId: string, )
src/stores/archived-conversations-store.ts:26
↓ 1 callers
Function
getAutomation
( request: import("@playwright/test").APIRequestContext, automationId: string, )
tests/e2e/mock-llm/automations/mock-llm-automation.spec.ts:118
↓ 1 callers
Function
getAutomationDraftIdFromTags
( tags: Record<string, string> | null | undefined, )
src/utils/automation-draft-tags.ts:9
↓ 1 callers
Function
getAutomationEditIdFromTags
( tags: Record<string, string> | null | undefined, )
src/utils/automation-draft-tags.ts:16
↓ 1 callers
Function
getAutomationSdkVersionFromResponse
( response: AutomationSdkVersionResponse, )
src/api/automation-service/automation-service.api.ts:243
← previous
next →
2,901–3,000 of 6,701, ranked by callers