Skip to main content

tokmd_analysis_types/
args.rs

1//! Analysis argument metadata receipt DTOs.
2//!
3//! This module owns the serde-stable command-argument snapshot stored in
4//! analysis receipts. Public consumers should keep using the crate-root
5//! re-export.
6
7use serde::{Deserialize, Serialize};
8
9/// Command argument metadata recorded in an analysis receipt.
10#[derive(Debug, Clone, Serialize, Deserialize)]
11pub struct AnalysisArgsMeta {
12    pub preset: String,
13    pub format: String,
14    pub window_tokens: Option<usize>,
15    pub git: Option<bool>,
16    pub max_files: Option<usize>,
17    pub max_bytes: Option<u64>,
18    pub max_commits: Option<usize>,
19    pub max_commit_files: Option<usize>,
20    pub max_file_bytes: Option<u64>,
21    pub import_granularity: String,
22}