dsh-more 0.1.0 → 0.1.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.
Files changed (35) hide show
  1. package/CONTRIBUTING.md +13 -0
  2. package/README.md +26 -7
  3. package/README.zh-CN.md +40 -7
  4. package/cordis.patch.yml +2 -0
  5. package/dist/client.js +876 -303
  6. package/dist/fast-mode.js +34 -0
  7. package/dist/index.js +324 -35
  8. package/dist/types/generated/host-settings-schema.d.ts +21 -17
  9. package/dist/types/generated/patch-catalog.d.ts +16 -0
  10. package/dist/types/kernel/client/activation.d.ts +2 -2
  11. package/dist/types/kernel/host/activation.d.ts +1 -0
  12. package/dist/types/kernel/host/patch.d.ts +2 -0
  13. package/dist/types/kernel/host/settings.d.ts +7 -3
  14. package/dist/types/patches/fast-mode/client/index.d.ts +19 -0
  15. package/dist/types/patches/fast-mode/client/styles.d.ts +1 -0
  16. package/dist/types/patches/fast-mode/host/index.d.ts +26 -0
  17. package/dist/types/patches/fast-mode/host/settings.d.ts +6 -0
  18. package/dist/types/patches/fast-mode/shared.d.ts +17 -0
  19. package/dist/types/patches/model-capabilities/client/index.d.ts +1 -1
  20. package/dist/types/patches/projectless-tasks/client/adapter.d.ts +2 -3
  21. package/dist/types/patches/projectless-tasks/client/create-task.d.ts +2 -2
  22. package/dist/types/patches/projectless-tasks/client/groups.d.ts +2 -2
  23. package/dist/types/patches/projectless-tasks/client/new-session.d.ts +2 -1
  24. package/dist/types/patches/terminal-clipboard/client/clipboard.d.ts +5 -0
  25. package/dist/types/patches/terminal-clipboard/client/index.d.ts +2 -0
  26. package/dist/types/patches/terminal-clipboard/client/terminal.d.ts +17 -0
  27. package/dist/types/patches/terminal-clipboard/host/index.d.ts +2 -0
  28. package/dist/types/patches/terminal-clipboard/shared.d.ts +1 -0
  29. package/dist/types/platform/dsh/client/runtime.d.ts +20 -2
  30. package/dist/types/platform/dsh/client/session-menu.d.ts +10 -0
  31. package/dist/types/platform/dsh/client/settings.d.ts +15 -1
  32. package/dist/types/platform/dsh/identity.d.ts +1 -1
  33. package/docs/desktop-compatibility.md +158 -0
  34. package/dsh.plugin.json +2 -2
  35. package/package.json +72 -61
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-more",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Practical patches for missing DeepSeek Harness Web context and history controls.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -41,7 +41,11 @@
41
41
  "types": "./dist/types/patches/projectless-tasks/host/settings.d.ts",
42
42
  "default": "./dist/session-groups.js"
43
43
  },
44
- "./package.json": "./package.json"
44
+ "./package.json": "./package.json",
45
+ "./fast-mode": {
46
+ "types": "./dist/types/patches/fast-mode/host/settings.d.ts",
47
+ "default": "./dist/fast-mode.js"
48
+ }
45
49
  },
46
50
  "files": [
47
51
  "dist",
@@ -51,6 +55,7 @@
51
55
  "README.zh-CN.md",
52
56
  "CONTRIBUTING.md",
53
57
  "docs/assets",
58
+ "docs/desktop-compatibility.md",
54
59
  "LICENSE"
55
60
  ],
56
61
  "dsh": {
@@ -80,7 +85,10 @@
80
85
  "build": "node build.mjs",
81
86
  "typecheck": "npm run generate && tsc --noEmit",
82
87
  "test": "npm run generate && vitest run",
83
- "check": "npm run validate:package && npm run peers:check && npm run typecheck && npm run test && npm run build",
88
+ "test:scripts": "node --test scripts/platform-regression.mjs",
89
+ "test:runtime": "npm run build && node scripts/check-desktop-runtime.mjs --sdk",
90
+ "test:desktop": "npm run build && node scripts/check-desktop-runtime.mjs",
91
+ "check": "npm run validate:package && npm run peers:check && npm run typecheck && npm run test:scripts && npm run test && npm run build",
84
92
  "package": "npm pack",
85
93
  "package:check": "npm pack --dry-run",
86
94
  "release": "node scripts/release.mjs",
@@ -92,59 +100,58 @@
92
100
  "prepack": "npm run check"
93
101
  },
