@takibeiy/moltbot_cn 2026.2.2 → 2026.2.4

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,5 +1,5 @@
1
1
  {
2
- "version": "2026.2.2",
3
- "commit": "82c7003c47030b17af05b31578a11aa0a4ba3f07",
4
- "builtAt": "2026-02-01T04:41:01.511Z"
2
+ "version": "2026.2.4",
3
+ "commit": "d8f2f70fc05491ce0fd5b7e8b2d487093f00386e",
4
+ "builtAt": "2026-02-01T04:59:28.405Z"
5
5
  }
@@ -1 +1 @@
1
- 30bbc2d82a4c2e2ea59d7e4a06a8beb5139aa447947222374cac1235c729230c
1
+ 065107f9c9dfd152f5f4bb061cd2f418f39ce9d1e469f7c7ebf4f310c1651395
@@ -4,8 +4,8 @@
4
4
  * This plugin provides QQ messaging support via NapCatQQ/OneBot v11 protocol.
5
5
  */
6
6
 
7
- import type { MoltbotPluginApi } from "clawdbot/plugin-sdk";
8
- import { emptyPluginConfigSchema } from "clawdbot/plugin-sdk";
7
+ import type { MoltbotPluginApi } from "openclaw/plugin-sdk";
8
+ import { emptyPluginConfigSchema } from "openclaw/plugin-sdk";
9
9
 
10
10
  import { qqPlugin } from "./src/channel.js";
11
11
  import { setQQRuntime } from "./src/runtime.js";
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { describe, expect, it } from "vitest";
6
- import type { MoltbotConfig } from "clawdbot/plugin-sdk";
6
+ import type { MoltbotConfig } from "openclaw/plugin-sdk";
7
7
 
8
8
  import {
9
9
  listQQAccountIds,
@@ -5,8 +5,8 @@
5
5
  * and multi-account configurations.
6
6
  */
7
7
 
8
- import type { MoltbotConfig } from "clawdbot/plugin-sdk";
9
- import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "clawdbot/plugin-sdk";
8
+ import type { MoltbotConfig } from "openclaw/plugin-sdk";
9
+ import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "openclaw/plugin-sdk";
10
10
 
11
11
  import {
12
12
  QQ_DEFAULT_WS_URL,
@@ -4,7 +4,7 @@
4
4
  * Complete ChannelPlugin implementation for QQ via NapCatQQ/OneBot v11.
5
5
  */
6
6
 
7
- import type { ChannelPlugin, MoltbotConfig } from "clawdbot/plugin-sdk";
7
+ import type { ChannelPlugin, MoltbotConfig } from "openclaw/plugin-sdk";
8
8
  import {
9
9
  applyAccountNameToChannelSection,
10
10
  buildChannelConfigSchema,
@@ -12,7 +12,7 @@ import {
12
12
  DEFAULT_ACCOUNT_ID,
13
13
  migrateBaseNameToDefaultAccount,
14
14
  normalizeAccountId,
15
- } from "clawdbot/plugin-sdk";
15
+ } from "openclaw/plugin-sdk";
16
16
 
17
17
  import {
18
18
  listQQAccountIds,
@@ -11,7 +11,7 @@ import {
11
11
  MarkdownConfigSchema,
12
12
  ToolPolicySchema,
13
13
  normalizeAllowFrom,
14
- } from "clawdbot/plugin-sdk";
14
+ } from "openclaw/plugin-sdk";
15
15
 
16
16
  // ============================================================================
17
17
  // Local Schema Definitions (not exported from plugin-sdk)
@@ -12,7 +12,7 @@ import {
12
12
  type ChannelOnboardingDmPolicy,
13
13
  type MoltbotConfig,
14
14
  type WizardPrompter,
15
- } from "clawdbot/plugin-sdk";
15
+ } from "openclaw/plugin-sdk";
16
16
 
17
17
  import {
18
18
  isQQAccountConfigured,
@@ -6,7 +6,7 @@
6
6
  * configuration, and other shared services.
7
7
  */
8
8
 
9
- import type { PluginRuntime } from "clawdbot/plugin-sdk";
9
+ import type { PluginRuntime } from "openclaw/plugin-sdk";
10
10
 
11
11
  let runtime: PluginRuntime | null = null;
12
12
 
@@ -16,7 +16,7 @@ import {
16
16
  } from "./send.js";
17
17
 
18
18
  // Mock loadWebMedia from plugin-sdk
19
- vi.mock("clawdbot/plugin-sdk", () => ({
19
+ vi.mock("openclaw/plugin-sdk", () => ({
20
20
  loadWebMedia: vi.fn().mockResolvedValue({
21
21
  buffer: Buffer.from("fake-image-data"),
22
22
  contentType: "image/jpeg",
@@ -4,7 +4,7 @@
4
4
  * Handles sending text and media messages via OneBot API.
5
5
  */
6
6
 
7
- import { loadWebMedia } from "clawdbot/plugin-sdk";
7
+ import { loadWebMedia } from "openclaw/plugin-sdk";
8
8
  import type { OneBotApi } from "./onebot/api.js";
9
9
  import type { OneBotMessageSegment, OneBotSendMsgResponse } from "./onebot/types.js";
10
10
  import { formatQQTarget, parseQQTarget, type ParsedQQTarget } from "./normalize.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takibeiy/moltbot_cn",
3
- "version": "2026.2.2",
3
+ "version": "2026.2.4",
4
4
  "description": "WhatsApp gateway CLI (Baileys web) with Pi RPC agent",
5
5
  "keywords": [],
6
6
  "license": "MIT",