diff --git a/CHANGELOG.md b/CHANGELOG.md index b26162a..aec10ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ for the authoritative per-release detail. ## Unreleased +- `InvocationList.detachedEnabled`: whether the operator enabled + detached invocations — monitor UIs can distinguish "feature off" + from "on, but no runs yet". Regenerated stubs. + - `planSetup()`: guided-setup plan preview over the hub connection (the new `PlanSetup` HubAdmin RPC) — returns the assembled plan (scenario, steps, config keys) without spawning the `chain` CLI. diff --git a/lib/src/generated/chain/v1/hub.pb.dart b/lib/src/generated/chain/v1/hub.pb.dart index 265eff5..373eff9 100644 --- a/lib/src/generated/chain/v1/hub.pb.dart +++ b/lib/src/generated/chain/v1/hub.pb.dart @@ -952,9 +952,11 @@ class InvocationEntry extends $pb.GeneratedMessage { class InvocationList extends $pb.GeneratedMessage { factory InvocationList({ $core.Iterable? invocations, + $core.bool? detachedEnabled, }) { final result = create(); if (invocations != null) result.invocations.addAll(invocations); + if (detachedEnabled != null) result.detachedEnabled = detachedEnabled; return result; } @@ -973,6 +975,7 @@ class InvocationList extends $pb.GeneratedMessage { createEmptyInstance: create) ..pPM(1, _omitFieldNames ? '' : 'invocations', subBuilder: InvocationEntry.create) + ..aOB(2, _omitFieldNames ? '' : 'detachedEnabled') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -997,6 +1000,19 @@ class InvocationList extends $pb.GeneratedMessage { /// Tracked detached invocations, newest-first by start time. @$pb.TagNumber(1) $pb.PbList get invocations => $_getList(0); + + /// Whether the operator enabled detached invocations + /// (`detached.enabled`). Lets monitor UIs distinguish "feature + /// off" from "on, but no runs yet" instead of guessing (added + /// additively; absent = false on pre-1.1 hubs). + @$pb.TagNumber(2) + $core.bool get detachedEnabled => $_getBF(1); + @$pb.TagNumber(2) + set detachedEnabled($core.bool value) => $_setBool(1, value); + @$pb.TagNumber(2) + $core.bool hasDetachedEnabled() => $_has(1); + @$pb.TagNumber(2) + void clearDetachedEnabled() => $_clearField(2); } class ModuleList extends $pb.GeneratedMessage { diff --git a/lib/src/generated/chain/v1/hub.pbjson.dart b/lib/src/generated/chain/v1/hub.pbjson.dart index ecdfa75..3fc8cd5 100644 --- a/lib/src/generated/chain/v1/hub.pbjson.dart +++ b/lib/src/generated/chain/v1/hub.pbjson.dart @@ -339,13 +339,15 @@ const InvocationList$json = { '6': '.chain.v1.InvocationEntry', '10': 'invocations' }, + {'1': 'detached_enabled', '3': 2, '4': 1, '5': 8, '10': 'detachedEnabled'}, ], }; /// Descriptor for `InvocationList`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List invocationListDescriptor = $convert.base64Decode( 'Cg5JbnZvY2F0aW9uTGlzdBI7CgtpbnZvY2F0aW9ucxgBIAMoCzIZLmNoYWluLnYxLkludm9jYX' - 'Rpb25FbnRyeVILaW52b2NhdGlvbnM='); + 'Rpb25FbnRyeVILaW52b2NhdGlvbnMSKQoQZGV0YWNoZWRfZW5hYmxlZBgCIAEoCFIPZGV0YWNo' + 'ZWRFbmFibGVk'); @$core.Deprecated('Use moduleListDescriptor instead') const ModuleList$json = {