dsh-agent-enhancer 0.3.13 → 0.3.15

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 (46) hide show
  1. package/README.en.md +5 -5
  2. package/README.md +5 -5
  3. package/lib/client/browser-agent/overlay.d.ts.map +1 -1
  4. package/lib/client/browser-agent/tab.d.ts.map +1 -1
  5. package/lib/client/dsh/settings-features.d.ts +3 -1
  6. package/lib/client/dsh/settings-features.d.ts.map +1 -1
  7. package/lib/client/dsh/settings.d.ts.map +1 -1
  8. package/lib/client/locales.d.ts +43 -1
  9. package/lib/client/locales.d.ts.map +1 -1
  10. package/lib/client/remote.d.ts +4 -1
  11. package/lib/client/remote.d.ts.map +1 -1
  12. package/lib/client.js +228 -27
  13. package/lib/client.js.map +1 -1
  14. package/lib/config.d.ts +14 -0
  15. package/lib/config.d.ts.map +1 -1
  16. package/lib/host/browser-agent/capture.d.ts +59 -0
  17. package/lib/host/browser-agent/capture.d.ts.map +1 -0
  18. package/lib/host/browser-agent/diagnose.d.ts +38 -0
  19. package/lib/host/browser-agent/diagnose.d.ts.map +1 -0
  20. package/lib/host/browser-agent/driver.d.ts +40 -0
  21. package/lib/host/browser-agent/driver.d.ts.map +1 -1
  22. package/lib/host/browser-agent/human-gate.d.ts +8 -0
  23. package/lib/host/browser-agent/human-gate.d.ts.map +1 -1
  24. package/lib/host/browser-agent/install.d.ts +19 -1
  25. package/lib/host/browser-agent/install.d.ts.map +1 -1
  26. package/lib/host/browser-agent/playwright-driver.d.ts +56 -5
  27. package/lib/host/browser-agent/playwright-driver.d.ts.map +1 -1
  28. package/lib/host/browser-agent/playwright-snapshot.d.ts +20 -2
  29. package/lib/host/browser-agent/playwright-snapshot.d.ts.map +1 -1
  30. package/lib/host/browser-agent/protocol.d.ts +17 -0
  31. package/lib/host/browser-agent/protocol.d.ts.map +1 -1
  32. package/lib/host/browser-agent/session-state.d.ts +24 -9
  33. package/lib/host/browser-agent/session-state.d.ts.map +1 -1
  34. package/lib/host/browser-agent/tab-registry.d.ts +32 -0
  35. package/lib/host/browser-agent/tab-registry.d.ts.map +1 -0
  36. package/lib/host/browser-agent/tab-scope.d.ts +22 -0
  37. package/lib/host/browser-agent/tab-scope.d.ts.map +1 -0
  38. package/lib/host/browser-agent/tools.d.ts +8 -0
  39. package/lib/host/browser-agent/tools.d.ts.map +1 -1
  40. package/lib/host/index.d.ts +10 -1
  41. package/lib/host/index.d.ts.map +1 -1
  42. package/lib/host/rpc.d.ts +331 -0
  43. package/lib/host/rpc.d.ts.map +1 -1
  44. package/lib/index.js +1030 -118
  45. package/lib/index.js.map +4 -4
  46. package/package.json +69 -70
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-agent-enhancer",
3
- "version": "0.3.13",
3
+ "version": "0.3.15",
4
4
  "author": "rebornace",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -58,51 +58,41 @@
58
58
  "node": "^22.19.0 || >=24.9.0",
59
59
  "dsh": ">=0.2.2-rc.2 <0.3.0-0"
60
60
  },
