Matrix: narrow storage and routing imports

This commit is contained in:
Gustavo Madeira Santana 2026-03-31 07:07:38 -04:00
parent e6441760d2
commit 305977571d
No known key found for this signature in database
2 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,4 @@
import { buildChannelKeyCandidates, resolveChannelEntryMatch } from "../../runtime-api.js";
import { buildChannelKeyCandidates, resolveChannelEntryMatch } from "openclaw/plugin-sdk/matrix";
import type { MatrixRoomConfig } from "../../types.js";
export type MatrixRoomConfigResolved = {

View File

@ -1,12 +1,11 @@
import type { SessionBindingAdapter } from "openclaw/plugin-sdk/conversation-runtime";
import {
readJsonFileWithFallback,
registerSessionBindingAdapter,
resolveAgentIdFromSessionKey,
resolveThreadBindingFarewellText,
type SessionBindingAdapter,
unregisterSessionBindingAdapter,
writeJsonFileAtomically,
} from "../runtime-api.js";
} from "openclaw/plugin-sdk/conversation-runtime";
import { readJsonFileWithFallback, writeJsonFileAtomically } from "openclaw/plugin-sdk/json-store";
import { resolveAgentIdFromSessionKey } from "openclaw/plugin-sdk/routing";
import { resolveMatrixStateFilePath } from "./client/storage.js";
import type { MatrixAuth } from "./client/types.js";
import type { MatrixClient } from "./sdk.js";