feat(update default config path):

This commit is contained in:
Alexander Myasoedov
2025-02-20 13:09:43 +02:00
parent 02255a251c
commit ee3faab415
3 changed files with 20 additions and 1 deletions
+1
View File
@@ -16,3 +16,4 @@ garak_rest.json
inv/
scripts/
docx/
agentic_security.toml
+8 -1
View File
@@ -25,7 +25,14 @@ BLUE = colorama.Fore.BLUE
class CfgMixin:
config = {}
default_path = "agesec.toml"
default_path = "agentic_security.toml"
def get_or_create_config(self) -> bool:
if not self.has_local_config():
self.generate_default_cfg()
return False
self.load_config(self.default_path)
return True
def has_local_config(self):
try:
@@ -19,6 +19,17 @@
technopollas: ['Technopollas', 'sans-serif'],
},
colors: {
t1: {
bg: '#0D0D0D', // Jet Black
card: '#1A1A1A', // Dark Carbon Fiber
text: '#FFFFFF',
accent: {
green: '#E0A3B6', // Frozen Berry
red: '#1C3F74', // Neptune Blue
orange: '#A5A5A5', // Dolomite Silver
yellow: '#2E4053', // Jet Black
},
},
dark: {
bg: '#121212',
card: '#1E1E1E',