61
- "scripts": {
62
- "build": "node esbuild.config.mjs",
63
- "typecheck": "tsc --noEmit",
64
- "test": "vitest run",
65
- "check": "pnpm typecheck && pnpm test && pnpm build && node scripts/verify-package.mjs",
66
- "verify": "node scripts/verify-package.mjs",
67
- "desktop:link": "node scripts/desktop-install.mjs link",
68
- "desktop:npm": "node scripts/desktop-install.mjs npm"
69
- },
70
- "packageManager": "pnpm@11.28.5",
71
61
  "devDependencies": {
72
62
  "@deepseek-ai/cordis": "4.1.0",
73
63
  "@deepseek-ai/cordis-plugin-include": "1.1.0",
74
64
  "@deepseek-ai/cordis-plugin-loader": "1.1.0",
75
- "@deepseek-ai/dsh-agent-default-model": "0.2.2-rc.2",
76
- "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.2",
77
- "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.2",
78
- "@deepseek-ai/dsh-client-locale": "0.2.2-rc.2",
79
- "@deepseek-ai/dsh-client-store": "0.2.2-rc.2",
80
- "@deepseek-ai/dsh-client-ui-chat": "0.2.2-rc.2",
81
- "@deepseek-ai/dsh-client-ui-context-menu": "0.2.2-rc.2",
82
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.2",
83
- "@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.2",
84
- "@deepseek-ai/dsh-client-ui-model-selection": "0.2.2-rc.2",
85
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.2",
86
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.2",
87
- "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.2",
88
- "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.2",
89
- "@deepseek-ai/dsh-client-ui-settings-models": "0.2.2-rc.2",
90
- "@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.2-rc.2",
91
- "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.2",
92
- "@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.2",
93
- "@deepseek-ai/dsh-compaction": "0.2.2-rc.2",
94
- "@deepseek-ai/dsh-credentials": "0.2.2-rc.2",
95
- "@deepseek-ai/dsh-fs": "0.2.2-rc.2",
96
- "@deepseek-ai/dsh-llm": "0.2.2-rc.2",
97
- "@deepseek-ai/dsh-session": "0.2.2-rc.2",
98
- "@deepseek-ai/dsh-session-projection": "0.2.2-rc.2",
99
- "@deepseek-ai/dsh-token-meter": "0.2.2-rc.2",
100
- "@deepseek-ai/dsh-tool-web": "0.2.2-rc.2",
101
- "@deepseek-ai/dsh-tools": "0.2.2-rc.2",
102
- "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.2",
103
- "@deepseek-ai/dsh-typert-registry": "0.2.2-rc.2",
104
- "@deepseek-ai/dsh-util-code-language": "0.2.2-rc.2",
105
- "@deepseek-ai/dsh-web": "0.2.2-rc.2",
65
+ "@deepseek-ai/dsh-agent-default-model": "0.2.2-rc.5",
66
+ "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.5",
67
+ "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.5",
68
+ "@deepseek-ai/dsh-client-locale": "0.2.2-rc.5",
69
+ "@deepseek-ai/dsh-client-store": "0.2.2-rc.5",
70
+ "@deepseek-ai/dsh-client-ui-chat": "0.2.2-rc.5",
71
+ "@deepseek-ai/dsh-client-ui-context-menu": "0.2.2-rc.5",
72
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.5",
73
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.5",
74
+ "@deepseek-ai/dsh-client-ui-model-selection": "0.2.2-rc.5",
75
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.5",
76
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.5",
77
+ "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.5",
78
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.5",
79
+ "@deepseek-ai/dsh-client-ui-settings-models": "0.2.2-rc.5",
80
+ "@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.2-rc.5",
81
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.5",
82
+ "@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.5",
83
+ "@deepseek-ai/dsh-compaction": "0.2.2-rc.5",
84
+ "@deepseek-ai/dsh-credentials": "0.2.2-rc.5",
85
+ "@deepseek-ai/dsh-fs": "0.2.2-rc.5",
86
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.5",
87
+ "@deepseek-ai/dsh-session": "0.2.2-rc.5",
88
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.5",
89
+ "@deepseek-ai/dsh-token-meter": "0.2.2-rc.5",
90
+ "@deepseek-ai/dsh-tool-web": "0.2.2-rc.5",
91
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.5",
92
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.5",
93
+ "@deepseek-ai/dsh-typert-registry": "0.2.2-rc.5",
94
+ "@deepseek-ai/dsh-util-code-language": "0.2.2-rc.5",
95
+ "@deepseek-ai/dsh-web": "0.2.2-rc.5",
106
96
  "@playwright/test": "^1.64.1",
107
97
  "@shikijs/langs": "^4.4.3",
108
98
  "@tanstack/react-virtual": "3.14.10",
@@ -147,33 +137,33 @@
147
137
  },
