openclaw-xiaoyou 1.2.2 → 1.2.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/package.json +1 -1
- package/src/channel.ts +2 -3
package/package.json
CHANGED
package/src/channel.ts
CHANGED
|
@@ -100,9 +100,8 @@ export const xiayouPlugin = {
|
|
|
100
100
|
startAccount: async (ctx: any) => {
|
|
101
101
|
const { account, cfg, log } = ctx;
|
|
102
102
|
|
|
103
|
-
//
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
// 使用 register 时注入的 runtime(有 channel.reply 等完整 API)
|
|
104
|
+
// 注意:ctx.runtime 只有 log/error/exit,不能用它覆盖
|
|
106
105
|
const section = account?.config || getChannelConfig(cfg);
|
|
107
106
|
const logger = log || console;
|
|
108
107
|
|