Add unified IM channel plugin

This commit is contained in:
xmanrui 2026-08-15 04:39:56 +08:00
commit b8bd681a79
26 changed files with 7901 additions and 0 deletions

68
package.json Normal file
View file

@ -0,0 +1,68 @@
{
"name": "@xmanrui/dsh-im",
"version": "0.1.0",
"description": "通过扫码把IM机器人接入DeepSeek Harness(支持飞书、微信、钉钉等)。",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/xmanrui/dsh-im.git"
},
"homepage": "https://github.com/xmanrui/dsh-im#readme",
"bugs": "https://github.com/xmanrui/dsh-im/issues",
"publishConfig": {
"access": "public"
},
"bin": {
"dsh-im": "./bin/dsh-im.mjs"
},
"main": "./lib/index.js",
"exports": {
".": "./lib/index.js",
"./client": "./lib/client.js",
"./package.json": "./package.json"
},
"files": [
"bin",
"cordis.patch.yml",
"lib",
"plugin-src",
"scripts",
"src",
"LICENSE",
"README.md",
"THIRD_PARTY_NOTICES.md"
],
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
},
"client": {
"inject": [
"@deepseek-ai/dsh-client-connection",
"@deepseek-ai/dsh-client-runtime",
"@deepseek-ai/dsh-client-ui-settings",
"@deepseek-ai/dsh-client-ui-slots",
"@deepseek-ai/dsh-client-locale"
],
"platform": "web"
}
},
"scripts": {
"build": "node plugin-src/client/build.mjs && node plugin-src/host/build.mjs",
"test": "node --test test/*.test.mjs",
"check": "npm test && npm run build && node scripts/verify-package.mjs"
},
"engines": {
"node": ">=22.19"
},
"dependencies": {
"@xmanrui/dsh-feishu": "https://github.com/xmanrui/dsh-feishu/archive/aad650feabadd511241aa58b236d64273d5e397f.tar.gz",
"@xmanrui/dsh-weixin": "https://github.com/xmanrui/dsh-weixin/archive/76d076771b2c84fb4c5598c2344d486695eda080.tar.gz"
},
"devDependencies": {
"esbuild": "0.25.9",
"react": "18.3.1",
"react-dom": "18.3.1"
}
}