@lanbaolu/dsh-wechat-bridge 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +152 -0
- package/cordis.patch.yml +12 -0
- package/docs/feasibility-plan.md +62 -0
- package/lib/bridge/commands/handlers.js +155 -0
- package/lib/bridge/commands/handlers.js.map +1 -0
- package/lib/bridge/commands/router.js +52 -0
- package/lib/bridge/commands/router.js.map +1 -0
- package/lib/bridge/config.js +40 -0
- package/lib/bridge/config.js.map +1 -0
- package/lib/bridge/constants.js +14 -0
- package/lib/bridge/constants.js.map +1 -0
- package/lib/bridge/dsh-client.js +100 -0
- package/lib/bridge/dsh-client.js.map +1 -0
- package/lib/bridge/logger.js +75 -0
- package/lib/bridge/logger.js.map +1 -0
- package/lib/bridge/main.js +546 -0
- package/lib/bridge/main.js.map +1 -0
- package/lib/bridge/pending-queue.js +55 -0
- package/lib/bridge/pending-queue.js.map +1 -0
- package/lib/bridge/session.js +84 -0
- package/lib/bridge/session.js.map +1 -0
- package/lib/bridge/store.js +38 -0
- package/lib/bridge/store.js.map +1 -0
- package/lib/bridge/wechat/accounts.js +50 -0
- package/lib/bridge/wechat/accounts.js.map +1 -0
- package/lib/bridge/wechat/api.js +197 -0
- package/lib/bridge/wechat/api.js.map +1 -0
- package/lib/bridge/wechat/cdn.js +45 -0
- package/lib/bridge/wechat/cdn.js.map +1 -0
- package/lib/bridge/wechat/crypto.js +17 -0
- package/lib/bridge/wechat/crypto.js.map +1 -0
- package/lib/bridge/wechat/login.js +139 -0
- package/lib/bridge/wechat/login.js.map +1 -0
- package/lib/bridge/wechat/media.js +138 -0
- package/lib/bridge/wechat/media.js.map +1 -0
- package/lib/bridge/wechat/monitor.js +104 -0
- package/lib/bridge/wechat/monitor.js.map +1 -0
- package/lib/bridge/wechat/send.js +172 -0
- package/lib/bridge/wechat/send.js.map +1 -0
- package/lib/bridge/wechat/sync-buf.js +11 -0
- package/lib/bridge/wechat/sync-buf.js.map +1 -0
- package/lib/bridge/wechat/types.js +35 -0
- package/lib/bridge/wechat/types.js.map +1 -0
- package/lib/bridge/wechat/upload.js +111 -0
- package/lib/bridge/wechat/upload.js.map +1 -0
- package/lib/client/Panel.js +205 -0
- package/lib/client/Panel.js.map +1 -0
- package/lib/client/index.js +11 -0
- package/lib/client/index.js.map +1 -0
- package/lib/client.js +376 -0
- package/lib/client.js.map +1 -0
- package/lib/index.js +828 -0
- package/lib/index.js.map +1 -0
- package/lib/types/bridge/commands/handlers.d.ts +18 -0
- package/lib/types/bridge/commands/router.d.ts +26 -0
- package/lib/types/bridge/config.d.ts +7 -0
- package/lib/types/bridge/constants.d.ts +10 -0
- package/lib/types/bridge/dsh-client.d.ts +39 -0
- package/lib/types/bridge/logger.d.ts +13 -0
- package/lib/types/bridge/main.d.ts +1 -0
- package/lib/types/bridge/pending-queue.d.ts +10 -0
- package/lib/types/bridge/session.d.ts +22 -0
- package/lib/types/bridge/store.d.ts +11 -0
- package/lib/types/bridge/wechat/accounts.d.ts +14 -0
- package/lib/types/bridge/wechat/api.d.ts +32 -0
- package/lib/types/bridge/wechat/cdn.d.ts +2 -0
- package/lib/types/bridge/wechat/crypto.d.ts +4 -0
- package/lib/types/bridge/wechat/login.d.ts +31 -0
- package/lib/types/bridge/wechat/media.d.ts +20 -0
- package/lib/types/bridge/wechat/monitor.d.ts +10 -0
- package/lib/types/bridge/wechat/send.d.ts +6 -0
- package/lib/types/bridge/wechat/sync-buf.d.ts +2 -0
- package/lib/types/bridge/wechat/types.d.ts +135 -0
- package/lib/types/bridge/wechat/upload.d.ts +11 -0
- package/lib/types/client/Panel.d.ts +3 -0
- package/lib/types/client/index.d.ts +9 -0
- package/lib/types/index.d.ts +39 -0
- package/package.json +92 -0
package/package.json
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lanbaolu/dsh-wechat-bridge",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "基于 wechat-claude-code 的 DSH 微信桥接插件:三端通用(Windows/macOS/Linux),host 工具 + Web 管理面板",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=18"
|
|
11
|
+
},
|
|
12
|
+
"main": "./lib/index.js",
|
|
13
|
+
"types": "./lib/types/index.d.ts",
|
|
14
|
+
"files": [
|
|
15
|
+
"lib",
|
|
16
|
+
"cordis.patch.yml",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE",
|
|
19
|
+
"docs"
|
|
20
|
+
],
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/lanbaolu/dsh-wechat-bridge.git"
|
|
25
|
+
},
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/lanbaolu/dsh-wechat-bridge/issues"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://github.com/lanbaolu/dsh-wechat-bridge",
|
|
30
|
+
"keywords": [
|
|
31
|
+
"dsh",
|
|
32
|
+
"deepseek-harness",
|
|
33
|
+
"wechat",
|
|
34
|
+
"wechat-bridge",
|
|
35
|
+
"plugin",
|
|
36
|
+
"chatbot"
|
|
37
|
+
],
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
40
|
+
"@deepseek-ai/dsh-agent": "^0.1.0-rc.6",
|
|
41
|
+
"@deepseek-ai/dsh-agent-default-model": "^0.1.0-rc.6",
|
|
42
|
+
"@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
|
|
43
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
|
|
44
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
|
|
45
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
|
|
46
|
+
"@deepseek-ai/dsh-session": "^0.1.0-rc.6",
|
|
47
|
+
"@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
|
|
48
|
+
"@deepseek-ai/dsh-workspace": "^0.1.0-rc.6",
|
|
49
|
+
"@deepseek-ai/schemastery": "^3.18.1"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"qrcode": "^1.5.4",
|
|
53
|
+
"qrcode-terminal": "^0.12.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@types/node": "^24.13.3",
|
|
57
|
+
"@types/qrcode": "^1.5.6",
|
|
58
|
+
"@types/qrcode-terminal": "^0.12.0",
|
|
59
|
+
"@types/react": "^18.3.31",
|
|
60
|
+
"tsdown": "^0.22.14",
|
|
61
|
+
"typescript": "^5.9.0"
|
|
62
|
+
},
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "bash scripts/build.sh",
|
|
65
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
66
|
+
"build:client": "tsdown"
|
|
67
|
+
},
|
|
68
|
+
"exports": {
|
|
69
|
+
".": {
|
|
70
|
+
"types": "./lib/types/index.d.ts",
|
|
71
|
+
"default": "./lib/index.js"
|
|
72
|
+
},
|
|
73
|
+
"./client": {
|
|
74
|
+
"types": "./lib/types/client/index.d.ts",
|
|
75
|
+
"default": "./lib/client.js"
|
|
76
|
+
},
|
|
77
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
78
|
+
"./package.json": "./package.json"
|
|
79
|
+
},
|
|
80
|
+
"dsh": {
|
|
81
|
+
"bundle": {
|
|
82
|
+
"patch": "./cordis.patch.yml"
|
|
83
|
+
},
|
|
84
|
+
"client": {
|
|
85
|
+
"inject": [
|
|
86
|
+
"@deepseek-ai/dsh-client-runtime",
|
|
87
|
+
"@deepseek-ai/dsh-client-ui-slots"
|
|
88
|
+
],
|
|
89
|
+
"platform": "web"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|