zalouser: fix plugin-sdk subpath imports for CI checks

This commit is contained in:
Tom
2026-03-04 14:42:53 +07:00
parent f26b9f386c
commit 40f6f14bea
2 changed files with 11 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
import type { RuntimeEnv } from "openclaw/plugin-sdk";
import type { RuntimeEnv } from "openclaw/plugin-sdk/zalouser";
import { describe, expect, it, vi } from "vitest";
const listZaloGroupMembersMock = vi.hoisted(() => vi.fn(async () => []));

View File

@@ -1,3 +1,13 @@
import {
DM_GROUP_ACCESS_REASON,
DEFAULT_GROUP_HISTORY_LIMIT,
type HistoryEntry,
KeyedAsyncQueue,
buildPendingHistoryContextFromMap,
clearHistoryEntriesIfEnabled,
recordPendingHistoryEntryIfEnabled,
resolveDmGroupAccessWithLists,
} from "openclaw/plugin-sdk/compat";
import type {
MarkdownTableMode,
OpenClawConfig,
@@ -5,19 +15,11 @@ import type {
RuntimeEnv,
} from "openclaw/plugin-sdk/zalouser";
import {
DM_GROUP_ACCESS_REASON,
DEFAULT_GROUP_HISTORY_LIMIT,
type HistoryEntry,
buildPendingHistoryContextFromMap,
clearHistoryEntriesIfEnabled,
createTypingCallbacks,
createScopedPairingAccess,
createReplyPrefixOptions,
KeyedAsyncQueue,
resolveOutboundMediaUrls,
mergeAllowlist,
recordPendingHistoryEntryIfEnabled,
resolveDmGroupAccessWithLists,
resolveMentionGatingWithBypass,
resolveOpenProviderRuntimeGroupPolicy,
resolveDefaultGroupPolicy,