mirror of
https://gh-proxy.org/https://github.com/klinsmaya/workdsh.git
synced 2026-11-10 02:17:22 +08:00
313 lines
12 KiB
JSON
313 lines
12 KiB
JSON
{
|
|
"name": "dsh-plugin-desktop",
|
|
"version": "2.0.1",
|
|
"description": "DSH Desktop: an Electron shell composed as a DeepSeek Harness Cordis plugin",
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/anywhere-labs/deepseek-harness-desktop.git",
|
|
"directory": "dsh-plugin-desktop"
|
|
},
|
|
"type": "module",
|
|
"main": "lib/main.js",
|
|
"types": "lib/types/index.d.ts",
|
|
"bin": {
|
|
"dsh-desktop": "lib/bin.js",
|
|
"dsh-plugin-desktop": "lib/bin.js"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/types/index.d.ts",
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./profile": {
|
|
"types": "./lib/types/profile.d.ts",
|
|
"default": "./lib/profile.js"
|
|
},
|
|
"./client": {
|
|
"types": "./lib/types/client/index.d.ts",
|
|
"default": "./lib/client.js"
|
|
},
|
|
"./windows-pwsh-sandbox": {
|
|
"types": "./lib/types/windows-pwsh-sandbox.d.ts",
|
|
"default": "./lib/windows-pwsh-sandbox.js"
|
|
},
|
|
"./terminal": {
|
|
"types": "./lib/types/terminal.d.ts",
|
|
"default": "./lib/terminal.js"
|
|
},
|
|
"./pnpm": {
|
|
"types": "./lib/types/pnpm.d.ts",
|
|
"default": "./lib/pnpm.js"
|
|
},
|
|
"./profile-service": {
|
|
"types": "./lib/types/profile-service.d.ts",
|
|
"default": "./lib/profile-service.js"
|
|
},
|
|
"./profiles": {
|
|
"types": "./lib/types/profiles.d.ts",
|
|
"default": "./lib/profiles.js"
|
|
},
|
|
"./diagnostics": {
|
|
"types": "./lib/types/diagnostics.d.ts",
|
|
"default": "./lib/diagnostics.js"
|
|
},
|
|
"./updates": {
|
|
"types": "./lib/types/updates.d.ts",
|
|
"default": "./lib/updates.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"build/app-icon.png",
|
|
"build/app-icon-mac.png",
|
|
"build/tray-icon.svg",
|
|
"build/tray-icon*.png",
|
|
"cordis.patch.yml",
|
|
"docs/**",
|
|
"lib/**/*.js",
|
|
"lib/**/*.map",
|
|
"lib/types/**/*.d.ts",
|
|
"README.md",
|
|
"README.zh.md",
|
|
"README.i18n.yaml",
|
|
"THIRD_PARTY_NOTICES.md"
|
|
],
|
|
"engines": {
|
|
"node": "^22.19.0 || >=24.0.0"
|
|
},
|
|
"dsh": {
|
|
"client": {
|
|
"inject": [
|
|
"@deepseek-ai/dsh-client-runtime",
|
|
"@deepseek-ai/dsh-client-ui-theme"
|
|
],
|
|
"platform": "web"
|
|
},
|
|
"bundle": {
|
|
"patch": "./cordis.patch.yml"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "node scripts/generate-mac-app-icon.mjs && node scripts/generate-tray-icons.mjs && node scripts/clean.mjs && tsdown && tsc -p tsconfig.json --emitDeclarationOnly && tsc -p tsconfig.client.json --emitDeclarationOnly",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit && tsc -p tsconfig.tests.json --noEmit && tsc -p tsconfig.tests.client.json --noEmit",
|
|
"test": "vitest run",
|
|
"verify:closure": "node --test scripts/runtime-closure.spec.mjs && node scripts/verify-runtime-closure.mjs",
|
|
"verify:cli": "node scripts/verify-cli-runtime.mjs",
|
|
"verify:loader": "node scripts/verify-loader-boot.mjs",
|
|
"verify:profile": "node scripts/verify-profile-boot.mjs",
|
|
"verify:licenses": "node scripts/verify-licenses.mjs",
|
|
"verify:notices": "node scripts/verify-licenses.mjs --notices THIRD_PARTY_NOTICES.md",
|
|
"check": "yarn run build && yarn run typecheck && yarn run test && yarn run verify:closure && yarn run verify:cli && yarn run verify:loader && yarn run verify:profile && yarn run verify:licenses",
|
|
"check:win-package": "yarn run build && yarn run typecheck && vitest run tests/package.spec.ts tests/package-win.spec.ts tests/update-checker.spec.ts tests/update-download.spec.ts tests/verify-win-installer.spec.ts tests/verify-packaged-runtime.spec.ts tests/windows-pwsh-sandbox.spec.ts tests/windows-volume-diagnostics.spec.ts tests/window-options.spec.ts && yarn run verify:closure",
|
|
"check:mac-package": "yarn run -T check",
|
|
"start": "node lib/bin.js",
|
|
"dev": "yarn run build && node lib/bin.js",
|
|
"package:dir": "yarn run build && node scripts/package-dir.mjs",
|
|
"dist:mac": "node scripts/release-mac.ts",
|
|
"dist:mac-smoke": "node scripts/package-mac.ts",
|
|
"dist:win": "node scripts/package-win.ts",
|
|
"prepack": "yarn run check"
|
|
},
|
|
"dependencies": {
|
|
"@deepseek-ai/cordis": "4.0.1",
|
|
"@deepseek-ai/cordis-plugin-group": "1.0.1",
|
|
"@deepseek-ai/cordis-plugin-include": "1.0.6",
|
|
"@deepseek-ai/cordis-plugin-loader": "1.0.2",
|
|
"@deepseek-ai/cordis-plugin-timer": "1.1.3",
|
|
"@deepseek-ai/dsh": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-agent": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-agent-default-model": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-agent-presets": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-anonymous-user-id": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-api-gateway": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-api-remotes": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-app-boot": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-atomic-write": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-attachment": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-base": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-bash-local": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-brand": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-connection": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-locale": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-modules": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-runtime": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-schema-form": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-attachment": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-commands": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-conversation": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-directory-picker-browse": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-directory-picker-native": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-input-trigger": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-layout": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-primitives": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-sidebar": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-theme": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-tool": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-ui-workspace": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-client-web-react": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-cmdline": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-code-runtime": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-command-feedback": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-commands": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-compaction": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-cordis-client-runner": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-cordis-host-runner": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-credentials": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-fs": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-fs-local": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-goal": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-home-paths": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-host-directory-picker-browse": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-host-directory-picker-native": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-host-plugin-inventory": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-host-webserver": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-invariants": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-jobs": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-launch-environment": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-llm": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-llm-retry": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-message-feedback": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-output-retention": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-permission-presets": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-plan-mode": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-pwsh-local": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-pwsh-sandbox": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-sandbox": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-sandbox-policy": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-sandbox-windows-acl": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-scope": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-session": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-session-persistence": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-session-projection": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-session-query": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-session-stats": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-session-telemetry": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-session-title": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-session-title-llm": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-settings": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-settings-file": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-shell": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-shell-env": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-skill": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-spill": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-storage": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-storage-domain": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-subagent": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-subagent-in-process-driver": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-subprocess": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-system-prompt": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-terminal": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-timeout": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-token-meter": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-tool-workflow": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-tools": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-typert-protocol": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-typert-registry": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-user-approval": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-user-questions": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-web": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-web-app": "0.1.0-rc.7",
|
|
"@deepseek-ai/dsh-workflow": "0.1.0-rc.7",
|
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
"adm-zip": "^0.6.0",
|
|
"dsh-community-market": "0.1.0-dev.0",
|
|
"koffi": "3.1.5",
|
|
"node-addon-require-builtin": "^0.1.4",
|
|
"pnpm": "11.7.0",
|
|
"react": "18.3.1",
|
|
"yaml": "^2.9.0"
|
|
},
|
|
"peerDependencies": {
|
|
"electron": "43.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/asar": "3.4.1",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^22.20.0",
|
|
"@types/react": "^18",
|
|
"electron": "43.4.0",
|
|
"electron-builder": "26.15.3",
|
|
"sharp": "0.35.3",
|
|
"tsdown": "0.22.2",
|
|
"typescript": "6.0.3",
|
|
"vitest": "4.1.8"
|
|
},
|
|
"build": {
|
|
"appId": "ai.deepseek.dsh.desktop",
|
|
"productName": "DSH Desktop",
|
|
"asar": true,
|
|
"asarUnpack": [
|
|
"package.json",
|
|
"cordis.patch.yml",
|
|
"build/**",
|
|
"lib/**",
|
|
"node_modules/**"
|
|
],
|
|
"afterPack": "./scripts/verify-packaged-runtime.ts",
|
|
"electronFuses": {
|
|
"runAsNode": true
|
|
},
|
|
"directories": {
|
|
"output": "dist",
|
|
"buildResources": "build"
|
|
},
|
|
"files": [
|
|
"build/app-icon.png",
|
|
"build/app-icon-mac.png",
|
|
"build/tray-icon.svg",
|
|
"build/tray-icon*.png",
|
|
"cordis.patch.yml",
|
|
"lib/**",
|
|
"package.json",
|
|
"!node_modules/node-pty/build/**"
|
|
],
|
|
"mac": {
|
|
"target": [
|
|
"dir"
|
|
],
|
|
"category": "public.app-category.developer-tools",
|
|
"hardenedRuntime": true,
|
|
"icon": "build/app-icon-mac.png",
|
|
"mergeASARs": false,
|
|
"notarize": true,
|
|
"x64ArchFiles": "**/node_modules/{node-pty/prebuilds/darwin-*/**,node-addon-require-builtin-darwin-*/**,@vscode/ripgrep-darwin-*/**,@img/sharp-darwin-*/**,@img/sharp-libvips-darwin-*/**,@koromix/koffi-darwin-*/**}"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "build/app-icon.png"
|
|
},
|
|
"nsis": {
|
|
"license": "THIRD_PARTY_NOTICES.md",
|
|
"oneClick": false,
|
|
"perMachine": false,
|
|
"allowElevation": true,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"differentialPackage": false,
|
|
"shortcutName": "DSH Desktop",
|
|
"useZip": true,
|
|
"artifactName": "DSH-Desktop-${version}-${arch}-Setup.${ext}"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"dir"
|
|
],
|
|
"icon": "build/app-icon.png"
|
|
}
|
|
}
|
|
}
|