@aigne/core 0.4.197 → 0.4.199

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.
@@ -112,11 +112,9 @@ export type MemoryActions<T> = {
112
112
  } | {
113
113
  action: 'delete';
114
114
  inputs: {
115
- memoryId: string;
116
- };
117
- outputs: {
118
- result: MemoryItem<T> | null;
115
+ filter: string | string[] | Record<string, any>;
119
116
  };
117
+ outputs: {};
120
118
  } | {
121
119
  action: 'reset';
122
120
  inputs: {};
@@ -168,7 +166,7 @@ export declare abstract class Memory<T, C = undefined> extends Runnable<MemoryAc
168
166
  }>['outputs']>;
169
167
  abstract delete(memoryId: Extract<MemoryActions<T>, {
170
168
  action: 'delete';
171
- }>['inputs']['memoryId']): Promise<Extract<MemoryActions<T>, {
169
+ }>['inputs']['filter']): Promise<Extract<MemoryActions<T>, {
172
170
  action: 'delete';
173
171
  }>['outputs']>;
174
172
  abstract reset(): Promise<void>;