Prompt history: list preview shows the message as written, not the engine's time line (#660)

Version 0.1.13.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Richard
2026-09-19 15:36:55 +02:00
co-authored by Claude Opus 5
parent 5adf4c1ca6
commit 996330a77e
6 changed files with 19 additions and 6 deletions
@@ -64,6 +64,10 @@ public sealed record RunTranscript
public DateTime? CompletedAt { get; init; }
public string Status { get; init; } = "";
public string? SystemPromptHash { get; init; }
/// <summary>The task or message as written, for lists. Falls back to the first user entry.</summary>
public string? PromptPreview { get; init; }
public IReadOnlyList<TranscriptEntry> Entries { get; init; } = [];
/// <summary>Characters stored, after clipping.</summary>