@copylee/dsh-computer-use 0.7.4 → 0.7.6

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/README.md CHANGED
@@ -6,6 +6,14 @@
6
6
 
7
7
  仅支持 Windows。
8
8
 
9
+ ![AI 用电脑控制打开记事本,逐行输入一首小诗](assets/demo-notepad.gif)
10
+
11
+ 上图是一次真实操作的录屏(只录了被操控的记事本窗口):AI 打开记事本并逐行输入文字。下图是对话里看到的过程,以及设置页。
12
+
13
+ | 对话中的操作过程 | 设置页 |
14
+ |---|---|
15
+ | ![对话:AI 打开计算器并用鼠标点按钮算出结果](assets/chat.png) | ![设置 → 电脑控制:运行状态、授权方式、禁止操控的应用](assets/settings.png) |
16
+
9
17
  ## 功能
10
18
 
11
19
  | 功能 | 说明 |
package/lib/client.js CHANGED
@@ -166,7 +166,7 @@ window.__ModuleLoader__.load({
166
166
  return [accent, writeAccent];
167
167
  }
168
168
  /** A row of round swatches: one of them is always chosen. */
169
- function AccentPicker({ label = "强调色", hint = "对 copylee 的全部插件生效", names }) {
169
+ function AccentPicker({ label = "强调色", hint = "", names }) {
170
170
  const [accent, choose] = useAccent();
171
171
  const h = react.createElement;
172
172
  const name = (id) => names?.[id] ?? ACCENTS[id].name;
@@ -204,7 +204,7 @@ window.__ModuleLoader__.load({
204
204
  }))), h("span", { style: {
205
205
  fontSize: 12,
206
206
  color: "var(--dsw-alias-label-tertiary, #888)"
207
- } }, `${name(accent)} · ${hint}`));
207
+ } }, hint ? `${name(accent)} · ${hint}` : name(accent)));
208
208
  }
209
209
  //#endregion
210
210
  //#region lib/types/client/nav-icon.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copylee/dsh-computer-use",
3
- "version": "0.7.4",
3
+ "version": "0.7.6",
4
4
  "description": "DeepSeek Harness Computer Use 插件(Windows):让 AI 看屏幕、点鼠标、敲键盘操控电脑;控制时屏幕泛起橙色光晕并显示“DeepSeek Harness 正在操控你的电脑”,按 Esc 暂停 / 继续。",
5
5
  "type": "module",
6
6
  "author": "copylee",