@dxos/teleport 0.3.8 → 0.3.9-main.03b62b6

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.
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_SAD3JM2U_exports = {};
30
- __export(chunk_SAD3JM2U_exports, {
29
+ var chunk_SJ6CXLWF_exports = {};
30
+ __export(chunk_SJ6CXLWF_exports, {
31
31
  Framer: () => Framer,
32
32
  Muxer: () => Muxer,
33
33
  Teleport: () => Teleport,
@@ -39,7 +39,7 @@ __export(chunk_SAD3JM2U_exports, {
39
39
  decodeFrame: () => decodeFrame,
40
40
  encodeFrame: () => encodeFrame
41
41
  });
42
- module.exports = __toCommonJS(chunk_SAD3JM2U_exports);
42
+ module.exports = __toCommonJS(chunk_SJ6CXLWF_exports);
43
43
  var import_node_stream = require("node:stream");
44
44
  var import_invariant = require("@dxos/invariant");
45
45
  var import_keys = require("@dxos/keys");
@@ -83,7 +83,7 @@ var import_invariant7 = require("@dxos/invariant");
83
83
  var import_log8 = require("@dxos/log");
84
84
  var import_protocols5 = require("@dxos/protocols");
85
85
  var import_rpc3 = require("@dxos/rpc");
86
- var __dxlog_file = "/home/circleci/project/packages/core/mesh/teleport/src/control-extension.ts";
86
+ var __dxlog_file = "/home/runner/work/dxos/dxos/packages/core/mesh/teleport/src/control-extension.ts";
87
87
  var HEARTBEAT_RTT_WARN_THRESH = 1e4;
88
88
  var ControlExtension = class {
89
89
  constructor(opts, localPeerId, remotePeerId) {
@@ -217,7 +217,7 @@ var ControlExtension = class {
217
217
  await this._rpc.abort();
218
218
  }
219
219
  };
220
- var __dxlog_file2 = "/home/circleci/project/packages/core/mesh/teleport/src/muxing/framer.ts";
220
+ var __dxlog_file2 = "/home/runner/work/dxos/dxos/packages/core/mesh/teleport/src/muxing/framer.ts";
221
221
  var FRAME_LENGTH_SIZE = 2;
222
222
  var Framer = class {
223
223
  constructor() {
@@ -375,7 +375,7 @@ var encodeFrame = (payload) => {
375
375
  frame.set(payload, FRAME_LENGTH_SIZE);
376
376
  return frame;
377
377
  };
378
- var __dxlog_file3 = "/home/circleci/project/packages/core/mesh/teleport/src/muxing/balancer.ts";
378
+ var __dxlog_file3 = "/home/runner/work/dxos/dxos/packages/core/mesh/teleport/src/muxing/balancer.ts";
379
379
  var MAX_CHUNK_SIZE = 8192;
380
380
  var Balancer = class {
381
381
  constructor(_sysChannelId) {
@@ -578,7 +578,17 @@ var decodeChunk = (data, withLength) => {
578
578
  chunk
579
579
  };
580
580
  };
581
- var __dxlog_file4 = "/home/circleci/project/packages/core/mesh/teleport/src/muxing/muxer.ts";
581
+ function _ts_decorate(decorators, target, key, desc) {
582
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
583
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
584
+ r = Reflect.decorate(decorators, target, key, desc);
585
+ else
586
+ for (var i = decorators.length - 1; i >= 0; i--)
587
+ if (d = decorators[i])
588
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
589
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
590
+ }
591
+ var __dxlog_file4 = "/home/runner/work/dxos/dxos/packages/core/mesh/teleport/src/muxing/muxer.ts";
582
592
  var Command = import_protocols3.schema.getCodecForType("dxos.mesh.muxer.Command");
583
593
  var DEFAULT_SEND_COMMAND_TIMEOUT = 6e4;
584
594
  var DESTROY_COMMAND_SEND_TIMEOUT = 5e3;
@@ -605,6 +615,12 @@ var Muxer = class {
605
615
  await this._handleCommand(Command.decode(msg));
606
616
  });
607
617
  }
618
+ setSessionId(sessionId) {
619
+ this._sessionId = sessionId;
620
+ }
621
+ get sessionIdString() {
622
+ return this._sessionId ? this._sessionId.truncate() : "none";
623
+ }
608
624
  /**
609
625
  * Creates a duplex Node.js-style stream.
610
626
  * The remote peer is expected to call `createStream` with the same tag.
@@ -618,7 +634,7 @@ var Muxer = class {
618
634
  });
619
635
  (0, import_invariant4.invariant)(!channel.push, `Channel already open: ${tag}`, {
620
636
  F: __dxlog_file4,
621
- L: 140,
637
+ L: 151,
622
638
  S: this,
623
639
  A: [
624
640
  "!channel.push",
@@ -637,7 +653,15 @@ var Muxer = class {
637
653
  stream.push(data);
638
654
  };
639
655
  channel.destroy = (err) => {
640
- stream.destroy(err);
656
+ if (err) {
657
+ if (stream.listeners("error").length > 0) {
658
+ stream.destroy(err);
659
+ } else {
660
+ stream.destroy();
661
+ }
662
+ } else {
663
+ stream.destroy();
664
+ }
641
665
  };
642
666
  try {
643
667
  await this._sendCommand({
@@ -666,7 +690,7 @@ var Muxer = class {
666
690
  });
667
691
  (0, import_invariant4.invariant)(!channel.push, `Channel already open: ${tag}`, {
668
692
  F: __dxlog_file4,
669
- L: 192,
693
+ L: 211,
670
694
  S: this,
671
695
  A: [
672
696
  "!channel.push",
@@ -690,7 +714,7 @@ var Muxer = class {
690
714
  subscribe: (cb) => {
691
715
  (0, import_invariant4.invariant)(!callback, "Only one subscriber is allowed", {
692
716
  F: __dxlog_file4,
693
- L: 214,
717
+ L: 233,
694
718
  S: this,
695
719
  A: [
696
720
  "!callback",
@@ -723,7 +747,7 @@ var Muxer = class {
723
747
  if (this._destroying) {
724
748
  (0, import_log5.log)("already destroying, ignoring graceful close request", void 0, {
725
749
  F: __dxlog_file4,
726
- L: 247,
750
+ L: 266,
727
751
  S: this,
728
752
  C: (f, a) => f(...a)
729
753
  });
@@ -732,7 +756,7 @@ var Muxer = class {
732
756
  if (this._closing) {
733
757
  (0, import_log5.log)("already closing, ignoring graceful close request", void 0, {
734
758
  F: __dxlog_file4,
735
- L: 251,
759
+ L: 270,
736
760
  S: this,
737
761
  C: (f, a) => f(...a)
738
762
  });
@@ -748,29 +772,20 @@ var Muxer = class {
748
772
  err: err2
749
773
  }, {
750
774
  F: __dxlog_file4,
751
- L: 266,
775
+ L: 285,
752
776
  S: this,
753
777
  C: (f, a) => f(...a)
754
778
  });
755
- await this.dispose(err2);
779
+ await this._dispose(err2);
756
780
  });
757
- await Promise.race([
758
- new Promise((_resolve, reject) => {
759
- setTimeout(() => {
760
- reject(new import_protocols3.TimeoutError("gracefully closing muxer"));
761
- }, GRACEFUL_CLOSE_TIMEOUT);
762
- }),
763
- (async () => {
764
- await this.dispose(err);
765
- })()
766
- ]);
781
+ await (0, import_async4.asyncTimeout)(this._dispose(err), GRACEFUL_CLOSE_TIMEOUT, new import_protocols3.TimeoutError("gracefully closing muxer"));
767
782
  }
768
783
  // force close without confirmation
769
784
  async destroy(err) {
770
785
  if (this._destroying) {
771
786
  (0, import_log5.log)("already destroying, ignoring destroy request", void 0, {
772
787
  F: __dxlog_file4,
773
- L: 287,
788
+ L: 298,
774
789
  S: this,
775
790
  C: (f, a) => f(...a)
776
791
  });
@@ -781,7 +796,7 @@ var Muxer = class {
781
796
  if (this._closing) {
782
797
  (0, import_log5.log)("destroy cancelling graceful close", void 0, {
783
798
  F: __dxlog_file4,
784
- L: 293,
799
+ L: 304,
785
800
  S: this,
786
801
  C: (f, a) => f(...a)
787
802
  });
@@ -796,29 +811,29 @@ var Muxer = class {
796
811
  err: err2
797
812
  }, {
798
813
  F: __dxlog_file4,
799
- L: 306,
814
+ L: 317,
800
815
  S: this,
801
816
  C: (f, a) => f(...a)
802
817
  });
803
818
  });
804
819
  }
805
- this.dispose(err).catch((err2) => {
820
+ this._dispose(err).catch((err2) => {
806
821
  (0, import_log5.log)("error disposing after destroy", {
807
822
  err: err2
808
823
  }, {
809
824
  F: __dxlog_file4,
810
- L: 311,
825
+ L: 322,
811
826
  S: this,
812
827
  C: (f, a) => f(...a)
813
828
  });
814
829
  });
815
830
  }
816
831
  // complete the termination, graceful or otherwise
817
- async dispose(err) {
832
+ async _dispose(err) {
818
833
  if (this._disposed) {
819
834
  (0, import_log5.log)("already destroyed, ignoring dispose request", void 0, {
820
835
  F: __dxlog_file4,
821
- L: 319,
836
+ L: 330,
822
837
  S: this,
823
838
  C: (f, a) => f(...a)
824
839
  });
@@ -830,6 +845,7 @@ var Muxer = class {
830
845
  channel.destroy?.(err);
831
846
  }
832
847
  this._disposed = true;
848
+ await this._emitStats();
833
849
  this.afterClosed.emit(err);
834
850
  this._channelsByLocalId.clear();
835
851
  this._channelsByTag.clear();
@@ -840,7 +856,7 @@ var Muxer = class {
840
856
  cmd
841
857
  }, {
842
858
  F: __dxlog_file4,
843
- L: 341,
859
+ L: 353,
844
860
  S: this,
845
861
  C: (f, a) => f(...a)
846
862
  });
@@ -850,15 +866,15 @@ var Muxer = class {
850
866
  if (!this._closing) {
851
867
  (0, import_log5.log)("received peer close, initiating my own graceful close", void 0, {
852
868
  F: __dxlog_file4,
853
- L: 347,
869
+ L: 359,
854
870
  S: this,
855
871
  C: (f, a) => f(...a)
856
872
  });
857
- await this.close();
873
+ await this.close(new Error("received peer close"));
858
874
  } else {
859
875
  (0, import_log5.log)("received close from peer, already closing", void 0, {
860
876
  F: __dxlog_file4,
861
- L: 350,
877
+ L: 362,
862
878
  S: this,
863
879
  C: (f, a) => f(...a)
864
880
  });
@@ -887,7 +903,7 @@ var Muxer = class {
887
903
  tag: stream.tag
888
904
  }, {
889
905
  F: __dxlog_file4,
890
- L: 379,
906
+ L: 391,
891
907
  S: this,
892
908
  C: (f, a) => f(...a)
893
909
  });
@@ -902,7 +918,7 @@ var Muxer = class {
902
918
  cmd
903
919
  }, {
904
920
  F: __dxlog_file4,
905
- L: 388,
921
+ L: 400,
906
922
  S: this,
907
923
  C: (f, a) => f(...a)
908
924
  });
@@ -950,7 +966,7 @@ var Muxer = class {
950
966
  threshold: MAX_SAFE_FRAME_SIZE
951
967
  }, {
952
968
  F: __dxlog_file4,
953
- L: 429,
969
+ L: 441,
954
970
  S: this,
955
971
  C: (f, a) => f(...a)
956
972
  });
@@ -976,7 +992,17 @@ var Muxer = class {
976
992
  }
977
993
  async _emitStats() {
978
994
  if (this._disposed || this._destroying) {
995
+ if (!this._lastStats) {
996
+ return;
997
+ }
998
+ const lastStats = this._lastStats;
979
999
  this._lastStats = void 0;
1000
+ lastStats.readBufferSize = 0;
1001
+ lastStats.writeBufferSize = 0;
1002
+ for (const c of lastStats.channels) {
1003
+ c.writeBufferSize = 0;
1004
+ }
1005
+ this.statsUpdated.emit(lastStats);
980
1006
  this._lastChannelStats.clear();
981
1007
  return;
982
1008
  }
@@ -1015,7 +1041,10 @@ var Muxer = class {
1015
1041
  this.statsUpdated.emit(this._lastStats);
1016
1042
  }
1017
1043
  };
1018
- function _ts_decorate(decorators, target, key, desc) {
1044
+ _ts_decorate([
1045
+ import_log5.logInfo
1046
+ ], Muxer.prototype, "sessionIdString", null);
1047
+ function _ts_decorate2(decorators, target, key, desc) {
1019
1048
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1020
1049
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
1021
1050
  r = Reflect.decorate(decorators, target, key, desc);
@@ -1025,7 +1054,7 @@ function _ts_decorate(decorators, target, key, desc) {
1025
1054
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1026
1055
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1027
1056
  }
1028
- var __dxlog_file5 = "/home/circleci/project/packages/core/mesh/teleport/src/teleport.ts";
1057
+ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/core/mesh/teleport/src/teleport.ts";
1029
1058
  var CONTROL_HEARTBEAT_INTERVAL = 1e4;
1030
1059
  var CONTROL_HEARTBEAT_TIMEOUT = 6e4;
1031
1060
  var Teleport = class {
@@ -1035,7 +1064,7 @@ var Teleport = class {
1035
1064
  void this.destroy(err).catch(() => {
1036
1065
  import_log2.log.error("Error during destroy", err, {
1037
1066
  F: __dxlog_file5,
1038
- L: 38,
1067
+ L: 39,
1039
1068
  S: this,
1040
1069
  C: (f, a) => f(...a)
1041
1070
  });
@@ -1050,7 +1079,7 @@ var Teleport = class {
1050
1079
  this._aborting = false;
1051
1080
  (0, import_invariant2.invariant)(typeof initiator === "boolean", void 0, {
1052
1081
  F: __dxlog_file5,
1053
- L: 55,
1082
+ L: 56,
1054
1083
  S: this,
1055
1084
  A: [
1056
1085
  "typeof initiator === 'boolean'",
@@ -1059,7 +1088,7 @@ var Teleport = class {
1059
1088
  });
1060
1089
  (0, import_invariant2.invariant)(import_keys2.PublicKey.isPublicKey(localPeerId), void 0, {
1061
1090
  F: __dxlog_file5,
1062
- L: 56,
1091
+ L: 57,
1063
1092
  S: this,
1064
1093
  A: [
1065
1094
  "PublicKey.isPublicKey(localPeerId)",
@@ -1068,7 +1097,7 @@ var Teleport = class {
1068
1097
  });
1069
1098
  (0, import_invariant2.invariant)(import_keys2.PublicKey.isPublicKey(remotePeerId), void 0, {
1070
1099
  F: __dxlog_file5,
1071
- L: 57,
1100
+ L: 58,
1072
1101
  S: this,
1073
1102
  A: [
1074
1103
  "PublicKey.isPublicKey(remotePeerId)",
@@ -1087,13 +1116,13 @@ var Teleport = class {
1087
1116
  }
1088
1117
  import_log2.log.info("abort teleport due to onTimeout in ControlExtension", void 0, {
1089
1118
  F: __dxlog_file5,
1090
- L: 70,
1119
+ L: 71,
1091
1120
  S: this,
1092
1121
  C: (f, a) => f(...a)
1093
1122
  });
1094
1123
  this.abort(new import_protocols.TimeoutError("control extension")).catch((err) => import_log2.log.catch(err, void 0, {
1095
1124
  F: __dxlog_file5,
1096
- L: 71,
1125
+ L: 72,
1097
1126
  S: this,
1098
1127
  C: (f, a) => f(...a)
1099
1128
  }));
@@ -1104,13 +1133,13 @@ var Teleport = class {
1104
1133
  name
1105
1134
  }, {
1106
1135
  F: __dxlog_file5,
1107
- L: 79,
1136
+ L: 80,
1108
1137
  S: this,
1109
1138
  C: (f, a) => f(...a)
1110
1139
  });
1111
1140
  (0, import_invariant2.invariant)(!this._remoteExtensions.has(name), "Remote extension already exists", {
1112
1141
  F: __dxlog_file5,
1113
- L: 80,
1142
+ L: 81,
1114
1143
  S: this,
1115
1144
  A: [
1116
1145
  "!this._remoteExtensions.has(name)",
@@ -1131,7 +1160,7 @@ var Teleport = class {
1131
1160
  if (this._destroying || this._aborting) {
1132
1161
  (0, import_log2.log)("destroy teleport due to muxer stream close, skipping due to already destroying/aborting", void 0, {
1133
1162
  F: __dxlog_file5,
1134
- L: 96,
1163
+ L: 97,
1135
1164
  S: this,
1136
1165
  C: (f, a) => f(...a)
1137
1166
  });
@@ -1154,12 +1183,15 @@ var Teleport = class {
1154
1183
  channels: stats.channels
1155
1184
  }, {
1156
1185
  F: __dxlog_file5,
1157
- L: 109,
1186
+ L: 110,
1158
1187
  S: this,
1159
1188
  C: (f, a) => f(...a)
1160
1189
  });
1161
1190
  });
1162
1191
  }
1192
+ get sessionIdString() {
1193
+ return this._sessionId ? this._sessionId.truncate() : "none";
1194
+ }
1163
1195
  get stream() {
1164
1196
  return this._muxer.stream;
1165
1197
  }
@@ -1169,10 +1201,18 @@ var Teleport = class {
1169
1201
  /**
1170
1202
  * Blocks until the handshake is complete.
1171
1203
  */
1172
- async open() {
1204
+ async open(sessionId = import_keys2.PublicKey.random()) {
1205
+ this._sessionId = sessionId;
1206
+ (0, import_log2.log)("open", void 0, {
1207
+ F: __dxlog_file5,
1208
+ L: 144,
1209
+ S: this,
1210
+ C: (f, a) => f(...a)
1211
+ });
1173
1212
  this._setExtension("dxos.mesh.teleport.control", this._control);
1174
1213
  await this._openExtension("dxos.mesh.teleport.control");
1175
1214
  this._open = true;
1215
+ this._muxer.setSessionId(sessionId);
1176
1216
  }
1177
1217
  async close(err) {
1178
1218
  await this.destroy(err);
@@ -1192,7 +1232,7 @@ var Teleport = class {
1192
1232
  } catch (err2) {
1193
1233
  import_log2.log.catch(err2, void 0, {
1194
1234
  F: __dxlog_file5,
1195
- L: 162,
1235
+ L: 173,
1196
1236
  S: this,
1197
1237
  C: (f, a) => f(...a)
1198
1238
  });
@@ -1215,7 +1255,7 @@ var Teleport = class {
1215
1255
  } catch (err2) {
1216
1256
  import_log2.log.catch(err2, void 0, {
1217
1257
  F: __dxlog_file5,
1218
- L: 186,
1258
+ L: 197,
1219
1259
  S: this,
1220
1260
  C: (f, a) => f(...a)
1221
1261
  });
@@ -1231,7 +1271,7 @@ var Teleport = class {
1231
1271
  name
1232
1272
  }, {
1233
1273
  F: __dxlog_file5,
1234
- L: 198,
1274
+ L: 209,
1235
1275
  S: this,
1236
1276
  C: (f, a) => f(...a)
1237
1277
  });
@@ -1255,7 +1295,7 @@ var Teleport = class {
1255
1295
  _setExtension(extensionName, extension) {
1256
1296
  (0, import_invariant2.invariant)(!extensionName.includes("/"), "Invalid extension name", {
1257
1297
  F: __dxlog_file5,
1258
- L: 222,
1298
+ L: 233,
1259
1299
  S: this,
1260
1300
  A: [
1261
1301
  "!extensionName.includes('/')",
@@ -1264,7 +1304,7 @@ var Teleport = class {
1264
1304
  });
1265
1305
  (0, import_invariant2.invariant)(!this._extensions.has(extensionName), "Extension already exists", {
1266
1306
  F: __dxlog_file5,
1267
- L: 223,
1307
+ L: 234,
1268
1308
  S: this,
1269
1309
  A: [
1270
1310
  "!this._extensions.has(extensionName)",
@@ -1278,7 +1318,7 @@ var Teleport = class {
1278
1318
  extensionName
1279
1319
  }, {
1280
1320
  F: __dxlog_file5,
1281
- L: 228,
1321
+ L: 239,
1282
1322
  S: this,
1283
1323
  C: (f, a) => f(...a)
1284
1324
  });
@@ -1290,7 +1330,7 @@ var Teleport = class {
1290
1330
  createPort: async (channelName, opts) => {
1291
1331
  (0, import_invariant2.invariant)(!channelName.includes("/"), "Invalid channel name", {
1292
1332
  F: __dxlog_file5,
1293
- L: 236,
1333
+ L: 247,
1294
1334
  S: this,
1295
1335
  A: [
1296
1336
  "!channelName.includes('/')",
@@ -1302,7 +1342,7 @@ var Teleport = class {
1302
1342
  createStream: async (channelName, opts) => {
1303
1343
  (0, import_invariant2.invariant)(!channelName.includes("/"), "Invalid channel name", {
1304
1344
  F: __dxlog_file5,
1305
- L: 240,
1345
+ L: 251,
1306
1346
  S: this,
1307
1347
  A: [
1308
1348
  "!channelName.includes('/')",
@@ -1322,19 +1362,22 @@ var Teleport = class {
1322
1362
  extensionName
1323
1363
  }, {
1324
1364
  F: __dxlog_file5,
1325
- L: 251,
1365
+ L: 262,
1326
1366
  S: this,
1327
1367
  C: (f, a) => f(...a)
1328
1368
  });
1329
1369
  }
1330
1370
  };
1331
- _ts_decorate([
1371
+ _ts_decorate2([
1372
+ import_log2.logInfo
1373
+ ], Teleport.prototype, "sessionIdString", null);
1374
+ _ts_decorate2([
1332
1375
  import_async.synchronized
1333
1376
  ], Teleport.prototype, "abort", null);
1334
- _ts_decorate([
1377
+ _ts_decorate2([
1335
1378
  import_async.synchronized
1336
1379
  ], Teleport.prototype, "destroy", null);
1337
- var __dxlog_file6 = "/home/circleci/project/packages/core/mesh/teleport/src/testing/test-builder.ts";
1380
+ var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/core/mesh/teleport/src/testing/test-builder.ts";
1338
1381
  var TestBuilder = class {
1339
1382
  constructor() {
1340
1383
  this._peers = /* @__PURE__ */ new Set();
@@ -1476,7 +1519,7 @@ var TestPeer = class {
1476
1519
  ""
1477
1520
  ]
1478
1521
  });
1479
- await connection.teleport.open();
1522
+ await connection.teleport.open(import_keys.PublicKey.random());
1480
1523
  await this.onOpen(connection);
1481
1524
  }
1482
1525
  async closeConnection(connection) {
@@ -1533,7 +1576,7 @@ var TestConnection = class {
1533
1576
  });
1534
1577
  }
1535
1578
  };
1536
- var __dxlog_file7 = "/home/circleci/project/packages/core/mesh/teleport/src/testing/test-extension.ts";
1579
+ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/core/mesh/teleport/src/testing/test-extension.ts";
1537
1580
  var TestExtension = class {
1538
1581
  constructor(callbacks = {}) {
1539
1582
  this.callbacks = callbacks;
@@ -1632,7 +1675,7 @@ var TestExtension = class {
1632
1675
  this.extensionContext?.close(err);
1633
1676
  }
1634
1677
  };
1635
- var __dxlog_file8 = "/home/circleci/project/packages/core/mesh/teleport/src/testing/test-extension-with-streams.ts";
1678
+ var __dxlog_file8 = "/home/runner/work/dxos/dxos/packages/core/mesh/teleport/src/testing/test-extension-with-streams.ts";
1636
1679
  var TestExtensionWithStreams = class {
1637
1680
  constructor(callbacks = {}) {
1638
1681
  this.callbacks = callbacks;
@@ -1897,4 +1940,4 @@ var TestExtensionWithStreams = class {
1897
1940
  decodeFrame,
1898
1941
  encodeFrame
1899
1942
  });
1900
- //# sourceMappingURL=chunk-SAD3JM2U.cjs.map
1943
+ //# sourceMappingURL=chunk-SJ6CXLWF.cjs.map