2026-03-20 13:16:42 +05:30
|
|
|
// Re-export helper-api symbols from their local source to break the circular
|
|
|
|
|
// re-export path: openclaw/plugin-sdk/matrix re-exports from
|
|
|
|
|
// extensions/matrix/helper-api.js, so importing plugin-sdk/matrix here would
|
|
|
|
|
// cause Jiti to define these properties twice (once via the local module graph
|
|
|
|
|
// and once via the alias round-trip), triggering "Cannot redefine property".
|
|
|
|
|
export {
|
|
|
|
|
requiresExplicitMatrixDefaultAccount,
|
|
|
|
|
resolveMatrixDefaultOrOnlyAccountId,
|
|
|
|
|
} from "./account-selection.js";
|
|
|
|
|
export { getMatrixScopedEnvVarNames } from "./env-vars.js";
|
|
|
|
|
export {
|
|
|
|
|
resolveMatrixAccountStorageRoot,
|
|
|
|
|
resolveMatrixCredentialsDir,
|
|
|
|
|
resolveMatrixCredentialsPath,
|
|
|
|
|
resolveMatrixLegacyFlatStoragePaths,
|
|
|
|
|
} from "./storage-paths.js";
|
|
|
|
|
// Thread-binding helpers that plugin-sdk/matrix re-exports from extensions/matrix.
|
|
|
|
|
export {
|
|
|
|
|
setMatrixThreadBindingIdleTimeoutBySessionKey,
|
|
|
|
|
setMatrixThreadBindingMaxAgeBySessionKey,
|
|
|
|
|
} from "./matrix/thread-bindings-shared.js";
|
|
|
|
|
// Star re-export for the remaining (non-extension) symbols in plugin-sdk/matrix.
|
|
|
|
|
// Properties already defined above are skipped by the CJS interop guard, so the
|
|
|
|
|
// circular helper-api path is never reached for those symbols.
|
|
|
|
|
export * from "openclaw/plugin-sdk/matrix";
|
2026-03-19 23:19:30 -04:00
|
|
|
export {
|
|
|
|
|
assertHttpUrlTargetsPrivateNetwork,
|
|
|
|
|
closeDispatcher,
|
|
|
|
|
createPinnedDispatcher,
|
|
|
|
|
resolvePinnedHostnameWithPolicy,
|
|
|
|
|
ssrfPolicyFromAllowPrivateNetwork,
|
|
|
|
|
type LookupFn,
|
|
|
|
|
type SsrFPolicy,
|
|
|
|
|
} from "openclaw/plugin-sdk/infra-runtime";
|
2026-03-20 15:59:53 -07:00
|
|
|
export {
|
|
|
|
|
dispatchReplyFromConfigWithSettledDispatcher,
|
|
|
|
|
ensureConfiguredAcpBindingReady,
|
|
|
|
|
maybeCreateMatrixMigrationSnapshot,
|
|
|
|
|
resolveConfiguredAcpBindingRecord,
|
|
|
|
|
} from "openclaw/plugin-sdk/matrix-runtime-heavy";
|
2026-03-19 20:53:35 -04:00
|
|
|
// Keep auth-precedence available internally without re-exporting helper-api
|
|
|
|
|
// twice through both plugin-sdk/matrix and ../runtime-api.js.
|
|
|
|
|
export * from "./auth-precedence.js";
|