94
102
  "peerDependencies": {
95
- "@deepseek-ai/cordis": "^4.0.2",
96
- "@deepseek-ai/dsh-agent": "^0.1.5-rc.2",
97
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.5-rc.2",
98
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-rc.2",
99
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.5-rc.2",
100
- "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.5-rc.2",
101
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.5-rc.2",
102
- "@deepseek-ai/dsh-compaction": "^0.1.5-rc.2",
103
- "@deepseek-ai/dsh-agent-presets": "^0.1.5-rc.2",
104
- "@deepseek-ai/dsh-host-webserver": "^0.1.5-rc.2",
105
- "@deepseek-ai/dsh-llm": "^0.1.5-rc.2",
106
- "@deepseek-ai/dsh-session": "^0.1.5-rc.2",
107
- "@deepseek-ai/dsh-session-persistence": "^0.1.5-rc.2",
108
- "@deepseek-ai/dsh-session-projection": "^0.1.5-rc.2",
109
- "@deepseek-ai/dsh-settings": "^0.1.5-rc.2",
110
- "@deepseek-ai/dsh-system-prompt": "^0.1.5-rc.2",
111
- "@deepseek-ai/dsh-workspace": "^0.1.5-rc.2",
112
- "@deepseek-ai/dsh-web-app": "^0.1.5-rc.2",
113
- "@deepseek-ai/schemastery": "^3.18.2",
103
+ "@deepseek-ai/cordis": "^4.0.2 || ^4.0.5-alpha.2",
104
+ "@deepseek-ai/dsh-agent": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
105
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
106
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
107
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
108
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
109
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
110
+ "@deepseek-ai/dsh-compaction": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
111
+ "@deepseek-ai/dsh-host-webserver": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
112
+ "@deepseek-ai/dsh-llm": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
113
+ "@deepseek-ai/dsh-session": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
114
+ "@deepseek-ai/dsh-session-persistence": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
115
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
116
+ "@deepseek-ai/dsh-settings": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
117
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
118
+ "@deepseek-ai/dsh-workspace": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
119
+ "@deepseek-ai/dsh-web-app": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
120
+ "@deepseek-ai/schemastery": "^3.18.2 || ^3.18.5-alpha.2",
114
121
  "react": "^18.2.0",
115
122
  "react-dom": "^18.2.0",
116
123
  "zod": "^4.4.3",
117
- "@deepseek-ai/dsh-api-session-controller": "^0.1.5-rc.2",
118
- "@deepseek-ai/dsh-api-workspace-controller": "^0.1.5-rc.2",
119
- "@deepseek-ai/dsh-client-ui-chat": "^0.1.5-rc.2",
120
- "@deepseek-ai/dsh-client-ui-session": "^0.1.5-rc.2",
121
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-rc.2",
122
- "@deepseek-ai/dsh-client-store": "^0.1.5-rc.2",
123
- "@deepseek-ai/dsh-llm-retry": "^0.1.5-rc.2",
124
- "@deepseek-ai/dsh-session-title": "^0.1.5-rc.2",
125
- "@deepseek-ai/dsh-client-ui-layout": "^0.1.5-rc.2"
124
+ "@deepseek-ai/dsh-api-session-controller": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
125
+ "@deepseek-ai/dsh-api-workspace-controller": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
126
+ "@deepseek-ai/dsh-client-ui-chat": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
127
+ "@deepseek-ai/dsh-client-ui-session": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
128
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
129
+ "@deepseek-ai/dsh-client-store": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
130
+ "@deepseek-ai/dsh-llm-retry": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
131
+ "@deepseek-ai/dsh-session-title": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5",
132
+ "@deepseek-ai/dsh-client-ui-layout": "^0.1.5-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.5"
126
133
  },
