dsh-ebbing-context 0.0.0-stage → 0.2.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/CHANGELOG.md +0 -0
- package/LICENSE +21 -0
- package/README.md +91 -2
- package/client.js +369 -0
- package/dsh.bundle.patch.yml +28 -0
- package/icon.svg +11 -0
- package/index.js +1788 -0
- package/lib/blocks.js +1138 -0
- package/lib/callfold.js +288 -0
- package/lib/compress.js +1015 -0
- package/lib/config.js +195 -0
- package/lib/imageprice.js +96 -0
- package/lib/license.js +63 -0
- package/lib/log.js +135 -0
- package/lib/map.js +311 -0
- package/lib/messages.js +23 -0
- package/lib/state.js +183 -0
- package/lib/tokens.js +100 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +69 -4
package/package.json
CHANGED
|
@@ -1,6 +1,71 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-ebbing-context",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
}
|
|
3
|
+
"version": "0.2.6",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"description": "DSH 原生分层上下文压缩:模型自己把旧对话折成三层摘要,只写宿主本来就认识的会话事件。名字取自「渐渐消退」——模拟记忆的自然衰退,越旧的内容分辨率越低,但不是删掉。",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "index.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./index.js",
|
|
12
|
+
"./locale/*.json": "./locale/*.json",
|
|
13
|
+
"./icon": "./icon.svg",
|
|
14
|
+
"./client": "./client.js"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"index.js",
|
|
18
|
+
"client.js",
|
|
19
|
+
"lib/",
|
|
20
|
+
"dsh.bundle.patch.yml",
|
|
21
|
+
"locale/*.json",
|
|
22
|
+
"icon.svg",
|
|
23
|
+
"README.md",
|
|
24
|
+
"CHANGELOG.md"
|
|
25
|
+
],
|
|
26
|
+
"keywords": [
|
|
27
|
+
"dsh",
|
|
28
|
+
"dsh-plugin",
|
|
29
|
+
"dsh-bundle",
|
|
30
|
+
"cordis",
|
|
31
|
+
"cordis-plugin",
|
|
32
|
+
"context",
|
|
33
|
+
"context-compression",
|
|
34
|
+
"compaction",
|
|
35
|
+
"memory",
|
|
36
|
+
"layered",
|
|
37
|
+
"ebbing",
|
|
38
|
+
"ebbing-context",
|
|
39
|
+
"ebing-context"
|
|
40
|
+
],
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "git+https://github.com/Light-EI/dsh-ebbing-context.git"
|
|
44
|
+
},
|
|
45
|
+
"homepage": "https://github.com/Light-EI/dsh-ebbing-context#readme",
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/Light-EI/dsh-ebbing-context/issues"
|
|
48
|
+
},
|
|
49
|
+
"author": "Light-EI",
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": ">=20"
|
|
52
|
+
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"test": "node test/blocks.test.mjs && node test/compress.test.mjs && node test/compress-e2e.test.mjs && node test/callfold.test.mjs && node test/client.test.mjs && node test/config.test.mjs && node test/map.test.mjs && node test/prestep.test.mjs && node test/usage.test.mjs && node test/scope.test.mjs && node test/imageprice.test.mjs && node test/log.test.mjs && node test/state.test.mjs",
|
|
55
|
+
"check": "node --check index.js && node --check client.js && node --check lib/blocks.js && node --check lib/callfold.js && node --check lib/compress.js && node --check lib/config.js && node --check lib/license.js && node --check lib/log.js && node --check lib/map.js && node --check lib/messages.js && node --check lib/tokens.js && node --check lib/imageprice.js && node --check lib/state.js",
|
|
56
|
+
"pack": "node -e \"require('node:fs').mkdirSync('dist',{recursive:true})\" && npm pack --pack-destination dist",
|
|
57
|
+
"prepublishOnly": "npm run check && npm test"
|
|
58
|
+
},
|
|
59
|
+
"dsh": {
|
|
60
|
+
"bundle": {
|
|
61
|
+
"patch": "./dsh.bundle.patch.yml"
|
|
62
|
+
},
|
|
63
|
+
"client": {
|
|
64
|
+
"platform": "web"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"@deepseek-ai/dsh-llm": ">=0.2.1-rc.3 <0.3"
|
|
69
|
+
},
|
|
70
|
+
"license": "MIT"
|
|
71
|
+
}
|