dynamo_data_gen/lib.rs
1// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2// SPDX-License-Identifier: Apache-2.0
3
4//! Shared schemas and primitives for Dynamo data generation.
5//!
6//! The crate hosts the Mooncake replay JSONL schema and helpers, plus the
7//! Dynamo request-trace loader and transient lowering used to build mocker
8//! replay models in memory. Direct Dynamo request-trace replay does not write
9//! an intermediate Mooncake file. Shared row types keep trace producers and
10//! consumers in lockstep.
11
12pub mod mooncake;
13pub mod request_trace;
14
15pub use mooncake::{
16 AgenticMooncakeRow, AgenticToolEvent, MooncakeJsonlWriter, MooncakeRow, RollingHashIdMapper,
17 WriterStats, hash_token_blocks, ids_for_sequence_hashes, require_positive,
18 sequence_hashes_for_tokens, try_hash_token_blocks, write_empty_files,
19};