Skip to content

Commit 40f6f14

Browse files
committed
zalouser: fix plugin-sdk subpath imports for CI checks
1 parent f26b9f3 commit 40f6f14

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

extensions/zalouser/src/channel.directory.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { RuntimeEnv } from "openclaw/plugin-sdk";
1+
import type { RuntimeEnv } from "openclaw/plugin-sdk/zalouser";
22
import { describe, expect, it, vi } from "vitest";
33

44
const listZaloGroupMembersMock = vi.hoisted(() => vi.fn(async () => []));

extensions/zalouser/src/monitor.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1+
import {
2+
DM_GROUP_ACCESS_REASON,
3+
DEFAULT_GROUP_HISTORY_LIMIT,
4+
type HistoryEntry,
5+
KeyedAsyncQueue,
6+
buildPendingHistoryContextFromMap,
7+
clearHistoryEntriesIfEnabled,
8+
recordPendingHistoryEntryIfEnabled,
9+
resolveDmGroupAccessWithLists,
10+
} from "openclaw/plugin-sdk/compat";
111
import type {
212
MarkdownTableMode,
313
OpenClawConfig,
414
OutboundReplyPayload,
515
RuntimeEnv,
616
} from "openclaw/plugin-sdk/zalouser";
717
import {
8-
DM_GROUP_ACCESS_REASON,
9-
DEFAULT_GROUP_HISTORY_LIMIT,
10-
type HistoryEntry,
11-
buildPendingHistoryContextFromMap,
12-
clearHistoryEntriesIfEnabled,
1318
createTypingCallbacks,
1419
createScopedPairingAccess,
1520
createReplyPrefixOptions,
16-
KeyedAsyncQueue,
1721
resolveOutboundMediaUrls,
1822
mergeAllowlist,
19-
recordPendingHistoryEntryIfEnabled,
20-
resolveDmGroupAccessWithLists,
2123
resolveMentionGatingWithBypass,
2224
resolveOpenProviderRuntimeGroupPolicy,
2325
resolveDefaultGroupPolicy,

0 commit comments

Comments
 (0)