feat: update Makelore modules and conversations
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-07-31 10:08:41 +08:00
parent b8ca3f8eea
commit 80e8386fa6
175 changed files with 8036 additions and 10581 deletions

View File

@@ -78,6 +78,20 @@ describe('formatVisibleChatTranscript', () => {
expect(markdown).not.toContain('2026-07-18');
});
it('defaults the explicit answer-only mode to user messages and the final answer', () => {
const markdown = formatVisibleChatTranscript(messages, {
showThinking: true,
showTimestamps: false,
includeExecution: false,
expandedToolIds: new Set(),
});
expect(markdown).toContain('Inspect the attachment.');
expect(markdown).toContain('Finished.');
expect(markdown).not.toContain('Private chain fragment');
expect(markdown).not.toContain('Tool: read');
});
it('redacts alternate binary encodings, file URLs, IPv6 loopback, and additional absolute roots', () => {
const base64Url = `${'a'.repeat(32)}-${'b'.repeat(32)}_${'c'.repeat(8)}`;
const wrappedBase64 = `${'A'.repeat(40)}\n${'B'.repeat(40)}`;