@code0-tech/tucana 0.0.77 → 0.0.78

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.
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-C8cj-NCz.cjs"),t=require("./shared.runtime_status_pb-BEEvFfe8.cjs"),n=require("./shared.flow_pb-clFvPGyv.cjs"),r=require("./rpc-interceptor-giFADd4b.cjs");var i=new class extends e.v{constructor(){super(`sagittarius_rails.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_rails.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>n.h},{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}])}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(t,r,i,a){let o=a??this.create(),s=t.pos+r;for(;t.pos<s;){let[r,a]=t.tag();switch(r){case 1:o.data={oneofKind:`updatedFlow`,updatedFlow:n.h.internalBinaryRead(t,t.uint32(),i,o.data.updatedFlow)};break;case 2:o.data={oneofKind:`deletedFlowId`,deletedFlowId:t.int64().toBigInt()};break;case 3:o.data={oneofKind:`flows`,flows:n.i.internalBinaryRead(t,t.uint32(),i,o.data.flows)};break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=t.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(t,r,i){t.data.oneofKind===`updatedFlow`&&n.h.internalBinaryWrite(t.data.updatedFlow,r.tag(1,e.C.LengthDelimited).fork(),i).join(),t.data.oneofKind===`deletedFlowId`&&r.tag(2,e.C.Varint).int64(t.data.deletedFlowId),t.data.oneofKind===`flows`&&n.i.internalBinaryWrite(t.data.flows,r.tag(3,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,t,r),r}},o=new r.n(`sagittarius_rails.FlowService`,[{name:`Update`,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(`unary`,this._transport,n,i,e)}},c=new class extends e.v{constructor(){super(`sagittarius_rails.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.i},{no:2,name:`available_defintition_soruces`,kind:`scalar`,repeat:2,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],n.availableDefintitionSoruces=[],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.i.internalBinaryRead(n,n.uint32(),i));break;case 2:o.availableDefintitionSoruces.push(n.string());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.i.internalBinaryWrite(n.modules[a],r.tag(1,e.C.LengthDelimited).fork(),i).join();for(let t=0;t<n.availableDefintitionSoruces.length;t++)r.tag(2,e.C.LengthDelimited).string(n.availableDefintitionSoruces[t]);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_rails.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}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.b.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.b.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_rails.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_rails.RuntimeStatusUpdateRequest`,[{no:1,name:`status`,kind:`message`,T:()=>t.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return 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=t.t.internalBinaryRead(n,n.uint32(),i,o.status);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&&t.t.internalBinaryWrite(n.status,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}},p=new class extends e.v{constructor(){super(`sagittarius_rails.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}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.b.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.b.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}},m=new r.n(`sagittarius_rails.RuntimeStatusService`,[{name:`Update`,options:{},I:f,O:p}]),h=class{constructor(e){this._transport=e,this.typeName=m.typeName,this.methods=m.methods,this.options=m.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},g=new class extends e.v{constructor(){super(`sagittarius_rails.ExecutionRequest`,[{no:1,name:`response`,kind:`message`,T:()=>t.h}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return 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.response=t.h.internalBinaryRead(n,n.uint32(),i,o.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.response&&t.h.internalBinaryWrite(n.response,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}},_=new class extends e.v{constructor(){super(`sagittarius_rails.ExecutionResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}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.b.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.b.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}},v=new r.n(`sagittarius_rails.ExecutionService`,[{name:`Update`,options:{},I:g,O:_}]),y=class{constructor(e){this._transport=e,this.typeName=v.typeName,this.methods=v.methods,this.options=v.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},b=new class extends e.v{constructor(){super(`sagittarius_rails.TokenVerifyRequest`,[{no:1,name:`token`,kind:`scalar`,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.token=``,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.token=t.string();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.token!==``&&n.tag(1,e.C.LengthDelimited).string(t.token);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},x=new class extends e.v{constructor(){super(`sagittarius_rails.TokenVerifyResponse`,[{no:1,name:`verified`,kind:`message`,oneof:`data`,T:()=>S},{no:2,name:`unverified`,kind:`message`,oneof:`data`,T:()=>C}])}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(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.data={oneofKind:`verified`,verified:S.internalBinaryRead(t,t.uint32(),r,a.data.verified)};break;case 2:a.data={oneofKind:`unverified`,unverified:C.internalBinaryRead(t,t.uint32(),r,a.data.unverified)};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.data.oneofKind===`verified`&&S.internalBinaryWrite(t.data.verified,n.tag(1,e.C.LengthDelimited).fork(),r).join(),t.data.oneofKind===`unverified`&&C.internalBinaryWrite(t.data.unverified,n.tag(2,e.C.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},S=new class extends e.v{constructor(){super(`sagittarius_rails.VerifiedRuntime`,[{no:1,name:`runtime_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeId=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.runtimeId=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.runtimeId!==0n&&n.tag(1,e.C.Varint).int64(t.runtimeId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},C=new class extends e.v{constructor(){super(`sagittarius_rails.UnverifiedRuntime`,[])}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 r.n(`sagittarius_rails.TokenService`,[{name:`Verify`,options:{},I:b,O:x}]),T=class{constructor(e){this._transport=e,this.typeName=w.typeName,this.methods=w.methods,this.options=w.options}verify(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}};exports.ExecutionRequest=g,exports.ExecutionResponse=_,exports.ExecutionService=v,exports.ExecutionServiceClient=y,exports.FlowLogonRequest=i,exports.FlowResponse=a,exports.FlowService=o,exports.FlowServiceClient=s,exports.ModuleService=u,exports.ModuleServiceClient=d,exports.ModuleUpdateRequest=c,exports.ModuleUpdateResponse=l,exports.RuntimeStatusService=m,exports.RuntimeStatusServiceClient=h,exports.RuntimeStatusUpdateRequest=f,exports.RuntimeStatusUpdateResponse=p,exports.TokenService=w,exports.TokenServiceClient=T,exports.TokenVerifyRequest=b,exports.TokenVerifyResponse=x,exports.UnverifiedRuntime=C,exports.VerifiedRuntime=S;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-BxQgyP8l.cjs"),t=require("./shared.runtime_status_pb-BlKabFnb.cjs"),n=require("./rpc-interceptor-D-IMsC9l.cjs");var r=new class extends e.N{constructor(){super(`sagittarius_rails.FlowLogonRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.N{constructor(){super(`sagittarius_rails.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>e.b},{no:2,name:`deleted_flow_id`,kind:`scalar`,oneof:`data`,T:3,L:0},{no:3,name:`flows`,kind:`message`,oneof:`data`,T:()=>e.l}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.P(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.data={oneofKind:`updatedFlow`,updatedFlow:e.b.internalBinaryRead(t,t.uint32(),r,a.data.updatedFlow)};break;case 2:a.data={oneofKind:`deletedFlowId`,deletedFlowId:t.int64().toBigInt()};break;case 3:a.data={oneofKind:`flows`,flows:e.l.internalBinaryRead(t,t.uint32(),r,a.data.flows)};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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`updatedFlow`&&e.b.internalBinaryWrite(t.data.updatedFlow,n.tag(1,e.R.LengthDelimited).fork(),r).join(),t.data.oneofKind===`deletedFlowId`&&n.tag(2,e.R.Varint).int64(t.data.deletedFlowId),t.data.oneofKind===`flows`&&e.l.internalBinaryWrite(t.data.flows,n.tag(3,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},a=new n.n(`sagittarius_rails.FlowService`,[{name:`Update`,options:{},I:r,O:i}]),o=class{constructor(e){this._transport=e,this.typeName=a.typeName,this.methods=a.methods,this.options=a.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},s=new class extends e.N{constructor(){super(`sagittarius_rails.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.i},{no:2,name:`available_definition_sources`,kind:`scalar`,repeat:2,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],n.availableDefinitionSources=[],t!==void 0&&e.P(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.i.internalBinaryRead(n,n.uint32(),i));break;case 2:o.availableDefinitionSources.push(n.string());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.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.modules.length;a++)t.i.internalBinaryWrite(n.modules[a],r.tag(1,e.R.LengthDelimited).fork(),i).join();for(let t=0;t<n.availableDefinitionSources.length;t++)r.tag(2,e.R.LengthDelimited).string(n.availableDefinitionSources[t]);let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},c=new class extends e.N{constructor(){super(`sagittarius_rails.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(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.b.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.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.b.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},l=new n.n(`sagittarius_rails.ModuleService`,[{name:`Update`,options:{},I:s,O:c}]),u=class{constructor(e){this._transport=e,this.typeName=l.typeName,this.methods=l.methods,this.options=l.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},d=new class extends e.N{constructor(){super(`sagittarius_rails.RuntimeStatusUpdateRequest`,[{no:1,name:`status`,kind:`message`,T:()=>t.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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=t.t.internalBinaryRead(n,n.uint32(),i,o.status);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.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.status&&t.t.internalBinaryWrite(n.status,r.tag(1,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},f=new class extends e.N{constructor(){super(`sagittarius_rails.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(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.b.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.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.b.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},p=new n.n(`sagittarius_rails.RuntimeStatusService`,[{name:`Update`,options:{},I:d,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},h=new class extends e.N{constructor(){super(`sagittarius_rails.ExecutionRequest`,[{no:1,name:`response`,kind:`message`,T:()=>t.h}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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.response=t.h.internalBinaryRead(n,n.uint32(),i,o.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.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.response&&t.h.internalBinaryWrite(n.response,r.tag(1,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},g=new class extends e.N{constructor(){super(`sagittarius_rails.ExecutionResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(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.b.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.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.b.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},_=new n.n(`sagittarius_rails.ExecutionService`,[{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 r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},y=new class extends e.N{constructor(){super(`sagittarius_rails.TokenVerifyRequest`,[{no:1,name:`token`,kind:`scalar`,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.token=``,t!==void 0&&e.P(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.token=t.string();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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.token!==``&&n.tag(1,e.R.LengthDelimited).string(t.token);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},b=new class extends e.N{constructor(){super(`sagittarius_rails.TokenVerifyResponse`,[{no:1,name:`verified`,kind:`message`,oneof:`data`,T:()=>x},{no:2,name:`unverified`,kind:`message`,oneof:`data`,T:()=>S}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.P(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.data={oneofKind:`verified`,verified:x.internalBinaryRead(t,t.uint32(),r,a.data.verified)};break;case 2:a.data={oneofKind:`unverified`,unverified:S.internalBinaryRead(t,t.uint32(),r,a.data.unverified)};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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`verified`&&x.internalBinaryWrite(t.data.verified,n.tag(1,e.R.LengthDelimited).fork(),r).join(),t.data.oneofKind===`unverified`&&S.internalBinaryWrite(t.data.unverified,n.tag(2,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},x=new class extends e.N{constructor(){super(`sagittarius_rails.VerifiedRuntime`,[{no:1,name:`runtime_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeId=0n,t!==void 0&&e.P(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.runtimeId=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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.runtimeId!==0n&&n.tag(1,e.R.Varint).int64(t.runtimeId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},S=new class extends e.N{constructor(){super(`sagittarius_rails.UnverifiedRuntime`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(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.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},C=new n.n(`sagittarius_rails.TokenService`,[{name:`Verify`,options:{},I:y,O:b}]),w=class{constructor(e){this._transport=e,this.typeName=C.typeName,this.methods=C.methods,this.options=C.options}verify(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}};exports.ExecutionRequest=h,exports.ExecutionResponse=g,exports.ExecutionService=_,exports.ExecutionServiceClient=v,exports.FlowLogonRequest=r,exports.FlowResponse=i,exports.FlowService=a,exports.FlowServiceClient=o,exports.ModuleService=l,exports.ModuleServiceClient=u,exports.ModuleUpdateRequest=s,exports.ModuleUpdateResponse=c,exports.RuntimeStatusService=p,exports.RuntimeStatusServiceClient=m,exports.RuntimeStatusUpdateRequest=d,exports.RuntimeStatusUpdateResponse=f,exports.TokenService=C,exports.TokenServiceClient=w,exports.TokenVerifyRequest=y,exports.TokenVerifyResponse=b,exports.UnverifiedRuntime=S,exports.VerifiedRuntime=x;