mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-18 01:00:28 +00:00
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:
parent
753cb935f1
commit
c0bba5c38f
10 changed files with 47 additions and 29 deletions
19
packages/coding-agent/src/core/gateway/index.ts
Normal file
19
packages/coding-agent/src/core/gateway/index.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
export {
|
||||
createGatewaySessionManager,
|
||||
GatewayRuntime,
|
||||
getActiveGatewayRuntime,
|
||||
sanitizeSessionKey,
|
||||
setActiveGatewayRuntime,
|
||||
} from "./runtime.js";
|
||||
export type {
|
||||
ChannelStatus,
|
||||
GatewayConfig,
|
||||
GatewayMessageRequest,
|
||||
GatewayMessageResult,
|
||||
GatewayRuntimeOptions,
|
||||
GatewaySessionFactory,
|
||||
GatewaySessionSnapshot,
|
||||
HistoryMessage,
|
||||
HistoryPart,
|
||||
ModelInfo,
|
||||
} from "./runtime.js";
|
||||
Loading…
Add table
Add a link
Reference in a new issue