chore(plugins): remove opik investigation checkpoints

This commit is contained in:
Vincent Koc
2026-03-23 01:17:16 -07:00
parent db5369f5f9
commit 6c60a3773a
6 changed files with 6 additions and 65 deletions

View File

@@ -28,16 +28,6 @@ const state: RegistryState = (() => {
})();
export function setActivePluginRegistry(registry: PluginRegistry, cacheKey?: string) {
if (process.env.OPENCLAW_PLUGIN_CHECKPOINTS === "1") {
const stack = new Error().stack
?.split("\n")
.slice(2, 5)
.map((line) => line.trim())
.join(" | ");
console.warn(
`[plugins][checkpoints] activate registry key=${cacheKey ?? "none"} plugins=${registry.plugins.length} typedHooks=${registry.typedHooks.length}${stack ? ` caller=${stack}` : ""}`,
);
}
state.registry = registry;
if (!state.httpRouteRegistryPinned) {
state.httpRouteRegistry = registry;