From aa1688140a6bf29790ce8fa545d4aca444389f35 Mon Sep 17 00:00:00 2001 From: chenhang Date: Wed, 10 Jun 2026 17:44:35 +0800 Subject: [PATCH] refactor: move websocket and message queue to core/net Reorganize project structure by relocating chat-websocket and message-queue modules from `src/integrations/` to `src/core/net/` to better reflect their networking purpose and improve code organization. --- src/{integrations => core/net}/chat-websocket.ts | 0 src/{integrations => core/net}/message-queue.ts | 0 src/integrations/index.ts | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{integrations => core/net}/chat-websocket.ts (100%) rename src/{integrations => core/net}/message-queue.ts (100%) diff --git a/src/integrations/chat-websocket.ts b/src/core/net/chat-websocket.ts similarity index 100% rename from src/integrations/chat-websocket.ts rename to src/core/net/chat-websocket.ts diff --git a/src/integrations/message-queue.ts b/src/core/net/message-queue.ts similarity index 100% rename from src/integrations/message-queue.ts rename to src/core/net/message-queue.ts diff --git a/src/integrations/index.ts b/src/integrations/index.ts index 15a02b09..f7885419 100644 --- a/src/integrations/index.ts +++ b/src/integrations/index.ts @@ -3,6 +3,6 @@ */ export * from "./browser-detect"; -export * from "./chat-websocket"; +export * from "../core/net/chat-websocket"; export * from "./media-recorder"; -export * from "./message-queue"; +export * from "../core/net/message-queue";