From d9ef3ecdb6d3e7115d89af1863aec0f6691534bc Mon Sep 17 00:00:00 2001 From: flemming-it Date: Sat, 18 Jul 2026 00:17:20 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20listInvocationsFull=20=E2=80=94=20monit?= =?UTF-8?q?or=20payload=20incl.=20detachedEnabled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: flemming-it --- lib/src/hub_client.dart | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/src/hub_client.dart b/lib/src/hub_client.dart index 1154e08..822333c 100644 --- a/lib/src/hub_client.dart +++ b/lib/src/hub_client.dart @@ -117,6 +117,7 @@ typedef SubmitResponse = pb.SubmitResponse; typedef SubmitStreamEvent = pb.SubmitStreamEvent; typedef InvocationStatus = pb.InvocationStatus; typedef InvocationEntry = pb.InvocationEntry; +typedef InvocationList = pb.InvocationList; /// Typed client for the F∆I Hub gRPC surface. Construct once, /// reuse for the process lifetime, call [close] on shutdown. @@ -958,6 +959,12 @@ class HubClient { return r.invocations; } + /// The full detached-runs monitor payload: tracked invocations + /// plus [InvocationList.detachedEnabled], so a UI can distinguish + /// "feature off" from "on, but no runs yet". + Future listInvocationsFull() => + _hub.listInvocations(Empty()); + pb.SubmitRequest _buildSubmitRequest({ required String flowYaml, required Map textInputs,