@mcviseron/dsh-qq-bridge 0.3.2 → 0.3.3
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/README.md +22 -0
- package/cordis.patch.yml +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# dsh-qq-bridge
|
|
2
2
|
|
|
3
|
+
## 安装
|
|
4
|
+
|
|
5
|
+
从 npm 装(**包名带 scope**,profile 里的 `name` 必须写同一个名字,否则
|
|
6
|
+
`Cannot find package 'dsh-qq-bridge'`):
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm i @mcviseron/dsh-qq-bridge
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
```yaml
|
|
13
|
+
# profile 的 cordis.patch.yml
|
|
14
|
+
- insert:
|
|
15
|
+
- id: qq-bridge
|
|
16
|
+
name: '@mcviseron/dsh-qq-bridge'
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
本地开发用 link 时保留裸名:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm i dsh-qq-bridge@link:/path/to/plugin
|
|
23
|
+
```
|
|
24
|
+
|
|
3
25
|
DeepSeek Harness Host 插件:把 QQ 会话映射成 DSH Session。
|
|
4
26
|
|
|
5
27
|
- 每条 QQ 消息 → `ctx.sessionController.prompt()`(每个会话一个 Session,首次自动 `create()`)
|
package/cordis.patch.yml
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
# assistant reply plus every pending tool approval back to the bot.
|
|
5
5
|
- insert:
|
|
6
6
|
- id: qq-bridge
|
|
7
|
-
|
|
7
|
+
# 必须和 npm 上发布的包名一致(发布时 CI 会改成 scoped 名)。
|
|
8
|
+
# 本地开发用 link 时,改成你自己的 "dsh-qq-bridge": "link:<path>" 条目名即可。
|
|
9
|
+
name: '@mcviseron/dsh-qq-bridge'
|
|
8
10
|
config:
|
|
9
11
|
enabled: true
|
|
10
12
|
host: '127.0.0.1'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcviseron/dsh-qq-bridge",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "DeepSeek Harness plugin: bridge QQ conversations (driven by an external viseron-botpy bot) to DSH sessions — injects user messages, captures assistant replies, streams C2C answers, and relays tool approvals to the bot owner.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|