mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-03-31 18:00:40 +02:00
- Delete unused src/cli/ui.ts, remove zod dependency, drop 4 dead functions (logError, handleToolError, getRetryDelay, displayTimingSummary) - Remove 8 unused types/interfaces and 3 duplicate formatting utils from audit/utils.ts - Narrow export surface: make 7 message-handler functions private, remove unused audit re-exports, unexport AgentDefinition and path constants - Remove unused runClaudePrompt params (sessionMetadata, attemptNumber) and update caller - Enable tsconfig noUnusedLocals, noUnusedParameters, noImplicitReturns, noImplicitOverride, noFallthroughCasesInSwitch
57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
|
// Visit https://aka.ms/tsconfig to read more about this file
|
|
"compilerOptions": {
|
|
// File Layout
|
|
"rootDir": "./src",
|
|
"outDir": "./dist",
|
|
|
|
// Environment Settings
|
|
// See also https://aka.ms/tsconfig/module
|
|
"module": "nodenext",
|
|
"moduleResolution": "nodenext",
|
|
|
|
"target": "es2022",
|
|
"lib": ["es2022"],
|
|
|
|
"types": ["node"],
|
|
// For nodejs:
|
|
// "lib": ["esnext"],
|
|
// "types": ["node"],
|
|
// and npm install -D @types/node
|
|
|
|
"resolveJsonModule": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmitOnError": true,
|
|
|
|
// Other Outputs
|
|
"sourceMap": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
|
|
// Stricter Typechecking Options
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
|
|
// Style Options
|
|
"noImplicitReturns": true,
|
|
"noImplicitOverride": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
// "noPropertyAccessFromIndexSignature": true,
|
|
|
|
// Recommended Options
|
|
"strict": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
"skipLibCheck": true,
|
|
},
|
|
"include": [
|
|
"src/**/*"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"mcp-server"
|
|
]
|
|
}
|