@hermespilot/link 0.8.1-beta.1 → 0.8.1-beta.3
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-WYVLVDXH.js → chunk-IJSMGOPK.js} +1801 -391
- package/dist/cli/index.js +3 -3
- package/dist/http/app.d.ts +14 -0
- package/dist/http/app.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
stopDaemonProcess,
|
|
56
56
|
summarizeUsageProbeEnsure,
|
|
57
57
|
translate
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-IJSMGOPK.js";
|
|
59
59
|
|
|
60
60
|
// src/cli/index.ts
|
|
61
61
|
import { Command } from "commander";
|
|
@@ -1259,7 +1259,7 @@ program.command("pair").description(helpText("pair.description")).action(async (
|
|
|
1259
1259
|
})
|
|
1260
1260
|
);
|
|
1261
1261
|
} finally {
|
|
1262
|
-
closeTuiGatewayBackends();
|
|
1262
|
+
await closeTuiGatewayBackends({ paths });
|
|
1263
1263
|
}
|
|
1264
1264
|
try {
|
|
1265
1265
|
const availability = await ensureHermesApiServerAvailable({
|
|
@@ -1504,7 +1504,7 @@ program.command("doctor").option("--install", helpText("doctor.installOnly")).op
|
|
|
1504
1504
|
})
|
|
1505
1505
|
);
|
|
1506
1506
|
} finally {
|
|
1507
|
-
closeTuiGatewayBackends();
|
|
1507
|
+
await closeTuiGatewayBackends({ paths });
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
package/dist/http/app.d.ts
CHANGED
|
@@ -419,6 +419,7 @@ interface MessageAttachmentInput {
|
|
|
419
419
|
interface ConversationMessagesPageOptions {
|
|
420
420
|
limit?: number;
|
|
421
421
|
beforeMessageId?: string;
|
|
422
|
+
syncHermes?: boolean;
|
|
422
423
|
}
|
|
423
424
|
interface SendMessageResult {
|
|
424
425
|
conversation_id: string;
|
|
@@ -550,6 +551,18 @@ interface HermesSessionSyncResult {
|
|
|
550
551
|
message: string;
|
|
551
552
|
}>;
|
|
552
553
|
}
|
|
554
|
+
interface HermesConversationMessageSyncResult {
|
|
555
|
+
conversation_id: string;
|
|
556
|
+
hermes_session_ids: string[];
|
|
557
|
+
appended_count: number;
|
|
558
|
+
changed: boolean;
|
|
559
|
+
last_event_seq?: number;
|
|
560
|
+
errors: Array<{
|
|
561
|
+
profile: string;
|
|
562
|
+
session_id: string;
|
|
563
|
+
message: string;
|
|
564
|
+
}>;
|
|
565
|
+
}
|
|
553
566
|
|
|
554
567
|
interface ImportMediaReferencesResult {
|
|
555
568
|
conversation_id: string;
|
|
@@ -641,6 +654,7 @@ declare class ConversationService {
|
|
|
641
654
|
appInstanceId?: string;
|
|
642
655
|
}): Promise<void>;
|
|
643
656
|
syncHermesSessions(): Promise<HermesSessionSyncResult>;
|
|
657
|
+
syncHermesConversationMessages(conversationId: string): Promise<HermesConversationMessageSyncResult>;
|
|
644
658
|
deliverStagedFiles(stagingDir: string): Promise<ImportMediaReferencesResult>;
|
|
645
659
|
deliverFilesFromTool(input: {
|
|
646
660
|
profile?: string;
|
package/dist/http/app.js
CHANGED