@h-rig/memory-plugin 0.0.6-alpha.156

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ import { type MemoryDb, type MemoryEventInput, type MemoryEventRow, type MemoryItemRow } from "@rig/contracts";
2
+ export declare function openMemoryDb(dbPath: string): Promise<MemoryDb>;
3
+ export declare function applyMemoryEvent(db: MemoryDb, event: MemoryEventInput): Promise<void>;
4
+ export declare function setMemoryItemEmbedding(db: MemoryDb, canonicalKey: string, embedding: number[]): Promise<void>;
5
+ export declare function getMemoryItemByKey(db: MemoryDb, canonicalKey: string): Promise<MemoryItemRow | null>;
6
+ export declare function listActiveMemoryItems(db: MemoryDb): Promise<MemoryItemRow[]>;
7
+ export declare function hasMemoryEvent(db: MemoryDb, eventId: string): Promise<boolean>;
8
+ export declare function listMemoryEvents(db: MemoryDb): Promise<MemoryEventRow[]>;