Raxol.Plugins.PluginSystemV2Integration (Raxol v2.0.1)

View Source

Integration layer for Plugin System v2.0 - brings together all components.

This module coordinates:

  • Plugin System v2.0 core
  • Dependency Resolution v2.0
  • Plugin Sandbox security
  • Hot-reload capabilities
  • Marketplace integration

Summary

Functions

Returns a specification to start this module under a supervisor.

Creates a development plugin with hot-reload enabled.

Returns default configuration for Plugin System v2.0.

Gets comprehensive status of the plugin system.

Installs a plugin from the marketplace with full integration.

Demonstrates the full plugin lifecycle.

Starts the integrated Plugin System v2.0 with all components.

Types

integration_config()

@type integration_config() :: %{
  enable_marketplace: boolean(),
  enable_sandbox: boolean(),
  enable_hot_reload: boolean(),
  default_trust_level: :trusted | :sandboxed | :untrusted,
  plugin_directories: [String.t()],
  security_policies: map()
}

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

create_development_plugin(plugin_path, opts \\ %{})

Creates a development plugin with hot-reload enabled.

default_config()

Returns default configuration for Plugin System v2.0.

get_system_status()

Gets comprehensive status of the plugin system.

handle_manager_cast(msg, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.

install_and_enable_plugin(plugin_id, opts \\ %{})

Installs a plugin from the marketplace with full integration.

run_integration_demo()

Demonstrates the full plugin lifecycle.

start_link(init_opts \\ [])

start_system(config \\ default_config())

Starts the integrated Plugin System v2.0 with all components.