dsh-unitverse 0.1.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/CHANGELOG.en.md +29 -0
- package/CHANGELOG.md +29 -0
- package/LICENSE +21 -0
- package/README.en.md +217 -0
- package/README.md +217 -0
- package/cordis.patch.yml +5 -0
- package/lib/chunk-KLTLDDLU.js +300 -0
- package/lib/client.d.ts +10 -0
- package/lib/client.js +896 -0
- package/lib/convert-D6txqQbW.d.cts +186 -0
- package/lib/convert-D6txqQbW.d.ts +186 -0
- package/lib/convert.cjs +307 -0
- package/lib/convert.d.cts +1 -0
- package/lib/convert.d.ts +1 -0
- package/lib/convert.js +18 -0
- package/lib/index.cjs +408 -0
- package/lib/index.d.cts +22 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.js +101 -0
- package/package.json +121 -0
package/package.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-unitverse",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "DSH plugin: universal unit conversion across length, area, volume, time, angle, speed, temperature, pressure, energy and power, with Chinese/English aliases. 单位换算 DSH 插件(长度/面积/体积/时间/角度/速度/温度/压力/热量/功率,支持中英文单位名)。",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"dsh",
|
|
7
|
+
"deepseek-harness",
|
|
8
|
+
"plugin",
|
|
9
|
+
"unitverse",
|
|
10
|
+
"units",
|
|
11
|
+
"convert",
|
|
12
|
+
"单位换算"
|
|
13
|
+
],
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"author": "runcat-tommy",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/runcat-tommy/dsh-unitverse.git"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/runcat-tommy/dsh-unitverse",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/runcat-tommy/dsh-unitverse/issues"
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "./lib/index.js",
|
|
26
|
+
"module": "./lib/index.js",
|
|
27
|
+
"types": "./lib/index.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./lib/index.d.ts",
|
|
31
|
+
"import": "./lib/index.js",
|
|
32
|
+
"require": "./lib/index.cjs"
|
|
33
|
+
},
|
|
34
|
+
"./convert": {
|
|
35
|
+
"types": "./lib/convert.d.ts",
|
|
36
|
+
"import": "./lib/convert.js",
|
|
37
|
+
"require": "./lib/convert.cjs"
|
|
38
|
+
},
|
|
39
|
+
"./client": {
|
|
40
|
+
"types": "./lib/client.d.ts",
|
|
41
|
+
"default": "./lib/client.js"
|
|
42
|
+
},
|
|
43
|
+
"./package.json": "./package.json"
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"lib",
|
|
47
|
+
"cordis.patch.yml",
|
|
48
|
+
"README.md",
|
|
49
|
+
"README.en.md",
|
|
50
|
+
"CHANGELOG.md",
|
|
51
|
+
"CHANGELOG.en.md",
|
|
52
|
+
"LICENSE"
|
|
53
|
+
],
|
|
54
|
+
"engines": {
|
|
55
|
+
"node": ">=18"
|
|
56
|
+
},
|
|
57
|
+
"dsh": {
|
|
58
|
+
"bundle": {
|
|
59
|
+
"patch": "./cordis.patch.yml"
|
|
60
|
+
},
|
|
61
|
+
"client": {
|
|
62
|
+
"platform": "web",
|
|
63
|
+
"inject": [
|
|
64
|
+
"@deepseek-ai/dsh-client-runtime",
|
|
65
|
+
"@deepseek-ai/dsh-client-locale",
|
|
66
|
+
"@deepseek-ai/dsh-client-ui-slots",
|
|
67
|
+
"@deepseek-ai/dsh-client-ui-conversation"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"@deepseek-ai/cordis": "*",
|
|
73
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
|
|
74
|
+
"@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
|
|
75
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.0-rc.6",
|
|
76
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
|
|
77
|
+
"@deepseek-ai/dsh-tools": "*",
|
|
78
|
+
"react": "^18.2.0",
|
|
79
|
+
"react-dom": "^18.2.0"
|
|
80
|
+
},
|
|
81
|
+
"scripts": {
|
|
82
|
+
"build": "tsup && node scripts/build-client.mjs",
|
|
83
|
+
"build:client": "node scripts/build-client.mjs",
|
|
84
|
+
"test": "vitest run",
|
|
85
|
+
"test:watch": "vitest",
|
|
86
|
+
"typecheck": "tsc --noEmit",
|
|
87
|
+
"prepublishOnly": "npm run build && npm test"
|
|
88
|
+
},
|
|
89
|
+
"devDependencies": {
|
|
90
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
91
|
+
"@deepseek-ai/dsh-agent": "^0.1.0-rc.6",
|
|
92
|
+
"@deepseek-ai/dsh-attachment": "^0.1.0-rc.6",
|
|
93
|
+
"@deepseek-ai/dsh-brand": "^0.1.0-rc.6",
|
|
94
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
|
|
95
|
+
"@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
|
|
96
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.0-rc.6",
|
|
97
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6",
|
|
98
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
|
|
99
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
|
|
100
|
+
"@deepseek-ai/dsh-code-runtime": "^0.1.0-rc.6",
|
|
101
|
+
"@deepseek-ai/dsh-compaction": "^0.1.0-rc.6",
|
|
102
|
+
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
|
|
103
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
|
|
104
|
+
"@deepseek-ai/dsh-scope": "^0.1.0-rc.6",
|
|
105
|
+
"@deepseek-ai/dsh-session": "^0.1.0-rc.6",
|
|
106
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.6",
|
|
107
|
+
"@deepseek-ai/dsh-timeout": "^0.1.0-rc.6",
|
|
108
|
+
"@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
|
|
109
|
+
"@deepseek-ai/dsh-user-approval": "^0.1.0-rc.6",
|
|
110
|
+
"@types/node": "^26.5.0",
|
|
111
|
+
"@types/react": "~18.3.1",
|
|
112
|
+
"@types/react-dom": "~18.3.0",
|
|
113
|
+
"esbuild": "^0.28.2",
|
|
114
|
+
"react": "^18.3.1",
|
|
115
|
+
"react-dom": "^18.3.1",
|
|
116
|
+
"tsup": "^8.5.1",
|
|
117
|
+
"typescript": "^5.9.3",
|
|
118
|
+
"vite": "^6.4.3",
|
|
119
|
+
"vitest": "^5.0.0"
|
|
120
|
+
}
|
|
121
|
+
}
|