Files

111 lines
3.4 KiB
JSON

{
"name": "@linxin666/dsh-ssh",
"description": "Remote SSH operations for the dsh web GUI: host config store (~/.dsh/dsh-ssh.json, import from ~/.ssh/config), a persistent ssh2 connection pool with jump-host support, exec / PTY web terminal / SFTP transfer / local port-forward tunnels / cluster execution, plus agent tools (ssh_list, ssh_exec, ssh_upload, ssh_download, ssh_tunnel, ssh_cluster). Hot-pluggable — mounted via ~/.dsh/cordis.patch.yml + a profile node_modules symlink, no dsh source changes.",
"version": "0.4.3",
"icon": "icon.svg",
"type": "module",
"packageManager": "pnpm@11.7.0",
"engines": {
"node": "^22.19.0 || >=24.0.0"
},
"main": "lib/index.js",
"types": "lib/types/index.d.ts",
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"default": "./lib/index.js"
},
"./invariant": {
"types": "./lib/types/invariant.d.ts",
"default": "./lib/invariant.js"
},
"./client": {
"types": "./lib/types/client/index.d.ts",
"default": "./lib/client.js"
},
"./src/*": "./src/*",
"./package.json": "./package.json"
},
"dsh": {
"engines": {
"dsh": ">=0.1.7-rc.2"
},
"bundle": {
"patch": "./cordis.patch.yml"
},
"client": {
"inject": [
"@deepseek-ai/dsh-client-locale",
"@deepseek-ai/dsh-client-ui-renderer",
"@deepseek-ai/dsh-client-ui-settings",
"@deepseek-ai/dsh-client-ui-layout"
],
"platform": "web"
}
},
"scripts": {
"build": "tsc -p tsconfig.build.json && tsdown",
"bundle": "tsdown",
"watch": "tsdown --watch",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"@deepseek-ai/schemastery": "^3.18.4",
"@xterm/addon-fit": "^0.11.0",
"@xterm/xterm": "^6.0.0",
"ssh2": "^1.17.0",
"ws": "^8.18.0"
},
"peerDependencies": {
"@deepseek-ai/dsh": ">=0.1.7-rc.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@deepseek-ai/cordis": "^4.0.4",
"@deepseek-ai/dsh-client-connection": "^0.1.7-rc.2",
"@deepseek-ai/dsh-client-locale": "^0.1.7-rc.2",
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.7-rc.2",
"@deepseek-ai/dsh-client-ui-layout": "^0.1.7-rc.2",
"@deepseek-ai/dsh-client-ui-settings": "^0.1.7-rc.2",
"@deepseek-ai/dsh-client-ui-sidebar": "^0.1.7-rc.2",
"@deepseek-ai/dsh-client-ui-slots": "^0.1.7-rc.2",
"@deepseek-ai/dsh-host-webserver": "^0.1.7-rc.2",
"@deepseek-ai/dsh-llm": "^0.1.7-rc.2",
"@deepseek-ai/dsh-scope": "^0.1.7-rc.2",
"@deepseek-ai/dsh-settings": "^0.1.7-rc.2",
"@deepseek-ai/dsh-system-prompt": "^0.1.7-rc.2",
"@deepseek-ai/dsh-timeout": "^0.1.7-rc.2",
"@deepseek-ai/dsh-tools": "^0.1.7-rc.2",
"@types/node": "^22.20.0",
"@types/react": "~18.3.1",
"@types/react-dom": "^18.3.5",
"@types/ssh2": "^1.15.5",
"@types/ws": "^8.5.13",
"@vitest/coverage-v8": "^4.1.11",
"jsdom": "^25.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsdown": "0.22.2",
"typescript": "~5.7.2",
"vitest": "^4.1.11"
},
"files": [
"lib/**/*.js",
"lib/**/*.js.map",
"lib/**/*.d.ts",
"lib/**/*.d.ts.map",
"src",
"cordis.patch.yml",
"README.md",
"icon.svg"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/zhu1090093659/dsh-web.git"
}
}