@code0-tech/tucana 0.0.71 → 0.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,27 @@
1
+ import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
2
+ import { ExecutionResponse, ExecutionRequest } from './aquila.execution_pb';
3
+ /**
4
+ * @generated from protobuf service aquila.ExecutionService
5
+ */
6
+ export interface IExecutionServiceClient {
7
+ /**
8
+ * @generated from protobuf rpc: Update
9
+ */
10
+ update(input: ExecutionRequest, options?: RpcOptions): UnaryCall<ExecutionRequest, ExecutionResponse>;
11
+ }
12
+ /**
13
+ * @generated from protobuf service aquila.ExecutionService
14
+ */
15
+ export declare class ExecutionServiceClient implements IExecutionServiceClient, ServiceInfo {
16
+ private readonly _transport;
17
+ typeName: string;
18
+ methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
19
+ options: {
20
+ [extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
21
+ };
22
+ constructor(_transport: RpcTransport);
23
+ /**
24
+ * @generated from protobuf rpc: Update
25
+ */
26
+ update(input: ExecutionRequest, options?: RpcOptions): UnaryCall<ExecutionRequest, ExecutionResponse>;
27
+ }
@@ -0,0 +1,46 @@
1
+ import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
+ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
+ import { ExecutionResult } from './shared.execution_result_pb';
4
+ /**
5
+ * @generated from protobuf message aquila.ExecutionRequest
6
+ */
7
+ export interface ExecutionRequest {
8
+ /**
9
+ * @generated from protobuf field: shared.ExecutionResult execution_result = 1
10
+ */
11
+ executionResult?: ExecutionResult;
12
+ }
13
+ /**
14
+ * @generated from protobuf message aquila.ExecutionResponse
15
+ */
16
+ export interface ExecutionResponse {
17
+ /**
18
+ * @generated from protobuf field: bool success = 1
19
+ */
20
+ success: boolean;
21
+ }
22
+ declare class ExecutionRequest$Type extends MessageType<ExecutionRequest> {
23
+ constructor();
24
+ create(value?: PartialMessage<ExecutionRequest>): ExecutionRequest;
25
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionRequest): ExecutionRequest;
26
+ internalBinaryWrite(message: ExecutionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
27
+ }
28
+ /**
29
+ * @generated MessageType for protobuf message aquila.ExecutionRequest
30
+ */
31
+ export declare const ExecutionRequest: ExecutionRequest$Type;
32
+ declare class ExecutionResponse$Type extends MessageType<ExecutionResponse> {
33
+ constructor();
34
+ create(value?: PartialMessage<ExecutionResponse>): ExecutionResponse;
35
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionResponse): ExecutionResponse;
36
+ internalBinaryWrite(message: ExecutionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
37
+ }
38
+ /**
39
+ * @generated MessageType for protobuf message aquila.ExecutionResponse
40
+ */
41
+ export declare const ExecutionResponse: ExecutionResponse$Type;
42
+ /**
43
+ * @generated ServiceType for protobuf service aquila.ExecutionService
44
+ */
45
+ export declare const ExecutionService: ServiceType;
46
+ export {};
@@ -1,6 +1,7 @@
1
1
  import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
2
  import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
3
  import { GenerationFlow } from './shared.flow_pb';
4
+ import { FlowType } from './shared.flow_type_pb';
4
5
  import { DefinitionDataType } from './shared.data_type_pb';
5
6
  import { FunctionDefinition } from './shared.function_pb';
6
7
  /**
@@ -16,13 +17,21 @@ export interface PromptRequest {
16
17
  */
17
18
  projectId: bigint;
18
19
  /**
19
- * @generated from protobuf field: repeated shared.FunctionDefinition functions = 3
20
+ * @generated from protobuf field: string model_identifier = 3
21
+ */
22
+ modelIdentifier: string;
23
+ /**
24
+ * @generated from protobuf field: repeated shared.FunctionDefinition functions = 4
20
25
  */
21
26
  functions: FunctionDefinition[];
22
27
  /**
23
- * @generated from protobuf field: repeated shared.DefinitionDataType data_types = 4
28
+ * @generated from protobuf field: repeated shared.DefinitionDataType data_types = 5
24
29
  */
25
30
  dataTypes: DefinitionDataType[];
31
+ /**
32
+ * @generated from protobuf field: repeated shared.FlowType flow_types = 6
33
+ */
34
+ flowTypes: FlowType[];
26
35
  }
