@aka_openclaw_plugin/mychat 0.2.8 → 0.2.9

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/dist/api.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as tryGetMychatRuntime, i as setMychatRuntime, n as init_runtime, t as getMychatRuntime } from "./runtime-CkiGSF1r.js";
2
- import { t as mychatPlugin } from "./channel-DMX-AylR.js";
2
+ import { t as mychatPlugin } from "./channel-DpIIiJYV.js";
3
3
  //#region extensions/mychat/api.ts
4
4
  init_runtime();
5
5
  //#endregion
@@ -777,7 +777,7 @@ async function dispatchMychatInbound(ctx, httpClient, result) {
777
777
  const { runtime, channelRuntime, cfg, account } = ctx;
778
778
  const logger = ctx.log;
779
779
  const prefix = mychatLogPrefix("dispatch");
780
- const rt = getMychatRuntime().channel ?? channelRuntime;
780
+ const rt = runtime.channel ?? channelRuntime;
781
781
  if (!rt?.turn?.run) {
782
782
  logger?.error(`${prefix} channel.turn.run not available on runtime, cannot dispatch inbound messageId=${result.context.messageId}`);
783
783
  return;
@@ -1,2 +1,2 @@
1
- import { t as mychatPlugin } from "./channel-DMX-AylR.js";
1
+ import { t as mychatPlugin } from "./channel-DpIIiJYV.js";
2
2
  export { mychatPlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aka_openclaw_plugin/mychat",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "OpenClaw MyChat channel plugin",
5
5
  "repository": {
6
6
  "type": "git",