From bb18c1fcfc6caecf1f1f4b14c9836c9b871f1ea2 Mon Sep 17 00:00:00 2001 From: flemming-it Date: Thu, 28 May 2026 12:06:58 +0200 Subject: [PATCH] chore(proto): regenerate Dart bindings for StoreEntry.source_kind Hub proto (platform 17998ce) added a `source_kind` field on StoreEntry mirroring the same field on CapabilityEntry. Dart SDK surfaces it for Studio's per-entry transport badge. No hand-written code; only the regenerated bindings under lib/src/generated/. Signed-off-by: flemming-it --- lib/src/generated/fai/v1/hub.pb.dart | 25 ++++++++++++++++++++++++ lib/src/generated/fai/v1/hub.pbjson.dart | 4 +++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/lib/src/generated/fai/v1/hub.pb.dart b/lib/src/generated/fai/v1/hub.pb.dart index 815b207..e097b68 100644 --- a/lib/src/generated/fai/v1/hub.pb.dart +++ b/lib/src/generated/fai/v1/hub.pb.dart @@ -3226,6 +3226,7 @@ class StoreEntry extends $pb.GeneratedMessage { $core.String? docsUrl, $core.String? kind, $core.String? provider, + $core.String? sourceKind, }) { final $result = create(); if (name != null) { @@ -3288,6 +3289,9 @@ class StoreEntry extends $pb.GeneratedMessage { if (provider != null) { $result.provider = provider; } + if (sourceKind != null) { + $result.sourceKind = sourceKind; + } return $result; } StoreEntry._() : super(); @@ -3315,6 +3319,7 @@ class StoreEntry extends $pb.GeneratedMessage { ..aOS(18, _omitFieldNames ? '' : 'docsUrl') ..aOS(19, _omitFieldNames ? '' : 'kind') ..aOS(20, _omitFieldNames ? '' : 'provider') + ..aOS(21, _omitFieldNames ? '' : 'sourceKind') ..hasRequiredFields = false ; @@ -3514,6 +3519,26 @@ class StoreEntry extends $pb.GeneratedMessage { $core.bool hasProvider() => $_has(19); @$pb.TagNumber(20) void clearProvider() => $_clearField(20); + + /// Transport delivering this entry's capability. Distinct + /// from `kind` (native-vs-federated) — `source_kind` says + /// HOW the Hub reaches the implementation. Values mirror + /// `CapabilityEntry.source_kind`: + /// "bundle" — installed .fai WASM bundle (native entries) + /// "mcp" — federated via an MCP service + /// "n8n" — federated via an n8n endpoint + /// "temporal" — federated via a Temporal service (e.g. SPARK) + /// "webhook" — reserved for Phase 1+ + /// Empty string falls back to deriving from `kind` for + /// pre-0.12 hubs. + @$pb.TagNumber(21) + $core.String get sourceKind => $_getSZ(20); + @$pb.TagNumber(21) + set sourceKind($core.String v) { $_setString(20, v); } + @$pb.TagNumber(21) + $core.bool hasSourceKind() => $_has(20); + @$pb.TagNumber(21) + void clearSourceKind() => $_clearField(21); } class ChannelStatusResponse extends $pb.GeneratedMessage { diff --git a/lib/src/generated/fai/v1/hub.pbjson.dart b/lib/src/generated/fai/v1/hub.pbjson.dart index 3188ddf..731d119 100644 --- a/lib/src/generated/fai/v1/hub.pbjson.dart +++ b/lib/src/generated/fai/v1/hub.pbjson.dart @@ -796,6 +796,7 @@ const StoreEntry$json = { {'1': 'docs_url', '3': 18, '4': 1, '5': 9, '10': 'docsUrl'}, {'1': 'kind', '3': 19, '4': 1, '5': 9, '10': 'kind'}, {'1': 'provider', '3': 20, '4': 1, '5': 9, '10': 'provider'}, + {'1': 'source_kind', '3': 21, '4': 1, '5': 9, '10': 'sourceKind'}, ], }; @@ -812,7 +813,8 @@ final $typed_data.Uint8List storeEntryDescriptor = $convert.base64Decode( 'bGxlZBgOIAEoCFIJaW5zdGFsbGVkEhoKCGZlYXR1cmVkGA8gASgIUghmZWF0dXJlZBIZCghpY2' '9uX3VybBgQIAEoCVIHaWNvblVybBInCg9zY3JlZW5zaG90X3VybHMYESADKAlSDnNjcmVlbnNo' 'b3RVcmxzEhkKCGRvY3NfdXJsGBIgASgJUgdkb2NzVXJsEhIKBGtpbmQYEyABKAlSBGtpbmQSGg' - 'oIcHJvdmlkZXIYFCABKAlSCHByb3ZpZGVy'); + 'oIcHJvdmlkZXIYFCABKAlSCHByb3ZpZGVyEh8KC3NvdXJjZV9raW5kGBUgASgJUgpzb3VyY2VL' + 'aW5k'); @$core.Deprecated('Use channelStatusResponseDescriptor instead') const ChannelStatusResponse$json = {