MCPcopy Create free account

hub / github.com/OpenHands/OpenHands / functions

Functions3,846 in github.com/OpenHands/OpenHands

↓ 423 callersFunctiont
(key: string)
__tests__/utils/utils.test.ts:6
↓ 304 callersFunctioncn
(...inputs: ClassValue[])
src/utils/utils.ts:18
↓ 86 callersFunctiongetActiveBackend
()
src/api/backend-registry/active-store.ts:128
↓ 86 callersFunctiongetAgentServerClientOptions
( overrides: AgentServerClientOverrides = {}, )
src/api/agent-server-client-options.ts:52
↓ 85 callersFunctionuseActiveBackend
()
src/contexts/active-backend-context.tsx:247
↓ 80 callersFunction__resetActiveStoreForTests
()
src/api/backend-registry/active-store.ts:189
↓ 73 callersFunctionsetRegisteredBackends
(backends: Backend[])
src/api/backend-registry/active-store.ts:164
↓ 70 callersFunctionsetActiveSelection
(selection: BackendSelection | null)
src/api/backend-registry/active-store.ts:158
↓ 58 callersFunctiondisplayErrorToast
(error: string | null | undefined)
src/utils/custom-toast-handlers.tsx:96
↓ 54 callersFunctionrenderWithProviders
( ui: React.ReactElement, renderOptions: ExtendedRenderOptions = {}, )
test-utils.tsx:74
↓ 53 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
↓ 38 callersFunctionuseNavigation
()
src/context/navigation-context.tsx:39
↓ 34 callersFunctioncallCloudProxy
( req: CloudProxyRequest, )
src/api/cloud/proxy.ts:18
↓ 33 callersFunctionuseSettings
(scope: SettingsScope = "personal")
src/hooks/query/use-settings.ts:132
↓ 32 callersFunctiondisplaySuccessToast
(message: string)
src/utils/custom-toast-handlers.tsx:110
↓ 31 callersFunctiontrack
(event: string, properties: Record<string, unknown> = {})
src/hooks/use-tracking.ts:53
↓ 29 callersFunctionuseTracking
()
src/hooks/use-tracking.ts:23
↓ 27 callersMethodclose
()
__tests__/hooks/use-websocket.test.ts:103
↓ 22 callersFunctionuseOptionalConversationId
()
src/hooks/use-conversation-id.ts:3
↓ 21 callersMethodfail
(path: string, reason: string)
src/manifests/interface-validation.ts:100
↓ 21 callersFunctionuseActiveBackendContext
()
src/contexts/active-backend-context.tsx:225
↓ 20 callersFunctiongetStoredConversationMetadata
( conversationId: string, )
src/api/conversation-metadata-store.ts:72
↓ 20 callersFunctionuseCreateConversation
()
src/hooks/mutation/use-create-conversation.ts:62
↓ 19 callersFunctionisActionEvent
(event: OpenHandsEvent)
src/types/agent-server/type-guards.ts:109
↓ 19 callersFunctionuseAgentState
()
src/hooks/use-agent-state.ts:45
↓ 19 callersFunctionwaitForTestId
( page: Page, testId: string, timeout = 30_000, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:149
↓ 18 callersFunctionisObservationEvent
( event: OpenHandsEvent, )
src/types/agent-server/type-guards.ts:64
↓ 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:122
↓ 17 callersFunctionisBrowser
* Check if we're in a browser environment
src/services/telemetry.ts:246
↓ 16 callersFunctiondismissAnalyticsModal
(page: Page)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:158
↓ 16 callersFunctionuseConversationId
()
src/hooks/use-conversation-id.ts:9
↓ 15 callersFunctionbuildAutomationRequestHeaders
( extraHeaders: Record<string, string> = {}, )
src/api/automation-service/automation-service.api.ts:60
↓ 15 callersMethodclosed
A closed object: every present key must be an expected one.
src/manifests/interface-validation.ts:117
↓ 15 callersFunctiongetFetchCall
( fetchMock: FetchMock, index = 0, )
__tests__/api/cloud/fetch-test-utils.ts:23
↓ 15 callersFunctiongetLockedCloudHost
()
src/api/agent-server-config.ts:141
↓ 15 callersFunctionisNoBackend
(backend: Backend)
src/api/backend-registry/active-store.ts:37
↓ 15 callersFunctionmockJsonResponse
(data: unknown, status = 200)
__tests__/api/cloud/fetch-test-utils.ts:5
↓ 15 callersMethodrecord
(value: unknown, path: string)
src/manifests/interface-validation.ts:123
↓ 15 callersFunctionsetStoredConversationMetadata
( conversationId: string, metadata: ConversationMetadata, )
src/api/conversation-metadata-store.ts:76
↓ 14 callersFunctionseedLocalStorage
(page: Page)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:96
↓ 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:333
↓ 13 callersMethodfail
(path: string, reason: string)
src/manifests/manifest-validation.ts:75
↓ 13 callersFunctionfileLog
(level, message)
scripts/logger.mjs:103
↓ 12 callersMethodcopy
Literal user-visible copy. Carries no markup.
src/manifests/interface-validation.ts:106
↓ 12 callersMethoddisconnect
()
__tests__/components/features/skills/skill-card-pill-row.test.tsx:15
↓ 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 callersFunctionuseIsCreatingConversation
()
src/hooks/use-is-creating-conversation.ts:4
↓ 12 callersFunctionuseLlmProfiles
(options: UseLlmProfilesOptions = {})
src/hooks/query/use-llm-profiles.ts:12
↓ 11 callersFunctionbuildHttpBaseUrl
( conversationUrl: string | null | undefined, )
src/utils/websocket-url.ts:55
↓ 11 callersFunctionmodalWidthClassName
(width: ModalWidth)
src/components/shared/modals/modal-body.tsx:16
↓ 11 callersMethodobserve
()
__tests__/components/features/skills/skill-card-pill-row.test.tsx:13
↓ 11 callersFunctionresetMockLLM
(request: APIRequestContext)
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:882
↓ 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:136
↓ 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:180
↓ 10 callersFunctiongetEffectiveLocalBackend
()
src/api/backend-registry/active-store.ts:140
↓ 10 callersFunctiongetMcpMarketplaceCatalog
( catalog: MarketplaceEntry[], )
src/utils/mcp-marketplace-utils.ts:110
↓ 10 callersMethodgetProfile
( name: string, exposeSecrets?: ExposeSecretsMode, )
src/api/profiles-service/profiles-service.api.ts:64
↓ 10 callersMethodinvalidateCache
* Invalidate the settings cache. * Call this when settings may have changed externally.
src/api/settings-service/settings-service.api.ts:706
↓ 10 callersFunctionisStreamingDeltaEvent
( event: OpenHandsEvent, )
src/types/agent-server/type-guards.ts:263
↓ 10 callersMethodopen
()
__tests__/hooks/use-bash-command-runner.test.ts:32
↓ 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: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 callersFunctiongetConversationState
( conversationId: string, )
src/utils/conversation-local-storage.ts:155
↓ 9 callersMethodgetSettings
* Get settings for display (secrets are redacted). * Uses in-memory cache for performance.
src/api/settings-service/settings-service.api.ts:444
↓ 9 callersFunctiongetTelemetryConsent
()
src/services/telemetry.ts:392
↓ 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:87
↓ 9 callersFunctionsetConversationState
( conversationId: string, updates: Partial<ConversationState>, )
src/utils/conversation-local-storage.ts:179
↓ 9 callersFunctionuseBackendsHealth
( backends: Backend[], options: UseBackendsHealthOptions = {}, )
src/hooks/query/use-backends-health.ts:225
↓ 9 callersFunctionuseSaveSettings
( scope: SettingsScope = "personal", { retry }: { retry?: number } = {}, )
src/hooks/mutation/use-save-settings.ts:62
↓ 8 callersFunctionactivateTrajectory
( request: APIRequestContext, name: string, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:862
↓ 8 callersMethodbatchGetAppConversations
( ids: string[], )
src/api/conversation-service/agent-server-conversation-service.api.ts:538
↓ 8 callersFunctioninitializePostHogClient
( enableCapturing = false, )
src/services/telemetry.ts:321
↓ 8 callersFunctionisRecord
(value: unknown)
src/manifests/manifest-validation.ts:53
↓ 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:834
↓ 8 callersMethodsaveSettings
* Save settings to the agent server API. * Uses PATCH for incremental updates.
src/api/settings-service/settings-service.api.ts:607
↓ 8 callersMethodsend
()
__tests__/hooks/use-websocket.test.ts:101
↓ 8 callersFunctionsidebarNavRowClassName
(options?: { indent?: boolean; collapsed?: boolean; })
src/components/features/sidebar/sidebar-layout.ts:37
↓ 8 callersFunctiontoRecord
(value: unknown)
src/api/agent-server-adapter.ts:469
↓ 8 callersFunctionuseConfig
(options?: UseConfigOptions)
src/hooks/query/use-config.ts:13
↓ 7 callersFunction__resetMcpHealthStoreForTests
()
src/api/mcp-health/mcp-health-store.ts:75
↓ 7 callersFunctioncleanInlineText
(value: string)
src/utils/transcript-export/index.ts:112
↓ 7 callersFunctioncollectFields
(setup: SetupBlock)
src/manifests/manifest-local-validation.ts:48
↓ 7 callersFunctioncreateSetupEntry
( overrides: Partial<SetupEntry> = {}, )
__tests__/manifests/manifest-test-data.ts:14
↓ 7 callersMethodfindById
(id: string)
src/manifests/manifest-registry.ts:16
↓ 7 callersFunctionformatTimeDelta
(date: Date | string)
src/utils/format-time-delta.ts:38
↓ 7 callersFunctionget
()
__tests__/components/chat-message.test.tsx:48
↓ 7 callersFunctiongetAcpPreferredDefaultModel
( key: string | null | undefined, )
src/constants/acp-providers.ts:324
next →1–100 of 3,846, ranked by callers