mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 05:20:43 +00:00
9 lines
301 B
TypeScript
9 lines
301 B
TypeScript
import { LegacyContextEngine } from "./legacy.js";
|
|
import { registerContextEngineForOwner } from "./registry.js";
|
|
|
|
export function registerLegacyContextEngine(): void {
|
|
registerContextEngineForOwner("legacy", async () => new LegacyContextEngine(), "core", {
|
|
allowSameOwnerRefresh: true,
|
|
});
|
|
}
|