dsh-codearts 0.0.0-stage → 0.2.1

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,124 @@
1
1
  {
2
2
  "name": "dsh-codearts",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "displayName": "DSH CodeArts Connect",
4
+ "description": "把华为云 CodeArts 接入 DeepSeek Harness —— 内置 OAuth2 登录(PKCE + DPoP),登录后即可在 DSH 对话窗口使用 CodeArts 的模型。",
5
+ "version": "0.2.1",
6
+ "author": "elegant01",
7
+ "keywords": [
8
+ "dsh-plugin",
9
+ "deepseek-harness",
10
+ "deepseek",
11
+ "codearts",
12
+ "huawei",
13
+ "model-provider"
14
+ ],
15
+ "type": "module",
16
+ "engines": {
17
+ "node": "^22.19.0 || >=24.0.0"
18
+ },
19
+ "main": "lib/index.mjs",
20
+ "types": "lib/index.d.mts",
21
+ "bin": {
22
+ "dsh-codearts": "lib/bin.mjs"
23
+ },
24
+ "scripts": {
25
+ "build": "tsdown && node scripts/wrap-client.mjs",
26
+ "test": "vitest run",
27
+ "typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.client.json",
28
+ "check": "pnpm run typecheck && pnpm run test && pnpm run build",
29
+ "deploy": "node scripts/deploy.mjs",
30
+ "dev": "node scripts/dev.mjs",
31
+ "hmr:on": "node scripts/hmr.mjs on",
32
+ "hmr:off": "node scripts/hmr.mjs off",
33
+ "hmr:status": "node scripts/hmr.mjs status"
34
+ },
35
+ "exports": {
36
+ ".": {
37
+ "types": "./lib/index.d.mts",
38
+ "default": "./lib/index.mjs"
39
+ },
40
+ "./client": {
41
+ "types": "./lib/client/index.d.cts",
42
+ "default": "./lib/client/index.js"
43
+ },
44
+ "./cordis.patch.yml": "./cordis.patch.yml",
45
+ "./package.json": "./package.json"
46
+ },
47
+ "files": [
48
+ "lib",
49
+ "cordis.patch.yml",
50
+ "README.md",
51
+ "README.en.md",
52
+ "INSTALL.md",
53
+ "INSTALL.en.md",
54
+ "DEV.md",
55
+ "LICENSE"
56
+ ],
57
+ "license": "MIT",
58
+ "repository": {
59
+ "type": "git",
60
+ "url": "git+https://github.com/elegant01/dsh-codearts.git"
61
+ },
62
+ "homepage": "https://github.com/elegant01/dsh-codearts#readme",
63
+ "bugs": "https://github.com/elegant01/dsh-codearts/issues",
64
+ "dsh": {
65
+ "bundle": {
66
+ "patch": "./cordis.patch.yml"
67
+ },
68
+ "client": {
69
+ "inject": [
70
+ "@deepseek-ai/dsh-client-ui-renderer",
71
+ "@deepseek-ai/dsh-client-ui-settings-plugins",
72
+ "@deepseek-ai/dsh-client-ui-conversation",
73
+ "@deepseek-ai/dsh-client-ui-session",
74
+ "@deepseek-ai/dsh-api-session-controller",
75
+ "@deepseek-ai/dsh-client-locale"
76
+ ],
77
+ "external": [
78
+ "@deepseek-ai/dsh-client-ui-primitives"
79
+ ],
80
+ "platform": "web"
81
+ }
82
+ },
83
+ "peerDependencies": {
84
+ "@deepseek-ai/cordis": "^4.0.2",
85
+ "@deepseek-ai/dsh-atomic-write": ">=0.1.2-rc.1 <0.2.0",
86
+ "@deepseek-ai/dsh-attachment": ">=0.1.2-rc.1 <0.2.0",
87
+ "@deepseek-ai/dsh-home-paths": ">=0.1.2-rc.1 <0.2.0",
88
+ "@deepseek-ai/dsh-host-webserver": ">=0.1.2-rc.1 <0.2.0",
89
+ "@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.2.0",
90
+ "@deepseek-ai/dsh-llm-pi-ai": ">=0.1.2-rc.1 <0.2.0",
91
+ "@deepseek-ai/dsh-settings": ">=0.1.2-rc.1 <0.2.0",
92
+ "@deepseek-ai/schemastery": "^3.18.2",
93
+ "@earendil-works/pi-ai": ">=0.84.2 <0.86.0",
94
+ "react": "^18.2.0"
95
+ },
96
+ "devDependencies": {
97
+ "@deepseek-ai/cordis": "^4.0.2",
98
+ "@deepseek-ai/dsh-api-session-controller": "^0.1.2-rc.1",
99
+ "@deepseek-ai/dsh-atomic-write": "^0.1.2-rc.1",
100
+ "@deepseek-ai/dsh-attachment": "^0.1.2-rc.1",
101
+ "@deepseek-ai/dsh-client-locale": "^0.1.2-rc.1",
102
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-rc.1",
103
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
104
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-rc.1",
105
+ "@deepseek-ai/dsh-client-ui-session": "^0.1.2-rc.1",
106
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.2.0-rc.2",
107
+ "@deepseek-ai/dsh-client-ui-slots": "^0.2.0-rc.2",
108
+ "@deepseek-ai/dsh-credentials": "^0.1.2-rc.1",
109
+ "@deepseek-ai/dsh-home-paths": "^0.1.2-rc.1",
110
+ "@deepseek-ai/dsh-host-webserver": "^0.1.2-rc.1",
111
+ "@deepseek-ai/dsh-llm": "^0.1.2-rc.1",
112
+ "@deepseek-ai/dsh-llm-pi-ai": "^0.1.2-rc.1",
113
+ "@deepseek-ai/dsh-settings": "^0.1.2-rc.1",
114
+ "@deepseek-ai/schemastery": "^3.18.2",
115
+ "@earendil-works/pi-ai": "^0.84.2",
116
+ "@types/node": "^22.20.4",
117
+ "@types/react": "~18.3.1",
118
+ "lightningcss": "^1.33.0",
119
+ "react": "^18.2.0",
120
+ "tsdown": "^0.22.2",
121
+ "typescript": "^5.9.3",
122
+ "vitest": "^4.1.8"
123
+ }
124
+ }