Expand description
Script-based response handling system
This module provides support for Python and JavaScript scripts to handle protocol responses deterministically, with fallback to LLM for complex cases.
Re-exports§
pub use environment::ScriptingEnvironment;pub use event_handler::EventHandler;pub use event_handler::EventHandlerConfig;pub use event_handler::EventHandlerType;pub use event_handler::EventPattern;pub use event_handler::DEFAULT_MANUAL_TIMEOUT_SECS;pub use executor::execute_script;pub use executor::execute_script_async;pub use executor::execute_script_with_timeout_async;pub use executor::DEFAULT_SCRIPT_TIMEOUT;pub use executor::SCRIPT_TIMEOUT_SECS;pub use manager::ScriptManager;pub use resident::resident_available;pub use resident::resident_language_supported;pub use resident::ResidentScope;pub use resident::ResidentScript;pub use resident::ResidentScriptManager;pub use types::ConnectionContext;pub use types::ScriptConfig;pub use types::ScriptInput;pub use types::ScriptLanguage;pub use types::ScriptResponse;pub use types::ScriptSource;pub use types::ServerContext;
Modules§
- environment
- Script runtime environment detection
- event_
handler - Event handler configuration system
- executor
- Script execution engine
- highlight
- Syntax highlighting for script code in logs
- manager
- Script manager for coordinating script execution
- process_
io - Resource and lifetime guards for trusted interpreter processes.
- resident
- Resident (long-lived) script handlers.
- types
- Types for script-based response handling