refactor(feishu): split dedup runtime seam

This commit is contained in:
Vincent Koc
2026-04-03 21:38:44 +09:00
parent 710c63edad
commit 027a544d8f
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
export {
createDedupeCache,
createPersistentDedupe,
readJsonFileWithFallback,
} from "openclaw/plugin-sdk/feishu";

View File

@@ -4,7 +4,7 @@ import {
createDedupeCache,
createPersistentDedupe,
readJsonFileWithFallback,
} from "../runtime-api.js";
} from "./dedup-runtime-api.js";
// Persistent TTL: 24 hours — survives restarts & WebSocket reconnects.
const DEDUP_TTL_MS = 24 * 60 * 60 * 1000;