MCPcopy Create free account

hub / github.com/OpenHands/OpenHands / functions

Functions10,856 in github.com/OpenHands/OpenHands

↓ 8 callersMethodget_event_callback
Get a single event callback, returning None if not found.
openhands/app_server/event_callback/event_callback_service.py:26
↓ 8 callersMethodget_issue_details
Fetch and cache issue title and description from Jira API. Returns: Tuple of (issue_title, issue_description)
enterprise/integrations/jira/jira_types.py:34
↓ 8 callersMethodget_sandbox
(self, sandbox_id: str)
tests/unit/app_server/test_sandbox_service.py:43
↓ 8 callersMethodget_shared_conversation_info
Get a single shared conversation info, returning None if missing or not shared.
enterprise/server/sharing/shared_conversation_info_service.py:17
↓ 8 callersMethodget_user_id_from_idp_user_id
( self, idp_user_id: str, idp: ProviderType )
enterprise/server/auth/token_manager.py:612
↓ 8 callersFunctionget_user_org_role
Get the user's role in an organization. Args: user_id: User ID (string that will be converted to UUID) org_id: Organization
enterprise/server/auth/authorization.py:251
↓ 8 callersFunctioninstall_webhook_on_resource
Install webhook on a GitLab resource. Args: gitlab_service: GitLab service instance resource_type: Type of resource (PROJECT
enterprise/integrations/gitlab/webhook_installation.py:135
↓ 8 callersFunctionisStreamingDeltaEvent
( event: OpenHandsEvent, )
frontend/src/types/v1/type-guards.ts:245
↓ 8 callersFunctionjira_callback
(request: Request, code: str, state: str)
enterprise/server/routes/integration/jira.py:462
↓ 8 callersMethodload_and_merge_all_skills
Load skills from all sources via the agent-server. This method calls the agent-server's /api/skills endpoint to load and merge skills
openhands/app_server/app_conversation/app_conversation_service_base.py:100
↓ 8 callersMethodmodel_validate_json
(cls, json_str)
enterprise/tests/unit/test_user_version_upgrade_processor_standalone.py:35
↓ 8 callersMethodpull_spec_if_missing
(self, spec: SandboxSpecInfo)
openhands/app_server/sandbox/docker_sandbox_spec_service.py:81
↓ 8 callersFunctionqueue_pending_message
Queue a message for delivery when conversation becomes ready. This endpoint allows users to submit messages even when the conversation's WebS
openhands/app_server/pending_messages/pending_message_router.py:37
↓ 8 callersMethodreceive_message
(self, message: Message)
enterprise/integrations/bitbucket_data_center/bitbucket_dc_manager.py:184
↓ 8 callersFunctionsaas_user_auth_from_bearer
(request: Request)
enterprise/server/auth/saas_user_auth.py:781
↓ 8 callersMethodsave_app_conversation_info
Store the sandboxed conversation info object given. Return the stored info
openhands/app_server/app_conversation/app_conversation_info_service.py:98
↓ 8 callersMethodstart_app_conversation
(self, request)
enterprise/tests/unit/integrations/github/test_github_view_v1_initial_user_message.py:44
↓ 8 callersMethodstore_tokens
Store auth tokens in the database. Args: access_token: The access token to store refresh_token: The refresh token to
enterprise/storage/auth_token_store.py:59
↓ 8 callersMethodsummaries
Return a ``{name, model, base_url, api_key_set}`` dict per profile. ``api_key_set`` mirrors the ``llm_api_key_set`` convention the main
openhands/app_server/settings/llm_profiles.py:202
↓ 8 callersFunctionuseIsOnIntermediatePage
()
frontend/src/hooks/use-is-on-intermediate-page.ts:11
↓ 8 callersFunctionverify_jira_signature
Verify Jira webhook signature. Args: body: Raw request body bytes signature: Signature from x-hub-signature header (format:
enterprise/server/routes/integration/jira.py:130
↓ 8 callersFunctionwrite_migration
( versions_dir: Path, filename: str, *, revision: str, down_revision: str | None, )
tests/unit/test_enterprise_migration_integrity.py:33
↓ 7 callersFunction_async_iter
(items)
tests/unit/app_server/test_live_status_app_conversation_service.py:59
↓ 7 callersMethod_can_remove_member
Check if requester can remove target based on roles.
enterprise/server/services/org_member_service.py:389
↓ 7 callersFunction_create_mock_request_with_email
Helper to create a mock request with optional api_key_org_id and email.
enterprise/tests/unit/test_authorization.py:1216
↓ 7 callersMethod_get_models_response
( self, verified_models: list[str] | None = None, )
enterprise/server/verified_models/verified_model_router.py:141
↓ 7 callersMethod_get_sandbox_status_from_runtime
Derive a SandboxStatus from the runtime info. The status field is now the source of truth for sandbox status. It accounts for both po
openhands/app_server/sandbox/remote_sandbox_service.py:196
↓ 7 callersMethod_get_stored_sandbox
(self, sandbox_id: str)
openhands/app_server/sandbox/remote_sandbox_service.py:223
↓ 7 callersMethod_get_team
(client: httpx.AsyncClient, team_id: str)
enterprise/storage/lite_llm_manager.py:740
↓ 7 callersMethod_get_team_members_financial_data
Get financial data for all members in a team. Fetches team info from LiteLLM and extracts spending/budget data for each member.
enterprise/storage/lite_llm_manager.py:1635
↓ 7 callersFunction_handle_workspace_link_creation
Handle the creation or reactivation of a workspace link for a user.
enterprise/server/routes/integration/jira.py:192
↓ 7 callersFunction_hash_session_api_key
Hash a session API key using SHA-256.
openhands/app_server/sandbox/remote_sandbox_service.py:76
↓ 7 callersFunction_is_viewable
Return True if *event* should be included in public shared responses.
enterprise/server/sharing/shared_event_router.py:28
↓ 7 callersFunction_linked_store
(*, org_id: UUID | None = ORG_ID, admin_user_id: str = 'admin-user')
enterprise/tests/unit/integrations/jira_dc/test_jira_dc_conversation_secret_enricher.py:35
↓ 7 callersMethod_load_hooks_from_workspace
Load hooks from .openhands/hooks.json in the remote workspace. This enables project-level hooks to be automatically loaded when starting
openhands/app_server/app_conversation/live_status_app_conversation_service.py:1540
↓ 7 callersFunction_load_persisted_agent_settings
Load persisted agent settings via the SDK loader. Routes the raw payload through :func:`validate_agent_settings`, which applies registered sc
openhands/app_server/settings/settings_models.py:276
↓ 7 callersMethod_load_resolver_context
(self)
enterprise/integrations/github/github_view.py:100
↓ 7 callersFunction_make_message
( *, body: str, inline: dict | None = None, event_key: str = 'pullrequest:comment_created',
enterprise/tests/unit/integrations/bitbucket/test_bitbucket_view.py:12
↓ 7 callersFunction_make_mock_request
Create a mock FastAPI Request with given JSON body.
tests/unit/app_server/test_pending_message_router.py:35
↓ 7 callersFunction_make_service
Build a service rooted at a known base_domain so URL assertions are stable.
tests/unit/integrations/bitbucket_data_center/test_bitbucket_dc_webhooks.py:21
↓ 7 callersFunction_mock_role
(name: str)
enterprise/tests/unit/test_authorization.py:1638
↓ 7 callersFunction_patch_user_provider
Create a patch context that makes _get_user_provider return the given provider.
tests/unit/test_analytics_context.py:34
↓ 7 callersFunction_read_member
(async_session_maker, org_id, user_id)
enterprise/tests/unit/test_agent_profiles.py:221
↓ 7 callersFunction_read_org
(async_session_maker, org_id)
enterprise/tests/unit/test_org_profiles.py:256
↓ 7 callersMethod_secure_select
(self)
openhands/app_server/app_conversation/sql_app_conversation_info_service.py:619
↓ 7 callersMethod_store
(self)
enterprise/tests/unit/test_agent_profiles.py:590
↓ 7 callersMethod_truncate_comment
Truncate comment to max length.
openhands/app_server/integrations/azure_devops/service/base.py:53
↓ 7 callersMethodaccept_pending_invitations_for_user
Accept pending invitations matching the user's email at sign-in. SSO-native acceptance: the IdP verified the address an invitation was
enterprise/server/services/org_invitation_service.py:260
↓ 7 callersMethodadd_message
Queue a message with ownership validation. Args: conversation_id: The conversation ID to queue the message for conten
enterprise/server/utils/saas_pending_message_injector.py:117
↓ 7 callersMethodarchive_conversation_workspace
Archive one conversation's workspace; return whether delete may proceed. Default no-op (returns True) for backends that do not archive; overr
openhands/app_server/sandbox/sandbox_service.py:206
↓ 7 callersFunctionauthenticate_marketplace_sources
Swap auto-load marketplace sources for authenticated git URLs. The agent-server clones ``auto_load`` marketplace registrations itself but has
openhands/app_server/app_conversation/skill_loader.py:425
↓ 7 callersFunctioncallback_processor
Create a JiraV1CallbackProcessor for testing.
enterprise/tests/unit/integrations/jira/test_jira_v1_callback_processor.py:25
↓ 7 callersMethodcreate_bitbucket_dc_view_from_payload
Build a view from a Bitbucket DC webhook payload. ``keycloak_user_id`` is the OpenHands user the resolver runs the job as — the @-men
enterprise/integrations/bitbucket_data_center/bitbucket_dc_view.py:286
↓ 7 callersMethodcreate_claim
Create a new Git organization claim. Args: org_id: OpenHands organization UUID provider: Git provider ('github', 'git
enterprise/storage/org_git_claim_store.py:20
↓ 7 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_dc_integration_routes.py:34
↓ 7 callersFunctiondetect_automation_trigger
Detect if conversation should have AUTOMATION trigger based on tags. Only sets AUTOMATION trigger if: - Current trigger is None (don't overri
openhands/app_server/event_callback/webhook_router.py:206
↓ 7 callersFunctiongetConversationState
( conversationId: string, )
frontend/src/utils/conversation-local-storage.ts:79
↓ 7 callersFunctionget_current_user_saas
Get the current authenticated user with SAAS-specific org info. Returns user settings along with organization context: - org_id: Current orga
enterprise/server/routes/users_v1.py:60
↓ 7 callersMethodget_event_service
(self, conversation_id: UUID)
enterprise/server/sharing/aws_shared_event_service.py:56
↓ 7 callersMethodget_idp_token
( self, access_token: str, idp: ProviderType, )
enterprise/server/auth/token_manager.py:275
↓ 7 callersMethodget_idp_token_from_idp_user_id
( self, idp_user_id: str, idp: ProviderType )
enterprise/server/auth/token_manager.py:590
↓ 7 callersFunctionget_jira_dc_service_account_env_config
Return env-managed Jira DC service-account config and validation state.
openhands/app_server/integrations/jira_dc/config.py:21
↓ 7 callersFunctionget_llm_api_key_for_byor
Get the LLM API key for BYOR (Bring Your Own Runtime). This endpoint validates that the key exists in LiteLLM before returning it. If validat
enterprise/server/routes/api_keys.py:427
↓ 7 callersFunctionget_openhands_cloud_key_alias
Generate the key alias for OpenHands Cloud managed keys.
enterprise/storage/lite_llm_manager.py:68
↓ 7 callersFunctionget_provider_api_base
Get the API base URL for a model using litellm. This function tries multiple approaches to determine the API base URL: 1. First tries litellm
openhands/app_server/utils/llm.py:162
↓ 7 callersFunctionget_role_permissions
Get the org-scoped permissions for a role. Args: role_name: Name of the role Returns: Set of permissions for the org-sc
enterprise/server/auth/authorization.py:298
↓ 7 callersMethodget_secrets
(self)
enterprise/server/auth/saas_user_auth.py:479
↓ 7 callersMethodget_target_org_id_for_permission_check
Resolve the target organization for a permission check **without** requiring the authenticated user to be a member. Delegates to :met
enterprise/server/auth/saas_user_auth.py:335
↓ 7 callersMethodget_user_id
(self)
enterprise/integrations/resolver_context.py:33
↓ 7 callersMethodget_user_info
Get user info from Keycloak userinfo endpoint. Args: access_token: A valid Keycloak access token Returns: Ke
enterprise/server/auth/token_manager.py:153
↓ 7 callersFunctionget_user_super_role
Get the user's cross-organization ("super") role. Super roles live on the ``user`` table (``user.role_id``) and apply to the user across
enterprise/server/auth/authorization.py:276
↓ 7 callersFunctionjira_dc_connection_events
Handle Jira DC webhook events for a specific workspace connection.
enterprise/server/routes/integration/jira_dc.py:475
↓ 7 callersFunctionkeycloak_offline_callback
(code: str, state: str, request: Request)
enterprise/server/routes/auth.py:655
↓ 7 callersFunctionlist_agent_profiles
List agent profiles and the effective active pointer for this member. No implicit writes: an org with no profiles yet just returns an empty l
enterprise/server/routes/agent_profiles.py:205
↓ 7 callersFunctionload_module
(script_name: str)
tests/unit/test_issue_good_first_issue_check_openhands.py:15
↓ 7 callersFunctionload_skills_from_agent_server
Load all skills from the agent-server. This function makes a single API call to the agent-server's /api/skills endpoint to load and merge ski
openhands/app_server/app_conversation/skill_loader.py:505
↓ 7 callersMethodload_tokens
Load authentication tokens from the database and refresh them if necessary. This method uses a double-checked locking pattern to minimize loc
enterprise/storage/auth_token_store.py:102
↓ 7 callersFunctionmake_agent_message
(text: str)
tests/unit/test_issue_duplicate_scripts.py:28
↓ 7 callersFunctionmatches_base_email
Check if an email matches a base email pattern. An email matches if: - It is exactly the base email (e.g., joe@example.com) - It has the
enterprise/server/auth/email_validation.py:54
↓ 7 callersMethodmigrate_entries
( org_id: str, keycloak_user_id: str, user_settings: UserSettings, )
enterprise/storage/lite_llm_manager.py:301
↓ 7 callersFunctionparseMcpConfig
(value: unknown)
frontend/src/utils/mcp-config.ts:132
↓ 7 callersMethodread
(self, path: str)
openhands/app_server/file_store/s3.py:96
↓ 7 callersFunctionread_chunked_cookie
Reassemble a possibly-chunked cookie value, or ``None`` if absent. Concatenates ``key``, ``key_1``, ``key_2`` ... in order, stopping at the f
enterprise/server/auth/cookie_chunking.py:37
↓ 7 callersFunctionreinstall_gitlab_webhook
Reinstall GitLab webhook for a specific resource immediately. This endpoint validates permissions, resets webhook status in the database, and
enterprise/server/routes/integration/gitlab.py:270
↓ 7 callersMethodreply_to_pr_comment
Post a comment back to a pull request. When ``parent_comment_id`` is given, the comment becomes a threaded reply to that parent. When
openhands/app_server/integrations/bitbucket/service/resolver.py:101
↓ 7 callersFunctionrequest_json
( base_url: str, path: str, *, method: str = 'GET', headers: dict[str, str] | None = None,
scripts/issue_duplicate_check_openhands.py:97
↓ 7 callersFunctionrequest_json
( base_url: str, path: str, *, method: str = 'GET', headers: dict[str, str] | None = None,
scripts/issue_good_first_issue_check_openhands.py:97
↓ 7 callersMethodrequire
Return the profile's LLM or raise :class:`ProfileNotFoundError`.
openhands/app_server/settings/llm_profiles.py:192
↓ 7 callersFunctionrequire_financial_data_access
Authorization dependency for accessing organization financial data. Allows access if ANY of these conditions are met: 1. User has Admin
enterprise/server/auth/authorization.py:548
↓ 7 callersFunctionresend_email_verification
( request: Request, body: ResendEmailVerificationRequest | None = None, )
enterprise/server/routes/email.py:117
↓ 7 callersFunctionrow2dict
(row)
openhands/app_server/utils/sql_utils.py:111
↓ 7 callersFunctionrun_in_loop
Mitigate the dreaded "coroutine was created in a different event loop" error. Pass the coroutine to a different event loop if needed.
openhands/app_server/utils/async_utils.py:100
↓ 7 callersMethodsearch_app_conversation_start_tasks
Search for conversation start tasks.
openhands/app_server/app_conversation/app_conversation_start_task_service.py:19
↓ 7 callersMethodsearch_branches
Search for branches within a repository using the appropriate provider service.
openhands/app_server/integrations/provider.py:326
↓ 7 callersFunctionsearch_shared_events
Search / List events for a shared conversation. Because non-viewable events (e.g. ``ConversationStateUpdateEvent``) are filtered out after fe
enterprise/server/sharing/shared_event_router.py:73
↓ 7 callersMethodsearch_verified_models
Search for verified models with optional filtering and pagination. Args: provider: Optional provider name to filter by (e.g., 'op
enterprise/server/verified_models/verified_model_service.py:75
↓ 7 callersMethodset_person_properties
Set person properties in PostHog (SaaS-only). No-op in OSS mode or when ctx.consented=False.
openhands/analytics/analytics_service.py:99
↓ 7 callersFunctionslack_callback_processor
()
enterprise/tests/unit/integrations/slack/test_slack_v1_callback_processor.py:47
↓ 7 callersFunctionupdate_org_member
Update a member's role in an organization. Permission rules: - Admins can change roles of regular members to Admin or Member - Admins can
enterprise/server/routes/orgs.py:1439
↓ 7 callersMethodupdate_user_email
Unconditionally update User.email and/or email_verified. Unlike backfill_user_email(), this overwrites existing values. No-op when bo
enterprise/storage/user_store.py:1081
← previousnext →401–500 of 10,856, ranked by callers