Files
deepseek-harness/apps/desktop/renderer/plugin-manager.html
T
2026-08-31 11:54:28 +08:00

36 lines
1.3 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self'; connect-src 'none'; img-src 'self' data:">
<title>桌面插件</title>
<link rel="stylesheet" href="plugin-manager.css">
</head>
<body>
<main>
<header>
<div>
<h1>桌面插件</h1>
<p>插件只安装到桌面端自己的 node_modules,并由内置 pnpm 管理。</p>
</div>
<button id="refresh" class="quiet" type="button">刷新</button>
</header>
<form id="install-form">
<label for="package-spec">npm 包</label>
<div class="install-row">
<input id="package-spec" name="package-spec" autocomplete="off" placeholder="@scope/plugin@1.2.3" required>
<button type="submit">安装</button>
</div>
</form>
<p id="status" role="status" aria-live="polite"></p>
<section aria-labelledby="installed-heading">
<h2 id="installed-heading">已安装</h2>
<ul id="plugins"></ul>
<p id="empty">还没有安装桌面插件。</p>
</section>
</main>
<script src="plugin-manager.js"></script>
</body>
</html>