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 hooks;
25pub mod info;
26pub mod invoke_output;
27pub mod lease;
28pub mod lifecycle;
29pub mod loader;
30pub mod manager;
31pub mod manifest;
32pub mod permissions;
33pub mod providers;
34pub mod runtime;
35pub mod settings_editor;
36pub mod tasks;
37pub mod trust;
38pub mod validation;
39pub mod widgets;