@copylee/dsh-computer-use 0.7.4 → 0.7.5

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.
Files changed (2) hide show
  1. package/lib/client.js +2 -2
  2. package/package.json +1 -1
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.5",
4
4
  "description": "DeepSeek Harness Computer Use 插件(Windows):让 AI 看屏幕、点鼠标、敲键盘操控电脑;控制时屏幕泛起橙色光晕并显示“DeepSeek Harness 正在操控你的电脑”,按 Esc 暂停 / 继续。",
5
5
  "type": "module",
6
6
  "author": "copylee",