MCPcopy Create free account

hub / github.com/OpenHands/OpenHands / functions

Functions10,856 in github.com/OpenHands/OpenHands

↓ 3 callersFunctionuseActivateLlmProfile
()
frontend/src/hooks/mutation/use-activate-llm-profile.ts:6
↓ 3 callersFunctionuseAgentSettingsSchema
( fallbackSchema?: SettingsSchema | null, )
frontend/src/hooks/query/use-agent-settings-schema.ts:44
↓ 3 callersFunctionuseEmailVerification
()
frontend/src/hooks/use-email-verification.ts:26
↓ 3 callersFunctionuseFilteredEvents
()
frontend/src/hooks/use-filtered-events.ts:29
↓ 3 callersFunctionuseGitUser
()
frontend/src/hooks/query/use-git-user.ts:9
↓ 3 callersFunctionuseHandlePlanClick
()
frontend/src/hooks/use-handle-plan-click.ts:20
↓ 3 callersFunctionuseInfiniteScroll
({ hasNextPage, isFetchingNextPage, fetchNextPage, threshold = 100, }: UseInfiniteScrollOptions)
frontend/src/hooks/use-infinite-scroll.ts:10
↓ 3 callersFunctionuseLlmProfiles
()
frontend/src/hooks/query/use-llm-profiles.ts:7
↓ 3 callersFunctionuseOrganization
()
frontend/src/hooks/query/use-organization.ts:5
↓ 3 callersFunctionuseRenameLlmProfile
()
frontend/src/hooks/mutation/use-rename-llm-profile.ts:11
↓ 3 callersFunctionuseRuntimeIsReady
({ allowAgentError = false, }: UseRuntimeIsReadyOptions = {})
frontend/src/hooks/use-runtime-is-ready.ts:17
↓ 3 callersFunctionuseSearchSecrets
(options: UseSearchSecretsOptions = {})
frontend/src/hooks/query/use-get-secrets.ts:38
↓ 3 callersFunctionuseSelectConversationTab
()
frontend/src/hooks/use-select-conversation-tab.ts:12
↓ 3 callersFunctionuseSettingsNavItems
()
frontend/src/hooks/use-settings-nav-items.ts:45
↓ 3 callersFunctionuseShouldShowGitFeatures
()
frontend/src/hooks/use-should-show-git-features.ts:17
↓ 3 callersFunctionuseSwitchLlmProfileAndLog
()
frontend/src/hooks/mutation/use-switch-llm-profile-and-log.ts:12
↓ 3 callersFunctionuseSwitchOrganization
()
frontend/src/hooks/mutation/use-switch-organization.ts:10
↓ 3 callersFunctionuseTrackCreatePrButtonClicked
()
frontend/src/hooks/mutation/use-track-create-pr-button-clicked.ts:14
↓ 3 callersFunctionuseUnifiedResumeConversationSandbox
()
frontend/src/hooks/mutation/use-unified-start-conversation.ts:26
↓ 3 callersFunctionuseUnifiedWebSocketStatus
()
frontend/src/hooks/use-unified-websocket-status.ts:11
↓ 3 callersFunctionuser_id_from_item
(item: dict[str, Any])
scripts/auto_close_duplicate_issues.py:215
↓ 3 callersMethodvalidate_name_uniqueness
Validate that organization name is unique. Args: name: Organization name to validate Raises: OrgNam
enterprise/storage/org_service.py:41
↓ 3 callersFunctionvalidate_provider_token
Determine whether a token is for GitHub, GitLab, Bitbucket, Bitbucket Data Center, or Azure DevOps by attempting to get user info from the services.
openhands/app_server/integrations/utils.py:19
↓ 3 callersFunctionverified_email
(request: Request)
enterprise/server/routes/email.py:161
↓ 2 callersMethod__init__
(self, requests: int = 2, seconds: int = 1, sleep_seconds: int = 1)
openhands/app_server/middleware.py:84
↓ 2 callersMethod__init__
(self, name: str)
openhands/app_server/settings/llm_profiles.py:75
↓ 2 callersMethod_apply_filters
( self, query: Select, title__contains: str | None = None, created_at__gte: da
openhands/app_server/app_conversation/sql_app_conversation_info_service.py:283
↓ 2 callersMethod_apply_filters_with_saas_metadata
Apply filters to query that includes SAAS metadata.
enterprise/server/utils/saas_app_conversation_info_injector.py:249
↓ 2 callersFunction_archive_bucket
()
openhands/app_server/sandbox/workspace_archive.py:91
↓ 2 callersFunction_archive_format
()
openhands/app_server/sandbox/workspace_archive.py:99
↓ 2 callersFunction_as_naive
Strip tzinfo so a value can be written to a `TIMESTAMP WITHOUT TIME ZONE` column. Naive values are passed through unchanged; values already in UTC
enterprise/storage/api_key_store.py:30
↓ 2 callersFunction_attachment_title
(file_info: dict[str, Any])
enterprise/integrations/slack/slack_attachments.py:272
↓ 2 callersMethod_build_acp_start_conversation_request
Build a StartConversationRequest for ACP agent conversations. User secrets (Secrets panel + git provider tokens) flow through ``reque
openhands/app_server/app_conversation/live_status_app_conversation_service.py:2001
↓ 2 callersFunction_build_budget_response
(state: dict)
enterprise/server/routes/orgs.py:1108
↓ 2 callersMethod_build_conversation
( self, app_conversation_info: AppConversationInfo | None, sandbox: SandboxInfo | None
openhands/app_server/app_conversation/live_status_app_conversation_service.py:714
↓ 2 callersMethod_build_event_payload
Build the minimal event payload to forward to the automation service. Access control is NOT included here - it's deferred to executi
enterprise/server/services/automation_event_service.py:324
↓ 2 callersMethod_build_observability_metadata
Repo identity for the Laminar trace so trajectories are searchable by repo / branch / commit (the trace UI has no DB to join against).
openhands/app_server/app_conversation/live_status_app_conversation_service.py:1601
↓ 2 callersMethod_build_user_budget_rows
( self, org_id: UUID, settings: OrgBudgetSettings, cycle_start: datetime,
enterprise/server/services/org_budget_service.py:358
↓ 2 callersFunction_bundled_agent_server_version
Version of the installed openhands-agent-server package. openhands-agent-server is a hard runtime dependency of the V1 app server; if it's no
openhands/app_server/sandbox/sandbox_spec_service.py:21
↓ 2 callersFunction_cleanup_clone_dir
Clean up a cloned repository directory.
openhands/app_server/user/skills_router.py:306
↓ 2 callersFunction_cleanup_tempfile
(path: str | None)
openhands/app_server/sandbox/workspace_archive.py:167
↓ 2 callersFunction_coerce_value
Unwrap SecretStr to plain values.
openhands/app_server/settings/settings_models.py:256
↓ 2 callersMethod_commenter_has_write_access
Use the installer's Bitbucket token to check whether the commenter has ``write``/``admin`` permission on the PR's repository. Calling
enterprise/integrations/bitbucket/bitbucket_manager.py:54
↓ 2 callersMethod_configure_azure_devops_git_credential_helper
( self, workspace: AsyncRemoteWorkspace, git_dir: Path, selected_repository: s
openhands/app_server/app_conversation/app_conversation_service_base.py:462
↓ 2 callersMethod_confirm_incoming_source_type
(self, message: Message)
enterprise/integrations/github/github_manager.py:65
↓ 2 callersMethod_confirm_incoming_source_type
(self, message: Message)
enterprise/integrations/azure_devops/azure_devops_manager.py:48
↓ 2 callersMethod_confirm_incoming_source_type
(self, message: Message)
enterprise/integrations/gitlab/gitlab_manager.py:47
↓ 2 callersFunction_cookie_jar
Reduce a response's Set-Cookie headers to what a browser would keep.
enterprise/tests/unit/server/auth/test_cookie_chunking.py:21
↓ 2 callersMethod_create_file_name
( self, path: str, repo_id: str, number: int, conversation_id: str | None )
enterprise/integrations/github/data_collector.py:126
↓ 2 callersMethod_create_github_issue
(self)
enterprise/tests/unit/test_github_view.py:187
↓ 2 callersMethod_create_gitlab_issue
(self)
enterprise/tests/unit/test_gitlab_view.py:35
↓ 2 callersMethod_create_jira_v1_callback_processor
Create a V1 callback processor for Jira integration.
enterprise/integrations/jira/jira_view.py:281
↓ 2 callersMethod_create_saas_metadata
Helper to create SAAS metadata for a conversation.
enterprise/tests/unit/test_sharing/test_sharing_shared_conversation_info_service.py:295
↓ 2 callersFunction_create_safe_task
Create a task that won't be garbage-collected before completion.
enterprise/integrations/github/github_service.py:19
↓ 2 callersMethod_create_sandbox_directory
Create a dedicated directory for the sandbox.
openhands/app_server/sandbox/process_sandbox_service.py:108
↓ 2 callersMethod_create_service_hook_subscription
( self, *, event_type: str, publisher_inputs: dict[str, str], webhook_
openhands/app_server/integrations/azure_devops/service/webhooks.py:58
↓ 2 callersMethod_decrypt_kwargs
(self, kwargs: dict)
enterprise/storage/saas_secrets_store.py:105
↓ 2 callersMethod_delete_from_agent_server
Delete conversation from agent server if sandbox is running.
openhands/app_server/app_conversation/live_status_app_conversation_service.py:2512
↓ 2 callersMethod_delete_from_database
Delete conversation from database. Args: app_conversation_info: The app conversation info to delete (already fetched).
openhands/app_server/app_conversation/live_status_app_conversation_service.py:2545
↓ 2 callersFunction_delete_one
( response: Response, key: str, *, domain: str | None = None, samesite: str = 'lax', )
enterprise/server/auth/cookie_chunking.py:102
↓ 2 callersFunction_derive_verified_models
Extract the bare model names from the ``openhands/…`` model list.
openhands/app_server/utils/llm.py:252
↓ 2 callersMethod_docker_status_to_sandbox_status
Convert Docker container status to SandboxStatus.
openhands/app_server/sandbox/docker_sandbox_service.py:119
↓ 2 callersFunction_dump
Dump settings to a JSON-compatible dict with secrets exposed.
tests/unit/app_server/test_settings_api.py:29
↓ 2 callersFunction_effective_user_budget_limit
( override: OrgUserBudgetOverride | None, default_limit: float | None, )
enterprise/server/services/org_budget_service.py:75
↓ 2 callersMethod_encrypt_kwargs
(self, kwargs: dict)
enterprise/storage/saas_secrets_store.py:116
↓ 2 callersFunction_ensure_dc_admin_access
Mirror of Cloud's ``_ensure_admin_access``. The DC ``user_has_admin_access`` implementation fails open on introspection errors (see its docst
enterprise/server/routes/integration/bitbucket_dc.py:147
↓ 2 callersFunction_env_value
(name: str, *aliases: str, default: str = '')
enterprise/storage/default_org_service.py:41
↓ 2 callersFunction_existing_columns
()
enterprise/migrations/versions/122_add_oauth_tokens_to_jira_dc_users.py:31
↓ 2 callersMethod_extend_observability_metadata
( target: dict[str, Any], metadata: Mapping[str, Any] )
openhands/app_server/app_conversation/live_status_app_conversation_service.py:1383
↓ 2 callersMethod_extract_and_validate
Extract common fields and validate required data is present.
enterprise/integrations/jira/jira_payload.py:187
↓ 2 callersFunction_extract_oauth_state
Extract redirect URL, reCAPTCHA token, and invitation token from OAuth state. Returns: Tuple of (redirect_url, recaptcha_token, invitatio
enterprise/server/routes/auth.py:134
↓ 2 callersMethod_extract_owner_and_repo
Extract owner and repo from repository string. Args: repository: Repository name in format 'workspace/repo_slug' Returns
openhands/app_server/integrations/bitbucket/service/base.py:39
↓ 2 callersMethod_extract_repo_identity
(message: Message)
enterprise/integrations/bitbucket_data_center/bitbucket_dc_manager.py:67
↓ 2 callersMethod_extract_repo_metadata
Extract repository metadata from GraphQL response
enterprise/integrations/github/data_collector.py:271
↓ 2 callersFunction_extract_work_item_comment
(payload: dict[str, Any])
enterprise/integrations/azure_devops/azure_devops_view.py:104
↓ 2 callersFunction_extract_workspace_urls
Return Jira URLs whose hosts identify the configured workspace.
enterprise/integrations/jira_dc/jira_dc_manager.py:90
↓ 2 callersFunction_fernet
()
enterprise/server/routes/github_proxy.py:38
↓ 2 callersMethod_fetch_service_account_identity
Return the service account's Jira (name, key) from /myself.
enterprise/integrations/jira_dc/jira_dc_manager.py:673
↓ 2 callersMethod_fetch_team_spend
(self, org_id: UUID)
enterprise/server/services/org_budget_service.py:325
↓ 2 callersFunction_fix_record
(record: logging.LogRecord)
openhands/app_server/utils/logger.py:168
↓ 2 callersMethod_format_slack_message_context
(self, message: dict)
enterprise/integrations/slack/slack_view.py:95
↓ 2 callersMethod_get_azure_devops_headers
Retrieve the Azure DevOps authentication headers. Supports two authentication methods: 1. OAuth 2.0 (Bearer token) - Used for SSO/Saa
openhands/app_server/integrations/azure_devops/azure_devops_service.py:123
↓ 2 callersMethod_get_branch_name
(self)
enterprise/integrations/github/github_view.py:97
↓ 2 callersMethod_get_conversation_export_info
( self, conversation_id: UUID )
openhands/app_server/app_conversation/live_status_app_conversation_service.py:2566
↓ 2 callersMethod_get_effective_org_id
Resolve the effective org id for the active user context. Returns the request's effective org id (X-Org-Id > api_key_org_id > user.cu
enterprise/server/utils/saas_app_conversation_info_injector.py:93
↓ 2 callersMethod_get_external_auth_id
Get or fetch external_auth_id from Keycloak token if not already set.
enterprise/integrations/github/github_service.py:141
↓ 2 callersMethod_get_full_repo_name
(self, repo_obj: dict)
enterprise/integrations/github/github_manager.py:69
↓ 2 callersMethod_get_headers
Retrieve the GH Token from settings store to construct the headers.
openhands/app_server/integrations/github/service/base.py:39
↓ 2 callersMethod_get_headers
Retrieve the GitLab Token to construct the headers
openhands/app_server/integrations/gitlab/service/base.py:24
↓ 2 callersMethod_get_ignored_sender_login
(self, message: Message)
enterprise/integrations/github/github_manager.py:131
↓ 2 callersMethod_get_initial_prompt
(self, text: str, blocks: list[dict])
enterprise/integrations/slack/slack_view.py:70
↓ 2 callersMethod_get_installation_access_token
(self)
enterprise/integrations/github/github_v1_callback_processor.py:114
↓ 2 callersFunction_get_jira_dc_service_account_config_error
Return a web-client-safe service-account config error, if any.
openhands/app_server/web_client/default_web_client_config_injector.py:159
↓ 2 callersFunction_get_jira_dc_service_account_email
Return the env-managed service-account email when fully configured.
openhands/app_server/web_client/default_web_client_config_injector.py:169
↓ 2 callersFunction_get_member
( session: AsyncSession, org_id: UUID, user_id: str )
enterprise/server/routes/agent_profiles.py:132
↓ 2 callersMethod_get_models_response
Fetch the raw ``ModelsResponse`` from all configured sources. The result is cached on the service instance so that multiple calls (e.
openhands/app_server/config_api/default_llm_model_service.py:146
↓ 2 callersFunction_get_org_and_member
Fetch the org (raising 404 if missing) and the acting member's row. The member is read in its own short-lived session — matches the org read,
enterprise/server/routes/agent_profiles.py:143
↓ 2 callersMethod_get_redis_client
Get the shared async Redis client from enterprise storage.
enterprise/storage/user_store.py:219
↓ 2 callersFunction_get_redis_kwargs
Return common kwargs for Redis client creation.
openhands/app_server/utils/redis.py:20
↓ 2 callersMethod_get_resolved_org_id
Resolve the org ID for V1 conversations.
enterprise/integrations/jira/jira_view.py:290
← previousnext →1,301–1,400 of 10,856, ranked by callers