mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-20 22:40:58 +00:00
fix(matrix): keep runtime api import-safe
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Keep the external runtime API light so Jiti callers can resolve Matrix config
|
||||
// helpers without traversing the full plugin-sdk/runtime graph.
|
||||
// helpers without traversing the full plugin-sdk/runtime graph or bootstrapping
|
||||
// matrix-js-sdk during plain runtime-api import.
|
||||
export * from "./src/auth-precedence.js";
|
||||
export * from "./helper-api.js";
|
||||
export { sendMessageMatrix } from "./src/matrix/send.js";
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import path from "node:path";
|
||||
import { sendMessageMatrix } from "../../runtime-api.js";
|
||||
import {
|
||||
readJsonFileWithFallback,
|
||||
registerSessionBindingAdapter,
|
||||
@@ -11,6 +10,7 @@ import {
|
||||
import { resolveMatrixStoragePaths } from "./client/storage.js";
|
||||
import type { MatrixAuth } from "./client/types.js";
|
||||
import type { MatrixClient } from "./sdk.js";
|
||||
import { sendMessageMatrix } from "./send.js";
|
||||
import {
|
||||
deleteMatrixThreadBindingManagerEntry,
|
||||
getMatrixThreadBindingManager,
|
||||
|
||||
Reference in New Issue
Block a user