@hasna/assistants 1.1.4 → 1.1.6
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/cli.js +5360 -2077
- package/dist/lib.d.ts +4 -2
- package/dist/lib.js +2415 -417
- package/package.json +1 -2
package/dist/lib.d.ts
CHANGED
|
@@ -192,12 +192,14 @@ export interface SavedSessionInfo {
|
|
|
192
192
|
startedAt: string;
|
|
193
193
|
updatedAt: string;
|
|
194
194
|
messageCount: number;
|
|
195
|
+
assistantId?: string | null;
|
|
195
196
|
}
|
|
196
197
|
|
|
197
198
|
export declare const SessionStorage: {
|
|
198
199
|
saveSession(id: string, data: SessionData): void;
|
|
199
|
-
loadSession(id: string): SessionData | null;
|
|
200
|
-
listSessions(): SavedSessionInfo[];
|
|
200
|
+
loadSession(id: string, assistantId?: string | null): SessionData | null;
|
|
201
|
+
listSessions(assistantId?: string | null): SavedSessionInfo[];
|
|
202
|
+
listAllSessions(): SavedSessionInfo[];
|
|
201
203
|
deleteSession(id: string): void;
|
|
202
204
|
getLatestSession(): SavedSessionInfo | null;
|
|
203
205
|
};
|