// This is a generated file - do not edit. // // Generated from chain/v1/hub.proto. // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes // ignore_for_file: non_constant_identifier_names, prefer_relative_imports import 'dart:async' as $async; import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/well_known_types/google/protobuf/empty.pb.dart' as $1; import 'hub.pb.dart' as $0; export 'hub.pb.dart'; /// The Hub service is what CLI clients, web UIs, or other tools talk to. @$pb.GrpcServiceName('chain.v1.Hub') class HubClient extends $grpc.Client { /// The hostname for this service. static const $core.String defaultHost = ''; /// OAuth scopes needed for the client. static const $core.List<$core.String> oauthScopes = [ '', ]; HubClient(super.channel, {super.options, super.interceptors}); /// Submit a flow for execution. $grpc.ResponseFuture<$0.SubmitResponse> submit( $0.SubmitRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$submit, request, options: options); } /// List modules known to this hub. $grpc.ResponseFuture<$0.ModuleList> listModules( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$listModules, request, options: options); } /// Liveness / readiness probe. $grpc.ResponseFuture<$0.HealthStatus> health( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$health, request, options: options); } // method descriptors static final _$submit = $grpc.ClientMethod<$0.SubmitRequest, $0.SubmitResponse>( '/chain.v1.Hub/Submit', ($0.SubmitRequest value) => value.writeToBuffer(), $0.SubmitResponse.fromBuffer); static final _$listModules = $grpc.ClientMethod<$1.Empty, $0.ModuleList>( '/chain.v1.Hub/ListModules', ($1.Empty value) => value.writeToBuffer(), $0.ModuleList.fromBuffer); static final _$health = $grpc.ClientMethod<$1.Empty, $0.HealthStatus>( '/chain.v1.Hub/Health', ($1.Empty value) => value.writeToBuffer(), $0.HealthStatus.fromBuffer); } @$pb.GrpcServiceName('chain.v1.Hub') abstract class HubServiceBase extends $grpc.Service { $core.String get $name => 'chain.v1.Hub'; HubServiceBase() { $addMethod($grpc.ServiceMethod<$0.SubmitRequest, $0.SubmitResponse>( 'Submit', submit_Pre, false, false, ($core.List<$core.int> value) => $0.SubmitRequest.fromBuffer(value), ($0.SubmitResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.ModuleList>( 'ListModules', listModules_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.ModuleList value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.HealthStatus>( 'Health', health_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.HealthStatus value) => value.writeToBuffer())); } $async.Future<$0.SubmitResponse> submit_Pre( $grpc.ServiceCall $call, $async.Future<$0.SubmitRequest> $request) async { return submit($call, await $request); } $async.Future<$0.SubmitResponse> submit( $grpc.ServiceCall call, $0.SubmitRequest request); $async.Future<$0.ModuleList> listModules_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return listModules($call, await $request); } $async.Future<$0.ModuleList> listModules( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.HealthStatus> health_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return health($call, await $request); } $async.Future<$0.HealthStatus> health( $grpc.ServiceCall call, $1.Empty request); } /// HubAdmin exposes administrative operations on the hub: inspect /// installed modules, query the event log, manage saved flows. /// /// Calls to HubAdmin from external clients are unauthenticated in /// Phase 0/0.5 (localhost trust). Phase 1+ adds bearer-token / mTLS /// auth on this surface. Calls from within modules require the /// `hub:` permission scope (read / install / admin). @$pb.GrpcServiceName('chain.v1.HubAdmin') class HubAdminClient extends $grpc.Client { /// The hostname for this service. static const $core.String defaultHost = ''; /// OAuth scopes needed for the client. static const $core.List<$core.String> oauthScopes = [ '', ]; HubAdminClient(super.channel, {super.options, super.interceptors}); /// List capabilities provided by all installed modules. $grpc.ResponseFuture<$0.CapabilityList> listCapabilities( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$listCapabilities, request, options: options); } /// Return full manifest data for one installed module. $grpc.ResponseFuture<$0.ModuleInfoResponse> moduleInfo( $0.ModuleInfoRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$moduleInfo, request, options: options); } /// Check whether a module is allowed a given permission under the /// operator's policy. Returns the decision plus the reason. $grpc.ResponseFuture<$0.CheckPermissionResponse> checkPermission( $0.CheckPermissionRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$checkPermission, request, options: options); } /// Read a slice of the event log, newest first. $grpc.ResponseFuture<$0.EventLogResponse> eventLog( $0.EventLogRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$eventLog, request, options: options); } /// Server-streaming variant of EventLog. The hub first emits up /// to `limit` historical events (newest-last so clients receive /// them in chronological order), then keeps the stream open and /// forwards every freshly-appended event in real time. Reads /// require the Read scope when auth is on. $grpc.ResponseStream<$0.LoggedEvent> streamEvents( $0.StreamEventsRequest request, { $grpc.CallOptions? options, }) { return $createStreamingCall( _$streamEvents, $async.Stream.fromIterable([request]), options: options); } /// Saved-flow management. A saved flow is a YAML file under /// /flows/.yaml; it can be re-run by name later. $grpc.ResponseFuture<$0.SaveFlowResponse> saveFlow( $0.SaveFlowRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$saveFlow, request, options: options); } $grpc.ResponseFuture<$0.DeleteFlowResponse> deleteFlow( $0.DeleteFlowRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$deleteFlow, request, options: options); } $grpc.ResponseFuture<$0.FlowList> listFlows( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$listFlows, request, options: options); } $grpc.ResponseFuture<$0.SubmitResponse> runSavedFlow( $0.RunSavedFlowRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$runSavedFlow, request, options: options); } /// Return the parsed structure of a saved flow (declared /// inputs + their type tags) so a client can render an /// input form before calling RunSavedFlow. $grpc.ResponseFuture<$0.FlowDefinition> getFlowDefinition( $0.GetFlowDefinitionRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$getFlowDefinition, request, options: options); } /// Search the bundled (and Phase 1+: federated) store index for /// modules matching a query. $grpc.ResponseFuture<$0.StoreSearchResponse> searchStore( $0.SearchStoreRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$searchStore, request, options: options); } /// Install a module from a .fai bundle (local path or http(s) URL). $grpc.ResponseFuture<$0.InstallModuleResponse> installModule( $0.InstallModuleRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$installModule, request, options: options); } /// Remove an installed module by name. Wipes the module /// directory and re-scans the registry; writes a /// `module.uninstalled` audit event. Surfaced by the Studio /// module sheet's "Uninstall" affordance. $grpc.ResponseFuture<$0.UninstallModuleResponse> uninstallModule( $0.UninstallModuleRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$uninstallModule, request, options: options); } /// Fetch a module's README (or other docs) and return the /// markdown content as a string. The hub knows how to /// authenticate against the configured registry — Studio /// doesn't need to handle credentials. Studio's Store detail /// sheet renders the result inline. $grpc.ResponseFuture<$0.FetchModuleDocsResponse> fetchModuleDocs( $0.FetchModuleDocsRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$fetchModuleDocs, request, options: options); } /// Read the inline-docs (MODULE.md / MODULE..md) of an /// installed module from disk. No network fetch, no provider- /// specific URL probing — the docs ship in the .fai bundle and /// live next to module.wasm on disk after install. Returns an /// empty body when the module is installed but ships no inline /// docs; Studio uses that to hide the docs button entirely. $grpc.ResponseFuture<$0.GetInstalledModuleDocsResponse> getInstalledModuleDocs( $0.GetInstalledModuleDocsRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$getInstalledModuleDocs, request, options: options); } /// Invoke an installed Studio plugin's `theme` hook. Returns /// the plugin's proposed Material 3 ColorScheme for the /// brightness the caller asked for ("light" or "dark"). The /// first end-to-end RPC of the Studio-plugin subsystem; the /// `translate` and `output-view` hooks get their own RPCs as /// the matching Studio surfaces ship. $grpc.ResponseFuture<$0.InvokePluginThemeResponse> invokePluginTheme( $0.InvokePluginThemeRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$invokePluginTheme, request, options: options); } /// Invoke an installed Studio plugin's `translate` hook. /// The first user surface that consumes this is Studio's /// FaiEnBadge — when an operator has a translate plugin /// installed, server-supplied English text (MCP tool /// descriptions, n8n endpoint names) gets translated /// on-the-fly into the active locale instead of carrying /// the honest-but-rough [EN] badge. $grpc.ResponseFuture<$0.InvokePluginTranslateResponse> invokePluginTranslate( $0.InvokePluginTranslateRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$invokePluginTranslate, request, options: options); } /// List system.approval@^0 entries, optionally filtered by status. $grpc.ResponseFuture<$0.ApprovalList> listApprovals( $0.ListApprovalsRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$listApprovals, request, options: options); } /// Reviewer decision on a pending approval. `decision` selects /// approve / reject; `reviewer` and `reason` supply the audit /// attribution. The flow that posted the approval resumes (or /// fails) on the next polling tick. $grpc.ResponseFuture<$0.DecideApprovalResponse> decideApproval( $0.DecideApprovalRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$decideApproval, request, options: options); } /// Walk the event-log hash chain and return whether tampering /// was detected. Surfaced by the CLI as `fai admin verify-events` /// and by Studio's health page. $grpc.ResponseFuture<$0.VerifyEventChainResponse> verifyEventChain( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$verifyEventChain, request, options: options); } /// Wipe every audit event and seed the log with a single /// `chain.reset` marker. Refused on `beta` / `production` for /// compliance — only callable on `local` / `dev`. Surfaced by /// the CLI as `fai admin events clear`. $grpc.ResponseFuture<$0.ClearEventLogResponse> clearEventLog( $0.ClearEventLogRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$clearEventLog, request, options: options); } /// Read the operator's `default_scope:` (the ordered list of /// provider segments the bare-form capability resolver tries /// when a flow names a capability without `/` /// prefix). Always returns the current in-memory copy. $grpc.ResponseFuture<$0.DefaultScopeResponse> getDefaultScope( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$getDefaultScope, request, options: options); } /// Replace the operator's `default_scope:`. The hub validates /// each entry against the namespace catalog before writing to /// disk. Returns the resulting snapshot so the client can /// refresh its UI in one round-trip. $grpc.ResponseFuture<$0.DefaultScopeResponse> setDefaultScope( $0.SetDefaultScopeRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$setDefaultScope, request, options: options); } /// Re-read `auth.tokens:` from operator config + env vars and /// atomically swap the live token store. Used by operators to /// rotate tokens without restarting the daemon. Returns the /// new token count. Errors if the new config is invalid (env /// var missing, duplicate secret, no scopes, …) — the /// existing store stays in place so a botched rotation can't /// lock the operator out. $grpc.ResponseFuture<$0.ReloadAuthResponse> reloadAuth( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$reloadAuth, request, options: options); } /// List host services declared in the operator config. Each /// entry carries name + endpoint; reachability is operator-side /// (on-demand `fai service status` or Studio probe). $grpc.ResponseFuture<$0.ServiceList> listServices( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$listServices, request, options: options); } /// Compare the running hub's version against the channel release /// manifest. Surfaced by the CLI as `fai update check` and by /// Studio's Doctor page as a "v0.x.y available" pill. Network /// failures are returned as `manifest_reachable=false` rather /// than gRPC errors so Studio can render gracefully when the /// release host is unreachable (air-gapped, offline laptop). $grpc.ResponseFuture<$0.CheckUpdateResponse> checkUpdate( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$checkUpdate, request, options: options); } /// Active channel + per-channel daemon status. Lets Studio's /// settings page render which channel is current and whether /// each daemon is up. Mirrors the CLI's `fai daemon status`. $grpc.ResponseFuture<$0.ChannelStatusResponse> channelStatus( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$channelStatus, request, options: options); } /// Filesystem locations the daemon owns: log file, db file, /// modules dir, flows dir, config file. Studio's Doctor page /// surfaces these so operators on Windows (who never touch /// a shell) can open them via the OS file manager. $grpc.ResponseFuture<$0.DaemonPathsResponse> daemonPaths( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$daemonPaths, request, options: options); } /// Configured MCP servers + their last-discovery report. /// Studio's MCP-clients editor renders the result. Mirrors /// `fai mcp list` on the CLI. $grpc.ResponseFuture<$0.ListMcpClientsResponse> listMcpClients( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$listMcpClients, request, options: options); } /// Re-run discovery against every configured MCP server and /// update the *live* store-index in place. Synthetic entries /// for tools the server no longer exposes are dropped. /// Mirrors `fai mcp refresh` but operates on the running /// daemon — Studio doesn't need to ask the operator to /// restart anything. $grpc.ResponseFuture<$0.ListMcpClientsResponse> refreshMcpClients( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$refreshMcpClients, request, options: options); } /// Persist a new MCP server in `~/.fai/config.yaml` and /// re-run discovery. Returns the resulting list (same shape /// as ListMcpClients) so Studio can repaint in one round-trip. $grpc.ResponseFuture<$0.ListMcpClientsResponse> addMcpClient( $0.McpClientConfigEntry request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$addMcpClient, request, options: options); } /// Remove an MCP server by name and re-run discovery so its /// synthetic capabilities disappear from the store. $grpc.ResponseFuture<$0.ListMcpClientsResponse> removeMcpClient( $0.RemoveMcpClientRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$removeMcpClient, request, options: options); } /// n8n bridges. Same shape as the MCP client RPCs above — /// every active workflow surfaces as `n8n..`. $grpc.ResponseFuture<$0.ListN8nEndpointsResponse> listN8nEndpoints( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$listN8nEndpoints, request, options: options); } $grpc.ResponseFuture<$0.ListN8nEndpointsResponse> refreshN8nEndpoints( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$refreshN8nEndpoints, request, options: options); } $grpc.ResponseFuture<$0.ListN8nEndpointsResponse> addN8nEndpoint( $0.N8nEndpointConfigEntry request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$addN8nEndpoint, request, options: options); } $grpc.ResponseFuture<$0.ListN8nEndpointsResponse> removeN8nEndpoint( $0.RemoveN8nEndpointRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$removeN8nEndpoint, request, options: options); } /// Read-only system-AI status. Lets Studio render the /// "configure in Settings" affordance when the feature is /// off, and the privacy-mode badge when it is on. $grpc.ResponseFuture<$0.SystemAiStatusResponse> systemAiStatus( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$systemAiStatus, request, options: options); } /// Ask the system AI a one-shot question. Errors carry the /// failure category (disabled / env-missing / http / parse) /// so Studio can map them to the inline-fix-hint copy from /// `docs/architecture/system-ai.md`. $grpc.ResponseFuture<$0.AskAiResponse> askAi( $0.AskAiRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$askAi, request, options: options); } /// Persist a new system-AI configuration. Updates the live /// hub state AND writes back to ~/.fai/config.yaml so the /// change survives daemon restart. Used by Studio's settings /// editor. Returns the resulting status (same shape as /// SystemAiStatus) so the UI can refresh in one round-trip. $grpc.ResponseFuture<$0.SystemAiStatusResponse> updateSystemAi( $0.UpdateSystemAiRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$updateSystemAi, request, options: options); } /// Probe a system-AI configuration with a tiny ping. The /// request body carries the *draft* config the operator is /// editing — Test Connection works *before* Save so the user /// doesn't have to commit a broken config to validate it. /// An all-empty body falls back to the live in-memory config. $grpc.ResponseFuture<$0.AskAiResponse> testSystemAi( $0.TestSystemAiRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$testSystemAi, request, options: options); } /// List the models the configured provider exposes via /// `GET /v1/models`. Studio's editor populates the model /// dropdown from this. Same draft-vs-live semantics as /// TestSystemAi. $grpc.ResponseFuture<$0.ListSystemAiModelsResponse> listSystemAiModels( $0.TestSystemAiRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$listSystemAiModels, request, options: options); } /// Pull (download + install) an Ollama model via the native /// /api/pull endpoint. Synchronous, may take minutes for /// large models. Same error-kind taxonomy as AskAi. $grpc.ResponseFuture<$0.PullSystemAiModelResponse> pullSystemAiModel( $0.PullSystemAiModelRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$pullSystemAiModel, request, options: options); } /// Drop every cached System-AI explanation. Surfaced in /// Studio's Settings so operators can force a clean slate /// without changing model/privacy mode (which also flushes). $grpc.ResponseFuture<$0.ClearSystemLlmCacheResponse> clearSystemLlmCache( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$clearSystemLlmCache, request, options: options); } /// Drop a single cached entry by prompt — the same prompt /// Studio sent in AskAi. Used by the "Regenerate" button so /// the next AskAi call falls through to the live provider. $grpc.ResponseFuture<$1.Empty> forgetCachedExplanation( $0.AskAiRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$forgetCachedExplanation, request, options: options); } /// Detected host hardware tier + summary line. Studio's /// System-AI editor uses this to mark models as "may be slow /// on your hardware" without requiring a benchmark. $grpc.ResponseFuture<$0.HardwareInfoResponse> hardwareInfo( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$hardwareInfo, request, options: options); } /// Bundled curated model database (quality tier, parameter /// count, recommended-for tier, notes). Studio merges this /// with the live `/v1/models` listing for richer chips. The /// `last_reviewed` field tells the operator how stale the /// curation is. $grpc.ResponseFuture<$0.ListSystemAiCuratedModelsResponse> listSystemAiCuratedModels( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$listSystemAiCuratedModels, request, options: options); } /// Federation (primary side). Issue a single-use bootstrap /// token enrolling a named satellite (`fai admin satellites /// peer-add`), and list the satellites currently connected /// (`fai admin satellites list`). $grpc.ResponseFuture<$0.IssueBootstrapTokenResponse> issueBootstrapToken( $0.IssueBootstrapTokenRequest request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$issueBootstrapToken, request, options: options); } $grpc.ResponseFuture<$0.SatelliteList> listSatellites( $1.Empty request, { $grpc.CallOptions? options, }) { return $createUnaryCall(_$listSatellites, request, options: options); } // method descriptors static final _$listCapabilities = $grpc.ClientMethod<$1.Empty, $0.CapabilityList>( '/chain.v1.HubAdmin/ListCapabilities', ($1.Empty value) => value.writeToBuffer(), $0.CapabilityList.fromBuffer); static final _$moduleInfo = $grpc.ClientMethod<$0.ModuleInfoRequest, $0.ModuleInfoResponse>( '/chain.v1.HubAdmin/ModuleInfo', ($0.ModuleInfoRequest value) => value.writeToBuffer(), $0.ModuleInfoResponse.fromBuffer); static final _$checkPermission = $grpc.ClientMethod<$0.CheckPermissionRequest, $0.CheckPermissionResponse>( '/chain.v1.HubAdmin/CheckPermission', ($0.CheckPermissionRequest value) => value.writeToBuffer(), $0.CheckPermissionResponse.fromBuffer); static final _$eventLog = $grpc.ClientMethod<$0.EventLogRequest, $0.EventLogResponse>( '/chain.v1.HubAdmin/EventLog', ($0.EventLogRequest value) => value.writeToBuffer(), $0.EventLogResponse.fromBuffer); static final _$streamEvents = $grpc.ClientMethod<$0.StreamEventsRequest, $0.LoggedEvent>( '/chain.v1.HubAdmin/StreamEvents', ($0.StreamEventsRequest value) => value.writeToBuffer(), $0.LoggedEvent.fromBuffer); static final _$saveFlow = $grpc.ClientMethod<$0.SaveFlowRequest, $0.SaveFlowResponse>( '/chain.v1.HubAdmin/SaveFlow', ($0.SaveFlowRequest value) => value.writeToBuffer(), $0.SaveFlowResponse.fromBuffer); static final _$deleteFlow = $grpc.ClientMethod<$0.DeleteFlowRequest, $0.DeleteFlowResponse>( '/chain.v1.HubAdmin/DeleteFlow', ($0.DeleteFlowRequest value) => value.writeToBuffer(), $0.DeleteFlowResponse.fromBuffer); static final _$listFlows = $grpc.ClientMethod<$1.Empty, $0.FlowList>( '/chain.v1.HubAdmin/ListFlows', ($1.Empty value) => value.writeToBuffer(), $0.FlowList.fromBuffer); static final _$runSavedFlow = $grpc.ClientMethod<$0.RunSavedFlowRequest, $0.SubmitResponse>( '/chain.v1.HubAdmin/RunSavedFlow', ($0.RunSavedFlowRequest value) => value.writeToBuffer(), $0.SubmitResponse.fromBuffer); static final _$getFlowDefinition = $grpc.ClientMethod<$0.GetFlowDefinitionRequest, $0.FlowDefinition>( '/chain.v1.HubAdmin/GetFlowDefinition', ($0.GetFlowDefinitionRequest value) => value.writeToBuffer(), $0.FlowDefinition.fromBuffer); static final _$searchStore = $grpc.ClientMethod<$0.SearchStoreRequest, $0.StoreSearchResponse>( '/chain.v1.HubAdmin/SearchStore', ($0.SearchStoreRequest value) => value.writeToBuffer(), $0.StoreSearchResponse.fromBuffer); static final _$installModule = $grpc.ClientMethod<$0.InstallModuleRequest, $0.InstallModuleResponse>( '/chain.v1.HubAdmin/InstallModule', ($0.InstallModuleRequest value) => value.writeToBuffer(), $0.InstallModuleResponse.fromBuffer); static final _$uninstallModule = $grpc.ClientMethod<$0.UninstallModuleRequest, $0.UninstallModuleResponse>( '/chain.v1.HubAdmin/UninstallModule', ($0.UninstallModuleRequest value) => value.writeToBuffer(), $0.UninstallModuleResponse.fromBuffer); static final _$fetchModuleDocs = $grpc.ClientMethod<$0.FetchModuleDocsRequest, $0.FetchModuleDocsResponse>( '/chain.v1.HubAdmin/FetchModuleDocs', ($0.FetchModuleDocsRequest value) => value.writeToBuffer(), $0.FetchModuleDocsResponse.fromBuffer); static final _$getInstalledModuleDocs = $grpc.ClientMethod< $0.GetInstalledModuleDocsRequest, $0.GetInstalledModuleDocsResponse>( '/chain.v1.HubAdmin/GetInstalledModuleDocs', ($0.GetInstalledModuleDocsRequest value) => value.writeToBuffer(), $0.GetInstalledModuleDocsResponse.fromBuffer); static final _$invokePluginTheme = $grpc.ClientMethod< $0.InvokePluginThemeRequest, $0.InvokePluginThemeResponse>( '/chain.v1.HubAdmin/InvokePluginTheme', ($0.InvokePluginThemeRequest value) => value.writeToBuffer(), $0.InvokePluginThemeResponse.fromBuffer); static final _$invokePluginTranslate = $grpc.ClientMethod< $0.InvokePluginTranslateRequest, $0.InvokePluginTranslateResponse>( '/chain.v1.HubAdmin/InvokePluginTranslate', ($0.InvokePluginTranslateRequest value) => value.writeToBuffer(), $0.InvokePluginTranslateResponse.fromBuffer); static final _$listApprovals = $grpc.ClientMethod<$0.ListApprovalsRequest, $0.ApprovalList>( '/chain.v1.HubAdmin/ListApprovals', ($0.ListApprovalsRequest value) => value.writeToBuffer(), $0.ApprovalList.fromBuffer); static final _$decideApproval = $grpc.ClientMethod<$0.DecideApprovalRequest, $0.DecideApprovalResponse>( '/chain.v1.HubAdmin/DecideApproval', ($0.DecideApprovalRequest value) => value.writeToBuffer(), $0.DecideApprovalResponse.fromBuffer); static final _$verifyEventChain = $grpc.ClientMethod<$1.Empty, $0.VerifyEventChainResponse>( '/chain.v1.HubAdmin/VerifyEventChain', ($1.Empty value) => value.writeToBuffer(), $0.VerifyEventChainResponse.fromBuffer); static final _$clearEventLog = $grpc.ClientMethod<$0.ClearEventLogRequest, $0.ClearEventLogResponse>( '/chain.v1.HubAdmin/ClearEventLog', ($0.ClearEventLogRequest value) => value.writeToBuffer(), $0.ClearEventLogResponse.fromBuffer); static final _$getDefaultScope = $grpc.ClientMethod<$1.Empty, $0.DefaultScopeResponse>( '/chain.v1.HubAdmin/GetDefaultScope', ($1.Empty value) => value.writeToBuffer(), $0.DefaultScopeResponse.fromBuffer); static final _$setDefaultScope = $grpc.ClientMethod<$0.SetDefaultScopeRequest, $0.DefaultScopeResponse>( '/chain.v1.HubAdmin/SetDefaultScope', ($0.SetDefaultScopeRequest value) => value.writeToBuffer(), $0.DefaultScopeResponse.fromBuffer); static final _$reloadAuth = $grpc.ClientMethod<$1.Empty, $0.ReloadAuthResponse>( '/chain.v1.HubAdmin/ReloadAuth', ($1.Empty value) => value.writeToBuffer(), $0.ReloadAuthResponse.fromBuffer); static final _$listServices = $grpc.ClientMethod<$1.Empty, $0.ServiceList>( '/chain.v1.HubAdmin/ListServices', ($1.Empty value) => value.writeToBuffer(), $0.ServiceList.fromBuffer); static final _$checkUpdate = $grpc.ClientMethod<$1.Empty, $0.CheckUpdateResponse>( '/chain.v1.HubAdmin/CheckUpdate', ($1.Empty value) => value.writeToBuffer(), $0.CheckUpdateResponse.fromBuffer); static final _$channelStatus = $grpc.ClientMethod<$1.Empty, $0.ChannelStatusResponse>( '/chain.v1.HubAdmin/ChannelStatus', ($1.Empty value) => value.writeToBuffer(), $0.ChannelStatusResponse.fromBuffer); static final _$daemonPaths = $grpc.ClientMethod<$1.Empty, $0.DaemonPathsResponse>( '/chain.v1.HubAdmin/DaemonPaths', ($1.Empty value) => value.writeToBuffer(), $0.DaemonPathsResponse.fromBuffer); static final _$listMcpClients = $grpc.ClientMethod<$1.Empty, $0.ListMcpClientsResponse>( '/chain.v1.HubAdmin/ListMcpClients', ($1.Empty value) => value.writeToBuffer(), $0.ListMcpClientsResponse.fromBuffer); static final _$refreshMcpClients = $grpc.ClientMethod<$1.Empty, $0.ListMcpClientsResponse>( '/chain.v1.HubAdmin/RefreshMcpClients', ($1.Empty value) => value.writeToBuffer(), $0.ListMcpClientsResponse.fromBuffer); static final _$addMcpClient = $grpc.ClientMethod<$0.McpClientConfigEntry, $0.ListMcpClientsResponse>( '/chain.v1.HubAdmin/AddMcpClient', ($0.McpClientConfigEntry value) => value.writeToBuffer(), $0.ListMcpClientsResponse.fromBuffer); static final _$removeMcpClient = $grpc.ClientMethod<$0.RemoveMcpClientRequest, $0.ListMcpClientsResponse>( '/chain.v1.HubAdmin/RemoveMcpClient', ($0.RemoveMcpClientRequest value) => value.writeToBuffer(), $0.ListMcpClientsResponse.fromBuffer); static final _$listN8nEndpoints = $grpc.ClientMethod<$1.Empty, $0.ListN8nEndpointsResponse>( '/chain.v1.HubAdmin/ListN8nEndpoints', ($1.Empty value) => value.writeToBuffer(), $0.ListN8nEndpointsResponse.fromBuffer); static final _$refreshN8nEndpoints = $grpc.ClientMethod<$1.Empty, $0.ListN8nEndpointsResponse>( '/chain.v1.HubAdmin/RefreshN8nEndpoints', ($1.Empty value) => value.writeToBuffer(), $0.ListN8nEndpointsResponse.fromBuffer); static final _$addN8nEndpoint = $grpc.ClientMethod<$0.N8nEndpointConfigEntry, $0.ListN8nEndpointsResponse>( '/chain.v1.HubAdmin/AddN8nEndpoint', ($0.N8nEndpointConfigEntry value) => value.writeToBuffer(), $0.ListN8nEndpointsResponse.fromBuffer); static final _$removeN8nEndpoint = $grpc.ClientMethod< $0.RemoveN8nEndpointRequest, $0.ListN8nEndpointsResponse>( '/chain.v1.HubAdmin/RemoveN8nEndpoint', ($0.RemoveN8nEndpointRequest value) => value.writeToBuffer(), $0.ListN8nEndpointsResponse.fromBuffer); static final _$systemAiStatus = $grpc.ClientMethod<$1.Empty, $0.SystemAiStatusResponse>( '/chain.v1.HubAdmin/SystemAiStatus', ($1.Empty value) => value.writeToBuffer(), $0.SystemAiStatusResponse.fromBuffer); static final _$askAi = $grpc.ClientMethod<$0.AskAiRequest, $0.AskAiResponse>( '/chain.v1.HubAdmin/AskAi', ($0.AskAiRequest value) => value.writeToBuffer(), $0.AskAiResponse.fromBuffer); static final _$updateSystemAi = $grpc.ClientMethod<$0.UpdateSystemAiRequest, $0.SystemAiStatusResponse>( '/chain.v1.HubAdmin/UpdateSystemAi', ($0.UpdateSystemAiRequest value) => value.writeToBuffer(), $0.SystemAiStatusResponse.fromBuffer); static final _$testSystemAi = $grpc.ClientMethod<$0.TestSystemAiRequest, $0.AskAiResponse>( '/chain.v1.HubAdmin/TestSystemAi', ($0.TestSystemAiRequest value) => value.writeToBuffer(), $0.AskAiResponse.fromBuffer); static final _$listSystemAiModels = $grpc.ClientMethod<$0.TestSystemAiRequest, $0.ListSystemAiModelsResponse>( '/chain.v1.HubAdmin/ListSystemAiModels', ($0.TestSystemAiRequest value) => value.writeToBuffer(), $0.ListSystemAiModelsResponse.fromBuffer); static final _$pullSystemAiModel = $grpc.ClientMethod< $0.PullSystemAiModelRequest, $0.PullSystemAiModelResponse>( '/chain.v1.HubAdmin/PullSystemAiModel', ($0.PullSystemAiModelRequest value) => value.writeToBuffer(), $0.PullSystemAiModelResponse.fromBuffer); static final _$clearSystemLlmCache = $grpc.ClientMethod<$1.Empty, $0.ClearSystemLlmCacheResponse>( '/chain.v1.HubAdmin/ClearSystemLlmCache', ($1.Empty value) => value.writeToBuffer(), $0.ClearSystemLlmCacheResponse.fromBuffer); static final _$forgetCachedExplanation = $grpc.ClientMethod<$0.AskAiRequest, $1.Empty>( '/chain.v1.HubAdmin/ForgetCachedExplanation', ($0.AskAiRequest value) => value.writeToBuffer(), $1.Empty.fromBuffer); static final _$hardwareInfo = $grpc.ClientMethod<$1.Empty, $0.HardwareInfoResponse>( '/chain.v1.HubAdmin/HardwareInfo', ($1.Empty value) => value.writeToBuffer(), $0.HardwareInfoResponse.fromBuffer); static final _$listSystemAiCuratedModels = $grpc.ClientMethod<$1.Empty, $0.ListSystemAiCuratedModelsResponse>( '/chain.v1.HubAdmin/ListSystemAiCuratedModels', ($1.Empty value) => value.writeToBuffer(), $0.ListSystemAiCuratedModelsResponse.fromBuffer); static final _$issueBootstrapToken = $grpc.ClientMethod< $0.IssueBootstrapTokenRequest, $0.IssueBootstrapTokenResponse>( '/chain.v1.HubAdmin/IssueBootstrapToken', ($0.IssueBootstrapTokenRequest value) => value.writeToBuffer(), $0.IssueBootstrapTokenResponse.fromBuffer); static final _$listSatellites = $grpc.ClientMethod<$1.Empty, $0.SatelliteList>( '/chain.v1.HubAdmin/ListSatellites', ($1.Empty value) => value.writeToBuffer(), $0.SatelliteList.fromBuffer); } @$pb.GrpcServiceName('chain.v1.HubAdmin') abstract class HubAdminServiceBase extends $grpc.Service { $core.String get $name => 'chain.v1.HubAdmin'; HubAdminServiceBase() { $addMethod($grpc.ServiceMethod<$1.Empty, $0.CapabilityList>( 'ListCapabilities', listCapabilities_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.CapabilityList value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.ModuleInfoRequest, $0.ModuleInfoResponse>( 'ModuleInfo', moduleInfo_Pre, false, false, ($core.List<$core.int> value) => $0.ModuleInfoRequest.fromBuffer(value), ($0.ModuleInfoResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.CheckPermissionRequest, $0.CheckPermissionResponse>( 'CheckPermission', checkPermission_Pre, false, false, ($core.List<$core.int> value) => $0.CheckPermissionRequest.fromBuffer(value), ($0.CheckPermissionResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.EventLogRequest, $0.EventLogResponse>( 'EventLog', eventLog_Pre, false, false, ($core.List<$core.int> value) => $0.EventLogRequest.fromBuffer(value), ($0.EventLogResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.StreamEventsRequest, $0.LoggedEvent>( 'StreamEvents', streamEvents_Pre, false, true, ($core.List<$core.int> value) => $0.StreamEventsRequest.fromBuffer(value), ($0.LoggedEvent value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.SaveFlowRequest, $0.SaveFlowResponse>( 'SaveFlow', saveFlow_Pre, false, false, ($core.List<$core.int> value) => $0.SaveFlowRequest.fromBuffer(value), ($0.SaveFlowResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.DeleteFlowRequest, $0.DeleteFlowResponse>( 'DeleteFlow', deleteFlow_Pre, false, false, ($core.List<$core.int> value) => $0.DeleteFlowRequest.fromBuffer(value), ($0.DeleteFlowResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.FlowList>( 'ListFlows', listFlows_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.FlowList value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.RunSavedFlowRequest, $0.SubmitResponse>( 'RunSavedFlow', runSavedFlow_Pre, false, false, ($core.List<$core.int> value) => $0.RunSavedFlowRequest.fromBuffer(value), ($0.SubmitResponse value) => value.writeToBuffer())); $addMethod( $grpc.ServiceMethod<$0.GetFlowDefinitionRequest, $0.FlowDefinition>( 'GetFlowDefinition', getFlowDefinition_Pre, false, false, ($core.List<$core.int> value) => $0.GetFlowDefinitionRequest.fromBuffer(value), ($0.FlowDefinition value) => value.writeToBuffer())); $addMethod( $grpc.ServiceMethod<$0.SearchStoreRequest, $0.StoreSearchResponse>( 'SearchStore', searchStore_Pre, false, false, ($core.List<$core.int> value) => $0.SearchStoreRequest.fromBuffer(value), ($0.StoreSearchResponse value) => value.writeToBuffer())); $addMethod( $grpc.ServiceMethod<$0.InstallModuleRequest, $0.InstallModuleResponse>( 'InstallModule', installModule_Pre, false, false, ($core.List<$core.int> value) => $0.InstallModuleRequest.fromBuffer(value), ($0.InstallModuleResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.UninstallModuleRequest, $0.UninstallModuleResponse>( 'UninstallModule', uninstallModule_Pre, false, false, ($core.List<$core.int> value) => $0.UninstallModuleRequest.fromBuffer(value), ($0.UninstallModuleResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.FetchModuleDocsRequest, $0.FetchModuleDocsResponse>( 'FetchModuleDocs', fetchModuleDocs_Pre, false, false, ($core.List<$core.int> value) => $0.FetchModuleDocsRequest.fromBuffer(value), ($0.FetchModuleDocsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.GetInstalledModuleDocsRequest, $0.GetInstalledModuleDocsResponse>( 'GetInstalledModuleDocs', getInstalledModuleDocs_Pre, false, false, ($core.List<$core.int> value) => $0.GetInstalledModuleDocsRequest.fromBuffer(value), ($0.GetInstalledModuleDocsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.InvokePluginThemeRequest, $0.InvokePluginThemeResponse>( 'InvokePluginTheme', invokePluginTheme_Pre, false, false, ($core.List<$core.int> value) => $0.InvokePluginThemeRequest.fromBuffer(value), ($0.InvokePluginThemeResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.InvokePluginTranslateRequest, $0.InvokePluginTranslateResponse>( 'InvokePluginTranslate', invokePluginTranslate_Pre, false, false, ($core.List<$core.int> value) => $0.InvokePluginTranslateRequest.fromBuffer(value), ($0.InvokePluginTranslateResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.ListApprovalsRequest, $0.ApprovalList>( 'ListApprovals', listApprovals_Pre, false, false, ($core.List<$core.int> value) => $0.ListApprovalsRequest.fromBuffer(value), ($0.ApprovalList value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.DecideApprovalRequest, $0.DecideApprovalResponse>( 'DecideApproval', decideApproval_Pre, false, false, ($core.List<$core.int> value) => $0.DecideApprovalRequest.fromBuffer(value), ($0.DecideApprovalResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.VerifyEventChainResponse>( 'VerifyEventChain', verifyEventChain_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.VerifyEventChainResponse value) => value.writeToBuffer())); $addMethod( $grpc.ServiceMethod<$0.ClearEventLogRequest, $0.ClearEventLogResponse>( 'ClearEventLog', clearEventLog_Pre, false, false, ($core.List<$core.int> value) => $0.ClearEventLogRequest.fromBuffer(value), ($0.ClearEventLogResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.DefaultScopeResponse>( 'GetDefaultScope', getDefaultScope_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.DefaultScopeResponse value) => value.writeToBuffer())); $addMethod( $grpc.ServiceMethod<$0.SetDefaultScopeRequest, $0.DefaultScopeResponse>( 'SetDefaultScope', setDefaultScope_Pre, false, false, ($core.List<$core.int> value) => $0.SetDefaultScopeRequest.fromBuffer(value), ($0.DefaultScopeResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.ReloadAuthResponse>( 'ReloadAuth', reloadAuth_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.ReloadAuthResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.ServiceList>( 'ListServices', listServices_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.ServiceList value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.CheckUpdateResponse>( 'CheckUpdate', checkUpdate_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.CheckUpdateResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.ChannelStatusResponse>( 'ChannelStatus', channelStatus_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.ChannelStatusResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.DaemonPathsResponse>( 'DaemonPaths', daemonPaths_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.DaemonPathsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.ListMcpClientsResponse>( 'ListMcpClients', listMcpClients_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.ListMcpClientsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.ListMcpClientsResponse>( 'RefreshMcpClients', refreshMcpClients_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.ListMcpClientsResponse value) => value.writeToBuffer())); $addMethod( $grpc.ServiceMethod<$0.McpClientConfigEntry, $0.ListMcpClientsResponse>( 'AddMcpClient', addMcpClient_Pre, false, false, ($core.List<$core.int> value) => $0.McpClientConfigEntry.fromBuffer(value), ($0.ListMcpClientsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.RemoveMcpClientRequest, $0.ListMcpClientsResponse>( 'RemoveMcpClient', removeMcpClient_Pre, false, false, ($core.List<$core.int> value) => $0.RemoveMcpClientRequest.fromBuffer(value), ($0.ListMcpClientsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.ListN8nEndpointsResponse>( 'ListN8nEndpoints', listN8nEndpoints_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.ListN8nEndpointsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.ListN8nEndpointsResponse>( 'RefreshN8nEndpoints', refreshN8nEndpoints_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.ListN8nEndpointsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.N8nEndpointConfigEntry, $0.ListN8nEndpointsResponse>( 'AddN8nEndpoint', addN8nEndpoint_Pre, false, false, ($core.List<$core.int> value) => $0.N8nEndpointConfigEntry.fromBuffer(value), ($0.ListN8nEndpointsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.RemoveN8nEndpointRequest, $0.ListN8nEndpointsResponse>( 'RemoveN8nEndpoint', removeN8nEndpoint_Pre, false, false, ($core.List<$core.int> value) => $0.RemoveN8nEndpointRequest.fromBuffer(value), ($0.ListN8nEndpointsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.SystemAiStatusResponse>( 'SystemAiStatus', systemAiStatus_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.SystemAiStatusResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.AskAiRequest, $0.AskAiResponse>( 'AskAi', askAi_Pre, false, false, ($core.List<$core.int> value) => $0.AskAiRequest.fromBuffer(value), ($0.AskAiResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.UpdateSystemAiRequest, $0.SystemAiStatusResponse>( 'UpdateSystemAi', updateSystemAi_Pre, false, false, ($core.List<$core.int> value) => $0.UpdateSystemAiRequest.fromBuffer(value), ($0.SystemAiStatusResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.TestSystemAiRequest, $0.AskAiResponse>( 'TestSystemAi', testSystemAi_Pre, false, false, ($core.List<$core.int> value) => $0.TestSystemAiRequest.fromBuffer(value), ($0.AskAiResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.TestSystemAiRequest, $0.ListSystemAiModelsResponse>( 'ListSystemAiModels', listSystemAiModels_Pre, false, false, ($core.List<$core.int> value) => $0.TestSystemAiRequest.fromBuffer(value), ($0.ListSystemAiModelsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.PullSystemAiModelRequest, $0.PullSystemAiModelResponse>( 'PullSystemAiModel', pullSystemAiModel_Pre, false, false, ($core.List<$core.int> value) => $0.PullSystemAiModelRequest.fromBuffer(value), ($0.PullSystemAiModelResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.ClearSystemLlmCacheResponse>( 'ClearSystemLlmCache', clearSystemLlmCache_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.ClearSystemLlmCacheResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.AskAiRequest, $1.Empty>( 'ForgetCachedExplanation', forgetCachedExplanation_Pre, false, false, ($core.List<$core.int> value) => $0.AskAiRequest.fromBuffer(value), ($1.Empty value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.HardwareInfoResponse>( 'HardwareInfo', hardwareInfo_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.HardwareInfoResponse value) => value.writeToBuffer())); $addMethod( $grpc.ServiceMethod<$1.Empty, $0.ListSystemAiCuratedModelsResponse>( 'ListSystemAiCuratedModels', listSystemAiCuratedModels_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.ListSystemAiCuratedModelsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.IssueBootstrapTokenRequest, $0.IssueBootstrapTokenResponse>( 'IssueBootstrapToken', issueBootstrapToken_Pre, false, false, ($core.List<$core.int> value) => $0.IssueBootstrapTokenRequest.fromBuffer(value), ($0.IssueBootstrapTokenResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$1.Empty, $0.SatelliteList>( 'ListSatellites', listSatellites_Pre, false, false, ($core.List<$core.int> value) => $1.Empty.fromBuffer(value), ($0.SatelliteList value) => value.writeToBuffer())); } $async.Future<$0.CapabilityList> listCapabilities_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return listCapabilities($call, await $request); } $async.Future<$0.CapabilityList> listCapabilities( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.ModuleInfoResponse> moduleInfo_Pre($grpc.ServiceCall $call, $async.Future<$0.ModuleInfoRequest> $request) async { return moduleInfo($call, await $request); } $async.Future<$0.ModuleInfoResponse> moduleInfo( $grpc.ServiceCall call, $0.ModuleInfoRequest request); $async.Future<$0.CheckPermissionResponse> checkPermission_Pre( $grpc.ServiceCall $call, $async.Future<$0.CheckPermissionRequest> $request) async { return checkPermission($call, await $request); } $async.Future<$0.CheckPermissionResponse> checkPermission( $grpc.ServiceCall call, $0.CheckPermissionRequest request); $async.Future<$0.EventLogResponse> eventLog_Pre($grpc.ServiceCall $call, $async.Future<$0.EventLogRequest> $request) async { return eventLog($call, await $request); } $async.Future<$0.EventLogResponse> eventLog( $grpc.ServiceCall call, $0.EventLogRequest request); $async.Stream<$0.LoggedEvent> streamEvents_Pre($grpc.ServiceCall $call, $async.Future<$0.StreamEventsRequest> $request) async* { yield* streamEvents($call, await $request); } $async.Stream<$0.LoggedEvent> streamEvents( $grpc.ServiceCall call, $0.StreamEventsRequest request); $async.Future<$0.SaveFlowResponse> saveFlow_Pre($grpc.ServiceCall $call, $async.Future<$0.SaveFlowRequest> $request) async { return saveFlow($call, await $request); } $async.Future<$0.SaveFlowResponse> saveFlow( $grpc.ServiceCall call, $0.SaveFlowRequest request); $async.Future<$0.DeleteFlowResponse> deleteFlow_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteFlowRequest> $request) async { return deleteFlow($call, await $request); } $async.Future<$0.DeleteFlowResponse> deleteFlow( $grpc.ServiceCall call, $0.DeleteFlowRequest request); $async.Future<$0.FlowList> listFlows_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return listFlows($call, await $request); } $async.Future<$0.FlowList> listFlows( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.SubmitResponse> runSavedFlow_Pre($grpc.ServiceCall $call, $async.Future<$0.RunSavedFlowRequest> $request) async { return runSavedFlow($call, await $request); } $async.Future<$0.SubmitResponse> runSavedFlow( $grpc.ServiceCall call, $0.RunSavedFlowRequest request); $async.Future<$0.FlowDefinition> getFlowDefinition_Pre( $grpc.ServiceCall $call, $async.Future<$0.GetFlowDefinitionRequest> $request) async { return getFlowDefinition($call, await $request); } $async.Future<$0.FlowDefinition> getFlowDefinition( $grpc.ServiceCall call, $0.GetFlowDefinitionRequest request); $async.Future<$0.StoreSearchResponse> searchStore_Pre($grpc.ServiceCall $call, $async.Future<$0.SearchStoreRequest> $request) async { return searchStore($call, await $request); } $async.Future<$0.StoreSearchResponse> searchStore( $grpc.ServiceCall call, $0.SearchStoreRequest request); $async.Future<$0.InstallModuleResponse> installModule_Pre( $grpc.ServiceCall $call, $async.Future<$0.InstallModuleRequest> $request) async { return installModule($call, await $request); } $async.Future<$0.InstallModuleResponse> installModule( $grpc.ServiceCall call, $0.InstallModuleRequest request); $async.Future<$0.UninstallModuleResponse> uninstallModule_Pre( $grpc.ServiceCall $call, $async.Future<$0.UninstallModuleRequest> $request) async { return uninstallModule($call, await $request); } $async.Future<$0.UninstallModuleResponse> uninstallModule( $grpc.ServiceCall call, $0.UninstallModuleRequest request); $async.Future<$0.FetchModuleDocsResponse> fetchModuleDocs_Pre( $grpc.ServiceCall $call, $async.Future<$0.FetchModuleDocsRequest> $request) async { return fetchModuleDocs($call, await $request); } $async.Future<$0.FetchModuleDocsResponse> fetchModuleDocs( $grpc.ServiceCall call, $0.FetchModuleDocsRequest request); $async.Future<$0.GetInstalledModuleDocsResponse> getInstalledModuleDocs_Pre( $grpc.ServiceCall $call, $async.Future<$0.GetInstalledModuleDocsRequest> $request) async { return getInstalledModuleDocs($call, await $request); } $async.Future<$0.GetInstalledModuleDocsResponse> getInstalledModuleDocs( $grpc.ServiceCall call, $0.GetInstalledModuleDocsRequest request); $async.Future<$0.InvokePluginThemeResponse> invokePluginTheme_Pre( $grpc.ServiceCall $call, $async.Future<$0.InvokePluginThemeRequest> $request) async { return invokePluginTheme($call, await $request); } $async.Future<$0.InvokePluginThemeResponse> invokePluginTheme( $grpc.ServiceCall call, $0.InvokePluginThemeRequest request); $async.Future<$0.InvokePluginTranslateResponse> invokePluginTranslate_Pre( $grpc.ServiceCall $call, $async.Future<$0.InvokePluginTranslateRequest> $request) async { return invokePluginTranslate($call, await $request); } $async.Future<$0.InvokePluginTranslateResponse> invokePluginTranslate( $grpc.ServiceCall call, $0.InvokePluginTranslateRequest request); $async.Future<$0.ApprovalList> listApprovals_Pre($grpc.ServiceCall $call, $async.Future<$0.ListApprovalsRequest> $request) async { return listApprovals($call, await $request); } $async.Future<$0.ApprovalList> listApprovals( $grpc.ServiceCall call, $0.ListApprovalsRequest request); $async.Future<$0.DecideApprovalResponse> decideApproval_Pre( $grpc.ServiceCall $call, $async.Future<$0.DecideApprovalRequest> $request) async { return decideApproval($call, await $request); } $async.Future<$0.DecideApprovalResponse> decideApproval( $grpc.ServiceCall call, $0.DecideApprovalRequest request); $async.Future<$0.VerifyEventChainResponse> verifyEventChain_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return verifyEventChain($call, await $request); } $async.Future<$0.VerifyEventChainResponse> verifyEventChain( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.ClearEventLogResponse> clearEventLog_Pre( $grpc.ServiceCall $call, $async.Future<$0.ClearEventLogRequest> $request) async { return clearEventLog($call, await $request); } $async.Future<$0.ClearEventLogResponse> clearEventLog( $grpc.ServiceCall call, $0.ClearEventLogRequest request); $async.Future<$0.DefaultScopeResponse> getDefaultScope_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return getDefaultScope($call, await $request); } $async.Future<$0.DefaultScopeResponse> getDefaultScope( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.DefaultScopeResponse> setDefaultScope_Pre( $grpc.ServiceCall $call, $async.Future<$0.SetDefaultScopeRequest> $request) async { return setDefaultScope($call, await $request); } $async.Future<$0.DefaultScopeResponse> setDefaultScope( $grpc.ServiceCall call, $0.SetDefaultScopeRequest request); $async.Future<$0.ReloadAuthResponse> reloadAuth_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return reloadAuth($call, await $request); } $async.Future<$0.ReloadAuthResponse> reloadAuth( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.ServiceList> listServices_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return listServices($call, await $request); } $async.Future<$0.ServiceList> listServices( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.CheckUpdateResponse> checkUpdate_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return checkUpdate($call, await $request); } $async.Future<$0.CheckUpdateResponse> checkUpdate( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.ChannelStatusResponse> channelStatus_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return channelStatus($call, await $request); } $async.Future<$0.ChannelStatusResponse> channelStatus( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.DaemonPathsResponse> daemonPaths_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return daemonPaths($call, await $request); } $async.Future<$0.DaemonPathsResponse> daemonPaths( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.ListMcpClientsResponse> listMcpClients_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return listMcpClients($call, await $request); } $async.Future<$0.ListMcpClientsResponse> listMcpClients( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.ListMcpClientsResponse> refreshMcpClients_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return refreshMcpClients($call, await $request); } $async.Future<$0.ListMcpClientsResponse> refreshMcpClients( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.ListMcpClientsResponse> addMcpClient_Pre( $grpc.ServiceCall $call, $async.Future<$0.McpClientConfigEntry> $request) async { return addMcpClient($call, await $request); } $async.Future<$0.ListMcpClientsResponse> addMcpClient( $grpc.ServiceCall call, $0.McpClientConfigEntry request); $async.Future<$0.ListMcpClientsResponse> removeMcpClient_Pre( $grpc.ServiceCall $call, $async.Future<$0.RemoveMcpClientRequest> $request) async { return removeMcpClient($call, await $request); } $async.Future<$0.ListMcpClientsResponse> removeMcpClient( $grpc.ServiceCall call, $0.RemoveMcpClientRequest request); $async.Future<$0.ListN8nEndpointsResponse> listN8nEndpoints_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return listN8nEndpoints($call, await $request); } $async.Future<$0.ListN8nEndpointsResponse> listN8nEndpoints( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.ListN8nEndpointsResponse> refreshN8nEndpoints_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return refreshN8nEndpoints($call, await $request); } $async.Future<$0.ListN8nEndpointsResponse> refreshN8nEndpoints( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.ListN8nEndpointsResponse> addN8nEndpoint_Pre( $grpc.ServiceCall $call, $async.Future<$0.N8nEndpointConfigEntry> $request) async { return addN8nEndpoint($call, await $request); } $async.Future<$0.ListN8nEndpointsResponse> addN8nEndpoint( $grpc.ServiceCall call, $0.N8nEndpointConfigEntry request); $async.Future<$0.ListN8nEndpointsResponse> removeN8nEndpoint_Pre( $grpc.ServiceCall $call, $async.Future<$0.RemoveN8nEndpointRequest> $request) async { return removeN8nEndpoint($call, await $request); } $async.Future<$0.ListN8nEndpointsResponse> removeN8nEndpoint( $grpc.ServiceCall call, $0.RemoveN8nEndpointRequest request); $async.Future<$0.SystemAiStatusResponse> systemAiStatus_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return systemAiStatus($call, await $request); } $async.Future<$0.SystemAiStatusResponse> systemAiStatus( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.AskAiResponse> askAi_Pre( $grpc.ServiceCall $call, $async.Future<$0.AskAiRequest> $request) async { return askAi($call, await $request); } $async.Future<$0.AskAiResponse> askAi( $grpc.ServiceCall call, $0.AskAiRequest request); $async.Future<$0.SystemAiStatusResponse> updateSystemAi_Pre( $grpc.ServiceCall $call, $async.Future<$0.UpdateSystemAiRequest> $request) async { return updateSystemAi($call, await $request); } $async.Future<$0.SystemAiStatusResponse> updateSystemAi( $grpc.ServiceCall call, $0.UpdateSystemAiRequest request); $async.Future<$0.AskAiResponse> testSystemAi_Pre($grpc.ServiceCall $call, $async.Future<$0.TestSystemAiRequest> $request) async { return testSystemAi($call, await $request); } $async.Future<$0.AskAiResponse> testSystemAi( $grpc.ServiceCall call, $0.TestSystemAiRequest request); $async.Future<$0.ListSystemAiModelsResponse> listSystemAiModels_Pre( $grpc.ServiceCall $call, $async.Future<$0.TestSystemAiRequest> $request) async { return listSystemAiModels($call, await $request); } $async.Future<$0.ListSystemAiModelsResponse> listSystemAiModels( $grpc.ServiceCall call, $0.TestSystemAiRequest request); $async.Future<$0.PullSystemAiModelResponse> pullSystemAiModel_Pre( $grpc.ServiceCall $call, $async.Future<$0.PullSystemAiModelRequest> $request) async { return pullSystemAiModel($call, await $request); } $async.Future<$0.PullSystemAiModelResponse> pullSystemAiModel( $grpc.ServiceCall call, $0.PullSystemAiModelRequest request); $async.Future<$0.ClearSystemLlmCacheResponse> clearSystemLlmCache_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return clearSystemLlmCache($call, await $request); } $async.Future<$0.ClearSystemLlmCacheResponse> clearSystemLlmCache( $grpc.ServiceCall call, $1.Empty request); $async.Future<$1.Empty> forgetCachedExplanation_Pre( $grpc.ServiceCall $call, $async.Future<$0.AskAiRequest> $request) async { return forgetCachedExplanation($call, await $request); } $async.Future<$1.Empty> forgetCachedExplanation( $grpc.ServiceCall call, $0.AskAiRequest request); $async.Future<$0.HardwareInfoResponse> hardwareInfo_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return hardwareInfo($call, await $request); } $async.Future<$0.HardwareInfoResponse> hardwareInfo( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.ListSystemAiCuratedModelsResponse> listSystemAiCuratedModels_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return listSystemAiCuratedModels($call, await $request); } $async.Future<$0.ListSystemAiCuratedModelsResponse> listSystemAiCuratedModels( $grpc.ServiceCall call, $1.Empty request); $async.Future<$0.IssueBootstrapTokenResponse> issueBootstrapToken_Pre( $grpc.ServiceCall $call, $async.Future<$0.IssueBootstrapTokenRequest> $request) async { return issueBootstrapToken($call, await $request); } $async.Future<$0.IssueBootstrapTokenResponse> issueBootstrapToken( $grpc.ServiceCall call, $0.IssueBootstrapTokenRequest request); $async.Future<$0.SatelliteList> listSatellites_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return listSatellites($call, await $request); } $async.Future<$0.SatelliteList> listSatellites( $grpc.ServiceCall call, $1.Empty request); }