ossie icon indicating copy to clipboard operation
ossie copied to clipboard

feat(cli): define plugin objects and basic plugin listing ability

Open QMalcolm opened this issue 5 months ago • 4 comments

Stacked on #151

Summary

Define the basic structure of a plugin (plugin.yaml). In addition, add ability to list installed plugins. Note, this does not add the ability to install plugins, their associated setup, or convert invocations. This is simply the initial "how should a plugin be defined and found when it exists".

https://github.com/user-attachments/assets/798f002e-8611-4a7d-a7a4-ce587919084f

QMalcolm avatar Jun 15 '26 15:06 QMalcolm

This is a stacked PR

  • https://github.com/open-semantic-interchange/OSI/pull/151
    • https://github.com/open-semantic-interchange/OSI/pull/154 (👈🏻 you are here)
      • https://github.com/open-semantic-interchange/OSI/pull/155
        • https://github.com/open-semantic-interchange/OSI/pull/156
          • https://github.com/open-semantic-interchange/OSI/pull/158

QMalcolm avatar Jun 16 '26 20:06 QMalcolm

This is great, thanks.

One question, should we add a "name" field for plugin metadata ?

@khush-bhatia I agree that names are important! Also, thank you for calling this out 🙂 Right now the name of a plugin is buried under platform, which itself has two properties platform.name and platform.vendor. I think your question highlights that my burying of these properties was perhaps not the best idea 😅 I think both of these can probably be pushed up to the top level and platform can go away.

QMalcolm avatar Jul 21 '26 21:07 QMalcolm

This is great, thanks. One question, should we add a "name" field for plugin metadata ?

@khush-bhatia I agree that names are important, and thank you for calling this out 🙂 Right now the name of a plugin is buried under platform, which itself has two properties platform.name and platform.vendor. I think your question highlights that my burying of these properties was perhaps not the best idea 😅 I think both of these can probably be pushed up to the top level and platform can go away.

Agreed on having plugin name and vendor being top level.

khush-bhatia avatar Jul 21 '26 21:07 khush-bhatia

This is great, thanks. One question, should we add a "name" field for plugin metadata ?

@khush-bhatia I agree that names are important, and thank you for calling this out 🙂 Right now the name of a plugin is buried under platform, which itself has two properties platform.name and platform.vendor. I think your question highlights that my burying of these properties was perhaps not the best idea 😅 I think both of these can probably be pushed up to the top level and platform can go away.

Agreed on having plugin name and vendor being top level.

name has been moved to top level, and platform became an optional string field (what vendor was). I think platform might be better terminology than vendor. I feel like "vendor" might imply "authored by" whereas "platform" feels like a more abstract "to be used with" 🙂

QMalcolm avatar Jul 21 '26 22:07 QMalcolm