MCPcopy Create free account

hub / github.com/OpenHands/OpenHands / functions

Functions10,856 in github.com/OpenHands/OpenHands

↓ 3 callersMethodadd_pr_thread
Create a new thread (comment) in an Azure DevOps pull request. Azure DevOps uses 'threads' concept where each thread contains comments.
openhands/app_server/integrations/azure_devops/service/prs.py:15
↓ 3 callersFunctionadd_test_org_and_user
Create a test org and user for use in tests.
enterprise/tests/unit/test_stripe_service_db.py:18
↓ 3 callersFunctionasync_session_maker
Create an async session maker bound to the async engine.
enterprise/tests/unit/storage/test_user_authorization_store.py:25
↓ 3 callersMethodauthorize
Mark the device code as authorized.
enterprise/storage/device_code.py:77
↓ 3 callersFunctionazure_devops_webhook_url
()
enterprise/server/routes/integration/azure_devops.py:38
↓ 3 callersFunctionbatch_get_events
Get a batch of events given their ids, returning null for any missing event.
openhands/app_server/event/event_router.py:97
↓ 3 callersMethodbatch_get_shared_conversation_info
Get a batch of shared conversation info, return None for any missing or non-shared.
enterprise/server/sharing/shared_conversation_info_service.py:22
↓ 3 callersFunctionbuildSettings
(overrides: Partial<Settings> = {})
frontend/__tests__/routes/llm-settings.test.tsx:125
↓ 3 callersFunctionbuildWebSocketUrl
( conversationId: string | undefined, conversationUrl: string | null | undefined, )
frontend/src/utils/websocket-url.ts:78
↓ 3 callersFunctioncalculateToastDuration
( message: string | null | undefined, minDuration: number = 5000, maxDuration: number = 10000, )
frontend/src/utils/toast-duration.ts:8
↓ 3 callersFunctioncall_async_from_sync
Shorthand for running a coroutine in the default background thread pool executor and awaiting the result
openhands/app_server/utils/async_utils.py:21
↓ 3 callersFunctioncheck_byor_permitted
Check if BYOR key export is permitted for the request's effective org.
enterprise/server/routes/api_keys.py:208
↓ 3 callersFunctioncloneIcon
( icon?: ReactElement<HTMLProps<"svg"> & BaseProps>, props?: HTMLProps<"svg"> & BaseProps )
openhands-ui/shared/utils/clone-icon.ts:4
↓ 3 callersFunctioncount_app_conversations
Count sandboxed conversations matching the given filters.
openhands/app_server/app_conversation/app_conversation_router.py:286
↓ 3 callersMethodcount_conversations_by_sandbox_id
Count V1 conversations that reference the given sandbox. Used to decide whether a sandbox can be safely deleted when a conversation i
openhands/app_server/app_conversation/app_conversation_info_service.py:88
↓ 3 callersMethodcount_pending_messages
Count pending messages with ownership validation. Args: conversation_id: The conversation ID to count messages for Retur
enterprise/server/utils/saas_pending_message_injector.py:154
↓ 3 callersFunctioncreateAxiosNotFoundErrorObject
()
frontend/test-utils.tsx:85
↓ 3 callersFunctioncreateMockUser
( overrides: Partial<OrganizationMember> = {}, )
frontend/__tests__/routes/settings.test.tsx:67
↓ 3 callersFunctioncreatePlanComponents
(extraClassName?: string)
frontend/src/components/features/markdown/plan-components.tsx:21
↓ 3 callersFunctioncreateTitleFromKey
( key: string, values: Record<string, unknown>, )
frontend/src/components/v1/chat/event-content-helpers/get-event-content.tsx:29
↓ 3 callersFunctioncreateUserMessageEvent
(id: string)
frontend/test-utils.tsx:247
↓ 3 callersFunctioncreate_custom_secret
Helper to create CustomSecret instances.
enterprise/tests/unit/integrations/test_resolver_context.py:74
↓ 3 callersFunctioncreate_httpx_mock
Create a mock for httpx.AsyncClient. Args: post_response: Response for POST requests. Can be a dict (JSON body) or a MagicMoc
enterprise/tests/unit/server/routes/test_jira_integration_routes.py:29
↓ 3 callersFunctioncreate_json_type_decorator
Create a decorator for a particular type. Introduced because SQLAlchemy could not process lists of enum values.
openhands/app_server/utils/sql_utils.py:25
↓ 3 callersMethodcreate_keycloak_user
Create a new Keycloak user in the configured realm. Used by the provisioning endpoint to seed accounts on behalf of an org admin. The
enterprise/server/auth/token_manager.py:829
↓ 3 callersMethoddeactivate_workspace
Deactivate the workspace and all user links for a given workspace.
enterprise/storage/jira_integration_store.py:200
↓ 3 callersMethoddeleteProfile
(name: string)
frontend/src/api/settings-service/profiles-service.api.ts:46
↓ 3 callersFunctiondelete_agent_profile
Delete a profile (idempotent). Clears every org member's pointer to it. A missing name resolves 200, matching the ts-client ``AgentProfilesClient
enterprise/server/routes/agent_profiles.py:309
↓ 3 callersMethoddelete_api_key_by_name
Delete an API key by name for a specific user. Args: user_id: The ID of the user whose key to delete name: The name o
enterprise/storage/api_key_store.py:422
↓ 3 callersMethoddelete_authorization
Delete an authorization rule by ID. Args: authorization_id: The ID of the authorization to delete session: Optional d
enterprise/storage/user_authorization_store.py:180
↓ 3 callersMethoddelete_messages_for_conversation
Delete all pending messages for a conversation, returning count deleted.
openhands/app_server/pending_messages/pending_message_service.py:62
↓ 3 callersMethoddelete_sandbox
Begin the process of deleting a sandbox (which may involve stopping it). Return False if the sandbox did not exist. Purely sandbox-scoped (st
openhands/app_server/sandbox/sandbox_service.py:197
↓ 3 callersMethoddelete_verified_model
Delete a verified model. Args: model_name: The model name to delete provider: The provider name Returns:
enterprise/server/verified_models/verified_model_service.py:217
↓ 3 callersMethoddelete_webhook
Delete a webhook entry based on project_id or group_id. Args: webhook: GitlabWebhook object containing either project_id or group
enterprise/storage/gitlab_webhook_store.py:102
↓ 3 callersMethoddelete_webhook_by_repo
Remove the enrollment row for ``(project_key, repo_slug)``. Returns ``True`` when a row was deleted, ``False`` if none existed — unin
enterprise/storage/bitbucket_dc_webhook_store.py:194
↓ 3 callersFunctiondepends_jwt_service
()
openhands/app_server/config.py:585
↓ 3 callersMethoddetermine_resource_type
( webhook: GitlabWebhook, )
enterprise/storage/gitlab_webhook_store.py:17
↓ 3 callersFunctiondisconnect_git_organization
Remove a Git organization claim from an OpenHands organization. Only admin and owner roles can disconnect Git organization claims. Args:
enterprise/server/routes/orgs.py:1650
↓ 3 callersFunctiondummy_coro
(value: int)
tests/unit/utils/test_async_utils.py:149
↓ 3 callersMethodemit
Emits a log record. Args: record (logging.LogRecord): The log record to emit.
openhands/app_server/utils/logger.py:488
↓ 3 callersFunctionencrypt_legacy_value
(value: str | SecretStr)
enterprise/storage/encrypt_utils.py:65
↓ 3 callersFunctionensure_page_limit
(page: int, resource_name: str)
scripts/auto_close_duplicate_issues.py:96
↓ 3 callersFunctionensure_valid_git_branch_name
Raise ValueError when branch_name is not safe to pass to git checkout.
openhands/app_server/utils/git.py:24
↓ 3 callersMethodensure_webhook_enrollment
Ensure a local row exists so its id can be used in webhook URLs. This intentionally does not rotate an existing secret. Automatic rei
enterprise/storage/bitbucket_dc_webhook_store.py:58
↓ 3 callersMethodevent_key
(message: Message)
enterprise/integrations/azure_devops/azure_devops_view.py:361
↓ 3 callersFunctionextractBaseHost
( conversationUrl: string | null | undefined, )
frontend/src/utils/websocket-url.ts:6
↓ 3 callersFunctionextractPRUrls
(text: string)
frontend/src/utils/parse-pr-url.ts:26
↓ 3 callersFunctionextractPathPrefix
( conversationUrl: string | null | undefined, )
frontend/src/utils/websocket-url.ts:39
↓ 3 callersFunctionextractSettings
( formData: FormData, )
frontend/src/utils/settings-utils.ts:35
↓ 3 callersMethodextract_actor
(message: Message)
enterprise/integrations/azure_devops/azure_devops_view.py:369
↓ 3 callersFunctionextract_actor_slug
Extract a stable user identifier from a Bitbucket DC ``actor`` block. DC's stable identifier is the user ``slug`` (lowercase username); ``id``
enterprise/integrations/bitbucket_data_center/bitbucket_dc_view.py:42
↓ 3 callersMethodgenerate_api_key
Generate a random API key with the sk-oh- prefix.
enterprise/storage/api_key_store.py:61
↓ 3 callersFunctiongetConversationIdFromLocation
()
frontend/src/stores/conversation-store.ts:68
↓ 3 callersFunctiongetEnterpriseFormKey
(formType: EnterpriseFormType)
frontend/src/utils/local-storage.ts:80
↓ 3 callersFunctiongetEventContent
( event: OpenHandsAction | OpenHandsObservation, )
frontend/src/components/features/chat/event-content-helpers/get-event-content.tsx:24
↓ 3 callersFunctiongetEventContent
( event: OpenHandsEvent | SkillReadyEvent, correspondingAction?: ActionEvent, )
frontend/src/components/v1/chat/event-content-helpers/get-event-content.tsx:248
↓ 3 callersFunctiongetGitPath
( conversationId: string, selectedRepository: string | null | undefined, useSandboxGrouping: boolean = f
frontend/src/utils/get-git-path.ts:15
↓ 3 callersFunctiongetLoginMethod
()
frontend/src/utils/local-storage.ts:31
↓ 3 callersFunctiongetNoContentActionContent
()
frontend/src/components/v1/chat/event-content-helpers/get-action-content.ts:43
↓ 3 callersFunctiongetObservationResult
(event: OpenHandsObservation)
frontend/src/components/features/chat/event-content-helpers/get-observation-result.ts:5
↓ 3 callersFunctiongetSelectedOrganizationIdFromStore
()
frontend/src/stores/selected-organization-store.ts:29
↓ 3 callersFunctiongetSettingsFieldConstraints
(fieldKey: string)
frontend/src/utils/sdk-settings-field-metadata.ts:65
↓ 3 callersFunctiongetSettingsQueryFn
( scope: SettingsScope = "personal", organizationId?: string | null, )
frontend/src/hooks/query/use-settings.ts:113
↓ 3 callersMethodgetStartTask
* Get a start task by ID * Poll this endpoint until status is READY to get the app_conversation_id * * @param taskId The task UUID * @retu
frontend/src/api/conversation-service/v1-conversation-service.api.ts:118
↓ 3 callersFunctiongetStatusColor
(options: { isPausing: boolean; isTask: boolean; taskStatus?: string | null; isStartingStatus: boolean
frontend/src/utils/utils.ts:608
↓ 3 callersFunctiongetStatusText
({ isPausing = false, isTask, taskStatus, taskDetail, isStartingStatus, isStopStatus, curAgentSt
frontend/src/utils/utils.ts:687
↓ 3 callersFunctiongetStyleHeightPx
(el: HTMLElement, fallback: number)
frontend/src/utils/utils.ts:40
↓ 3 callersMethodget_active_user
Get Jira user by Keycloak user ID and workspace ID.
enterprise/storage/jira_integration_store.py:162
↓ 3 callersMethodget_active_user_by_keycloak_id_and_workspace
Get Jira DC user by Keycloak user ID and workspace ID.
enterprise/storage/jira_dc_integration_store.py:206
↓ 3 callersMethodget_agent_settings_display
Return agent_settings with display-only defaults removed.
openhands/app_server/settings/settings_models.py:707
↓ 3 callersMethodget_authenticated_git_url
Get an authenticated git URL for a repository. Args: repository: Repository name (owner/repo) is_optional: If True, l
openhands/app_server/user/user_context.py:57
↓ 3 callersMethodget_bitbucket_workspaces
(self)
openhands/app_server/integrations/provider.py:226
↓ 3 callersMethodget_budget_from_team_info
Extract max_budget and spend from user team info. For personal orgs (user_id == org_id), uses litellm_budget_table.max_budget. For te
enterprise/storage/lite_llm_manager.py:94
↓ 3 callersMethodget_by_device_code
Get device code entry by device code.
enterprise/storage/device_code_store.py:75
↓ 3 callersMethodget_by_user_code
Get device code entry by user code.
enterprise/storage/device_code_store.py:83
↓ 3 callersFunctionget_current_api_key
Get information about the currently authenticated API key. Returns the key's bound org (``bound_org_id``, ``None`` for unbound keys) and the
enterprise/server/routes/api_keys.py:380
↓ 3 callersMethodget_current_org_by_user_id
Get the current organization for a user. Args: user_id: The user's ID (Keycloak user ID) Returns: Org: The o
enterprise/storage/org_app_settings_store.py:33
↓ 3 callersMethodget_current_org_from_keycloak_user_id
( keycloak_user_id: str, )
enterprise/storage/org_store.py:167
↓ 3 callersFunctionget_current_user_git_organizations
Return the Git organizations, groups, or workspaces the user belongs to on their active provider. In SAAS mode users sign in with one provide
enterprise/server/routes/users_v1.py:107
↓ 3 callersMethodget_default_org
Get the org flagged as the install's bootstrapped default org.
enterprise/storage/org_store.py:199
↓ 3 callersFunctionget_docker_client
()
openhands/app_server/sandbox/docker_sandbox_spec_service.py:28
↓ 3 callersMethodget_event_service
(self, conversation_id: UUID)
enterprise/server/sharing/google_cloud_shared_event_service.py:53
↓ 3 callersMethodget_event_service
(self, conversation_id: UUID)
enterprise/server/sharing/filesystem_shared_event_service.py:48
↓ 3 callersFunctionget_fernet
()
enterprise/storage/encrypt_utils.py:74
↓ 3 callersFunctionget_git_claims
Get all Git organization claims for an OpenHands organization. Only admin and owner roles can view Git organization claims. Args: or
enterprise/server/routes/orgs.py:1521
↓ 3 callersMethodget_gitlab_groups
(self)
openhands/app_server/integrations/provider.py:256
↓ 3 callersMethodget_idp_token_by_user_id
Load (and refresh if needed) a provider IDP token using only the user_id. This path is independent of the user's Keycloak *offline session*:
enterprise/server/auth/token_manager.py:284
↓ 3 callersMethodget_instance
Get an instance of UserAuth from the request given
openhands/app_server/user_auth/user_auth.py:142
↓ 3 callersMethodget_invitation_by_token
Get an invitation by its token. Args: token: The invitation token Returns: OrgInvitation or None if not foun
enterprise/storage/org_invitation_store.py:103
↓ 3 callersMethodget_issue_details
Fetch issue details from Jira API (cached after first call). Returns: Tuple of (issue_title, issue_description) Raises:
enterprise/integrations/jira/jira_view.py:80
↓ 3 callersFunctionget_jira_dc_instance_status
Whether the install's Jira DC connection is set up, and its host. Lets the settings UI tell a not-yet-linked member "the integration exists,
enterprise/server/routes/integration/jira_dc.py:1141
↓ 3 callersFunctionget_jira_dc_managed_service_account
Return the env-managed service account, or None when not configured.
enterprise/integrations/jira_dc/jira_dc_service_account.py:37
↓ 3 callersFunctionget_jira_dc_relink_message
Get a message asking the user to re-link their Jira DC workspace. Surfaced when the stored OAuth tokens are missing, expired, or fail to refr
enterprise/integrations/utils.py:86
↓ 3 callersMethodget_latest_token
(self)
openhands/app_server/integrations/gitlab/service/base.py:35
↓ 3 callersFunctionget_me
Get the current user's membership record for an organization. Returns the authenticated user's role, status, email, and LLM override fields (
enterprise/server/routes/orgs.py:587
↓ 3 callersMethodget_org_app_settings
Get organization app settings. User ID is obtained from the injected user_context. Returns: OrgAppSettingsResponse: The
enterprise/server/services/org_app_settings_service.py:65
↓ 3 callersMethodget_org_marketplaces
Get organization-level marketplaces. Returns: List of marketplace dictionaries from the org's registered_marketplaces.
openhands/app_server/settings/settings_store.py:54
↓ 3 callersMethodget_org_member_for_current_org
Get the org member for a user's current organization. Args: user_id: The user's UUID. Returns: The OrgMember
enterprise/storage/org_member_store.py:65
↓ 3 callersMethodget_provider_handler
Get a ProviderHandler bound to this user's provider tokens. Not all contexts can build one (e.g. admin-scoped contexts without provid
openhands/app_server/user/user_context.py:100
↓ 3 callersFunctionget_redis_client
Get a shared synchronous Redis client, lazily initialized. Thread-safe with double-checked locking pattern. Returns: A Redis client
openhands/app_server/utils/redis.py:31
← previousnext →1,101–1,200 of 10,856, ranked by callers