Skip to main content

agent_engine/extensions/
mod.rs

1//! Extension system for SynapsCLI.
2//!
3//! Provides compiled-in hook call sites (`HookBus`) and external extension
4//! runtimes that can subscribe to hooks, register tools, and register providers
5//! via a stable JSON-RPC 2.0 protocol.
6//!
7//! # Architecture
8//!
9//! ```text
10//! SynapsCLI binary
11//!   ├─ HookBus (dispatcher)          ← this module
12//!   ├─ ExtensionManager (lifecycle)  ← this module
13//!   └─ optional external extensions
14//!         └─ Process/JSON-RPC runtime ← phase 1
15//! ```
16
17pub mod active_tasks;
18pub mod audit;
19pub mod capability;
20pub mod commands;
21pub mod config;
22pub mod config_store;
23pub mod context_provider;
24pub mod feedback;
25pub mod hooks;
26pub mod info;
27pub mod invoke_output;
28pub mod lease;
29pub mod lifecycle;
30pub mod loader;
31pub mod manager;
32pub mod manifest;
33pub mod notify_router;
34pub mod permissions;
35pub mod providers;
36pub mod runtime;
37#[allow(dead_code)] // merge(112): consumed by driver→actor port
38pub mod session_driver;
39pub mod settings_editor;
40pub mod tasks;
41pub mod trust;
42pub mod validation;
43pub mod widgets;