feat: 发布 1.1.11,正式/测试分栏切换(不含 Skill)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
叫我小杨同学andCursor committed 2026-09-20 16:46:01 +08:00
1 parent d30f3a76e9
commit f9386d77d6
6 files changed
+658 -102

No files matched your search

+2 -4
View File
@@ -744,6 +744,7 @@ function installWebServer(ctx, cfg) {
dsh_home: state.dsh_home,
plugin_version: updater.localVersion(),
update: updater.lastUpdateResult(),
...updater.channelPublic(),
});
} catch (e) {
sendJson(response, 500, { ok: false, error: String(e) });
@@ -908,10 +909,7 @@ function installWebServer(ctx, cfg) {
if (request.method === "POST") {
try {
const body = await readJsonBody(request);
const result = body && body.auto
? await updater.autoUpdateIfNeeded()
: await updater.applyUpdate();
sendJson(response, 200, result);
sendJson(response, 200, await updater.handleUpdateOp(body || {}));
} catch (e) {
sendJson(response, 500, { ok: false, error: String(e) });
}