feat: massive overhaul to manage costs
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 59s
CI / Lint & Test (pull_request) Successful in 16m14s
CI / Build Linux (pull_request) Successful in 19m13s
CI / Build Windows (cross-compile) (pull_request) Successful in 29m56s

This commit is contained in:
2026-02-04 19:11:41 -08:00
parent daedbfd865
commit 6aef8c7f41
30 changed files with 4024 additions and 103 deletions
+10
View File
@@ -187,6 +187,11 @@ describe("config store", () => {
text_secondary: null,
border_color: null,
},
budget_enabled: false,
session_token_budget: null,
session_cost_budget: null,
budget_action: "warn",
budget_warning_threshold: 0.8,
};
expect(config.model).toBe("claude-sonnet-4");
@@ -227,6 +232,11 @@ describe("config store", () => {
text_secondary: null,
border_color: null,
},
budget_enabled: false,
session_token_budget: null,
session_cost_budget: null,
budget_action: "warn",
budget_warning_threshold: 0.8,
};
expect(config.model).toBeNull();