@code0-tech/tucana 0.0.73 → 0.0.75

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.
@@ -282,39 +282,47 @@ var u = new class extends c {
282
282
  no: 1,
283
283
  name: "node_id",
284
284
  kind: "scalar",
285
+ oneof: "id",
285
286
  T: 3,
286
287
  L: 0
287
288
  },
288
289
  {
289
290
  no: 2,
291
+ name: "function_identifier",
292
+ kind: "scalar",
293
+ oneof: "id",
294
+ T: 9
295
+ },
296
+ {
297
+ no: 3,
290
298
  name: "started_at",
291
299
  kind: "scalar",
292
300
  T: 3,
293
301
  L: 0
294
302
  },
295
303
  {
296
- no: 3,
304
+ no: 4,
297
305
  name: "finished_at",
298
306
  kind: "scalar",
299
307
  T: 3,
300
308
  L: 0
301
309
  },
302
310
  {
303
- no: 4,
311
+ no: 5,
304
312
  name: "parameter_results",
305
313
  kind: "message",
306
314
  repeat: 2,
307
315
  T: () => m
308
316
  },
309
317
  {
310
- no: 5,
318
+ no: 6,
311
319
  name: "success",
312
320
  kind: "message",
313
321
  oneof: "result",
314
322
  T: () => s
315
323
  },
