From e7bef917c90dc1424b81d815a2ea5728d1633f0a Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 7 Apr 2026 20:11:17 +0800 Subject: [PATCH] Tests: fix config boundary drift --- ...gacy-config-detection.rejects-routing-allowfrom.test.ts | 7 +++++++ src/plugin-sdk/index.ts | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/config/config.legacy-config-detection.rejects-routing-allowfrom.test.ts b/src/config/config.legacy-config-detection.rejects-routing-allowfrom.test.ts index 273200e5bb..eec81c3e81 100644 --- a/src/config/config.legacy-config-detection.rejects-routing-allowfrom.test.ts +++ b/src/config/config.legacy-config-detection.rejects-routing-allowfrom.test.ts @@ -1,4 +1,11 @@ import { describe, expect, it } from "vitest"; +import { + IMessageConfigSchema, + SignalConfigSchema, + TelegramConfigSchema, + WhatsAppConfigSchema, +} from "../plugin-sdk/channel-config-schema.js"; +import { findLegacyConfigIssues } from "./legacy.js"; import { validateConfigObject } from "./validation.js"; import { DiscordConfigSchema, diff --git a/src/plugin-sdk/index.ts b/src/plugin-sdk/index.ts index 891f603d03..ed0e7cf095 100644 --- a/src/plugin-sdk/index.ts +++ b/src/plugin-sdk/index.ts @@ -112,5 +112,8 @@ export type { export { emptyPluginConfigSchema } from "../plugins/config-schema.js"; export { registerContextEngine } from "../context-engine/registry.js"; -export { delegateCompactionToRuntime } from "../context-engine/delegate.js"; +export { + buildMemorySystemPromptAddition, + delegateCompactionToRuntime, +} from "../context-engine/delegate.js"; export { onDiagnosticEvent } from "../infra/diagnostic-events.js";