@hermespilot/link 0.8.2 → 0.8.4
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-SQ2VMFNE.js → chunk-VVHNBT4E.js} +1086 -421
- package/dist/cli/index.js +1 -1
- package/dist/http/app.d.ts +27 -5
- 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
|
@@ -12,6 +12,8 @@ interface ConversationSummary {
|
|
|
12
12
|
title: string;
|
|
13
13
|
display_title?: string;
|
|
14
14
|
title_source?: ConversationTitleSource;
|
|
15
|
+
category?: ConversationCategory;
|
|
16
|
+
is_cron?: boolean;
|
|
15
17
|
workspace_id?: string | null;
|
|
16
18
|
created_at: string;
|
|
17
19
|
updated_at: string;
|
|
@@ -31,6 +33,7 @@ interface ConversationSummary {
|
|
|
31
33
|
content_preview: string;
|
|
32
34
|
} | null;
|
|
33
35
|
}
|
|
36
|
+
type ConversationCategory = "chat" | "cron";
|
|
34
37
|
interface ConversationListPageInfo {
|
|
35
38
|
limit: number;
|
|
36
39
|
has_more: boolean;
|
|
@@ -350,8 +353,21 @@ interface LinkRun {
|
|
|
350
353
|
usage_percent?: number;
|
|
351
354
|
context_source?: "explicit" | "probe" | "estimated" | "native";
|
|
352
355
|
};
|
|
356
|
+
hermes_message_watermark?: LinkRunHermesMessageWatermark;
|
|
353
357
|
context_compression?: ContextCompressionMetadata;
|
|
354
358
|
}
|
|
359
|
+
interface LinkRunHermesMessageWatermark {
|
|
360
|
+
before?: LinkRunHermesMessageWatermarkPoint;
|
|
361
|
+
after?: LinkRunHermesMessageWatermarkPoint;
|
|
362
|
+
}
|
|
363
|
+
interface LinkRunHermesMessageWatermarkPoint {
|
|
364
|
+
source: "state_db" | "jsonl" | "none";
|
|
365
|
+
session_id?: string;
|
|
366
|
+
message_count: number;
|
|
367
|
+
max_message_id?: number;
|
|
368
|
+
max_timestamp?: number;
|
|
369
|
+
captured_at: string;
|
|
370
|
+
}
|
|
355
371
|
interface ContextCompressionMetadata {
|
|
356
372
|
operation_id: string;
|
|
357
373
|
generation: number;
|
|
@@ -543,12 +559,21 @@ interface ConversationWorkspace {
|
|
|
543
559
|
updated_at: string;
|
|
544
560
|
}
|
|
545
561
|
|
|
562
|
+
type ConversationListCategory = 'all' | 'chat' | 'cron';
|
|
563
|
+
interface ConversationListPageOptions {
|
|
564
|
+
limit?: number;
|
|
565
|
+
cursor?: string;
|
|
566
|
+
workspace?: ConversationWorkspaceFilter;
|
|
567
|
+
category?: ConversationListCategory;
|
|
568
|
+
}
|
|
569
|
+
|
|
546
570
|
interface HermesSessionSyncResult {
|
|
547
571
|
scanned_profiles: number;
|
|
548
572
|
scanned_sessions: number;
|
|
549
573
|
eligible_sessions: number;
|
|
550
574
|
imported_count: number;
|
|
551
575
|
reprojected_count: number;
|
|
576
|
+
hermes_archived_count: number;
|
|
552
577
|
skipped_existing: number;
|
|
553
578
|
skipped_hidden: number;
|
|
554
579
|
skipped_empty_transcript: number;
|
|
@@ -563,6 +588,7 @@ interface HermesConversationMessageSyncResult {
|
|
|
563
588
|
conversation_id: string;
|
|
564
589
|
hermes_session_ids: string[];
|
|
565
590
|
appended_count: number;
|
|
591
|
+
removed_duplicate_count?: number;
|
|
566
592
|
changed: boolean;
|
|
567
593
|
last_event_seq?: number;
|
|
568
594
|
errors: Array<{
|
|
@@ -604,11 +630,7 @@ declare class ConversationService {
|
|
|
604
630
|
private withConversationLock;
|
|
605
631
|
private restoreArchivedConversationForUserContinuationLocked;
|
|
606
632
|
listConversations(): Promise<ConversationSummary[]>;
|
|
607
|
-
listConversationPage(input?:
|
|
608
|
-
limit?: number;
|
|
609
|
-
cursor?: string;
|
|
610
|
-
workspace?: ConversationWorkspaceFilter;
|
|
611
|
-
}): Promise<ConversationListPage>;
|
|
633
|
+
listConversationPage(input?: ConversationListPageOptions): Promise<ConversationListPage>;
|
|
612
634
|
searchConversationPage(input?: {
|
|
613
635
|
limit?: number;
|
|
614
636
|
cursor?: string;
|
package/dist/http/app.js
CHANGED