Add app source and tests

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
alvocool
2026-10-11 10:15:30 +03:00
parent 7e246255c2
commit 38881d1fe1
135 changed files with 21057 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
abstract class ConnectLogs {
/// A fetch finished (the lines themselves arrive on the log stream).
void onLogsFetched();
/// The unit's current systemd status, e.g. `active (running)` or `no-unit`.
void onStatusLoaded(String status);
/// A start / stop / restart finished, with the message to surface.
void onControlFinished(String message);
/// Live tail started or stopped.
void onFollowChanged(bool following);
/// The filtered log text was written to [path], or cancelled when null.
void onLogsSaved(String? path);
}