import { p as onDiagnosticEvent } from "../diagnostic-events-DlzT4kMZ.js";
import { i as registerContextEngine } from "../registry-DYqt7yEi.js";
import { r as assertContextEngineHostSupport } from "../host-compat-BibWlia2.js";
import { n as delegateCompactionToRuntime, t as buildMemorySystemPromptAddition } from "../delegate-y5whl85v.js";
import { o as optionalStringEnum, s as stringEnum } from "../typebox-BEeYwFAw.js";
import { r as emptyPluginConfigSchema } from "../config-schema-nMrjYIPk.js";
//#region src/context-engine/types.ts
var ContextEngineRuntimeSettingsUnavailableError = class extends Error {
	constructor(message) {
		super(message);
		this.code = "context_engine_runtime_settings_unavailable";
		this.name = "ContextEngineRuntimeSettingsUnavailableError";
	}
};
var ContextEngineRuntimeSettingsUnsupportedError = class extends Error {
	constructor(message) {
		super(message);
		this.code = "context_engine_runtime_settings_unsupported";
		this.name = "ContextEngineRuntimeSettingsUnsupportedError";
	}
};
//#endregion
export { ContextEngineRuntimeSettingsUnavailableError, ContextEngineRuntimeSettingsUnsupportedError, assertContextEngineHostSupport, buildMemorySystemPromptAddition, delegateCompactionToRuntime, emptyPluginConfigSchema, onDiagnosticEvent, optionalStringEnum, registerContextEngine, stringEnum };
