@co0ontty/wand 4.26.1 → 4.26.2
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/dist/build-info.json +3 -3
- package/dist/config.d.ts +0 -1
- package/dist/config.js +0 -3
- package/dist/git-quick-commit.d.ts +0 -1
- package/dist/git-quick-commit.js +1 -183
- package/dist/git-worktree.d.ts +0 -4
- package/dist/git-worktree.js +0 -298
- package/dist/models.d.ts +0 -5
- package/dist/models.js +0 -8
- package/dist/resume-policy.d.ts +0 -2
- package/dist/resume-policy.js +0 -10
- package/dist/server-session-routes.d.ts +1 -1
- package/dist/server-session-routes.js +1 -1
- package/dist/server-settings-routes.js +1 -1
- package/dist/tui/layout.js +1 -4
- package/dist/web-ui/content/scripts.js +58 -58
- package/dist/web-ui/embedded-assets.d.ts +1 -1
- package/dist/web-ui/embedded-assets.js +2 -2
- package/package.json +1 -1
|
@@ -130,7 +130,7 @@ export function registerSettingsRoutes(app, deps) {
|
|
|
130
130
|
});
|
|
131
131
|
res.json({ inheritEnv, total: entries.length, reveal, entries });
|
|
132
132
|
});
|
|
133
|
-
app.post("/api/settings/system-ai/import", requireAdmin, (
|
|
133
|
+
app.post("/api/settings/system-ai/import", requireAdmin, (_req, res) => {
|
|
134
134
|
const imported = discoverCliSystemAiConfigs();
|
|
135
135
|
if (!imported.length) {
|
|
136
136
|
res.status(404).json({ error: "没有在已配置的 CLI 文件中找到可直连的 API 地址、密钥和模型。" });
|
package/dist/tui/layout.js
CHANGED
|
@@ -73,7 +73,7 @@ export function buildLayout() {
|
|
|
73
73
|
label: { fg: "cyan", bold: true },
|
|
74
74
|
},
|
|
75
75
|
});
|
|
76
|
-
|
|
76
|
+
blessed.box({
|
|
77
77
|
parent: screen,
|
|
78
78
|
bottom: 0,
|
|
79
79
|
left: 0,
|
|
@@ -151,7 +151,6 @@ export function buildLayout() {
|
|
|
151
151
|
bg: "black",
|
|
152
152
|
},
|
|
153
153
|
});
|
|
154
|
-
let servicePanelHandlers = null;
|
|
155
154
|
let servicePanelView = null;
|
|
156
155
|
const servicePanelKeys = ["s", "t", "r", "i", "u", "l", "R", "escape", "q"];
|
|
157
156
|
// 让 sessions 默认获得焦点以接收键盘事件
|
|
@@ -314,7 +313,6 @@ export function buildLayout() {
|
|
|
314
313
|
scheduleRender();
|
|
315
314
|
}
|
|
316
315
|
function openServicePanel(handlers, initial) {
|
|
317
|
-
servicePanelHandlers = handlers;
|
|
318
316
|
servicePanelView = initial;
|
|
319
317
|
renderServicePanel();
|
|
320
318
|
servicePanel.show();
|
|
@@ -340,7 +338,6 @@ export function buildLayout() {
|
|
|
340
338
|
}
|
|
341
339
|
function closeServicePanel() {
|
|
342
340
|
servicePanel.hide();
|
|
343
|
-
servicePanelHandlers = null;
|
|
344
341
|
sessions.focus();
|
|
345
342
|
scheduleRender();
|
|
346
343
|
}
|