dsh-context 0.22.0 → 0.22.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,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-context",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "description": "A DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.",
5
5
  "author": "bowenliang123",
6
6
  "repository": {
@@ -13,8 +13,12 @@
13
13
  },
14
14
  "type": "module",
15
15
  "main": "lib/index.js",
16
+ "types": "lib/index.d.ts",
16
17
  "exports": {
17
- ".": "./lib/index.js",
18
+ ".": {
19
+ "types": "./lib/index.d.ts",
20
+ "default": "./lib/index.js"
21
+ },
18
22
  "./client": "./lib/client.js",
19
23
  "./package.json": "./package.json"
20
24
  },
@@ -25,14 +29,15 @@
25
29
  "LICENSE"
26
30
  ],
27
31
  "scripts": {
28
- "build": "tsup",
29
- "watch": "tsup --watch",
32
+ "build": "tsdown",
33
+ "lint": "oxlint",
34
+ "lint:fix": "oxlint --fix",
35
+ "watch": "tsdown --watch",
30
36
  "register": "bash scripts/register.sh",
31
37
  "typecheck": "tsc --noEmit",
32
- "test": "npm run typecheck && node tests/host.test.mjs && node tests/client.test.mjs",
38
+ "test": "npm run typecheck && vitest run",
33
39
  "release": "bash scripts/publish.sh",
34
40
  "hooks": "bash scripts/install-hooks.sh",
35
- "repro": "node tests/repro-real-react.mjs",
36
41
  "social-preview": "node docs/social-preview/generate.mjs"
37
42
  },
38
43
  "dsh": {
@@ -59,7 +64,6 @@
59
64
  "ui"
60
65
  ],
61
66
  "license": "Apache-2.0",
62
- "dependencies": {},
63
67
  "peerDependencies": {
64
68
  "@deepseek-ai/cordis": "^4.0.1",
65
69
  "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.7",
@@ -73,9 +77,6 @@
73
77
  },
74
78
  "react": {
75
79
  "optional": true
76
- },
77
- "zod": {
78
- "optional": true
79
80
  }
80
81
  },
81
82
  "devDependencies": {
@@ -83,13 +84,19 @@
83
84
  "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.7",
84
85
  "@deepseek-ai/dsh-session": "^0.1.0-rc.7",
85
86
  "@deepseek-ai/dsh-session-projection": "^0.1.0-rc.7",
87
+ "@stylistic/eslint-plugin": "^5.10.0",
86
88
  "@types/react": "^18.3.31",
89
+ "eslint-plugin-sonarjs": "^4.2.0",
87
90
  "jsdom": "^30.0.1",
91
+ "lightningcss": "^1.33.0",
92
+ "oxlint": "1.76.0",
93
+ "oxlint-tsgolint": "7.0.2001",
88
94
  "playwright-core": "^1.62.1",
89
95
  "react": "^18.3.1",
90
96
  "react-dom": "^18.3.1",
91
- "tsup": "^8.5.1",
92
- "typescript": "^7.0.2"
97
+ "tsdown": "^0.22.14",
98
+ "typescript": "^7.0.2",
99
+ "vitest": "^4.1.11"
93
100
  },
94
101
  "packageManager": "pnpm@11.9.0"
95
102
  }