Ship Cursor-only MCP admin and modular Admin/Chat UI.

Plugins/Skills install and edit via mcpServers JSON, with clearer row actions, soft reloads, and instant loading placeholders; also drop MCP market and harden related scheduler/logging/exec guards.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-12 19:38:26 +08:00
parent 2aff012b48
commit f6f129931f
61 changed files with 18057 additions and 16327 deletions

View file

@ -0,0 +1,17 @@
const LANG_KEY = "ops_admin_lang";
let lang = "zh";
try {
lang = String(localStorage.getItem(LANG_KEY) || "zh").toLowerCase();
} catch (_) {
lang = "zh";
}
if (lang !== "zh" && lang !== "en") lang = "zh";
export const state = {
currentLang: lang,
authSession: null,
/** @type {null | (() => any)} */
reauthHandler: null,
/** @type {null | (() => any)} */
navigate: null,
};