127
134
  "devDependencies": {
128
- "@deepseek-ai/cordis": "^4.0.2",
129
- "@deepseek-ai/dsh-agent": "^0.1.5-rc.2",
130
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.5-rc.2",
131
- "@deepseek-ai/dsh-client-ui-layout": "^0.1.5-rc.2",
132
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-rc.2",
133
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.5-rc.2",
134
- "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.5-rc.2",
135
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.5-rc.2",
136
- "@deepseek-ai/dsh-compaction": "^0.1.5-rc.2",
137
- "@deepseek-ai/dsh-agent-presets": "^0.1.5-rc.2",
138
- "@deepseek-ai/dsh-host-webserver": "^0.1.5-rc.2",
139
- "@deepseek-ai/dsh-llm": "^0.1.5-rc.2",
140
- "@deepseek-ai/dsh-session": "^0.1.5-rc.2",
141
- "@deepseek-ai/dsh-session-persistence": "^0.1.5-rc.2",
142
- "@deepseek-ai/dsh-session-projection": "^0.1.5-rc.2",
143
- "@deepseek-ai/dsh-settings": "^0.1.5-rc.2",
144
- "@deepseek-ai/dsh-system-prompt": "^0.1.5-rc.2",
145
- "@deepseek-ai/dsh-workspace": "^0.1.5-rc.2",
146
- "@deepseek-ai/dsh-web-app": "^0.1.5-rc.2",
147
- "@deepseek-ai/schemastery": "^3.18.2",
135
+ "@deepseek-ai/dsh": "0.2.1-rc.2",
136
+ "@deepseek-ai/cordis": "4.0.5",
137
+ "@deepseek-ai/dsh-agent": "0.2.1-rc.2",
138
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.2",
139
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.1-rc.2",
140
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.2",
141
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.2",
142
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "0.2.1-rc.2",
143
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.2",
144
+ "@deepseek-ai/dsh-compaction": "0.2.1-rc.2",
145
+ "@deepseek-ai/dsh-host-webserver": "0.2.1-rc.2",
146
+ "@deepseek-ai/dsh-llm": "0.2.1-rc.2",
147
+ "@deepseek-ai/dsh-session": "0.2.1-rc.2",
148
+ "@deepseek-ai/dsh-session-persistence": "0.2.1-rc.2",
149
+ "@deepseek-ai/dsh-session-projection": "0.2.1-rc.2",
150
+ "@deepseek-ai/dsh-settings": "0.2.1-rc.2",
151
+ "@deepseek-ai/dsh-system-prompt": "0.2.1-rc.2",
152
+ "@deepseek-ai/dsh-workspace": "0.2.1-rc.2",
153
+ "@deepseek-ai/dsh-web-app": "0.2.1-rc.2",
154
+ "@deepseek-ai/schemastery": "3.18.5",
148
155
  "@types/node": "^24.0.0",
149
156
  "@types/react": "^18.3.0",
150
157
  "@types/react-dom": "^18.3.0",
@@ -153,16 +160,20 @@
153
160
  "react-dom": "^18.3.1",
154
161
  "typescript": "^5.9.2",
155
162
  "vitest": "^4.0.0",
156
- "zod": "^4.4.3",
157
- "@deepseek-ai/dsh-api-session-controller": "^0.1.5-rc.2",
158
- "@deepseek-ai/dsh-api-workspace-controller": "^0.1.5-rc.2",
159
- "@deepseek-ai/dsh-client-ui-chat": "^0.1.5-rc.2",
160
- "@deepseek-ai/dsh-client-ui-session": "^0.1.5-rc.2",
161
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-rc.2",
162
- "@deepseek-ai/dsh-client-store": "^0.1.5-rc.2",
163
- "@deepseek-ai/dsh-llm-retry": "^0.1.5-rc.2",
163
+ "zod": "4.4.3",
164
+ "@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.2",
165
+ "@deepseek-ai/dsh-api-workspace-controller": "0.2.1-rc.2",
166
+ "@deepseek-ai/dsh-client-ui-chat": "0.2.1-rc.2",
167
+ "@deepseek-ai/dsh-client-ui-session": "0.2.1-rc.2",
168
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.2",
169
+ "@deepseek-ai/dsh-client-store": "0.2.1-rc.2",
170
+ "@deepseek-ai/dsh-llm-retry": "0.2.1-rc.2",
164
171
  "happy-dom": "^20.14.0",
165
- "@deepseek-ai/dsh-session-title": "^0.1.5-rc.2",
166
- "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.5-rc.2"
172
+ "@deepseek-ai/dsh-session-title": "0.2.1-rc.2",
173
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-rc.2",
174
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.1-rc.2",
175
+ "@deepseek-ai/cordis-plugin-include": "1.0.10",
176
+ "@deepseek-ai/cordis-plugin-loader": "1.0.6",
177
+ "@deepseek-ai/cordis-plugin-group": "1.0.5"
167
178
  }
168
179
  }