claude-codex-wechat 0.1.46 → 0.1.47

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 CHANGED
@@ -88,13 +88,13 @@ claude-codex-wechat doctor
88
88
  }
89
89
  ```
90
90
 
91
- 如需接入自建的公网中转服务(relay-server),在同一份配置里加上:
91
+ 默认配置只保留 relay 地址;`authToken` 会在首次启动时自动生成并写回 `config.json`。
92
+
93
+ 如需改为接入自建的公网中转服务(relay-server),在同一份配置里覆盖 relay 地址,并把 `authToken` 换成该 relay 接受的真实 token:
92
94
 
93
95
  ```json
94
96
  {
95
97
  "tunnel": {
96
- "provider": "relay",
97
- "enabled": true,
98
98
  "relay": {
99
99
  "serverUrl": "wss://your-relay-host/agent",
100
100
  "authToken": "replace-with-relay-auth-token"
@@ -16,11 +16,8 @@
16
16
  }
17
17
  },
18
18
  "tunnel": {
19
- "provider": "relay",
20
- "enabled": false,
21
19
  "relay": {
22
- "serverUrl": "wss://wechat.style520.com/agent",
23
- "authToken": "replace-with-relay-auth-token"
20
+ "serverUrl": "wss://wechat.style520.com/agent"
24
21
  }
25
22
  }
26
23
  }
@@ -5640,7 +5640,6 @@ async function startDaemon(options) {
5640
5640
  defaultProvider: config.bridge?.defaultProvider ?? "claude-code",
5641
5641
  defaultWorkspace: config.bridge?.defaultWorkspace ?? process.cwd(),
5642
5642
  tunnel: {
5643
- enabled: true,
5644
5643
  ...config.tunnel?.relay ? { relay: config.tunnel.relay } : {}
5645
5644
  }
5646
5645
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-codex-wechat",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.5.0",