MCPcopy Create free account

hub / github.com/OpenHands/OpenHands / functions

Functions3,467 in github.com/OpenHands/OpenHands

↓ 397 callersFunctiont
(key: string)
__tests__/utils/utils.test.ts:6
↓ 285 callersFunctioncn
(...inputs: ClassValue[])
src/utils/utils.ts:18
↓ 81 callersFunctiongetAgentServerClientOptions
( overrides: AgentServerClientOverrides = {}, )
src/api/agent-server-client-options.ts:52
↓ 78 callersFunctiongetActiveBackend
()
src/api/backend-registry/active-store.ts:82
↓ 74 callersFunction__resetActiveStoreForTests
()
src/api/backend-registry/active-store.ts:143
↓ 70 callersFunctionuseActiveBackend
()
src/contexts/active-backend-context.tsx:186
↓ 69 callersFunctionsetRegisteredBackends
(backends: Backend[])
src/api/backend-registry/active-store.ts:118
↓ 66 callersFunctionsetActiveSelection
(selection: BackendSelection | null)
src/api/backend-registry/active-store.ts:112
↓ 56 callersFunctiondisplayErrorToast
(error: string | null | undefined)
src/utils/custom-toast-handlers.tsx:96
↓ 53 callersFunctionrenderWithProviders
( ui: React.ReactElement, renderOptions: ExtendedRenderOptions = {}, )
test-utils.tsx:74
↓ 51 callersMethoderror
* Log an error message * @param error The error message
src/utils/event-logger.ts:42
↓ 41 callersFunctionuseActiveConversation
()
src/hooks/query/use-active-conversation.ts:7
↓ 37 callersFunctionuseNavigation
()
src/context/navigation-context.tsx:39
↓ 32 callersFunctiondisplaySuccessToast
(message: string)
src/utils/custom-toast-handlers.tsx:110
↓ 32 callersFunctionuseSettings
(scope: SettingsScope = "personal")
src/hooks/query/use-settings.ts:132
↓ 29 callersFunctioncallCloudProxy
( req: CloudProxyRequest, )
src/api/cloud/proxy.ts:18
↓ 27 callersMethodclose
()
__tests__/hooks/use-websocket.test.ts:103
↓ 26 callersFunctiontrack
(event: string, properties: Record<string, unknown> = {})
src/hooks/use-tracking.ts:50
↓ 26 callersFunctionuseTracking
()
src/hooks/use-tracking.ts:20
↓ 21 callersFunctionuseActiveBackendContext
()
src/contexts/active-backend-context.tsx:164
↓ 21 callersFunctionuseOptionalConversationId
()
src/hooks/use-conversation-id.ts:3
↓ 20 callersFunctiongetStoredConversationMetadata
( conversationId: string, )
src/api/conversation-metadata-store.ts:72
↓ 19 callersFunctionuseAgentState
()
src/hooks/use-agent-state.ts:45
↓ 19 callersFunctionuseCreateConversation
()
src/hooks/mutation/use-create-conversation.ts:62
↓ 19 callersFunctionwaitForTestId
( page: Page, testId: string, timeout = 30_000, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:125
↓ 18 callersFunctionretrieveAxiosErrorMessage
(error: unknown)
src/utils/retrieve-axios-error-message.ts:21
↓ 18 callersFunctionrouteSessionApiKey
(page: Page)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:98
↓ 17 callersFunctionisActionEvent
(event: OpenHandsEvent)
src/types/agent-server/type-guards.ts:109
↓ 17 callersFunctionisObservationEvent
( event: OpenHandsEvent, )
src/types/agent-server/type-guards.ts:64
↓ 16 callersFunctiondismissAnalyticsModal
(page: Page)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:134
↓ 16 callersFunctionuseConversationId
()
src/hooks/use-conversation-id.ts:9
↓ 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 callersFunctionsetStoredConversationMetadata
( conversationId: string, metadata: ConversationMetadata, )
src/api/conversation-metadata-store.ts:76
↓ 14 callersFunctionisBrowser
* Check if we're in a browser environment
src/services/telemetry.ts:198
↓ 14 callersFunctionisNoBackend
(backend: Backend)
src/api/backend-registry/active-store.ts:32
↓ 14 callersFunctionseedLocalStorage
(page: Page)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:73
↓ 14 callersFunctionuseClickOutsideElement
( callback: () => void, ignoreOutsideClickRef?: React.RefObject<HTMLElement | null>, )
src/hooks/use-click-outside-element.ts:7
↓ 13 callersFunctioncreateConversation
()
src/hooks/mutation/conversation-mutation-utils.test.ts:10
↓ 13 callersFunctiondeleteConversation
( request: APIRequestContext, conversationId: string, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:309
↓ 13 callersFunctionfileLog
(level, message)
scripts/logger.mjs:103
↓ 13 callersFunctiongetLockedCloudHost
()
src/api/agent-server-config.ts:141
↓ 12 callersFunctiongetMcpServerHealthKey
(server: MCPServerConfig)
src/utils/mcp-server-health-key.ts:20
↓ 12 callersFunctionlogService
(name, message, color = c.reset)
scripts/dev-with-automation.mjs:108
↓ 12 callersFunctionuseIsCreatingConversation
()
src/hooks/use-is-creating-conversation.ts:4
↓ 12 callersFunctionuseLlmProfiles
(options: UseLlmProfilesOptions = {})
src/hooks/query/use-llm-profiles.ts:12
↓ 11 callersFunctionbuildAutomationRequestHeaders
( extraHeaders: Record<string, string> = {}, )
src/api/automation-service/automation-service.api.ts:48
↓ 11 callersFunctionbuildHttpBaseUrl
( conversationUrl: string | null | undefined, )
src/utils/websocket-url.ts:55
↓ 11 callersMethoddisconnect
()
__tests__/components/features/skills/skill-card-pill-row.test.tsx:15
↓ 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:858
↓ 11 callersFunctionuseUserProviders
()
src/hooks/use-user-providers.ts:5
↓ 11 callersFunctionwaitForPath
( page: Page, pattern: RegExp, timeout = 30_000, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:112
↓ 10 callersFunctiongetAcpProvider
( key: string | null | undefined, )
src/constants/acp-providers.ts:396
↓ 10 callersFunctiongetActiveCloudBackend
()
src/api/cloud/conversation-service.api.ts:46
↓ 10 callersFunctiongetAgentServerWorkingDir
()
src/api/agent-server-config.ts:196
↓ 10 callersFunctiongetConversationIdFromURL
(page: Page)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:156
↓ 10 callersFunctiongetEffectiveLocalBackend
()
src/api/backend-registry/active-store.ts:94
↓ 10 callersMethodinvalidateCache
* Invalidate the settings cache. * Call this when settings may have changed externally.
src/api/settings-service/settings-service.api.ts:719
↓ 10 callersFunctionisStreamingDeltaEvent
( event: OpenHandsEvent, )
src/types/agent-server/type-guards.ts:263
↓ 10 callersMethodobserve
()
__tests__/components/features/skills/skill-card-pill-row.test.tsx:13
↓ 10 callersFunctionuseRuntimeIsReady
({ allowAgentError = false, }: UseRuntimeIsReadyOptions = {})
src/hooks/use-runtime-is-ready.ts:13
↓ 10 callersFunctionwaitForNonUserMessageText
( page: Page, text: string, timeout = 30_000, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:174
↓ 9 callersFunctionensureMockLLMProfile
( page: Page, { profileName = "mock-llm", model = "openai/mock-test-model", apiKey = "mock-api
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:442
↓ 9 callersFunctiongetConversationState
( conversationId: string, )
src/utils/conversation-local-storage.ts:155
↓ 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:406
↓ 9 callersFunctionisRecord
(value: unknown)
src/api/conversation-service/agent-server-conversation-service.api.ts:86
↓ 9 callersFunctionlogService
(name, message, color = c.reset)
scripts/dev-static.mjs:86
↓ 9 callersMethodsaveSettings
* Save settings to the agent server API. * Uses PATCH for incremental updates.
src/api/settings-service/settings-service.api.ts:498
↓ 8 callersFunctionactivateTrajectory
( request: APIRequestContext, name: string, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:838
↓ 8 callersMethodbatchGetAppConversations
( ids: string[], )
src/api/conversation-service/agent-server-conversation-service.api.ts:538
↓ 8 callersMethodgetProfile
( name: string, exposeSecrets?: ExposeSecretsMode, )
src/api/profiles-service/profiles-service.api.ts:64
↓ 8 callersFunctiongetTelemetryConsent
()
src/services/telemetry.ts:347
↓ 8 callersFunctionpauseConversation
(conversationId: string)
src/hooks/mutation/conversation-mutation-utils.ts:41
↓ 8 callersFunctionregisterTrajectory
( request: APIRequestContext, name: string, turns: Array< | { tool_call: { name: s
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:810
↓ 8 callersFunctionsetConversationState
( conversationId: string, updates: Partial<ConversationState>, )
src/utils/conversation-local-storage.ts:179
↓ 8 callersFunctiontoRecord
(value: unknown)
src/api/agent-server-adapter.ts:435
↓ 8 callersFunctionuseBackendsHealth
( backends: Backend[], options: UseBackendsHealthOptions = {}, )
src/hooks/query/use-backends-health.ts:225
↓ 8 callersFunctionuseConfig
(options?: UseConfigOptions)
src/hooks/query/use-config.ts:13
↓ 8 callersFunctionuseSaveSettings
( scope: SettingsScope = "personal", { retry }: { retry?: number } = {}, )
src/hooks/mutation/use-save-settings.ts:62
↓ 8 callersMethodwrite
(data: BufferSource | Blob | string)
src/types/file-system.d.ts:2
↓ 7 callersFunction__resetMcpHealthStoreForTests
()
src/api/mcp-health/mcp-health-store.ts:75
↓ 7 callersFunctioncleanInlineText
(value: string)
src/utils/transcript-export/index.ts:112
↓ 7 callersFunctionget
()
__tests__/components/chat-message.test.tsx:48
↓ 7 callersFunctiongetAcpPreferredDefaultModel
( key: string | null | undefined, )
src/constants/acp-providers.ts:324
↓ 7 callersFunctiongetJsonBody
(init: RequestInit)
__tests__/api/cloud/fetch-test-utils.ts:31
↓ 7 callersFunctiongetMcpHealthSnapshot
()
src/api/mcp-health/mcp-health-store.ts:24
↓ 7 callersFunctionhasValue
(name)
tests/e2e/live/scripts/run-live-e2e.mjs:25
↓ 7 callersFunctioninitializePostHogClient
( enableCapturing = false, )
src/services/telemetry.ts:273
↓ 7 callersFunctionisExecutionActive
( status: ExecutionStatus | null | undefined, )
src/utils/status.ts:13
↓ 7 callersFunctiononSubmit
(event: React.FormEvent<HTMLFormElement>)
src/components/features/settings/agent-server-onboarding.tsx:82
↓ 7 callersFunctiononce
(fn)
scripts/proxy-utils.mjs:38
↓ 7 callersFunctionparseMcpConfig
(value: unknown)
src/utils/mcp-config.ts:251
↓ 7 callersMethodsend
()
__tests__/hooks/use-websocket.test.ts:101
↓ 7 callersFunctionsetChatInput
( page: Page, text: string, testId = "chat-input", )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:885
↓ 7 callersFunctionsidebarNavRowClassName
(options?: { indent?: boolean; collapsed?: boolean; })
src/components/features/sidebar/sidebar-layout.ts:37
↓ 7 callersFunctionuseBreakpoint
(breakpoint: number = MOBILE_BREAKPOINT)
src/hooks/use-breakpoint.ts:20
↓ 7 callersFunctionuseTaskPolling
()
src/hooks/query/use-task-polling.ts:60
↓ 6 callersFunctionactiveCloudBackend
()
src/api/cloud/agent-profiles-service.api.ts:29
next →1–100 of 3,467, ranked by callers