@hermespilot/link 0.8.1-beta.2 → 0.8.1-beta.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-ZXE3GXSC.js → chunk-KV3YWRM5.js} +1794 -642
- package/dist/cli/index.js +1 -1
- package/dist/http/app.d.ts +24 -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
|
@@ -175,12 +175,20 @@ interface LinkInputRequest {
|
|
|
175
175
|
payload: unknown;
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
|
+
interface LinkMessagePresentation {
|
|
179
|
+
type: "message" | "lifecycle_marker";
|
|
180
|
+
kind?: "model_switch" | "personality_changed" | "personality_cleared";
|
|
181
|
+
model?: string;
|
|
182
|
+
provider?: string;
|
|
183
|
+
}
|
|
178
184
|
interface LinkMessage {
|
|
179
185
|
id: string;
|
|
180
186
|
schema_version: 1;
|
|
181
187
|
conversation_id: string;
|
|
182
188
|
role: "user" | "assistant" | "tool" | "system";
|
|
183
189
|
status: "queued" | "completed" | "streaming" | "failed" | "cancelled";
|
|
190
|
+
visibility?: "visible" | "internal";
|
|
191
|
+
presentation?: LinkMessagePresentation;
|
|
184
192
|
run_id?: string;
|
|
185
193
|
client_message_id?: string;
|
|
186
194
|
created_at: string;
|
|
@@ -419,6 +427,7 @@ interface MessageAttachmentInput {
|
|
|
419
427
|
interface ConversationMessagesPageOptions {
|
|
420
428
|
limit?: number;
|
|
421
429
|
beforeMessageId?: string;
|
|
430
|
+
syncHermes?: boolean;
|
|
422
431
|
}
|
|
423
432
|
interface SendMessageResult {
|
|
424
433
|
conversation_id: string;
|
|
@@ -550,6 +559,18 @@ interface HermesSessionSyncResult {
|
|
|
550
559
|
message: string;
|
|
551
560
|
}>;
|
|
552
561
|
}
|
|
562
|
+
interface HermesConversationMessageSyncResult {
|
|
563
|
+
conversation_id: string;
|
|
564
|
+
hermes_session_ids: string[];
|
|
565
|
+
appended_count: number;
|
|
566
|
+
changed: boolean;
|
|
567
|
+
last_event_seq?: number;
|
|
568
|
+
errors: Array<{
|
|
569
|
+
profile: string;
|
|
570
|
+
session_id: string;
|
|
571
|
+
message: string;
|
|
572
|
+
}>;
|
|
573
|
+
}
|
|
553
574
|
|
|
554
575
|
interface ImportMediaReferencesResult {
|
|
555
576
|
conversation_id: string;
|
|
@@ -641,6 +662,7 @@ declare class ConversationService {
|
|
|
641
662
|
appInstanceId?: string;
|
|
642
663
|
}): Promise<void>;
|
|
643
664
|
syncHermesSessions(): Promise<HermesSessionSyncResult>;
|
|
665
|
+
syncHermesConversationMessages(conversationId: string): Promise<HermesConversationMessageSyncResult>;
|
|
644
666
|
deliverStagedFiles(stagingDir: string): Promise<ImportMediaReferencesResult>;
|
|
645
667
|
deliverFilesFromTool(input: {
|
|
646
668
|
profile?: string;
|
|
@@ -676,6 +698,8 @@ declare class ConversationService {
|
|
|
676
698
|
scope: 'conversation';
|
|
677
699
|
runtime: ConversationRuntimeMetadata;
|
|
678
700
|
last_event_seq: number;
|
|
701
|
+
marker_message?: LinkMessage;
|
|
702
|
+
marker_event_seq?: number;
|
|
679
703
|
}>;
|
|
680
704
|
setConversationProfile(conversationId: string, profileName: string): Promise<{
|
|
681
705
|
conversation_id: string;
|
package/dist/http/app.js
CHANGED