148
138
  "peerDependencies": {
149
139
  "@deepseek-ai/cordis": "4.1.0",
150
- "@deepseek-ai/dsh-agent-default-model": "0.2.2-rc.2",
151
- "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.2",
152
- "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.2",
153
- "@deepseek-ai/dsh-client-locale": "0.2.2-rc.2",
154
- "@deepseek-ai/dsh-client-ui-chat": "0.2.2-rc.2",
155
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.2",
156
- "@deepseek-ai/dsh-client-ui-model-selection": "0.2.2-rc.2",
157
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.2",
158
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.2",
159
- "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.2",
160
- "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.2",
161
- "@deepseek-ai/dsh-client-ui-settings-models": "0.2.2-rc.2",
162
- "@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.2-rc.2",
163
- "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.2",
164
- "@deepseek-ai/dsh-compaction": "0.2.2-rc.2",
165
- "@deepseek-ai/dsh-credentials": "0.2.2-rc.2",
166
- "@deepseek-ai/dsh-fs": "0.2.2-rc.2",
167
- "@deepseek-ai/dsh-llm": "0.2.2-rc.2",
168
- "@deepseek-ai/dsh-mcp-client": "0.2.2-rc.2",
169
- "@deepseek-ai/dsh-session": "0.2.2-rc.2",
170
- "@deepseek-ai/dsh-session-projection": "0.2.2-rc.2",
171
- "@deepseek-ai/dsh-token-meter": "0.2.2-rc.2",
172
- "@deepseek-ai/dsh-tools": "0.2.2-rc.2",
173
- "@deepseek-ai/dsh-tool-web": "0.2.2-rc.2",
174
- "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.2",
175
- "@deepseek-ai/dsh-typert-registry": "0.2.2-rc.2",
176
- "@deepseek-ai/dsh-web": "0.2.2-rc.2",
140
+ "@deepseek-ai/dsh-agent-default-model": ">=0.2.2-rc.2 <0.3.0-0",
141
+ "@deepseek-ai/dsh-api-remotes": ">=0.2.2-rc.2 <0.3.0-0",
142
+ "@deepseek-ai/dsh-api-session-controller": ">=0.2.2-rc.2 <0.3.0-0",
143
+ "@deepseek-ai/dsh-client-locale": ">=0.2.2-rc.2 <0.3.0-0",
144
+ "@deepseek-ai/dsh-client-ui-chat": ">=0.2.2-rc.2 <0.3.0-0",
145
+ "@deepseek-ai/dsh-client-ui-conversation": ">=0.2.2-rc.2 <0.3.0-0",
146
+ "@deepseek-ai/dsh-client-ui-model-selection": ">=0.2.2-rc.2 <0.3.0-0",
147
+ "@deepseek-ai/dsh-client-ui-primitives": ">=0.2.2-rc.2 <0.3.0-0",
148
+ "@deepseek-ai/dsh-client-ui-renderer": ">=0.2.2-rc.2 <0.3.0-0",
149
+ "@deepseek-ai/dsh-client-ui-session": ">=0.2.2-rc.2 <0.3.0-0",
150
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.2.2-rc.2 <0.3.0-0",
151
+ "@deepseek-ai/dsh-client-ui-settings-models": ">=0.2.2-rc.2 <0.3.0-0",
152
+ "@deepseek-ai/dsh-client-ui-sidebar-right": ">=0.2.2-rc.2 <0.3.0-0",
153
+ "@deepseek-ai/dsh-client-ui-slots": ">=0.2.2-rc.2 <0.3.0-0",
154
+ "@deepseek-ai/dsh-compaction": ">=0.2.2-rc.2 <0.3.0-0",
155
+ "@deepseek-ai/dsh-credentials": ">=0.2.2-rc.2 <0.3.0-0",
156
+ "@deepseek-ai/dsh-fs": ">=0.2.2-rc.2 <0.3.0-0",
157
+ "@deepseek-ai/dsh-llm": ">=0.2.2-rc.2 <0.3.0-0",
158
+ "@deepseek-ai/dsh-mcp-client": ">=0.2.2-rc.2 <0.3.0-0",
159
+ "@deepseek-ai/dsh-session": ">=0.2.2-rc.2 <0.3.0-0",
160
+ "@deepseek-ai/dsh-session-projection": ">=0.2.2-rc.2 <0.3.0-0",
161
+ "@deepseek-ai/dsh-token-meter": ">=0.2.2-rc.2 <0.3.0-0",
162
+ "@deepseek-ai/dsh-tools": ">=0.2.2-rc.2 <0.3.0-0",
163
+ "@deepseek-ai/dsh-tool-web": ">=0.2.2-rc.2 <0.3.0-0",
164
+ "@deepseek-ai/dsh-typert-protocol": ">=0.2.2-rc.2 <0.3.0-0",
165
+ "@deepseek-ai/dsh-typert-registry": ">=0.2.2-rc.2 <0.3.0-0",
166
+ "@deepseek-ai/dsh-web": ">=0.2.2-rc.2 <0.3.0-0",
177
167
  "react": "18.3.1",
178
168
  "react-dom": "18.3.1"
179
169
  },
@@ -190,5 +180,14 @@
190
180
  "@deepseek-ai/dsh-mcp-client": {
191
181
  "optional": true
192
182
  }
183
+ },
184
+ "scripts": {
185
+ "build": "node esbuild.config.mjs",
186
+ "typecheck": "tsc --noEmit",
187
+ "test": "vitest run",
188
+ "check": "pnpm typecheck && pnpm test && pnpm build && node scripts/verify-package.mjs",
189
+ "verify": "node scripts/verify-package.mjs",
190
+ "desktop:link": "node scripts/desktop-install.mjs link",
191
+ "desktop:npm": "node scripts/desktop-install.mjs npm"
193
192
  }
194
- }
193
+ }