27
36
  /**
28
37
  * @generated from protobuf message velorum.FlowRequest
@@ -41,13 +50,21 @@ export interface FlowRequest {
41
50
  */
42
51
  projectId: bigint;
43
52
  /**
44
- * @generated from protobuf field: repeated shared.FunctionDefinition functions = 4
53
+ * @generated from protobuf field: string model_identifier = 4
54
+ */
55
+ modelIdentifier: string;
56
+ /**
57
+ * @generated from protobuf field: repeated shared.FunctionDefinition functions = 5
45
58
  */
46
59
  functions: FunctionDefinition[];
47
60
  /**
48
- * @generated from protobuf field: repeated shared.DefinitionDataType data_types = 5
61
+ * @generated from protobuf field: repeated shared.DefinitionDataType data_types = 6
49
62
  */
50
63
  dataTypes: DefinitionDataType[];
64
+ /**
65
+ * @generated from protobuf field: repeated shared.FlowType flow_types = 7
66
+ */
67
+ flowTypes: FlowType[];
51
68
  }
52
69
  /**
53
70
  * @generated from protobuf message velorum.FlowResponse
@@ -10,17 +10,21 @@ export interface ModelsRequest {
10
10
  */
11
11
  export interface Model {
12
12
  /**
13
- * @generated from protobuf field: string name = 1
13
+ * @generated from protobuf field: string identifier = 1
14
+ */
15
+ identifier: string;
16
+ /**
17
+ * @generated from protobuf field: string name = 2
14
18
  */
15
19
  name: string;
16
20
  /**
17
- * @generated from protobuf field: float token_cost = 2
21
+ * @generated from protobuf field: float token_cost = 3
18
22
  */
19
23
  tokenCost: number;
20
24
  /**
21
- * @generated from protobuf field: velorum.Model.ModelType type = 3
25
+ * @generated from protobuf field: repeated velorum.Model.ModelType type = 4
22
26
  */
23
- type: Model_ModelType;
27
+ type: Model_ModelType[];
24
28
  }
