diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-10-28 21:40:13 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-10-28 21:40:13 +1000 |
| commit | 1e892b09b46de9908ddbdc895031895101313a26 (patch) | |
| tree | 5e3316e036a538473eeb662fbcde1c7eb55b7123 /src/marlin.agents.shell/LocalInstanceService.cs | |
| parent | 38a050c8151b9894c62b2d49ef482807412ea98c (diff) | |
refactor: initial artifact cleanup and implementationmain
Diffstat (limited to 'src/marlin.agents.shell/LocalInstanceService.cs')
| -rw-r--r-- | src/marlin.agents.shell/LocalInstanceService.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/marlin.agents.shell/LocalInstanceService.cs b/src/marlin.agents.shell/LocalInstanceService.cs new file mode 100644 index 0000000..d0d2521 --- /dev/null +++ b/src/marlin.agents.shell/LocalInstanceService.cs @@ -0,0 +1,13 @@ +using marlin.core.contracts; +using ProtoBuf.Grpc; + +public class LocalInstanceService : IInstanceService +{ + public async Task SendLogEvent(LogEventRequest request, CallContext context = default) + { + TextWriter writer = request.Error ? Console.Error : Console.Out; + await writer.WriteLineAsync(request.Message); + } + + public Task SendStatusUpdate(StatusUpdateRequest request, CallContext context = default) => Task.CompletedTask; +}
\ No newline at end of file |
