@hermespilot/link 0.3.4 → 0.3.5
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/{chunk-FPMMWYXK.js → chunk-ZQO7TU7G.js} +1713 -488
- package/dist/cli/index.js +1 -1
- package/dist/http/app.d.ts +18 -0
- package/dist/http/app.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
package/dist/http/app.d.ts
CHANGED
|
@@ -321,6 +321,22 @@ interface CancelRunResult {
|
|
|
321
321
|
}
|
|
322
322
|
type ConversationEventListener = (event: ConversationEvent) => void;
|
|
323
323
|
|
|
324
|
+
interface HermesSessionSyncResult {
|
|
325
|
+
scanned_profiles: number;
|
|
326
|
+
scanned_sessions: number;
|
|
327
|
+
eligible_sessions: number;
|
|
328
|
+
imported_count: number;
|
|
329
|
+
reprojected_count: number;
|
|
330
|
+
skipped_existing: number;
|
|
331
|
+
skipped_hidden: number;
|
|
332
|
+
skipped_deleted: number;
|
|
333
|
+
skipped_over_limit: number;
|
|
334
|
+
errors: Array<{
|
|
335
|
+
profile: string;
|
|
336
|
+
message: string;
|
|
337
|
+
}>;
|
|
338
|
+
}
|
|
339
|
+
|
|
324
340
|
interface ImportMediaReferencesResult {
|
|
325
341
|
conversation_id: string;
|
|
326
342
|
run_id: string;
|
|
@@ -346,6 +362,7 @@ declare class ConversationService {
|
|
|
346
362
|
private readonly orchestration;
|
|
347
363
|
private readonly queries;
|
|
348
364
|
private readonly runLifecycle;
|
|
365
|
+
private hermesSessionSyncPromise;
|
|
349
366
|
constructor(paths: RuntimePaths, logger: FileLogger);
|
|
350
367
|
private withConversationLock;
|
|
351
368
|
listConversations(): Promise<ConversationSummary[]>;
|
|
@@ -368,6 +385,7 @@ declare class ConversationService {
|
|
|
368
385
|
runAt?: string;
|
|
369
386
|
}): Promise<void>;
|
|
370
387
|
syncCronDeliveries(): Promise<void>;
|
|
388
|
+
syncHermesSessions(): Promise<HermesSessionSyncResult>;
|
|
371
389
|
deliverStagedFiles(stagingDir: string): Promise<ImportMediaReferencesResult>;
|
|
372
390
|
getMessages(conversationId: string, options?: ConversationMessagesPageOptions): Promise<{
|
|
373
391
|
messages: LinkMessage[];
|
package/dist/http/app.js
CHANGED