refactor(plugin): drop built-in plugins, external-only

OpenCADStudio no longer bundles plugins — every add-on is an external
cdylib loaded from the plugins folder or installed via the marketplace.

- Remove the demo plugin and the in-tree ocs_example_plugin crate.
- Remove the inventory-based built-in registration path (PluginRegistration,
  all_plugins, installed_manifests); registry now serves core ribbon tabs
  plus loaded external plugins, and try_dispatch routes only to externals.
- Plugin Manager drops the 'compiled into this build' section; the
  enable/disable toggle moves onto loaded external cards.
- Prune the now-dead HostSession/DocumentTab helpers and re-exports.

Part of the #100 extensibility epic (phase 2).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Hakan Seven 2026-06-17 15:50:52 +03:00
commit eb53e445ab
22 changed files with 65 additions and 585 deletions

7
Cargo.lock generated
View file

@ -3625,13 +3625,6 @@ dependencies = [
"objc2-foundation 0.2.2",
]
[[package]]
name = "ocs_example_plugin"
version = "0.1.0"
dependencies = [
"ocs_plugin_api",
]
[[package]]
name = "ocs_plugin_api"
version = "0.1.0"