Skip to content

Enhance distribution system with npm packages and marketplace #142

@darrenhinde

Description

@darrenhinde

Overview

Improve the distribution and installation system by creating npm-publishable packages for plugins and building a marketplace/registry for community-contributed agents and context.

Goals

  • Create npm-publishable packages for plugins
  • Build plugin/preset marketplace/registry
  • Add /import-preset command for bundle installation
  • Improve collision detection and merge strategies
  • Implement version management for installed presets
  • Enable community-contributed agents and context
  • Document distribution and publishing workflows

Key Features

NPM Packages

  • Publish plugins as npm packages
  • Scoped packages (@openagents/plugin-name)
  • Semantic versioning
  • Dependency management
  • Installation via npm/yarn/pnpm

Marketplace/Registry

  • Central registry of available plugins
  • Search and discovery
  • Ratings and reviews
  • Version compatibility tracking
  • Download statistics

Import System

  • /import-preset command for quick installation
  • Bundle installation (multiple components)
  • Dependency resolution
  • Conflict detection and resolution

Collision Handling

  • Improved merge strategies
  • Interactive conflict resolution
  • Backup and rollback support
  • Diff visualization

Version Management

  • Track installed preset versions
  • Update notifications
  • Upgrade/downgrade support
  • Compatibility checking

Community Contributions

  • Plugin submission process
  • Quality guidelines
  • Review and approval workflow
  • Featured plugins

Package Structure

@openagents/plugin-name/
├── package.json
├── .opencode-plugin/
│   └── plugin.json
├── commands/
├── agents/
├── skills/
└── README.md

Related

  • Current install.sh and registry.json system
  • Plugin system architecture

Success Criteria

  • NPM package structure defined
  • At least 1 plugin published to npm
  • Marketplace/registry implemented
  • Import command functional
  • Collision handling improved
  • Version management working
  • Publishing workflow documented
  • Community guidelines created

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or enhancementframeworkCore framework changespriority-mediumMedium priority item

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions