Files
zn-ai/tsconfig.app.json
duanshuwen b1dea9a5c2 feat: implement task management store with IPC integration
- Added a new task store in `src-react/stores/task.ts` to manage tasks and their statuses.
- Implemented functions for creating, executing, and retrying tasks, along with handling task progress and completion.
- Introduced persistence for tasks using IPC.
- Created utility functions for normalizing room types and building subtasks.
- Added a new CSS file for global styles in `src-react/styles.css`.
- Created runtime types in `src-react/types/runtime.ts` and exported them.
- Updated the main entry points for Vue and React applications to support dynamic framework loading.
- Refactored chat model interfaces and utility functions into `src/shared/chat-model.ts`.
- Updated TypeScript configuration to include paths for React components and types.
- Enhanced Vite configuration to support both Vue and React frameworks.
2026-04-17 07:09:56 +08:00

59 lines
1.4 KiB
JSON

{
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"target": "ES2020",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": [
"ES2020",
"DOM",
"DOM.Iterable"
],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "Bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "preserve",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"baseUrl": "./",
"paths": {
"@src/*": ["src/*"],
"@src-react": ["src-react"],
"@src-react/*": ["src-react/*"],
"@api/*": ["src/api/*"],
"@shared/*": ["src/shared/*"],
"@stores/*": ["src/stores/*"],
"@constant/*": ["src/constant/*"],
"@utils/*": ["src/utils/*"],
"@lib/*": ["src/lib/*"],
"@electron/*": ["electron/*"],
"@service/*": ["electron/service/*"],
"@locales/*": ["src/i18n/locales/*"],
"@hooks/*": ["src/hooks/*"],
"@components/*": ["src/components/*"],
},
"types": ["vite/client", "node", "react", "react-dom"]
},
"include": [
"forge.env.d.ts",
"src/**/*.vue",
"src-react/**/*.ts",
"src-react/**/*.tsx",
"**/*.d.ts",
"**/*.ts",
"**/*.tsx",
"**/*.js",
"src/permission.ts",
"electron/scripts/*.js"
]
}