write_session_state

Function write_session_state 

Source
pub fn write_session_state(
    filestore: &FileStore,
    definition_id: &str,
    content: &[u8],
) -> Result<(), String>
Expand description

Write content to output.state.json in agent:<defId>:current. Idempotent — creates the file if missing, overwrites otherwise.