35 std::optional<json> get_state(
const std::string& thread_id)
const;
36 std::vector<Checkpoint> get_state_history(
const std::string& thread_id,
37 int limit = 100)
const;
38 void update_state(
const std::string& thread_id,
39 const json& channel_writes,
40 const std::string& as_node =
"")
const;
41 void update_state_writes(
const std::string& thread_id,
42 const std::vector<ChannelWrite>& channel_writes,
43 const std::string& as_node =
"")
const;
44 std::string fork(
const std::string& source_thread_id,
45 const std::string& new_thread_id,
46 const std::string& checkpoint_id =
"")
const;
Graph engine type definitions: channels, edges, nodes, events, and control flow.