@code0-tech/tucana 0.0.76 → 0.0.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/aquila.cjs.js +1 -1
  2. package/dist/aquila.es.js +738 -209
  3. package/dist/pb/_generated/aquila.action_pb.d.ts +345 -4
  4. package/dist/pb/_generated/sagittarius_gateway.flow_pb.client.d.ts +43 -0
  5. package/dist/pb/_generated/sagittarius_gateway.flow_pb.d.ts +110 -0
  6. package/dist/pb/_generated/sagittarius_gateway.module_pb.client.d.ts +59 -0
  7. package/dist/pb/_generated/sagittarius_gateway.module_pb.d.ts +137 -0
  8. package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.client.d.ts +27 -0
  9. package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.d.ts +51 -0
  10. package/dist/pb/_generated/sagittarius_gateway.test_execution_pb.client.d.ts +43 -0
  11. package/dist/pb/_generated/{sagittarius.text_execution_pb.d.ts → sagittarius_gateway.test_execution_pb.d.ts} +45 -11
  12. package/dist/pb/_generated/sagittarius_rails.flow_pb.client.d.ts +31 -0
  13. package/dist/pb/_generated/{sagittarius.flow_pb.d.ts → sagittarius_rails.flow_pb.d.ts} +5 -14
  14. package/dist/pb/_generated/{sagittarius.module_pb.client.d.ts → sagittarius_rails.module_pb.client.d.ts} +3 -3
  15. package/dist/pb/_generated/{sagittarius.module_pb.d.ts → sagittarius_rails.module_pb.d.ts} +7 -7
  16. package/dist/pb/_generated/{sagittarius.runtime_status_pb.client.d.ts → sagittarius_rails.runtime_status_pb.client.d.ts} +3 -3
  17. package/dist/pb/_generated/{sagittarius.runtime_status_pb.d.ts → sagittarius_rails.runtime_status_pb.d.ts} +5 -5
  18. package/dist/pb/_generated/sagittarius_rails.test_execution_pb.client.d.ts +27 -0
  19. package/dist/pb/_generated/sagittarius_rails.test_execution_pb.d.ts +51 -0
  20. package/dist/pb/_generated/sagittarius_rails.token_pb.client.d.ts +31 -0
  21. package/dist/pb/_generated/sagittarius_rails.token_pb.d.ts +93 -0
  22. package/dist/pb/_generated/shared.flow_pb.d.ts +42 -26
  23. package/dist/pb/_generated/shared.struct_pb.d.ts +1 -1
  24. package/dist/pb/sagittarius_gateway.d.ts +8 -0
  25. package/dist/pb/sagittarius_rails.d.ts +10 -0
  26. package/dist/{rpc-interceptor-giFADd4b.cjs → rpc-interceptor-D-IMsC9l.cjs} +1 -1
  27. package/dist/{rpc-interceptor-d3qh7P9n.js → rpc-interceptor-D0l4GO-c.js} +1 -1
  28. package/dist/sagittarius_gateway.cjs.js +1 -0
  29. package/dist/sagittarius_gateway.d.ts +2 -0
  30. package/dist/sagittarius_gateway.es.js +793 -0
  31. package/dist/sagittarius_rails.cjs.js +1 -0
  32. package/dist/sagittarius_rails.d.ts +2 -0
  33. package/dist/sagittarius_rails.es.js +558 -0
  34. package/dist/shared.cjs.js +1 -1
  35. package/dist/shared.es.js +3 -4
  36. package/dist/shared.function_pb-BxQgyP8l.cjs +2 -0
  37. package/dist/{shared.function_pb-Caz-4jvi.js → shared.function_pb-CPUNe7pa.js} +1537 -485
  38. package/dist/shared.runtime_status_pb-5unRZGw5.js +1650 -0
  39. package/dist/{shared.runtime_status_pb-BEEvFfe8.cjs → shared.runtime_status_pb-BlKabFnb.cjs} +1 -1
  40. package/dist/velorum.cjs.js +1 -1
  41. package/dist/velorum.es.js +114 -115
  42. package/package.json +13 -7
  43. package/dist/pb/_generated/sagittarius.flow_pb.client.d.ts +0 -27
  44. package/dist/pb/_generated/sagittarius.ping_pb.client.d.ts +0 -27
  45. package/dist/pb/_generated/sagittarius.ping_pb.d.ts +0 -26
  46. package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -27
  47. package/dist/pb/sagittarius.d.ts +0 -10
  48. package/dist/sagittarius.cjs.js +0 -1
  49. package/dist/sagittarius.d.ts +0 -2
  50. package/dist/sagittarius.es.js +0 -553
  51. package/dist/shared.flow_pb-DdVuFKPW.js +0 -1019
  52. package/dist/shared.flow_pb-clFvPGyv.cjs +0 -1
  53. package/dist/shared.function_pb-C8cj-NCz.cjs +0 -2
  54. package/dist/shared.runtime_status_pb-D7hH22xO.js +0 -1650
