@wecom/wecom-openclaw-plugin 2026.3.20 → 2026.3.24-beta.0

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.
@@ -1,3 +1,3 @@
1
- import { type ChannelPlugin } from "openclaw/plugin-sdk";
1
+ import { type ChannelPlugin } from "openclaw/plugin-sdk/core";
2
2
  import type { ResolvedWeComAccount } from "./utils.js";
3
3
  export declare const wecomPlugin: ChannelPlugin<ResolvedWeComAccount>;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * 负责私聊策略检查、配对流程
5
5
  */
6
- import type { RuntimeEnv } from "openclaw/plugin-sdk";
6
+ import type { RuntimeEnv } from "openclaw/plugin-sdk/runtime-env";
7
7
  import type { WSClient, WsFrame } from "@wecom/aibot-node-sdk";
8
8
  import type { ResolvedWeComAccount } from "./utils.js";
9
9
  /**
@@ -3,7 +3,8 @@
3
3
  *
4
4
  * 负责群组策略检查(groupPolicy、群组白名单、群内发送者白名单)
5
5
  */
6
- import type { OpenClawConfig, RuntimeEnv } from "openclaw/plugin-sdk";
6
+ import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
7
+ import type { RuntimeEnv } from "openclaw/plugin-sdk/runtime-env";
7
8
  import type { ResolvedWeComAccount } from "./utils.js";
8
9
  /**
9
10
  * 群组策略检查结果
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * 企业微信渠道类型定义
3
3
  */
4
- import type { OpenClawConfig, RuntimeEnv } from "openclaw/plugin-sdk";
4
+ import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
5
+ import type { RuntimeEnv } from "openclaw/plugin-sdk/runtime-env";
5
6
  import type { ResolvedWeComAccount } from "./utils.js";
6
7
  import { WeComCommand } from "./const.js";
7
8
  /**
@@ -3,7 +3,8 @@
3
3
  *
4
4
  * 负责下载、检测格式、保存图片到本地,包含超时保护
5
5
  */
6
- import type { OpenClawConfig, RuntimeEnv } from "openclaw/plugin-sdk";
6
+ import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
7
+ import type { RuntimeEnv } from "openclaw/plugin-sdk/runtime-env";
7
8
  import type { WSClient } from "@wecom/aibot-node-sdk";
8
9
  import type { ResolvedWeComAccount } from "./utils.js";
9
10
  /**
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * 负责通过 WSClient 发送回复消息,包含超时保护
5
5
  */
6
- import type { RuntimeEnv } from "openclaw/plugin-sdk";
6
+ import type { RuntimeEnv } from "openclaw/plugin-sdk/runtime-env";
7
7
  import { type WSClient, type WsFrame } from "@wecom/aibot-node-sdk";
8
8
  /**
9
9
  * 发送企业微信回复消息
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * 企业微信 onboarding adapter for CLI setup wizard.
3
3
  */
4
- import { type ChannelOnboardingAdapter } from "openclaw/plugin-sdk";
5
- export declare const wecomOnboardingAdapter: ChannelOnboardingAdapter;
4
+ import type { ChannelSetupWizardAdapter } from 'openclaw/plugin-sdk/setup';
5
+ export declare const wecomOnboardingAdapter: ChannelSetupWizardAdapter;
@@ -1,3 +1,3 @@
1
- import type { PluginRuntime } from "openclaw/plugin-sdk";
1
+ import type { PluginRuntime } from "openclaw/plugin-sdk/core";
2
2
  export declare function setWeComRuntime(r: PluginRuntime): void;
3
3
  export declare function getWeComRuntime(): PluginRuntime;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * 企业微信公共工具函数
3
3
  */
4
- import type { OpenClawConfig } from "openclaw/plugin-sdk";
4
+ import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
5
5
  /**
6
6
  * 企业微信群组配置
7
7
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wecom/wecom-openclaw-plugin",
3
- "version": "2026.3.20",
3
+ "version": "2026.3.24-beta.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",