@fengming-gh/oc-wechat-bridge 1.0.1 → 1.0.6

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.
Files changed (2) hide show
  1. package/README.md +32 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # @fengming-gh/oc-wechat-bridge
2
+
3
+ WeChat ↔ OpenCode 双向桥接插件。
4
+
5
+ 基于微信官方 iLink Bot API 开发,非逆向/非破解。支持流式输出、跨会话转发、自动续命、子 AI 延续追踪。
6
+
7
+ ## 安装
8
+
9
+ 在 `opencode.json` 中添加:
10
+
11
+ ```json
12
+ {
13
+ "plugin": ["@fengming-gh/oc-wechat-bridge"]
14
+ }
15
+ ```
16
+
17
+ 重启 OC 后浏览器自动弹出微信二维码,扫码登录即可使用。
18
+
19
+ ## 功能
20
+
21
+ - 微信消息 → OC 会话:在微信中发送消息,AI 自动回复推回微信
22
+ - 流式输出:思考、工具调用、文字实时推送
23
+ - `/switch` 切换绑定会话、`/rename` 改名、`/status` 查看状态
24
+ - 内置跨会话转发与自动续命能力
25
+
26
+ ## 要求
27
+
28
+ - OpenCode ≥ 1.15.10
29
+
30
+ ## 许可
31
+
32
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fengming-gh/oc-wechat-bridge",
3
- "version": "1.0.1",
3
+ "version": "1.0.6",
4
4
  "description": "将微信消息桥接到 OpenCode,支持双向对话与权限审批",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",