@henryxiaoyang/wechat-access-unqclawed 1.0.9 → 1.0.10
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/index.ts +2 -1
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -201,7 +201,8 @@ const tencentAccessPlugin = {
|
|
|
201
201
|
|
|
202
202
|
// 写入 openclaw.json(统一存储)
|
|
203
203
|
try {
|
|
204
|
-
const
|
|
204
|
+
const wRuntime = getWecomRuntime();
|
|
205
|
+
const fullCfg = wRuntime.config.loadConfig();
|
|
205
206
|
const channels = { ...(fullCfg.channels ?? {}) } as Record<string, any>;
|
|
206
207
|
channels["wechat-access-unqclawed"] = {
|
|
207
208
|
...(channels["wechat-access-unqclawed"] ?? {}),
|