mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-06-23 21:59:57 +02:00
feat(update default config path):
This commit is contained in:
@@ -16,3 +16,4 @@ garak_rest.json
|
||||
inv/
|
||||
scripts/
|
||||
docx/
|
||||
agentic_security.toml
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user