A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Ship the computer-use providers outside the asar
Fei24112500f588a396
diff --git a/app/electron-builder.yml b/app/electron-builder.ymlindex 3e9535d5..ada265c9 100644--- a/app/electron-builder.yml+++ b/app/electron-builder.yml@@ -19,6 +19,11 @@ asarUnpack:- node_modules/ds-bot/office.js# Automatic unpacking misses versioned Linux libraries such as libvips-cpp.so.8.18.7.- node_modules/@img/sharp*/**+ # The signed "DSH Computer Use" helper and the Cua Driver binaries are programs;+ # inside the asar they would not run, and an ad-hoc re-sign would lose DeepSeek's+ # Developer ID signature (mac.signIgnore below keeps it).+ - node_modules/@deepseek-ai/dsh-experimental-cua-macos/**+ - node_modules/@trycua/cua-driver*/**# The Office payload that scripts/prepare-runtime.mjs writes in beforePack (see package.json's# `runtime` script). build/ is not in `files`, so nothing of it lands inside the asar.extraResources:@@ -58,6 +63,9 @@ mac:target: zip# Ad-hoc signing seals the bundle; no Developer ID or notarization.identity: '-'+ # The DSH helper keeps the signature it was notarized with; the rest is ours to seal.+ signIgnore:+ - 'DSH Computer Use\.app'hardenedRuntime: falseicon: assets/icon.pngcategory: public.app-category.productivitydiff --git a/app/package-lock.json b/app/package-lock.jsonindex 0f34eb82..056f2500 100644--- a/app/package-lock.json+++ b/app/package-lock.json@@ -21,7 +21,11 @@"@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1","@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1","@deepseek-ai/dsh-compaction": "0.2.2-rc.1",+ "@deepseek-ai/dsh-computer-use": "0.2.2-rc.1",+ "@deepseek-ai/dsh-cua": "0.2.2-rc.1","@deepseek-ai/dsh-deepseek-account": "0.2.2-rc.1",+ "@deepseek-ai/dsh-experimental-computer-use-cua-driver-native": "0.2.2-rc.1",+ "@deepseek-ai/dsh-experimental-cua-macos": "0.2.2-rc.1","@deepseek-ai/dsh-experimental-voice-input-bundle": "0.2.2-rc.1","@deepseek-ai/dsh-fs": "0.2.2-rc.1","@deepseek-ai/dsh-hook-protocol": "0.2.2-rc.1",@@ -66,6 +70,9 @@"remark-gfm": "4.0.1","tar": "7.5.22","vite": "8.3.4"+ },+ "optionalDependencies": {+ "@deepseek-ai/dsh-experimental-cua-macos": "0.2.2-rc.1"}},"node_modules/@agentclientprotocol/sdk": {@@ -2374,6 +2381,16 @@"@deepseek-ai/dsh-token-meter": "0.2.2-rc.1"}},+ "node_modules/@deepseek-ai/dsh-computer-use": {+ "version": "0.2.2-rc.1",+ "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-computer-use/-/dsh-computer-use-0.2.2-rc.1.tgz",+ "integrity": "sha512-ZVTNYERefd6Dp0V4gmYs2bse0XvPjhaD2NgFWLhShhdPzBnkGee9Dfd+C+mm+klLmkPWksBd4YUPtDadNS2dfA==",+ "license": "MIT",+ "peerDependencies": {+ "@deepseek-ai/cordis": "~4.1.0",+ "@deepseek-ai/dsh-brand": "0.2.2-rc.1"+ }+ },"node_modules/@deepseek-ai/dsh-config-editor": {"version": "0.2.2-rc.1","resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-config-editor/-/dsh-config-editor-0.2.2-rc.1.tgz",@@ -2496,6 +2513,27 @@"@deepseek-ai/dsh-launch-environment": "0.2.2-rc.1"}},+ "node_modules/@deepseek-ai/dsh-cua": {+ "version": "0.2.2-rc.1",+ "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-cua/-/dsh-cua-0.2.2-rc.1.tgz",+ "integrity": "sha512-hkr4Cxydq1mbfFe8K1vIqEck/BraK5nkMWf/AqmzVgr7lt60vmKjMemTnM9NzJQBGv1gx0GJ2WUaszOl4gb+eg==",+ "license": "MIT",+ "dependencies": {+ "@deepseek-ai/dsh-atomic-write": "0.2.2-rc.1",+ "@deepseek-ai/dsh-computer-use": "0.2.2-rc.1",+ "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.1",+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1",+ "@deepseek-ai/schemastery": "~3.19.0",+ "zod": "^4.4.3"+ },+ "peerDependencies": {+ "@deepseek-ai/cordis": "~4.1.0",+ "@deepseek-ai/dsh-attachment": "0.2.2-rc.1",+ "@deepseek-ai/dsh-ptc-runtime-node": "0.2.2-rc.1",+ "@deepseek-ai/dsh-scope": "0.2.2-rc.1",+ "@deepseek-ai/dsh-user-questions": "0.2.2-rc.1"+ }+ },"node_modules/@deepseek-ai/dsh-deepseek-account": {"version": "0.2.2-rc.1","resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-deepseek-account/-/dsh-deepseek-account-0.2.2-rc.1.tgz",@@ -2730,6 +2768,33 @@"@deepseek-ai/cordis": "~4.1.0"}},+ "node_modules/@deepseek-ai/dsh-experimental-computer-use-cua-driver-native": {+ "version": "0.2.2-rc.1",+ "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-experimental-computer-use-cua-driver-native/-/dsh-experimental-computer-use-cua-driver-native-0.2.2-rc.1.tgz",+ "integrity": "sha512-VYb4rnhc/vhxFIeuAY7XIITeJino6MvGFQT2Sa4PK+PgZv4Yc2N+GlNDmqbp01LKBGkxbutBwaXsRDRQxi75sQ==",+ "license": "MIT",+ "dependencies": {+ "@deepseek-ai/dsh-mcp-client": "0.2.2-rc.1",+ "@deepseek-ai/schemastery": "~3.19.0",+ "@trycua/cua-driver": "0.28.0",+ "zod": "4.4.3"+ },+ "peerDependencies": {+ "@deepseek-ai/cordis": "~4.1.0",+ "@deepseek-ai/dsh-computer-use": "0.2.2-rc.1",+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1"+ }+ },+ "node_modules/@deepseek-ai/dsh-experimental-computer-use-cua-driver-native/node_modules/zod": {+ "version": "4.4.3",+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",+ "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/colinhacks"+ }+ },"node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle": {"version": "0.2.2-rc.1","resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-experimental-cot-translation-bundle/-/dsh-experimental-cot-translation-bundle-0.2.2-rc.1.tgz",@@ -2743,6 +2808,31 @@"@deepseek-ai/cordis": "~4.1.0"}},+ "node_modules/@deepseek-ai/dsh-experimental-cua-macos": {+ "version": "0.2.2-rc.1",+ "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-experimental-cua-macos/-/dsh-experimental-cua-macos-0.2.2-rc.1.tgz",+ "integrity": "sha512-Fp6v5/MR7oNZciPbsS7hz7+Cu+6VNS31QY48cNMXcgkDR6aAH6Yi4z9Gm2brDEmwDS303H9NjdOBf/SaIQb3ng==",+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "dependencies": {+ "@deepseek-ai/dsh-atomic-write": "0.2.2-rc.1",+ "@deepseek-ai/dsh-cua": "0.2.2-rc.1",+ "@deepseek-ai/schemastery": "~3.19.0",+ "zod": "^4.4.3"+ },+ "peerDependencies": {+ "@deepseek-ai/cordis": "~4.1.0",+ "@deepseek-ai/dsh-agent": "0.2.2-rc.1",+ "@deepseek-ai/dsh-computer-use": "0.2.2-rc.1",+ "@deepseek-ai/dsh-subprocess": "0.2.2-rc.1",+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1",+ "@deepseek-ai/dsh-user-questions": "0.2.2-rc.1"+ }+ },"node_modules/@deepseek-ai/dsh-experimental-forge": {"version": "0.2.2-rc.1","resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-experimental-forge/-/dsh-experimental-forge-0.2.2-rc.1.tgz",@@ -6709,28 +6799,6 @@}}},- "node_modules/@earendil-works/pi-ai/node_modules/ws": {- "version": "8.22.1",- "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.1.tgz",- "integrity": "sha512-oyL6OPYme/CmiFvNuGzeoxCJ4nOrZE2O1FwM9MWM1AsGri6nLXB2pg+lNA8aLeXMSav0J6eIVS1j6vUPzUtK9g==",- "extraneous": true,- "license": "MIT",- "engines": {- "node": ">=10.0.0"- },- "peerDependencies": {- "bufferutil": "^4.0.1",- "utf-8-validate": ">=5.0.2"- },- "peerDependenciesMeta": {- "bufferutil": {- "optional": true- },- "utf-8-validate": {- "optional": true- }- }- },"node_modules/@earendil-works/pi-schema": {"version": "1.5.0","resolved": "https://registry.npmjs.org/@earendil-works/pi-schema/-/pi-schema-1.5.0.tgz",@@ -9359,6 +9427,108 @@"node": ">=10"}},+ "node_modules/@trycua/cua-driver": {+ "version": "0.28.0",+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver/-/cua-driver-0.28.0.tgz",+ "integrity": "sha512-n3ArFsQ9RzNQIiYpHJEjTGLIPPpnqXDJRp0sevRcrRThAG3H2Fh/gWooEb9k4ba3rNSAohUoPiG/EbdKLF1WRw==",+ "license": "MIT",+ "dependencies": {+ "@ubjs/core": "0.31.0-3",+ "@ubjs/node": "0.31.0-3"+ },+ "optionalDependencies": {+ "@trycua/cua-driver-darwin-arm64": "0.28.0",+ "@trycua/cua-driver-darwin-x64": "0.28.0",+ "@trycua/cua-driver-linux-arm64-gnu": "0.28.0",+ "@trycua/cua-driver-linux-x64-gnu": "0.28.0",+ "@trycua/cua-driver-win32-arm64-msvc": "0.28.0",+ "@trycua/cua-driver-win32-x64-msvc": "0.28.0"+ }+ },+ "node_modules/@trycua/cua-driver-darwin-arm64": {+ "version": "0.28.0",+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-darwin-arm64/-/cua-driver-darwin-arm64-0.28.0.tgz",+ "integrity": "sha512-T6xvOlCph5uropetrH6tNTvg5ipN9FUzV1n28gNJ1LYoNT3fsqnQUpCRMavlAui/zYkyMqCMaBUqBcfZLA+SnA==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT AND MPL-2.0",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@trycua/cua-driver-darwin-x64": {+ "version": "0.28.0",+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-darwin-x64/-/cua-driver-darwin-x64-0.28.0.tgz",+ "integrity": "sha512-8lBtyiTfMOGmEklNY4GHu5SedfxYbg43FjLpPUmKLSVF98+opyQ1bsyI7A7VlfUBW4hdwEBDLtzZnpZqepN9ZA==",+ "cpu": [+ "x64"+ ],+ "license": "MIT AND MPL-2.0",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@trycua/cua-driver-linux-arm64-gnu": {+ "version": "0.28.0",+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-linux-arm64-gnu/-/cua-driver-linux-arm64-gnu-0.28.0.tgz",+ "integrity": "sha512-/sDRM2vUQUA5FY3y3VAOxe0I5U1UHfhDUY3EfvGhASrHteefMVh+Wo8teebcto5TgVjiw4P41YdoTFBFWR3w4g==",+ "cpu": [+ "arm64"+ ],+ "libc": [+ "glibc"+ ],+ "license": "MIT AND MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@trycua/cua-driver-linux-x64-gnu": {+ "version": "0.28.0",+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-linux-x64-gnu/-/cua-driver-linux-x64-gnu-0.28.0.tgz",+ "integrity": "sha512-2rEldOcNy+CT7re2pnIEfMW1c4wCoaLqhv8hoqBRK5gHn3UJTJPaxvo35tKSuIJAAQ/GMawCHCl9WvjY+W2ysw==",+ "cpu": [+ "x64"+ ],+ "libc": [+ "glibc"+ ],+ "license": "MIT AND MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@trycua/cua-driver-win32-arm64-msvc": {+ "version": "0.28.0",+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-win32-arm64-msvc/-/cua-driver-win32-arm64-msvc-0.28.0.tgz",+ "integrity": "sha512-7cbX5v7xyCdGK3KuwPbMKlIuIUjKkKFuGgdPsCl7qZHLv+PQC5f7FrDFl8hFG3YNKvjoyan5ufus0AoTCcmp5w==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT AND MPL-2.0",+ "optional": true,+ "os": [+ "win32"+ ]+ },+ "node_modules/@trycua/cua-driver-win32-x64-msvc": {+ "version": "0.28.0",+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-win32-x64-msvc/-/cua-driver-win32-x64-msvc-0.28.0.tgz",+ "integrity": "sha512-tTWcGIGUCZ/k+mbcdh/4VmehsELp12M/tUj59XQSW97lFwrMSSIUypZ84LAEO+CEBdK9NQBRKO2pMBTH6aakEQ==",+ "cpu": [+ "x64"+ ],+ "license": "MIT AND MPL-2.0",+ "optional": true,+ "os": [+ "win32"+ ]+ },"node_modules/@types/cacheable-request": {"version": "6.0.3","resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.3.tgz",@@ -9506,6 +9676,144 @@"@types/node": "*"}},+ "node_modules/@ubjs/core": {+ "version": "0.31.0-3",+ "resolved": "https://registry.npmjs.org/@ubjs/core/-/core-0.31.0-3.tgz",+ "integrity": "sha512-39XrJgUZ2VVb561sSnkXPhczNoeBsNiSRArecsV0JE7CJq69ajFkcn9/tBAUS2NpgHkLIDU+z6Ks2+1wXnboxg==",+ "license": "MPL-2.0"+ },+ "node_modules/@ubjs/node": {+ "version": "0.31.0-3",+ "resolved": "https://registry.npmjs.org/@ubjs/node/-/node-0.31.0-3.tgz",+ "integrity": "sha512-qNMpi2LICNwxGXZyRF8fSDBSpbezyZbEsydrbiMPJOmtOWr4tmZIEl7jkWGHVGShoBvHfFo4eHp5B4UVP928Cg==",+ "license": "MPL-2.0",+ "optionalDependencies": {+ "@ubjs/node-darwin-arm64": "0.31.0-3",+ "@ubjs/node-darwin-x64": "0.31.0-3",+ "@ubjs/node-linux-arm64-gnu": "0.31.0-3",+ "@ubjs/node-linux-arm64-musl": "0.31.0-3",+ "@ubjs/node-linux-x64-gnu": "0.31.0-3",+ "@ubjs/node-linux-x64-musl": "0.31.0-3",+ "@ubjs/node-win32-arm64-msvc": "0.31.0-3",+ "@ubjs/node-win32-x64-msvc": "0.31.0-3"+ }+ },+ "node_modules/@ubjs/node-darwin-arm64": {+ "version": "0.31.0-3",+ "resolved": "https://registry.npmjs.org/@ubjs/node-darwin-arm64/-/node-darwin-arm64-0.31.0-3.tgz",+ "integrity": "sha512-GGQVPLkVo4Gc8qVLW4IGvS8bjl8eHXyeP4a97ntGmsAdXwE5gsS29o8xUEFROjhwHKD+9sgVeblCSWVG3CpHsw==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@ubjs/node-darwin-x64": {+ "version": "0.31.0-3",+ "resolved": "https://registry.npmjs.org/@ubjs/node-darwin-x64/-/node-darwin-x64-0.31.0-3.tgz",+ "integrity": "sha512-2sc47u4XFYOsbmP5EW+Gx8m/yGrYnfFDFQm6+kz7goSWTNg84eEiz3COs9HKJDVuNJ5Khv5XipTO8CFadMLXCw==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@ubjs/node-linux-arm64-gnu": {+ "version": "0.31.0-3",+ "resolved": "https://registry.npmjs.org/@ubjs/node-linux-arm64-gnu/-/node-linux-arm64-gnu-0.31.0-3.tgz",+ "integrity": "sha512-YStVXhYz/5jvlWf/p4fhiVT72unYAbGugifFC9QmO/+hnroQDAQ5t8SARbsc15G4olMcamdIB+GETiUB7gmaYg==",+ "cpu": [+ "arm64"+ ],+ "libc": [+ "glibc"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@ubjs/node-linux-arm64-musl": {+ "version": "0.31.0-3",+ "resolved": "https://registry.npmjs.org/@ubjs/node-linux-arm64-musl/-/node-linux-arm64-musl-0.31.0-3.tgz",+ "integrity": "sha512-Izp4nvfy/LmibzFowAztkoDOksCR2fb2zl6fh1ojR1HEsg0rAGruxtI8d3fn8DI0lBXwqmn6SF///oD4mFNJPQ==",+ "cpu": [+ "arm64"+ ],+ "libc": [+ "musl"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@ubjs/node-linux-x64-gnu": {+ "version": "0.31.0-3",+ "resolved": "https://registry.npmjs.org/@ubjs/node-linux-x64-gnu/-/node-linux-x64-gnu-0.31.0-3.tgz",+ "integrity": "sha512-Xdm21blyg5U/kW6s7OMvgrr8coGTkUlt26DVR9x8gKISif+E3YwdEskbFScWqystAiJnfjw7xHEc8UMu0Qlz7Q==",+ "cpu": [+ "x64"+ ],+ "libc": [+ "glibc"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@ubjs/node-linux-x64-musl": {+ "version": "0.31.0-3",+ "resolved": "https://registry.npmjs.org/@ubjs/node-linux-x64-musl/-/node-linux-x64-musl-0.31.0-3.tgz",+ "integrity": "sha512-fFQ9BWS6i2LUH9SJgD9oEiKXXo/say59vHy7usFe1t7C2xvwvP34f5SuxXmWP9R8fHyA0aC4kIZ+TTwyHSv1Kw==",+ "cpu": [+ "x64"+ ],+ "libc": [+ "musl"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@ubjs/node-win32-arm64-msvc": {+ "version": "0.31.0-3",+ "resolved": "https://registry.npmjs.org/@ubjs/node-win32-arm64-msvc/-/node-win32-arm64-msvc-0.31.0-3.tgz",+ "integrity": "sha512-ID6rSz1NmPsWTNBBNAw4OnJ5Dj8pcbtNJtdPB3OxcGigLBd/e0x7buhSI7os6Mo5iYtEdCynBRQHFJwub5XSPg==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "win32"+ ]+ },+ "node_modules/@ubjs/node-win32-x64-msvc": {+ "version": "0.31.0-3",+ "resolved": "https://registry.npmjs.org/@ubjs/node-win32-x64-msvc/-/node-win32-x64-msvc-0.31.0-3.tgz",+ "integrity": "sha512-wevs+Y+szwcCUT8IJFbB4/1nfxyRv/51l8oG7FGUPWD1xLPyuHfJBG27C+PDeC7KRzes/2n6aLo4DGZbr/LYTw==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "win32"+ ]+ },"node_modules/@ungap/structured-clone": {"version": "1.4.0","resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz",diff --git a/app/package.json b/app/package.jsonindex 853374a8..27b03d36 100644--- a/app/package.json+++ b/app/package.json@@ -35,7 +35,10 @@"@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1","@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1","@deepseek-ai/dsh-compaction": "0.2.2-rc.1",+ "@deepseek-ai/dsh-computer-use": "0.2.2-rc.1",+ "@deepseek-ai/dsh-cua": "0.2.2-rc.1","@deepseek-ai/dsh-deepseek-account": "0.2.2-rc.1",+ "@deepseek-ai/dsh-experimental-computer-use-cua-driver-native": "0.2.2-rc.1","@deepseek-ai/dsh-experimental-voice-input-bundle": "0.2.2-rc.1","@deepseek-ai/dsh-fs": "0.2.2-rc.1","@deepseek-ai/dsh-hook-protocol": "0.2.2-rc.1",@@ -86,5 +89,8 @@"@deepseek-ai/dsh-llm": "0.2.2-rc.1","@deepseek-ai/dsh-tools": "0.2.2-rc.1","@deepseek-ai/dsh-web": "0.2.2-rc.1"+ },+ "optionalDependencies": {+ "@deepseek-ai/dsh-experimental-cua-macos": "0.2.2-rc.1"}}