refactor: move message received hook into event binding controller

This commit is contained in:
Youzini-afk
2026-03-29 17:24:57 +08:00
parent 899216db62
commit 33afa996aa
3 changed files with 57 additions and 30 deletions

View File

@@ -48,6 +48,7 @@ import {
writeChatMetadataPatch,
writeGraphShadowSnapshot,
} from "../graph-persistence.js";
import { onMessageReceivedController } from "../event-binding.js";
const moduleDir = path.dirname(fileURLToPath(import.meta.url));
const indexPath = path.resolve(moduleDir, "../index.js");