Skip to main content

kaizen/proxy/
state.rs

1// SPDX-License-Identifier: AGPL-3.0-or-later
2use crate::core::config::Config;
3use crate::proxy::opts::ProxyRunOptions;
4use std::path::PathBuf;
5use std::sync::Arc;
6
7/// Shared process state: workspace DB, loaded config, HTTP client, size limits.
8pub struct ProxyState {
9    pub options: Arc<ProxyRunOptions>,
10    pub store_path: PathBuf,
11    pub workspace: PathBuf,
12    pub config: Arc<Config>,
13    pub client: reqwest::Client,
14}