Skip to content

docs: Add multiple marketplace registrations section to plugins guide#406

Draft
jpshackelford wants to merge 1 commit intomainfrom
feat/multiple-marketplace-registrations
Draft

docs: Add multiple marketplace registrations section to plugins guide#406
jpshackelford wants to merge 1 commit intomainfrom
feat/multiple-marketplace-registrations

Conversation

@jpshackelford
Copy link
Contributor

Summary

Documents the new multiple marketplace registrations feature added in OpenHands/software-agent-sdk#2495.

Changes

Adds a new "Multiple Marketplace Registrations" section to sdk/guides/plugins.mdx that covers:

  • Loading strategies: auto_load="all" vs auto_load=None (on-demand)
  • Plugin reference syntax: plugin-name@marketplace-name format (matches Claude Code's plugin syntax)
  • Example code: Expandable code block showing both auto-load and on-demand loading in the same conversation
  • MarketplaceRegistration fields: Reference table for all configuration options

Related

- Document auto_load strategies (auto-load vs on-demand)
- Explain plugin@marketplace reference syntax (matches Claude Code)
- Add expandable example code block
- Include MarketplaceRegistration field reference table

Related: OpenHands/software-agent-sdk#2495
Copy link
Contributor

@all-hands-bot all-hands-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Good taste - Accurate documentation verified against SDK source. The feature is pragmatic, examples are real and will auto-sync, and structure is clear. Two minor wording refinements suggested below to match source code exactly.

| Field | Type | Description |
|-------|------|-------------|
| `name` | `str` | Identifier for this marketplace registration |
| `source` | `str` | Plugin source: `github:owner/repo`, git URL, or local path |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Suggestion: Change "Plugin source" to "Marketplace source" to match the actual field description in the SDK code.

Suggested change
| `source` | `str` | Plugin source: `github:owner/repo`, git URL, or local path |
| `source` | `str` | Marketplace source: `github:owner/repo`, git URL, or local path |

Source

|-------|------|-------------|
| `name` | `str` | Identifier for this marketplace registration |
| `source` | `str` | Plugin source: `github:owner/repo`, git URL, or local path |
| `ref` | `str \| None` | Optional branch, tag, or commit for the marketplace repo |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Suggestion: Clarify that ref only applies to git sources (not local paths) to match the SDK field description.

Suggested change
| `ref` | `str \| None` | Optional branch, tag, or commit for the marketplace repo |
| `ref` | `str \| None` | Optional branch, tag, or commit (only for git sources) |

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants