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 +3 -3
- package/config.example.json +1 -4
- package/dist/server/cli.js +0 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -88,13 +88,13 @@ claude-codex-wechat doctor
|
|
|
88
88
|
}
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
|
|
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"
|
package/config.example.json
CHANGED
package/dist/server/cli.js
CHANGED
|
@@ -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
|
};
|