@code0-tech/tucana 0.0.75 → 0.0.77

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 (58) hide show
  1. package/dist/aquila.cjs.js +1 -1
  2. package/dist/aquila.es.js +67 -151
  3. package/dist/pb/_generated/sagittarius_gateway.flow_pb.client.d.ts +43 -0
  4. package/dist/pb/_generated/sagittarius_gateway.flow_pb.d.ts +110 -0
  5. package/dist/pb/_generated/sagittarius_gateway.module_pb.client.d.ts +59 -0
  6. package/dist/pb/_generated/sagittarius_gateway.module_pb.d.ts +131 -0
  7. package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.client.d.ts +27 -0
  8. package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.d.ts +51 -0
  9. package/dist/pb/_generated/sagittarius_gateway.test_execution_pb.client.d.ts +43 -0
  10. package/dist/pb/_generated/{sagittarius.text_execution_pb.d.ts → sagittarius_gateway.test_execution_pb.d.ts} +45 -11
  11. package/dist/pb/_generated/sagittarius_rails.flow_pb.client.d.ts +31 -0
  12. package/dist/pb/_generated/{sagittarius.flow_pb.d.ts → sagittarius_rails.flow_pb.d.ts} +5 -14
  13. package/dist/pb/_generated/{sagittarius.module_pb.client.d.ts → sagittarius_rails.module_pb.client.d.ts} +3 -3
  14. package/dist/pb/_generated/{sagittarius.module_pb.d.ts → sagittarius_rails.module_pb.d.ts} +11 -5
  15. package/dist/pb/_generated/{sagittarius.runtime_status_pb.client.d.ts → sagittarius_rails.runtime_status_pb.client.d.ts} +3 -3
  16. package/dist/pb/_generated/{sagittarius.runtime_status_pb.d.ts → sagittarius_rails.runtime_status_pb.d.ts} +5 -5
  17. package/dist/pb/_generated/sagittarius_rails.test_execution_pb.client.d.ts +27 -0
  18. package/dist/pb/_generated/sagittarius_rails.test_execution_pb.d.ts +51 -0
  19. package/dist/pb/_generated/sagittarius_rails.token_pb.client.d.ts +31 -0
  20. package/dist/pb/_generated/sagittarius_rails.token_pb.d.ts +93 -0
  21. package/dist/pb/_generated/shared.flow_pb.d.ts +37 -6
  22. package/dist/pb/_generated/shared.module_pb.d.ts +8 -0
  23. package/dist/pb/aquila.d.ts +0 -2
  24. package/dist/pb/sagittarius_gateway.d.ts +8 -0
  25. package/dist/pb/sagittarius_rails.d.ts +10 -0
  26. package/dist/pb/shared.d.ts +0 -1
  27. package/dist/{rpc-interceptor-az_TTCBK.js → rpc-interceptor-d3qh7P9n.js} +10 -10
  28. package/dist/{rpc-interceptor-DOeBkZHU.cjs → rpc-interceptor-giFADd4b.cjs} +1 -1
  29. package/dist/sagittarius_gateway.cjs.js +1 -0
  30. package/dist/sagittarius_gateway.d.ts +2 -0
  31. package/dist/{sagittarius.es.js → sagittarius_gateway.es.js} +330 -181
  32. package/dist/sagittarius_rails.cjs.js +1 -0
  33. package/dist/sagittarius_rails.d.ts +2 -0
  34. package/dist/sagittarius_rails.es.js +559 -0
  35. package/dist/shared.cjs.js +1 -1
  36. package/dist/shared.es.js +4 -4
  37. package/dist/{shared.flow_pb-C4ewDq2u.js → shared.flow_pb-DdVuFKPW.js} +179 -117
  38. package/dist/{shared.flow_pb-DrDw61IF.cjs → shared.flow_pb-clFvPGyv.cjs} +1 -1
  39. package/dist/shared.function_pb-C8cj-NCz.cjs +2 -0
  40. package/dist/{shared.function_pb-e1jkWYE_.js → shared.function_pb-Caz-4jvi.js} +1131 -1131
  41. package/dist/{shared.runtime_usage_pb-DqB5DUDk.cjs → shared.runtime_status_pb-BEEvFfe8.cjs} +1 -1
  42. package/dist/{shared.runtime_usage_pb-DDUhVHjA.js → shared.runtime_status_pb-D7hH22xO.js} +24 -50
  43. package/dist/velorum.cjs.js +1 -1
  44. package/dist/velorum.es.js +3 -3
  45. package/package.json +13 -7
  46. package/dist/pb/_generated/aquila.runtime_usage_pb.client.d.ts +0 -27
  47. package/dist/pb/_generated/aquila.runtime_usage_pb.d.ts +0 -46
  48. package/dist/pb/_generated/sagittarius.flow_pb.client.d.ts +0 -27
  49. package/dist/pb/_generated/sagittarius.ping_pb.client.d.ts +0 -27
  50. package/dist/pb/_generated/sagittarius.ping_pb.d.ts +0 -26
  51. package/dist/pb/_generated/sagittarius.runtime_usage_pb.client.d.ts +0 -27
  52. package/dist/pb/_generated/sagittarius.runtime_usage_pb.d.ts +0 -51
  53. package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -27
  54. package/dist/pb/_generated/shared.runtime_usage_pb.d.ts +0 -25
  55. package/dist/pb/sagittarius.d.ts +0 -12
  56. package/dist/sagittarius.cjs.js +0 -1
  57. package/dist/sagittarius.d.ts +0 -2
  58. package/dist/shared.function_pb-BErnwHWO.cjs +0 -2
