Skip to main content

Module plugin

Module plugin 

Source
Expand description

Plugin System for A3S Code

Provides a unified interface for loading and unloading optional tool plugins. All plugins implement the Plugin trait, which gives the system a single consistent surface for lifecycle management.

§Usage

use a3s_code_core::{SessionOptions, SkillPlugin};

let opts = SessionOptions::new()
    .with_plugin(SkillPlugin::new("custom"));

Structs§

PluginContext
Runtime context provided to plugins when they are loaded.
PluginManager
Manages the lifecycle of all loaded plugins for a session.
SkillPlugin
A skill-only plugin that injects custom skills into the session’s skill registry without registering any tools.

Traits§

Plugin
Unified interface for all A3S Code plugins.