2026-08-31 20:00:12 +03:00
|
|
|
import { stores } from "./stores.ts";
|
|
|
|
|
import { titleFromPrompt } from "../core/contracts.ts";
|
2026-08-31 19:51:17 +03:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Server-side chat entries for the transport layer (app/api/chats*,
|
2026-08-31 20:00:12 +03:00
|
|
|
* app/chat/[id]). Today these delegate straight to the ChatStore port; the
|
2026-08-31 19:51:17 +03:00
|
|
|
* services stage carves the real orchestration behind this same surface.
|
|
|
|
|
*/
|
|
|
|
|
|
2026-08-31 20:00:12 +03:00
|
|
|
export const { createChat, getChat, listChats } = stores.chatStore;
|
|
|
|
|
export { titleFromPrompt };
|