dsh-island 0.6.0 → 0.6.1
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 +2 -2
- package/package.json +2 -2
- package/src/host.js +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ DeepSeek Harness 的桌面灵动岛插件:像 iPhone 灵动岛一样停在屏
|
|
|
22
22
|
|
|
23
23
|
## 安装
|
|
24
24
|
|
|
25
|
-
需要 **DeepSeek Harness 桌面版 0.2.1-rc.
|
|
25
|
+
需要 **DeepSeek Harness 桌面版 0.2.1-rc.5**(Windows)。
|
|
26
26
|
|
|
27
27
|
- **在 Harness 里安装**:侧栏「插件」→「添加插件」,输入 `dsh-island`,安装后启用。
|
|
28
28
|
- **命令行**:先从托盘退出 Harness,再运行 `dsh plugin --profile desktop add dsh-island`。
|
|
@@ -143,7 +143,7 @@ Agent 要执行需要授权的操作(运行命令、修改文件、访问网
|
|
|
143
143
|
|
|
144
144
|
## 从源码安装与卸载
|
|
145
145
|
|
|
146
|
-
适配并检查的版本:**DeepSeek Harness Desktop 0.2.1-rc.
|
|
146
|
+
适配并检查的版本:**DeepSeek Harness Desktop 0.2.1-rc.5 / Windows**。
|
|
147
147
|
|
|
148
148
|
双击项目里的 **安装到 Harness.cmd** 即可(会先询问是否关闭 Harness,装完自动重新打开;会在常见安装位置和正在运行的 Harness 中查找 `dsh.cmd`)。也可以先从托盘退出 Harness,然后运行:
|
|
149
149
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-island",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "DeepSeek Harness 桌面灵动岛插件:实时任务状态、上下文占用、在灵动岛批准权限与回答提问、用量与费用统计(社区插件)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@deepseek-ai/dsh": "0.2.1-rc.
|
|
47
|
+
"@deepseek-ai/dsh": "0.2.1-rc.5",
|
|
48
48
|
"@deepseek-ai/schemastery": "~3.18.5"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
package/src/host.js
CHANGED
|
@@ -78,7 +78,7 @@ export function islandSnapshot(ctx, store, known, desk, extra = {}) {
|
|
|
78
78
|
const wallets = list => (Array.isArray(list) ? list : []).filter(w => w && ['CNY','USD'].includes(w.currency) && typeof w.balance === 'string' && /^-?\d+(\.\d+)?$/.test(w.balance)).map(w => ({ currency: w.currency, balance: w.balance }));
|
|
79
79
|
let harnessVersion;
|
|
80
80
|
const clientInfo = () => {
|
|
81
|
-
if (harnessVersion === undefined) { try { harnessVersion = createRequire(import.meta.url)('@deepseek-ai/dsh-deepseek-account/package.json').version; } catch { harnessVersion = '0.2.1-rc.
|
|
81
|
+
if (harnessVersion === undefined) { try { harnessVersion = createRequire(import.meta.url)('@deepseek-ai/dsh-deepseek-account/package.json').version; } catch { harnessVersion = '0.2.1-rc.5'; } }
|
|
82
82
|
return { version: harnessVersion, locale: Intl.DateTimeFormat().resolvedOptions().locale || 'zh-CN', timezoneOffsetSeconds: -new Date().getTimezoneOffset() * 60 };
|
|
83
83
|
};
|
|
84
84
|
/**
|