Wraps HubAdmin/PullSystemAiModelStream: yields the backend's own status and byte counts per layer, and hands the terminal response to onFinished, whose errorKind stays the failure signal. Stubs regenerated from the protos (additive only). Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2151 lines
86 KiB
Dart
2151 lines
86 KiB
Dart
// 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 'common.pb.dart' as $2;
|
|
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);
|
|
}
|
|
|
|
/// Submit a flow and follow its execution live (added 1.1). Same
|
|
/// request as unary Submit; the response is a stream of step markers,
|
|
/// ephemeral module events (host.emit-event), and finally the result
|
|
/// or an error. Works over native gRPC and gRPC-Web (server
|
|
/// streaming). Unary Submit is unchanged for clients that don't care.
|
|
$grpc.ResponseStream<$0.SubmitStreamEvent> submitStream(
|
|
$0.SubmitRequest request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createStreamingCall(
|
|
_$submitStream, $async.Stream.fromIterable([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);
|
|
}
|
|
|
|
/// Detached-invocation lifecycle (added 1.1). Only invocations
|
|
/// submitted with detach=true are tracked; results are retained under
|
|
/// hard operator limits (size/count/TTL) and NOT persisted across a
|
|
/// hub restart.
|
|
$grpc.ResponseFuture<$0.InvocationStatus> getInvocationStatus(
|
|
$2.InvocationId request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$getInvocationStatus, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.SubmitResponse> getInvocationResult(
|
|
$2.InvocationId request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$getInvocationResult, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.CancelInvocationResponse> cancelInvocation(
|
|
$2.InvocationId request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$cancelInvocation, request, options: options);
|
|
}
|
|
|
|
/// List every tracked detached invocation (newest-first) for a
|
|
/// monitor surface — Studio's detached-runs list. Returns an empty
|
|
/// list (not an error) when detached invocations are disabled.
|
|
$grpc.ResponseFuture<$0.InvocationList> listInvocations(
|
|
$1.Empty request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$listInvocations, 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 _$submitStream =
|
|
$grpc.ClientMethod<$0.SubmitRequest, $0.SubmitStreamEvent>(
|
|
'/chain.v1.Hub/SubmitStream',
|
|
($0.SubmitRequest value) => value.writeToBuffer(),
|
|
$0.SubmitStreamEvent.fromBuffer);
|
|
static final _$listModules = $grpc.ClientMethod<$1.Empty, $0.ModuleList>(
|
|
'/chain.v1.Hub/ListModules',
|
|
($1.Empty value) => value.writeToBuffer(),
|
|
$0.ModuleList.fromBuffer);
|
|
static final _$getInvocationStatus =
|
|
$grpc.ClientMethod<$2.InvocationId, $0.InvocationStatus>(
|
|
'/chain.v1.Hub/GetInvocationStatus',
|
|
($2.InvocationId value) => value.writeToBuffer(),
|
|
$0.InvocationStatus.fromBuffer);
|
|
static final _$getInvocationResult =
|
|
$grpc.ClientMethod<$2.InvocationId, $0.SubmitResponse>(
|
|
'/chain.v1.Hub/GetInvocationResult',
|
|
($2.InvocationId value) => value.writeToBuffer(),
|
|
$0.SubmitResponse.fromBuffer);
|
|
static final _$cancelInvocation =
|
|
$grpc.ClientMethod<$2.InvocationId, $0.CancelInvocationResponse>(
|
|
'/chain.v1.Hub/CancelInvocation',
|
|
($2.InvocationId value) => value.writeToBuffer(),
|
|
$0.CancelInvocationResponse.fromBuffer);
|
|
static final _$listInvocations =
|
|
$grpc.ClientMethod<$1.Empty, $0.InvocationList>(
|
|
'/chain.v1.Hub/ListInvocations',
|
|
($1.Empty value) => value.writeToBuffer(),
|
|
$0.InvocationList.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<$0.SubmitRequest, $0.SubmitStreamEvent>(
|
|
'SubmitStream',
|
|
submitStream_Pre,
|
|
false,
|
|
true,
|
|
($core.List<$core.int> value) => $0.SubmitRequest.fromBuffer(value),
|
|
($0.SubmitStreamEvent 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<$2.InvocationId, $0.InvocationStatus>(
|
|
'GetInvocationStatus',
|
|
getInvocationStatus_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $2.InvocationId.fromBuffer(value),
|
|
($0.InvocationStatus value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$2.InvocationId, $0.SubmitResponse>(
|
|
'GetInvocationResult',
|
|
getInvocationResult_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $2.InvocationId.fromBuffer(value),
|
|
($0.SubmitResponse value) => value.writeToBuffer()));
|
|
$addMethod(
|
|
$grpc.ServiceMethod<$2.InvocationId, $0.CancelInvocationResponse>(
|
|
'CancelInvocation',
|
|
cancelInvocation_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $2.InvocationId.fromBuffer(value),
|
|
($0.CancelInvocationResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$1.Empty, $0.InvocationList>(
|
|
'ListInvocations',
|
|
listInvocations_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
|
($0.InvocationList 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.Stream<$0.SubmitStreamEvent> submitStream_Pre($grpc.ServiceCall $call,
|
|
$async.Future<$0.SubmitRequest> $request) async* {
|
|
yield* submitStream($call, await $request);
|
|
}
|
|
|
|
$async.Stream<$0.SubmitStreamEvent> submitStream(
|
|
$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.InvocationStatus> getInvocationStatus_Pre(
|
|
$grpc.ServiceCall $call, $async.Future<$2.InvocationId> $request) async {
|
|
return getInvocationStatus($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.InvocationStatus> getInvocationStatus(
|
|
$grpc.ServiceCall call, $2.InvocationId request);
|
|
|
|
$async.Future<$0.SubmitResponse> getInvocationResult_Pre(
|
|
$grpc.ServiceCall $call, $async.Future<$2.InvocationId> $request) async {
|
|
return getInvocationResult($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.SubmitResponse> getInvocationResult(
|
|
$grpc.ServiceCall call, $2.InvocationId request);
|
|
|
|
$async.Future<$0.CancelInvocationResponse> cancelInvocation_Pre(
|
|
$grpc.ServiceCall $call, $async.Future<$2.InvocationId> $request) async {
|
|
return cancelInvocation($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.CancelInvocationResponse> cancelInvocation(
|
|
$grpc.ServiceCall call, $2.InvocationId request);
|
|
|
|
$async.Future<$0.InvocationList> listInvocations_Pre(
|
|
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async {
|
|
return listInvocations($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.InvocationList> listInvocations(
|
|
$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
|
|
/// <data_dir>/flows/<name>.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);
|
|
}
|
|
|
|
/// List the shared hub's project registry (`general` first) —
|
|
/// the lightweight labels that group flows, runs, approvals and
|
|
/// audit events. Only `open` and `protected` projects appear:
|
|
/// sealed projects are their own hub instance and are never
|
|
/// known to a shared hub (docs/architecture/projects.md).
|
|
/// Studio's workspace switcher reads this list.
|
|
$grpc.ResponseFuture<$0.ProjectList> listProjects(
|
|
$1.Empty request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$listProjects, 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);
|
|
}
|
|
|
|
/// List the configured module stores (operator config `stores:`)
|
|
/// plus the implicit bundled seed, for the Studio store manager.
|
|
$grpc.ResponseFuture<$0.ListStoresResponse> listStores(
|
|
$0.ListStoresRequest request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$listStores, request, options: options);
|
|
}
|
|
|
|
/// Register a new module store and merge its index into the live
|
|
/// store so its modules become searchable + installable immediately.
|
|
$grpc.ResponseFuture<$0.AddStoreResponse> addStore(
|
|
$0.AddStoreRequest request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$addStore, request, options: options);
|
|
}
|
|
|
|
/// Drop a configured store by name and rebuild the live index
|
|
/// without it. The bundled seed cannot be removed.
|
|
$grpc.ResponseFuture<$0.RemoveStoreResponse> removeStore(
|
|
$0.RemoveStoreRequest request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$removeStore, request, options: options);
|
|
}
|
|
|
|
/// Install a module from a .chain bundle (local path or http(s) URL).
|
|
$grpc.ResponseFuture<$0.InstallModuleResponse> installModule(
|
|
$0.InstallModuleRequest request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$installModule, request, options: options);
|
|
}
|
|
|
|
/// Same install, with live progress. Emits an update per phase and,
|
|
/// during the download, as bytes arrive; the last message carries
|
|
/// either the finished response or the error. Clients that only need
|
|
/// the outcome keep using the unary InstallModule above — this exists
|
|
/// so a waiting operator can see that a slow download is progressing
|
|
/// rather than hung.
|
|
$grpc.ResponseStream<$0.InstallProgressEvent> installModuleStream(
|
|
$0.InstallModuleRequest request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createStreamingCall(
|
|
_$installModuleStream, $async.Stream.fromIterable([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.<locale>.md) of an
|
|
/// installed module from disk. No network fetch, no provider-
|
|
/// specific URL probing — the docs ship in the .chain 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 `chain 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 `chain 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 `<provider>/`
|
|
/// 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);
|
|
}
|
|
|
|
/// Read-only snapshot of the authentication policy as persisted
|
|
/// in the operator config, for operator surfaces (Studio
|
|
/// Settings → Security). Never carries secret material: token
|
|
/// entries expose the env-var NAME and whether that variable is
|
|
/// currently set — never the value; the jwt-rs256 validator
|
|
/// exposes its key SOURCE (inline / file path), never the key.
|
|
/// Admin-scoped like ReloadAuth.
|
|
$grpc.ResponseFuture<$0.AuthStatusResponse> authStatus(
|
|
$1.Empty request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$authStatus, request, options: options);
|
|
}
|
|
|
|
/// Assemble the guided-setup plan for the given answers — a pure
|
|
/// computation (chain_core::guided_setup::assemble), no state
|
|
/// change, nothing written. Lets a GUI render the setup preview
|
|
/// over its existing hub connection instead of spawning the CLI:
|
|
/// on macOS that subprocess can be the app's first file-system
|
|
/// touch and trigger a permission prompt BEFORE the operator has
|
|
/// seen what would be set up — the wrong order for trust. Apply
|
|
/// remains a deliberate separate step.
|
|
$grpc.ResponseFuture<$0.PlanSetupResponse> planSetup(
|
|
$0.PlanSetupRequest request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$planSetup, request, options: options);
|
|
}
|
|
|
|
/// List host services declared in the operator config. Each
|
|
/// entry carries name + endpoint; reachability is operator-side
|
|
/// (on-demand `chain service status` or Studio probe).
|
|
$grpc.ResponseFuture<$0.ServiceList> listServices(
|
|
$1.Empty request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$listServices, request, options: options);
|
|
}
|
|
|
|
/// Declare a new host service in the operator config. Fails with
|
|
/// ALREADY_EXISTS when a service of that name is configured.
|
|
$grpc.ResponseFuture<$0.DeclareServiceResponse> declareService(
|
|
$0.DeclareServiceRequest request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$declareService, request, options: options);
|
|
}
|
|
|
|
/// Compare the running hub's version against the channel release
|
|
/// manifest. Surfaced by the CLI as `chain 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
|
|
/// `chain 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 `chain 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 `~/.chain/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.<name>.<slug>`.
|
|
$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 ~/.chain/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);
|
|
}
|
|
|
|
/// Same pull, with live progress. A model pull moves gigabytes, so
|
|
/// the unary form above leaves a person waiting minutes with nothing
|
|
/// to look at. Emits Ollama's own status plus byte counts per layer,
|
|
/// ending in the response.
|
|
$grpc.ResponseStream<$0.PullProgressEvent> pullSystemAiModelStream(
|
|
$0.PullSystemAiModelRequest request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createStreamingCall(
|
|
_$pullSystemAiModelStream, $async.Stream.fromIterable([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 (`chain admin satellites
|
|
/// peer-add`), and list the satellites currently connected
|
|
/// (`chain 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);
|
|
}
|
|
|
|
/// Revoke a satellite by UUID (`chain admin satellites revoke`):
|
|
/// drops any live connection and refuses future connects even
|
|
/// with a still-valid cert. Persisted across restarts.
|
|
$grpc.ResponseFuture<$1.Empty> revokeSatellite(
|
|
$0.RevokeSatelliteRequest request, {
|
|
$grpc.CallOptions? options,
|
|
}) {
|
|
return $createUnaryCall(_$revokeSatellite, 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 _$listProjects = $grpc.ClientMethod<$1.Empty, $0.ProjectList>(
|
|
'/chain.v1.HubAdmin/ListProjects',
|
|
($1.Empty value) => value.writeToBuffer(),
|
|
$0.ProjectList.fromBuffer);
|
|
static final _$searchStore =
|
|
$grpc.ClientMethod<$0.SearchStoreRequest, $0.StoreSearchResponse>(
|
|
'/chain.v1.HubAdmin/SearchStore',
|
|
($0.SearchStoreRequest value) => value.writeToBuffer(),
|
|
$0.StoreSearchResponse.fromBuffer);
|
|
static final _$listStores =
|
|
$grpc.ClientMethod<$0.ListStoresRequest, $0.ListStoresResponse>(
|
|
'/chain.v1.HubAdmin/ListStores',
|
|
($0.ListStoresRequest value) => value.writeToBuffer(),
|
|
$0.ListStoresResponse.fromBuffer);
|
|
static final _$addStore =
|
|
$grpc.ClientMethod<$0.AddStoreRequest, $0.AddStoreResponse>(
|
|
'/chain.v1.HubAdmin/AddStore',
|
|
($0.AddStoreRequest value) => value.writeToBuffer(),
|
|
$0.AddStoreResponse.fromBuffer);
|
|
static final _$removeStore =
|
|
$grpc.ClientMethod<$0.RemoveStoreRequest, $0.RemoveStoreResponse>(
|
|
'/chain.v1.HubAdmin/RemoveStore',
|
|
($0.RemoveStoreRequest value) => value.writeToBuffer(),
|
|
$0.RemoveStoreResponse.fromBuffer);
|
|
static final _$installModule =
|
|
$grpc.ClientMethod<$0.InstallModuleRequest, $0.InstallModuleResponse>(
|
|
'/chain.v1.HubAdmin/InstallModule',
|
|
($0.InstallModuleRequest value) => value.writeToBuffer(),
|
|
$0.InstallModuleResponse.fromBuffer);
|
|
static final _$installModuleStream =
|
|
$grpc.ClientMethod<$0.InstallModuleRequest, $0.InstallProgressEvent>(
|
|
'/chain.v1.HubAdmin/InstallModuleStream',
|
|
($0.InstallModuleRequest value) => value.writeToBuffer(),
|
|
$0.InstallProgressEvent.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 _$authStatus =
|
|
$grpc.ClientMethod<$1.Empty, $0.AuthStatusResponse>(
|
|
'/chain.v1.HubAdmin/AuthStatus',
|
|
($1.Empty value) => value.writeToBuffer(),
|
|
$0.AuthStatusResponse.fromBuffer);
|
|
static final _$planSetup =
|
|
$grpc.ClientMethod<$0.PlanSetupRequest, $0.PlanSetupResponse>(
|
|
'/chain.v1.HubAdmin/PlanSetup',
|
|
($0.PlanSetupRequest value) => value.writeToBuffer(),
|
|
$0.PlanSetupResponse.fromBuffer);
|
|
static final _$listServices = $grpc.ClientMethod<$1.Empty, $0.ServiceList>(
|
|
'/chain.v1.HubAdmin/ListServices',
|
|
($1.Empty value) => value.writeToBuffer(),
|
|
$0.ServiceList.fromBuffer);
|
|
static final _$declareService =
|
|
$grpc.ClientMethod<$0.DeclareServiceRequest, $0.DeclareServiceResponse>(
|
|
'/chain.v1.HubAdmin/DeclareService',
|
|
($0.DeclareServiceRequest value) => value.writeToBuffer(),
|
|
$0.DeclareServiceResponse.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 _$pullSystemAiModelStream =
|
|
$grpc.ClientMethod<$0.PullSystemAiModelRequest, $0.PullProgressEvent>(
|
|
'/chain.v1.HubAdmin/PullSystemAiModelStream',
|
|
($0.PullSystemAiModelRequest value) => value.writeToBuffer(),
|
|
$0.PullProgressEvent.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);
|
|
static final _$revokeSatellite =
|
|
$grpc.ClientMethod<$0.RevokeSatelliteRequest, $1.Empty>(
|
|
'/chain.v1.HubAdmin/RevokeSatellite',
|
|
($0.RevokeSatelliteRequest value) => value.writeToBuffer(),
|
|
$1.Empty.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<$1.Empty, $0.ProjectList>(
|
|
'ListProjects',
|
|
listProjects_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
|
($0.ProjectList 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.ListStoresRequest, $0.ListStoresResponse>(
|
|
'ListStores',
|
|
listStores_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.ListStoresRequest.fromBuffer(value),
|
|
($0.ListStoresResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.AddStoreRequest, $0.AddStoreResponse>(
|
|
'AddStore',
|
|
addStore_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AddStoreRequest.fromBuffer(value),
|
|
($0.AddStoreResponse value) => value.writeToBuffer()));
|
|
$addMethod(
|
|
$grpc.ServiceMethod<$0.RemoveStoreRequest, $0.RemoveStoreResponse>(
|
|
'RemoveStore',
|
|
removeStore_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) =>
|
|
$0.RemoveStoreRequest.fromBuffer(value),
|
|
($0.RemoveStoreResponse 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.InstallModuleRequest, $0.InstallProgressEvent>(
|
|
'InstallModuleStream',
|
|
installModuleStream_Pre,
|
|
false,
|
|
true,
|
|
($core.List<$core.int> value) =>
|
|
$0.InstallModuleRequest.fromBuffer(value),
|
|
($0.InstallProgressEvent 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.AuthStatusResponse>(
|
|
'AuthStatus',
|
|
authStatus_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
|
($0.AuthStatusResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.PlanSetupRequest, $0.PlanSetupResponse>(
|
|
'PlanSetup',
|
|
planSetup_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.PlanSetupRequest.fromBuffer(value),
|
|
($0.PlanSetupResponse 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<$0.DeclareServiceRequest,
|
|
$0.DeclareServiceResponse>(
|
|
'DeclareService',
|
|
declareService_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) =>
|
|
$0.DeclareServiceRequest.fromBuffer(value),
|
|
($0.DeclareServiceResponse 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<$0.PullSystemAiModelRequest, $0.PullProgressEvent>(
|
|
'PullSystemAiModelStream',
|
|
pullSystemAiModelStream_Pre,
|
|
false,
|
|
true,
|
|
($core.List<$core.int> value) =>
|
|
$0.PullSystemAiModelRequest.fromBuffer(value),
|
|
($0.PullProgressEvent 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()));
|
|
$addMethod($grpc.ServiceMethod<$0.RevokeSatelliteRequest, $1.Empty>(
|
|
'RevokeSatellite',
|
|
revokeSatellite_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) =>
|
|
$0.RevokeSatelliteRequest.fromBuffer(value),
|
|
($1.Empty 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.ProjectList> listProjects_Pre(
|
|
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async {
|
|
return listProjects($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.ProjectList> listProjects(
|
|
$grpc.ServiceCall call, $1.Empty 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.ListStoresResponse> listStores_Pre($grpc.ServiceCall $call,
|
|
$async.Future<$0.ListStoresRequest> $request) async {
|
|
return listStores($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.ListStoresResponse> listStores(
|
|
$grpc.ServiceCall call, $0.ListStoresRequest request);
|
|
|
|
$async.Future<$0.AddStoreResponse> addStore_Pre($grpc.ServiceCall $call,
|
|
$async.Future<$0.AddStoreRequest> $request) async {
|
|
return addStore($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AddStoreResponse> addStore(
|
|
$grpc.ServiceCall call, $0.AddStoreRequest request);
|
|
|
|
$async.Future<$0.RemoveStoreResponse> removeStore_Pre($grpc.ServiceCall $call,
|
|
$async.Future<$0.RemoveStoreRequest> $request) async {
|
|
return removeStore($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.RemoveStoreResponse> removeStore(
|
|
$grpc.ServiceCall call, $0.RemoveStoreRequest 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.Stream<$0.InstallProgressEvent> installModuleStream_Pre(
|
|
$grpc.ServiceCall $call,
|
|
$async.Future<$0.InstallModuleRequest> $request) async* {
|
|
yield* installModuleStream($call, await $request);
|
|
}
|
|
|
|
$async.Stream<$0.InstallProgressEvent> installModuleStream(
|
|
$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.AuthStatusResponse> authStatus_Pre(
|
|
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async {
|
|
return authStatus($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AuthStatusResponse> authStatus(
|
|
$grpc.ServiceCall call, $1.Empty request);
|
|
|
|
$async.Future<$0.PlanSetupResponse> planSetup_Pre($grpc.ServiceCall $call,
|
|
$async.Future<$0.PlanSetupRequest> $request) async {
|
|
return planSetup($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.PlanSetupResponse> planSetup(
|
|
$grpc.ServiceCall call, $0.PlanSetupRequest 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.DeclareServiceResponse> declareService_Pre(
|
|
$grpc.ServiceCall $call,
|
|
$async.Future<$0.DeclareServiceRequest> $request) async {
|
|
return declareService($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.DeclareServiceResponse> declareService(
|
|
$grpc.ServiceCall call, $0.DeclareServiceRequest 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.Stream<$0.PullProgressEvent> pullSystemAiModelStream_Pre(
|
|
$grpc.ServiceCall $call,
|
|
$async.Future<$0.PullSystemAiModelRequest> $request) async* {
|
|
yield* pullSystemAiModelStream($call, await $request);
|
|
}
|
|
|
|
$async.Stream<$0.PullProgressEvent> pullSystemAiModelStream(
|
|
$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);
|
|
|
|
$async.Future<$1.Empty> revokeSatellite_Pre($grpc.ServiceCall $call,
|
|
$async.Future<$0.RevokeSatelliteRequest> $request) async {
|
|
return revokeSatellite($call, await $request);
|
|
}
|
|
|
|
$async.Future<$1.Empty> revokeSatellite(
|
|
$grpc.ServiceCall call, $0.RevokeSatelliteRequest request);
|
|
}
|