zen-gitsync 2.11.28 → 2.11.29
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 +2 -1
- package/src/ui/public/assets/index-A_Cy6kth.js +94 -0
- package/src/ui/public/assets/{index-BB9I3v_D.css → index-C5rGy-tE.css} +1 -1
- package/src/ui/public/assets/{vendor-D3pt-bg1.js → vendor-BGRFri1B.js} +220 -220
- package/src/ui/public/assets/{vendor-BzVBPsHF.css → vendor-CKD7ZwC_.css} +1 -1
- package/src/ui/public/index.html +4 -4
- package/src/ui/server/index.js +4 -0
- package/src/ui/public/assets/index-DDdb_xTM.js +0 -94
package/src/ui/public/index.html
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
11
11
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
12
12
|
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />
|
|
13
|
-
<script type="module" crossorigin src="/assets/index-
|
|
13
|
+
<script type="module" crossorigin src="/assets/index-A_Cy6kth.js"></script>
|
|
14
14
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-BM3Ffeng.js">
|
|
15
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-
|
|
16
|
-
<link rel="stylesheet" crossorigin href="/assets/vendor-
|
|
17
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
15
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-BGRFri1B.js">
|
|
16
|
+
<link rel="stylesheet" crossorigin href="/assets/vendor-CKD7ZwC_.css">
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/assets/index-C5rGy-tE.css">
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
|
20
20
|
<div id="app"></div>
|
package/src/ui/server/index.js
CHANGED
|
@@ -30,6 +30,7 @@ import { registerCodeAnalysisRoutes } from './routes/codeAnalysis.js';
|
|
|
30
30
|
import { createSavePortToFile } from './utils/createSavePortToFile.js';
|
|
31
31
|
import { startServerOnAvailablePort } from './utils/startServerOnAvailablePort.js';
|
|
32
32
|
import { createFilePickerMiddleware } from 'local-file-picker';
|
|
33
|
+
import { createAiModelMiddleware } from 'ai-model-form';
|
|
33
34
|
|
|
34
35
|
const __filename = fileURLToPath(import.meta.url);
|
|
35
36
|
const __dirname = path.dirname(__filename);
|
|
@@ -197,6 +198,9 @@ async function startUIServer(noOpen = false, savePort = false) {
|
|
|
197
198
|
// local-file-picker 中间件,提供 /api/fs/* 文件浏览路由
|
|
198
199
|
app.use('/api', createFilePickerMiddleware());
|
|
199
200
|
|
|
201
|
+
// ai-model-form 中间件:提供 /api/ai-model/* 路由(模型列表/测试/暂存保存)
|
|
202
|
+
app.use('/api', createAiModelMiddleware());
|
|
203
|
+
|
|
200
204
|
registerCodeAnalysisRoutes({ app, configManager });
|
|
201
205
|
|
|
202
206
|
registerGitOpsRoutes({
|