MCPcopy Create free account

hub / github.com/OpenHands/OpenHands / functions

Functions6,701 in github.com/OpenHands/OpenHands

↓ 1 callersFunctionfile
()
scripts/mars-secret-store.mjs:367
↓ 1 callersFunctionfile
(fileName: string)
__tests__/vite-config.test.ts:179
↓ 1 callersFunctionfile
(name: string, type = "text/plain")
__tests__/utils/file-processing.test.ts:37
↓ 1 callersFunctionfileEditorAction
( action: Partial<FileEditorAction> & Pick<FileEditorAction, "command" | "path">, )
__tests__/components/features/chat/tool-visualizers/test-utils.tsx:120
↓ 1 callersFunctionfileEditorObservation
( observation: Partial<FileEditorObservation> & Pick<FileEditorObservation, "command">, )
__tests__/components/features/chat/tool-visualizers/test-utils.tsx:136
↓ 1 callersFunctionfilePaths
()
__tests__/components/automations/detail/script-section.test.tsx:42
↓ 1 callersFunctionfileRow
(page: Page, path: string)
tests/e2e/diff-editor-lifecycle.spec.ts:34
↓ 1 callersFunctionfileWithSize
(name: string, size: number)
__tests__/utils/attachment-size-validation.test.ts:11
↓ 1 callersFunctionfillChatInput
(page: Page, text: string)
tests/e2e/live/utils/agent-server-conversation.ts:435
↓ 1 callersFunctionfillForm
Answer the two required fields the entry ships without a default.
__tests__/components/manifest/manifest-setup-dialog.test.tsx:171
↓ 1 callersFunctionfillSlackCredentials
( page: Page, teamId: string, botToken: string, )
tests/e2e/mock-llm/mcp/mock-llm-mcp-slack-credentials.spec.ts:131
↓ 1 callersFunctionfilterAgents
* 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 callersFunctionfilterFormValues
* 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 callersFunctionfilterOutPinnedConversations
( conversations: readonly AppConversation[], pinnedIds: readonly string[], )
src/components/features/conversation-panel/conversation-panel-list-helpers.ts:197
↓ 1 callersFunctionfilterSessions
(sessions: MarsSession[], agentMatches: boolean)
src/components/features/backends/managed-agents/managed-agents-view.tsx:83
↓ 1 callersFunctionfindAcpProfile
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 callersFunctionfindAnchor
( uiEvents: UIEvent[], anchorSeq: number | null | undefined, isFromPlanningAgent: boolean, insertIndex
src/utils/handle-event-for-ui.ts:68
↓ 1 callersFunctionfindEntrypointPath
* 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 callersFunctionfindFailedRun
* 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 callersFunctionfindFreePorts
(portConfigs, host = "127.0.0.1")
scripts/dev-safe.mjs:298
↓ 1 callersFunctionfindLastPlanningObservationInPhase
* 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 callersFunctionfindLatestGoalEventId
(events: OHEvent[])
src/components/features/chat/goal-status-content.tsx:35
↓ 1 callersFunctionfindLlmProfile
(name: string | null | undefined)
src/hooks/use-llm-configured.ts:72
↓ 1 callersFunctionfindProject
( projects: Awaited<ReturnType<typeof getProjects>>, name: string, )
__tests__/vite-config.test.ts:49
↓ 1 callersFunctionfindRuntimeServicesContent
( reqs: Record<string, unknown>[], )
tests/e2e/mock-llm/automations/mock-llm-automation.spec.ts:632
↓ 1 callersFunctionfindStoredServer
( server: MCPServerConfig, storedServers: StoredMcpConfig, )
src/api/mcp-service/mcp-redacted-credentials.ts:61
↓ 1 callersFunctionfingerprintOf
* 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 callersFunctionfinishCreate
()
__tests__/components/features/home/home-chat-launcher-failed-launch.test.tsx:264
↓ 1 callersFunctionfinishMigration
()
__tests__/components/settings/agent-profiles/agent-profiles-local-view.test.tsx:1059
↓ 1 callersFunctionfinishMigration
()
__tests__/hooks/mutation/use-apply-onboarding-agent-profile.test.tsx:197
↓ 1 callersFunctionfinishMigration
()
__tests__/hooks/mutation/resolve-conversation-launch.test.ts:224
↓ 1 callersFunctionfinishRender
()
__tests__/components/features/markdown/mermaid-diagram.test.tsx:75
↓ 1 callersFunctionfinished
(text: string)
__tests__/components/conversation-events/chat/streamed-reply-handoff.test.tsx:18
↓ 1 callersFunctionfirstAnchor
(tree: Root)
__tests__/components/features/markdown/markdown-renderer.test.tsx:288
↓ 1 callersFunctionfirstConfiguredEnvVar
(names)
tests/e2e/live/scripts/run-live-e2e.mjs:29
↓ 1 callersFunctionfirstLanIpv4
()
tests/e2e/bind-policy/loopback-bind.spec.ts:26
↓ 1 callersFunctionfirstNonEmpty
(...values: Array<string | undefined>)
tests/e2e/live/utils/agent-server-conversation.ts:18
↓ 1 callersFunctionflushAsync
Flush timers and the promise work they unblock inside act.
__tests__/hooks/query/use-paginated-conversations.test.tsx:47
↓ 1 callersFunctionflushBootLog
()
electron/main.mjs:526
↓ 1 callersFunctionflushMicrotasks
()
__tests__/hooks/query/concurrency-limiter.test.ts:15
↓ 1 callersFunctionflushNext
()
__tests__/hooks/use-auto-resize.test.tsx:72
↓ 1 callersFunctionflushScheduler
(ms = 10)
__tests__/hooks/query/use-workspace-session.test.tsx:72
↓ 1 callersFunctionfoldSuccessfulRuns
* 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 callersFunctionfolderToggles
()
__tests__/components/features/conversation-panel/conversation-panel-grouping.test.tsx:52
↓ 1 callersFunctionforkDraft
()
__tests__/components/features/chat/user-assistant-event-message.test.tsx:80
↓ 1 callersFunctionformAction
(formData: FormData)
src/routes/app-settings.tsx:105
↓ 1 callersFunctionformTool
(payload: { client_tools: Array<{ name: string; description: string; par
__tests__/api/agent-server-adapter.test.ts:618
↓ 1 callersFunctionformWithField
* 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 callersFunctionformatAutomationRepositories
( repositories: AutomationRepository[] = [], )
src/utils/automation-repo-sources.ts:235
↓ 1 callersFunctionformatAutomationRunTaskMetadata
( metadata: unknown, )
src/utils/automation-run-display.ts:62
↓ 1 callersFunctionformatClockTime
(hour: number, minute: number, locale: string)
src/utils/automation-trigger-description.ts:12
↓ 1 callersFunctionformatCredits
(amount: number)
src/components/features/conversation/usage-panel/provider-balance-card.tsx:9
↓ 1 callersFunctionformatDuration
(ms)
tests/e2e/mock-llm/scripts/render-mock-llm-report.mjs:121
↓ 1 callersFunctionformatError
(result)
tests/e2e/live/scripts/render-live-e2e-report.mjs:127
↓ 1 callersFunctionformatExtendedContentOnly
(extraInfoBlocks: string[])
src/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.ts:68
↓ 1 callersFunctionformatFieldError
( error: SetupFieldError, t: (key: I18nKey, options?: Record<string, unknown>) => string, )
src/components/features/manifest/manifest-setup-dialog.tsx:844
↓ 1 callersFunctionformatHookCommand
(command: string)
src/components/shared/hook-execution-event-message.tsx:14
↓ 1 callersFunctionformatKeyList
Truncates a list of key names for display in toasts.
src/hooks/mutation/use-save-fields-as-secrets.ts:13
↓ 1 callersFunctionformatMaintenanceTime
(isoTimeString: string)
src/components/features/alerts/alert-banner.tsx:33
↓ 1 callersFunctionformatRunCost
* 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 callersFunctionformatRunTime
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 callersFunctionformatRunTimestamp
(dateStr: string, locale: string)
src/components/features/automations/detail/activity-log-item.tsx:22
↓ 1 callersFunctionformatSizeLabel
( size: MarsSandboxSize, t: TFunction, language: string, )
src/components/features/backends/managed-agents/digitalocean-new-agent-form.tsx:27
↓ 1 callersFunctionformatSkillKnowledge
( activatedSkills: string[], extraInfoBlocks: string[], )
src/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.ts:51
↓ 1 callersFunctionformatSkillWithContent
( skill: string, contentBlock: string | undefined, )
src/components/conversation-events/chat/event-content-helpers/get-skill-ready-content.ts:35
↓ 1 callersFunctionformatStatusDetail
( statusDetail: AutomationRunStatusDetail | null | undefined, )
src/components/features/automations/detail/run-logs-modal.tsx:78
↓ 1 callersFunctionformatTagChipLabel
( key: string, value: string, t: (key: I18nKey) => string, )
src/components/features/conversation-panel/conversation-card/conversation-tag-chips.tsx:56
↓ 1 callersFunctionformatTimeOfDay
(hour: number, minute: number)
src/utils/automation-schedule.ts:67
↓ 1 callersFunctionformatWeekdayName
(weekday: number, locale: string)
src/utils/automation-trigger-description.ts:19
↓ 1 callersFunctionfrequencyLabelKey
(frequency: Frequency)
src/components/features/automations/setup/automation-setup-panel.tsx:725
↓ 1 callersFunctionfrequencyTabClassName
(selected: boolean)
src/components/features/automations/setup/automation-setup-panel.tsx:3188
↓ 1 callersFunctionfreshModelStoreState
()
__tests__/hooks/use-chat-input-llm-profile-state.test.tsx:18
↓ 1 callersFunctionfreshStateDir
()
__tests__/scripts/dev-with-automation.test.ts:333
↓ 1 callersFunctionfreshStateDir
()
__tests__/scripts/docker-automation-kv-secret.test.ts:132
↓ 1 callersFunctiongamma
(x: number)
__tests__/components/features/files-tab/file-content-viewer.test.tsx:220
↓ 1 callersFunctiongenerateAgentStateChangeEvent
(state: AgentState)
src/services/agent-state-service.ts:4
↓ 1 callersFunctiongenerateClonePrompt
( fullName: string, gitProvider: string, branchName: string, )
__tests__/components/features/chat/git-control-bar.test.tsx:91
↓ 1 callersFunctiongenerateMockBranches
(count: number)
src/mocks/git-repository-handlers.ts:22
↓ 1 callersFunctiongenerateMockRepositories
( count: number, provider: Provider, )
src/mocks/git-repository-handlers.ts:6
↓ 1 callersFunctiongeneratePendingId
()
src/stores/optimistic-user-message-store.ts:118
↓ 1 callersFunctiongeneratePendingImportEvent
()
src/api/automation-service/automation-service.api.ts:381
↓ 1 callersFunctiongenerateRandomApiKey
()
scripts/dev-safe.mjs:72
↓ 1 callersFunctiongetACPDisplayBlocks
(event: ACPToolCallEvent)
src/components/conversation-events/chat/event-content-helpers/get-acp-tool-call-content.ts:121
↓ 1 callersFunctiongetAccessToken
()
scripts/mars-tunnel-bridge.mjs:183
↓ 1 callersFunctiongetActionEventTitle
(event: OpenHandsEvent)
src/components/conversation-events/chat/event-content-helpers/get-event-content.tsx:133
↓ 1 callersFunctiongetActionEventTitleDescriptor
( event: ActionEvent, )
src/components/conversation-events/chat/event-content-helpers/get-action-event-title.ts:30
↓ 1 callersFunctiongetActionNarration
(event: ActionEvent)
src/utils/transcript-export/index.ts:257
↓ 1 callersFunctiongetActivatedSkills
(event: MessageEvent)
src/components/conversation-events/chat/event-message.tsx:71
↓ 1 callersFunctiongetActiveCloudBackend
()
src/api/cloud/sandbox-service.api.ts:6
↓ 1 callersFunctiongetActiveCloudBackend
()
src/api/cloud/git-providers-service.api.ts:25
↓ 1 callersFunctiongetActiveCloudBackend
()
src/api/cloud/license-service.api.ts:23
↓ 1 callersFunctiongetActiveLayoutPreset
( settings: LayoutSettingsSlice, )
src/components/features/conversation-panel/conversation-layouts-menu.tsx:90
↓ 1 callersFunctiongetAgentOptionIcon
(id: string)
src/components/features/onboarding/steps/choose-agent-step.tsx:30
↓ 1 callersFunctiongetAgentOptions
(backendKind: BackendKind)
src/components/features/onboarding/steps/choose-agent-step.tsx:76
↓ 1 callersFunctiongetAgentServerHeaders
()
src/api/agent-server-config.ts:273
↓ 1 callersFunctiongetArchivesForBackend
( archivesByBackendId: Record<string, string[]>, backendId: string, )
src/stores/archived-conversations-store.ts:26
↓ 1 callersFunctiongetAutomation
( request: import("@playwright/test").APIRequestContext, automationId: string, )
tests/e2e/mock-llm/automations/mock-llm-automation.spec.ts:118
↓ 1 callersFunctiongetAutomationDraftIdFromTags
( tags: Record<string, string> | null | undefined, )
src/utils/automation-draft-tags.ts:9
↓ 1 callersFunctiongetAutomationEditIdFromTags
( tags: Record<string, string> | null | undefined, )
src/utils/automation-draft-tags.ts:16
↓ 1 callersFunctiongetAutomationSdkVersionFromResponse
( response: AutomationSdkVersionResponse, )
src/api/automation-service/automation-service.api.ts:243
← previousnext →2,901–3,000 of 6,701, ranked by callers