@@ -1,10 +1,10 @@
1
- import { C as e, S as t, u as n, v as r, y as i } from "./shared.function_pb-e1jkWYE_.js";
2
- import { a, c as o, g as s, n as c, t as l, x as u } from "./shared.runtime_usage_pb-DDUhVHjA.js";
3
- import { i as d, m as f } from "./shared.flow_pb-C4ewDq2u.js";
4
- import { n as p, t as m } from "./rpc-interceptor-az_TTCBK.js";
5
- var h = new class extends r {
1
+ import { C as e, S as t, u as n, v as r, y as i } from "./shared.function_pb-Caz-4jvi.js";
2
+ import { b as a, h as o, i as s, s as c, t as l } from "./shared.runtime_status_pb-D7hH22xO.js";
3
+ import { h as u, i as d } from "./shared.flow_pb-DdVuFKPW.js";
4
+ import { n as f, t as p } from "./rpc-interceptor-d3qh7P9n.js";
5
+ var m = new class extends r {
6
6
  constructor() {
7
- super("sagittarius.FlowLogonRequest", []);
7
+ super("sagittarius_gateway.FlowLogonRequest", []);
8
8
  }
9
9
  create(e) {
10
10
  let t = globalThis.Object.create(this.messagePrototype);
@@ -28,15 +28,15 @@ var h = new class extends r {
28
28
  let i = r.writeUnknownFields;
29
29
  return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
30
30
  }
31
- }(), g = new class extends r {
31
+ }(), h = new class extends r {
32
32
  constructor() {
33
- super("sagittarius.FlowResponse", [
33
+ super("sagittarius_gateway.FlowResponse", [
34
34
  {
35
35
  no: 1,
36
36
  name: "updated_flow",
37
37
  kind: "message",
38
38
  oneof: "data",
39
- T: () => f
39
+ T: () => u
40
40
  },
41
41
  {
42
42
  no: 2,
@@ -52,13 +52,6 @@ var h = new class extends r {
52
52
  kind: "message",
53
53
  oneof: "data",
54
54
  T: () => d
55
- },
56
- {
57
- no: 4,
58
- name: "module_configurations",
59
- kind: "message",
60
- oneof: "data",
61
- T: () => o
62
55
  }
63
56
  ]);
64
57
  }
@@ -67,14 +60,14 @@ var h = new class extends r {
67
60
  return t.data = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
68
61
  }
69
62
  internalBinaryRead(e, n, r, i) {
70
- let a = i ?? this.create(), s = e.pos + n;
71
- for (; e.pos < s;) {
63
+ let a = i ?? this.create(), o = e.pos + n;
64
+ for (; e.pos < o;) {
72
65
  let [n, i] = e.tag();
73
66
  switch (n) {
74
67
  case 1:
75
68
  a.data = {
76
69
  oneofKind: "updatedFlow",
77
- updatedFlow: f.internalBinaryRead(e, e.uint32(), r, a.data.updatedFlow)
70
+ updatedFlow: u.internalBinaryRead(e, e.uint32(), r, a.data.updatedFlow)
78
71
  };
79
72
  break;
80
73
  case 2:
@@ -89,48 +82,121 @@ var h = new class extends r {
89
82
  flows: d.internalBinaryRead(e, e.uint32(), r, a.data.flows)
90
83
  };
91
84
  break;
92
- case 4:
93
- a.data = {
94
- oneofKind: "moduleConfigurations",
95
- moduleConfigurations: o.internalBinaryRead(e, e.uint32(), r, a.data.moduleConfigurations)
96
- };
85
+ default:
86
+ let o = r.readUnknownField;
87
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
88
+ let s = e.skip(i);
89
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
90
+ }
91
+ }
92
+ return a;
93
+ }
94
+ internalBinaryWrite(n, r, i) {
95
+ n.data.oneofKind === "updatedFlow" && u.internalBinaryWrite(n.data.updatedFlow, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "deletedFlowId" && r.tag(2, e.Varint).int64(n.data.deletedFlowId), n.data.oneofKind === "flows" && d.internalBinaryWrite(n.data.flows, r.tag(3, e.LengthDelimited).fork(), i).join();
96
+ let a = i.writeUnknownFields;
97
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
98
+ }
99
+ }(), g = new class extends r {
100
+ constructor() {
101
+ super("sagittarius_gateway.FlowPushRequest", [{
102
+ no: 1,
103
+ name: "runtime_identifier",
104
+ kind: "scalar",
105
+ T: 3,
106
+ L: 0
107
+ }, {
108
+ no: 2,
109
+ name: "response",
110
+ kind: "message",
111
+ T: () => h
112
+ }]);
113
+ }
114
+ create(e) {
115
+ let t = globalThis.Object.create(this.messagePrototype);
116
+ return t.runtimeIdentifier = 0n, e !== void 0 && i(this, t, e), t;
117
+ }
118
+ internalBinaryRead(e, n, r, i) {
119
+ let a = i ?? this.create(), o = e.pos + n;
120
+ for (; e.pos < o;) {
121
+ let [n, i] = e.tag();
122
+ switch (n) {
123
+ case 1:
124
+ a.runtimeIdentifier = e.int64().toBigInt();
125
+ break;
126
+ case 2:
127
+ a.response = h.internalBinaryRead(e, e.uint32(), r, a.response);
97
128
  break;
98
129
  default:
99
- let s = r.readUnknownField;
100
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
101
- let c = e.skip(i);
102
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, a, n, i, c);
130
+ let o = r.readUnknownField;
131
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
132
+ let s = e.skip(i);
133
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
103
134
  }
104
135
  }
105
136
  return a;
106
137
  }
107
138
  internalBinaryWrite(n, r, i) {
108
- n.data.oneofKind === "updatedFlow" && f.internalBinaryWrite(n.data.updatedFlow, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "deletedFlowId" && r.tag(2, e.Varint).int64(n.data.deletedFlowId), n.data.oneofKind === "flows" && d.internalBinaryWrite(n.data.flows, r.tag(3, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "moduleConfigurations" && o.internalBinaryWrite(n.data.moduleConfigurations, r.tag(4, e.LengthDelimited).fork(), i).join();
139
+ n.runtimeIdentifier !== 0n && r.tag(1, e.Varint).int64(n.runtimeIdentifier), n.response && h.internalBinaryWrite(n.response, r.tag(2, e.LengthDelimited).fork(), i).join();
109
140
  let a = i.writeUnknownFields;
110
141
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
111
142
  }
112
- }(), _ = new p("sagittarius.FlowService", [{
143
+ }(), _ = new class extends r {
144
+ constructor() {
145
+ super("sagittarius_gateway.FlowPushResponse", []);
146
+ }
147
+ create(e) {
148
+ let t = globalThis.Object.create(this.messagePrototype);
149
+ return e !== void 0 && i(this, t, e), t;
150
+ }
151
+ internalBinaryRead(e, n, r, i) {
152
+ let a = i ?? this.create(), o = e.pos + n;
153
+ for (; e.pos < o;) {
154
+ let [n, i] = e.tag();
155
+ switch (n) {
156
+ default:
157
+ let o = r.readUnknownField;
158
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
159
+ let s = e.skip(i);
160
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
161
+ }
162
+ }
163
+ return a;
164
+ }
165
+ internalBinaryWrite(e, n, r) {
166
+ let i = r.writeUnknownFields;
167
+ return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
168
+ }
169
+ }(), v = new f("sagittarius_gateway.FlowService", [{
113
170
  name: "Update",
114
171
  serverStreaming: !0,
115
172
  options: {},
116
- I: h,
117
- O: g
118
- }]), v = class {
173
+ I: m,
174
+ O: h
175
+ }, {
176
+ name: "Push",
177
+ options: {},
178
+ I: g,
179
+ O: _
180
+ }]), y = class {
119
181
  constructor(e) {
120
- this._transport = e, this.typeName = _.typeName, this.methods = _.methods, this.options = _.options;
182
+ this._transport = e, this.typeName = v.typeName, this.methods = v.methods, this.options = v.options;
121
183
  }
122
184
  update(e, t) {
123
185
  let n = this.methods[0], r = this._transport.mergeOptions(t);
124
- return m("serverStreaming", this._transport, n, r, e);
186
+ return p("serverStreaming", this._transport, n, r, e);
125
187
  }
126
- }, y = new class extends r {
188
+ push(e, t) {
189
+ let n = this.methods[1], r = this._transport.mergeOptions(t);
190
+ return p("unary", this._transport, n, r, e);
191
+ }
192
+ }, b = new class extends r {
127
193
  constructor() {
128
- super("sagittarius.ModuleUpdateRequest", [{
194
+ super("sagittarius_gateway.ModuleUpdateRequest", [{
129
195
  no: 1,
130
196
  name: "modules",
131
197
  kind: "message",
132
198
  repeat: 2,
133
- T: () => a
199
+ T: () => s
134
200
  }]);
135
201
  }
136
202
  create(e) {
@@ -138,30 +204,30 @@ var h = new class extends r {
138
204
  return t.modules = [], e !== void 0 && i(this, t, e), t;
139
205
  }
140
206
  internalBinaryRead(e, n, r, i) {
141
- let o = i ?? this.create(), s = e.pos + n;
142
- for (; e.pos < s;) {
207
+ let a = i ?? this.create(), o = e.pos + n;
208
+ for (; e.pos < o;) {
143
209
  let [n, i] = e.tag();
144
210
  switch (n) {
145
211
  case 1:
146
- o.modules.push(a.internalBinaryRead(e, e.uint32(), r));
212
+ a.modules.push(s.internalBinaryRead(e, e.uint32(), r));
147
213
  break;
148
214
  default:
149
- let s = r.readUnknownField;
150
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
215
+ let o = r.readUnknownField;
216
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
151
217
  let c = e.skip(i);
152
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
218
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
153
219
  }
154
220
  }
155
- return o;
221
+ return a;
156
222
  }
157
223
  internalBinaryWrite(n, r, i) {
158
- for (let t = 0; t < n.modules.length; t++) a.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
159
- let o = i.writeUnknownFields;
160
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
224
+ for (let t = 0; t < n.modules.length; t++) s.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
225
+ let a = i.writeUnknownFields;
226
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
161
227
  }
162
- }(), b = new class extends r {
228
+ }(), x = new class extends r {
163
229
  constructor() {
164
- super("sagittarius.ModuleUpdateResponse", [{
230
+ super("sagittarius_gateway.ModuleUpdateResponse", [{
165
231
  no: 1,
166
232
  name: "success",
167
233
  kind: "scalar",
@@ -170,7 +236,7 @@ var h = new class extends r {
170
236
  no: 2,
171
237
  name: "error",
172
238
  kind: "message",
173
- T: () => u
239
+ T: () => a
174
240
  }]);
175
241
  }
176
242
  create(e) {
@@ -178,65 +244,43 @@ var h = new class extends r {
178
244
  return t.success = !1, e !== void 0 && i(this, t, e), t;
179
245
  }
180
246
  internalBinaryRead(e, n, r, i) {
181
- let a = i ?? this.create(), o = e.pos + n;
182
- for (; e.pos < o;) {
247
+ let o = i ?? this.create(), s = e.pos + n;
248
+ for (; e.pos < s;) {
183
249
  let [n, i] = e.tag();
184
250
  switch (n) {
185
251
  case 1:
186
- a.success = e.bool();
252
+ o.success = e.bool();
187
253
  break;
188
254
  case 2:
189
- a.error = u.internalBinaryRead(e, e.uint32(), r, a.error);
255
+ o.error = a.internalBinaryRead(e, e.uint32(), r, o.error);
190
256
  break;
191
257
  default:
192
- let o = r.readUnknownField;
193
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
194
- let s = e.skip(i);
195
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
258
+ let s = r.readUnknownField;
259
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
260
+ let c = e.skip(i);
261
+ s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
196
262
  }
197
263
  }
198
- return a;
264
+ return o;
199
265
  }
200
266
  internalBinaryWrite(n, r, i) {
201
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && u.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
202
- let a = i.writeUnknownFields;
203
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
204
- }
205
- }(), x = new p("sagittarius.ModuleService", [{
206
- name: "Update",
207
- options: {},
208
- I: y,
209
- O: b
210
- }]), S = class {
211
- constructor(e) {
212
- this._transport = e, this.typeName = x.typeName, this.methods = x.methods, this.options = x.options;
213
- }
214
- update(e, t) {
215
- let n = this.methods[0], r = this._transport.mergeOptions(t);
216
- return m("unary", this._transport, n, r, e);
267
+ n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && a.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
268
+ let o = i.writeUnknownFields;
269
+ return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
217
270
  }
218
- }, C = new class extends r {
271
+ }(), S = new class extends r {
219
272
  constructor() {
220
- super("sagittarius.PingMessage", [{
221
- no: 1,
222
- name: "ping_id",
223
- kind: "scalar",
224
- T: 3,
225
- L: 0
226
- }]);
273
+ super("sagittarius_gateway.ModuleConfigurationRequest", []);
227
274
  }
228
275
  create(e) {
229
276
  let t = globalThis.Object.create(this.messagePrototype);
230
- return t.pingId = 0n, e !== void 0 && i(this, t, e), t;
277
+ return e !== void 0 && i(this, t, e), t;
231
278
  }
232
279
  internalBinaryRead(e, n, r, i) {
233
280
  let a = i ?? this.create(), o = e.pos + n;
234
281
  for (; e.pos < o;) {
235
282
  let [n, i] = e.tag();
236
283
  switch (n) {
237
- case 1:
238
- a.pingId = e.int64().toBigInt();
239
- break;
240
284
  default:
241
285
  let o = r.readUnknownField;
242
286
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
@@ -246,29 +290,15 @@ var h = new class extends r {
246
290
  }
247
291
  return a;
248
292
  }
249
- internalBinaryWrite(n, r, i) {
250
- n.pingId !== 0n && r.tag(1, e.Varint).int64(n.pingId);
251
- let a = i.writeUnknownFields;
252
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
253
- }
254
- }(), w = new p("sagittarius.PingService", [{
255
- name: "Ping",
256
- options: {},
257
- I: C,
258
- O: C
259
- }]), T = class {
260
- constructor(e) {
261
- this._transport = e, this.typeName = w.typeName, this.methods = w.methods, this.options = w.options;
262
- }
263
- ping(e, t) {
264
- let n = this.methods[0], r = this._transport.mergeOptions(t);
265
- return m("unary", this._transport, n, r, e);
293
+ internalBinaryWrite(e, n, r) {
294
+ let i = r.writeUnknownFields;
295
+ return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
266
296
  }
267
- }, E = new class extends r {
297
+ }(), C = new class extends r {
268
298
  constructor() {
269
- super("sagittarius.RuntimeStatusUpdateRequest", [{
299
+ super("sagittarius_gateway.ModuleConfigurationResponse", [{
270
300
  no: 1,
271
- name: "status",
301
+ name: "module_configurations",
272
302
  kind: "message",
273
303
  T: () => c
274
304
  }]);
@@ -283,7 +313,7 @@ var h = new class extends r {
283
313
  let [n, i] = e.tag();
284
314
  switch (n) {
285
315
  case 1:
286
- a.status = c.internalBinaryRead(e, e.uint32(), r, a.status);
316
+ a.moduleConfigurations = c.internalBinaryRead(e, e.uint32(), r, a.moduleConfigurations);
287
317
  break;
288
318
  default:
289
319
  let o = r.readUnknownField;
@@ -295,27 +325,28 @@ var h = new class extends r {
295
325
  return a;
296
326
  }
297
327
  internalBinaryWrite(n, r, i) {
298
- n.status && c.internalBinaryWrite(n.status, r.tag(1, e.LengthDelimited).fork(), i).join();
328
+ n.moduleConfigurations && c.internalBinaryWrite(n.moduleConfigurations, r.tag(1, e.LengthDelimited).fork(), i).join();
299
329
  let a = i.writeUnknownFields;
300
330
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
301
331
  }
302
- }(), D = new class extends r {
332
+ }(), w = new class extends r {
303
333
  constructor() {
304
- super("sagittarius.RuntimeStatusUpdateResponse", [{
334
+ super("sagittarius_gateway.ModuleConfigurationPushRequest", [{
305
335
  no: 1,
306
- name: "success",
336
+ name: "runtime_identifier",
307
337
  kind: "scalar",
308
- T: 8
338
+ T: 3,
339
+ L: 0
309
340
  }, {
310
341
  no: 2,
311
- name: "error",
342
+ name: "response",
312
343
  kind: "message",
313
- T: () => u
344
+ T: () => C
314
345
  }]);
315
346
  }
316
347
  create(e) {
317
348
  let t = globalThis.Object.create(this.messagePrototype);
318
- return t.success = !1, e !== void 0 && i(this, t, e), t;
349
+ return t.runtimeIdentifier = 0n, e !== void 0 && i(this, t, e), t;
319
350
  }
320
351
  internalBinaryRead(e, n, r, i) {
321
352
  let a = i ?? this.create(), o = e.pos + n;
@@ -323,10 +354,10 @@ var h = new class extends r {
323
354
  let [n, i] = e.tag();
324
355
  switch (n) {
325
356
  case 1:
326
- a.success = e.bool();
357
+ a.runtimeIdentifier = e.int64().toBigInt();
327
358
  break;
328
359
  case 2:
329
- a.error = u.internalBinaryRead(e, e.uint32(), r, a.error);
360
+ a.response = C.internalBinaryRead(e, e.uint32(), r, a.response);
330
361
  break;
331
362
  default:
332
363
  let o = r.readUnknownField;
@@ -338,36 +369,84 @@ var h = new class extends r {
338
369
  return a;
339
370
  }
340
371
  internalBinaryWrite(n, r, i) {
341
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && u.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
372
+ n.runtimeIdentifier !== 0n && r.tag(1, e.Varint).int64(n.runtimeIdentifier), n.response && C.internalBinaryWrite(n.response, r.tag(2, e.LengthDelimited).fork(), i).join();
342
373
  let a = i.writeUnknownFields;
343
374
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
344
375
  }
345
- }(), O = new p("sagittarius.RuntimeStatusService", [{
346
- name: "Update",
347
- options: {},
348
- I: E,
349
- O: D
350
- }]), k = class {
376
+ }(), T = new class extends r {
377
+ constructor() {
378
+ super("sagittarius_gateway.ModuleConfigurationPushResponse", []);
379
+ }
380
+ create(e) {
381
+ let t = globalThis.Object.create(this.messagePrototype);
382
+ return e !== void 0 && i(this, t, e), t;
383
+ }
384
+ internalBinaryRead(e, n, r, i) {
385
+ let a = i ?? this.create(), o = e.pos + n;
386
+ for (; e.pos < o;) {
387
+ let [n, i] = e.tag();
388
+ switch (n) {
389
+ default:
390
+ let o = r.readUnknownField;
391
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
392
+ let s = e.skip(i);
393
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
394
+ }
395
+ }
396
+ return a;
397
+ }
398
+ internalBinaryWrite(e, n, r) {
399
+ let i = r.writeUnknownFields;
400
+ return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
401
+ }
402
+ }(), E = new f("sagittarius_gateway.ModuleService", [
403
+ {
404
+ name: "Update",
405
+ options: {},
406
+ I: b,
407
+ O: x
408
+ },
409
+ {
410
+ name: "Configurations",
411
+ serverStreaming: !0,
412
+ options: {},
413
+ I: S,
414
+ O: C
415
+ },
416
+ {
417
+ name: "Push",
418
+ options: {},
419
+ I: w,
420
+ O: T
421
+ }
422
+ ]), D = class {
351
423
  constructor(e) {
352
- this._transport = e, this.typeName = O.typeName, this.methods = O.methods, this.options = O.options;
424
+ this._transport = e, this.typeName = E.typeName, this.methods = E.methods, this.options = E.options;
353
425
  }
354
426
  update(e, t) {
355
427
  let n = this.methods[0], r = this._transport.mergeOptions(t);
356
- return m("unary", this._transport, n, r, e);
428
+ return p("unary", this._transport, n, r, e);
429
+ }
430
+ configurations(e, t) {
431
+ let n = this.methods[1], r = this._transport.mergeOptions(t);
432
+ return p("serverStreaming", this._transport, n, r, e);
357
433
  }
358
- }, A = new class extends r {
434
+ push(e, t) {
435
+ let n = this.methods[2], r = this._transport.mergeOptions(t);
436
+ return p("unary", this._transport, n, r, e);
437
+ }
438
+ }, O = new class extends r {
359
439
  constructor() {
360
- super("sagittarius.RuntimeUsageRequest", [{
440
+ super("sagittarius_gateway.RuntimeStatusUpdateRequest", [{
361
441
  no: 1,
362
- name: "runtime_usage",
442
+ name: "status",
363
443
  kind: "message",
364
- repeat: 2,
365
444
  T: () => l
366
445
  }]);
367
446
  }
368
447
  create(e) {
369
448
  let t = globalThis.Object.create(this.messagePrototype);
370
- return t.runtimeUsage = [], e !== void 0 && i(this, t, e), t;
449
+ return e !== void 0 && i(this, t, e), t;
371
450
  }
372
451
  internalBinaryRead(e, n, r, i) {
373
452
  let a = i ?? this.create(), o = e.pos + n;
@@ -375,7 +454,7 @@ var h = new class extends r {
375
454
  let [n, i] = e.tag();
376
455
  switch (n) {
377
456
  case 1:
378
- a.runtimeUsage.push(l.internalBinaryRead(e, e.uint32(), r));
457
+ a.status = l.internalBinaryRead(e, e.uint32(), r, a.status);
379
458
  break;
380
459
  default:
381
460
  let o = r.readUnknownField;
@@ -387,13 +466,13 @@ var h = new class extends r {
387
466
  return a;
388
467
  }
389
468
  internalBinaryWrite(n, r, i) {
390
- for (let t = 0; t < n.runtimeUsage.length; t++) l.internalBinaryWrite(n.runtimeUsage[t], r.tag(1, e.LengthDelimited).fork(), i).join();
469
+ n.status && l.internalBinaryWrite(n.status, r.tag(1, e.LengthDelimited).fork(), i).join();
391
470
  let a = i.writeUnknownFields;
392
471
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
393
472
  }
394
- }(), j = new class extends r {
473
+ }(), k = new class extends r {
395
474
  constructor() {
396
- super("sagittarius.RuntimeUsageResponse", [{
475
+ super("sagittarius_gateway.RuntimeStatusUpdateResponse", [{
397
476
  no: 1,
398
477
  name: "success",
399
478
  kind: "scalar",
@@ -402,7 +481,7 @@ var h = new class extends r {
402
481
  no: 2,
403
482
  name: "error",
404
483
  kind: "message",
405
- T: () => u
484
+ T: () => a
406
485
  }]);
407
486
  }
408
487
  create(e) {
@@ -410,46 +489,46 @@ var h = new class extends r {
410
489
  return t.success = !1, e !== void 0 && i(this, t, e), t;
411
490
  }
412
491
  internalBinaryRead(e, n, r, i) {
413
- let a = i ?? this.create(), o = e.pos + n;
414
- for (; e.pos < o;) {
492
+ let o = i ?? this.create(), s = e.pos + n;
493
+ for (; e.pos < s;) {
415
494
  let [n, i] = e.tag();
416
495
  switch (n) {
417
496
  case 1:
418
- a.success = e.bool();
497
+ o.success = e.bool();
419
498
  break;
420
499
  case 2:
421
- a.error = u.internalBinaryRead(e, e.uint32(), r, a.error);
500
+ o.error = a.internalBinaryRead(e, e.uint32(), r, o.error);
422
501
  break;
423
502
  default:
424
- let o = r.readUnknownField;
425
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
426
- let s = e.skip(i);
427
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
503
+ let s = r.readUnknownField;
504
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
505
+ let c = e.skip(i);
506
+ s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
428
507
  }
429
508
  }
430
- return a;
509
+ return o;
431
510
  }
432
511
  internalBinaryWrite(n, r, i) {
433
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && u.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
434
- let a = i.writeUnknownFields;
435
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
512
+ n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && a.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
513
+ let o = i.writeUnknownFields;
514
+ return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
436
515
  }
437
- }(), M = new p("sagittarius.RuntimeUsageService", [{
516
+ }(), A = new f("sagittarius_gateway.RuntimeStatusService", [{
438
517
  name: "Update",
439
518
  options: {},
440
- I: A,
441
- O: j
442
- }]), N = class {
519
+ I: O,
520
+ O: k
521
+ }]), j = class {
443
522
  constructor(e) {
444
- this._transport = e, this.typeName = M.typeName, this.methods = M.methods, this.options = M.options;
523
+ this._transport = e, this.typeName = A.typeName, this.methods = A.methods, this.options = A.options;
445
524
  }
446
525
  update(e, t) {
447
526
  let n = this.methods[0], r = this._transport.mergeOptions(t);
448
- return m("unary", this._transport, n, r, e);
527
+ return p("unary", this._transport, n, r, e);
449
528
  }
450
- }, P = new class extends r {
529
+ }, M = new class extends r {
451
530
  constructor() {
452
- super("sagittarius.Logon", []);
531
+ super("sagittarius_gateway.Logon", []);
453
532
  }
454
533
  create(e) {
455
534
  let t = globalThis.Object.create(this.messagePrototype);
@@ -473,9 +552,9 @@ var h = new class extends r {
473
552
  let i = r.writeUnknownFields;
474
553
  return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
475
554
  }
476
- }(), F = new class extends r {
555
+ }(), N = new class extends r {
477
556
  constructor() {
478
- super("sagittarius.TestExecutionRequest", [
557
+ super("sagittarius_gateway.TestExecutionRequest", [
479
558
  {
480
559
  no: 1,
481
560
  name: "flow_id",
@@ -529,20 +608,20 @@ var h = new class extends r {
529
608
  let o = a.writeUnknownFields;
530
609
  return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
531
610
  }
532
- }(), I = new class extends r {
611
+ }(), P = new class extends r {
533
612
  constructor() {
534
- super("sagittarius.ExecutionLogonRequest", [{
613
+ super("sagittarius_gateway.ExecutionLogonRequest", [{
535
614
  no: 1,
536
615
  name: "logon",
537
616
  kind: "message",
538
617
  oneof: "data",
539
- T: () => P
618
+ T: () => M
540
619
  }, {
541
620
  no: 2,
542
621
  name: "response",
543
622
  kind: "message",
544
623
  oneof: "data",
545
- T: () => s
624
+ T: () => o
546
625
  }]);
547
626
  }
548
627
  create(e) {
@@ -550,43 +629,78 @@ var h = new class extends r {
550
629
  return t.data = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
551
630
  }
552
631
  internalBinaryRead(e, n, r, i) {
553
- let a = i ?? this.create(), o = e.pos + n;
554
- for (; e.pos < o;) {
632
+ let a = i ?? this.create(), s = e.pos + n;
633
+ for (; e.pos < s;) {
555
634
  let [n, i] = e.tag();
556
635
  switch (n) {
557
636
  case 1:
558
637
  a.data = {
559
638
  oneofKind: "logon",
560
- logon: P.internalBinaryRead(e, e.uint32(), r, a.data.logon)
639
+ logon: M.internalBinaryRead(e, e.uint32(), r, a.data.logon)
561
640
  };
562
641
  break;
563
642
  case 2:
564
643
  a.data = {
565
644
  oneofKind: "response",
566
- response: s.internalBinaryRead(e, e.uint32(), r, a.data.response)
645
+ response: o.internalBinaryRead(e, e.uint32(), r, a.data.response)
567
646
  };
568
647
  break;
648
+ default:
649
+ let s = r.readUnknownField;
650
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
651
+ let c = e.skip(i);
652
+ s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, a, n, i, c);
653
+ }
654
+ }
655
+ return a;
656
+ }
657
+ internalBinaryWrite(n, r, i) {
658
+ n.data.oneofKind === "logon" && M.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "response" && o.internalBinaryWrite(n.data.response, r.tag(2, e.LengthDelimited).fork(), i).join();
659
+ let a = i.writeUnknownFields;
660
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
661
+ }
662
+ }(), F = new class extends r {
663
+ constructor() {
664
+ super("sagittarius_gateway.ExecutionLogonResponse", [{
665
+ no: 1,
666
+ name: "request",
667
+ kind: "message",
668
+ T: () => N
669
+ }]);
670
+ }
671
+ create(e) {
672
+ let t = globalThis.Object.create(this.messagePrototype);
673
+ return e !== void 0 && i(this, t, e), t;
674
+ }
675
+ internalBinaryRead(e, n, r, i) {
676
+ let a = i ?? this.create(), o = e.pos + n;
677
+ for (; e.pos < o;) {
678
+ let [n, i] = e.tag();
679
+ switch (n) {
680
+ case 1:
681
+ a.request = N.internalBinaryRead(e, e.uint32(), r, a.request);
682
+ break;
569
683
  default:
570
684
  let o = r.readUnknownField;
571
685
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
572
- let c = e.skip(i);
573
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
686
+ let s = e.skip(i);
687
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
574
688
  }
575
689
  }
576
690
  return a;
577
691
  }
578
692
  internalBinaryWrite(n, r, i) {
579
- n.data.oneofKind === "logon" && P.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "response" && s.internalBinaryWrite(n.data.response, r.tag(2, e.LengthDelimited).fork(), i).join();
693
+ n.request && N.internalBinaryWrite(n.request, r.tag(1, e.LengthDelimited).fork(), i).join();
580
694
  let a = i.writeUnknownFields;
581
695
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
582
696
  }
583
- }(), L = new class extends r {
697
+ }(), I = new class extends r {
584
698
  constructor() {
585
- super("sagittarius.ExecutionLogonResponse", [{
699
+ super("sagittarius_gateway.ExecutionPushRequest", [{
586
700
  no: 1,
587
701
  name: "request",
588
702
  kind: "message",
589
- T: () => F
703
+ T: () => N
590
704
  }]);
591
705
  }
592
706
  create(e) {
@@ -599,7 +713,7 @@ var h = new class extends r {
599
713
  let [n, i] = e.tag();
600
714
  switch (n) {
601
715
  case 1:
602
- a.request = F.internalBinaryRead(e, e.uint32(), r, a.request);
716
+ a.request = N.internalBinaryRead(e, e.uint32(), r, a.request);
603
717
  break;
604
718
  default:
605
719
  let o = r.readUnknownField;
@@ -611,25 +725,60 @@ var h = new class extends r {
611
725
  return a;
612
726
  }
613
727
  internalBinaryWrite(n, r, i) {
614
- n.request && F.internalBinaryWrite(n.request, r.tag(1, e.LengthDelimited).fork(), i).join();
728
+ n.request && N.internalBinaryWrite(n.request, r.tag(1, e.LengthDelimited).fork(), i).join();
615
729
  let a = i.writeUnknownFields;
616
730
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
617
731
  }
618
- }(), R = new p("sagittarius.ExecutionService", [{
619
- name: "Test",
732
+ }(), L = new class extends r {
733
+ constructor() {
734
+ super("sagittarius_gateway.ExecutionPushResponse", []);
735
+ }
736
+ create(e) {
737
+ let t = globalThis.Object.create(this.messagePrototype);
738
+ return e !== void 0 && i(this, t, e), t;
739
+ }
740
+ internalBinaryRead(e, n, r, i) {
741
+ let a = i ?? this.create(), o = e.pos + n;
742
+ for (; e.pos < o;) {
743
+ let [n, i] = e.tag();
744
+ switch (n) {
745
+ default:
746
+ let o = r.readUnknownField;
747
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
748
+ let s = e.skip(i);
749
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
750
+ }
751
+ }
752
+ return a;
753
+ }
754
+ internalBinaryWrite(e, n, r) {
755
+ let i = r.writeUnknownFields;
756
+ return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
757
+ }
758
+ }(), R = new f("sagittarius_gateway.ExecutionService", [{
759
+ name: "Update",
620
760
  serverStreaming: !0,
621
761
  clientStreaming: !0,
622
762
  options: {},
763
+ I: P,
764
+ O: F
765
+ }, {
766
+ name: "Push",
767
+ options: {},
623
768
  I,
624
769
  O: L
625
770
  }]), z = class {
626
771
  constructor(e) {
627
772
  this._transport = e, this.typeName = R.typeName, this.methods = R.methods, this.options = R.options;
628
773
  }
629
- test(e) {
774
+ update(e) {
630
775
  let t = this.methods[0], n = this._transport.mergeOptions(e);
631
- return m("duplex", this._transport, t, n);
776
+ return p("duplex", this._transport, t, n);
777
+ }
778
+ push(e, t) {
779
+ let n = this.methods[1], r = this._transport.mergeOptions(t);
780
+ return p("unary", this._transport, n, r, e);
632
781
  }
633
782
  };
634
783
  //#endregion
635
- export { I as ExecutionLogonRequest, L as ExecutionLogonResponse, R as ExecutionService, z as ExecutionServiceClient, h as FlowLogonRequest, g as FlowResponse, _ as FlowService, v as FlowServiceClient, P as Logon, x as ModuleService, S as ModuleServiceClient, y as ModuleUpdateRequest, b as ModuleUpdateResponse, C as PingMessage, w as PingService, T as PingServiceClient, O as RuntimeStatusService, k as RuntimeStatusServiceClient, E as RuntimeStatusUpdateRequest, D as RuntimeStatusUpdateResponse, A as RuntimeUsageRequest, j as RuntimeUsageResponse, M as RuntimeUsageService, N as RuntimeUsageServiceClient, F as TestExecutionRequest };
784
+ export { P as ExecutionLogonRequest, F as ExecutionLogonResponse, I as ExecutionPushRequest, L as ExecutionPushResponse, R as ExecutionService, z as ExecutionServiceClient, m as FlowLogonRequest, g as FlowPushRequest, _ as FlowPushResponse, h as FlowResponse, v as FlowService, y as FlowServiceClient, M as Logon, w as ModuleConfigurationPushRequest, T as ModuleConfigurationPushResponse, S as ModuleConfigurationRequest, C as ModuleConfigurationResponse, E as ModuleService, D as ModuleServiceClient, b as ModuleUpdateRequest, x as ModuleUpdateResponse, A as RuntimeStatusService, j as RuntimeStatusServiceClient, O as RuntimeStatusUpdateRequest, k as RuntimeStatusUpdateResponse, N as TestExecutionRequest };