Skip to main content

Module vars

Module vars 

Source
Expand description

Session-level variable store exposed to scripts as the vars global.

The engine takes a VarsStore trait object so callers (the MCP server) can plug in their own storage. A simple in-memory implementation is provided for tests and stand-alone use.

Structs§

InMemoryVars
Simple in-memory VarsStore backed by an RwLock<FxHashMap>.

Traits§

VarsStore
Session-level key/value store.