dsh-flash-mem-mon 0.1.5 → 0.2.0
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 +39 -38
- package/README.zh-CN.md +38 -38
- package/cordis.patch.yml +11 -11
- package/dist/index.js +440 -116
- package/dist/pure.js +119 -0
- package/lib/client.js +2595 -2071
- package/package.json +23 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-flash-mem-mon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Memory monitor provider for the `dsh-flash` Quick Control panel — registers a host-memory-alert provider (RSS absolute, RSS growth rate, Major GC frequency) via ctx.get('dockFlashAlerts') and exposes /memory-trend for trend sparklines.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -10,41 +10,50 @@
|
|
|
10
10
|
"./client": "./lib/client.js",
|
|
11
11
|
"./package.json": "./package.json"
|
|
12
12
|
},
|
|
13
|
-
"files": [
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"lib",
|
|
16
|
+
"cordis.patch.yml",
|
|
17
|
+
"README.md",
|
|
18
|
+
"README.zh-CN.md"
|
|
19
|
+
],
|
|
14
20
|
"repository": {
|
|
15
21
|
"type": "git",
|
|
16
22
|
"url": "git+https://github.com/tcgbp/dsh-flash-mem-mon.git"
|
|
17
23
|
},
|
|
18
24
|
"homepage": "https://github.com/tcgbp/dsh-flash-mem-mon#readme",
|
|
19
25
|
"dsh": {
|
|
20
|
-
"bundle": {
|
|
26
|
+
"bundle": {
|
|
27
|
+
"patch": "./cordis.patch.yml"
|
|
28
|
+
},
|
|
21
29
|
"client": {
|
|
22
30
|
"inject": [
|
|
23
31
|
"@deepseek-ai/dsh-client-runtime",
|
|
32
|
+
"@deepseek-ai/dsh-client-locale",
|
|
24
33
|
"@deepseek-ai/dsh-api-remotes",
|
|
25
|
-
"dsh-flash"
|
|
26
|
-
"dock-base"
|
|
34
|
+
"dsh-flash"
|
|
27
35
|
],
|
|
28
36
|
"platform": "web"
|
|
29
37
|
}
|
|
30
38
|
},
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@deepseek-ai/schemastery": "^3.18.4"
|
|
34
41
|
},
|
|
35
|
-
"dependencies": { "@deepseek-ai/schemastery": "^3.18.4" },
|
|
36
42
|
"peerDependencies": {
|
|
37
43
|
"@deepseek-ai/cordis": ">=4.0.0-rc.1 <5.0.0-0 || >=4.0.1-0 <5.0.0-0",
|
|
38
|
-
"
|
|
44
|
+
"@deepseek-ai/dsh-host-webserver": ">=0.1.0-0",
|
|
39
45
|
"dsh-flash": ">=1.0.0-0 <2.0.0-0"
|
|
40
46
|
},
|
|
41
|
-
"peerDependenciesMeta": {
|
|
42
|
-
"dock-base": { "optional": true }
|
|
43
|
-
},
|
|
44
47
|
"devDependencies": {
|
|
45
48
|
"@deepseek-ai/cordis": "^4.0.4",
|
|
46
49
|
"@deepseek-ai/dsh-settings": "0.1.7-rc.2",
|
|
47
50
|
"@types/node": "^22.10.0",
|
|
48
51
|
"typescript": "^5.6.0"
|
|
52
|
+
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"build": "tsc -p tsconfig.json",
|
|
55
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
56
|
+
"test": "node --test test/*.test.ts",
|
|
57
|
+
"lint": "node --check lib/client.js && node --check test/pure.test.ts"
|
|
49
58
|
}
|
|
50
|
-
}
|
|
59
|
+
}
|