Move message-*.ts into messaging/ subdir (N10)
Consolidate the two runtime messaging modules under src/main/messaging/. Storage stays in database/messages.ts — that is the SQL layer and belongs with the other DB modules; messaging/ covers the dispatch/normalize runtime around it. - message-dispatch.ts -> messaging/dispatch.ts - message-normalize.ts -> messaging/normalize.ts - add messaging/index.ts barrel for future consumers (existing call sites import the concrete module path directly) - 10 call sites updated across src/main and tests
This commit is contained in:
1 parent
ec0c81b4b3
commit
557090a6a8
14 files changed
+23
-12
No files matched your search
@@ -4,7 +4,7 @@ import { tmpdir } from "node:os";
|
||||
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||
import { AppDatabase } from "../../src/main/database";
|
||||
import { createThreadIntegration } from "../../src/main/thread-integration";
|
||||
import { dispatchAgentMessage, HUMAN_SENDER_ID } from "../../src/main/message-dispatch";
|
||||
import { dispatchAgentMessage, HUMAN_SENDER_ID } from "../../src/main/messaging/dispatch";
|
||||
|
||||
const tempDirs: string[] = [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user