@effect-agent/storage-memory 0.1.0-beta.38 → 0.1.0-beta.39

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.
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { ConversationStore, ScheduleStore, SubmissionLedger } from "@effect-agent/session";
1
+ import { ScheduleStore, SourcePartition, SubmissionLedger, SubscriptionError, SubscriptionStore, ThreadStore } from "@effect-agent/thread";
2
2
  import { Crypto, Effect, Layer, Option } from "effect";
3
3
  //#region src/memory-ledger.d.ts
4
4
  /** Construction options for the in-memory reference SubmissionLedger. */
@@ -22,13 +22,16 @@ declare const MemorySubmissionLedgerLive: Layer.Layer<SubmissionLedger>;
22
22
  declare const memoryScheduleStoreLayer: () => Layer.Layer<ScheduleStore>;
23
23
  declare const MemoryScheduleStoreLive: Layer.Layer<ScheduleStore>;
24
24
  //#endregion
25
+ //#region src/memory-subscription-store.d.ts
26
+ declare const memorySubscriptionStoreLayer: (partition: SourcePartition) => Layer.Layer<SubscriptionStore, SubscriptionError>;
27
+ //#endregion
25
28
  //#region src/memory-storage.d.ts
26
- declare const MemoryConversationStoreLive: Layer.Layer<ConversationStore, never, Crypto.Crypto>;
29
+ declare const MemoryThreadStoreLive: Layer.Layer<ThreadStore, never, Crypto.Crypto>;
27
30
  /**
28
- * In-memory canonical Conversation persistence. Durable accepted work is served by the separate
29
- * SubmissionLedger port; this Layer deliberately provides only the ConversationStore.
31
+ * In-memory canonical Thread persistence. Durable accepted work is served by the separate
32
+ * SubmissionLedger port; this Layer deliberately provides only the ThreadStore.
30
33
  */
31
- declare const MemoryStorageLive: Layer.Layer<ConversationStore, never, Crypto.Crypto>;
34
+ declare const MemoryStorageLive: Layer.Layer<ThreadStore, never, Crypto.Crypto>;
32
35
  //#endregion
33
- export { MemoryConversationStoreLive, MemoryScheduleStoreLive, MemoryStorageLive, MemorySubmissionLedgerLive, MemorySubmissionLedgerOptions, memoryScheduleStoreLayer, memorySubmissionLedgerLayer };
36
+ export { MemoryScheduleStoreLive, MemoryStorageLive, MemorySubmissionLedgerLive, MemorySubmissionLedgerOptions, MemoryThreadStoreLive, memoryScheduleStoreLayer, memorySubmissionLedgerLayer, memorySubscriptionStoreLayer };
34
37
  //# sourceMappingURL=index.d.mts.map