Skip to content

Commit 0f4bbd5

Browse files
Add Marketplace datamodel for marketplace.json support (#1744)
Co-authored-by: openhands <openhands@all-hands.dev>
1 parent c772e78 commit 0f4bbd5

File tree

3 files changed

+1152
-1
lines changed

3 files changed

+1152
-1
lines changed

openhands-sdk/openhands/sdk/plugin/__init__.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,38 @@
22
33
This module provides support for loading and managing plugins that bundle
44
skills, hooks, MCP configurations, agents, and commands together.
5+
6+
It also provides support for plugin marketplaces - directories that list
7+
available plugins with their metadata and source locations.
58
"""
69

710
from openhands.sdk.plugin.fetch import PluginFetchError
811
from openhands.sdk.plugin.plugin import Plugin
912
from openhands.sdk.plugin.types import (
1013
AgentDefinition,
1114
CommandDefinition,
15+
Marketplace,
16+
MarketplaceMetadata,
17+
MarketplaceOwner,
18+
MarketplacePluginEntry,
19+
MarketplacePluginSource,
1220
PluginAuthor,
1321
PluginManifest,
1422
)
1523

1624

1725
__all__ = [
26+
# Plugin classes
1827
"Plugin",
1928
"PluginFetchError",
2029
"PluginManifest",
2130
"PluginAuthor",
2231
"AgentDefinition",
2332
"CommandDefinition",
33+
# Marketplace classes
34+
"Marketplace",
35+
"MarketplaceOwner",
36+
"MarketplacePluginEntry",
37+
"MarketplacePluginSource",
38+
"MarketplaceMetadata",
2439
]

0 commit comments

Comments
 (0)