MCPcopy Create free account

hub / github.com/OpenHands/OpenHands / types & classes

Types & classes2,162 in github.com/OpenHands/OpenHands

↓ 157 callersClassOrg
Organization model.
enterprise/storage/org.py:30
↓ 112 callersClassUser
User model with organizational relationships. This model satisfies the UserBase protocol via structural typing.
enterprise/storage/user.py:22
↓ 77 callersClassRole
Role model for user permissions.
enterprise/storage/role.py:16
↓ 75 callersClassAppConversationInfo
Conversation info which does not contain status.
openhands/app_server/app_conversation/app_conversation_models.py:110
↓ 73 callersClassProviderToken
openhands/app_server/integrations/provider.py:50
↓ 70 callersClassOrgMember
Junction table for organization-member relationships with roles.
enterprise/storage/org_member.py:20
↓ 69 callersClassSettings
Persisted settings for OpenHands sessions. Agent settings (agent, llm, mcp, condenser) live in ``agent_settings``. Conversation settings (max
openhands/app_server/settings/settings_models.py:347
↓ 59 callersClassSaasUserAuth
enterprise/server/auth/saas_user_auth.py:58
↓ 58 callersClassSecrets
Model for storing provider tokens and custom secrets.
openhands/app_server/secrets/secrets_models.py:36
↓ 55 callersClassMessage
Message model for incoming webhook payloads from integrations. Note: This model is intended for INCOMING messages only. For outgoing messages
enterprise/integrations/models.py:22
↓ 52 callersClassMarketplaceRegistration
Registration for a plugin marketplace. Represents a marketplace that can be registered for plugin resolution. Marketplaces can be auto-loaded
openhands/app_server/settings/settings_models.py:68
↓ 33 callersClassSandboxInfo
Information about a sandbox.
openhands/app_server/sandbox/sandbox_models.py:48
↓ 33 callersClassSpecifyUserContext
User context for use in admin operations which allows access beyond the scope of a single user
openhands/app_server/user/specifiy_user_context.py:14
↓ 32 callersClassSaasSettingsStore
enterprise/storage/saas_settings_store.py:76
↓ 31 callersClassRepository
openhands/app_server/integrations/service_types.py:148
↓ 30 callersClassLLMProfiles
Container for saved LLM configurations. Stores a named collection of ``LLM`` configurations plus the name of the currently active one (if any
openhands/app_server/settings/llm_profiles.py:137
↓ 30 callersInterfaceTextContent
frontend/src/types/v1/core/base/common.ts:78
↓ 29 callersClassBitbucketDCService
Default implementation of GitService for Bitbucket data center integration. This is an extension point in OpenHands that allows applications to c
openhands/app_server/integrations/bitbucket_data_center/bitbucket_dc_service.py:20
↓ 28 callersClassPluginSpec
Specification for loading a plugin into a conversation. Extends SDK's PluginSource with user-provided plugin configuration parameters. Inheri
openhands/app_server/app_conversation/app_conversation_models.py:71
↓ 27 callersClassProviderHandler
openhands/app_server/integrations/provider.py:106
↓ 26 callersClassGitHubService
Assembled GitHub service class combining mixins by feature area. TODO: This doesn't seem a good candidate for the get_impl() pattern. What a
openhands/app_server/integrations/github/github_service.py:21
↓ 26 callersClassTokenManager
enterprise/server/auth/token_manager.py:92
↓ 25 callersClassApiKey
Represents an API key for a user.
enterprise/storage/api_key.py:13
↓ 25 callersClassMockUserInfo
Mock class for UserInfo to simulate user settings.
tests/unit/app_server/test_app_conversation_service_base.py:25
↓ 25 callersClassSaasSQLAppConversationInfoService
Extended SQLAppConversationInfoService with user and organization-based filtering and SAAS metadata handling.
enterprise/server/utils/saas_app_conversation_info_injector.py:30
↓ 24 callersClassExposedUrl
URL to access some named service within the container.
openhands/app_server/sandbox/sandbox_models.py:18
↓ 22 callersClassAppConversationStartRequest
Start conversation request object. Although a user can go directly to the sandbox and start conversations, they would need to manually supply
openhands/app_server/app_conversation/app_conversation_models.py:221
↓ 21 callersClassCustomSecret
openhands/app_server/integrations/provider.py:79
↓ 21 callersClassOrgUpdate
Request model for updating an organization. ``agent_settings_diff`` and ``conversation_settings_diff`` are sparse diffs that are deep-merged
enterprise/server/routes/org_models.py:263
↓ 20 callersClassBranch
openhands/app_server/integrations/service_types.py:133
↓ 20 callersClassOrgAppSettingsUpdate
Request model for updating organization app settings.
enterprise/server/routes/org_models.py:631
↓ 20 callersClassProvisionUserRequest
Payload for ``POST /api/organizations/provision-user``.
enterprise/server/routes/user_provisioning.py:162
↓ 19 callersClassAppConversation
openhands/app_server/app_conversation/app_conversation_models.py:195
↓ 19 callersClassGitLabService
Assembled GitLab service class combining mixins by feature area. TODO: This doesn't seem a good candidate for the get_impl() pattern. What a
openhands/app_server/integrations/gitlab/gitlab_service.py:21
↓ 19 callersClassLiteLLMProxyModelService
Model discovery backed by the bundled LiteLLM proxy. Inherits filtering, pagination, and provider logic from ``DefaultLLMModelService`` — onl
enterprise/server/verified_models/litellm_proxy_model_router.py:68
↓ 19 callersClassVerifiedModelService
Store for CRUD operations on verified models. Follows the async pattern with db_session as an attribute.
enterprise/server/verified_models/verified_model_service.py:67
↓ 18 callersClassDefaultLLMModelService
Model discovery via litellm catalogue, optional Bedrock, and optional Ollama.
openhands/app_server/config_api/default_llm_model_service.py:112
↓ 18 callersClassDockerSandboxSpecServiceInjector
openhands/app_server/sandbox/docker_sandbox_spec_service.py:55
↓ 18 callersClassEncryptionKey
Configuration for an encryption key.
openhands/app_server/utils/encryption_key.py:13
↓ 18 callersClassSandboxSpecInfo
A template for creating a Sandbox (e.g: A Docker Image vs Container).
openhands/app_server/sandbox/sandbox_spec_models.py:8
↓ 17 callersClassAuthTokenStore
enterprise/storage/auth_token_store.py:26
↓ 17 callersClassJiraDcWorkspaceCreate
enterprise/server/routes/integration/jira_dc.py:69
↓ 17 callersClassOrgMemberUpdate
Request model for updating an organization member.
enterprise/server/routes/org_models.py:525
↓ 16 callersClassBitbucketDCManager
Resolver manager for Bitbucket Data Center webhook events.
enterprise/integrations/bitbucket_data_center/bitbucket_dc_manager.py:45
↓ 16 callersClassFakeResponse
enterprise/tests/unit/test_verified_model/test_litellm_proxy_model_service.py:53
↓ 16 callersClassSaaSAzureDevOpsService
enterprise/integrations/azure_devops/azure_devops_service.py:16
↓ 16 callersClassSaveProfileRequest
Request body for saving a profile.
enterprise/server/routes/org_profiles.py:98
↓ 15 callersClassAppConversationStartTask
Object describing the start process for an app conversation. Because starting an app conversation can be slow (And can involve starting a sandbox
openhands/app_server/app_conversation/app_conversation_models.py:307
↓ 15 callersInterfaceEventPage
frontend/src/api/shared-conversation-service.api.ts:21
↓ 15 callersClassExposedPort
Exposed port within container to be matched to a free port on the host.
openhands/app_server/sandbox/docker_sandbox_service.py:75
↓ 15 callersClassSandboxRecord
Persisted identity fields for a sandbox — no live runtime data. Contains only what is stored in the app server's own database (id and owner).
openhands/app_server/sandbox/sandbox_models.py:33
↓ 15 callersInterfaceTokenUsage
frontend/src/types/v1/core/events/conversation-state-event.ts:7
↓ 15 callersClassUserInfo
Model for user settings including the current user id.
openhands/app_server/user/user_models.py:5
↓ 14 callersClassAgentProfiles
Id-keyed collection of ``AgentProfile``\\ s + an org-default active pointer. Conforms to :class:`~openhands.sdk.profiles.AgentProfileStoreProtoco
openhands/app_server/settings/agent_profiles.py:64
↓ 14 callersClassBitBucketService
Default implementation of GitService for Bitbucket integration. This is an extension point in OpenHands that allows applications to customize Bit
openhands/app_server/integrations/bitbucket/bitbucket_service.py:19
↓ 14 callersClassGithubManager
enterprise/integrations/github/github_manager.py:51
↓ 14 callersClassSaaSBitbucketDCService
enterprise/integrations/bitbucket_data_center/bitbucket_dc_service.py:11
↓ 14 callersClassSlackError
Exception for errors that should be communicated to the Slack user. This exception is caught by the centralized error handler in SlackManager,
enterprise/integrations/slack/slack_errors.py:33
↓ 14 callersClassStrictLLM
LLM variant that rejects unknown fields. The base ``LLM`` model has ``extra='ignore'``, so typos and renamed keys silently disappear. For API
openhands/app_server/settings/llm_profiles.py:98
↓ 14 callersClassTestableHTTPClient
Testable concrete implementation of HTTPClient for unit testing.
tests/unit/integrations/protocols/test_http_client.py:21
↓ 14 callersClassUserData
enterprise/integrations/types.py:27
↓ 14 callersClassUserSettings
enterprise/storage/user_settings.py:20
↓ 13 callersClassAuthUserContext
Interface to old user settings service. Eventually we want to migrate this to use true database asyncio.
openhands/app_server/user/auth_user_context.py:28
↓ 13 callersClassDbSessionInjector
openhands/app_server/services/db_session_injector.py:29
↓ 13 callersClassTelemetryMetrics
Stores collected telemetry metrics with upload tracking. Each record represents a single metrics collection event with associated metadata fo
enterprise/storage/telemetry_metrics.py:16
↓ 12 callersClassAppConversationServiceBase
App Conversation service which adds git specific functionality. Sets up repositories and installs hooks
openhands/app_server/app_conversation/app_conversation_service_base.py:91
↓ 12 callersClassBillingSession
Represents a Stripe billing session for credit purchases. Tracks the status of payment transactions and associated user information.
enterprise/storage/billing_session.py:14
↓ 12 callersClassDeviceCode
Device code for OAuth 2.0 Device Flow. This stores the device codes issued during the device authorization flow, along with their status and
enterprise/storage/device_code.py:20
↓ 12 callersClassDockerSandboxService
Sandbox service built on docker. The Docker API does not currently support async operations, so some of these operations will block. Given th
openhands/app_server/sandbox/docker_sandbox_service.py:86
↓ 12 callersClassEventCallback
openhands/app_server/event_callback/event_callback_models.py:90
↓ 12 callersClassJwtService
Service for signing/verifying JWS tokens and encrypting/decrypting JWE tokens.
openhands/app_server/services/jwt_service.py:30
↓ 12 callersClassOrgAppSettingsStore
Store for organization app settings with injected db_session.
enterprise/storage/org_app_settings_store.py:28
↓ 12 callersClassOrgNotFoundError
Raised when organization is not found or user doesn't have access.
enterprise/server/routes/org_models.py:95
↓ 12 callersClassResolverUserContext
User context for resolver operations that inherits from UserContext.
enterprise/integrations/resolver_context.py:14
↓ 12 callersClassSandboxError
Error in Sandbox.
openhands/app_server/errors.py:42
↓ 12 callersClassSandboxPage
openhands/app_server/sandbox/sandbox_models.py:74
↓ 11 callersClassApiKeyCreate
enterprise/server/routes/api_keys.py:122
↓ 11 callersClassAuthError
Generic auth error
enterprise/server/auth/auth_error.py:1
↓ 11 callersClassCreateEventCallbackRequest
openhands/app_server/event_callback/event_callback_models.py:79
↓ 11 callersClassEventCallbackResult
Object representing the result of an event callback.
openhands/app_server/event_callback/event_callback_result_models.py:21
↓ 11 callersClassOrgMemberSettingsUpdate
Shared settings updates that may be propagated to organization members. ``llm_api_key`` is typed as ``SecretStr`` so the raw value never ends up
enterprise/server/routes/org_models.py:479
↓ 11 callersClassSQLAppConversationInfoService
SQL implementation of AppConversationInfoService focused on db operations. This allows storing a record of a conversation even after its sandbox
openhands/app_server/app_conversation/sql_app_conversation_info_service.py:168
↓ 11 callersClassSwitchProfileRequest
Request to switch a running conversation's LLM to a saved profile.
openhands/app_server/app_conversation/app_conversation_models.py:398
↓ 10 callersClassAnalyticsContext
Resolved analytics context for a single user. Attributes: user_id: Raw user ID string (always set). consented: Whether the user
openhands/analytics/analytics_context.py:33
↓ 10 callersClassDockerSandboxServiceInjector
Dependency injector for docker sandbox services.
openhands/app_server/sandbox/docker_sandbox_service.py:579
↓ 10 callersClassFakeUserContext
enterprise/tests/unit/integrations/jira_dc/test_jira_dc_conversation_secret_enricher.py:25
↓ 10 callersClassJiraDcConversationSecretEnricher
enterprise/integrations/jira_dc/jira_dc_conversation_secret_enricher.py:159
↓ 10 callersClassJiraWorkspaceCreate
enterprise/server/routes/integration/jira.py:41
↓ 10 callersClassMaintenanceTask
Model for storing maintenance tasks that perform background operations.
enterprise/storage/maintenance_task.py:56
↓ 10 callersClassTelemetryIdentity
Stores persistent identity information for telemetry. This table is designed to contain exactly one row (enforced by database constraint) tha
enterprise/storage/telemetry_identity.py:15
↓ 9 callersClassAutomationEventService
Service for forwarding webhook events to the automation service. Optimized for high traffic with: - Redis caching for org claim lookups
enterprise/server/services/automation_event_service.py:64
↓ 9 callersClassComment
openhands/app_server/integrations/service_types.py:162
↓ 9 callersClassMockMaintenanceTaskRunner
Minimal mock of MaintenanceTaskRunner to verify initialization state.
enterprise/tests/unit/test_maintenance_task_runner_standalone.py:26
↓ 9 callersClassOrgBudgetService
enterprise/server/services/org_budget_service.py:90
↓ 9 callersClassStoredConversationMetadata
openhands/app_server/app_conversation/sql_app_conversation_info_service.py:91
↓ 8 callersClassAwsSharedEventServiceInjector
enterprise/server/sharing/aws_shared_event_service.py:137
↓ 8 callersClassBitbucketManager
Resolver manager for Bitbucket Cloud webhook events.
enterprise/integrations/bitbucket/bitbucket_manager.py:36
↓ 8 callersClassConversationStats
enterprise/scripts/standalone_server.py:27
↓ 8 callersClassFileSettingsStore
openhands/app_server/settings/file_settings_store.py:13
↓ 8 callersClassOrgDatabaseError
Raised when database operations fail.
enterprise/server/routes/org_models.py:56
next →1–100 of 2,162, ranked by callers