mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 08:20:43 +00:00
* msteams: persist sent-message markers best-effort * docs: clarify Teams restart persistence changelog * msteams: remove redundant sent-message TTL comment * msteams: preserve sent-message marker TTL on recovery
13 lines
469 B
TypeScript
13 lines
469 B
TypeScript
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
import type { PluginRuntime } from "openclaw/plugin-sdk/runtime-store";
|
|
|
|
const {
|
|
setRuntime: setMSTeamsRuntime,
|
|
getRuntime: getMSTeamsRuntime,
|
|
tryGetRuntime: getOptionalMSTeamsRuntime,
|
|
} = createPluginRuntimeStore<PluginRuntime>({
|
|
pluginId: "msteams",
|
|
errorMessage: "MSTeams runtime not initialized",
|
|
});
|
|
export { getMSTeamsRuntime, getOptionalMSTeamsRuntime, setMSTeamsRuntime };
|