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 @@
/* Lavender Theme - Soft purple/lavender */
.lavender {
--background: oklch(0.97 0.02 285);
--background-50: oklch(0.97 0.02 285 / 0.5);
--background-80: oklch(0.97 0.02 285 / 0.8);
--foreground: oklch(0.25 0.04 285);
--foreground-secondary: oklch(0.45 0.04 285);
--foreground-muted: oklch(0.55 0.03 285);
--card: oklch(0.98 0.015 285);
--card-foreground: oklch(0.25 0.04 285);
--popover: oklch(0.98 0.015 285);
--popover-foreground: oklch(0.25 0.04 285);
--primary: oklch(0.55 0.18 280);
--primary-foreground: oklch(0.98 0.015 285);
--brand-400: oklch(0.6 0.16 280);
--brand-500: oklch(0.55 0.18 280);
--brand-600: oklch(0.5 0.2 280);
--secondary: oklch(0.94 0.025 285);
--secondary-foreground: oklch(0.25 0.04 285);
--muted: oklch(0.93 0.028 285);
--muted-foreground: oklch(0.5 0.04 285);
--accent: oklch(0.91 0.032 285);
--accent-foreground: oklch(0.25 0.04 285);
--destructive: oklch(0.55 0.2 25);
--border: oklch(0.88 0.025 285);
--border-glass: oklch(0.55 0.18 280 / 0.15);
--input: oklch(0.97 0.018 285);
--ring: oklch(0.55 0.18 280);
--chart-1: oklch(0.55 0.18 280);
--chart-2: oklch(0.6 0.15 320);
--chart-3: oklch(0.55 0.15 250);
--chart-4: oklch(0.6 0.12 200);
--chart-5: oklch(0.55 0.15 350);
--sidebar: oklch(0.96 0.022 285);
--sidebar-foreground: oklch(0.25 0.04 285);
--sidebar-primary: oklch(0.55 0.18 280);
--sidebar-primary-foreground: oklch(0.98 0.015 285);
--sidebar-accent: oklch(0.93 0.028 285);
--sidebar-accent-foreground: oklch(0.25 0.04 285);
--sidebar-border: oklch(0.88 0.025 285);
--sidebar-ring: oklch(0.55 0.18 280);
--action-view: oklch(0.55 0.18 280);
--action-view-hover: oklch(0.5 0.2 280);
--action-followup: oklch(0.55 0.15 250);
--action-followup-hover: oklch(0.5 0.17 250);
--action-commit: oklch(0.55 0.15 145);
--action-commit-hover: oklch(0.5 0.17 145);
--action-verify: oklch(0.55 0.15 145);
--action-verify-hover: oklch(0.5 0.17 145);
--running-indicator: oklch(0.55 0.18 280);
--running-indicator-text: oklch(0.5 0.2 280);
--status-success: oklch(0.55 0.15 145);
--status-success-bg: oklch(0.55 0.15 145 / 0.15);
--status-warning: oklch(0.65 0.15 70);
--status-warning-bg: oklch(0.65 0.15 70 / 0.15);
--status-error: oklch(0.55 0.2 25);
--status-error-bg: oklch(0.55 0.2 25 / 0.15);
--status-info: oklch(0.55 0.15 250);
--status-info-bg: oklch(0.55 0.15 250 / 0.15);
--status-backlog: oklch(0.6 0.03 285);
--status-in-progress: oklch(0.65 0.15 70);
--status-waiting: oklch(0.6 0.12 50);
}
.lavender .content-bg {
background: linear-gradient(
135deg,
oklch(0.97 0.02 285),
oklch(0.96 0.025 285),
oklch(0.97 0.02 285)
);
}
.lavender .animated-outline-gradient {
background: conic-gradient(from 90deg at 50% 50%, #a855f7 0%, #8b5cf6 50%, #a855f7 100%);
}
.lavender .animated-outline-inner {
background: oklch(0.98 0.015 285) !important;
color: #a855f7 !important;
}