25
29
  /**
26
30
  * @generated from protobuf enum velorum.Model.ModelType
@@ -1,5 +1,7 @@
1
1
  export * from './_generated/aquila.action_pb.client.js';
2
2
  export * from './_generated/aquila.action_pb.js';
3
+ export * from './_generated/aquila.execution_pb.client.js';
4
+ export * from './_generated/aquila.execution_pb.js';
3
5
  export * from './_generated/aquila.module_pb.client.js';
4
6
  export * from './_generated/aquila.module_pb.js';
5
7
  export * from './_generated/aquila.runtime_status_pb.client.js';
@@ -1 +1 @@
1
- const e=require(`./shared.function_pb-B9l5kdQt.cjs`);function t(t,n){let r=t;return r.service=n,r.localName=r.localName??e._(r.name),r.serverStreaming=!!r.serverStreaming,r.clientStreaming=!!r.clientStreaming,r.options=r.options??{},r.idempotency=r.idempotency??void 0,r}var n=class{constructor(e,n,r){this.typeName=e,this.methods=n.map(e=>t(e,this)),this.options=r??{}}};function r(t,n,r,i,a){if(t==`unary`){let e=(e,t,r)=>n.unary(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptUnary).reverse()){let n=e;e=(e,r,i)=>t.interceptUnary(n,e,r,i)}return e(r,a,i)}if(t==`serverStreaming`){let e=(e,t,r)=>n.serverStreaming(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptServerStreaming).reverse()){let n=e;e=(e,r,i)=>t.interceptServerStreaming(n,e,r,i)}return e(r,a,i)}if(t==`clientStreaming`){let e=(e,t)=>n.clientStreaming(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptClientStreaming).reverse()){let n=e;e=(e,r)=>t.interceptClientStreaming(n,e,r)}return e(r,i)}if(t==`duplex`){let e=(e,t)=>n.duplex(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptDuplex).reverse()){let n=e;e=(e,r)=>t.interceptDuplex(n,e,r)}return e(r,i)}e.v(t)}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
1
+ const e=require(`./shared.function_pb-BErnwHWO.cjs`);function t(t,n){let r=t;return r.service=n,r.localName=r.localName??e.b(r.name),r.serverStreaming=!!r.serverStreaming,r.clientStreaming=!!r.clientStreaming,r.options=r.options??{},r.idempotency=r.idempotency??void 0,r}var n=class{constructor(e,n,r){this.typeName=e,this.methods=n.map(e=>t(e,this)),this.options=r??{}}};function r(t,n,r,i,a){if(t==`unary`){let e=(e,t,r)=>n.unary(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptUnary).reverse()){let n=e;e=(e,r,i)=>t.interceptUnary(n,e,r,i)}return e(r,a,i)}if(t==`serverStreaming`){let e=(e,t,r)=>n.serverStreaming(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptServerStreaming).reverse()){let n=e;e=(e,r,i)=>t.interceptServerStreaming(n,e,r,i)}return e(r,a,i)}if(t==`clientStreaming`){let e=(e,t)=>n.clientStreaming(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptClientStreaming).reverse()){let n=e;e=(e,r)=>t.interceptClientStreaming(n,e,r)}return e(r,i)}if(t==`duplex`){let e=(e,t)=>n.duplex(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptDuplex).reverse()){let n=e;e=(e,r)=>t.interceptDuplex(n,e,r)}return e(r,i)}e.x(t)}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
@@ -1,4 +1,4 @@
1
- import { _ as e, v as t } from "./shared.function_pb-CMAwFz4S.js";
1
+ import { b as e, x as t } from "./shared.function_pb-e1jkWYE_.js";
2
2
  //#region node_modules/@protobuf-ts/runtime-rpc/build/es2015/reflection-info.js
3
3
  function n(t, n) {
4
4
  let r = t;
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.function_pb-B9l5kdQt.cjs`),t=require(`./shared.runtime_usage_pb-CVahFg9u.cjs`),n=require(`./shared.flow_pb-BNS2UoJj.cjs`),r=require(`./rpc-interceptor-CRhk15Dz.cjs`);var i=new class extends e.h{constructor(){super(`sagittarius.FlowLogonRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.g(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.y.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.y.onWrite:i)(this.typeName,t,n),n}},a=new class extends e.h{constructor(){super(`sagittarius.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>n.m},{no:2,name:`deleted_flow_id`,kind:`scalar`,oneof:`data`,T:3,L:0},{no:3,name:`flows`,kind:`message`,oneof:`data`,T:()=>n.i},{no:4,name:`module_configurations`,kind:`message`,oneof:`data`,T:()=>t.p}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.g(this,n,t),n}internalBinaryRead(r,i,a,o){let s=o??this.create(),c=r.pos+i;for(;r.pos<c;){let[i,o]=r.tag();switch(i){case 1:s.data={oneofKind:`updatedFlow`,updatedFlow:n.m.internalBinaryRead(r,r.uint32(),a,s.data.updatedFlow)};break;case 2:s.data={oneofKind:`deletedFlowId`,deletedFlowId:r.int64().toBigInt()};break;case 3:s.data={oneofKind:`flows`,flows:n.i.internalBinaryRead(r,r.uint32(),a,s.data.flows)};break;case 4:s.data={oneofKind:`moduleConfigurations`,moduleConfigurations:t.p.internalBinaryRead(r,r.uint32(),a,s.data.moduleConfigurations)};break;default:let c=a.readUnknownField;if(c===`throw`)throw new globalThis.Error(`Unknown field ${i} (wire type ${o}) for ${this.typeName}`);let l=r.skip(o);c!==!1&&(c===!0?e.y.onRead:c)(this.typeName,s,i,o,l)}}return s}internalBinaryWrite(r,i,a){r.data.oneofKind===`updatedFlow`&&n.m.internalBinaryWrite(r.data.updatedFlow,i.tag(1,e.b.LengthDelimited).fork(),a).join(),r.data.oneofKind===`deletedFlowId`&&i.tag(2,e.b.Varint).int64(r.data.deletedFlowId),r.data.oneofKind===`flows`&&n.i.internalBinaryWrite(r.data.flows,i.tag(3,e.b.LengthDelimited).fork(),a).join(),r.data.oneofKind===`moduleConfigurations`&&t.p.internalBinaryWrite(r.data.moduleConfigurations,i.tag(4,e.b.LengthDelimited).fork(),a).join();let o=a.writeUnknownFields;return o!==!1&&(o==1?e.y.onWrite:o)(this.typeName,r,i),i}},o=new r.n(`sagittarius.FlowService`,[{name:`Update`,serverStreaming:!0,options:{},I:i,O:a}]),s=class{constructor(e){this._transport=e,this.typeName=o.typeName,this.methods=o.methods,this.options=o.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`serverStreaming`,this._transport,n,i,e)}},c=new class extends e.h{constructor(){super(`sagittarius.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],t!==void 0&&e.g(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.modules.push(t.u.internalBinaryRead(n,n.uint32(),i));break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.y.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.modules.length;a++)t.u.internalBinaryWrite(n.modules[a],r.tag(1,e.b.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.y.onWrite:a)(this.typeName,n,r),r}},l=new class extends e.h{constructor(){super(`sagittarius.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.O}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.g(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.O.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.y.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.b.Varint).bool(n.success),n.error&&t.O.internalBinaryWrite(n.error,r.tag(2,e.b.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.y.onWrite:a)(this.typeName,n,r),r}},u=new r.n(`sagittarius.ModuleService`,[{name:`Update`,options:{},I:c,O:l}]),d=class{constructor(e){this._transport=e,this.typeName=u.typeName,this.methods=u.methods,this.options=u.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},f=new class extends e.h{constructor(){super(`sagittarius.PingMessage`,[{no:1,name:`ping_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.pingId=0n,t!==void 0&&e.g(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.pingId=t.int64().toBigInt();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.y.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.pingId!==0n&&n.tag(1,e.b.Varint).int64(t.pingId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.y.onWrite:i)(this.typeName,t,n),n}},p=new r.n(`sagittarius.PingService`,[{name:`Ping`,options:{},I:f,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}ping(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},h=new class extends e.h{constructor(){super(`sagittarius.RuntimeStatusUpdateRequest`,[{no:1,name:`adapter_runtime_status`,kind:`message`,oneof:`status`,T:()=>t.a},{no:2,name:`execution_runtime_status`,kind:`message`,oneof:`status`,T:()=>t.c},{no:3,name:`action_status`,kind:`message`,oneof:`status`,T:()=>t.n}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.status={oneofKind:void 0},t!==void 0&&e.g(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.status={oneofKind:`adapterRuntimeStatus`,adapterRuntimeStatus:t.a.internalBinaryRead(n,n.uint32(),i,o.status.adapterRuntimeStatus)};break;case 2:o.status={oneofKind:`executionRuntimeStatus`,executionRuntimeStatus:t.c.internalBinaryRead(n,n.uint32(),i,o.status.executionRuntimeStatus)};break;case 3:o.status={oneofKind:`actionStatus`,actionStatus:t.n.internalBinaryRead(n,n.uint32(),i,o.status.actionStatus)};break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.y.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.status.oneofKind===`adapterRuntimeStatus`&&t.a.internalBinaryWrite(n.status.adapterRuntimeStatus,r.tag(1,e.b.LengthDelimited).fork(),i).join(),n.status.oneofKind===`executionRuntimeStatus`&&t.c.internalBinaryWrite(n.status.executionRuntimeStatus,r.tag(2,e.b.LengthDelimited).fork(),i).join(),n.status.oneofKind===`actionStatus`&&t.n.internalBinaryWrite(n.status.actionStatus,r.tag(3,e.b.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.y.onWrite:a)(this.typeName,n,r),r}},g=new class extends e.h{constructor(){super(`sagittarius.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.O}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.g(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.O.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.y.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.b.Varint).bool(n.success),n.error&&t.O.internalBinaryWrite(n.error,r.tag(2,e.b.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.y.onWrite:a)(this.typeName,n,r),r}},_=new r.n(`sagittarius.RuntimeStatusService`,[{name:`Update`,options:{},I:h,O:g}]),v=class{constructor(e){this._transport=e,this.typeName=_.typeName,this.methods=_.methods,this.options=_.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},y=new class extends e.h{constructor(){super(`sagittarius.RuntimeUsageRequest`,[{no:1,name:`runtime_usage`,kind:`message`,repeat:2,T:()=>t.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeUsage=[],t!==void 0&&e.g(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.runtimeUsage.push(t.t.internalBinaryRead(n,n.uint32(),i));break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.y.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.runtimeUsage.length;a++)t.t.internalBinaryWrite(n.runtimeUsage[a],r.tag(1,e.b.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.y.onWrite:a)(this.typeName,n,r),r}},b=new class extends e.h{constructor(){super(`sagittarius.RuntimeUsageResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.O}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.g(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.O.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.y.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.b.Varint).bool(n.success),n.error&&t.O.internalBinaryWrite(n.error,r.tag(2,e.b.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.y.onWrite:a)(this.typeName,n,r),r}},x=new r.n(`sagittarius.RuntimeUsageService`,[{name:`Update`,options:{},I:y,O:b}]),S=class{constructor(e){this._transport=e,this.typeName=x.typeName,this.methods=x.methods,this.options=x.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},C=new class extends e.h{constructor(){super(`sagittarius.Logon`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.g(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.y.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.y.onWrite:i)(this.typeName,t,n),n}},w=new class extends e.h{constructor(){super(`sagittarius.TestExecutionRequest`,[{no:1,name:`flow_id`,kind:`scalar`,T:3,L:0},{no:2,name:`execution_identifier`,kind:`scalar`,T:9},{no:3,name:`body`,kind:`message`,T:()=>e.s}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.flowId=0n,n.executionIdentifier=``,t!==void 0&&e.g(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.flowId=t.int64().toBigInt();break;case 2:a.executionIdentifier=t.string();break;case 3:a.body=e.s.internalBinaryRead(t,t.uint32(),r,a.body);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.y.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.flowId!==0n&&n.tag(1,e.b.Varint).int64(t.flowId),t.executionIdentifier!==``&&n.tag(2,e.b.LengthDelimited).string(t.executionIdentifier),t.body&&e.s.internalBinaryWrite(t.body,n.tag(3,e.b.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.y.onWrite:i)(this.typeName,t,n),n}},T=new class extends e.h{constructor(){super(`sagittarius.ExecutionLogonRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>C},{no:2,name:`response`,kind:`message`,oneof:`data`,T:()=>t.C}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.g(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.data={oneofKind:`logon`,logon:C.internalBinaryRead(n,n.uint32(),i,o.data.logon)};break;case 2:o.data={oneofKind:`response`,response:t.C.internalBinaryRead(n,n.uint32(),i,o.data.response)};break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.y.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.data.oneofKind===`logon`&&C.internalBinaryWrite(n.data.logon,r.tag(1,e.b.LengthDelimited).fork(),i).join(),n.data.oneofKind===`response`&&t.C.internalBinaryWrite(n.data.response,r.tag(2,e.b.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.y.onWrite:a)(this.typeName,n,r),r}},E=new class extends e.h{constructor(){super(`sagittarius.ExecutionLogonResponse`,[{no:1,name:`request`,kind:`message`,T:()=>w}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.g(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.request=w.internalBinaryRead(t,t.uint32(),r,a.request);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.y.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.request&&w.internalBinaryWrite(t.request,n.tag(1,e.b.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.y.onWrite:i)(this.typeName,t,n),n}},D=new r.n(`sagittarius.ExecutionService`,[{name:`Test`,serverStreaming:!0,clientStreaming:!0,options:{},I:T,O:E}]),O=class{constructor(e){this._transport=e,this.typeName=D.typeName,this.methods=D.methods,this.options=D.options}test(e){let t=this.methods[0],n=this._transport.mergeOptions(e);return r.t(`duplex`,this._transport,t,n)}};exports.ExecutionLogonRequest=T,exports.ExecutionLogonResponse=E,exports.ExecutionService=D,exports.ExecutionServiceClient=O,exports.FlowLogonRequest=i,exports.FlowResponse=a,exports.FlowService=o,exports.FlowServiceClient=s,exports.Logon=C,exports.ModuleService=u,exports.ModuleServiceClient=d,exports.ModuleUpdateRequest=c,exports.ModuleUpdateResponse=l,exports.PingMessage=f,exports.PingService=p,exports.PingServiceClient=m,exports.RuntimeStatusService=_,exports.RuntimeStatusServiceClient=v,exports.RuntimeStatusUpdateRequest=h,exports.RuntimeStatusUpdateResponse=g,exports.RuntimeUsageRequest=y,exports.RuntimeUsageResponse=b,exports.RuntimeUsageService=x,exports.RuntimeUsageServiceClient=S,exports.TestExecutionRequest=w;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.function_pb-BErnwHWO.cjs`),t=require(`./shared.runtime_usage_pb-CSRup69H.cjs`),n=require(`./shared.flow_pb-DrDw61IF.cjs`),r=require(`./rpc-interceptor-DOeBkZHU.cjs`);var i=new class extends e.v{constructor(){super(`sagittarius.FlowLogonRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},a=new class extends e.v{constructor(){super(`sagittarius.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>n.m},{no:2,name:`deleted_flow_id`,kind:`scalar`,oneof:`data`,T:3,L:0},{no:3,name:`flows`,kind:`message`,oneof:`data`,T:()=>n.i},{no:4,name:`module_configurations`,kind:`message`,oneof:`data`,T:()=>t.p}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.y(this,n,t),n}internalBinaryRead(r,i,a,o){let s=o??this.create(),c=r.pos+i;for(;r.pos<c;){let[i,o]=r.tag();switch(i){case 1:s.data={oneofKind:`updatedFlow`,updatedFlow:n.m.internalBinaryRead(r,r.uint32(),a,s.data.updatedFlow)};break;case 2:s.data={oneofKind:`deletedFlowId`,deletedFlowId:r.int64().toBigInt()};break;case 3:s.data={oneofKind:`flows`,flows:n.i.internalBinaryRead(r,r.uint32(),a,s.data.flows)};break;case 4:s.data={oneofKind:`moduleConfigurations`,moduleConfigurations:t.p.internalBinaryRead(r,r.uint32(),a,s.data.moduleConfigurations)};break;default:let c=a.readUnknownField;if(c===`throw`)throw new globalThis.Error(`Unknown field ${i} (wire type ${o}) for ${this.typeName}`);let l=r.skip(o);c!==!1&&(c===!0?e.S.onRead:c)(this.typeName,s,i,o,l)}}return s}internalBinaryWrite(r,i,a){r.data.oneofKind===`updatedFlow`&&n.m.internalBinaryWrite(r.data.updatedFlow,i.tag(1,e.C.LengthDelimited).fork(),a).join(),r.data.oneofKind===`deletedFlowId`&&i.tag(2,e.C.Varint).int64(r.data.deletedFlowId),r.data.oneofKind===`flows`&&n.i.internalBinaryWrite(r.data.flows,i.tag(3,e.C.LengthDelimited).fork(),a).join(),r.data.oneofKind===`moduleConfigurations`&&t.p.internalBinaryWrite(r.data.moduleConfigurations,i.tag(4,e.C.LengthDelimited).fork(),a).join();let o=a.writeUnknownFields;return o!==!1&&(o==1?e.S.onWrite:o)(this.typeName,r,i),i}},o=new r.n(`sagittarius.FlowService`,[{name:`Update`,serverStreaming:!0,options:{},I:i,O:a}]),s=class{constructor(e){this._transport=e,this.typeName=o.typeName,this.methods=o.methods,this.options=o.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`serverStreaming`,this._transport,n,i,e)}},c=new class extends e.v{constructor(){super(`sagittarius.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.modules.push(t.u.internalBinaryRead(n,n.uint32(),i));break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.modules.length;a++)t.u.internalBinaryWrite(n.modules[a],r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},l=new class extends e.v{constructor(){super(`sagittarius.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.T}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.T.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.C.Varint).bool(n.success),n.error&&t.T.internalBinaryWrite(n.error,r.tag(2,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},u=new r.n(`sagittarius.ModuleService`,[{name:`Update`,options:{},I:c,O:l}]),d=class{constructor(e){this._transport=e,this.typeName=u.typeName,this.methods=u.methods,this.options=u.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},f=new class extends e.v{constructor(){super(`sagittarius.PingMessage`,[{no:1,name:`ping_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.pingId=0n,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.pingId=t.int64().toBigInt();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.pingId!==0n&&n.tag(1,e.C.Varint).int64(t.pingId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},p=new r.n(`sagittarius.PingService`,[{name:`Ping`,options:{},I:f,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}ping(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},h=new class extends e.v{constructor(){super(`sagittarius.RuntimeStatusUpdateRequest`,[{no:1,name:`adapter_runtime_status`,kind:`message`,oneof:`status`,T:()=>t.a},{no:2,name:`execution_runtime_status`,kind:`message`,oneof:`status`,T:()=>t.c},{no:3,name:`action_status`,kind:`message`,oneof:`status`,T:()=>t.n}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.status={oneofKind:void 0},t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.status={oneofKind:`adapterRuntimeStatus`,adapterRuntimeStatus:t.a.internalBinaryRead(n,n.uint32(),i,o.status.adapterRuntimeStatus)};break;case 2:o.status={oneofKind:`executionRuntimeStatus`,executionRuntimeStatus:t.c.internalBinaryRead(n,n.uint32(),i,o.status.executionRuntimeStatus)};break;case 3:o.status={oneofKind:`actionStatus`,actionStatus:t.n.internalBinaryRead(n,n.uint32(),i,o.status.actionStatus)};break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.status.oneofKind===`adapterRuntimeStatus`&&t.a.internalBinaryWrite(n.status.adapterRuntimeStatus,r.tag(1,e.C.LengthDelimited).fork(),i).join(),n.status.oneofKind===`executionRuntimeStatus`&&t.c.internalBinaryWrite(n.status.executionRuntimeStatus,r.tag(2,e.C.LengthDelimited).fork(),i).join(),n.status.oneofKind===`actionStatus`&&t.n.internalBinaryWrite(n.status.actionStatus,r.tag(3,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},g=new class extends e.v{constructor(){super(`sagittarius.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.T}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.T.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.C.Varint).bool(n.success),n.error&&t.T.internalBinaryWrite(n.error,r.tag(2,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},_=new r.n(`sagittarius.RuntimeStatusService`,[{name:`Update`,options:{},I:h,O:g}]),v=class{constructor(e){this._transport=e,this.typeName=_.typeName,this.methods=_.methods,this.options=_.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},y=new class extends e.v{constructor(){super(`sagittarius.RuntimeUsageRequest`,[{no:1,name:`runtime_usage`,kind:`message`,repeat:2,T:()=>t.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeUsage=[],t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.runtimeUsage.push(t.t.internalBinaryRead(n,n.uint32(),i));break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.runtimeUsage.length;a++)t.t.internalBinaryWrite(n.runtimeUsage[a],r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},b=new class extends e.v{constructor(){super(`sagittarius.RuntimeUsageResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.T}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.T.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.C.Varint).bool(n.success),n.error&&t.T.internalBinaryWrite(n.error,r.tag(2,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},x=new r.n(`sagittarius.RuntimeUsageService`,[{name:`Update`,options:{},I:y,O:b}]),S=class{constructor(e){this._transport=e,this.typeName=x.typeName,this.methods=x.methods,this.options=x.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},C=new class extends e.v{constructor(){super(`sagittarius.Logon`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},w=new class extends e.v{constructor(){super(`sagittarius.TestExecutionRequest`,[{no:1,name:`flow_id`,kind:`scalar`,T:3,L:0},{no:2,name:`execution_identifier`,kind:`scalar`,T:9},{no:3,name:`body`,kind:`message`,T:()=>e.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.flowId=0n,n.executionIdentifier=``,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.flowId=t.int64().toBigInt();break;case 2:a.executionIdentifier=t.string();break;case 3:a.body=e.u.internalBinaryRead(t,t.uint32(),r,a.body);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.flowId!==0n&&n.tag(1,e.C.Varint).int64(t.flowId),t.executionIdentifier!==``&&n.tag(2,e.C.LengthDelimited).string(t.executionIdentifier),t.body&&e.u.internalBinaryWrite(t.body,n.tag(3,e.C.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},T=new class extends e.v{constructor(){super(`sagittarius.ExecutionLogonRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>C},{no:2,name:`response`,kind:`message`,oneof:`data`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.data={oneofKind:`logon`,logon:C.internalBinaryRead(n,n.uint32(),i,o.data.logon)};break;case 2:o.data={oneofKind:`response`,response:t.b.internalBinaryRead(n,n.uint32(),i,o.data.response)};break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.data.oneofKind===`logon`&&C.internalBinaryWrite(n.data.logon,r.tag(1,e.C.LengthDelimited).fork(),i).join(),n.data.oneofKind===`response`&&t.b.internalBinaryWrite(n.data.response,r.tag(2,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},E=new class extends e.v{constructor(){super(`sagittarius.ExecutionLogonResponse`,[{no:1,name:`request`,kind:`message`,T:()=>w}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.request=w.internalBinaryRead(t,t.uint32(),r,a.request);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.request&&w.internalBinaryWrite(t.request,n.tag(1,e.C.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},D=new r.n(`sagittarius.ExecutionService`,[{name:`Test`,serverStreaming:!0,clientStreaming:!0,options:{},I:T,O:E}]),O=class{constructor(e){this._transport=e,this.typeName=D.typeName,this.methods=D.methods,this.options=D.options}test(e){let t=this.methods[0],n=this._transport.mergeOptions(e);return r.t(`duplex`,this._transport,t,n)}};exports.ExecutionLogonRequest=T,exports.ExecutionLogonResponse=E,exports.ExecutionService=D,exports.ExecutionServiceClient=O,exports.FlowLogonRequest=i,exports.FlowResponse=a,exports.FlowService=o,exports.FlowServiceClient=s,exports.Logon=C,exports.ModuleService=u,exports.ModuleServiceClient=d,exports.ModuleUpdateRequest=c,exports.ModuleUpdateResponse=l,exports.PingMessage=f,exports.PingService=p,exports.PingServiceClient=m,exports.RuntimeStatusService=_,exports.RuntimeStatusServiceClient=v,exports.RuntimeStatusUpdateRequest=h,exports.RuntimeStatusUpdateResponse=g,exports.RuntimeUsageRequest=y,exports.RuntimeUsageResponse=b,exports.RuntimeUsageService=x,exports.RuntimeUsageServiceClient=S,exports.TestExecutionRequest=w;