@@ -0,0 +1,1650 @@
1
+ import { L as e, M as t, N as n, O as r, P as i, R as a, T as o, r as s, t as c, w as l } from "./shared.function_pb-CPUNe7pa.js";
2
+ var u = new class extends n {
3
+ constructor() {
4
+ super("shared.ServiceError", [{
5
+ no: 1,
6
+ name: "message",
7
+ kind: "scalar",
8
+ T: 9
9
+ }, {
10
+ no: 2,
11
+ name: "details",
12
+ kind: "message",
13
+ repeat: 2,
14
+ T: () => d
15
+ }]);
16
+ }
17
+ create(e) {
18
+ let t = globalThis.Object.create(this.messagePrototype);
19
+ return t.message = "", t.details = [], e !== void 0 && i(this, t, e), t;
20
+ }
21
+ internalBinaryRead(t, n, r, i) {
22
+ let a = i ?? this.create(), o = t.pos + n;
23
+ for (; t.pos < o;) {
24
+ let [n, i] = t.tag();
25
+ switch (n) {
26
+ case 1:
27
+ a.message = t.string();
28
+ break;
29
+ case 2:
30
+ a.details.push(d.internalBinaryRead(t, t.uint32(), r));
31
+ break;
32
+ default:
33
+ let o = r.readUnknownField;
34
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
35
+ let s = t.skip(i);
36
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
37
+ }
38
+ }
39
+ return a;
40
+ }
41
+ internalBinaryWrite(t, n, r) {
42
+ t.message !== "" && n.tag(1, a.LengthDelimited).string(t.message);
43
+ for (let e = 0; e < t.details.length; e++) d.internalBinaryWrite(t.details[e], n.tag(2, a.LengthDelimited).fork(), r).join();
44
+ let i = r.writeUnknownFields;
45
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
46
+ }
47
+ }(), d = new class extends n {
48
+ constructor() {
49
+ super("shared.ServiceErrorDetails", [{
50
+ no: 1,
51
+ name: "active_model_error",
52
+ kind: "message",
53
+ oneof: "kind",
54
+ T: () => f
55
+ }]);
56
+ }
57
+ create(e) {
58
+ let t = globalThis.Object.create(this.messagePrototype);
59
+ return t.kind = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
60
+ }
61
+ internalBinaryRead(t, n, r, i) {
62
+ let a = i ?? this.create(), o = t.pos + n;
63
+ for (; t.pos < o;) {
64
+ let [n, i] = t.tag();
65
+ switch (n) {
66
+ case 1:
67
+ a.kind = {
68
+ oneofKind: "activeModelError",
69
+ activeModelError: f.internalBinaryRead(t, t.uint32(), r, a.kind.activeModelError)
70
+ };
71
+ break;
72
+ default:
73
+ let o = r.readUnknownField;
74
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
75
+ let s = t.skip(i);
76
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
77
+ }
78
+ }
79
+ return a;
80
+ }
81
+ internalBinaryWrite(t, n, r) {
82
+ t.kind.oneofKind === "activeModelError" && f.internalBinaryWrite(t.kind.activeModelError, n.tag(1, a.LengthDelimited).fork(), r).join();
83
+ let i = r.writeUnknownFields;
84
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
85
+ }
86
+ }(), f = new class extends n {
87
+ constructor() {
88
+ super("shared.ServiceActiveModelError", [{
89
+ no: 1,
90
+ name: "attribute",
91
+ kind: "scalar",
92
+ T: 9
93
+ }, {
94
+ no: 2,
95
+ name: "type",
96
+ kind: "scalar",
97
+ T: 9
98
+ }]);
99
+ }
100
+ create(e) {
101
+ let t = globalThis.Object.create(this.messagePrototype);
102
+ return t.attribute = "", t.type = "", e !== void 0 && i(this, t, e), t;
103
+ }
104
+ internalBinaryRead(t, n, r, i) {
105
+ let a = i ?? this.create(), o = t.pos + n;
106
+ for (; t.pos < o;) {
107
+ let [n, i] = t.tag();
108
+ switch (n) {
109
+ case 1:
110
+ a.attribute = t.string();
111
+ break;
112
+ case 2:
113
+ a.type = t.string();
114
+ break;
115
+ default:
116
+ let o = r.readUnknownField;
117
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
118
+ let s = t.skip(i);
119
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
120
+ }
121
+ }
122
+ return a;
123
+ }
124
+ internalBinaryWrite(t, n, r) {
125
+ t.attribute !== "" && n.tag(1, a.LengthDelimited).string(t.attribute), t.type !== "" && n.tag(2, a.LengthDelimited).string(t.type);
126
+ let i = r.writeUnknownFields;
127
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
128
+ }
129
+ }(), p = new class extends n {
130
+ constructor() {
131
+ super("shared.Error", [
132
+ {
133
+ no: 1,
134
+ name: "code",
135
+ kind: "scalar",
136
+ T: 9
137
+ },
138
+ {
139
+ no: 2,
140
+ name: "category",
141
+ kind: "scalar",
142
+ T: 9
143
+ },
144
+ {
145
+ no: 3,
146
+ name: "message",
147
+ kind: "scalar",
148
+ T: 9
149
+ },
150
+ {
151
+ no: 4,
152
+ name: "timestamp",
153
+ kind: "scalar",
154
+ T: 3,
155
+ L: 0
156
+ },
157
+ {
158
+ no: 5,
159
+ name: "version",
160
+ kind: "scalar",
161
+ T: 9
162
+ },
163
+ {
164
+ no: 6,
165
+ name: "dependencies",
166
+ kind: "map",
167
+ K: 9,
168
+ V: {
169
+ kind: "scalar",
170
+ T: 9
171
+ }
172
+ },
173
+ {
174
+ no: 7,
175
+ name: "details",
176
+ kind: "message",
177
+ T: () => l
178
+ }
179
+ ]);
180
+ }
181
+ create(e) {
182
+ let t = globalThis.Object.create(this.messagePrototype);
183
+ return t.code = "", t.category = "", t.message = "", t.timestamp = 0n, t.version = "", t.dependencies = {}, e !== void 0 && i(this, t, e), t;
184
+ }
185
+ internalBinaryRead(t, n, r, i) {
186
+ let a = i ?? this.create(), o = t.pos + n;
187
+ for (; t.pos < o;) {
188
+ let [n, i] = t.tag();
189
+ switch (n) {
190
+ case 1:
191
+ a.code = t.string();
192
+ break;
193
+ case 2:
194
+ a.category = t.string();
195
+ break;
196
+ case 3:
197
+ a.message = t.string();
198
+ break;
199
+ case 4:
200
+ a.timestamp = t.int64().toBigInt();
201
+ break;
202
+ case 5:
203
+ a.version = t.string();
204
+ break;
205
+ case 6:
206
+ this.binaryReadMap6(a.dependencies, t, r);
207
+ break;
208
+ case 7:
209
+ a.details = l.internalBinaryRead(t, t.uint32(), r, a.details);
210
+ break;
211
+ default:
212
+ let o = r.readUnknownField;
213
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
214
+ let s = t.skip(i);
215
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
216
+ }
217
+ }
218
+ return a;
219
+ }
220
+ binaryReadMap6(e, t, n) {
221
+ let r = t.uint32(), i = t.pos + r, a, o;
222
+ for (; t.pos < i;) {
223
+ let [e, n] = t.tag();
224
+ switch (e) {
225
+ case 1:
226
+ a = t.string();
227
+ break;
228
+ case 2:
229
+ o = t.string();
230
+ break;
231
+ default: throw new globalThis.Error("unknown map entry field for shared.Error.dependencies");
232
+ }
233
+ }
234
+ e[a ?? ""] = o ?? "";
235
+ }
236
+ internalBinaryWrite(t, n, r) {
237
+ t.code !== "" && n.tag(1, a.LengthDelimited).string(t.code), t.category !== "" && n.tag(2, a.LengthDelimited).string(t.category), t.message !== "" && n.tag(3, a.LengthDelimited).string(t.message), t.timestamp !== 0n && n.tag(4, a.Varint).int64(t.timestamp), t.version !== "" && n.tag(5, a.LengthDelimited).string(t.version);
238
+ for (let e of globalThis.Object.keys(t.dependencies)) n.tag(6, a.LengthDelimited).fork().tag(1, a.LengthDelimited).string(e).tag(2, a.LengthDelimited).string(t.dependencies[e]).join();
239
+ t.details && l.internalBinaryWrite(t.details, n.tag(7, a.LengthDelimited).fork(), r).join();
240
+ let i = r.writeUnknownFields;
241
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
242
+ }
243
+ }(), m = new class extends n {
244
+ constructor() {
245
+ super("shared.NodeParameterNodeExecutionResult", [{
246
+ no: 5,
247
+ name: "value",
248
+ kind: "message",
249
+ T: () => o
250
+ }]);
251
+ }
252
+ create(e) {
253
+ let t = globalThis.Object.create(this.messagePrototype);
254
+ return e !== void 0 && i(this, t, e), t;
255
+ }
256
+ internalBinaryRead(t, n, r, i) {
257
+ let a = i ?? this.create(), s = t.pos + n;
258
+ for (; t.pos < s;) {
259
+ let [n, i] = t.tag();
260
+ switch (n) {
261
+ case 5:
262
+ a.value = o.internalBinaryRead(t, t.uint32(), r, a.value);
263
+ break;
264
+ default:
265
+ let s = r.readUnknownField;
266
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
267
+ let c = t.skip(i);
268
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, a, n, i, c);
269
+ }
270
+ }
271
+ return a;
272
+ }
273
+ internalBinaryWrite(t, n, r) {
274
+ t.value && o.internalBinaryWrite(t.value, n.tag(5, a.LengthDelimited).fork(), r).join();
275
+ let i = r.writeUnknownFields;
276
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
277
+ }
278
+ }(), h = new class extends n {
279
+ constructor() {
280
+ super("shared.NodeExecutionResult", [
281
+ {
282
+ no: 1,
283
+ name: "node_id",
284
+ kind: "scalar",
285
+ oneof: "id",
286
+ T: 3,
287
+ L: 0
288
+ },
289
+ {
290
+ no: 2,
291
+ name: "function_identifier",
292
+ kind: "scalar",
293
+ oneof: "id",
294
+ T: 9
295
+ },
296
+ {
297
+ no: 3,
298
+ name: "started_at",
299
+ kind: "scalar",
300
+ T: 3,
301
+ L: 0
302
+ },
303
+ {
304
+ no: 4,
305
+ name: "finished_at",
306
+ kind: "scalar",
307
+ T: 3,
308
+ L: 0
309
+ },
310
+ {
311
+ no: 5,
312
+ name: "parameter_results",
313
+ kind: "message",
314
+ repeat: 2,
315
+ T: () => m
316
+ },
317
+ {
318
+ no: 6,
319
+ name: "success",
320
+ kind: "message",
321
+ oneof: "result",
322
+ T: () => o
323
+ },
324
+ {
325
+ no: 7,
326
+ name: "error",
327
+ kind: "message",
328
+ oneof: "result",
329
+ T: () => p
330
+ }
331
+ ]);
332
+ }
333
+ create(e) {
334
+ let t = globalThis.Object.create(this.messagePrototype);
335
+ return t.id = { oneofKind: void 0 }, t.startedAt = 0n, t.finishedAt = 0n, t.parameterResults = [], t.result = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
336
+ }
337
+ internalBinaryRead(t, n, r, i) {
338
+ let a = i ?? this.create(), s = t.pos + n;
339
+ for (; t.pos < s;) {
340
+ let [n, i] = t.tag();
341
+ switch (n) {
342
+ case 1:
343
+ a.id = {
344
+ oneofKind: "nodeId",
345
+ nodeId: t.int64().toBigInt()
346
+ };
347
+ break;
348
+ case 2:
349
+ a.id = {
350
+ oneofKind: "functionIdentifier",
351
+ functionIdentifier: t.string()
352
+ };
353
+ break;
354
+ case 3:
355
+ a.startedAt = t.int64().toBigInt();
356
+ break;
357
+ case 4:
358
+ a.finishedAt = t.int64().toBigInt();
359
+ break;
360
+ case 5:
361
+ a.parameterResults.push(m.internalBinaryRead(t, t.uint32(), r));
362
+ break;
363
+ case 6:
364
+ a.result = {
365
+ oneofKind: "success",
366
+ success: o.internalBinaryRead(t, t.uint32(), r, a.result.success)
367
+ };
368
+ break;
369
+ case 7:
370
+ a.result = {
371
+ oneofKind: "error",
372
+ error: p.internalBinaryRead(t, t.uint32(), r, a.result.error)
373
+ };
374
+ break;
375
+ default:
376
+ let s = r.readUnknownField;
377
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
378
+ let c = t.skip(i);
379
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, a, n, i, c);
380
+ }
381
+ }
382
+ return a;
383
+ }
384
+ internalBinaryWrite(t, n, r) {
385
+ t.id.oneofKind === "nodeId" && n.tag(1, a.Varint).int64(t.id.nodeId), t.id.oneofKind === "functionIdentifier" && n.tag(2, a.LengthDelimited).string(t.id.functionIdentifier), t.startedAt !== 0n && n.tag(3, a.Varint).int64(t.startedAt), t.finishedAt !== 0n && n.tag(4, a.Varint).int64(t.finishedAt);
386
+ for (let e = 0; e < t.parameterResults.length; e++) m.internalBinaryWrite(t.parameterResults[e], n.tag(5, a.LengthDelimited).fork(), r).join();
387
+ t.result.oneofKind === "success" && o.internalBinaryWrite(t.result.success, n.tag(6, a.LengthDelimited).fork(), r).join(), t.result.oneofKind === "error" && p.internalBinaryWrite(t.result.error, n.tag(7, a.LengthDelimited).fork(), r).join();
388
+ let i = r.writeUnknownFields;
389
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
390
+ }
391
+ }(), g = new class extends n {
392
+ constructor() {
393
+ super("shared.ExecutionResult", [
394
+ {
395
+ no: 1,
396
+ name: "execution_identifier",
397
+ kind: "scalar",
398
+ T: 9
399
+ },
400
+ {
401
+ no: 2,
402
+ name: "flow_id",
403
+ kind: "scalar",
404
+ T: 3,
405
+ L: 0
406
+ },
407
+ {
408
+ no: 3,
409
+ name: "started_at",
410
+ kind: "scalar",
411
+ T: 3,
412
+ L: 0
413
+ },
414
+ {
415
+ no: 4,
416
+ name: "finished_at",
417
+ kind: "scalar",
418
+ T: 3,
419
+ L: 0
420
+ },
421
+ {
422
+ no: 5,
423
+ name: "input",
424
+ kind: "message",
425
+ T: () => o
426
+ },
427
+ {
428
+ no: 6,
429
+ name: "node_execution_results",
430
+ kind: "message",
431
+ repeat: 2,
432
+ T: () => h
433
+ },
434
+ {
435
+ no: 7,
436
+ name: "success",
437
+ kind: "message",
438
+ oneof: "result",
439
+ T: () => o
440
+ },
441
+ {
442
+ no: 8,
443
+ name: "error",
444
+ kind: "message",
445
+ oneof: "result",
446
+ T: () => p
447
+ }
448
+ ]);
449
+ }
450
+ create(e) {
451
+ let t = globalThis.Object.create(this.messagePrototype);
452
+ return t.executionIdentifier = "", t.flowId = 0n, t.startedAt = 0n, t.finishedAt = 0n, t.nodeExecutionResults = [], t.result = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
453
+ }
454
+ internalBinaryRead(t, n, r, i) {
455
+ let a = i ?? this.create(), s = t.pos + n;
456
+ for (; t.pos < s;) {
457
+ let [n, i] = t.tag();
458
+ switch (n) {
459
+ case 1:
460
+ a.executionIdentifier = t.string();
461
+ break;
462
+ case 2:
463
+ a.flowId = t.int64().toBigInt();
464
+ break;
465
+ case 3:
466
+ a.startedAt = t.int64().toBigInt();
467
+ break;
468
+ case 4:
469
+ a.finishedAt = t.int64().toBigInt();
470
+ break;
471
+ case 5:
472
+ a.input = o.internalBinaryRead(t, t.uint32(), r, a.input);
473
+ break;
474
+ case 6:
475
+ a.nodeExecutionResults.push(h.internalBinaryRead(t, t.uint32(), r));
476
+ break;
477
+ case 7:
478
+ a.result = {
479
+ oneofKind: "success",
480
+ success: o.internalBinaryRead(t, t.uint32(), r, a.result.success)
481
+ };
482
+ break;
483
+ case 8:
484
+ a.result = {
485
+ oneofKind: "error",
486
+ error: p.internalBinaryRead(t, t.uint32(), r, a.result.error)
487
+ };
488
+ break;
489
+ default:
490
+ let s = r.readUnknownField;
491
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
492
+ let c = t.skip(i);
493
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, a, n, i, c);
494
+ }
495
+ }
496
+ return a;
497
+ }
498
+ internalBinaryWrite(t, n, r) {
499
+ t.executionIdentifier !== "" && n.tag(1, a.LengthDelimited).string(t.executionIdentifier), t.flowId !== 0n && n.tag(2, a.Varint).int64(t.flowId), t.startedAt !== 0n && n.tag(3, a.Varint).int64(t.startedAt), t.finishedAt !== 0n && n.tag(4, a.Varint).int64(t.finishedAt), t.input && o.internalBinaryWrite(t.input, n.tag(5, a.LengthDelimited).fork(), r).join();
500
+ for (let e = 0; e < t.nodeExecutionResults.length; e++) h.internalBinaryWrite(t.nodeExecutionResults[e], n.tag(6, a.LengthDelimited).fork(), r).join();
501
+ t.result.oneofKind === "success" && o.internalBinaryWrite(t.result.success, n.tag(7, a.LengthDelimited).fork(), r).join(), t.result.oneofKind === "error" && p.internalBinaryWrite(t.result.error, n.tag(8, a.LengthDelimited).fork(), r).join();
502
+ let i = r.writeUnknownFields;
503
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
504
+ }
505
+ }(), _ = new class extends n {
506
+ constructor() {
507
+ super("shared.RuntimeFunctionDefinition", [
508
+ {
509
+ no: 1,
510
+ name: "runtime_name",
511
+ kind: "scalar",
512
+ T: 9
513
+ },
514
+ {
515
+ no: 2,
516
+ name: "runtime_parameter_definitions",
517
+ kind: "message",
518
+ repeat: 2,
519
+ T: () => v
520
+ },
521
+ {
522
+ no: 3,
523
+ name: "signature",
524
+ kind: "scalar",
525
+ T: 9
526
+ },
527
+ {
528
+ no: 4,
529
+ name: "throws_error",
530
+ kind: "scalar",
531
+ T: 8
532
+ },
533
+ {
534
+ no: 5,
535
+ name: "name",
536
+ kind: "message",
537
+ repeat: 2,
538
+ T: () => t
539
+ },
540
+ {
541
+ no: 6,
542
+ name: "description",
543
+ kind: "message",
544
+ repeat: 2,
545
+ T: () => t
546
+ },
547
+ {
548
+ no: 7,
549
+ name: "documentation",
550
+ kind: "message",
551
+ repeat: 2,
552
+ T: () => t
553
+ },
554
+ {
555
+ no: 8,
556
+ name: "deprecation_message",
557
+ kind: "message",
558
+ repeat: 2,
559
+ T: () => t
560
+ },
561
+ {
562
+ no: 9,
563
+ name: "display_message",
564
+ kind: "message",
565
+ repeat: 2,
566
+ T: () => t
567
+ },
568
+ {
569
+ no: 10,
570
+ name: "alias",
571
+ kind: "message",
572
+ repeat: 2,
573
+ T: () => t
574
+ },
575
+ {
576
+ no: 11,
577
+ name: "linked_data_type_identifiers",
578
+ kind: "scalar",
579
+ repeat: 2,
580
+ T: 9
581
+ },
582
+ {
583
+ no: 12,
584
+ name: "version",
585
+ kind: "scalar",
586
+ T: 9
587
+ },
588
+ {
589
+ no: 13,
590
+ name: "display_icon",
591
+ kind: "scalar",
592
+ T: 9
593
+ },
594
+ {
595
+ no: 14,
596
+ name: "definition_source",
597
+ kind: "scalar",
598
+ T: 9
599
+ },
600
+ {
601
+ no: 15,
602
+ name: "design",
603
+ kind: "scalar",
604
+ opt: !0,
605
+ T: 9
606
+ }
607
+ ]);
608
+ }
609
+ create(e) {
610
+ let t = globalThis.Object.create(this.messagePrototype);
611
+ return t.runtimeName = "", t.runtimeParameterDefinitions = [], t.signature = "", t.throwsError = !1, t.name = [], t.description = [], t.documentation = [], t.deprecationMessage = [], t.displayMessage = [], t.alias = [], t.linkedDataTypeIdentifiers = [], t.version = "", t.displayIcon = "", t.definitionSource = "", e !== void 0 && i(this, t, e), t;
612
+ }
613
+ internalBinaryRead(n, r, i, a) {
614
+ let o = a ?? this.create(), s = n.pos + r;
615
+ for (; n.pos < s;) {
616
+ let [r, a] = n.tag();
617
+ switch (r) {
618
+ case 1:
619
+ o.runtimeName = n.string();
620
+ break;
621
+ case 2:
622
+ o.runtimeParameterDefinitions.push(v.internalBinaryRead(n, n.uint32(), i));
623
+ break;
624
+ case 3:
625
+ o.signature = n.string();
626
+ break;
627
+ case 4:
628
+ o.throwsError = n.bool();
629
+ break;
630
+ case 5:
631
+ o.name.push(t.internalBinaryRead(n, n.uint32(), i));
632
+ break;
633
+ case 6:
634
+ o.description.push(t.internalBinaryRead(n, n.uint32(), i));
635
+ break;
636
+ case 7:
637
+ o.documentation.push(t.internalBinaryRead(n, n.uint32(), i));
638
+ break;
639
+ case 8:
640
+ o.deprecationMessage.push(t.internalBinaryRead(n, n.uint32(), i));
641
+ break;
642
+ case 9:
643
+ o.displayMessage.push(t.internalBinaryRead(n, n.uint32(), i));
644
+ break;
645
+ case 10:
646
+ o.alias.push(t.internalBinaryRead(n, n.uint32(), i));
647
+ break;
648
+ case 11:
649
+ o.linkedDataTypeIdentifiers.push(n.string());
650
+ break;
651
+ case 12:
652
+ o.version = n.string();
653
+ break;
654
+ case 13:
655
+ o.displayIcon = n.string();
656
+ break;
657
+ case 14:
658
+ o.definitionSource = n.string();
659
+ break;
660
+ case 15:
661
+ o.design = n.string();
662
+ break;
663
+ default:
664
+ let s = i.readUnknownField;
665
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
666
+ let c = n.skip(a);
667
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, o, r, a, c);
668
+ }
669
+ }
670
+ return o;
671
+ }
672
+ internalBinaryWrite(n, r, i) {
673
+ n.runtimeName !== "" && r.tag(1, a.LengthDelimited).string(n.runtimeName);
674
+ for (let e = 0; e < n.runtimeParameterDefinitions.length; e++) v.internalBinaryWrite(n.runtimeParameterDefinitions[e], r.tag(2, a.LengthDelimited).fork(), i).join();
675
+ n.signature !== "" && r.tag(3, a.LengthDelimited).string(n.signature), n.throwsError !== !1 && r.tag(4, a.Varint).bool(n.throwsError);
676
+ for (let e = 0; e < n.name.length; e++) t.internalBinaryWrite(n.name[e], r.tag(5, a.LengthDelimited).fork(), i).join();
677
+ for (let e = 0; e < n.description.length; e++) t.internalBinaryWrite(n.description[e], r.tag(6, a.LengthDelimited).fork(), i).join();
678
+ for (let e = 0; e < n.documentation.length; e++) t.internalBinaryWrite(n.documentation[e], r.tag(7, a.LengthDelimited).fork(), i).join();
679
+ for (let e = 0; e < n.deprecationMessage.length; e++) t.internalBinaryWrite(n.deprecationMessage[e], r.tag(8, a.LengthDelimited).fork(), i).join();
680
+ for (let e = 0; e < n.displayMessage.length; e++) t.internalBinaryWrite(n.displayMessage[e], r.tag(9, a.LengthDelimited).fork(), i).join();
681
+ for (let e = 0; e < n.alias.length; e++) t.internalBinaryWrite(n.alias[e], r.tag(10, a.LengthDelimited).fork(), i).join();
682
+ for (let e = 0; e < n.linkedDataTypeIdentifiers.length; e++) r.tag(11, a.LengthDelimited).string(n.linkedDataTypeIdentifiers[e]);
683
+ n.version !== "" && r.tag(12, a.LengthDelimited).string(n.version), n.displayIcon !== "" && r.tag(13, a.LengthDelimited).string(n.displayIcon), n.definitionSource !== "" && r.tag(14, a.LengthDelimited).string(n.definitionSource), n.design !== void 0 && r.tag(15, a.LengthDelimited).string(n.design);
684
+ let o = i.writeUnknownFields;
685
+ return o !== !1 && (o == 1 ? e.onWrite : o)(this.typeName, n, r), r;
686
+ }
687
+ }(), v = new class extends n {
688
+ constructor() {
689
+ super("shared.RuntimeParameterDefinition", [
690
+ {
691
+ no: 1,
692
+ name: "runtime_name",
693
+ kind: "scalar",
694
+ T: 9
695
+ },
696
+ {
697
+ no: 2,
698
+ name: "default_value",
699
+ kind: "message",
700
+ T: () => o
701
+ },
702
+ {
703
+ no: 3,
704
+ name: "optional",
705
+ kind: "scalar",
706
+ opt: !0,
707
+ T: 8
708
+ },
709
+ {
710
+ no: 4,
711
+ name: "hidden",
712
+ kind: "scalar",
713
+ opt: !0,
714
+ T: 8
715
+ },
716
+ {
717
+ no: 5,
718
+ name: "name",
719
+ kind: "message",
720
+ repeat: 2,
721
+ T: () => t
722
+ },
723
+ {
724
+ no: 6,
725
+ name: "description",
726
+ kind: "message",
727
+ repeat: 2,
728
+ T: () => t
729
+ },
730
+ {
731
+ no: 7,
732
+ name: "documentation",
733
+ kind: "message",
734
+ repeat: 2,
735
+ T: () => t
736
+ }
737
+ ]);
738
+ }
739
+ create(e) {
740
+ let t = globalThis.Object.create(this.messagePrototype);
741
+ return t.runtimeName = "", t.name = [], t.description = [], t.documentation = [], e !== void 0 && i(this, t, e), t;
742
+ }
743
+ internalBinaryRead(n, r, i, a) {
744
+ let s = a ?? this.create(), c = n.pos + r;
745
+ for (; n.pos < c;) {
746
+ let [r, a] = n.tag();
747
+ switch (r) {
748
+ case 1:
749
+ s.runtimeName = n.string();
750
+ break;
751
+ case 2:
752
+ s.defaultValue = o.internalBinaryRead(n, n.uint32(), i, s.defaultValue);
753
+ break;
754
+ case 3:
755
+ s.optional = n.bool();
756
+ break;
757
+ case 4:
758
+ s.hidden = n.bool();
759
+ break;
760
+ case 5:
761
+ s.name.push(t.internalBinaryRead(n, n.uint32(), i));
762
+ break;
763
+ case 6:
764
+ s.description.push(t.internalBinaryRead(n, n.uint32(), i));
765
+ break;
766
+ case 7:
767
+ s.documentation.push(t.internalBinaryRead(n, n.uint32(), i));
768
+ break;
769
+ default:
770
+ let c = i.readUnknownField;
771
+ if (c === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
772
+ let l = n.skip(a);
773
+ c !== !1 && (c === !0 ? e.onRead : c)(this.typeName, s, r, a, l);
774
+ }
775
+ }
776
+ return s;
777
+ }
778
+ internalBinaryWrite(n, r, i) {
779
+ n.runtimeName !== "" && r.tag(1, a.LengthDelimited).string(n.runtimeName), n.defaultValue && o.internalBinaryWrite(n.defaultValue, r.tag(2, a.LengthDelimited).fork(), i).join(), n.optional !== void 0 && r.tag(3, a.Varint).bool(n.optional), n.hidden !== void 0 && r.tag(4, a.Varint).bool(n.hidden);
780
+ for (let e = 0; e < n.name.length; e++) t.internalBinaryWrite(n.name[e], r.tag(5, a.LengthDelimited).fork(), i).join();
781
+ for (let e = 0; e < n.description.length; e++) t.internalBinaryWrite(n.description[e], r.tag(6, a.LengthDelimited).fork(), i).join();
782
+ for (let e = 0; e < n.documentation.length; e++) t.internalBinaryWrite(n.documentation[e], r.tag(7, a.LengthDelimited).fork(), i).join();
783
+ let s = i.writeUnknownFields;
784
+ return s !== !1 && (s == 1 ? e.onWrite : s)(this.typeName, n, r), r;
785
+ }
786
+ }(), y = /* @__PURE__ */ function(e) {
787
+ return e[e.UNKNOWN = 0] = "UNKNOWN", e[e.NONE = 1] = "NONE", e[e.PROJECT = 2] = "PROJECT", e;
788
+ }({}), b = new class extends n {
789
+ constructor() {
790
+ super("shared.RuntimeFlowType", [
791
+ {
792
+ no: 1,
793
+ name: "identifier",
794
+ kind: "scalar",
795
+ T: 9
796
+ },
797
+ {
798
+ no: 2,
799
+ name: "runtime_settings",
800
+ kind: "message",
801
+ repeat: 2,
802
+ T: () => x
803
+ },
804
+ {
805
+ no: 3,
806
+ name: "editable",
807
+ kind: "scalar",
808
+ T: 8
809
+ },
810
+ {
811
+ no: 4,
812
+ name: "name",
813
+ kind: "message",
814
+ repeat: 2,
815
+ T: () => t
816
+ },
817
+ {
818
+ no: 5,
819
+ name: "description",
820
+ kind: "message",
821
+ repeat: 2,
822
+ T: () => t
823
+ },
824
+ {
825
+ no: 6,
826
+ name: "documentation",
827
+ kind: "message",
828
+ repeat: 2,
829
+ T: () => t
830
+ },
831
+ {
832
+ no: 7,
833
+ name: "display_message",
834
+ kind: "message",
835
+ repeat: 2,
836
+ T: () => t
837
+ },
838
+ {
839
+ no: 8,
840
+ name: "alias",
841
+ kind: "message",
842
+ repeat: 2,
843
+ T: () => t
844
+ },
845
+ {
846
+ no: 9,
847
+ name: "version",
848
+ kind: "scalar",
849
+ T: 9
850
+ },
851
+ {
852
+ no: 10,
853
+ name: "display_icon",
854
+ kind: "scalar",
855
+ T: 9
856
+ },
857
+ {
858
+ no: 11,
859
+ name: "definition_source",
860
+ kind: "scalar",
861
+ opt: !0,
862
+ T: 9
863
+ },
864
+ {
865
+ no: 12,
866
+ name: "linked_data_type_identifiers",
867
+ kind: "scalar",
868
+ repeat: 2,
869
+ T: 9
870
+ },
871
+ {
872
+ no: 13,
873
+ name: "signature",
874
+ kind: "scalar",
875
+ T: 9
876
+ }
877
+ ]);
878
+ }
879
+ create(e) {
880
+ let t = globalThis.Object.create(this.messagePrototype);
881
+ return t.identifier = "", t.runtimeSettings = [], t.editable = !1, t.name = [], t.description = [], t.documentation = [], t.displayMessage = [], t.alias = [], t.version = "", t.displayIcon = "", t.linkedDataTypeIdentifiers = [], t.signature = "", e !== void 0 && i(this, t, e), t;
882
+ }
883
+ internalBinaryRead(n, r, i, a) {
884
+ let o = a ?? this.create(), s = n.pos + r;
885
+ for (; n.pos < s;) {
886
+ let [r, a] = n.tag();
887
+ switch (r) {
888
+ case 1:
889
+ o.identifier = n.string();
890
+ break;
891
+ case 2:
892
+ o.runtimeSettings.push(x.internalBinaryRead(n, n.uint32(), i));
893
+ break;
894
+ case 3:
895
+ o.editable = n.bool();
896
+ break;
897
+ case 4:
898
+ o.name.push(t.internalBinaryRead(n, n.uint32(), i));
899
+ break;
900
+ case 5:
901
+ o.description.push(t.internalBinaryRead(n, n.uint32(), i));
902
+ break;
903
+ case 6:
904
+ o.documentation.push(t.internalBinaryRead(n, n.uint32(), i));
905
+ break;
906
+ case 7:
907
+ o.displayMessage.push(t.internalBinaryRead(n, n.uint32(), i));
908
+ break;
909
+ case 8:
910
+ o.alias.push(t.internalBinaryRead(n, n.uint32(), i));
911
+ break;
912
+ case 9:
913
+ o.version = n.string();
914
+ break;
915
+ case 10:
916
+ o.displayIcon = n.string();
917
+ break;
918
+ case 11:
919
+ o.definitionSource = n.string();
920
+ break;
921
+ case 12:
922
+ o.linkedDataTypeIdentifiers.push(n.string());
923
+ break;
924
+ case 13:
925
+ o.signature = n.string();
926
+ break;
927
+ default:
928
+ let s = i.readUnknownField;
929
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
930
+ let c = n.skip(a);
931
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, o, r, a, c);
932
+ }
933
+ }
934
+ return o;
935
+ }
936
+ internalBinaryWrite(n, r, i) {
937
+ n.identifier !== "" && r.tag(1, a.LengthDelimited).string(n.identifier);
938
+ for (let e = 0; e < n.runtimeSettings.length; e++) x.internalBinaryWrite(n.runtimeSettings[e], r.tag(2, a.LengthDelimited).fork(), i).join();
939
+ n.editable !== !1 && r.tag(3, a.Varint).bool(n.editable);
940
+ for (let e = 0; e < n.name.length; e++) t.internalBinaryWrite(n.name[e], r.tag(4, a.LengthDelimited).fork(), i).join();
941
+ for (let e = 0; e < n.description.length; e++) t.internalBinaryWrite(n.description[e], r.tag(5, a.LengthDelimited).fork(), i).join();
942
+ for (let e = 0; e < n.documentation.length; e++) t.internalBinaryWrite(n.documentation[e], r.tag(6, a.LengthDelimited).fork(), i).join();
943
+ for (let e = 0; e < n.displayMessage.length; e++) t.internalBinaryWrite(n.displayMessage[e], r.tag(7, a.LengthDelimited).fork(), i).join();
944
+ for (let e = 0; e < n.alias.length; e++) t.internalBinaryWrite(n.alias[e], r.tag(8, a.LengthDelimited).fork(), i).join();
945
+ n.version !== "" && r.tag(9, a.LengthDelimited).string(n.version), n.displayIcon !== "" && r.tag(10, a.LengthDelimited).string(n.displayIcon), n.definitionSource !== void 0 && r.tag(11, a.LengthDelimited).string(n.definitionSource);
946
+ for (let e = 0; e < n.linkedDataTypeIdentifiers.length; e++) r.tag(12, a.LengthDelimited).string(n.linkedDataTypeIdentifiers[e]);
947
+ n.signature !== "" && r.tag(13, a.LengthDelimited).string(n.signature);
948
+ let o = i.writeUnknownFields;
949
+ return o !== !1 && (o == 1 ? e.onWrite : o)(this.typeName, n, r), r;
950
+ }
951
+ }(), x = new class extends n {
952
+ constructor() {
953
+ super("shared.RuntimeFlowTypeSetting", [
954
+ {
955
+ no: 1,
956
+ name: "identifier",
957
+ kind: "scalar",
958
+ T: 9
959
+ },
960
+ {
961
+ no: 2,
962
+ name: "unique",
963
+ kind: "enum",
964
+ T: () => ["shared.RuntimeFlowTypeSetting.UniquenessScope", y]
965
+ },
966
+ {
967
+ no: 3,
968
+ name: "default_value",
969
+ kind: "message",
970
+ T: () => o
971
+ },
972
+ {
973
+ no: 4,
974
+ name: "name",
975
+ kind: "message",
976
+ repeat: 2,
977
+ T: () => t
978
+ },
979
+ {
980
+ no: 5,
981
+ name: "description",
982
+ kind: "message",
983
+ repeat: 2,
984
+ T: () => t
985
+ },
986
+ {
987
+ no: 6,
988
+ name: "optional",
989
+ kind: "scalar",
990
+ opt: !0,
991
+ T: 8
992
+ },
993
+ {
994
+ no: 7,
995
+ name: "hidden",
996
+ kind: "scalar",
997
+ opt: !0,
998
+ T: 8
999
+ }
1000
+ ]);
1001
+ }
1002
+ create(e) {
1003
+ let t = globalThis.Object.create(this.messagePrototype);
1004
+ return t.identifier = "", t.unique = 0, t.name = [], t.description = [], e !== void 0 && i(this, t, e), t;
1005
+ }
1006
+ internalBinaryRead(n, r, i, a) {
1007
+ let s = a ?? this.create(), c = n.pos + r;
1008
+ for (; n.pos < c;) {
1009
+ let [r, a] = n.tag();
1010
+ switch (r) {
1011
+ case 1:
1012
+ s.identifier = n.string();
1013
+ break;
1014
+ case 2:
1015
+ s.unique = n.int32();
1016
+ break;
1017
+ case 3:
1018
+ s.defaultValue = o.internalBinaryRead(n, n.uint32(), i, s.defaultValue);
1019
+ break;
1020
+ case 4:
1021
+ s.name.push(t.internalBinaryRead(n, n.uint32(), i));
1022
+ break;
1023
+ case 5:
1024
+ s.description.push(t.internalBinaryRead(n, n.uint32(), i));
1025
+ break;
1026
+ case 6:
1027
+ s.optional = n.bool();
1028
+ break;
1029
+ case 7:
1030
+ s.hidden = n.bool();
1031
+ break;
1032
+ default:
1033
+ let c = i.readUnknownField;
1034
+ if (c === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
1035
+ let l = n.skip(a);
1036
+ c !== !1 && (c === !0 ? e.onRead : c)(this.typeName, s, r, a, l);
1037
+ }
1038
+ }
1039
+ return s;
1040
+ }
1041
+ internalBinaryWrite(n, r, i) {
1042
+ n.identifier !== "" && r.tag(1, a.LengthDelimited).string(n.identifier), n.unique !== 0 && r.tag(2, a.Varint).int32(n.unique), n.defaultValue && o.internalBinaryWrite(n.defaultValue, r.tag(3, a.LengthDelimited).fork(), i).join();
1043
+ for (let e = 0; e < n.name.length; e++) t.internalBinaryWrite(n.name[e], r.tag(4, a.LengthDelimited).fork(), i).join();
1044
+ for (let e = 0; e < n.description.length; e++) t.internalBinaryWrite(n.description[e], r.tag(5, a.LengthDelimited).fork(), i).join();
1045
+ n.optional !== void 0 && r.tag(6, a.Varint).bool(n.optional), n.hidden !== void 0 && r.tag(7, a.Varint).bool(n.hidden);
1046
+ let s = i.writeUnknownFields;
1047
+ return s !== !1 && (s == 1 ? e.onWrite : s)(this.typeName, n, r), r;
1048
+ }
1049
+ }(), S = new class extends n {
1050
+ constructor() {
1051
+ super("shared.Module", [
1052
+ {
1053
+ no: 1,
1054
+ name: "identifier",
1055
+ kind: "scalar",
1056
+ T: 9
1057
+ },
1058
+ {
1059
+ no: 2,
1060
+ name: "name",
1061
+ kind: "message",
1062
+ repeat: 2,
1063
+ T: () => t
1064
+ },
1065
+ {
1066
+ no: 3,
1067
+ name: "description",
1068
+ kind: "message",
1069
+ repeat: 2,
1070
+ T: () => t
1071
+ },
1072
+ {
1073
+ no: 4,
1074
+ name: "documentation",
1075
+ kind: "scalar",
1076
+ T: 9
1077
+ },
1078
+ {
1079
+ no: 5,
1080
+ name: "author",
1081
+ kind: "scalar",
1082
+ T: 9
1083
+ },
1084
+ {
1085
+ no: 6,
1086
+ name: "icon",
1087
+ kind: "scalar",
1088
+ T: 9
1089
+ },
1090
+ {
1091
+ no: 7,
1092
+ name: "version",
1093
+ kind: "scalar",
1094
+ T: 9
1095
+ },
1096
+ {
1097
+ no: 9,
1098
+ name: "flow_types",
1099
+ kind: "message",
1100
+ repeat: 2,
1101
+ T: () => s
1102
+ },
1103
+ {
1104
+ no: 10,
1105
+ name: "runtime_flow_types",
1106
+ kind: "message",
1107
+ repeat: 2,
1108
+ T: () => b
1109
+ },
1110
+ {
1111
+ no: 11,
1112
+ name: "function_definitions",
1113
+ kind: "message",
1114
+ repeat: 2,
1115
+ T: () => c
1116
+ },
1117
+ {
1118
+ no: 12,
1119
+ name: "runtime_function_definitions",
1120
+ kind: "message",
1121
+ repeat: 2,
1122
+ T: () => _
1123
+ },
1124
+ {
1125
+ no: 13,
1126
+ name: "definition_data_types",
1127
+ kind: "message",
1128
+ repeat: 2,
1129
+ T: () => r
1130
+ },
1131
+ {
1132
+ no: 14,
1133
+ name: "configurations",
1134
+ kind: "message",
1135
+ repeat: 2,
1136
+ T: () => O
1137
+ },
1138
+ {
1139
+ no: 15,
1140
+ name: "definitions",
1141
+ kind: "message",
1142
+ repeat: 2,
1143
+ T: () => C
1144
+ },
1145
+ {
1146
+ no: 16,
1147
+ name: "definition_source",
1148
+ kind: "scalar",
1149
+ T: 9
1150
+ }
1151
+ ]);
1152
+ }
1153
+ create(e) {
1154
+ let t = globalThis.Object.create(this.messagePrototype);
1155
+ return t.identifier = "", t.name = [], t.description = [], t.documentation = "", t.author = "", t.icon = "", t.version = "", t.flowTypes = [], t.runtimeFlowTypes = [], t.functionDefinitions = [], t.runtimeFunctionDefinitions = [], t.definitionDataTypes = [], t.configurations = [], t.definitions = [], t.definitionSource = "", e !== void 0 && i(this, t, e), t;
1156
+ }
1157
+ internalBinaryRead(n, i, a, o) {
1158
+ let l = o ?? this.create(), u = n.pos + i;
1159
+ for (; n.pos < u;) {
1160
+ let [i, o] = n.tag();
1161
+ switch (i) {
1162
+ case 1:
1163
+ l.identifier = n.string();
1164
+ break;
1165
+ case 2:
1166
+ l.name.push(t.internalBinaryRead(n, n.uint32(), a));
1167
+ break;
1168
+ case 3:
1169
+ l.description.push(t.internalBinaryRead(n, n.uint32(), a));
1170
+ break;
1171
+ case 4:
1172
+ l.documentation = n.string();
1173
+ break;
1174
+ case 5:
1175
+ l.author = n.string();
1176
+ break;
1177
+ case 6:
1178
+ l.icon = n.string();
1179
+ break;
1180
+ case 7:
1181
+ l.version = n.string();
1182
+ break;
1183
+ case 9:
1184
+ l.flowTypes.push(s.internalBinaryRead(n, n.uint32(), a));
1185
+ break;
1186
+ case 10:
1187
+ l.runtimeFlowTypes.push(b.internalBinaryRead(n, n.uint32(), a));
1188
+ break;
1189
+ case 11:
1190
+ l.functionDefinitions.push(c.internalBinaryRead(n, n.uint32(), a));
1191
+ break;
1192
+ case 12:
1193
+ l.runtimeFunctionDefinitions.push(_.internalBinaryRead(n, n.uint32(), a));
1194
+ break;
1195
+ case 13:
1196
+ l.definitionDataTypes.push(r.internalBinaryRead(n, n.uint32(), a));
1197
+ break;
1198
+ case 14:
1199
+ l.configurations.push(O.internalBinaryRead(n, n.uint32(), a));
1200
+ break;
1201
+ case 15:
1202
+ l.definitions.push(C.internalBinaryRead(n, n.uint32(), a));
1203
+ break;
1204
+ case 16:
1205
+ l.definitionSource = n.string();
1206
+ break;
1207
+ default:
1208
+ let u = a.readUnknownField;
1209
+ if (u === "throw") throw new globalThis.Error(`Unknown field ${i} (wire type ${o}) for ${this.typeName}`);
1210
+ let d = n.skip(o);
1211
+ u !== !1 && (u === !0 ? e.onRead : u)(this.typeName, l, i, o, d);
1212
+ }
1213
+ }
1214
+ return l;
1215
+ }
1216
+ internalBinaryWrite(n, i, o) {
1217
+ n.identifier !== "" && i.tag(1, a.LengthDelimited).string(n.identifier);
1218
+ for (let e = 0; e < n.name.length; e++) t.internalBinaryWrite(n.name[e], i.tag(2, a.LengthDelimited).fork(), o).join();
1219
+ for (let e = 0; e < n.description.length; e++) t.internalBinaryWrite(n.description[e], i.tag(3, a.LengthDelimited).fork(), o).join();
1220
+ n.documentation !== "" && i.tag(4, a.LengthDelimited).string(n.documentation), n.author !== "" && i.tag(5, a.LengthDelimited).string(n.author), n.icon !== "" && i.tag(6, a.LengthDelimited).string(n.icon), n.version !== "" && i.tag(7, a.LengthDelimited).string(n.version);
1221
+ for (let e = 0; e < n.flowTypes.length; e++) s.internalBinaryWrite(n.flowTypes[e], i.tag(9, a.LengthDelimited).fork(), o).join();
1222
+ for (let e = 0; e < n.runtimeFlowTypes.length; e++) b.internalBinaryWrite(n.runtimeFlowTypes[e], i.tag(10, a.LengthDelimited).fork(), o).join();
1223
+ for (let e = 0; e < n.functionDefinitions.length; e++) c.internalBinaryWrite(n.functionDefinitions[e], i.tag(11, a.LengthDelimited).fork(), o).join();
1224
+ for (let e = 0; e < n.runtimeFunctionDefinitions.length; e++) _.internalBinaryWrite(n.runtimeFunctionDefinitions[e], i.tag(12, a.LengthDelimited).fork(), o).join();
1225
+ for (let e = 0; e < n.definitionDataTypes.length; e++) r.internalBinaryWrite(n.definitionDataTypes[e], i.tag(13, a.LengthDelimited).fork(), o).join();
1226
+ for (let e = 0; e < n.configurations.length; e++) O.internalBinaryWrite(n.configurations[e], i.tag(14, a.LengthDelimited).fork(), o).join();
1227
+ for (let e = 0; e < n.definitions.length; e++) C.internalBinaryWrite(n.definitions[e], i.tag(15, a.LengthDelimited).fork(), o).join();
1228
+ n.definitionSource !== "" && i.tag(16, a.LengthDelimited).string(n.definitionSource);
1229
+ let l = o.writeUnknownFields;
1230
+ return l !== !1 && (l == 1 ? e.onWrite : l)(this.typeName, n, i), i;
1231
+ }
1232
+ }(), C = new class extends n {
1233
+ constructor() {
1234
+ super("shared.ModuleDefinition", [{
1235
+ no: 1,
1236
+ name: "flow_type_identifier",
1237
+ kind: "scalar",
1238
+ repeat: 2,
1239
+ T: 9
1240
+ }, {
1241
+ no: 2,
1242
+ name: "endpoint",
1243
+ kind: "message",
1244
+ oneof: "value",
1245
+ T: () => w
1246
+ }]);
1247
+ }
1248
+ create(e) {
1249
+ let t = globalThis.Object.create(this.messagePrototype);
1250
+ return t.flowTypeIdentifier = [], t.value = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
1251
+ }
1252
+ internalBinaryRead(t, n, r, i) {
1253
+ let a = i ?? this.create(), o = t.pos + n;
1254
+ for (; t.pos < o;) {
1255
+ let [n, i] = t.tag();
1256
+ switch (n) {
1257
+ case 1:
1258
+ a.flowTypeIdentifier.push(t.string());
1259
+ break;
1260
+ case 2:
1261
+ a.value = {
1262
+ oneofKind: "endpoint",
1263
+ endpoint: w.internalBinaryRead(t, t.uint32(), r, a.value.endpoint)
1264
+ };
1265
+ break;
1266
+ default:
1267
+ let o = r.readUnknownField;
1268
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1269
+ let s = t.skip(i);
1270
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
1271
+ }
1272
+ }
1273
+ return a;
1274
+ }
1275
+ internalBinaryWrite(t, n, r) {
1276
+ for (let e = 0; e < t.flowTypeIdentifier.length; e++) n.tag(1, a.LengthDelimited).string(t.flowTypeIdentifier[e]);
1277
+ t.value.oneofKind === "endpoint" && w.internalBinaryWrite(t.value.endpoint, n.tag(2, a.LengthDelimited).fork(), r).join();
1278
+ let i = r.writeUnknownFields;
1279
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
1280
+ }
1281
+ }(), w = new class extends n {
1282
+ constructor() {
1283
+ super("shared.Endpoint", [
1284
+ {
1285
+ no: 1,
1286
+ name: "host",
1287
+ kind: "scalar",
1288
+ T: 9
1289
+ },
1290
+ {
1291
+ no: 2,
1292
+ name: "port",
1293
+ kind: "scalar",
1294
+ T: 3,
1295
+ L: 0
1296
+ },
1297
+ {
1298
+ no: 3,
1299
+ name: "endpoint",
1300
+ kind: "scalar",
1301
+ T: 9
1302
+ },
1303
+ {
1304
+ no: 4,
1305
+ name: "protocol",
1306
+ kind: "scalar",
1307
+ T: 9
1308
+ }
1309
+ ]);
1310
+ }
1311
+ create(e) {
1312
+ let t = globalThis.Object.create(this.messagePrototype);
1313
+ return t.host = "", t.port = 0n, t.endpoint = "", t.protocol = "", e !== void 0 && i(this, t, e), t;
1314
+ }
1315
+ internalBinaryRead(t, n, r, i) {
1316
+ let a = i ?? this.create(), o = t.pos + n;
1317
+ for (; t.pos < o;) {
1318
+ let [n, i] = t.tag();
1319
+ switch (n) {
1320
+ case 1:
1321
+ a.host = t.string();
1322
+ break;
1323
+ case 2:
1324
+ a.port = t.int64().toBigInt();
1325
+ break;
1326
+ case 3:
1327
+ a.endpoint = t.string();
1328
+ break;
1329
+ case 4:
1330
+ a.protocol = t.string();
1331
+ break;
1332
+ default:
1333
+ let o = r.readUnknownField;
1334
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1335
+ let s = t.skip(i);
1336
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
1337
+ }
1338
+ }
1339
+ return a;
1340
+ }
1341
+ internalBinaryWrite(t, n, r) {
1342
+ t.host !== "" && n.tag(1, a.LengthDelimited).string(t.host), t.port !== 0n && n.tag(2, a.Varint).int64(t.port), t.endpoint !== "" && n.tag(3, a.LengthDelimited).string(t.endpoint), t.protocol !== "" && n.tag(4, a.LengthDelimited).string(t.protocol);
1343
+ let i = r.writeUnknownFields;
1344
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
1345
+ }
1346
+ }(), T = new class extends n {
1347
+ constructor() {
1348
+ super("shared.ModuleConfiguration", [{
1349
+ no: 1,
1350
+ name: "identifier",
1351
+ kind: "scalar",
1352
+ T: 9
1353
+ }, {
1354
+ no: 2,
1355
+ name: "value",
1356
+ kind: "message",
1357
+ T: () => o
1358
+ }]);
1359
+ }
1360
+ create(e) {
1361
+ let t = globalThis.Object.create(this.messagePrototype);
1362
+ return t.identifier = "", e !== void 0 && i(this, t, e), t;
1363
+ }
1364
+ internalBinaryRead(t, n, r, i) {
1365
+ let a = i ?? this.create(), s = t.pos + n;
1366
+ for (; t.pos < s;) {
1367
+ let [n, i] = t.tag();
1368
+ switch (n) {
1369
+ case 1:
1370
+ a.identifier = t.string();
1371
+ break;
1372
+ case 2:
1373
+ a.value = o.internalBinaryRead(t, t.uint32(), r, a.value);
1374
+ break;
1375
+ default:
1376
+ let s = r.readUnknownField;
1377
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1378
+ let c = t.skip(i);
1379
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, a, n, i, c);
1380
+ }
1381
+ }
1382
+ return a;
1383
+ }
1384
+ internalBinaryWrite(t, n, r) {
1385
+ t.identifier !== "" && n.tag(1, a.LengthDelimited).string(t.identifier), t.value && o.internalBinaryWrite(t.value, n.tag(2, a.LengthDelimited).fork(), r).join();
1386
+ let i = r.writeUnknownFields;
1387
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
1388
+ }
1389
+ }(), E = new class extends n {
1390
+ constructor() {
1391
+ super("shared.ModuleProjectConfigurations", [{
1392
+ no: 1,
1393
+ name: "project_id",
1394
+ kind: "scalar",
1395
+ T: 3,
1396
+ L: 0
1397
+ }, {
1398
+ no: 2,
1399
+ name: "module_configurations",
1400
+ kind: "message",
1401
+ repeat: 2,
1402
+ T: () => T
1403
+ }]);
1404
+ }
1405
+ create(e) {
1406
+ let t = globalThis.Object.create(this.messagePrototype);
1407
+ return t.projectId = 0n, t.moduleConfigurations = [], e !== void 0 && i(this, t, e), t;
1408
+ }
1409
+ internalBinaryRead(t, n, r, i) {
1410
+ let a = i ?? this.create(), o = t.pos + n;
1411
+ for (; t.pos < o;) {
1412
+ let [n, i] = t.tag();
1413
+ switch (n) {
1414
+ case 1:
1415
+ a.projectId = t.int64().toBigInt();
1416
+ break;
1417
+ case 2:
1418
+ a.moduleConfigurations.push(T.internalBinaryRead(t, t.uint32(), r));
1419
+ break;
1420
+ default:
1421
+ let o = r.readUnknownField;
1422
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1423
+ let s = t.skip(i);
1424
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
1425
+ }
1426
+ }
1427
+ return a;
1428
+ }
1429
+ internalBinaryWrite(t, n, r) {
1430
+ t.projectId !== 0n && n.tag(1, a.Varint).int64(t.projectId);
1431
+ for (let e = 0; e < t.moduleConfigurations.length; e++) T.internalBinaryWrite(t.moduleConfigurations[e], n.tag(2, a.LengthDelimited).fork(), r).join();
1432
+ let i = r.writeUnknownFields;
1433
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
1434
+ }
1435
+ }(), D = new class extends n {
1436
+ constructor() {
1437
+ super("shared.ModuleConfigurations", [{
1438
+ no: 1,
1439
+ name: "module_identifier",
1440
+ kind: "scalar",
1441
+ T: 9
1442
+ }, {
1443
+ no: 2,
1444
+ name: "module_configurations",
1445
+ kind: "message",
1446
+ repeat: 2,
1447
+ T: () => E
1448
+ }]);
1449
+ }
1450
+ create(e) {
1451
+ let t = globalThis.Object.create(this.messagePrototype);
1452
+ return t.moduleIdentifier = "", t.moduleConfigurations = [], e !== void 0 && i(this, t, e), t;
1453
+ }
1454
+ internalBinaryRead(t, n, r, i) {
1455
+ let a = i ?? this.create(), o = t.pos + n;
1456
+ for (; t.pos < o;) {
1457
+ let [n, i] = t.tag();
1458
+ switch (n) {
1459
+ case 1:
1460
+ a.moduleIdentifier = t.string();
1461
+ break;
1462
+ case 2:
1463
+ a.moduleConfigurations.push(E.internalBinaryRead(t, t.uint32(), r));
1464
+ break;
1465
+ default:
1466
+ let o = r.readUnknownField;
1467
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1468
+ let s = t.skip(i);
1469
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
1470
+ }
1471
+ }
1472
+ return a;
1473
+ }
1474
+ internalBinaryWrite(t, n, r) {
1475
+ t.moduleIdentifier !== "" && n.tag(1, a.LengthDelimited).string(t.moduleIdentifier);
1476
+ for (let e = 0; e < t.moduleConfigurations.length; e++) E.internalBinaryWrite(t.moduleConfigurations[e], n.tag(2, a.LengthDelimited).fork(), r).join();
1477
+ let i = r.writeUnknownFields;
1478
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
1479
+ }
1480
+ }(), O = new class extends n {
1481
+ constructor() {
1482
+ super("shared.ModuleConfigurationDefinition", [
1483
+ {
1484
+ no: 1,
1485
+ name: "identifier",
1486
+ kind: "scalar",
1487
+ T: 9
1488
+ },
1489
+ {
1490
+ no: 2,
1491
+ name: "name",
1492
+ kind: "message",
1493
+ repeat: 2,
1494
+ T: () => t
1495
+ },
1496
+ {
1497
+ no: 3,
1498
+ name: "description",
1499
+ kind: "message",
1500
+ repeat: 2,
1501
+ T: () => t
1502
+ },
1503
+ {
1504
+ no: 4,
1505
+ name: "type",
1506
+ kind: "scalar",
1507
+ T: 9
1508
+ },
1509
+ {
1510
+ no: 5,
1511
+ name: "linked_data_type_identifiers",
1512
+ kind: "scalar",
1513
+ repeat: 2,
1514
+ T: 9
1515
+ },
1516
+ {
1517
+ no: 6,
1518
+ name: "default_value",
1519
+ kind: "message",
1520
+ T: () => o
1521
+ },
1522
+ {
1523
+ no: 7,
1524
+ name: "optional",
1525
+ kind: "scalar",
1526
+ opt: !0,
1527
+ T: 8
1528
+ },
1529
+ {
1530
+ no: 8,
1531
+ name: "hidden",
1532
+ kind: "scalar",
1533
+ opt: !0,
1534
+ T: 8
1535
+ }
1536
+ ]);
1537
+ }
1538
+ create(e) {
1539
+ let t = globalThis.Object.create(this.messagePrototype);
1540
+ return t.identifier = "", t.name = [], t.description = [], t.type = "", t.linkedDataTypeIdentifiers = [], e !== void 0 && i(this, t, e), t;
1541
+ }
1542
+ internalBinaryRead(n, r, i, a) {
1543
+ let s = a ?? this.create(), c = n.pos + r;
1544
+ for (; n.pos < c;) {
1545
+ let [r, a] = n.tag();
1546
+ switch (r) {
1547
+ case 1:
1548
+ s.identifier = n.string();
1549
+ break;
1550
+ case 2:
1551
+ s.name.push(t.internalBinaryRead(n, n.uint32(), i));
1552
+ break;
1553
+ case 3:
1554
+ s.description.push(t.internalBinaryRead(n, n.uint32(), i));
1555
+ break;
1556
+ case 4:
1557
+ s.type = n.string();
1558
+ break;
1559
+ case 5:
1560
+ s.linkedDataTypeIdentifiers.push(n.string());
1561
+ break;
1562
+ case 6:
1563
+ s.defaultValue = o.internalBinaryRead(n, n.uint32(), i, s.defaultValue);
1564
+ break;
1565
+ case 7:
1566
+ s.optional = n.bool();
1567
+ break;
1568
+ case 8:
1569
+ s.hidden = n.bool();
1570
+ break;
1571
+ default:
1572
+ let c = i.readUnknownField;
1573
+ if (c === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
1574
+ let l = n.skip(a);
1575
+ c !== !1 && (c === !0 ? e.onRead : c)(this.typeName, s, r, a, l);
1576
+ }
1577
+ }
1578
+ return s;
1579
+ }
1580
+ internalBinaryWrite(n, r, i) {
1581
+ n.identifier !== "" && r.tag(1, a.LengthDelimited).string(n.identifier);
1582
+ for (let e = 0; e < n.name.length; e++) t.internalBinaryWrite(n.name[e], r.tag(2, a.LengthDelimited).fork(), i).join();
1583
+ for (let e = 0; e < n.description.length; e++) t.internalBinaryWrite(n.description[e], r.tag(3, a.LengthDelimited).fork(), i).join();
1584
+ n.type !== "" && r.tag(4, a.LengthDelimited).string(n.type);
1585
+ for (let e = 0; e < n.linkedDataTypeIdentifiers.length; e++) r.tag(5, a.LengthDelimited).string(n.linkedDataTypeIdentifiers[e]);
1586
+ n.defaultValue && o.internalBinaryWrite(n.defaultValue, r.tag(6, a.LengthDelimited).fork(), i).join(), n.optional !== void 0 && r.tag(7, a.Varint).bool(n.optional), n.hidden !== void 0 && r.tag(8, a.Varint).bool(n.hidden);
1587
+ let s = i.writeUnknownFields;
1588
+ return s !== !1 && (s == 1 ? e.onWrite : s)(this.typeName, n, r), r;
1589
+ }
1590
+ }(), k = /* @__PURE__ */ function(e) {
1591
+ return e[e.UNKNOWN = 0] = "UNKNOWN", e[e.NOT_RESPONDING = 1] = "NOT_RESPONDING", e[e.NOT_READY = 2] = "NOT_READY", e[e.RUNNING = 3] = "RUNNING", e[e.STOPPED = 4] = "STOPPED", e;
1592
+ }({}), A = new class extends n {
1593
+ constructor() {
1594
+ super("shared.ModuleStatus", [
1595
+ {
1596
+ no: 1,
1597
+ name: "identifier",
1598
+ kind: "scalar",
1599
+ T: 9
1600
+ },
1601
+ {
1602
+ no: 2,
1603
+ name: "timestamp",
1604
+ kind: "scalar",
1605
+ T: 3,
1606
+ L: 0
1607
+ },
1608
+ {
1609
+ no: 3,
1610
+ name: "status",
1611
+ kind: "enum",
1612
+ T: () => ["shared.ModuleStatus.StatusVariant", k]
1613
+ }
1614
+ ]);
1615
+ }
1616
+ create(e) {
1617
+ let t = globalThis.Object.create(this.messagePrototype);
1618
+ return t.identifier = "", t.timestamp = 0n, t.status = 0, e !== void 0 && i(this, t, e), t;
1619
+ }
1620
+ internalBinaryRead(t, n, r, i) {
1621
+ let a = i ?? this.create(), o = t.pos + n;
1622
+ for (; t.pos < o;) {
1623
+ let [n, i] = t.tag();
1624
+ switch (n) {
1625
+ case 1:
1626
+ a.identifier = t.string();
1627
+ break;
1628
+ case 2:
1629
+ a.timestamp = t.int64().toBigInt();
1630
+ break;
1631
+ case 3:
1632
+ a.status = t.int32();
1633
+ break;
1634
+ default:
1635
+ let o = r.readUnknownField;
1636
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1637
+ let s = t.skip(i);
1638
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
1639
+ }
1640
+ }
1641
+ return a;
1642
+ }
1643
+ internalBinaryWrite(t, n, r) {
1644
+ t.identifier !== "" && n.tag(1, a.LengthDelimited).string(t.identifier), t.timestamp !== 0n && n.tag(2, a.Varint).int64(t.timestamp), t.status !== 0 && n.tag(3, a.Varint).int32(t.status);
1645
+ let i = r.writeUnknownFields;
1646
+ return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
1647
+ }
1648
+ }();
1649
+ //#endregion
1650
+ export { m as _, T as a, u as b, C as c, x as d, y as f, h as g, g as h, S as i, E as l, v as m, k as n, O as o, _ as p, w as r, D as s, A as t, b as u, p as v, d as x, f as y };