@hermespilot/link 0.6.4 → 0.6.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.
@@ -62,6 +62,22 @@ interface ConversationMessagesPageInfo {
62
62
  oldest_message_id: string | null;
63
63
  newest_message_id: string | null;
64
64
  }
65
+ type ConversationEventStreamReason = 'terminal' | 'active_run' | 'queued_run' | 'recovering' | 'requires_user_action' | 'unknown';
66
+ interface ConversationEventStreamRunSummary {
67
+ id: string;
68
+ status: LinkRun['status'];
69
+ assistant_message_id: string;
70
+ requires_user_action: boolean;
71
+ updated_at: string;
72
+ }
73
+ interface ConversationEventStreamState {
74
+ should_subscribe: boolean;
75
+ reason: ConversationEventStreamReason;
76
+ has_active_runs: boolean;
77
+ requires_user_action: boolean;
78
+ active_runs: ConversationEventStreamRunSummary[];
79
+ latest_runs: ConversationEventStreamRunSummary[];
80
+ }
65
81
  interface LinkMessagePart {
66
82
  type: 'text' | 'image' | 'file' | 'audio' | 'video' | 'unsupported';
67
83
  text?: string;
@@ -455,6 +471,7 @@ declare class ConversationService {
455
471
  last_event_seq: number;
456
472
  runtime: ConversationRuntimeMetadata;
457
473
  page: ConversationMessagesPageInfo;
474
+ event_stream: ConversationEventStreamState;
458
475
  }>;
459
476
  setConversationModel(conversationId: string, modelId: string): Promise<{
460
477
  conversation_id: string;
package/dist/http/app.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createApp
3
- } from "../chunk-FCCY3M5Z.js";
3
+ } from "../chunk-4OXUJNO6.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.6.4",
3
+ "version": "0.6.6",
4
4
  "private": false,
5
5
  "description": "Hermes Link companion service and CLI for connecting hermes-agent through HermesPilot",
6
6
  "license": "MIT",