Conversation and Summary Store (store/index.ts)

lossless-claw-enhanced · src/store/index.ts · typescript · MIT
database, chat, lang:typescript, tag:store, tag:summary, tag:re-export

Central store module re-exporting ConversationStore and SummaryStore along with their types for managing conversation messages, summaries, and large file records. Reuse when building components that need unified access to conversation and summary data.

// Source: https://github.com/win4r/lossless-claw-enhanced | License: MIT | Copyright 2026 Josh Lehman / Martian Engineering
// Provided via justclaw.it.com; keep this notice with the code.
export { ConversationStore } from "./conversation-store.js";
export type {
  ConversationId,
  MessageId,
  SummaryId,
  MessageRole,
  MessagePartType,
  MessageRecord,
  MessagePartRecord,
  ConversationRecord,
  CreateMessageInput,
  CreateMessagePartInput,
  CreateConversationInput,
  MessageSearchInput,
  MessageSearchResult,
} from "./conversation-store.js";

export { SummaryStore } from "./summary-store.js";
export type {
  SummaryKind,
  ContextItemType,
  CreateSummaryInput,
  SummaryRecord,
  ContextItemRecord,
  SummarySearchInput,
  SummarySearchResult,
  CreateLargeFileInput,
  LargeFileRec

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key