refactor: move channel dedupe helpers onto core sdk

This commit is contained in:
Peter Steinberger
2026-03-28 02:58:10 +00:00
parent 024f2cf6e6
commit b34b03dd9e
8 changed files with 42 additions and 21 deletions

View File

@@ -6,7 +6,7 @@ import type {
} from "openclaw/plugin-sdk/config-runtime";
import { resolveSessionKey, type SessionScope } from "openclaw/plugin-sdk/config-runtime";
import type { DmPolicy, GroupPolicy } from "openclaw/plugin-sdk/config-runtime";
import { createDedupeCache } from "openclaw/plugin-sdk/infra-runtime";
import { createDedupeCache } from "openclaw/plugin-sdk/core";
import type { HistoryEntry } from "openclaw/plugin-sdk/reply-history";
import { resolveAgentRoute } from "openclaw/plugin-sdk/routing";
import { logVerbose } from "openclaw/plugin-sdk/runtime-env";

View File

@@ -1,4 +1,4 @@
import { resolveGlobalDedupeCache } from "openclaw/plugin-sdk/infra-runtime";
import { resolveGlobalDedupeCache } from "openclaw/plugin-sdk/core";
/**
* In-memory cache of Slack threads the bot has participated in.