Skip to content

Open-source, local-first AI agent for real work.

861 B
Raw Blame

@vetta/runtime-storage

Platform-neutral conversation storage contracts, errors, and persisted record schemas.

The package deliberately contains no filesystem, process, database, Electron, or browser I/O. Platform runtimes implement these contracts. The shared Node implementation is published by @vetta/runtime-node and selected by @vetta/runtime-desktop or other Node hosts.

Main Exports

  • ConversationRepository, ConversationContinuationStore, and ConversationPersistence
  • ConversationOwnershipManager and ConversationOwnershipLease
  • stable storage errors and error codes
  • persisted conversation schema versions

Repository and document types currently preserve their runtime-core structural contracts during migration. Their physical ownership will be inverted after all concrete adapters have moved out of the protocol packages.