package.json
Rama main · réplica de lectura del repositorio original.
{
"name": "dsh-web-tools",
"version": "0.3.9",
"description": "Multi-provider Web Search & Fetch for DeepSeek Harness — 9 deeply adapted providers, SearchHints, resilient fallback, and native X / Xiaohongshu retrieval",
"icon": "assets/logo-icon.png",
"author": "A3Boy",
"license": "MIT",
"type": "module",
"main": "./lib/host/index.js",
"exports": {
".": {
"types": "./lib/host/index.d.ts",
"default": "./lib/host/index.js"
},
"./client": {
"types": "./lib/client/index.d.ts",
"default": "./lib/client.js"
},
"./locale/*": "./locale/*",
"./package.json": "./package.json"
},
"files": [
"lib",
"assets/logo-icon.png",
"locale",
"cordis.patch.yml",
"screenshots.json",
"README.md",
"README.zh-CN.md",
"LICENSE",
"CONTRIBUTING.md"
],
"dsh": {
"manifestVersion": 1,
"bundle": {
"patch": "./cordis.patch.yml"
},
"client": {
"platform": "web",
"inject": [
"@deepseek-ai/dsh-client-connection",
"@deepseek-ai/dsh-client-locale",
"@deepseek-ai/dsh-client-ui-settings",
"@deepseek-ai/dsh-api-remotes"
]
}
},
"dependencies": {
"defuddle": "^0.19.3",
"linkedom": "^0.18.13",
"undici": "^6.26.0",
"ws": "^8.18.0"
},
"peerDependencies": {
"@deepseek-ai/cordis": "^4.0.1",
"@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.6 || ^0.2.0-0 || ^0.2.1-0",
"@deepseek-ai/dsh-client-connection": "^0.1.0-rc.6 || ^0.2.0-0 || ^0.2.1-0",
"@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6 || ^0.2.0-0 || ^0.2.1-0",
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6 || ^0.2.0-0 || ^0.2.1-0",
"@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6 || ^0.2.0-0 || ^0.2.1-0",
"@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6 || ^0.2.0-0 || ^0.2.1-0",
"@deepseek-ai/dsh-credentials": "^0.1.0-rc.6 || ^0.2.0-0 || ^0.2.1-0",
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.2.0-0 || ^0.2.1-0",
"@deepseek-ai/dsh-settings": "^0.1.0-rc.6 || ^0.2.0-0 || ^0.2.1-0",
"@deepseek-ai/dsh-web": "^0.1.0-rc.6 || ^0.2.0-0 || ^0.2.1-0",
"@deepseek-ai/schemastery": "^3.18.1",
"react": "^18.2.0"
},
"scripts": {
"build": "node -e \"require('fs').rmSync('lib',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && tsdown",
"prepack": "npm run build",
"bundle": "tsdown",
"test": "node --experimental-strip-types --test test/*.test.ts test/*.test.mjs test/*.smoke.mjs src/host/logic.test.ts",
"smoke": "node --experimental-strip-types --test test/*.test.ts test/*.test.mjs test/*.smoke.mjs src/host/logic.test.ts",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit"
},
"devDependencies": {
"@types/node": "^22.10.0",
"@types/react": "~18.3.31",
"@types/ws": "^8.5.14",
"semver": "^7.8.5",
"tsdown": "^0.22.14",
"typescript": "^5.9.3"
}
}