@code0-tech/tucana 0.0.73 → 0.0.74

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,48 @@ 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,
290
- name: "started_at",
291
+ name: "function_id",
291
292
  kind: "scalar",
293
+ oneof: "id",
292
294
  T: 3,
293
295
  L: 0
294
296
  },
295
297
  {
296
298
  no: 3,
297
- name: "finished_at",
299
+ name: "started_at",
298
300
  kind: "scalar",
299
301
  T: 3,
300
302
  L: 0
301
303
  },
302
304
  {
303
305
  no: 4,
306
+ name: "finished_at",
307
+ kind: "scalar",
308
+ T: 3,
309
+ L: 0
310
+ },
311
+ {
312
+ no: 5,
304
313
  name: "parameter_results",
305
314
  kind: "message",
306
315
  repeat: 2,
307
316
  T: () => m
308
317
  },
309
318
  {
310
- no: 5,
319
+ no: 6,
311
320
  name: "success",
312
321
  kind: "message",
313
322
  oneof: "result",
314
323
  T: () => s
315
324
  },
316
325
  {
317
- no: 6,
326
+ no: 7,
318
327
  name: "error",
319
328
  kind: "message",
320
329
  oneof: "result",
@@ -324,7 +333,7 @@ var u = new class extends c {
324
333
  }
325
334
  create(e) {
326
335
  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;
336
+ 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
337
  }
329
338
  internalBinaryRead(e, n, r, i) {
330
339
  let a = i ?? this.create(), o = e.pos + n;
@@ -332,24 +341,33 @@ var u = new class extends c {
332
341
  let [n, i] = e.tag();
333
342
  switch (n) {
334
343
  case 1:
335
- a.nodeId = e.int64().toBigInt();
344
+ a.id = {
345
+ oneofKind: "nodeId",
346
+ nodeId: e.int64().toBigInt()
347
+ };
336
348
  break;
337
349
  case 2:
338
- a.startedAt = e.int64().toBigInt();
350
+ a.id = {
351
+ oneofKind: "functionId",
352
+ functionId: e.int64().toBigInt()
353
+ };
339
354
  break;
340
355
  case 3:
341
- a.finishedAt = e.int64().toBigInt();
356
+ a.startedAt = e.int64().toBigInt();
342
357
  break;
343
358
  case 4:
344
- a.parameterResults.push(m.internalBinaryRead(e, e.uint32(), r));
359
+ a.finishedAt = e.int64().toBigInt();
345
360
  break;
346
361
  case 5:
362
+ a.parameterResults.push(m.internalBinaryRead(e, e.uint32(), r));
363
+ break;
364
+ case 6:
347
365
  a.result = {
348
366
  oneofKind: "success",
349
367
  success: s.internalBinaryRead(e, e.uint32(), r, a.result.success)
350
368
  };
351
369
  break;
352
- case 6:
370
+ case 7:
353
371
  a.result = {
354
372
  oneofKind: "error",
355
373
  error: p.internalBinaryRead(e, e.uint32(), r, a.result.error)
@@ -365,9 +383,9 @@ var u = new class extends c {
365
383
  return a;
366
384
  }
367
385
  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();
386
+ n.id.oneofKind === "nodeId" && r.tag(1, e.Varint).int64(n.id.nodeId), n.id.oneofKind === "functionId" && r.tag(2, e.Varint).int64(n.id.functionId), n.startedAt !== 0n && r.tag(3, e.Varint).int64(n.startedAt), n.finishedAt !== 0n && r.tag(4, e.Varint).int64(n.finishedAt);
387
+ for (let t = 0; t < n.parameterResults.length; t++) m.internalBinaryWrite(n.parameterResults[t], r.tag(5, e.LengthDelimited).fork(), i).join();
388
+ 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
389
  let a = i.writeUnknownFields;
372
390
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
373
391
  }
@@ -1116,13 +1134,20 @@ var u = new class extends c {
1116
1134
  name: "configurations",
1117
1135
  kind: "message",
1118
1136
  repeat: 2,
1119
- T: () => E
1137
+ T: () => O
1138
+ },
1139
+ {
1140
+ no: 15,
1141
+ name: "definitions",
1142
+ kind: "message",
1143
+ repeat: 2,
1144
+ T: () => C
1120
1145
  }
1121
1146
  ]);
1122
1147
  }
1123
1148
  create(e) {
1124
1149
  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;
1150
+ 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
1151
  }
1127
1152
  internalBinaryRead(e, r, s, c) {
1128
1153
  let l = c ?? this.create(), u = e.pos + r;
@@ -1166,7 +1191,10 @@ var u = new class extends c {
1166
1191
  l.definitionDataTypes.push(i.internalBinaryRead(e, e.uint32(), s));
1167
1192
  break;
1168
1193
  case 14:
1169
- l.configurations.push(E.internalBinaryRead(e, e.uint32(), s));
1194
+ l.configurations.push(O.internalBinaryRead(e, e.uint32(), s));
1195
+ break;
1196
+ case 15:
1197
+ l.definitions.push(C.internalBinaryRead(e, e.uint32(), s));
1170
1198
  break;
1171
1199
  default:
1172
1200
  let u = s.readUnknownField;
@@ -1187,11 +1215,117 @@ var u = new class extends c {
1187
1215
  for (let t = 0; t < r.functionDefinitions.length; t++) o.internalBinaryWrite(r.functionDefinitions[t], s.tag(11, e.LengthDelimited).fork(), c).join();
1188
1216
  for (let t = 0; t < r.runtimeFunctionDefinitions.length; t++) _.internalBinaryWrite(r.runtimeFunctionDefinitions[t], s.tag(12, e.LengthDelimited).fork(), c).join();
1189
1217
  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();
1218
+ for (let t = 0; t < r.configurations.length; t++) O.internalBinaryWrite(r.configurations[t], s.tag(14, e.LengthDelimited).fork(), c).join();
1219
+ for (let t = 0; t < r.definitions.length; t++) C.internalBinaryWrite(r.definitions[t], s.tag(15, e.LengthDelimited).fork(), c).join();
1191
1220
  let l = c.writeUnknownFields;
1192
1221
  return l !== !1 && (l == 1 ? t.onWrite : l)(this.typeName, r, s), s;
1193
1222
  }
1194
1223
  }(), C = new class extends c {
1224
+ constructor() {
1225
+ super("shared.ModuleDefinition", [{
1226
+ no: 1,
1227
+ name: "flow_type_identifier",
1228
+ kind: "scalar",
1229
+ repeat: 2,
1230
+ T: 9
1231
+ }, {
1232
+ no: 2,
1233
+ name: "endpoint",
1234
+ kind: "message",
1235
+ oneof: "value",
1236
+ T: () => w
1237
+ }]);
1238
+ }
1239
+ create(e) {
1240
+ let t = globalThis.Object.create(this.messagePrototype);
1241
+ return t.flowTypeIdentifier = [], t.value = { oneofKind: void 0 }, e !== void 0 && l(this, t, e), t;
1242
+ }
1243
+ internalBinaryRead(e, n, r, i) {
1244
+ let a = i ?? this.create(), o = e.pos + n;
1245
+ for (; e.pos < o;) {
1246
+ let [n, i] = e.tag();
1247
+ switch (n) {
1248
+ case 1:
1249
+ a.flowTypeIdentifier.push(e.string());
1250
+ break;
1251
+ case 2:
1252
+ a.value = {
1253
+ oneofKind: "endpoint",
1254
+ endpoint: w.internalBinaryRead(e, e.uint32(), r, a.value.endpoint)
1255
+ };
1256
+ break;
1257
+ default:
1258
+ let o = r.readUnknownField;
1259
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1260
+ let s = e.skip(i);
1261
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1262
+ }
1263
+ }
1264
+ return a;
1265
+ }
1266
+ internalBinaryWrite(n, r, i) {
1267
+ for (let t = 0; t < n.flowTypeIdentifier.length; t++) r.tag(1, e.LengthDelimited).string(n.flowTypeIdentifier[t]);
1268
+ n.value.oneofKind === "endpoint" && w.internalBinaryWrite(n.value.endpoint, r.tag(2, e.LengthDelimited).fork(), i).join();
1269
+ let a = i.writeUnknownFields;
1270
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1271
+ }
1272
+ }(), w = new class extends c {
1273
+ constructor() {
1274
+ super("shared.Endpoint", [
1275
+ {
1276
+ no: 1,
1277
+ name: "host",
1278
+ kind: "scalar",
1279
+ T: 9
1280
+ },
1281
+ {
1282
+ no: 2,
1283
+ name: "port",
1284
+ kind: "scalar",
1285
+ T: 3,
1286
+ L: 0
1287
+ },
1288
+ {
1289
+ no: 3,
1290
+ name: "endpoint",
1291
+ kind: "scalar",
1292
+ T: 9
1293
+ }
1294
+ ]);
1295
+ }
1296
+ create(e) {
1297
+ let t = globalThis.Object.create(this.messagePrototype);
1298
+ return t.host = "", t.port = 0n, t.endpoint = "", e !== void 0 && l(this, t, e), t;
1299
+ }
1300
+ internalBinaryRead(e, n, r, i) {
1301
+ let a = i ?? this.create(), o = e.pos + n;
1302
+ for (; e.pos < o;) {
1303
+ let [n, i] = e.tag();
1304
+ switch (n) {
1305
+ case 1:
1306
+ a.host = e.string();
1307
+ break;
1308
+ case 2:
1309
+ a.port = e.int64().toBigInt();
1310
+ break;
1311
+ case 3:
1312
+ a.endpoint = e.string();
1313
+ break;
1314
+ default:
1315
+ let o = r.readUnknownField;
1316
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1317
+ let s = e.skip(i);
1318
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1319
+ }
1320
+ }
1321
+ return a;
1322
+ }
1323
+ internalBinaryWrite(n, r, i) {
1324
+ 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);
1325
+ let a = i.writeUnknownFields;
1326
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1327
+ }
1328
+ }(), T = new class extends c {
1195
1329
  constructor() {
1196
1330
  super("shared.ModuleConfiguration", [{
1197
1331
  no: 1,
@@ -1234,7 +1368,7 @@ var u = new class extends c {
1234
1368
  let a = i.writeUnknownFields;
1235
1369
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1236
1370
  }
1237
- }(), w = new class extends c {
1371
+ }(), E = new class extends c {
1238
1372
  constructor() {
1239
1373
  super("shared.ModuleProjectConfigurations", [{
1240
1374
  no: 1,
@@ -1247,7 +1381,7 @@ var u = new class extends c {
1247
1381
  name: "module_configurations",
1248
1382
  kind: "message",
1249
1383
  repeat: 2,
1250
- T: () => C
1384
+ T: () => T
1251
1385
  }]);
1252
1386
  }
1253
1387
  create(e) {
@@ -1263,7 +1397,7 @@ var u = new class extends c {
1263
1397
  a.projectId = e.int64().toBigInt();
1264
1398
  break;
1265
1399
  case 2:
1266
- a.moduleConfigurations.push(C.internalBinaryRead(e, e.uint32(), r));
1400
+ a.moduleConfigurations.push(T.internalBinaryRead(e, e.uint32(), r));
1267
1401
  break;
1268
1402
  default:
1269
1403
  let o = r.readUnknownField;
@@ -1276,11 +1410,11 @@ var u = new class extends c {
1276
1410
  }
1277
1411
  internalBinaryWrite(n, r, i) {
1278
1412
  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();
1413
+ for (let t = 0; t < n.moduleConfigurations.length; t++) T.internalBinaryWrite(n.moduleConfigurations[t], r.tag(2, e.LengthDelimited).fork(), i).join();
1280
1414
  let a = i.writeUnknownFields;
1281
1415
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1282
1416
  }
1283
- }(), T = new class extends c {
1417
+ }(), D = new class extends c {
1284
1418
  constructor() {
1285
1419
  super("shared.ModuleConfigurations", [{
1286
1420
  no: 1,
@@ -1292,7 +1426,7 @@ var u = new class extends c {
1292
1426
  name: "module_configurations",
1293
1427
  kind: "message",
1294
1428
  repeat: 2,
1295
- T: () => w
1429
+ T: () => E
1296
1430
  }]);
1297
1431
  }
1298
1432
  create(e) {
@@ -1308,7 +1442,7 @@ var u = new class extends c {
1308
1442
  a.moduleIdentifier = e.string();
1309
1443
  break;
1310
1444
  case 2:
1311
- a.moduleConfigurations.push(w.internalBinaryRead(e, e.uint32(), r));
1445
+ a.moduleConfigurations.push(E.internalBinaryRead(e, e.uint32(), r));
1312
1446
  break;
1313
1447
  default:
1314
1448
  let o = r.readUnknownField;
@@ -1321,11 +1455,11 @@ var u = new class extends c {
1321
1455
  }
1322
1456
  internalBinaryWrite(n, r, i) {
1323
1457
  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();
1458
+ for (let t = 0; t < n.moduleConfigurations.length; t++) E.internalBinaryWrite(n.moduleConfigurations[t], r.tag(2, e.LengthDelimited).fork(), i).join();
1325
1459
  let a = i.writeUnknownFields;
1326
1460
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1327
1461
  }
1328
- }(), E = new class extends c {
1462
+ }(), O = new class extends c {
1329
1463
  constructor() {
1330
1464
  super("shared.ModuleConfigurationDefinition", [
1331
1465
  {
@@ -1435,186 +1569,17 @@ var u = new class extends c {
1435
1569
  let o = a.writeUnknownFields;
1436
1570
  return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
1437
1571
  }
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) {
1572
+ }(), k = /* @__PURE__ */ function(e) {
1443
1573
  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
1574
  }({}), A = new class extends c {
1445
1575
  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", [
1576
+ super("shared.ModuleStatus", [
1545
1577
  {
1546
1578
  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
1579
  name: "identifier",
1561
1580
  kind: "scalar",
1562
1581
  T: 9
1563
1582
  },
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
1583
  {
1619
1584
  no: 2,
1620
1585
  name: "timestamp",
@@ -1624,78 +1589,15 @@ var u = new class extends c {
1624
1589
  },
1625
1590
  {
1626
1591
  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
1592
  name: "status",
1671
1593
  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
1594
+ T: () => ["shared.ModuleStatus.StatusVariant", k]
1693
1595
  }
1694
1596
  ]);
1695
1597
  }
1696
1598
  create(e) {
1697
1599
  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;
1600
+ return t.identifier = "", t.timestamp = 0n, t.status = 0, e !== void 0 && l(this, t, e), t;
1699
1601
  }
1700
1602
  internalBinaryRead(e, n, r, i) {
1701
1603
  let a = i ?? this.create(), o = e.pos + n;
@@ -1703,16 +1605,13 @@ var u = new class extends c {
1703
1605
  let [n, i] = e.tag();
1704
1606
  switch (n) {
1705
1607
  case 1:
1706
- a.status = e.int32();
1608
+ a.identifier = e.string();
1707
1609
  break;
1708
1610
  case 2:
1709
1611
  a.timestamp = e.int64().toBigInt();
1710
1612
  break;
1711
1613
  case 3:
1712
- a.identifier = e.string();
1713
- break;
1714
- case 4:
1715
- a.configurations.push(j.internalBinaryRead(e, e.uint32(), r));
1614
+ a.status = e.int32();
1716
1615
  break;
1717
1616
  default:
1718
1617
  let o = r.readUnknownField;
@@ -1724,12 +1623,11 @@ var u = new class extends c {
1724
1623
  return a;
1725
1624
  }
1726
1625
  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();
1626
+ 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
1627
  let a = i.writeUnknownFields;
1730
1628
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1731
1629
  }
1732
- }(), F = new class extends c {
1630
+ }(), j = new class extends c {
1733
1631
  constructor() {
1734
1632
  super("shared.RuntimeUsage", [{
1735
1633
  no: 1,
@@ -1776,4 +1674,4 @@ var u = new class extends c {
1776
1674
  }
1777
1675
  }();
1778
1676
  //#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 };
1677
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/tucana",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "description": "Code0 GRPC Protocol",
5
5
  "homepage": "https://github.com/code0-tech/tucana#readme",
6
6
  "bugs": {