@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/cli/index.js CHANGED
@@ -55,7 +55,7 @@ import {
55
55
  stopDaemonProcess,
56
56
  summarizeUsageProbeEnsure,
57
57
  translate
58
- } from "../chunk-SQ2VMFNE.js";
58
+ } from "../chunk-VVHNBT4E.js";
59
59
 
60
60
  // src/cli/index.ts
61
61
  import { Command } from "commander";
@@ -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
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createApp
3
- } from "../chunk-SQ2VMFNE.js";
3
+ } from "../chunk-VVHNBT4E.js";
4
4
  export {
5
5
  createApp
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hermespilot/link",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "private": false,
5
5
  "description": "Hermes Link companion service and CLI for connecting hermes-agent through HermesPilot",
6
6
  "license": "MIT",