316
324
  {
317
- no: 6,
325
+ no: 7,
318
326
  name: "error",
319
327
  kind: "message",
320
328
  oneof: "result",
@@ -324,7 +332,7 @@ var u = new class extends c {
324
332
  }
325
333
  create(e) {
326
334
  let t = globalThis.Object.create(this.messagePrototype);
327
- return t.nodeId = 0n, t.startedAt = 0n, t.finishedAt = 0n, t.parameterResults = [], t.result = { oneofKind: void 0 }, e !== void 0 && l(this, t, e), t;
335
+ return t.id = { oneofKind: void 0 }, t.startedAt = 0n, t.finishedAt = 0n, t.parameterResults = [], t.result = { oneofKind: void 0 }, e !== void 0 && l(this, t, e), t;
328
336
  }
329
337
  internalBinaryRead(e, n, r, i) {
330
338
  let a = i ?? this.create(), o = e.pos + n;
@@ -332,24 +340,33 @@ var u = new class extends c {
332
340
  let [n, i] = e.tag();
333
341
  switch (n) {
334
342
  case 1:
335
- a.nodeId = e.int64().toBigInt();
343
+ a.id = {
344
+ oneofKind: "nodeId",
345
+ nodeId: e.int64().toBigInt()
346
+ };
336
347
  break;
337
348
  case 2:
338
- a.startedAt = e.int64().toBigInt();
349
+ a.id = {
350
+ oneofKind: "functionIdentifier",
351
+ functionIdentifier: e.string()
352
+ };
339
353
  break;
340
354
  case 3:
341
- a.finishedAt = e.int64().toBigInt();
355
+ a.startedAt = e.int64().toBigInt();
342
356
  break;
343
357
  case 4:
344
- a.parameterResults.push(m.internalBinaryRead(e, e.uint32(), r));
358
+ a.finishedAt = e.int64().toBigInt();
345
359
  break;
346
360
  case 5:
361
+ a.parameterResults.push(m.internalBinaryRead(e, e.uint32(), r));
362
+ break;
363
+ case 6:
347
364
  a.result = {
348
365
  oneofKind: "success",
349
366
  success: s.internalBinaryRead(e, e.uint32(), r, a.result.success)
350
367
  };
351
368
  break;
352
- case 6:
369
+ case 7:
353
370
  a.result = {
354
371
  oneofKind: "error",
355
372
  error: p.internalBinaryRead(e, e.uint32(), r, a.result.error)
@@ -365,9 +382,9 @@ var u = new class extends c {
365
382
  return a;
366
383
  }
367
384
  internalBinaryWrite(n, r, i) {
368
- n.nodeId !== 0n && r.tag(1, e.Varint).int64(n.nodeId), n.startedAt !== 0n && r.tag(2, e.Varint).int64(n.startedAt), n.finishedAt !== 0n && r.tag(3, e.Varint).int64(n.finishedAt);
369
- for (let t = 0; t < n.parameterResults.length; t++) m.internalBinaryWrite(n.parameterResults[t], r.tag(4, e.LengthDelimited).fork(), i).join();
370
- n.result.oneofKind === "success" && s.internalBinaryWrite(n.result.success, r.tag(5, e.LengthDelimited).fork(), i).join(), n.result.oneofKind === "error" && p.internalBinaryWrite(n.result.error, r.tag(6, e.LengthDelimited).fork(), i).join();
385
+ n.id.oneofKind === "nodeId" && r.tag(1, e.Varint).int64(n.id.nodeId), n.id.oneofKind === "functionIdentifier" && r.tag(2, e.LengthDelimited).string(n.id.functionIdentifier), n.startedAt !== 0n && r.tag(3, e.Varint).int64(n.startedAt), n.finishedAt !== 0n && r.tag(4, e.Varint).int64(n.finishedAt);
386
+ for (let t = 0; t < n.parameterResults.length; t++) m.internalBinaryWrite(n.parameterResults[t], r.tag(5, e.LengthDelimited).fork(), i).join();
387
+ n.result.oneofKind === "success" && s.internalBinaryWrite(n.result.success, r.tag(6, e.LengthDelimited).fork(), i).join(), n.result.oneofKind === "error" && p.internalBinaryWrite(n.result.error, r.tag(7, e.LengthDelimited).fork(), i).join();
371
388
  let a = i.writeUnknownFields;
372
389
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
373
390
  }
@@ -1116,13 +1133,20 @@ var u = new class extends c {
1116
1133
  name: "configurations",
1117
1134
  kind: "message",
1118
1135
  repeat: 2,
1119
- T: () => E
1136
+ T: () => O
1137
+ },
1138
+ {
1139
+ no: 15,
1140
+ name: "definitions",
1141
+ kind: "message",
1142
+ repeat: 2,
1143
+ T: () => C
1120
1144
  }
1121
1145
  ]);
1122
1146
  }
1123
1147
  create(e) {
1124
1148
  let t = globalThis.Object.create(this.messagePrototype);
1125
- 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 = [], e !== void 0 && l(this, t, e), t;
1149
+ 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 = [], e !== void 0 && l(this, t, e), t;
1126
1150
  }
1127
1151
  internalBinaryRead(e, r, s, c) {
1128
1152
  let l = c ?? this.create(), u = e.pos + r;
@@ -1166,7 +1190,10 @@ var u = new class extends c {
1166
1190
  l.definitionDataTypes.push(i.internalBinaryRead(e, e.uint32(), s));
1167
1191
  break;
1168
1192
  case 14:
1169
- l.configurations.push(E.internalBinaryRead(e, e.uint32(), s));
1193
+ l.configurations.push(O.internalBinaryRead(e, e.uint32(), s));
1194
+ break;
1195
+ case 15:
1196
+ l.definitions.push(C.internalBinaryRead(e, e.uint32(), s));
1170
1197
  break;
1171
1198
  default:
1172
1199
  let u = s.readUnknownField;
@@ -1187,11 +1214,117 @@ var u = new class extends c {
1187
1214
  for (let t = 0; t < r.functionDefinitions.length; t++) o.internalBinaryWrite(r.functionDefinitions[t], s.tag(11, e.LengthDelimited).fork(), c).join();
1188
1215
  for (let t = 0; t < r.runtimeFunctionDefinitions.length; t++) _.internalBinaryWrite(r.runtimeFunctionDefinitions[t], s.tag(12, e.LengthDelimited).fork(), c).join();
1189
1216
  for (let t = 0; t < r.definitionDataTypes.length; t++) i.internalBinaryWrite(r.definitionDataTypes[t], s.tag(13, e.LengthDelimited).fork(), c).join();
1190
- for (let t = 0; t < r.configurations.length; t++) E.internalBinaryWrite(r.configurations[t], s.tag(14, e.LengthDelimited).fork(), c).join();
1217
+ for (let t = 0; t < r.configurations.length; t++) O.internalBinaryWrite(r.configurations[t], s.tag(14, e.LengthDelimited).fork(), c).join();
1218
+ for (let t = 0; t < r.definitions.length; t++) C.internalBinaryWrite(r.definitions[t], s.tag(15, e.LengthDelimited).fork(), c).join();
1191
1219
  let l = c.writeUnknownFields;
1192
1220
  return l !== !1 && (l == 1 ? t.onWrite : l)(this.typeName, r, s), s;
1193
1221
  }
1194
1222
  }(), C = new class extends c {
1223
+ constructor() {
1224
+ super("shared.ModuleDefinition", [{
1225
+ no: 1,
1226
+ name: "flow_type_identifier",
1227
+ kind: "scalar",
1228
+ repeat: 2,
1229
+ T: 9
1230
+ }, {
1231
+ no: 2,
1232
+ name: "endpoint",
1233
+ kind: "message",
1234
+ oneof: "value",
1235
+ T: () => w
1236
+ }]);
1237
+ }
1238
+ create(e) {
1239
+ let t = globalThis.Object.create(this.messagePrototype);
1240
+ return t.flowTypeIdentifier = [], t.value = { oneofKind: void 0 }, e !== void 0 && l(this, t, e), t;
1241
+ }
1242
+ internalBinaryRead(e, n, r, i) {
1243
+ let a = i ?? this.create(), o = e.pos + n;
1244
+ for (; e.pos < o;) {
1245
+ let [n, i] = e.tag();
1246
+ switch (n) {
1247
+ case 1:
1248
+ a.flowTypeIdentifier.push(e.string());
1249
+ break;
1250
+ case 2:
1251
+ a.value = {
1252
+ oneofKind: "endpoint",
1253
+ endpoint: w.internalBinaryRead(e, e.uint32(), r, a.value.endpoint)
1254
+ };
1255
+ break;
1256
+ default:
1257
+ let o = r.readUnknownField;
1258
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1259
+ let s = e.skip(i);
1260
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1261
+ }
1262
+ }
1263
+ return a;
1264
+ }
1265
+ internalBinaryWrite(n, r, i) {
1266
+ for (let t = 0; t < n.flowTypeIdentifier.length; t++) r.tag(1, e.LengthDelimited).string(n.flowTypeIdentifier[t]);
1267
+ n.value.oneofKind === "endpoint" && w.internalBinaryWrite(n.value.endpoint, r.tag(2, e.LengthDelimited).fork(), i).join();
1268
+ let a = i.writeUnknownFields;
1269
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1270
+ }
1271
+ }(), w = new class extends c {
1272
+ constructor() {
1273
+ super("shared.Endpoint", [
1274
+ {
1275
+ no: 1,
1276
+ name: "host",
1277
+ kind: "scalar",
1278
+ T: 9
1279
+ },
1280
+ {
1281
+ no: 2,
1282
+ name: "port",
1283
+ kind: "scalar",
1284
+ T: 3,
1285
+ L: 0
1286
+ },
1287
+ {
1288
+ no: 3,
1289
+ name: "endpoint",
1290
+ kind: "scalar",
1291
+ T: 9
1292
+ }
1293
+ ]);
1294
+ }
1295
+ create(e) {
1296
+ let t = globalThis.Object.create(this.messagePrototype);
1297
+ return t.host = "", t.port = 0n, t.endpoint = "", e !== void 0 && l(this, t, e), t;
1298
+ }
1299
+ internalBinaryRead(e, n, r, i) {
1300
+ let a = i ?? this.create(), o = e.pos + n;
1301
+ for (; e.pos < o;) {
1302
+ let [n, i] = e.tag();
1303
+ switch (n) {
1304
+ case 1:
1305
+ a.host = e.string();
1306
+ break;
1307
+ case 2:
1308
+ a.port = e.int64().toBigInt();
1309
+ break;
1310
+ case 3:
1311
+ a.endpoint = e.string();
1312
+ break;
1313
+ default:
1314
+ let o = r.readUnknownField;
1315
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1316
+ let s = e.skip(i);
1317
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1318
+ }
1319
+ }
1320
+ return a;
1321
+ }
1322
+ internalBinaryWrite(n, r, i) {
1323
+ n.host !== "" && r.tag(1, e.LengthDelimited).string(n.host), n.port !== 0n && r.tag(2, e.Varint).int64(n.port), n.endpoint !== "" && r.tag(3, e.LengthDelimited).string(n.endpoint);
1324
+ let a = i.writeUnknownFields;
1325
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1326
+ }
1327
+ }(), T = new class extends c {
1195
1328
  constructor() {
1196
1329
  super("shared.ModuleConfiguration", [{
1197
1330
  no: 1,
@@ -1234,7 +1367,7 @@ var u = new class extends c {
1234
1367
  let a = i.writeUnknownFields;
1235
1368
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1236
1369
  }
1237
- }(), w = new class extends c {
1370
+ }(), E = new class extends c {
1238
1371
  constructor() {
1239
1372
  super("shared.ModuleProjectConfigurations", [{
1240
1373
  no: 1,
@@ -1247,7 +1380,7 @@ var u = new class extends c {
1247
1380
  name: "module_configurations",
1248
1381
  kind: "message",
1249
1382
  repeat: 2,
1250
- T: () => C
1383
+ T: () => T
1251
1384
  }]);
1252
1385
  }
1253
1386
  create(e) {
@@ -1263,7 +1396,7 @@ var u = new class extends c {
1263
1396
  a.projectId = e.int64().toBigInt();
1264
1397
  break;
1265
1398
  case 2:
1266
- a.moduleConfigurations.push(C.internalBinaryRead(e, e.uint32(), r));
1399
+ a.moduleConfigurations.push(T.internalBinaryRead(e, e.uint32(), r));
1267
1400
  break;
1268
1401
  default:
1269
1402
  let o = r.readUnknownField;
@@ -1276,11 +1409,11 @@ var u = new class extends c {
1276
1409
  }
1277
1410
  internalBinaryWrite(n, r, i) {
1278
1411
  n.projectId !== 0n && r.tag(1, e.Varint).int64(n.projectId);
1279
- for (let t = 0; t < n.moduleConfigurations.length; t++) C.internalBinaryWrite(n.moduleConfigurations[t], r.tag(2, e.LengthDelimited).fork(), i).join();
1412
+ for (let t = 0; t < n.moduleConfigurations.length; t++) T.internalBinaryWrite(n.moduleConfigurations[t], r.tag(2, e.LengthDelimited).fork(), i).join();
1280
1413
  let a = i.writeUnknownFields;
1281
1414
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1282
1415
  }
1283
- }(), T = new class extends c {
1416
+ }(), D = new class extends c {
1284
1417
  constructor() {
1285
1418
  super("shared.ModuleConfigurations", [{
1286
1419
  no: 1,
@@ -1292,7 +1425,7 @@ var u = new class extends c {
1292
1425
  name: "module_configurations",
1293
1426
  kind: "message",
1294
1427
  repeat: 2,
1295
- T: () => w
1428
+ T: () => E
1296
1429
  }]);
1297
1430
  }
1298
1431
  create(e) {
@@ -1308,7 +1441,7 @@ var u = new class extends c {
1308
1441
  a.moduleIdentifier = e.string();
1309
1442
  break;
1310
1443
  case 2:
1311
- a.moduleConfigurations.push(w.internalBinaryRead(e, e.uint32(), r));
1444
+ a.moduleConfigurations.push(E.internalBinaryRead(e, e.uint32(), r));
1312
1445
  break;
1313
1446
  default:
1314
1447
  let o = r.readUnknownField;
@@ -1321,11 +1454,11 @@ var u = new class extends c {
1321
1454
  }
1322
1455
  internalBinaryWrite(n, r, i) {
1323
1456
  n.moduleIdentifier !== "" && r.tag(1, e.LengthDelimited).string(n.moduleIdentifier);
1324
- for (let t = 0; t < n.moduleConfigurations.length; t++) w.internalBinaryWrite(n.moduleConfigurations[t], r.tag(2, e.LengthDelimited).fork(), i).join();
1457
+ for (let t = 0; t < n.moduleConfigurations.length; t++) E.internalBinaryWrite(n.moduleConfigurations[t], r.tag(2, e.LengthDelimited).fork(), i).join();
1325
1458
  let a = i.writeUnknownFields;
1326
1459
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1327
1460
  }
1328
- }(), E = new class extends c {
1461
+ }(), O = new class extends c {
1329
1462
  constructor() {
1330
1463
  super("shared.ModuleConfigurationDefinition", [
1331
1464
  {
@@ -1435,186 +1568,17 @@ var u = new class extends c {
1435
1568
  let o = a.writeUnknownFields;
1436
1569
  return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
1437
1570
  }
1438
- }(), D = /* @__PURE__ */ function(e) {
1439
- 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;
1440
- }({}), O = /* @__PURE__ */ function(e) {
1441
- 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;
1442
- }({}), k = /* @__PURE__ */ function(e) {
1571
+ }(), k = /* @__PURE__ */ function(e) {
1443
1572
  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;
1444
1573
  }({}), A = new class extends c {
1445
1574
  constructor() {
1446
- super("shared.AdapterStatusConfiguration", [{
1447
- no: 1,
1448
- name: "flow_type_identifiers",
1449
- kind: "scalar",
1450
- repeat: 2,
1451
- T: 9
1452
- }, {
1453
- no: 2,
1454
- name: "endpoint",
1455
- kind: "scalar",
1456
- oneof: "data",
1457
- T: 9
1458
- }]);
1459
- }
1460
- create(e) {
1461
- let t = globalThis.Object.create(this.messagePrototype);
1462
- return t.flowTypeIdentifiers = [], t.data = { oneofKind: void 0 }, e !== void 0 && l(this, t, e), t;
1463
- }
1464
- internalBinaryRead(e, n, r, i) {
1465
- let a = i ?? this.create(), o = e.pos + n;
1466
- for (; e.pos < o;) {
1467
- let [n, i] = e.tag();
1468
- switch (n) {
1469
- case 1:
1470
- a.flowTypeIdentifiers.push(e.string());
1471
- break;
1472
- case 2:
1473
- a.data = {
1474
- oneofKind: "endpoint",
1475
- endpoint: e.string()
1476
- };
1477
- break;
1478
- default:
1479
- let o = r.readUnknownField;
1480
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1481
- let s = e.skip(i);
1482
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1483
- }
1484
- }
1485
- return a;
1486
- }
1487
- internalBinaryWrite(n, r, i) {
1488
- for (let t = 0; t < n.flowTypeIdentifiers.length; t++) r.tag(1, e.LengthDelimited).string(n.flowTypeIdentifiers[t]);
1489
- n.data.oneofKind === "endpoint" && r.tag(2, e.LengthDelimited).string(n.data.endpoint);
1490
- let a = i.writeUnknownFields;
1491
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1492
- }
1493
- }(), j = new class extends c {
1494
- constructor() {
1495
- super("shared.ActionStatusConfiguration", [{
1496
- no: 1,
1497
- name: "flow_type_identifiers",
1498
- kind: "scalar",
1499
- repeat: 2,
1500
- T: 9
1501
- }, {
1502
- no: 2,
1503
- name: "endpoint",
1504
- kind: "scalar",
1505
- oneof: "data",
1506
- T: 9
1507
- }]);
1508
- }
1509
- create(e) {
1510
- let t = globalThis.Object.create(this.messagePrototype);
1511
- return t.flowTypeIdentifiers = [], t.data = { oneofKind: void 0 }, e !== void 0 && l(this, t, e), t;
1512
- }
1513
- internalBinaryRead(e, n, r, i) {
1514
- let a = i ?? this.create(), o = e.pos + n;
1515
- for (; e.pos < o;) {
1516
- let [n, i] = e.tag();
1517
- switch (n) {
1518
- case 1:
1519
- a.flowTypeIdentifiers.push(e.string());
1520
- break;
1521
- case 2:
1522
- a.data = {
1523
- oneofKind: "endpoint",
1524
- endpoint: e.string()
1525
- };
1526
- break;
1527
- default:
1528
- let o = r.readUnknownField;
1529
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1530
- let s = e.skip(i);
1531
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1532
- }
1533
- }
1534
- return a;
1535
- }
1536
- internalBinaryWrite(n, r, i) {
1537
- for (let t = 0; t < n.flowTypeIdentifiers.length; t++) r.tag(1, e.LengthDelimited).string(n.flowTypeIdentifiers[t]);
1538
- n.data.oneofKind === "endpoint" && r.tag(2, e.LengthDelimited).string(n.data.endpoint);
1539
- let a = i.writeUnknownFields;
1540
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1541
- }
1542
- }(), M = new class extends c {
1543
- constructor() {
1544
- super("shared.AdapterRuntimeStatus", [
1575
+ super("shared.ModuleStatus", [
1545
1576
  {
1546
1577
  no: 1,
1547
- name: "status",
1548
- kind: "enum",
1549
- T: () => ["shared.AdapterRuntimeStatus.Status", D]
1550
- },
1551
- {
1552
- no: 2,
1553
- name: "timestamp",
1554
- kind: "scalar",
1555
- T: 3,
1556
- L: 0
1557
- },
1558
- {
1559
- no: 3,
1560
1578
  name: "identifier",
1561
1579
  kind: "scalar",
1562
1580
  T: 9
1563
1581
  },
1564
- {
1565
- no: 4,
1566
- name: "configurations",
1567
- kind: "message",
1568
- repeat: 2,
1569
- T: () => A
1570
- }
1571
- ]);
1572
- }
1573
- create(e) {
1574
- let t = globalThis.Object.create(this.messagePrototype);
1575
- return t.status = 0, t.timestamp = 0n, t.identifier = "", t.configurations = [], e !== void 0 && l(this, t, e), t;
1576
- }
1577
- internalBinaryRead(e, n, r, i) {
1578
- let a = i ?? this.create(), o = e.pos + n;
1579
- for (; e.pos < o;) {
1580
- let [n, i] = e.tag();
1581
- switch (n) {
1582
- case 1:
1583
- a.status = e.int32();
1584
- break;
1585
- case 2:
1586
- a.timestamp = e.int64().toBigInt();
1587
- break;
1588
- case 3:
1589
- a.identifier = e.string();
1590
- break;
1591
- case 4:
1592
- a.configurations.push(A.internalBinaryRead(e, e.uint32(), r));
1593
- break;
1594
- default:
1595
- let o = r.readUnknownField;
1596
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1597
- let s = e.skip(i);
1598
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1599
- }
1600
- }
1601
- return a;
1602
- }
1603
- internalBinaryWrite(n, r, i) {
1604
- n.status !== 0 && r.tag(1, e.Varint).int32(n.status), n.timestamp !== 0n && r.tag(2, e.Varint).int64(n.timestamp), n.identifier !== "" && r.tag(3, e.LengthDelimited).string(n.identifier);
1605
- for (let t = 0; t < n.configurations.length; t++) A.internalBinaryWrite(n.configurations[t], r.tag(4, e.LengthDelimited).fork(), i).join();
1606
- let a = i.writeUnknownFields;
1607
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1608
- }
1609
- }(), N = new class extends c {
1610
- constructor() {
1611
- super("shared.ExecutionRuntimeStatus", [
1612
- {
1613
- no: 1,
1614
- name: "status",
1615
- kind: "enum",
1616
- T: () => ["shared.ExecutionRuntimeStatus.Status", O]
1617
- },
1618
1582
  {
1619
1583
  no: 2,
1620
1584
  name: "timestamp",
@@ -1624,78 +1588,15 @@ var u = new class extends c {
1624
1588
  },
1625
1589
  {
1626
1590
  no: 3,
1627
- name: "identifier",
1628
- kind: "scalar",
1629
- T: 9
1630
- }
1631
- ]);
1632
- }
1633
- create(e) {
1634
- let t = globalThis.Object.create(this.messagePrototype);
1635
- return t.status = 0, t.timestamp = 0n, t.identifier = "", e !== void 0 && l(this, t, e), t;
1636
- }
1637
- internalBinaryRead(e, n, r, i) {
1638
- let a = i ?? this.create(), o = e.pos + n;
1639
- for (; e.pos < o;) {
1640
- let [n, i] = e.tag();
1641
- switch (n) {
1642
- case 1:
1643
- a.status = e.int32();
1644
- break;
1645
- case 2:
1646
- a.timestamp = e.int64().toBigInt();
1647
- break;
1648
- case 3:
1649
- a.identifier = e.string();
1650
- break;
1651
- default:
1652
- let o = r.readUnknownField;
1653
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1654
- let s = e.skip(i);
1655
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1656
- }
1657
- }
1658
- return a;
1659
- }
1660
- internalBinaryWrite(n, r, i) {
1661
- n.status !== 0 && r.tag(1, e.Varint).int32(n.status), n.timestamp !== 0n && r.tag(2, e.Varint).int64(n.timestamp), n.identifier !== "" && r.tag(3, e.LengthDelimited).string(n.identifier);
1662
- let a = i.writeUnknownFields;
1663
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1664
- }
1665
- }(), P = new class extends c {
1666
- constructor() {
1667
- super("shared.ActionStatus", [
1668
- {
1669
- no: 1,
1670
1591
  name: "status",
1671
1592
  kind: "enum",
1672
- T: () => ["shared.ActionStatus.Status", k]
1673
- },
1674
- {
1675
- no: 2,
1676
- name: "timestamp",
1677
- kind: "scalar",
1678
- T: 3,
1679
- L: 0
1680
- },
1681
- {
1682
- no: 3,
1683
- name: "identifier",
1684
- kind: "scalar",
1685
- T: 9
1686
- },
1687
- {
1688
- no: 4,
1689
- name: "configurations",
1690
- kind: "message",
1691
- repeat: 2,
1692
- T: () => j
1593
+ T: () => ["shared.ModuleStatus.StatusVariant", k]
1693
1594
  }
1694
1595
  ]);
1695
1596
  }
1696
1597
  create(e) {
1697
1598
  let t = globalThis.Object.create(this.messagePrototype);
1698
- return t.status = 0, t.timestamp = 0n, t.identifier = "", t.configurations = [], e !== void 0 && l(this, t, e), t;
1599
+ return t.identifier = "", t.timestamp = 0n, t.status = 0, e !== void 0 && l(this, t, e), t;
1699
1600
  }
1700
1601
  internalBinaryRead(e, n, r, i) {
1701
1602
  let a = i ?? this.create(), o = e.pos + n;
@@ -1703,16 +1604,13 @@ var u = new class extends c {
1703
1604
  let [n, i] = e.tag();
1704
1605
  switch (n) {
1705
1606
  case 1:
1706
- a.status = e.int32();
1607
+ a.identifier = e.string();
1707
1608
  break;
1708
1609
  case 2:
1709
1610
  a.timestamp = e.int64().toBigInt();
1710
1611
  break;
1711
1612
  case 3:
1712
- a.identifier = e.string();
1713
- break;
1714
- case 4:
1715
- a.configurations.push(j.internalBinaryRead(e, e.uint32(), r));
1613
+ a.status = e.int32();
1716
1614
  break;
1717
1615
  default:
1718
1616
  let o = r.readUnknownField;
@@ -1724,12 +1622,11 @@ var u = new class extends c {
1724
1622
  return a;
1725
1623
  }
1726
1624
  internalBinaryWrite(n, r, i) {
1727
- n.status !== 0 && r.tag(1, e.Varint).int32(n.status), n.timestamp !== 0n && r.tag(2, e.Varint).int64(n.timestamp), n.identifier !== "" && r.tag(3, e.LengthDelimited).string(n.identifier);
1728
- for (let t = 0; t < n.configurations.length; t++) j.internalBinaryWrite(n.configurations[t], r.tag(4, e.LengthDelimited).fork(), i).join();
1625
+ n.identifier !== "" && r.tag(1, e.LengthDelimited).string(n.identifier), n.timestamp !== 0n && r.tag(2, e.Varint).int64(n.timestamp), n.status !== 0 && r.tag(3, e.Varint).int32(n.status);
1729
1626
  let a = i.writeUnknownFields;
1730
1627
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1731
1628
  }
1732
- }(), F = new class extends c {
1629
+ }(), j = new class extends c {
1733
1630
  constructor() {
1734
1631
  super("shared.RuntimeUsage", [{
1735
1632
  no: 1,
@@ -1776,4 +1673,4 @@ var u = new class extends c {
1776
1673
  }
1777
1674
  }();
1778
1675
  //#endregion
1779
- export { p as C, d as E, m as S, u as T, y as _, M as a, g as b, N as c, C as d, E as f, x as g, b as h, k as i, O as l, w as m, P as n, D as o, T as p, j as r, A as s, F as t, S as u, _ as v, f as w, h as x, v as y };
1676
+ export { d as S, h as _, S as a, f as b, D as c, b as d, x as f, g, v as h, w as i, C as l, _ as m, A as n, T as o, y as p, k as r, O as s, j as t, E as u, m as v, u as x, p as y };