dsh-design-studio 0.21.0 → 0.23.0

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.
@@ -0,0 +1,51 @@
1
+ <!doctype html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=1280">
6
+ <meta name="dsh-design" content="dshplugin 1280x800">
7
+ <title>右侧栏面板</title>
8
+ <link rel="stylesheet" href="dsh-shell.css">
9
+ <!-- 外框(DSH 插件 · 右侧栏面板):只改 data-slot 里面,别动外框的结构、文字和 dsh-shell.css -->
10
+ </head>
11
+ <body>
12
+ <div class="dsh-app" data-frame="dsh/panel">
13
+ <aside class="dsh-side">
14
+ <div class="dsh-brand"><div class="dsh-logo">deepseek<span class="dsh-logo-tag">HARNESS</span></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M9 3v18"/></svg></div></div>
15
+ <div class="dsh-new"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 8v8M8 12h8"/></svg>新会话</div>
16
+ <nav class="dsh-nav">
17
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2.5l3 3-3 3-3-3zM18.5 9l3 3-3 3-3-3zM5.5 9l3 3-3 3-3-3zM12 15.5l3 3-3 3-3-3z"/></svg>插件</div>
18
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>自动化任务</div>
19
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="6" height="6" rx="1.5"/><rect x="14" y="4" width="6" height="6" rx="3"/><rect x="4" y="14" width="6" height="6" rx="1.5"/><rect x="14" y="14" width="6" height="6" rx="1.5"/></svg>更多</div>
20
+ </nav>
21
+ <div class="dsh-sec">工作区<div class="dsh-sec-acts"><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="M20 20l-4-4"/></svg></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h10M18 8h2M4 16h2M10 16h10"/><circle cx="16" cy="8" r="2"/><circle cx="8" cy="16" r="2"/></svg></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><path d="M12 11v5M9.5 13.5h5"/></svg></div></div></div>
22
+ <div class="dsh-row"><span class="dsh-folder"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg></span>我的项目</div>
23
+ <div class="dsh-sess on">整理会议记录<span class="dsh-time">2 小时</span></div>
24
+ <div class="dsh-sess">新会话</div>
25
+ <div class="dsh-acct"><div class="dsh-avatar">我</div>我的账号</div>
26
+ </aside>
27
+ <main class="dsh-main">
28
+ <header class="dsh-head">
29
+ <div class="dsh-crumbs">整理会议记录<span class="dsh-mode">标准模式<svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg></span></div>
30
+ <div class="dsh-utils"><div class="dsh-iconbtn on"><span data-slot="button-icon"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="16" height="16" rx="4"/></svg></span></div><div class="dsh-split"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 8l-4 4 4 4M15 8l4 4-4 4"/></svg><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/></svg></div></div>
31
+ <div class="dsh-iconbtn dsh-corner"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M15 3v18"/></svg></div>
32
+ <div class="dsh-tabs" role="tablist"><div class="dsh-tab on">对话</div><div class="dsh-tab">轨迹</div></div>
33
+ </header>
34
+ <div class="dsh-chat">
35
+ <div class="dsh-msg-me">帮我把这周的会议记录整理成一页</div>
36
+ <div class="dsh-msg-ai"><p>好的,我先读一下会议记录,再按议题归类。</p><p>整理好了,放在「会议纪要.md」。</p></div>
37
+ </div>
38
+ <div class="dsh-composer">
39
+ <div class="dsh-ph">描述你想要构建的内容,/ 调用指令,@ 文件或对话</div>
40
+ <div class="dsh-cbar"><div class="dsh-cl"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg><span class="dsh-mode"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l7 3v6c0 4-3 7-7 9-4-2-7-5-7-9V6z"/></svg>工作区内修改<svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg></span></div><div class="dsh-cr">DeepSeek V4.1 Flash<div class="dsh-send"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 19V5M6 11l6-6 6 6"/></svg></div></div></div>
41
+ </div>
42
+ </main>
43
+ <aside class="dsh-right">
44
+ <div class="dsh-rtabs"><div class="dsh-rtab"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 11l8-7 8 7v9H4z"/></svg>开始</div><div class="dsh-rtab on"><span data-slot="panel-title">我的插件</span></div></div>
45
+ <div data-slot="main">
46
+ <!-- 插件面板:点会话顶栏按钮后右侧栏显示的内容 -->
47
+ </div>
48
+ </aside>
49
+ </div>
50
+ </body>
51
+ </html>
@@ -0,0 +1,57 @@
1
+ <!doctype html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=1280">
6
+ <meta name="dsh-design" content="dshplugin 1280x800">
7
+ <title>设置分区</title>
8
+ <link rel="stylesheet" href="dsh-shell.css">
9
+ <!-- 外框(DSH 插件 · 设置分区):只改 data-slot 里面,别动外框的结构、文字和 dsh-shell.css -->
10
+ </head>
11
+ <body>
12
+ <div class="dsh-app" data-frame="dsh/settings">
13
+ <aside class="dsh-side">
14
+ <div class="dsh-brand"><div class="dsh-logo">deepseek<span class="dsh-logo-tag">HARNESS</span></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M9 3v18"/></svg></div></div>
15
+ <div class="dsh-new"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 8v8M8 12h8"/></svg>新会话</div>
16
+ <nav class="dsh-nav">
17
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2.5l3 3-3 3-3-3zM18.5 9l3 3-3 3-3-3zM5.5 9l3 3-3 3-3-3zM12 15.5l3 3-3 3-3-3z"/></svg>插件</div>
18
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>自动化任务</div>
19
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="6" height="6" rx="1.5"/><rect x="14" y="4" width="6" height="6" rx="3"/><rect x="4" y="14" width="6" height="6" rx="1.5"/><rect x="14" y="14" width="6" height="6" rx="1.5"/></svg>更多</div>
20
+ </nav>
21
+ <div class="dsh-sec">工作区<div class="dsh-sec-acts"><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="M20 20l-4-4"/></svg></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h10M18 8h2M4 16h2M10 16h10"/><circle cx="16" cy="8" r="2"/><circle cx="8" cy="16" r="2"/></svg></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><path d="M12 11v5M9.5 13.5h5"/></svg></div></div></div>
22
+ <div class="dsh-row"><span class="dsh-folder"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg></span>我的项目</div>
23
+ <div class="dsh-sess on">整理会议记录<span class="dsh-time">2 小时</span></div>
24
+ <div class="dsh-sess">新会话</div>
25
+ <div class="dsh-acct"><div class="dsh-avatar">我</div>我的账号</div>
26
+ </aside>
27
+ <main class="dsh-main">
28
+ <div class="dsh-bar"><div class="dsh-iconbtn dsh-corner"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M15 3v18"/></svg></div></div>
29
+ <div class="dsh-chat"></div>
30
+ <div class="dsh-composer">
31
+ <div class="dsh-ph">描述你想要构建的内容,/ 调用指令,@ 文件或对话</div>
32
+ <div class="dsh-cbar"><div class="dsh-cl"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg><span class="dsh-mode"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l7 3v6c0 4-3 7-7 9-4-2-7-5-7-9V6z"/></svg>工作区内修改<svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg></span></div><div class="dsh-cr">DeepSeek V4.1 Flash<div class="dsh-send"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 19V5M6 11l6-6 6 6"/></svg></div></div></div>
33
+ </div>
34
+ </main>
35
+ <div class="dsh-scrim"></div>
36
+ <div class="dsh-modal" role="dialog">
37
+ <div class="dsh-snav">
38
+ <div class="dsh-stitle">设置</div>
39
+ <div class="dsh-slist">
40
+ <div class="dsh-scell"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="8" r="4"/><path d="M4 21c1-4 4-6 8-6s7 2 8 6"/></svg>账号与余额</div>
41
+ <div class="dsh-scell"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1"/></svg>通用设置</div>
42
+ <div class="dsh-scell"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><ellipse cx="12" cy="6" rx="7" ry="3"/><path d="M5 6v12c0 1.7 3.1 3 7 3s7-1.3 7-3V6M5 12c0 1.7 3.1 3 7 3s7-1.3 7-3"/></svg>模型</div>
43
+ <div class="dsh-scell"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h10M18 8h2M4 16h2M10 16h10"/><circle cx="16" cy="8" r="2"/><circle cx="8" cy="16" r="2"/></svg>内置插件</div>
44
+ <div class="dsh-scell"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l8 5v8l-8 5-8-5V8z"/></svg>Agent 预设</div>
45
+ <div class="dsh-scell on"><span data-slot="entry-icon"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="16" height="16" rx="4"/></svg></span><span data-slot="entry-label">我的插件</span></div>
46
+ </div>
47
+ </div>
48
+ <div class="dsh-sbody">
49
+ <div class="dsh-stop"><div class="dsh-ghost">打开配置文件</div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></div></div>
50
+ <div data-slot="main">
51
+ <!-- 插件的设置分区 -->
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </body>
57
+ </html>
@@ -0,0 +1,36 @@
1
+ <!doctype html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=1280">
6
+ <meta name="dsh-design" content="dshplugin 1280x800">
7
+ <title>左侧栏入口</title>
8
+ <link rel="stylesheet" href="dsh-shell.css">
9
+ <!-- 外框(DSH 插件 · 左侧栏入口):只改 data-slot 里面,别动外框的结构、文字和 dsh-shell.css -->
10
+ </head>
11
+ <body>
12
+ <div class="dsh-app" data-frame="dsh/sidebar">
13
+ <aside class="dsh-side">
14
+ <div class="dsh-brand"><div class="dsh-logo">deepseek<span class="dsh-logo-tag">HARNESS</span></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M9 3v18"/></svg></div></div>
15
+ <div class="dsh-new"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 8v8M8 12h8"/></svg>新会话</div>
16
+ <nav class="dsh-nav">
17
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2.5l3 3-3 3-3-3zM18.5 9l3 3-3 3-3-3zM5.5 9l3 3-3 3-3-3zM12 15.5l3 3-3 3-3-3z"/></svg>插件</div>
18
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>自动化任务</div>
19
+ <div class="dsh-row on"><span data-slot="entry-icon"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="16" height="16" rx="4"/></svg></span><span data-slot="entry-label">我的插件</span></div>
20
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="6" height="6" rx="1.5"/><rect x="14" y="4" width="6" height="6" rx="3"/><rect x="4" y="14" width="6" height="6" rx="1.5"/><rect x="14" y="14" width="6" height="6" rx="1.5"/></svg>更多</div>
21
+ </nav>
22
+ <div class="dsh-sec">工作区<div class="dsh-sec-acts"><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="M20 20l-4-4"/></svg></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h10M18 8h2M4 16h2M10 16h10"/><circle cx="16" cy="8" r="2"/><circle cx="8" cy="16" r="2"/></svg></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><path d="M12 11v5M9.5 13.5h5"/></svg></div></div></div>
23
+ <div class="dsh-row"><span class="dsh-folder"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg></span>我的项目</div>
24
+ <div class="dsh-sess">整理会议记录<span class="dsh-time">2 小时</span></div>
25
+ <div class="dsh-sess">新会话</div>
26
+ <div class="dsh-acct"><div class="dsh-avatar">我</div>我的账号</div>
27
+ </aside>
28
+ <main class="dsh-main">
29
+ <div class="dsh-bar"><div class="dsh-iconbtn dsh-corner"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M15 3v18"/></svg></div></div>
30
+ <div data-slot="main">
31
+ <!-- 插件整页:点左侧栏那一行后主区显示的内容 -->
32
+ </div>
33
+ </main>
34
+ </div>
35
+ </body>
36
+ </html>
@@ -0,0 +1,40 @@
1
+ <!doctype html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=1280">
6
+ <meta name="dsh-design" content="dshplugin 1280x800">
7
+ <title>会话标签页</title>
8
+ <link rel="stylesheet" href="dsh-shell.css">
9
+ <!-- 外框(DSH 插件 · 会话标签页):只改 data-slot 里面,别动外框的结构、文字和 dsh-shell.css -->
10
+ </head>
11
+ <body>
12
+ <div class="dsh-app" data-frame="dsh/view">
13
+ <aside class="dsh-side">
14
+ <div class="dsh-brand"><div class="dsh-logo">deepseek<span class="dsh-logo-tag">HARNESS</span></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M9 3v18"/></svg></div></div>
15
+ <div class="dsh-new"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 8v8M8 12h8"/></svg>新会话</div>
16
+ <nav class="dsh-nav">
17
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2.5l3 3-3 3-3-3zM18.5 9l3 3-3 3-3-3zM5.5 9l3 3-3 3-3-3zM12 15.5l3 3-3 3-3-3z"/></svg>插件</div>
18
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>自动化任务</div>
19
+ <div class="dsh-row"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="6" height="6" rx="1.5"/><rect x="14" y="4" width="6" height="6" rx="3"/><rect x="4" y="14" width="6" height="6" rx="1.5"/><rect x="14" y="14" width="6" height="6" rx="1.5"/></svg>更多</div>
20
+ </nav>
21
+ <div class="dsh-sec">工作区<div class="dsh-sec-acts"><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="M20 20l-4-4"/></svg></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h10M18 8h2M4 16h2M10 16h10"/><circle cx="16" cy="8" r="2"/><circle cx="8" cy="16" r="2"/></svg></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><path d="M12 11v5M9.5 13.5h5"/></svg></div></div></div>
22
+ <div class="dsh-row"><span class="dsh-folder"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg></span>我的项目</div>
23
+ <div class="dsh-sess on">整理会议记录<span class="dsh-time">2 小时</span></div>
24
+ <div class="dsh-sess">新会话</div>
25
+ <div class="dsh-acct"><div class="dsh-avatar">我</div>我的账号</div>
26
+ </aside>
27
+ <main class="dsh-main">
28
+ <header class="dsh-head">
29
+ <div class="dsh-crumbs">整理会议记录<span class="dsh-mode">标准模式<svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg></span></div>
30
+ <div class="dsh-utils"><div class="dsh-split"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 8l-4 4 4 4M15 8l4 4-4 4"/></svg><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg></div><div class="dsh-iconbtn"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/></svg></div></div>
31
+ <div class="dsh-iconbtn dsh-corner"><svg class="dsh-i" viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M15 3v18"/></svg></div>
32
+ <div class="dsh-tabs" role="tablist"><div class="dsh-tab">对话</div><div class="dsh-tab">轨迹</div><div class="dsh-tab on"><span data-slot="tab-label">我的插件</span></div></div>
33
+ </header>
34
+ <div data-slot="main">
35
+ <!-- 插件视图:点会话顶上这个标签后下面整块显示的内容 -->
36
+ </div>
37
+ </main>
38
+ </div>
39
+ </body>
40
+ </html>
@@ -0,0 +1,66 @@
1
+ # DSH 插件(`dshplugin`)
2
+
3
+ 给 DSH(DeepSeek Harness)桌面端做插件界面。插件长在 DSH 里面,所以每屏都带 **DSH 的外框**(左侧栏、会话顶栏、右侧栏、设置弹窗),你只设计插件那一块。外框是照 DSH 0.2.2 量的,浅色、深色都有。
4
+
5
+ ## 四个位置
6
+
7
+ | 位置 | 外框文件 | 用户在哪看到 | 槽位(`data-slot`) |
8
+ | --- | --- | --- | --- |
9
+ | 左侧栏入口 | `sidebar.html` | 左侧栏「插件 / 自动化任务」那一排多一行,点开主区是插件整页 | `entry-icon`、`entry-label`、`main`(1000×760) |
10
+ | 设置分区 | `settings.html` | 设置弹窗左边导航多一项,右边是插件的设置 | `entry-icon`、`entry-label`、`main`(约 610×690,左右已留 24px) |
11
+ | 会话标签页 | `view.html` | 会话顶上「对话 / 轨迹」旁边多一个标签,下面整块是插件视图 | `tab-label`、`main`(1000×724) |
12
+ | 右侧栏面板 | `panel.html` | 会话顶栏多一个按钮,点开右侧栏是插件面板 | `button-icon`、`panel-title`、`main`(574×762) |
13
+
14
+ 用户没说放哪就问一句(给这四个选项);一个插件可以占好几个位置,一个位置一屏。
15
+
16
+ ## 怎么做
17
+
18
+ 1. **复制外框**:把技能目录 `frames/dsh/` 里的 `dsh-shell.css` 和要用的外框 HTML **原样**复制进设计目录(HTML 可以改文件名,照常用英文小写,比如 `pomodoro-view.html`);`<title>` 照常改成「屏名 · 产品名」(如「标签页 · 番茄钟」),它不算外框。外框自带 `<meta name="dsh-design" content="dshplugin 1280x800">`,别改。
19
+ 2. **只写槽位里面**:插件界面写进 `<div data-slot="main">`;`entry-icon` / `button-icon` 放一个 16×16 的线条 `<svg>`(`stroke="currentColor"`,别用彩色图),`entry-label` / `tab-label` / `panel-title` 换成插件名(2–6 个字)。几屏的图标、名字要一致。
20
+ 3. **外框一个字都别动**:结构、文字、class、`style`、`dsh-shell.css` 都不改,也别删外框里的东西。改了体检报「外框被改动」,用户看到的就不是真 DSH 了。
21
+ 4. **样式只管槽位**:插件的样式写在 `<head>` 里自己的 `<style>`,每条选择器都从 `[data-slot="main"]` 开头(`[data-slot="main"] .timer { … }`)。不写 `body`、`*`、`button`、`h1` 这种不带前缀的选择器——会改到外框。
22
+ 5. **默认长得像 DSH**:不用 `pick_style`,也不用 `tokens.css`;颜色、圆角、字体用外框的变量,深色自动跟着变:
23
+
24
+ | 变量 | 用途 |
25
+ | --- | --- |
26
+ | `--dsh-bg` / `--dsh-card` / `--dsh-side` | 主区底色 / 卡片、弹窗底色 / 侧栏底色 |
27
+ | `--dsh-fg` / `--dsh-muted` | 正文 / 次要字 |
28
+ | `--dsh-line` / `--dsh-hover` | 分隔线、边框 / 选中行、悬停 |
29
+ | `--dsh-accent` | 选中、链接、强调(蓝) |
30
+ | `--dsh-btn` / `--dsh-btn-fg` | 主按钮(浅色黑底白字,深色反过来) |
31
+ | `--dsh-radius-sm` / `-md` / `-lg` | 8 / 12 / 16px |
32
+ | `--dsh-font` / `--dsh-font-code` | 正文字体 / 代码字体 |
33
+
34
+ DSH 自己的样子:正文 14px、标题 16–20px 中粗;卡片 1px `--dsh-line` 边、12–16px 圆角、不加重阴影;按钮高 28–32px,主按钮黑底(深色白底),次按钮描边。用户要自己的品牌风格时才建 `tokens.css`,变量也只在槽位里用。
35
+ 6. **深色**:外框和 `--dsh-*` 变量自带;插件里另写的颜色要在 `[data-theme="dark"] [data-slot="main"] …` 里给深色值。
36
+ 7. **放得下**:`main` 比内容小时会自己滚动,但关键内容放在第一屏;右侧栏只有 574 宽,按窄面板排(一列为主)。
37
+
38
+ ## 示例
39
+
40
+ ```html
41
+ <head>
42
+ …外框原样…
43
+ <style>
44
+ [data-slot="main"] .pomo { padding: 32px 40px; display: grid; gap: 16px; }
45
+ [data-slot="main"] .pomo-time { font: 600 56px/1 var(--dsh-font); }
46
+ [data-slot="main"] .pomo-card { border: 1px solid var(--dsh-line); border-radius: var(--dsh-radius-lg); background: var(--dsh-card); padding: 16px; }
47
+ [data-slot="main"] .pomo-go { height: 32px; padding: 0 16px; border: 0; border-radius: var(--dsh-radius-lg); background: var(--dsh-btn); color: var(--dsh-btn-fg); }
48
+ </style>
49
+ </head>
50
+ …
51
+ <div class="dsh-tab on"><span data-slot="tab-label">番茄钟</span></div>
52
+ …
53
+ <div data-slot="main">
54
+ <section class="pomo">
55
+ <div class="pomo-time">25:00</div>
56
+ <button class="pomo-go">开始专注</button>
57
+ <div class="pomo-card">今天完成 3 个番茄</div>
58
+ </section>
59
+ </div>
60
+ ```
61
+
62
+ ## 讲究
63
+
64
+ - 外框里的会话名、工作区、账号(「我的账号」)是占位,别换成真实的人名、手机号。
65
+ - 不要自己再画一个窗口、标题栏、DSH 侧栏——外框已经有了。
66
+ - 插件里的弹窗、下拉菜单也画在 `main` 里面(`position: absolute`),不要盖到外框上。