@code0-tech/tucana 0.0.75 → 0.0.76

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.
Files changed (29) hide show
  1. package/dist/aquila.cjs.js +1 -1
  2. package/dist/aquila.es.js +67 -151
  3. package/dist/pb/_generated/sagittarius.module_pb.d.ts +6 -0
  4. package/dist/pb/_generated/shared.flow_pb.d.ts +37 -6
  5. package/dist/pb/_generated/shared.module_pb.d.ts +8 -0
  6. package/dist/pb/aquila.d.ts +0 -2
  7. package/dist/pb/sagittarius.d.ts +0 -2
  8. package/dist/pb/shared.d.ts +0 -1
  9. package/dist/{rpc-interceptor-az_TTCBK.js → rpc-interceptor-d3qh7P9n.js} +10 -10
  10. package/dist/{rpc-interceptor-DOeBkZHU.cjs → rpc-interceptor-giFADd4b.cjs} +1 -1
  11. package/dist/sagittarius.cjs.js +1 -1
  12. package/dist/sagittarius.es.js +121 -203
  13. package/dist/shared.cjs.js +1 -1
  14. package/dist/shared.es.js +4 -4
  15. package/dist/{shared.flow_pb-C4ewDq2u.js → shared.flow_pb-DdVuFKPW.js} +179 -117
  16. package/dist/{shared.flow_pb-DrDw61IF.cjs → shared.flow_pb-clFvPGyv.cjs} +1 -1
  17. package/dist/shared.function_pb-C8cj-NCz.cjs +2 -0
  18. package/dist/{shared.function_pb-e1jkWYE_.js → shared.function_pb-Caz-4jvi.js} +1131 -1131
  19. package/dist/{shared.runtime_usage_pb-DqB5DUDk.cjs → shared.runtime_status_pb-BEEvFfe8.cjs} +1 -1
  20. package/dist/{shared.runtime_usage_pb-DDUhVHjA.js → shared.runtime_status_pb-D7hH22xO.js} +24 -50
  21. package/dist/velorum.cjs.js +1 -1
  22. package/dist/velorum.es.js +3 -3
  23. package/package.json +1 -1
  24. package/dist/pb/_generated/aquila.runtime_usage_pb.client.d.ts +0 -27
  25. package/dist/pb/_generated/aquila.runtime_usage_pb.d.ts +0 -46
  26. package/dist/pb/_generated/sagittarius.runtime_usage_pb.client.d.ts +0 -27
  27. package/dist/pb/_generated/sagittarius.runtime_usage_pb.d.ts +0 -51
  28. package/dist/pb/_generated/shared.runtime_usage_pb.d.ts +0 -25
  29. package/dist/shared.function_pb-BErnwHWO.cjs +0 -2
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.function_pb-BErnwHWO.cjs`),t=require(`./shared.runtime_usage_pb-DqB5DUDk.cjs`),n=require(`./rpc-interceptor-DOeBkZHU.cjs`);var r=new class extends e.v{constructor(){super(`aquila.ActionEvent`,[{no:1,name:`event_type`,kind:`scalar`,T:9},{no:2,name:`project_id`,kind:`scalar`,T:3,L:0},{no:3,name:`payload`,kind:`message`,T:()=>e.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.eventType=``,n.projectId=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.eventType=t.string();break;case 2:a.projectId=t.int64().toBigInt();break;case 3:a.payload=e.u.internalBinaryRead(t,t.uint32(),r,a.payload);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.eventType!==``&&n.tag(1,e.C.LengthDelimited).string(t.eventType),t.projectId!==0n&&n.tag(2,e.C.Varint).int64(t.projectId),t.payload&&e.u.internalBinaryWrite(t.payload,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}},i=new class extends e.v{constructor(){super(`aquila.ActionLogon`,[{no:1,name:`module`,kind:`message`,T:()=>t.a}])}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.module=t.a.internalBinaryRead(n,n.uint32(),i,o.module);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.module&&t.a.internalBinaryWrite(n.module,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}},a=new class extends e.v{constructor(){super(`aquila.ActionExecutionRequest`,[{no:1,name:`execution_identifier`,kind:`scalar`,T:9},{no:2,name:`function_identifier`,kind:`scalar`,T:9},{no:3,name:`parameters`,kind:`message`,T:()=>e.l},{no:4,name:`project_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.executionIdentifier=``,n.functionIdentifier=``,n.projectId=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.executionIdentifier=t.string();break;case 2:a.functionIdentifier=t.string();break;case 3:a.parameters=e.l.internalBinaryRead(t,t.uint32(),r,a.parameters);break;case 4:a.projectId=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.executionIdentifier!==``&&n.tag(1,e.C.LengthDelimited).string(t.executionIdentifier),t.functionIdentifier!==``&&n.tag(2,e.C.LengthDelimited).string(t.functionIdentifier),t.parameters&&e.l.internalBinaryWrite(t.parameters,n.tag(3,e.C.LengthDelimited).fork(),r).join(),t.projectId!==0n&&n.tag(4,e.C.Varint).int64(t.projectId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},o=new class extends e.v{constructor(){super(`aquila.ActionExecutionResponse`,[{no:1,name:`execution_identifier`,kind:`scalar`,T:9},{no:2,name:`node_result`,kind:`message`,T:()=>t._}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.executionIdentifier=``,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.executionIdentifier=n.string();break;case 2:o.nodeResult=t._.internalBinaryRead(n,n.uint32(),i,o.nodeResult);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.executionIdentifier!==``&&r.tag(1,e.C.LengthDelimited).string(n.executionIdentifier),n.nodeResult&&t._.internalBinaryWrite(n.nodeResult,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}},s=new class extends e.v{constructor(){super(`aquila.ActionTransferRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>i},{no:2,name:`event`,kind:`message`,oneof:`data`,T:()=>r},{no:3,name:`result`,kind:`message`,oneof:`data`,T:()=>o}])}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,a,s){let c=s??this.create(),l=t.pos+n;for(;t.pos<l;){let[n,s]=t.tag();switch(n){case 1:c.data={oneofKind:`logon`,logon:i.internalBinaryRead(t,t.uint32(),a,c.data.logon)};break;case 2:c.data={oneofKind:`event`,event:r.internalBinaryRead(t,t.uint32(),a,c.data.event)};break;case 3:c.data={oneofKind:`result`,result:o.internalBinaryRead(t,t.uint32(),a,c.data.result)};break;default:let l=a.readUnknownField;if(l===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${s}) for ${this.typeName}`);let u=t.skip(s);l!==!1&&(l===!0?e.S.onRead:l)(this.typeName,c,n,s,u)}}return c}internalBinaryWrite(t,n,a){t.data.oneofKind===`logon`&&i.internalBinaryWrite(t.data.logon,n.tag(1,e.C.LengthDelimited).fork(),a).join(),t.data.oneofKind===`event`&&r.internalBinaryWrite(t.data.event,n.tag(2,e.C.LengthDelimited).fork(),a).join(),t.data.oneofKind===`result`&&o.internalBinaryWrite(t.data.result,n.tag(3,e.C.LengthDelimited).fork(),a).join();let s=a.writeUnknownFields;return s!==!1&&(s==1?e.S.onWrite:s)(this.typeName,t,n),n}},c=new class extends e.v{constructor(){super(`aquila.ActionTransferResponse`,[{no:1,name:`execution`,kind:`message`,oneof:`data`,T:()=>a},{no:2,name:`module_configurations`,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.y(this,n,t),n}internalBinaryRead(n,r,i,o){let s=o??this.create(),c=n.pos+r;for(;n.pos<c;){let[r,o]=n.tag();switch(r){case 1:s.data={oneofKind:`execution`,execution:a.internalBinaryRead(n,n.uint32(),i,s.data.execution)};break;case 2:s.data={oneofKind:`moduleConfigurations`,moduleConfigurations:t.c.internalBinaryRead(n,n.uint32(),i,s.data.moduleConfigurations)};break;default:let c=i.readUnknownField;if(c===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${o}) for ${this.typeName}`);let l=n.skip(o);c!==!1&&(c===!0?e.S.onRead:c)(this.typeName,s,r,o,l)}}return s}internalBinaryWrite(n,r,i){n.data.oneofKind===`execution`&&a.internalBinaryWrite(n.data.execution,r.tag(1,e.C.LengthDelimited).fork(),i).join(),n.data.oneofKind===`moduleConfigurations`&&t.c.internalBinaryWrite(n.data.moduleConfigurations,r.tag(2,e.C.LengthDelimited).fork(),i).join();let o=i.writeUnknownFields;return o!==!1&&(o==1?e.S.onWrite:o)(this.typeName,n,r),r}},l=new n.n(`aquila.ActionTransferService`,[{name:`Transfer`,serverStreaming:!0,clientStreaming:!0,options:{},I:s,O:c}]),u=class{constructor(e){this._transport=e,this.typeName=l.typeName,this.methods=l.methods,this.options=l.options}transfer(e){let t=this.methods[0],r=this._transport.mergeOptions(e);return n.t(`duplex`,this._transport,t,r)}},d=new class extends e.v{constructor(){super(`aquila.ExecutionRequest`,[{no:1,name:`execution_result`,kind:`message`,T:()=>t.g}])}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.executionResult=t.g.internalBinaryRead(n,n.uint32(),i,o.executionResult);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.executionResult&&t.g.internalBinaryWrite(n.executionResult,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}},f=new class extends e.v{constructor(){super(`aquila.ExecutionResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,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.success=t.bool();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.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},p=new n.n(`aquila.ExecutionService`,[{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.v{constructor(){super(`aquila.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.a}])}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.a.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.a.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}},g=new class extends e.v{constructor(){super(`aquila.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,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.success=t.bool();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.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},_=new n.n(`aquila.ModuleService`,[{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.v{constructor(){super(`aquila.RuntimeStatusUpdateRequest`,[{no:1,name:`status`,kind:`message`,T:()=>t.n}])}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.n.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.n.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}},b=new class extends e.v{constructor(){super(`aquila.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,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.success=t.bool();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.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},x=new n.n(`aquila.RuntimeStatusService`,[{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 r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},C=new class extends e.v{constructor(){super(`aquila.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}},w=new class extends e.v{constructor(){super(`aquila.RuntimeUsageResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,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.success=t.bool();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.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},T=new n.n(`aquila.RuntimeUsageService`,[{name:`Update`,options:{},I:C,O:w}]),E=class{constructor(e){this._transport=e,this.typeName=T.typeName,this.methods=T.methods,this.options=T.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}};exports.ActionEvent=r,exports.ActionExecutionRequest=a,exports.ActionExecutionResponse=o,exports.ActionLogon=i,exports.ActionTransferRequest=s,exports.ActionTransferResponse=c,exports.ActionTransferService=l,exports.ActionTransferServiceClient=u,exports.ExecutionRequest=d,exports.ExecutionResponse=f,exports.ExecutionService=p,exports.ExecutionServiceClient=m,exports.ModuleService=_,exports.ModuleServiceClient=v,exports.ModuleUpdateRequest=h,exports.ModuleUpdateResponse=g,exports.RuntimeStatusService=x,exports.RuntimeStatusServiceClient=S,exports.RuntimeStatusUpdateRequest=y,exports.RuntimeStatusUpdateResponse=b,exports.RuntimeUsageRequest=C,exports.RuntimeUsageResponse=w,exports.RuntimeUsageService=T,exports.RuntimeUsageServiceClient=E;
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("./rpc-interceptor-giFADd4b.cjs");var r=new class extends e.v{constructor(){super(`aquila.ActionEvent`,[{no:1,name:`event_type`,kind:`scalar`,T:9},{no:2,name:`project_id`,kind:`scalar`,T:3,L:0},{no:3,name:`payload`,kind:`message`,T:()=>e.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.eventType=``,n.projectId=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.eventType=t.string();break;case 2:a.projectId=t.int64().toBigInt();break;case 3:a.payload=e.u.internalBinaryRead(t,t.uint32(),r,a.payload);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.eventType!==``&&n.tag(1,e.C.LengthDelimited).string(t.eventType),t.projectId!==0n&&n.tag(2,e.C.Varint).int64(t.projectId),t.payload&&e.u.internalBinaryWrite(t.payload,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}},i=new class extends e.v{constructor(){super(`aquila.ActionLogon`,[{no:1,name:`module`,kind:`message`,T:()=>t.i}])}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.module=t.i.internalBinaryRead(n,n.uint32(),i,o.module);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.module&&t.i.internalBinaryWrite(n.module,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}},a=new class extends e.v{constructor(){super(`aquila.ActionExecutionRequest`,[{no:1,name:`execution_identifier`,kind:`scalar`,T:9},{no:2,name:`function_identifier`,kind:`scalar`,T:9},{no:3,name:`parameters`,kind:`message`,T:()=>e.l},{no:4,name:`project_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.executionIdentifier=``,n.functionIdentifier=``,n.projectId=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.executionIdentifier=t.string();break;case 2:a.functionIdentifier=t.string();break;case 3:a.parameters=e.l.internalBinaryRead(t,t.uint32(),r,a.parameters);break;case 4:a.projectId=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.executionIdentifier!==``&&n.tag(1,e.C.LengthDelimited).string(t.executionIdentifier),t.functionIdentifier!==``&&n.tag(2,e.C.LengthDelimited).string(t.functionIdentifier),t.parameters&&e.l.internalBinaryWrite(t.parameters,n.tag(3,e.C.LengthDelimited).fork(),r).join(),t.projectId!==0n&&n.tag(4,e.C.Varint).int64(t.projectId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},o=new class extends e.v{constructor(){super(`aquila.ActionExecutionResponse`,[{no:1,name:`execution_identifier`,kind:`scalar`,T:9},{no:2,name:`node_result`,kind:`message`,T:()=>t.g}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.executionIdentifier=``,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.executionIdentifier=n.string();break;case 2:o.nodeResult=t.g.internalBinaryRead(n,n.uint32(),i,o.nodeResult);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.executionIdentifier!==``&&r.tag(1,e.C.LengthDelimited).string(n.executionIdentifier),n.nodeResult&&t.g.internalBinaryWrite(n.nodeResult,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}},s=new class extends e.v{constructor(){super(`aquila.ActionTransferRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>i},{no:2,name:`event`,kind:`message`,oneof:`data`,T:()=>r},{no:3,name:`result`,kind:`message`,oneof:`data`,T:()=>o}])}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,a,s){let c=s??this.create(),l=t.pos+n;for(;t.pos<l;){let[n,s]=t.tag();switch(n){case 1:c.data={oneofKind:`logon`,logon:i.internalBinaryRead(t,t.uint32(),a,c.data.logon)};break;case 2:c.data={oneofKind:`event`,event:r.internalBinaryRead(t,t.uint32(),a,c.data.event)};break;case 3:c.data={oneofKind:`result`,result:o.internalBinaryRead(t,t.uint32(),a,c.data.result)};break;default:let l=a.readUnknownField;if(l===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${s}) for ${this.typeName}`);let u=t.skip(s);l!==!1&&(l===!0?e.S.onRead:l)(this.typeName,c,n,s,u)}}return c}internalBinaryWrite(t,n,a){t.data.oneofKind===`logon`&&i.internalBinaryWrite(t.data.logon,n.tag(1,e.C.LengthDelimited).fork(),a).join(),t.data.oneofKind===`event`&&r.internalBinaryWrite(t.data.event,n.tag(2,e.C.LengthDelimited).fork(),a).join(),t.data.oneofKind===`result`&&o.internalBinaryWrite(t.data.result,n.tag(3,e.C.LengthDelimited).fork(),a).join();let s=a.writeUnknownFields;return s!==!1&&(s==1?e.S.onWrite:s)(this.typeName,t,n),n}},c=new class extends e.v{constructor(){super(`aquila.ActionTransferResponse`,[{no:1,name:`execution`,kind:`message`,oneof:`data`,T:()=>a},{no:2,name:`module_configurations`,kind:`message`,oneof:`data`,T:()=>t.s}])}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,o){let s=o??this.create(),c=n.pos+r;for(;n.pos<c;){let[r,o]=n.tag();switch(r){case 1:s.data={oneofKind:`execution`,execution:a.internalBinaryRead(n,n.uint32(),i,s.data.execution)};break;case 2:s.data={oneofKind:`moduleConfigurations`,moduleConfigurations:t.s.internalBinaryRead(n,n.uint32(),i,s.data.moduleConfigurations)};break;default:let c=i.readUnknownField;if(c===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${o}) for ${this.typeName}`);let l=n.skip(o);c!==!1&&(c===!0?e.S.onRead:c)(this.typeName,s,r,o,l)}}return s}internalBinaryWrite(n,r,i){n.data.oneofKind===`execution`&&a.internalBinaryWrite(n.data.execution,r.tag(1,e.C.LengthDelimited).fork(),i).join(),n.data.oneofKind===`moduleConfigurations`&&t.s.internalBinaryWrite(n.data.moduleConfigurations,r.tag(2,e.C.LengthDelimited).fork(),i).join();let o=i.writeUnknownFields;return o!==!1&&(o==1?e.S.onWrite:o)(this.typeName,n,r),r}},l=new n.n(`aquila.ActionTransferService`,[{name:`Transfer`,serverStreaming:!0,clientStreaming:!0,options:{},I:s,O:c}]),u=class{constructor(e){this._transport=e,this.typeName=l.typeName,this.methods=l.methods,this.options=l.options}transfer(e){let t=this.methods[0],r=this._transport.mergeOptions(e);return n.t(`duplex`,this._transport,t,r)}},d=new class extends e.v{constructor(){super(`aquila.ExecutionRequest`,[{no:1,name:`execution_result`,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.executionResult=t.h.internalBinaryRead(n,n.uint32(),i,o.executionResult);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.executionResult&&t.h.internalBinaryWrite(n.executionResult,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}},f=new class extends e.v{constructor(){super(`aquila.ExecutionResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,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.success=t.bool();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.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},p=new n.n(`aquila.ExecutionService`,[{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.v{constructor(){super(`aquila.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.i}])}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.i.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.i.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}},g=new class extends e.v{constructor(){super(`aquila.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,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.success=t.bool();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.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},_=new n.n(`aquila.ModuleService`,[{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.v{constructor(){super(`aquila.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}},b=new class extends e.v{constructor(){super(`aquila.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,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.success=t.bool();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.success!==!1&&n.tag(1,e.C.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},x=new n.n(`aquila.RuntimeStatusService`,[{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 r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}};exports.ActionEvent=r,exports.ActionExecutionRequest=a,exports.ActionExecutionResponse=o,exports.ActionLogon=i,exports.ActionTransferRequest=s,exports.ActionTransferResponse=c,exports.ActionTransferService=l,exports.ActionTransferServiceClient=u,exports.ExecutionRequest=d,exports.ExecutionResponse=f,exports.ExecutionService=p,exports.ExecutionServiceClient=m,exports.ModuleService=_,exports.ModuleServiceClient=v,exports.ModuleUpdateRequest=h,exports.ModuleUpdateResponse=g,exports.RuntimeStatusService=x,exports.RuntimeStatusServiceClient=S,exports.RuntimeStatusUpdateRequest=y,exports.RuntimeStatusUpdateResponse=b;
package/dist/aquila.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { C as e, S as t, l as n, u as r, v as i, y as a } from "./shared.function_pb-e1jkWYE_.js";
2
- import { _ as o, a as s, c, g as l, n as u, t as d } from "./shared.runtime_usage_pb-DDUhVHjA.js";
3
- import { n as f, t as p } from "./rpc-interceptor-az_TTCBK.js";
4
- var m = new class extends i {
1
+ import { C as e, S as t, l as n, u as r, v as i, y as a } from "./shared.function_pb-Caz-4jvi.js";
2
+ import { g as o, h as s, i as c, s as l, t as u } from "./shared.runtime_status_pb-D7hH22xO.js";
3
+ import { n as d, t as f } from "./rpc-interceptor-d3qh7P9n.js";
4
+ var p = new class extends i {
5
5
  constructor() {
6
6
  super("aquila.ActionEvent", [
7
7
  {
@@ -57,13 +57,13 @@ var m = new class extends i {
57
57
  let o = a.writeUnknownFields;
58
58
  return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, i), i;
59
59
  }
60
- }(), h = new class extends i {
60
+ }(), m = new class extends i {
61
61
  constructor() {
62
62
  super("aquila.ActionLogon", [{
63
63
  no: 1,
64
64
  name: "module",
65
65
  kind: "message",
66
- T: () => s
66
+ T: () => c
67
67
  }]);
68
68
  }
69
69
  create(e) {
@@ -76,23 +76,23 @@ var m = new class extends i {
76
76
  let [n, i] = e.tag();
77
77
  switch (n) {
78
78
  case 1:
79
- a.module = s.internalBinaryRead(e, e.uint32(), r, a.module);
79
+ a.module = c.internalBinaryRead(e, e.uint32(), r, a.module);
80
80
  break;
81
81
  default:
82
82
  let o = r.readUnknownField;
83
83
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
84
- let c = e.skip(i);
85
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
84
+ let s = e.skip(i);
85
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
86
86
  }
87
87
  }
88
88
  return a;
89
89
  }
90
90
  internalBinaryWrite(n, r, i) {
91
- n.module && s.internalBinaryWrite(n.module, r.tag(1, e.LengthDelimited).fork(), i).join();
91
+ n.module && c.internalBinaryWrite(n.module, r.tag(1, e.LengthDelimited).fork(), i).join();
92
92
  let a = i.writeUnknownFields;
93
93
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
94
94
  }
95
- }(), g = new class extends i {
95
+ }(), h = new class extends i {
96
96
  constructor() {
97
97
  super("aquila.ActionExecutionRequest", [
98
98
  {
@@ -157,7 +157,7 @@ var m = new class extends i {
157
157
  let o = a.writeUnknownFields;
158
158
  return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
159
159
  }
160
- }(), _ = new class extends i {
160
+ }(), g = new class extends i {
161
161
  constructor() {
162
162
  super("aquila.ActionExecutionResponse", [{
163
163
  no: 1,
@@ -200,7 +200,7 @@ var m = new class extends i {
200
200
  let a = i.writeUnknownFields;
201
201
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
202
202
  }
203
- }(), v = new class extends i {
203
+ }(), _ = new class extends i {
204
204
  constructor() {
205
205
  super("aquila.ActionTransferRequest", [
206
206
  {
@@ -208,21 +208,21 @@ var m = new class extends i {
208
208
  name: "logon",
209
209
  kind: "message",
210
210
  oneof: "data",
211
- T: () => h
211
+ T: () => m
212
212
  },
213
213
  {
214
214
  no: 2,
215
215
  name: "event",
216
216
  kind: "message",
217
217
  oneof: "data",
218
- T: () => m
218
+ T: () => p
219
219
  },
220
220
  {
221
221
  no: 3,
222
222
  name: "result",
223
223
  kind: "message",
224
224
  oneof: "data",
225
- T: () => _
225
+ T: () => g
226
226
  }
227
227
  ]);
228
228
  }
@@ -238,19 +238,19 @@ var m = new class extends i {
238
238
  case 1:
239
239
  a.data = {
240
240
  oneofKind: "logon",
241
- logon: h.internalBinaryRead(e, e.uint32(), r, a.data.logon)
241
+ logon: m.internalBinaryRead(e, e.uint32(), r, a.data.logon)
242
242
  };
243
243
  break;
244
244
  case 2:
245
245
  a.data = {
246
246
  oneofKind: "event",
247
- event: m.internalBinaryRead(e, e.uint32(), r, a.data.event)
247
+ event: p.internalBinaryRead(e, e.uint32(), r, a.data.event)
248
248
  };
249
249
  break;
250
250
  case 3:
251
251
  a.data = {
252
252
  oneofKind: "result",
253
- result: _.internalBinaryRead(e, e.uint32(), r, a.data.result)
253
+ result: g.internalBinaryRead(e, e.uint32(), r, a.data.result)
254
254
  };
255
255
  break;
256
256
  default:
@@ -263,24 +263,24 @@ var m = new class extends i {
263
263
  return a;
264
264
  }
265
265
  internalBinaryWrite(n, r, i) {
266
- n.data.oneofKind === "logon" && h.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "event" && m.internalBinaryWrite(n.data.event, r.tag(2, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "result" && _.internalBinaryWrite(n.data.result, r.tag(3, e.LengthDelimited).fork(), i).join();
266
+ n.data.oneofKind === "logon" && m.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "event" && p.internalBinaryWrite(n.data.event, r.tag(2, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "result" && g.internalBinaryWrite(n.data.result, r.tag(3, e.LengthDelimited).fork(), i).join();
267
267
  let a = i.writeUnknownFields;
268
268
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
269
269
  }
270
- }(), y = new class extends i {
270
+ }(), v = new class extends i {
271
271
  constructor() {
272
272
  super("aquila.ActionTransferResponse", [{
273
273
  no: 1,
274
274
  name: "execution",
275
275
  kind: "message",
276
276
  oneof: "data",
277
- T: () => g
277
+ T: () => h
278
278
  }, {
279
279
  no: 2,
280
280
  name: "module_configurations",
281
281
  kind: "message",
282
282
  oneof: "data",
283
- T: () => c
283
+ T: () => l
284
284
  }]);
285
285
  }
286
286
  create(e) {
@@ -295,13 +295,13 @@ var m = new class extends i {
295
295
  case 1:
296
296
  a.data = {
297
297
  oneofKind: "execution",
298
- execution: g.internalBinaryRead(e, e.uint32(), r, a.data.execution)
298
+ execution: h.internalBinaryRead(e, e.uint32(), r, a.data.execution)
299
299
  };
300
300
  break;
301
301
  case 2:
302
302
  a.data = {
303
303
  oneofKind: "moduleConfigurations",
304
- moduleConfigurations: c.internalBinaryRead(e, e.uint32(), r, a.data.moduleConfigurations)
304
+ moduleConfigurations: l.internalBinaryRead(e, e.uint32(), r, a.data.moduleConfigurations)
305
305
  };
306
306
  break;
307
307
  default:
@@ -314,32 +314,32 @@ var m = new class extends i {
314
314
  return a;
315
315
  }
316
316
  internalBinaryWrite(n, r, i) {
317
- n.data.oneofKind === "execution" && g.internalBinaryWrite(n.data.execution, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "moduleConfigurations" && c.internalBinaryWrite(n.data.moduleConfigurations, r.tag(2, e.LengthDelimited).fork(), i).join();
317
+ n.data.oneofKind === "execution" && h.internalBinaryWrite(n.data.execution, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "moduleConfigurations" && l.internalBinaryWrite(n.data.moduleConfigurations, r.tag(2, e.LengthDelimited).fork(), i).join();
318
318
  let a = i.writeUnknownFields;
319
319
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
320
320
  }
321
- }(), b = new f("aquila.ActionTransferService", [{
321
+ }(), y = new d("aquila.ActionTransferService", [{
322
322
  name: "Transfer",
323
323
  serverStreaming: !0,
324
324
  clientStreaming: !0,
325
325
  options: {},
326
- I: v,
327
- O: y
328
- }]), x = class {
326
+ I: _,
327
+ O: v
328
+ }]), b = class {
329
329
  constructor(e) {
330
- this._transport = e, this.typeName = b.typeName, this.methods = b.methods, this.options = b.options;
330
+ this._transport = e, this.typeName = y.typeName, this.methods = y.methods, this.options = y.options;
331
331
  }
332
332
  transfer(e) {
333
333
  let t = this.methods[0], n = this._transport.mergeOptions(e);
334
- return p("duplex", this._transport, t, n);
334
+ return f("duplex", this._transport, t, n);
335
335
  }
336
- }, S = new class extends i {
336
+ }, x = new class extends i {
337
337
  constructor() {
338
338
  super("aquila.ExecutionRequest", [{
339
339
  no: 1,
340
340
  name: "execution_result",
341
341
  kind: "message",
342
- T: () => l
342
+ T: () => s
343
343
  }]);
344
344
  }
345
345
  create(e) {
@@ -352,23 +352,23 @@ var m = new class extends i {
352
352
  let [n, i] = e.tag();
353
353
  switch (n) {
354
354
  case 1:
355
- a.executionResult = l.internalBinaryRead(e, e.uint32(), r, a.executionResult);
355
+ a.executionResult = s.internalBinaryRead(e, e.uint32(), r, a.executionResult);
356
356
  break;
357
357
  default:
358
358
  let o = r.readUnknownField;
359
359
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
360
- let s = e.skip(i);
361
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
360
+ let c = e.skip(i);
361
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
362
362
  }
363
363
  }
364
364
  return a;
365
365
  }
366
366
  internalBinaryWrite(n, r, i) {
367
- n.executionResult && l.internalBinaryWrite(n.executionResult, r.tag(1, e.LengthDelimited).fork(), i).join();
367
+ n.executionResult && s.internalBinaryWrite(n.executionResult, r.tag(1, e.LengthDelimited).fork(), i).join();
368
368
  let a = i.writeUnknownFields;
369
369
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
370
370
  }
371
- }(), C = new class extends i {
371
+ }(), S = new class extends i {
372
372
  constructor() {
373
373
  super("aquila.ExecutionResponse", [{
374
374
  no: 1,
@@ -403,27 +403,27 @@ var m = new class extends i {
403
403
  let a = i.writeUnknownFields;
404
404
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
405
405
  }
406
- }(), w = new f("aquila.ExecutionService", [{
406
+ }(), C = new d("aquila.ExecutionService", [{
407
407
  name: "Update",
408
408
  options: {},
409
- I: S,
410
- O: C
411
- }]), T = class {
409
+ I: x,
410
+ O: S
411
+ }]), w = class {
412
412
  constructor(e) {
413
- this._transport = e, this.typeName = w.typeName, this.methods = w.methods, this.options = w.options;
413
+ this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
414
414
  }
415
415
  update(e, t) {
416
416
  let n = this.methods[0], r = this._transport.mergeOptions(t);
417
- return p("unary", this._transport, n, r, e);
417
+ return f("unary", this._transport, n, r, e);
418
418
  }
419
- }, E = new class extends i {
419
+ }, T = new class extends i {
420
420
  constructor() {
421
421
  super("aquila.ModuleUpdateRequest", [{
422
422
  no: 1,
423
423
  name: "modules",
424
424
  kind: "message",
425
425
  repeat: 2,
426
- T: () => s
426
+ T: () => c
427
427
  }]);
428
428
  }
429
429
  create(e) {
@@ -436,23 +436,23 @@ var m = new class extends i {
436
436
  let [n, i] = e.tag();
437
437
  switch (n) {
438
438
  case 1:
439
- a.modules.push(s.internalBinaryRead(e, e.uint32(), r));
439
+ a.modules.push(c.internalBinaryRead(e, e.uint32(), r));
440
440
  break;
441
441
  default:
442
442
  let o = r.readUnknownField;
443
443
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
444
- let c = e.skip(i);
445
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
444
+ let s = e.skip(i);
445
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
446
446
  }
447
447
  }
448
448
  return a;
449
449
  }
450
450
  internalBinaryWrite(n, r, i) {
451
- for (let t = 0; t < n.modules.length; t++) s.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
451
+ for (let t = 0; t < n.modules.length; t++) c.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
452
452
  let a = i.writeUnknownFields;
453
453
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
454
454
  }
455
- }(), D = new class extends i {
455
+ }(), E = new class extends i {
456
456
  constructor() {
457
457
  super("aquila.ModuleUpdateResponse", [{
458
458
  no: 1,
@@ -487,20 +487,20 @@ var m = new class extends i {
487
487
  let a = i.writeUnknownFields;
488
488
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
489
489
  }
490
- }(), O = new f("aquila.ModuleService", [{
490
+ }(), D = new d("aquila.ModuleService", [{
491
491
  name: "Update",
492
492
  options: {},
493
- I: E,
494
- O: D
495
- }]), k = class {
493
+ I: T,
494
+ O: E
495
+ }]), O = class {
496
496
  constructor(e) {
497
- this._transport = e, this.typeName = O.typeName, this.methods = O.methods, this.options = O.options;
497
+ this._transport = e, this.typeName = D.typeName, this.methods = D.methods, this.options = D.options;
498
498
  }
499
499
  update(e, t) {
500
500
  let n = this.methods[0], r = this._transport.mergeOptions(t);
501
- return p("unary", this._transport, n, r, e);
501
+ return f("unary", this._transport, n, r, e);
502
502
  }
503
- }, A = new class extends i {
503
+ }, k = new class extends i {
504
504
  constructor() {
505
505
  super("aquila.RuntimeStatusUpdateRequest", [{
506
506
  no: 1,
@@ -535,7 +535,7 @@ var m = new class extends i {
535
535
  let a = i.writeUnknownFields;
536
536
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
537
537
  }
538
- }(), j = new class extends i {
538
+ }(), A = new class extends i {
539
539
  constructor() {
540
540
  super("aquila.RuntimeStatusUpdateResponse", [{
541
541
  no: 1,
@@ -570,103 +570,19 @@ var m = new class extends i {
570
570
  let a = i.writeUnknownFields;
571
571
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
572
572
  }
573
- }(), M = new f("aquila.RuntimeStatusService", [{
574
- name: "Update",
575
- options: {},
576
- I: A,
577
- O: j
578
- }]), N = class {
579
- constructor(e) {
580
- this._transport = e, this.typeName = M.typeName, this.methods = M.methods, this.options = M.options;
581
- }
582
- update(e, t) {
583
- let n = this.methods[0], r = this._transport.mergeOptions(t);
584
- return p("unary", this._transport, n, r, e);
585
- }
586
- }, P = new class extends i {
587
- constructor() {
588
- super("aquila.RuntimeUsageRequest", [{
589
- no: 1,
590
- name: "runtime_usage",
591
- kind: "message",
592
- repeat: 2,
593
- T: () => d
594
- }]);
595
- }
596
- create(e) {
597
- let t = globalThis.Object.create(this.messagePrototype);
598
- return t.runtimeUsage = [], e !== void 0 && a(this, t, e), t;
599
- }
600
- internalBinaryRead(e, n, r, i) {
601
- let a = i ?? this.create(), o = e.pos + n;
602
- for (; e.pos < o;) {
603
- let [n, i] = e.tag();
604
- switch (n) {
605
- case 1:
606
- a.runtimeUsage.push(d.internalBinaryRead(e, e.uint32(), r));
607
- break;
608
- default:
609
- let o = r.readUnknownField;
610
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
611
- let s = e.skip(i);
612
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
613
- }
614
- }
615
- return a;
616
- }
617
- internalBinaryWrite(n, r, i) {
618
- for (let t = 0; t < n.runtimeUsage.length; t++) d.internalBinaryWrite(n.runtimeUsage[t], r.tag(1, e.LengthDelimited).fork(), i).join();
619
- let a = i.writeUnknownFields;
620
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
621
- }
622
- }(), F = new class extends i {
623
- constructor() {
624
- super("aquila.RuntimeUsageResponse", [{
625
- no: 1,
626
- name: "success",
627
- kind: "scalar",
628
- T: 8
629
- }]);
630
- }
631
- create(e) {
632
- let t = globalThis.Object.create(this.messagePrototype);
633
- return t.success = !1, e !== void 0 && a(this, t, e), t;
634
- }
635
- internalBinaryRead(e, n, r, i) {
636
- let a = i ?? this.create(), o = e.pos + n;
637
- for (; e.pos < o;) {
638
- let [n, i] = e.tag();
639
- switch (n) {
640
- case 1:
641
- a.success = e.bool();
642
- break;
643
- default:
644
- let o = r.readUnknownField;
645
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
646
- let s = e.skip(i);
647
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
648
- }
649
- }
650
- return a;
651
- }
652
- internalBinaryWrite(n, r, i) {
653
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success);
654
- let a = i.writeUnknownFields;
655
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
656
- }
657
- }(), I = new f("aquila.RuntimeUsageService", [{
573
+ }(), j = new d("aquila.RuntimeStatusService", [{
658
574
  name: "Update",
659
575
  options: {},
660
- I: P,
661
- O: F
662
- }]), L = class {
576
+ I: k,
577
+ O: A
578
+ }]), M = class {
663
579
  constructor(e) {
664
- this._transport = e, this.typeName = I.typeName, this.methods = I.methods, this.options = I.options;
580
+ this._transport = e, this.typeName = j.typeName, this.methods = j.methods, this.options = j.options;
665
581
  }
666
582
  update(e, t) {
667
583
  let n = this.methods[0], r = this._transport.mergeOptions(t);
668
- return p("unary", this._transport, n, r, e);
584
+ return f("unary", this._transport, n, r, e);
669
585
  }
670
586
  };
671
587
  //#endregion
672
- export { m as ActionEvent, g as ActionExecutionRequest, _ as ActionExecutionResponse, h as ActionLogon, v as ActionTransferRequest, y as ActionTransferResponse, b as ActionTransferService, x as ActionTransferServiceClient, S as ExecutionRequest, C as ExecutionResponse, w as ExecutionService, T as ExecutionServiceClient, O as ModuleService, k as ModuleServiceClient, E as ModuleUpdateRequest, D as ModuleUpdateResponse, M as RuntimeStatusService, N as RuntimeStatusServiceClient, A as RuntimeStatusUpdateRequest, j as RuntimeStatusUpdateResponse, P as RuntimeUsageRequest, F as RuntimeUsageResponse, I as RuntimeUsageService, L as RuntimeUsageServiceClient };
588
+ export { p as ActionEvent, h as ActionExecutionRequest, g as ActionExecutionResponse, m as ActionLogon, _ as ActionTransferRequest, v as ActionTransferResponse, y as ActionTransferService, b as ActionTransferServiceClient, x as ExecutionRequest, S as ExecutionResponse, C as ExecutionService, w as ExecutionServiceClient, D as ModuleService, O as ModuleServiceClient, T as ModuleUpdateRequest, E as ModuleUpdateResponse, j as RuntimeStatusService, M as RuntimeStatusServiceClient, k as RuntimeStatusUpdateRequest, A as RuntimeStatusUpdateResponse };
@@ -14,6 +14,12 @@ export interface ModuleUpdateRequest {
14
14
  * @generated from protobuf field: repeated shared.Module modules = 1
15
15
  */
16
16
  modules: Module[];
17
+ /**
18
+ * List of all available definition sources
19
+ *
20
+ * @generated from protobuf field: repeated string available_defintition_soruces = 2
21
+ */
22
+ availableDefintitionSoruces: string[];
17
23
  }
18
24
  /**
19
25
  * Response of updating modules including data types, flow types and runtime function definitions
@@ -1,5 +1,5 @@
1
1
  import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
2
- import { Value } from './shared.struct_pb';
2
+ import { Struct, Value } from './shared.struct_pb';
3
3
  import { ExecutionDataType } from './shared.data_type_pb';
4
4
  /**
5
5
  * @generated from protobuf message shared.ValidationFlow
@@ -259,23 +259,44 @@ export interface SubFlow {
259
259
  */
260
260
  startingNodeId: bigint;
261
261
  } | {
262
- oneofKind: "functionIdentifier";
262
+ oneofKind: "function";
263
263
  /**
264
- * @generated from protobuf field: string function_identifier = 2
264
+ * @generated from protobuf field: shared.SubFlow.SubFlowFunction function = 2
265
265
  */
266
- functionIdentifier: string;
266
+ function: SubFlow_SubFlowFunction;
267
267
  } | {
268
268
  oneofKind: undefined;
269
269
  };
270
270
  /**
271
- * @generated from protobuf field: string signature = 3
271
+ * @generated from protobuf field: shared.Struct input_schema = 3
272
+ */
273
+ inputSchema?: Struct;
274
+ /**
275
+ * @generated from protobuf field: shared.Struct output_schema = 4
276
+ */
277
+ outputSchema?: Struct;
278
+ /**
279
+ * @generated from protobuf field: string signature = 5
272
280
  */
273
281
  signature: string;
274
282
  /**
275
- * @generated from protobuf field: repeated shared.SubFlowSetting settings = 4
283
+ * @generated from protobuf field: repeated shared.SubFlowSetting settings = 6
276
284
  */
277
285
  settings: SubFlowSetting[];
278
286
  }
287
+ /**
288
+ * @generated from protobuf message shared.SubFlow.SubFlowFunction
289
+ */
290
+ export interface SubFlow_SubFlowFunction {
291
+ /**
292
+ * @generated from protobuf field: string function_identifier = 1
293
+ */
294
+ functionIdentifier: string;
295
+ /**
296
+ * @generated from protobuf field: optional string definition_source = 2
297
+ */
298
+ definitionSource?: string;
299
+ }
279
300
  /**
280
301
  * @generated from protobuf message shared.SubFlowSetting
281
302
  */
@@ -440,6 +461,16 @@ declare class SubFlow$Type extends MessageType<SubFlow> {
440
461
  * @generated MessageType for protobuf message shared.SubFlow
441
462
  */
442
463
  export declare const SubFlow: SubFlow$Type;
464
+ declare class SubFlow_SubFlowFunction$Type extends MessageType<SubFlow_SubFlowFunction> {
465
+ constructor();
466
+ create(value?: PartialMessage<SubFlow_SubFlowFunction>): SubFlow_SubFlowFunction;
467
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubFlow_SubFlowFunction): SubFlow_SubFlowFunction;
468
+ internalBinaryWrite(message: SubFlow_SubFlowFunction, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
469
+ }
470
+ /**
471
+ * @generated MessageType for protobuf message shared.SubFlow.SubFlowFunction
472
+ */
473
+ export declare const SubFlow_SubFlowFunction: SubFlow_SubFlowFunction$Type;
443
474
  declare class SubFlowSetting$Type extends MessageType<SubFlowSetting> {
444
475
  constructor();
445
476
  create(value?: PartialMessage<SubFlowSetting>): SubFlowSetting;
@@ -66,6 +66,10 @@ export interface Module {
66
66
  * @generated from protobuf field: repeated shared.ModuleDefinition definitions = 15
67
67
  */
68
68
  definitions: ModuleDefinition[];
69
+ /**
70
+ * @generated from protobuf field: string definition_source = 16
71
+ */
72
+ definitionSource: string;
69
73
  }
70
74
  /**
71
75
  * @generated from protobuf message shared.ModuleDefinition
@@ -108,6 +112,10 @@ export interface Endpoint {
108
112
  * @generated from protobuf field: string endpoint = 3
109
113
  */
110
114
  endpoint: string;
115
+ /**
116
+ * @generated from protobuf field: string protocol = 4
117
+ */
118
+ protocol: string;
111
119
  }
112
120
  /**
113
121
  * send by sagittarius to inform a module of the real config set by the user
@@ -6,5 +6,3 @@ export * from './_generated/aquila.module_pb.client.js';
6
6
  export * from './_generated/aquila.module_pb.js';
7
7
  export * from './_generated/aquila.runtime_status_pb.client.js';
8
8
  export * from './_generated/aquila.runtime_status_pb.js';
9
- export * from './_generated/aquila.runtime_usage_pb.client.js';
10
- export * from './_generated/aquila.runtime_usage_pb.js';
@@ -6,7 +6,5 @@ export * from './_generated/sagittarius.ping_pb.client.js';
6
6
  export * from './_generated/sagittarius.ping_pb.js';
7
7
  export * from './_generated/sagittarius.runtime_status_pb.client.js';
8
8
  export * from './_generated/sagittarius.runtime_status_pb.js';
9
- export * from './_generated/sagittarius.runtime_usage_pb.client.js';
10
- export * from './_generated/sagittarius.runtime_usage_pb.js';
11
9
  export * from './_generated/sagittarius.text_execution_pb.client.js';
12
10
  export * from './_generated/sagittarius.text_execution_pb.js';
@@ -8,6 +8,5 @@ export * from './_generated/shared.module_pb.js';
8
8
  export * from './_generated/shared.runtime_flow_type_pb.js';
9
9
  export * from './_generated/shared.runtime_function_pb.js';
10
10
  export * from './_generated/shared.runtime_status_pb.js';
11
- export * from './_generated/shared.runtime_usage_pb.js';
12
11
  export * from './_generated/shared.struct_pb.js';
13
12
  export * from './_generated/shared.translation_pb.js';