mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
Extract platform-agnostic sync logic (config, data source, discovery, pull engine, scheduler) into @openchatlab/sync. Implement server-side adapters (NodeFetcher, DirectImporter, NoopNotifier) and HTTP routes (/_web/automation/*) for the CLI web UI. Adapt Pinia store with dual-transport (IPC for Electron, HTTP for Web).
31 lines
735 B
JSON
31 lines
735 B
JSON
{
|
|
"extends": "@electron-toolkit/tsconfig/tsconfig.node.json",
|
|
"include": [
|
|
"electron.vite.config.*",
|
|
"vite.config.*",
|
|
"electron/main/**/*",
|
|
"electron/preload/**/*",
|
|
"electron/shared/**/*",
|
|
"src/types/**/*",
|
|
"packages/shared-types/**/*",
|
|
"packages/core/**/*",
|
|
"packages/node-runtime/**/*",
|
|
"packages/config/**/*",
|
|
"packages/parser/**/*",
|
|
"packages/server/**/*",
|
|
"packages/tools/**/*",
|
|
"packages/sync/**/*"
|
|
],
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"types": ["electron-vite/node"],
|
|
"moduleResolution": "bundler",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"@electron/*": ["electron/*"],
|
|
"@openchatlab/*": ["packages/*"]
|
|
}
|
|
}
|
|
}
|