refactor: replace fs with secureFs for improved file handling

This commit updates various modules to utilize the secure file system operations from the secureFs module instead of the native fs module. Key changes include:

- Replaced fs imports with secureFs in multiple route handlers and services to enhance security and consistency in file operations.
- Added centralized validation for working directories in the sdk-options module to ensure all AI model invocations are secure.

These changes aim to improve the security and maintainability of file handling across the application.
This commit is contained in:
Test User
2025-12-21 01:32:26 -05:00
parent 2b5479ae0d
commit 077a63b03b
62 changed files with 4866 additions and 3350 deletions

View File

@@ -0,0 +1,92 @@
/* Nord Light Theme */
.nordlight {
--background: oklch(0.97 0.01 220);
--background-50: oklch(0.97 0.01 220 / 0.5);
--background-80: oklch(0.97 0.01 220 / 0.8);
--foreground: oklch(0.25 0.03 220);
--foreground-secondary: oklch(0.45 0.025 220);
--foreground-muted: oklch(0.55 0.02 220);
--card: oklch(0.99 0.008 220);
--card-foreground: oklch(0.25 0.03 220);
--popover: oklch(0.98 0.01 220);
--popover-foreground: oklch(0.25 0.03 220);
--primary: oklch(0.55 0.12 225);
--primary-foreground: oklch(0.99 0.008 220);
--brand-400: oklch(0.6 0.1 225);
--brand-500: oklch(0.55 0.12 225);
--brand-600: oklch(0.5 0.14 225);
--secondary: oklch(0.94 0.012 220);
--secondary-foreground: oklch(0.25 0.03 220);
--muted: oklch(0.93 0.015 220);
--muted-foreground: oklch(0.5 0.025 220);
--accent: oklch(0.91 0.018 220);
--accent-foreground: oklch(0.25 0.03 220);
--destructive: oklch(0.55 0.18 25);
--border: oklch(0.88 0.015 220);
--border-glass: oklch(0.55 0.12 225 / 0.12);
--input: oklch(0.98 0.01 220);
--ring: oklch(0.55 0.12 225);
--chart-1: oklch(0.55 0.12 225);
--chart-2: oklch(0.55 0.15 25);
--chart-3: oklch(0.55 0.12 145);
--chart-4: oklch(0.55 0.12 300);
--chart-5: oklch(0.6 0.12 80);
--sidebar: oklch(0.96 0.01 220);
--sidebar-foreground: oklch(0.25 0.03 220);
--sidebar-primary: oklch(0.55 0.12 225);
--sidebar-primary-foreground: oklch(0.99 0.008 220);
--sidebar-accent: oklch(0.93 0.015 220);
--sidebar-accent-foreground: oklch(0.25 0.03 220);
--sidebar-border: oklch(0.88 0.015 220);
--sidebar-ring: oklch(0.55 0.12 225);
--action-view: oklch(0.55 0.12 225);
--action-view-hover: oklch(0.5 0.14 225);
--action-followup: oklch(0.55 0.12 200);
--action-followup-hover: oklch(0.5 0.14 200);
--action-commit: oklch(0.55 0.12 145);
--action-commit-hover: oklch(0.5 0.14 145);
--action-verify: oklch(0.55 0.12 145);
--action-verify-hover: oklch(0.5 0.14 145);
--running-indicator: oklch(0.55 0.12 225);
--running-indicator-text: oklch(0.5 0.14 225);
--status-success: oklch(0.55 0.12 145);
--status-success-bg: oklch(0.55 0.12 145 / 0.15);
--status-warning: oklch(0.65 0.12 80);
--status-warning-bg: oklch(0.65 0.12 80 / 0.15);
--status-error: oklch(0.55 0.18 25);
--status-error-bg: oklch(0.55 0.18 25 / 0.15);
--status-info: oklch(0.55 0.12 225);
--status-info-bg: oklch(0.55 0.12 225 / 0.15);
--status-backlog: oklch(0.6 0.02 220);
--status-in-progress: oklch(0.65 0.12 80);
--status-waiting: oklch(0.6 0.1 55);
}
.nordlight .content-bg {
background: linear-gradient(
135deg,
oklch(0.97 0.01 220),
oklch(0.96 0.012 220),
oklch(0.97 0.01 220)
);
}
.nordlight .animated-outline-gradient {
background: conic-gradient(from 90deg at 50% 50%, #5e81ac 0%, #81a1c1 50%, #5e81ac 100%);
}
.nordlight .animated-outline-inner {
background: oklch(0.99 0.008 220) !important;
color: #5e81ac !important;
}