1
0

feat: introduce a background daemon service for persistent operation and inter-process communication.

This commit is contained in:
2026-02-28 12:32:03 +01:00
parent 77bc1d4ee5
commit 75a6d20e0d
7 changed files with 322 additions and 150 deletions

View File

@@ -23,6 +23,11 @@ public class Program
toggleCmd.SetHandler(ToggleCommand.ExecuteAsync, pipeOption, copyOption, verboseOption);
rootCommand.AddCommand(toggleCmd);
// Daemon Command
var daemonCmd = new Command("daemon", "Starts the background background service");
daemonCmd.SetHandler(Toak.Core.DaemonService.StartAsync, verboseOption);
rootCommand.AddCommand(daemonCmd);
// Discard Command
var discardCmd = new Command("discard", "Abort current recording without transcribing");
discardCmd.AddOption(pipeOption);