zen-gitsync 2.11.12 → 2.11.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/config.js +2 -2
- package/src/ui/public/assets/{css.worker-DJHgoStD.js → css.worker-B4z49cGk.js} +37 -37
- package/src/ui/public/assets/editor.worker-DyuDvpVp.js +26 -0
- package/src/ui/public/assets/{html.worker-BSNtyp_I.js → html.worker-DtiGdgqp.js} +35 -35
- package/src/ui/public/assets/index-CCjJzSoh.js +109 -0
- package/src/ui/public/assets/index-jg4XAQHo.css +1 -0
- package/src/ui/public/assets/json.worker-leyajbqV.js +58 -0
- package/src/ui/public/assets/{ts.worker--OkPaiLD.js → ts.worker-59MjiAqk.js} +108 -108
- package/src/ui/public/assets/vendor-Ber2fjTN.css +1 -0
- package/src/ui/public/assets/vendor-Bw-YrT5r.js +1374 -0
- package/src/ui/public/index.html +4 -4
- package/src/ui/server/index.js +3 -0
- package/src/ui/server/routes/codeAnalysis.js +585 -0
- package/src/ui/server/routes/fs.js +45 -0
- package/src/ui/public/assets/editor.worker-1JAmoQSB.js +0 -26
- package/src/ui/public/assets/index-BVWHnypR.css +0 -1
- package/src/ui/public/assets/index-BWl1xzuJ.js +0 -108
- package/src/ui/public/assets/json.worker--DwPKSpO.js +0 -58
- package/src/ui/public/assets/vendor-BtihdyTS.js +0 -1335
- package/src/ui/public/assets/vendor-CeElb63i.css +0 -1
package/package.json
CHANGED
package/src/config.js
CHANGED
|
@@ -123,13 +123,13 @@ async function loadConfig() {
|
|
|
123
123
|
// 新版结构:{ projects: { [key]: projectConfig }, theme?, locale?, recentDirectories? }
|
|
124
124
|
const projectConfig = raw?.projects?.[key];
|
|
125
125
|
// 合并:默认配置 + 项目配置 + 全局通用设置(theme, locale, models)
|
|
126
|
-
// models
|
|
126
|
+
// models 是全局配置(跨项目共享),始终取顶层,不使用项目级的(防止旧数据 models:[] 覆盖)
|
|
127
127
|
return {
|
|
128
128
|
...defaultConfig,
|
|
129
129
|
...(projectConfig || {}),
|
|
130
130
|
theme: raw?.theme ?? defaultConfig.theme,
|
|
131
131
|
locale: raw?.locale ?? defaultConfig.locale,
|
|
132
|
-
models:
|
|
132
|
+
models: raw?.models ?? defaultConfig.models
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
|