refactor: centralize gateway module and address review fixes

Move the gateway runtime files into a dedicated core/gateway module and fix follow-up issues in session deletion, history import batching, message IDs, and legacy thread parsing.

Fixes #253

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Harivansh Rathi 2026-03-07 16:53:36 -08:00
parent 753cb935f1
commit c0bba5c38f
10 changed files with 47 additions and 29 deletions

View file

@ -12,7 +12,7 @@ import {
GatewayRuntime,
type GatewaySessionFactory,
setActiveGatewayRuntime,
} from "../core/gateway-runtime.js";
} from "../core/gateway/index.js";
import type { GatewaySettings } from "../core/settings-manager.js";
/**