Add meeting workflow automation

This commit is contained in:
2026-05-27 12:55:18 +02:00
parent e85274829a
commit b114071957
29 changed files with 1703 additions and 12 deletions
@@ -107,6 +107,30 @@ public sealed class MarkdownMeetingArtifactStore : IMeetingArtifactStore
artifacts.AssistantContextPath);
}
public async Task AppendAssistantContextAsync(
MeetingSessionArtifacts artifacts,
string content,
CancellationToken cancellationToken)
{
if (string.IsNullOrWhiteSpace(content))
{
return;
}
Directory.CreateDirectory(Path.GetDirectoryName(artifacts.AssistantContextPath)!);
var prefix = File.Exists(artifacts.AssistantContextPath) &&
new FileInfo(artifacts.AssistantContextPath).Length > 0
? Environment.NewLine
: "";
await File.AppendAllTextAsync(
artifacts.AssistantContextPath,
prefix + content.TrimEnd() + Environment.NewLine,
cancellationToken);
logger.LogInformation(
"Appended automation context to assistant context note {AssistantContextPath}",
artifacts.AssistantContextPath);
}
private static string Render(
MeetingSessionArtifacts artifacts,
MeetingNote meetingNote,