dsh-channel-memory 0.1.0 → 0.1.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 +23 -7
- package/package.json +55 -55
package/README.md
CHANGED
|
@@ -44,31 +44,47 @@ DeepSeek Harness 插件:**手机通道专属工作区** + **跨会话互通记
|
|
|
44
44
|
|
|
45
45
|
## 安装
|
|
46
46
|
|
|
47
|
+
> ⚠️ npm 上 `dsh-channel-memory` 目前只有 `0.0.0-stage` 占位版(`latest` 指向它),
|
|
48
|
+
> 真实版本要等 staging approve 完成。**在此之前请用下面的 git 或本地目录方式安装**,
|
|
49
|
+
> 不要直接 `pnpm add dsh-channel-memory`。
|
|
50
|
+
|
|
51
|
+
在 DSH 的应用 profile 目录里执行(Windows 桌面形态是
|
|
52
|
+
`%USERPROFILE%\.dsh\profiles\desktop`):
|
|
53
|
+
|
|
47
54
|
```bash
|
|
48
55
|
cd %USERPROFILE%\.dsh\profiles\desktop
|
|
49
|
-
|
|
56
|
+
pnpm add github:Yuncan050115/dsh-channel-memory
|
|
50
57
|
```
|
|
51
58
|
|
|
52
|
-
|
|
59
|
+
或从本地目录安装:
|
|
53
60
|
|
|
54
61
|
```bash
|
|
55
|
-
pnpm add dsh-channel-memory
|
|
62
|
+
pnpm add file:C:\path\to\dsh-channel-memory
|
|
56
63
|
```
|
|
57
64
|
|
|
58
|
-
然后把 bundle
|
|
65
|
+
然后把 bundle 名加进同目录 `package.json` 的 `dsh.profile.bundles`
|
|
66
|
+
(DSH 插件管理器会自动做这一步,手工加也可以):
|
|
59
67
|
|
|
60
68
|
```json
|
|
61
69
|
"dsh": { "profile": { "bundles": [ ..., "dsh-channel-memory" ] } }
|
|
62
70
|
```
|
|
63
71
|
|
|
64
|
-
重启 DSH
|
|
72
|
+
重启 DSH 生效。不想重启也可以先校验组合结果——用 DSH 自带运行时做一次干跑
|
|
73
|
+
(`--dump-config` 只组合配置、不启动 GUI)。`<APP>` 是 DSH 的安装目录,
|
|
74
|
+
Windows 桌面形态默认是 `C:\Program Files\DeepSeek Harness` 或
|
|
75
|
+
`D:\DeepSeek Harness`:
|
|
65
76
|
|
|
66
|
-
```
|
|
77
|
+
```bat
|
|
67
78
|
set ELECTRON_RUN_AS_NODE=1
|
|
68
|
-
|
|
79
|
+
set DSH_HOME=%USERPROFILE%\.dsh
|
|
80
|
+
"<APP>\DeepSeek Harness.exe" --expose-internals ^
|
|
81
|
+
"<APP>\resources\app.asar\dsh\node_modules\@deepseek-ai\dsh\lib\bin.js" ^
|
|
69
82
|
--profile desktop --dump-config
|
|
70
83
|
```
|
|
71
84
|
|
|
85
|
+
输出里应能看到 `# == dsh-channel-memory` 这一层;若出现 `skipped bundles` 或
|
|
86
|
+
`did not activate`,说明 bundle 没挂上。
|
|
87
|
+
|
|
72
88
|
## 配置
|
|
73
89
|
|
|
74
90
|
`cordis.patch.yml` 里 `channel-memory` 行的 `config` 全部可选,注释掉了默认值:
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-channel-memory",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "微信通道专属工作区 + 跨会话互通记忆:把手机发起的 DSH 会话归到一个独立工作区,并让所有会话共享一份可检索的长期记忆。",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"main": "./lib/index.js",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/Yuncan050115/dsh-channel-memory.git"
|
|
11
|
-
},
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/Yuncan050115/dsh-channel-memory/issues"
|
|
14
|
-
},
|
|
15
|
-
"homepage": "https://github.com/Yuncan050115/dsh-channel-memory#readme",
|
|
16
|
-
"exports": {
|
|
17
|
-
".": "./lib/index.js",
|
|
18
|
-
"./package.json": "./package.json"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"lib",
|
|
22
|
-
"cordis.patch.yml",
|
|
23
|
-
"README.md",
|
|
24
|
-
"PERMISSIONS.md",
|
|
25
|
-
"LICENSE",
|
|
26
|
-
"package.json"
|
|
27
|
-
],
|
|
28
|
-
"dsh": {
|
|
29
|
-
"bundle": {
|
|
30
|
-
"patch": "./cordis.patch.yml"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"peerDependencies": {
|
|
34
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
35
|
-
"@deepseek-ai/dsh-tools": ">=0.2.1-rc.5"
|
|
36
|
-
},
|
|
37
|
-
"peerDependenciesMeta": {
|
|
38
|
-
"@deepseek-ai/cordis": {
|
|
39
|
-
"optional": true
|
|
40
|
-
},
|
|
41
|
-
"@deepseek-ai/dsh-tools": {
|
|
42
|
-
"optional": true
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"engines": {
|
|
46
|
-
"node": ">=22"
|
|
47
|
-
},
|
|
48
|
-
"keywords": [
|
|
49
|
-
"deepseek-harness",
|
|
50
|
-
"dsh-plugin",
|
|
51
|
-
"wechat",
|
|
52
|
-
"memory",
|
|
53
|
-
"workspace"
|
|
54
|
-
]
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-channel-memory",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "微信通道专属工作区 + 跨会话互通记忆:把手机发起的 DSH 会话归到一个独立工作区,并让所有会话共享一份可检索的长期记忆。",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./lib/index.js",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/Yuncan050115/dsh-channel-memory.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/Yuncan050115/dsh-channel-memory/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/Yuncan050115/dsh-channel-memory#readme",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": "./lib/index.js",
|
|
18
|
+
"./package.json": "./package.json"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"lib",
|
|
22
|
+
"cordis.patch.yml",
|
|
23
|
+
"README.md",
|
|
24
|
+
"PERMISSIONS.md",
|
|
25
|
+
"LICENSE",
|
|
26
|
+
"package.json"
|
|
27
|
+
],
|
|
28
|
+
"dsh": {
|
|
29
|
+
"bundle": {
|
|
30
|
+
"patch": "./cordis.patch.yml"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
35
|
+
"@deepseek-ai/dsh-tools": ">=0.2.1-rc.5"
|
|
36
|
+
},
|
|
37
|
+
"peerDependenciesMeta": {
|
|
38
|
+
"@deepseek-ai/cordis": {
|
|
39
|
+
"optional": true
|
|
40
|
+
},
|
|
41
|
+
"@deepseek-ai/dsh-tools": {
|
|
42
|
+
"optional": true
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=22"
|
|
47
|
+
},
|
|
48
|
+
"keywords": [
|
|
49
|
+
"deepseek-harness",
|
|
50
|
+
"dsh-plugin",
|
|
51
|
+
"wechat",
|
|
52
|
+
"memory",
|
|
53
|
+
"workspace"
|
|
54
|
+
]
|
|
55
|
+
}
|