- errorHandler: preserve original message in toAppError for Error/string; add mapAISDKError fallbacks by error.name/statusCode for non-SDK errors - tools.test: pass thread-bound store as 3rd arg to executeTools; fix updateToolCall spy by patching getStore() in affected tests; relax concurrency assertion to match default maxConcurrency (16) - WorkspaceManager.test: use @renderer/services/WorkspaceManager import - tsconfig: include tests/**/* so path aliases resolve in IDE (fix TS2307) Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
921 B
JSON
29 lines
921 B
JSON
{
|
|
"extends": "./tsconfig.shared.json",
|
|
"compilerOptions": {
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"jsx": "react-jsx",
|
|
"noEmit": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"@main/*": ["src/main/*"],
|
|
"@renderer/*": ["src/renderer/*"],
|
|
"@shared/*": ["src/shared/*"],
|
|
"@components/*": ["src/renderer/components/*"],
|
|
"@features/*": ["src/renderer/features/*"],
|
|
"@services/*": ["src/renderer/services/*"],
|
|
"@store": ["src/renderer/store"],
|
|
"@store/*": ["src/renderer/store/*"],
|
|
"@hooks/*": ["src/renderer/hooks/*"],
|
|
"@utils/*": ["src/renderer/utils/*"],
|
|
"@app-types/*": ["src/renderer/types/*"]
|
|
}
|
|
},
|
|
"include": ["src/**/*", "src/renderer/vite-env.d.ts","tests/**/*"]
|
|
}
|