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,