dsh-plugin-usage 0.1.4 → 0.2.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-plugin-usage",
3
3
  "description": "Token usage statistics for DeepSeek Harness — daily/custom-range views, model filters, call counts and cost, inspired by CC Switch statistics.",
4
- "version": "0.1.4",
4
+ "version": "0.2.2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,7 +21,9 @@
21
21
  },
22
22
  "files": [
23
23
  "lib",
24
- "cordis.patch.yml"
24
+ "cordis.patch.yml",
25
+ "image.png",
26
+ "image-1.png"
25
27
  ],
26
28
  "keywords": [
27
29
  "dsh",
@@ -32,32 +34,40 @@
32
34
  "statistics",
33
35
  "cost"
34
36
  ],
37
+ "engines": {
38
+ "node": ">=22",
39
+ "dsh": ">=0.2.0-rc.2 <0.3.0"
40
+ },
35
41
  "dsh": {
42
+ "manifestVersion": 1,
36
43
  "bundle": {
37
44
  "patch": "./cordis.patch.yml"
38
45
  },
39
46
  "client": {
40
47
  "inject": [
41
48
  "@deepseek-ai/dsh-client-runtime",
42
- "@deepseek-ai/dsh-client-ui-sidebar",
43
- "@deepseek-ai/dsh-client-ui-settings"
49
+ "@deepseek-ai/dsh-client-ui-settings",
50
+ "@deepseek-ai/dsh-client-locale"
44
51
  ],
45
52
  "platform": "web"
46
53
  }
47
54
  },
55
+ "dependencies": {
56
+ "@deepseek-ai/schemastery": "~3.18.5"
57
+ },
48
58
  "peerDependencies": {
49
- "@deepseek-ai/cordis": "^4.0.1",
50
- "react": "^18.2.0"
59
+ "@deepseek-ai/cordis": "~4.0.5"
51
60
  },
52
61
  "devDependencies": {
53
- "@deepseek-ai/cordis": "^4.0.1",
62
+ "@deepseek-ai/cordis": "~4.0.5",
54
63
  "@types/react": "~18.3.1",
55
64
  "react": "^18.2.0",
56
65
  "typescript": "^5.5.0"
57
66
  },
58
67
  "scripts": {
59
68
  "build": "tsc -p tsconfig.json && node scripts/build-client.js",
69
+ "test": "node --test tests/*.test.js",
60
70
  "watch": "tsc -p tsconfig.json --watch",
61
- "prepublishOnly": "npm run build"
71
+ "prepublishOnly": "npm run build && npm test"
62
72
  }
63
73
  }