mirror of
https://github.com/Heretek-AI/heretek-openclaw-core.git
synced 2026-07-01 14:17:57 -04:00
7d3fe106f6
- Add @types/node for improved TypeScript support - Integrate SQL injection prevention in pgvector-optimizer - All table and column identifiers now properly escaped - Applies to index creation and similarity search queries - Integrate centralized Redis client in redis-ttl-manager - Replace reference implementations with actual Redis operations - setMemoryWithTTL() now uses Redis SETEX command - extendTTL() now queries and extends actual TTL - getCacheHealth() now queries real Redis INFO metrics - All functions use centralized auth, TLS, and reconnection logic - Add audit-cleanup.sh script for automated log cleanup - Supports --dry-run and --verbose flags - Works in both Docker and bare metal environments - Add tsconfig.json for TypeScript compiler configuration Security improvements prevent SQL injection and centralize Redis connection management for better reliability and maintainability.
17 lines
419 B
JSON
17 lines
419 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "commonjs",
|
|
"lib": ["ES2022"],
|
|
"types": ["node", "vitest/globals"],
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"resolveJsonModule": true,
|
|
"moduleResolution": "node",
|
|
"allowSyntheticDefaultImports": true
|
|
},
|
|
"include": ["lib/**/*", "skills/**/*", "tests/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|