mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-11 12:03:31 +08:00
feat: sync ecc2 cost tracker metrics
This commit is contained in:
@@ -113,6 +113,14 @@ impl Config {
|
||||
.join("ecc2.toml")
|
||||
}
|
||||
|
||||
pub fn cost_metrics_path(&self) -> PathBuf {
|
||||
self.db_path
|
||||
.parent()
|
||||
.unwrap_or_else(|| std::path::Path::new("."))
|
||||
.join("metrics")
|
||||
.join("costs.jsonl")
|
||||
}
|
||||
|
||||
pub fn load() -> Result<Self> {
|
||||
let config_path = Self::config_path();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user