refactor: move memory plugin state into plugin host

This commit is contained in:
Peter Steinberger
2026-03-26 22:14:33 +00:00
parent 00aedb3414
commit 1619090693
13 changed files with 211 additions and 229 deletions

View File

@@ -8,13 +8,12 @@ import type {
} from "../gateway/server-methods/types.js";
import { registerInternalHook } from "../hooks/internal-hooks.js";
import type { HookEntry } from "../hooks/types.js";
import { registerMemoryFlushPlanResolver } from "../memory/flush-plan.js";
import { registerMemoryPromptSection } from "../memory/prompt-section.js";
import { resolveUserPath } from "../utils.js";
import { registerPluginCommand, validatePluginCommandDefinition } from "./command-registration.js";
import { normalizePluginHttpPath } from "./http-path.js";
import { findOverlappingPluginHttpRoute } from "./http-route-overlap.js";
import { registerPluginInteractiveHandler } from "./interactive.js";
import { registerMemoryFlushPlanResolver, registerMemoryPromptSection } from "./memory-state.js";
import { normalizeRegisteredProvider } from "./provider-validation.js";
import { createEmptyPluginRegistry } from "./registry-empty.js";
import { withPluginRuntimePluginIdScope } from "./runtime/gateway-request-scope.js";