MCPcopy Create free account

hub / github.com/OpenHands/OpenHands / functions

Functions4,469 in github.com/OpenHands/OpenHands

↓ 479 callersFunctiont
(key: string)
__tests__/utils/utils.test.ts:6
↓ 352 callersFunctioncn
(...inputs: ClassValue[])
src/utils/utils.ts:18
↓ 99 callersFunctionuseActiveBackend
()
src/contexts/active-backend-context.tsx:247
↓ 94 callersFunctiongetActiveBackend
()
src/api/backend-registry/active-store.ts:128
↓ 92 callersFunctiongetAgentServerClientOptions
( overrides: AgentServerClientOverrides = {}, )
src/api/agent-server-client-options.ts:52
↓ 85 callersFunction__resetActiveStoreForTests
()
src/api/backend-registry/active-store.ts:189
↓ 81 callersFunctionsetRegisteredBackends
(backends: Backend[])
src/api/backend-registry/active-store.ts:164
↓ 79 callersFunctionsetActiveSelection
(selection: BackendSelection | null)
src/api/backend-registry/active-store.ts:158
↓ 69 callersFunctiondisplayErrorToast
(error: string | null | undefined)
src/utils/custom-toast-handlers.tsx:96
↓ 58 callersFunctionrenderWithProviders
( ui: React.ReactElement, renderOptions: ExtendedRenderOptions = {}, )
test-utils.tsx:74
↓ 56 callersMethoderror
* Log an error message * @param error The error message
src/utils/event-logger.ts:42
↓ 54 callersMethoddelete
(id: string)
src/api/provider-connections-service/provider-connections-service.api.ts:98
↓ 52 callersFunctionuseActiveConversation
()
src/hooks/query/use-active-conversation.ts:7
↓ 42 callersFunctiondisplaySuccessToast
(message: string)
src/utils/custom-toast-handlers.tsx:110
↓ 40 callersFunctioncallCloudProxy
( req: CloudProxyRequest, )
src/api/cloud/proxy.ts:18
↓ 40 callersFunctionuseSettings
(scope: SettingsScope = "personal")
src/hooks/query/use-settings.ts:132
↓ 38 callersMethodclose
()
__tests__/hooks/use-websocket.test.ts:107
↓ 38 callersFunctionuseNavigation
()
src/context/navigation-context.tsx:39
↓ 34 callersFunctiontrack
(event: string, properties: Record<string, unknown> = {})
src/hooks/use-tracking.ts:78
↓ 32 callersFunctionuseTracking
()
src/hooks/use-tracking.ts:48
↓ 28 callersFunctionuseOptionalConversationId
()
src/hooks/use-conversation-id.ts:3
↓ 24 callersFunctioncreate
(context)
eslint.config.js:69
↓ 23 callersFunctiongetStoredConversationMetadata
( conversationId: string, )
src/api/conversation-metadata-store.ts:72
↓ 22 callersFunctionisActionEvent
(event: OpenHandsEvent)
src/types/agent-server/type-guards.ts:112
↓ 21 callersFunctiondelay
(ms: number)
src/services/child-conversation-launch.ts:352
↓ 21 callersMethodfail
(path: string, reason: string)
src/manifests/interface-validation.ts:106
↓ 21 callersFunctionisNoBackend
(backend: Backend)
src/api/backend-registry/active-store.ts:37
↓ 21 callersFunctionisObservationEvent
( event: OpenHandsEvent, )
src/types/agent-server/type-guards.ts:67
↓ 21 callersFunctionuseActiveBackendContext
()
src/contexts/active-backend-context.tsx:225
↓ 21 callersFunctionwaitForTestId
( page: Page, testId: string, timeout = 30_000, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:149
↓ 20 callersFunctionretrieveAxiosErrorMessage
(error: unknown)
src/utils/retrieve-axios-error-message.ts:21
↓ 20 callersFunctionrouteSessionApiKey
(page: Page)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:122
↓ 20 callersFunctionuseConversationId
()
src/hooks/use-conversation-id.ts:9
↓ 19 callersFunctiondismissAnalyticsModal
(page: Page)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:158
↓ 19 callersFunctionuseAgentState
()
src/hooks/use-agent-state.ts:45
↓ 19 callersFunctionuseClickOutsideElement
( callback: () => void, ignoreOutsideClickRef?: React.RefObject<HTMLElement | null>, )
src/hooks/use-click-outside-element.ts:7
↓ 17 callersFunctionisBrowser
* Check if we're in a browser environment
src/services/telemetry.ts:246
↓ 17 callersFunctionuseCreateConversation
()
src/hooks/mutation/use-create-conversation.ts:62
↓ 16 callersFunctionbuildAutomationRequestHeaders
( extraHeaders: Record<string, string> = {}, )
src/api/automation-service/automation-service.api.ts:70
↓ 16 callersMethoddisconnect
()
__tests__/components/features/skills/skill-card-pill-row.test.tsx:28
↓ 16 callersFunctiongetLockedCloudHost
()
src/api/agent-server-config.ts:141
↓ 16 callersFunctionseedLocalStorage
(page: Page)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:96
↓ 16 callersFunctionsetStoredConversationMetadata
( conversationId: string, metadata: ConversationMetadata, )
src/api/conversation-metadata-store.ts:76
↓ 15 callersMethodclosed
A closed object: every present key must be an expected one.
src/manifests/interface-validation.ts:123
↓ 15 callersMethodfail
(path: string, reason: string)
src/manifests/manifest-validation.ts:96
↓ 15 callersFunctiongetFetchCall
( fetchMock: FetchMock, index = 0, )
__tests__/api/cloud/fetch-test-utils.ts:23
↓ 15 callersFunctionmockJsonResponse
(data: unknown, status = 200)
__tests__/api/cloud/fetch-test-utils.ts:5
↓ 15 callersMethodobserve
()
__tests__/components/features/skills/skill-card-pill-row.test.tsx:23
↓ 15 callersMethodrecord
(value: unknown, path: string)
src/manifests/interface-validation.ts:129
↓ 13 callersFunctiondeleteConversation
( request: APIRequestContext, conversationId: string, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:333
↓ 13 callersFunctionfileLog
(level, message)
scripts/logger.mjs:103
↓ 13 callersFunctionisStreamingDeltaEvent
( event: OpenHandsEvent, )
src/types/agent-server/type-guards.ts:278
↓ 13 callersFunctionsetConversationState
( conversationId: string, updates: Partial<ConversationState>, )
src/utils/conversation-local-storage.ts:255
↓ 13 callersFunctionuseLlmProfiles
(options: UseLlmProfilesOptions = {})
src/hooks/query/use-llm-profiles.ts:12
↓ 12 callersFunctionbuildHttpBaseUrl
( conversationUrl: string | null | undefined, )
src/utils/websocket-url.ts:55
↓ 12 callersMethodcopy
Literal user-visible copy. Carries no markup.
src/manifests/interface-validation.ts:112
↓ 12 callersFunctiongetActiveCloudBackend
()
src/api/cloud/conversation-service.api.ts:49
↓ 12 callersFunctiongetMcpServerHealthKey
(server: MCPServerConfig)
src/utils/mcp-server-health-key.ts:18
↓ 12 callersFunctionlogService
(name, message, color = c.reset)
scripts/dev-with-automation.mjs:108
↓ 12 callersFunctionuseRuntimeIsReady
({ allowAgentError = false, }: UseRuntimeIsReadyOptions = {})
src/hooks/use-runtime-is-ready.ts:13
↓ 12 callersFunctionwaitForPath
( page: Page, pattern: RegExp, timeout = 30_000, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:136
↓ 11 callersFunctiongetApiErrorMessage
(error: unknown, fallback: string)
src/utils/api-error-message.ts:24
↓ 11 callersFunctionmodalWidthClassName
(width: ModalWidth)
src/components/shared/modals/modal-body.tsx:16
↓ 11 callersFunctionresetMockLLM
(request: APIRequestContext)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:883
↓ 10 callersFunctioncreateConversation
()
src/hooks/mutation/conversation-mutation-utils.test.ts:10
↓ 10 callersFunctioncreateSetup
(overrides: Partial<SetupBlock> = {})
__tests__/manifests/manifest-test-data.ts:29
↓ 10 callersFunctioncreateSetupEntry
( overrides: Partial<SetupEntry> = {}, )
__tests__/manifests/manifest-test-data.ts:14
↓ 10 callersFunctionformatTimeDelta
(date: Date | string)
src/utils/format-time-delta.ts:38
↓ 10 callersFunctiongetAcpProvider
( key: string | null | undefined, )
src/constants/acp-providers.ts:396
↓ 10 callersFunctiongetAgentServerWorkingDir
()
src/api/agent-server-config.ts:196
↓ 10 callersFunctiongetConversationIdFromURL
(page: Page)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:180
↓ 10 callersFunctiongetConversationState
( conversationId: string, )
src/utils/conversation-local-storage.ts:231
↓ 10 callersFunctiongetEffectiveLocalBackend
()
src/api/backend-registry/active-store.ts:140
↓ 10 callersMethodgetProfile
( name: string, exposeSecrets?: ExposeSecretsMode, )
src/api/profiles-service/profiles-service.api.ts:96
↓ 10 callersMethodinvalidateCache
* Invalidate the settings cache. * Call this when settings may have changed externally.
src/api/settings-service/settings-service.api.ts:708
↓ 10 callersFunctionisRecord
(value: unknown)
src/manifests/manifest-validation.ts:74
↓ 10 callersMethodopen
()
__tests__/hooks/use-bash-command-runner.test.ts:32
↓ 10 callersFunctionuseSaveSettings
( scope: SettingsScope = "personal", { retry }: { retry?: number } = {}, )
src/hooks/mutation/use-save-settings.ts:62
↓ 10 callersFunctionuseUserProviders
()
src/hooks/use-user-providers.ts:5
↓ 10 callersFunctionwaitForNonUserMessageText
( page: Page, text: string, timeout = 30_000, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:198
↓ 10 callersMethodwrite
(data: BufferSource | Blob | string)
src/types/file-system.d.ts:2
↓ 9 callersFunctionensureMockLLMProfile
( page: Page, { profileName = "mock-llm", model = "openai/mock-test-model", apiKey = "mock-api
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:466
↓ 9 callersMethodfindById
(id: string)
src/manifests/manifest-registry.ts:16
↓ 9 callersFunctionformatRelativeTime
( dateStr: string, locale: string, t: (key: I18nKey, options?: Record<string, unknown>) => string, )
src/utils/format-relative-time.ts:26
↓ 9 callersFunctiongetAutomationEndpoint
(name: InterfaceEndpointName)
src/manifests/automation-interface.ts:144
↓ 9 callersFunctiongetMcpMarketplaceCatalog
( catalog: MarketplaceEntry[], )
src/utils/mcp-marketplace-utils.ts:110
↓ 9 callersMethodgetSettings
* Get settings for display (secrets are redacted). * Uses in-memory cache for performance.
src/api/settings-service/settings-service.api.ts:446
↓ 9 callersFunctiongetTelemetryConsent
()
src/services/telemetry.ts:392
↓ 9 callersFunctionisRecord
(value: unknown)
src/api/conversation-service/agent-server-conversation-service.api.ts:90
↓ 9 callersFunctionlogService
(name, message, color = c.reset)
scripts/dev-static.mjs:92
↓ 9 callersFunctiononce
(fn)
scripts/proxy-utils.mjs:187
↓ 9 callersFunctionparseMcpConfig
(value: unknown)
src/utils/mcp-config.ts:77
↓ 9 callersFunctionuseBackendsHealth
( backends: Backend[], options: UseBackendsHealthOptions = {}, )
src/hooks/query/use-backends-health.ts:208
↓ 9 callersFunctionuseIsCreatingConversation
()
src/hooks/use-is-creating-conversation.ts:4
↓ 9 callersFunctionuseSelectConversationTab
()
src/hooks/use-select-conversation-tab.ts:16
↓ 8 callersFunctionactivateTrajectory
( request: APIRequestContext, name: string, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:863
↓ 8 callersMethodbatchGetAppConversations
( ids: string[], )
src/api/conversation-service/agent-server-conversation-service.api.ts:624
↓ 8 callersFunctionbuildSafeDevConfig
(cwd = process.cwd(), env = process.env)
scripts/dev-safe.mjs:569
↓ 8 callersFunctionget
()
vitest.setup.ts:108
↓ 8 callersFunctiongetGitPath
( selectedRepository: string | null | undefined, workingDir?: string | null, )
src/utils/get-git-path.ts:3
next →1–100 of 4,469, ranked by callers