Archive meeting workflow and screenshot changes

This commit is contained in:
2026-05-27 12:55:19 +02:00
parent 2422236ef7
commit 12832dde84
48 changed files with 3041 additions and 43 deletions
@@ -130,7 +130,7 @@ public sealed class MeetingSummaryTools
? await File.ReadAllTextAsync(artifacts.AssistantContextPath)
: "";
var (frontmatter, body) = MeetingArtifactFrontmatterRenderer.Split(existing);
var updatedBody = ApplyLineEdit(body, content, editMode);
var updatedBody = ApplyLineEdit(body, StripAccidentalFrontmatter(content), editMode);
var updated = string.IsNullOrWhiteSpace(frontmatter)
? updatedBody
: "---" + Environment.NewLine + frontmatter + Environment.NewLine + "---" + Environment.NewLine + Environment.NewLine + updatedBody;
@@ -139,6 +139,12 @@ public sealed class MeetingSummaryTools
return artifacts.AssistantContextPath;
}
private static string StripAccidentalFrontmatter(string content)
{
var document = MarkdownDocumentParser.SplitOptional(content);
return document.HasFrontmatter ? document.Body : content;
}
public async Task<string> ListProjects()
{
var projects = await GetBoundProjectsAsync();