mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-09 16:21:15 +00:00
- Added a test to ensure no warnings for legacy Brave config when bundled web search allowlist compatibility is applied. - Updated validation logic to incorporate compatibility configuration for bundled web search plugins. - Refactored the ensureRegistry function to utilize the new compatibility handling.
15 lines
477 B
TypeScript
15 lines
477 B
TypeScript
import {
|
|
setMatrixThreadBindingIdleTimeoutBySessionKey,
|
|
setMatrixThreadBindingMaxAgeBySessionKey,
|
|
} from "./runtime-matrix-boundary.js";
|
|
import type { PluginRuntimeChannel } from "./types-channel.js";
|
|
|
|
export function createRuntimeMatrix(): PluginRuntimeChannel["matrix"] {
|
|
return {
|
|
threadBindings: {
|
|
setIdleTimeoutBySessionKey: setMatrixThreadBindingIdleTimeoutBySessionKey,
|
|
setMaxAgeBySessionKey: setMatrixThreadBindingMaxAgeBySessionKey,
|
|
},
|
|
};
|
|
}
|