mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-07-11 13:56:33 +02:00
feat(update default config path):
This commit is contained in:
@@ -16,3 +16,4 @@ garak_rest.json
|
|||||||
inv/
|
inv/
|
||||||
scripts/
|
scripts/
|
||||||
docx/
|
docx/
|
||||||
|
agentic_security.toml
|
||||||
|
|||||||
@@ -25,7 +25,14 @@ BLUE = colorama.Fore.BLUE
|
|||||||
|
|
||||||
class CfgMixin:
|
class CfgMixin:
|
||||||
config = {}
|
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):
|
def has_local_config(self):
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -19,6 +19,17 @@
|
|||||||
technopollas: ['Technopollas', 'sans-serif'],
|
technopollas: ['Technopollas', 'sans-serif'],
|
||||||
},
|
},
|
||||||
colors: {
|
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: {
|
dark: {
|
||||||
bg: '#121212',
|
bg: '#121212',
|
||||||
card: '#1E1E1E',
|
card: '#1E1E1E',
|
||||||
|
|||||||
Reference in New Issue
Block a user