lume-dsh-plugin 0.4.1 → 0.4.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.
- package/LICENSE +21 -21
- package/README.md +284 -238
- package/assets/personalities/butler-corpus.jsonl +0 -0
- package/assets/personalities/butler.txt +0 -0
- package/assets/personalities/loli-corpus.jsonl +30 -30
- package/assets/personalities/loli.txt +12 -12
- package/assets/personalities/none-corpus.jsonl +0 -0
- package/assets/personalities/none.txt +0 -0
- package/assets/personalities/senpai-corpus.jsonl +30 -30
- package/assets/personalities/senpai.txt +12 -12
- package/assets/personalities/tsundere-corpus.jsonl +0 -0
- package/assets/personalities/tsundere.txt +0 -0
- package/assets/personalities.json +47 -47
- package/cordis.patch.yml +5 -5
- package/lib/client.js +0 -0
- package/lib/core/card.js +0 -0
- package/lib/core/dialogue-mining.js +0 -0
- package/lib/core/leak-detector.js +0 -0
- package/lib/core/manifest.js +0 -0
- package/lib/core/persona-text.js +0 -0
- package/lib/core/retrieval.js +0 -0
- package/lib/core/sampling.js +0 -0
- package/lib/core/text.js +0 -0
- package/lib/host/boundary.js +0 -0
- package/lib/host/compaction.js +219 -0
- package/lib/host/distill.js +12 -12
- package/lib/host/extraction.js +0 -0
- package/lib/host/identity.js +32 -4
- package/lib/host/injection.js +0 -0
- package/lib/host/personalities.js +0 -0
- package/lib/host/protocol.js +81 -0
- package/lib/host/reflection.js +1 -1
- package/lib/host/registry.js +0 -0
- package/lib/host/rpc.js +2 -2
- package/lib/host/session-runtime.js +9 -0
- package/lib/host/store.js +0 -0
- package/lib/host/thinking.js +71 -0
- package/lib/index.js +71 -50
- package/package.json +120 -99
package/package.json
CHANGED
|
@@ -1,99 +1,120 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "lume-dsh-plugin",
|
|
3
|
-
"description": "微光 (Lume) — DSH Desktop 增强插件:Codex 风格自适应任务执行协议 + 人设系统(聊天记录蒸馏具名角色、长期记忆、风格纠偏自动捕获)",
|
|
4
|
-
"version": "0.4.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "lib/index.js",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"default": "./lib/index.js"
|
|
10
|
-
},
|
|
11
|
-
"./client": {
|
|
12
|
-
"default": "./lib/client.js"
|
|
13
|
-
},
|
|
14
|
-
"./package.json": "./package.json"
|
|
15
|
-
},
|
|
16
|
-
"dsh": {
|
|
17
|
-
"bundle": {
|
|
18
|
-
"patch": "./cordis.patch.yml"
|
|
19
|
-
},
|
|
20
|
-
"client": {
|
|
21
|
-
"inject": [
|
|
22
|
-
"@deepseek-ai/dsh-client-connection",
|
|
23
|
-
"@deepseek-ai/dsh-client-locale",
|
|
24
|
-
"@deepseek-ai/dsh-client-runtime",
|
|
25
|
-
"@deepseek-ai/dsh-client-ui-conversation",
|
|
26
|
-
"@deepseek-ai/dsh-client-ui-primitives"
|
|
27
|
-
],
|
|
28
|
-
"external": [
|
|
29
|
-
"react",
|
|
30
|
-
"react/jsx-runtime",
|
|
31
|
-
"@deepseek-ai/dsh-client-ui-primitives"
|
|
32
|
-
],
|
|
33
|
-
"platform": "web",
|
|
34
|
-
"immediately": true
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"license": "MIT",
|
|
38
|
-
"repository": {
|
|
39
|
-
"type": "git",
|
|
40
|
-
"url": "https://github.com/cayan0x/Lume.git"
|
|
41
|
-
},
|
|
42
|
-
"keywords": [
|
|
43
|
-
"dsh-plugin",
|
|
44
|
-
"persona",
|
|
45
|
-
"personality",
|
|
46
|
-
"identity",
|
|
47
|
-
"memory"
|
|
48
|
-
],
|
|
49
|
-
"engines": {
|
|
50
|
-
"node": ">=20"
|
|
51
|
-
},
|
|
52
|
-
"peerDependencies": {
|
|
53
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
54
|
-
"@deepseek-ai/dsh-client-
|
|
55
|
-
"@deepseek-ai/dsh-
|
|
56
|
-
"@deepseek-ai/dsh-
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
58
|
-
"@deepseek-ai/dsh-
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"@deepseek-ai/
|
|
75
|
-
"@deepseek-ai/dsh-
|
|
76
|
-
"@deepseek-ai/dsh-
|
|
77
|
-
"@deepseek-ai/dsh-
|
|
78
|
-
"@deepseek-ai/dsh-
|
|
79
|
-
"@deepseek-ai/dsh-
|
|
80
|
-
"@deepseek-ai/
|
|
81
|
-
"@
|
|
82
|
-
"@
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "lume-dsh-plugin",
|
|
3
|
+
"description": "微光 (Lume) — DSH Desktop 增强插件:Codex 风格自适应任务执行协议 + 人设系统(聊天记录蒸馏具名角色、长期记忆、风格纠偏自动捕获)",
|
|
4
|
+
"version": "0.4.5",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"default": "./lib/index.js"
|
|
10
|
+
},
|
|
11
|
+
"./client": {
|
|
12
|
+
"default": "./lib/client.js"
|
|
13
|
+
},
|
|
14
|
+
"./package.json": "./package.json"
|
|
15
|
+
},
|
|
16
|
+
"dsh": {
|
|
17
|
+
"bundle": {
|
|
18
|
+
"patch": "./cordis.patch.yml"
|
|
19
|
+
},
|
|
20
|
+
"client": {
|
|
21
|
+
"inject": [
|
|
22
|
+
"@deepseek-ai/dsh-client-connection",
|
|
23
|
+
"@deepseek-ai/dsh-client-locale",
|
|
24
|
+
"@deepseek-ai/dsh-client-runtime",
|
|
25
|
+
"@deepseek-ai/dsh-client-ui-conversation",
|
|
26
|
+
"@deepseek-ai/dsh-client-ui-primitives"
|
|
27
|
+
],
|
|
28
|
+
"external": [
|
|
29
|
+
"react",
|
|
30
|
+
"react/jsx-runtime",
|
|
31
|
+
"@deepseek-ai/dsh-client-ui-primitives"
|
|
32
|
+
],
|
|
33
|
+
"platform": "web",
|
|
34
|
+
"immediately": true
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "https://github.com/cayan0x/Lume.git"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"dsh-plugin",
|
|
44
|
+
"persona",
|
|
45
|
+
"personality",
|
|
46
|
+
"identity",
|
|
47
|
+
"memory"
|
|
48
|
+
],
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=20"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-primitives": "*",
|
|
55
|
+
"@deepseek-ai/dsh-llm": "*",
|
|
56
|
+
"@deepseek-ai/dsh-storage-domain": "*",
|
|
57
|
+
"@deepseek-ai/dsh-tools": "*",
|
|
58
|
+
"@deepseek-ai/dsh-compaction": "*",
|
|
59
|
+
"@deepseek-ai/dsh-compaction-basic": "*",
|
|
60
|
+
"@deepseek-ai/schemastery": "^3.18.1"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "tsc -p tsconfig.build.json && tsdown",
|
|
64
|
+
"bundle": "tsdown",
|
|
65
|
+
"watch": "tsdown --watch",
|
|
66
|
+
"test": "vitest run"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
70
|
+
"@deepseek-ai/dsh-agent-default-model": "^0.1.0-rc.6",
|
|
71
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.1-rc.2",
|
|
72
|
+
"@deepseek-ai/dsh-llm": "^0.0.1-rc.1",
|
|
73
|
+
"@deepseek-ai/dsh-scope": "^0.0.1-rc.1",
|
|
74
|
+
"@deepseek-ai/dsh-session": "^0.0.1-rc.1",
|
|
75
|
+
"@deepseek-ai/dsh-storage": "^0.0.1-rc.1",
|
|
76
|
+
"@deepseek-ai/dsh-storage-domain": "^0.0.1-rc.1",
|
|
77
|
+
"@deepseek-ai/dsh-storage-json": "^0.0.1-rc.1",
|
|
78
|
+
"@deepseek-ai/dsh-timeout": "^0.0.1-rc.1",
|
|
79
|
+
"@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
|
|
80
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
81
|
+
"@types/node": "^22.20.1",
|
|
82
|
+
"@types/react": "~18.3.1",
|
|
83
|
+
"tsdown": "^0.22.14",
|
|
84
|
+
"typescript": "^5.9.3",
|
|
85
|
+
"vitest": "^3.2.7"
|
|
86
|
+
},
|
|
87
|
+
"files": [
|
|
88
|
+
"lib",
|
|
89
|
+
"cordis.patch.yml",
|
|
90
|
+
"assets/personalities.json",
|
|
91
|
+
"assets/personalities/*.txt",
|
|
92
|
+
"assets/personalities/*.jsonl"
|
|
93
|
+
],
|
|
94
|
+
"peerDependenciesMeta": {
|
|
95
|
+
"@deepseek-ai/cordis": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"@deepseek-ai/dsh-client-ui-primitives": {
|
|
99
|
+
"optional": true
|
|
100
|
+
},
|
|
101
|
+
"@deepseek-ai/dsh-llm": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
"@deepseek-ai/dsh-storage-domain": {
|
|
105
|
+
"optional": true
|
|
106
|
+
},
|
|
107
|
+
"@deepseek-ai/dsh-tools": {
|
|
108
|
+
"optional": true
|
|
109
|
+
},
|
|
110
|
+
"@deepseek-ai/dsh-compaction": {
|
|
111
|
+
"optional": true
|
|
112
|
+
},
|
|
113
|
+
"@deepseek-ai/dsh-compaction-basic": {
|
|
114
|
+
"optional": true
|
|
115
|
+
},
|
|
116
|
+
"@deepseek-ai/schemastery": {
|
|
117
|
+
"optional": true
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|