MCPcopy Create free account

hub / github.com/OpenHands/OpenHands / functions

Functions10,856 in github.com/OpenHands/OpenHands

↓ 3 callersMethodget_sandbox_by_session_api_key
( self, session_api_key: str )
tests/unit/app_server/test_sandbox_service.py:46
↓ 3 callersMethodget_session_maker
(self)
openhands/app_server/services/db_session_injector.py:256
↓ 3 callersFunctionget_shared_event
Get a single event from a shared conversation by conversation_id and event_id.
enterprise/server/sharing/shared_event_router.py:189
↓ 3 callersMethodget_sub_conversation_ids
Get all sub-conversation IDs for a given parent conversation. Args: parent_conversation_id: The ID of the parent conversation
openhands/app_server/app_conversation/app_conversation_info_service.py:75
↓ 3 callersFunctionget_super_role_permissions
Get the permissions for a "super" role. A super role is the same role row (``owner`` / ``admin`` / ``member``) referenced via ``user.rol
enterprise/server/auth/authorization.py:315
↓ 3 callersMethodget_user_email
Get the email for the current user
openhands/app_server/user_auth/user_auth.py:57
↓ 3 callersMethodget_user_groups
Get list of GitLab group paths that the user is a member of.
openhands/app_server/integrations/gitlab/service/repos.py:174
↓ 3 callersMethodget_user_info
( self, *, resolve_agent_profile: bool = False, override_agent_profile_id: str
enterprise/integrations/resolver_context.py:39
↓ 3 callersMethodget_user_organizations
Get list of organization logins that the user is a member of.
openhands/app_server/integrations/github/service/repos.py:157
↓ 3 callersMethodget_web_client_config
Get the current web client configuration.
openhands/app_server/web_client/web_client_config_injector.py:9
↓ 3 callersMethodget_webhook_by_id
(self, webhook_id: int)
enterprise/storage/bitbucket_dc_webhook_store.py:35
↓ 3 callersMethodget_webhook_by_repo
( self, project_key: str, repo_slug: str )
enterprise/storage/bitbucket_dc_webhook_store.py:97
↓ 3 callersMethodget_webhook_user_id
Return the keycloak ``user_id`` of the installer for ``webhook_uuid``, or None. Used by :class:`BitbucketManager` to resolve "who ins
enterprise/storage/bitbucket_webhook_store.py:30
↓ 3 callersFunctiongitClaimsQueryKey
(organizationId: string | null)
frontend/src/hooks/query/use-git-organizations.ts:6
↓ 3 callersFunctionhandleStatusMessage
(message: StatusMessage)
frontend/src/services/actions.ts:57
↓ 3 callersFunctionhas_real_api_key
Return True iff ``api_key`` carries a non-empty value. A ``SecretStr('')`` should report as *not set* — otherwise the UI tells the user a key
openhands/app_server/settings/llm_profiles.py:22
↓ 3 callersMethodinject
Inject an object. The state object may be used to store variables for reuse by other injectors, as injection operations may be nested.
openhands/app_server/services/injector.py:16
↓ 3 callersFunctionisHookExecutionEvent
( event: OpenHandsEvent, )
frontend/src/types/v1/type-guards.ts:228
↓ 3 callersFunctionisPlanningFileEditorObservationEvent
( event: OpenHandsEvent, )
frontend/src/types/v1/type-guards.ts:137
↓ 3 callersFunctionisSkillReadyEvent
(event: unknown)
frontend/src/components/v1/chat/event-content-helpers/create-skill-ready-event.ts:24
↓ 3 callersFunctionisTaskTrackingObservation
( event: OpenHandsParsedEvent, )
frontend/src/types/core/guards.ts:97
↓ 3 callersFunctionisUserMessage
( event: OpenHandsParsedEvent, )
frontend/src/types/core/guards.ts:39
↓ 3 callersFunctionisV1Event
( event: OpenHandsEvent | OpenHandsParsedEvent, )
frontend/src/types/v1/type-guards.ts:261
↓ 3 callersMethodis_access_token_valid
Check if the access token is still valid. Returns: True if the access token exists and is not expired, False otherwise
enterprise/storage/auth_token_store.py:253
↓ 3 callersMethodis_expired
Check if the device code has expired.
enterprise/storage/device_code.py:60
↓ 3 callersMethodis_issue_comment
(message: Message)
enterprise/integrations/github/github_view.py:567
↓ 3 callersMethodis_user_synced
Check if a user has been synced to a specific audience. Args: email: The email address to check. audience_id: The Res
enterprise/storage/resend_synced_user_store.py:19
↓ 3 callersMethodis_work_item_comment
(message: Message)
enterprise/integrations/azure_devops/azure_devops_view.py:398
↓ 3 callersFunctioniterate
Iterate over paged result sets. Assumes that the results sets contain an array of result objects, and a next_page_id
openhands/app_server/utils/search_utils.py:19
↓ 3 callersMethodlist
Profile "filenames" (``<name>.json``) — used only for emptiness checks.
openhands/app_server/settings/agent_profiles.py:130
↓ 3 callersMethodlist_blobs
(self, prefix: str | None = None)
tests/unit/app_server/file_store/test_file_store.py:41
↓ 3 callersMethodlist_objects_v2
(self, Bucket: str, Prefix: str = '')
tests/unit/app_server/file_store/test_file_store.py:123
↓ 3 callersFunctionlist_secret_names
List available secret names (no raw values). Includes both custom secrets and provider tokens (e.g. github_token).
openhands/app_server/sandbox/sandbox_router.py:158
↓ 3 callersMethodlist_service_hook_subscriptions
(self)
enterprise/tests/unit/server/routes/test_azure_devops_integration_routes.py:45
↓ 3 callersFunctionload_composed_marketplaces
Gather instance + org + user marketplaces and compose them. ``settings_store`` must expose ``get_org_marketplaces(user_id)`` (all ``SettingsS
openhands/app_server/settings/marketplace_composition.py:254
↓ 3 callersMethodload_token
Load an offline token from the database.
enterprise/storage/offline_token_store.py:35
↓ 3 callersFunctionlooks_like_jwt
(token_value: str)
openhands/app_server/utils/auth.py:1
↓ 3 callersFunctionmake_claim
Factory to create mock OrgGitClaim objects.
enterprise/tests/unit/server/routes/test_org_git_claims.py:41
↓ 3 callersMethodmake_system_key_name
Create a system key name with the appropriate prefix. Format: __SYSTEM__:<name>
enterprise/storage/api_key_store.py:73
↓ 3 callersMethodmark_expired_if_needed
Check if invitation is expired and update status if needed. Args: invitation: The invitation to check Returns:
enterprise/storage/org_invitation_store.py:266
↓ 3 callersFunctionmaterialize_agent_profile
Dry-run resolve a profile's LLM/MCP references into a diagnostics report. Dangling refs are reported in the body (``valid=False``), not raised; t
enterprise/server/routes/agent_profiles.py:431
↓ 3 callersMethodname_for_id
(self, profile_id: str | UUID)
openhands/app_server/settings/agent_profiles.py:218
↓ 3 callersFunctionnormalize_db_ssl_mode
(db_ssl_mode: str | None)
openhands/db/ssl.py:6
↓ 3 callersFunctionoffset_to_page_id
(offset: int, has_next: bool)
openhands/app_server/utils/search_utils.py:5
↓ 3 callersFunctiononboarding_status
Return whether the current user must still complete onboarding. Kept as a dedicated endpoint instead of riding on ``GET /api/v1/settings`` (t
enterprise/server/routes/auth.py:984
↓ 3 callersFunctionpage_id_to_offset
(page_id: str | None)
openhands/app_server/utils/search_utils.py:12
↓ 3 callersFunctionparseMaxBudgetPerTask
(value: string)
frontend/src/utils/settings-utils.ts:24
↓ 3 callersMethodreceive_message
(self, message: Message)
enterprise/integrations/github/github_manager.py:254
↓ 3 callersMethodreceive_message
(self, message: Message)
enterprise/integrations/bitbucket/bitbucket_manager.py:91
↓ 3 callersFunctionrefresh_conversation
Refresh a conversation. Grab ConversationInfo and all events from the agent server and make sure they exist in the app server. IMPORTANT
openhands/app_server/sandbox/remote_sandbox_service.py:950
↓ 3 callersMethodregister_webhook
Create or update the OpenHands webhook in Jira DC via the admin API. Uses Jira Data Center's ``jira-webhook`` plugin REST API (the same one t
enterprise/integrations/jira_dc/jira_dc_manager.py:875
↓ 3 callersFunctionremove_candidate_label
( repository: str, issue_number: int, *, dry_run: bool )
scripts/auto_close_duplicate_issues.py:257
↓ 3 callersMethodrenameProfile
(name: string, newName: string)
frontend/src/api/settings-service/profiles-service.api.ts:58
↓ 3 callersFunctionrequireOrgDefaultsRedirect
(redirectPath: string = FALLBACK_REDIRECT_PATH)
frontend/src/utils/org/saas-redirect-to-org-defaults-guard.ts:30
↓ 3 callersFunctionresolveSchemaFieldDescription
( t: TFunction, fieldKey: string, schemaValue?: string | null, )
frontend/src/utils/sdk-settings-field-metadata.ts:125
↓ 3 callersFunctionresolveSchemaFieldLabel
( t: TFunction, fieldKey: string, schemaValue: string, )
frontend/src/utils/sdk-settings-field-metadata.ts:113
↓ 3 callersFunctionresolveSchemaFieldText
* Common resolver for schema field text (labels and descriptions). * Uses the i18n fallback chain: * 1. If schema provides an explicit translation k
frontend/src/utils/sdk-settings-field-metadata.ts:78
↓ 3 callersFunctionresolve_profile_llm
Resolve a saved profile's LLM for activation on the agent server. Fills the provider-default ``base_url`` when the profile saved none, and fa
openhands/app_server/settings/llm_profiles.py:37
↓ 3 callersFunctionresolve_sandbox_spec
Return the SandboxSpecInfo to use for a new sandbox. Resolution order: 1. ``sandbox_spec_id`` (caller-explicit) — not found is a hard error.
openhands/app_server/sandbox/sandbox_spec_service.py:83
↓ 3 callersFunctionresourceKey
(resource: BitbucketDCResource)
frontend/src/components/features/settings/git-settings/bitbucket-dc-webhook-manager.tsx:16
↓ 3 callersMethodresume_sandbox
Begin the process of resuming a sandbox. Return True if the sandbox exists and is being resumed or is already running. Return False i
openhands/app_server/sandbox/sandbox_service.py:86
↓ 3 callersMethodretrieve_api_key_by_name
Retrieve an API key by name for a specific user.
enterprise/storage/api_key_store.py:413
↓ 3 callersMethodretrieve_mcp_api_key
( self, user_id: str, org_id: UUID | None = None )
enterprise/storage/api_key_store.py:391
↓ 3 callersMethodrun_budget_maintenance
(self, org_id: UUID)
enterprise/server/services/org_budget_service.py:136
↓ 3 callersFunctionsanitizeReturnTo
(raw: string | null)
frontend/src/routes/onboarding-form.tsx:36
↓ 3 callersMethodsave_app_conversation_start_task
( self, task: AppConversationStartTask )
openhands/app_server/app_conversation/sql_app_conversation_start_task_service.py:235
↓ 3 callersFunctionsearch_app_conversations
Search / List sandboxed conversations.
openhands/app_server/app_conversation/app_conversation_router.py:224
↓ 3 callersMethodsearch_app_conversations
Search for sandboxed conversations.
openhands/app_server/app_conversation/app_conversation_service.py:37
↓ 3 callersMethodsearch_providers
Search providers with optional filtering and pagination. Args: query: Case-insensitive substring match on the provider name.
openhands/app_server/config_api/llm_model_service.py:41
↓ 3 callersFunctionsearch_suggested_tasks
Get suggested tasks for the user. Returns a paginated list of suggested tasks including: - PRs owned by the user - Issues assigned to the
openhands/app_server/git/git_router.py:280
↓ 3 callersFunctionsendToClient
* @param {Client} client * @param {any} message * @param {Array<Transferable>} transferrables * @returns {Promise<any>}
frontend/public/mockServiceWorker.js:288
↓ 3 callersMethodsend_message
Send message to integration from OpenHands server. Args: message: The message content to send (plain text string).
enterprise/integrations/manager.py:19
↓ 3 callersMethodsend_message
Send message/comment to Jira DC issue. Args: message: The message content to send (plain text string) issue_key: The
enterprise/integrations/jira_dc/jira_dc_manager.py:800
↓ 3 callersMethodsend_message
( self, message: str, bitbucket_view: ResolverViewInterface )
enterprise/integrations/bitbucket/bitbucket_manager.py:131
↓ 3 callersMethodsend_message
Send a message to Slack. Args: message: The message content. Can be a string (for simple text) or a dict wit
enterprise/integrations/slack/slack_manager.py:669
↓ 3 callersFunctionsetOrganizationId
( newOrganizationId: string | null, options?: SetOrganizationIdOptions, )
frontend/src/context/use-selected-organization.ts:14
↓ 3 callersFunctionsetSelectedTab
(tab: ConversationTab | null)
frontend/__tests__/components/features/conversation/conversation-tab-content.test.tsx:81
↓ 3 callersFunctionset_chunked_cookie
Set ``key`` to ``value``, splitting across sibling cookies if needed. Always clears trailing chunk indices that this write does not use, so a
enterprise/server/auth/cookie_chunking.py:55
↓ 3 callersMethodset_customer_info
Update customer and instance identification information. Args: customer_id: Unique identifier for the customer instan
enterprise/storage/telemetry_identity.py:71
↓ 3 callersFunctionset_stale_task_error
()
enterprise/run_maintenance_tasks.py:23
↓ 3 callersMethodshutdown
Flush and shut down the PostHog client. Safe to call multiple times. SDK errors are logged, not raised.
openhands/analytics/analytics_service.py:526
↓ 3 callersMethodstore_idp_tokens
( self, idp: ProviderType, user_id: str, keycloak_access_token: str, )
enterprise/server/auth/token_manager.py:175
↓ 3 callersMethodstore_offline_token
(self, user_id: str, offline_token: str)
enterprise/server/auth/token_manager.py:1030
↓ 3 callersFunctionstore_repositories_in_db
Store repositories in DB and create user-repository mappings Args: repos: List of Repository objects to store user_id: User
enterprise/integrations/store_repo_utils.py:10
↓ 3 callersMethodstore_token
Store an offline token in the database.
enterprise/storage/offline_token_store.py:16
↓ 3 callersFunctionsyncState
()
frontend/src/utils/conversation-local-storage.ts:172
↓ 3 callersFunctionsync_users_to_resend
Sync OpenHands users to Resend. This function syncs users from the OpenHands database to a Resend audience. It tracks which users have been s
enterprise/sync/resend_keycloak.py:375
↓ 3 callersFunctiontokenizeCommand
(value: string)
frontend/src/utils/shell-tokenize.ts:10
↓ 3 callersFunctiontrackEnterpriseCTAClicked
({ location }: { location: string })
frontend/src/hooks/use-client-analytics.ts:15
↓ 3 callersMethodtrack_conversation_created
Track 'conversation created' event. Fired when a new conversation is started.
openhands/analytics/analytics_service.py:193
↓ 3 callersFunctiontransformVSCodeUrl
(vsCodeUrl: string | null)
frontend/src/utils/vscode-url-helper.ts:10
↓ 3 callersMethodtrigger
(self, signalnum: Signals)
tests/unit/utils/test_shutdown_listener.py:33
↓ 3 callersFunctionupdateConversationSandboxStatusInCache
( queryClient: QueryClient, conversationId: string, sandbox_status: V1SandboxStatus, )
frontend/src/hooks/mutation/conversation-mutation-utils.ts:95
↓ 3 callersMethodupdate_conversation_id
Update conversation_id when task-id transitions to real conversation-id. Returns the number of messages updated.
openhands/app_server/pending_messages/pending_message_service.py:66
↓ 3 callersFunctionupdate_org_defaults_settings
Update org-default settings for a specific organization.
enterprise/server/routes/orgs.py:300
↓ 3 callersMethodupdate_poll_time
Update the last poll time and optionally increase the interval. Args: increase_interval: If True, increase the current interval f
enterprise/storage/device_code.py:121
↓ 3 callersMethodupdate_repository_webhook
Update an existing webhook via ``PUT .../webhooks/{id}``. BBDC requires the full payload on PUT (not partial), so we send the same bo
openhands/app_server/integrations/bitbucket_data_center/service/webhooks.py:83
↓ 3 callersMethodupdate_team_and_users_budget
( team_id: str, max_budget: float, )
enterprise/storage/lite_llm_manager.py:630
↓ 3 callersMethodupdate_user_app_settings
Update user app settings. Only updates fields that are explicitly provided in update_data. Uses flush() - commit happens at request e
enterprise/storage/user_app_settings_store.py:34
↓ 3 callersMethodupdate_user_role_in_org
Update user's role in an organization.
enterprise/storage/org_member_store.py:111
← previousnext →1,201–1,300 of 10,856, ranked by callers