@agentrific/server 0.6.0 → 0.7.1

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.
package/opentunnel-sdk.js CHANGED
@@ -4,7 +4,7 @@ var __export = (target, all4) => {
4
4
  __defProp(target, name, { get: all4[name], enumerable: true });
5
5
  };
6
6
 
7
- // ../../node_modules/effect/dist/Pipeable.js
7
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Pipeable.js
8
8
  var pipeArguments = (self, args2) => {
9
9
  switch (args2.length) {
10
10
  case 0:
@@ -48,7 +48,7 @@ var Class = /* @__PURE__ */ (function() {
48
48
  return PipeableBase;
49
49
  })();
50
50
 
51
- // ../../node_modules/effect/dist/Function.js
51
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Function.js
52
52
  var dual = function(arity, body) {
53
53
  if (typeof arity === "function") {
54
54
  return function() {
@@ -162,7 +162,7 @@ function memoizeIdempotent(f) {
162
162
  };
163
163
  }
164
164
 
165
- // ../../node_modules/effect/dist/Context.js
165
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Context.js
166
166
  var Context_exports = {};
167
167
  __export(Context_exports, {
168
168
  Reference: () => Reference,
@@ -190,7 +190,7 @@ __export(Context_exports, {
190
190
  pick: () => pick
191
191
  });
192
192
 
193
- // ../../node_modules/effect/dist/internal/equal.js
193
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/equal.js
194
194
  var getAllObjectKeys = (obj) => {
195
195
  const keys4 = new Set(Reflect.ownKeys(obj));
196
196
  if (obj.constructor === Object) return keys4;
@@ -214,13 +214,13 @@ var getAllObjectKeys = (obj) => {
214
214
  var byReferenceInstances = /* @__PURE__ */ new WeakSet();
215
215
  var viewBytes = (view) => new Uint8Array(view.buffer, view.byteOffset, view.byteLength);
216
216
 
217
- // ../../node_modules/effect/dist/internal/hash.js
217
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/hash.js
218
218
  var backEdges = 0;
219
219
  var addBackEdge = () => {
220
220
  backEdges++;
221
221
  };
222
222
 
223
- // ../../node_modules/effect/dist/Predicate.js
223
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Predicate.js
224
224
  function isString(input) {
225
225
  return typeof input === "string";
226
226
  }
@@ -273,7 +273,7 @@ function isIterable(input) {
273
273
  }
274
274
  var or = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) || that(a));
275
275
 
276
- // ../../node_modules/effect/dist/Hash.js
276
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Hash.js
277
277
  var symbol = "~effect/Hash";
278
278
  var hash = (self) => {
279
279
  switch (typeof self) {
@@ -397,7 +397,7 @@ var randomHashCache = /* @__PURE__ */ new WeakMap();
397
397
  var hashCache = /* @__PURE__ */ new WeakMap();
398
398
  var visitedObjects = /* @__PURE__ */ new WeakSet();
399
399
 
400
- // ../../node_modules/effect/dist/Equal.js
400
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Equal.js
401
401
  var symbol2 = "~effect/Equal";
402
402
  function equals() {
403
403
  if (arguments.length === 1) {
@@ -567,7 +567,7 @@ var byReferenceUnsafe = (obj) => {
567
567
  return obj;
568
568
  };
569
569
 
570
- // ../../node_modules/effect/dist/Redactable.js
570
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Redactable.js
571
571
  var symbolRedactable = /* @__PURE__ */ Symbol.for("~effect/Redactable");
572
572
  var isRedactable = (u) => hasProperty(u, symbolRedactable);
573
573
  function redact(u) {
@@ -589,7 +589,7 @@ var emptyContext = {
589
589
  }
590
590
  };
591
591
 
592
- // ../../node_modules/effect/dist/Formatter.js
592
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Formatter.js
593
593
  function format(input, options4) {
594
594
  const space = options4?.space ?? 0;
595
595
  const ancestors = /* @__PURE__ */ new WeakSet();
@@ -741,7 +741,7 @@ function isJsonPrimitiveWrapper(object) {
741
741
  return false;
742
742
  }
743
743
 
744
- // ../../node_modules/effect/dist/Inspectable.js
744
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Inspectable.js
745
745
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
746
746
  var toJson = (input) => {
747
747
  try {
@@ -808,7 +808,7 @@ var Class2 = class {
808
808
  }
809
809
  };
810
810
 
811
- // ../../node_modules/effect/dist/internal/stackTraceLimit.js
811
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/stackTraceLimit.js
812
812
  var isStackTraceLimitWritable = () => {
813
813
  const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
814
814
  if (desc === void 0) {
@@ -825,7 +825,7 @@ var setStackTraceLimit = (value3) => {
825
825
  }
826
826
  };
827
827
 
828
- // ../../node_modules/effect/dist/Utils.js
828
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Utils.js
829
829
  var SingleShotGen = class {
830
830
  constructor(self) {
831
831
  this.value = self;
@@ -873,7 +873,7 @@ var pickInternalCall = () => {
873
873
  };
874
874
  var internalCall = /* @__PURE__ */ pickInternalCall();
875
875
 
876
- // ../../node_modules/effect/dist/internal/record.js
876
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/record.js
877
877
  function assignProperty(self, key, value3) {
878
878
  if (key === "__proto__") {
879
879
  Object.defineProperty(self, key, {
@@ -895,7 +895,7 @@ function assignProperties(self, source) {
895
895
  }
896
896
  }
897
897
 
898
- // ../../node_modules/effect/dist/internal/core.js
898
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/core.js
899
899
  var EffectTypeId = `~effect/Effect`;
900
900
  var ExitTypeId = `~effect/Exit`;
901
901
  var effectVariance = {
@@ -1300,13 +1300,13 @@ var done = (value3) => {
1300
1300
  return exitFail(Done(value3));
1301
1301
  };
1302
1302
 
1303
- // ../../node_modules/effect/dist/Effectable.js
1303
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Effectable.js
1304
1304
  var Prototype2 = (options4) => makePrimitiveProto({
1305
1305
  op: options4.label,
1306
1306
  [evaluate]: options4.evaluate
1307
1307
  });
1308
1308
 
1309
- // ../../node_modules/effect/dist/Option.js
1309
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Option.js
1310
1310
  var Option_exports = {};
1311
1311
  __export(Option_exports, {
1312
1312
  Do: () => Do,
@@ -1371,14 +1371,14 @@ __export(Option_exports, {
1371
1371
  zipWith: () => zipWith
1372
1372
  });
1373
1373
 
1374
- // ../../node_modules/effect/dist/Combiner.js
1374
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Combiner.js
1375
1375
  function make(combine5) {
1376
1376
  return {
1377
1377
  combine: combine5
1378
1378
  };
1379
1379
  }
1380
1380
 
1381
- // ../../node_modules/effect/dist/Reducer.js
1381
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Reducer.js
1382
1382
  function make2(combine5, initialValue, combineAll) {
1383
1383
  return {
1384
1384
  combine: combine5,
@@ -1393,7 +1393,7 @@ function make2(combine5, initialValue, combineAll) {
1393
1393
  };
1394
1394
  }
1395
1395
 
1396
- // ../../node_modules/effect/dist/Equivalence.js
1396
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Equivalence.js
1397
1397
  var make3 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
1398
1398
  var isStrictEquivalent = (x, y) => x === y;
1399
1399
  var strictEqual = () => isStrictEquivalent;
@@ -1420,7 +1420,7 @@ function Array_(item) {
1420
1420
  });
1421
1421
  }
1422
1422
 
1423
- // ../../node_modules/effect/dist/internal/doNotation.js
1423
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/doNotation.js
1424
1424
  var let_ = (map14) => dual(3, (self, name, f) => map14(self, (a) => ({
1425
1425
  ...a,
1426
1426
  [name]: f(a)
@@ -1433,7 +1433,7 @@ var bind = (map14, flatMap9) => dual(3, (self, name, f) => flatMap9(self, (a) =>
1433
1433
  [name]: b
1434
1434
  }))));
1435
1435
 
1436
- // ../../node_modules/effect/dist/internal/option.js
1436
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/option.js
1437
1437
  var TypeId = "~effect/Option";
1438
1438
  var CommonProto = {
1439
1439
  [TypeId]: {
@@ -1499,7 +1499,7 @@ var SomeImpl = function(value3) {
1499
1499
  SomeImpl.prototype = SomeProto;
1500
1500
  var some = (value3) => new SomeImpl(value3);
1501
1501
 
1502
- // ../../node_modules/effect/dist/internal/result.js
1502
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/result.js
1503
1503
  var TypeId2 = "~effect/Result";
1504
1504
  var CommonProto2 = {
1505
1505
  [TypeId2]: {
@@ -1568,7 +1568,7 @@ var succeed = (success) => new SuccessImpl(success);
1568
1568
  var getFailure = (self) => isSuccess(self) ? none : some(self.failure);
1569
1569
  var getSuccess = (self) => isFailure(self) ? none : some(self.success);
1570
1570
 
1571
- // ../../node_modules/effect/dist/Order.js
1571
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Order.js
1572
1572
  function make4(compare2) {
1573
1573
  return (self, that) => self === that ? 0 : compare2(self, that);
1574
1574
  }
@@ -1588,7 +1588,7 @@ var isLessThanOrEqualTo = (O) => dual(2, (self, that) => O(self, that) !== 1);
1588
1588
  var isGreaterThanOrEqualTo = (O) => dual(2, (self, that) => O(self, that) !== -1);
1589
1589
  var max = (O) => dual(2, (self, that) => self === that || O(self, that) > -1 ? self : that);
1590
1590
 
1591
- // ../../node_modules/effect/dist/Option.js
1591
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Option.js
1592
1592
  var none2 = () => none;
1593
1593
  var some2 = some;
1594
1594
  var isOption2 = isOption;
@@ -1766,7 +1766,7 @@ function makeReducerFailFast(reducer) {
1766
1766
  });
1767
1767
  }
1768
1768
 
1769
- // ../../node_modules/effect/dist/Context.js
1769
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Context.js
1770
1770
  var ServiceTypeId = "~effect/Context/Service";
1771
1771
  var Service = function() {
1772
1772
  function KeyClass() {
@@ -1987,14 +1987,14 @@ var omit = (...keys4) => (self) => withFlat(self, (map14) => {
1987
1987
  });
1988
1988
  var Reference = Service;
1989
1989
 
1990
- // ../../node_modules/effect/dist/internal/array.js
1990
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/array.js
1991
1991
  var isArrayNonEmpty = (self) => self.length > 0;
1992
1992
 
1993
- // ../../node_modules/effect/dist/internal/count.js
1993
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/count.js
1994
1994
  var normalize = (n) => n > 0 ? Math.floor(n) : 0;
1995
1995
  var normalizeNonEmpty = (n) => Math.max(1, normalize(n));
1996
1996
 
1997
- // ../../node_modules/effect/dist/Result.js
1997
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Result.js
1998
1998
  var succeed2 = succeed;
1999
1999
  var fail2 = fail;
2000
2000
  var try_ = (evaluate2) => {
@@ -2031,10 +2031,10 @@ var getOrThrowWith2 = /* @__PURE__ */ dual(2, (self, onFailure) => {
2031
2031
  var getOrThrow2 = /* @__PURE__ */ getOrThrowWith2(identity);
2032
2032
  var flatMap2 = /* @__PURE__ */ dual(2, (self, f) => isFailure2(self) ? fail2(self.failure) : f(self.success));
2033
2033
 
2034
- // ../../node_modules/effect/dist/Tuple.js
2034
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Tuple.js
2035
2035
  var makeEquivalence2 = Tuple;
2036
2036
 
2037
- // ../../node_modules/effect/dist/Iterable.js
2037
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Iterable.js
2038
2038
  var makeBy = (f, options4) => {
2039
2039
  const max5 = options4?.length !== void 0 ? normalizeNonEmpty(options4.length) : Infinity;
2040
2040
  return {
@@ -2134,7 +2134,7 @@ var filter2 = /* @__PURE__ */ dual(2, (self, predicate) => ({
2134
2134
  }
2135
2135
  }));
2136
2136
 
2137
- // ../../node_modules/effect/dist/Record.js
2137
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Record.js
2138
2138
  var isEmptyRecord = (self) => Object.keys(self).length === 0;
2139
2139
  var has = /* @__PURE__ */ dual(2, (self, key) => Object.hasOwn(self, key));
2140
2140
  var map3 = /* @__PURE__ */ dual(2, (self, f) => {
@@ -2160,7 +2160,7 @@ var makeEquivalence3 = (equivalence) => {
2160
2160
  return (self, that) => is3(self, that) && is3(that, self);
2161
2161
  };
2162
2162
 
2163
- // ../../node_modules/effect/dist/Array.js
2163
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Array.js
2164
2164
  var Array2 = globalThis.Array;
2165
2165
  var makeBy2 = /* @__PURE__ */ dual(2, (n, f) => {
2166
2166
  const max5 = normalizeNonEmpty(n);
@@ -2252,7 +2252,7 @@ var dedupe = (self) => {
2252
2252
  return out;
2253
2253
  };
2254
2254
 
2255
- // ../../node_modules/effect/dist/Duration.js
2255
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Duration.js
2256
2256
  var TypeId4 = "~effect/Duration";
2257
2257
  var bigint0 = /* @__PURE__ */ BigInt(0);
2258
2258
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -2656,7 +2656,7 @@ var format2 = (self) => {
2656
2656
  return pieces.join(" ");
2657
2657
  };
2658
2658
 
2659
- // ../../node_modules/effect/dist/Filter.js
2659
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Filter.js
2660
2660
  var composePassthrough = /* @__PURE__ */ dual(2, (left, right) => (input) => {
2661
2661
  const leftOut = left(input);
2662
2662
  if (isFailure2(leftOut)) return fail2(input);
@@ -2665,7 +2665,7 @@ var composePassthrough = /* @__PURE__ */ dual(2, (left, right) => (input) => {
2665
2665
  return rightOut;
2666
2666
  });
2667
2667
 
2668
- // ../../node_modules/effect/dist/Scheduler.js
2668
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Scheduler.js
2669
2669
  var Scheduler = /* @__PURE__ */ Reference("effect/Scheduler", {
2670
2670
  fiberCached: true,
2671
2671
  defaultValue: () => new MixedScheduler()
@@ -2809,7 +2809,7 @@ var PreventSchedulerYield = /* @__PURE__ */ Reference("effect/Scheduler/PreventS
2809
2809
  defaultValue: () => false
2810
2810
  });
2811
2811
 
2812
- // ../../node_modules/effect/dist/Data.js
2812
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Data.js
2813
2813
  var Class3 = class extends Class {
2814
2814
  constructor(props) {
2815
2815
  super();
@@ -2824,7 +2824,7 @@ var TaggedClass = (tag2) => class extends Class3 {
2824
2824
  var Error3 = Error2;
2825
2825
  var TaggedError2 = TaggedError;
2826
2826
 
2827
- // ../../node_modules/effect/dist/encoding/EncodingError.js
2827
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/encoding/EncodingError.js
2828
2828
  var EncodingErrorTypeId = "~effect/encoding/EncodingError";
2829
2829
  var EncodingError = class extends (/* @__PURE__ */ TaggedError2("EncodingError")) {
2830
2830
  /**
@@ -2839,7 +2839,7 @@ var EncodingError = class extends (/* @__PURE__ */ TaggedError2("EncodingError")
2839
2839
  [EncodingErrorTypeId] = EncodingErrorTypeId;
2840
2840
  };
2841
2841
 
2842
- // ../../node_modules/effect/dist/encoding/Hex.js
2842
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/encoding/Hex.js
2843
2843
  var encode = (input) => typeof input === "string" ? hexEncodeUint8Array(encoder.encode(input)) : hexEncodeUint8Array(input);
2844
2844
  var random2 = (length) => {
2845
2845
  switch (length) {
@@ -2928,7 +2928,7 @@ var fromHexChar = (byte) => {
2928
2928
  throw new TypeError("Invalid input");
2929
2929
  };
2930
2930
 
2931
- // ../../node_modules/effect/dist/Tracer.js
2931
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Tracer.js
2932
2932
  var ParentSpanKey = "effect/Tracer/ParentSpan";
2933
2933
  var ParentSpan = class extends (/* @__PURE__ */ Service()(ParentSpanKey, {
2934
2934
  fiberCached: true
@@ -3010,10 +3010,10 @@ var NativeSpan = class {
3010
3010
  }
3011
3011
  };
3012
3012
 
3013
- // ../../node_modules/effect/dist/internal/metric.js
3013
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/metric.js
3014
3014
  var FiberRuntimeMetricsKey = "effect/Metric/FiberRuntimeMetrics";
3015
3015
 
3016
- // ../../node_modules/effect/dist/internal/references.js
3016
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/references.js
3017
3017
  var CurrentErrorReporters = /* @__PURE__ */ Reference("effect/ErrorReporter/CurrentErrorReporters", {
3018
3018
  defaultValue: () => /* @__PURE__ */ new Set()
3019
3019
  });
@@ -3049,7 +3049,7 @@ var CurrentLogSpans = /* @__PURE__ */ Reference("effect/References/CurrentLogSpa
3049
3049
  defaultValue: () => []
3050
3050
  });
3051
3051
 
3052
- // ../../node_modules/effect/dist/internal/tracer.js
3052
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/tracer.js
3053
3053
  var addSpanStackTrace = (options4) => {
3054
3054
  if (options4?.captureStackTrace === false) {
3055
3055
  return options4;
@@ -3086,7 +3086,7 @@ var makeStackCleaner = (line) => (stack) => {
3086
3086
  };
3087
3087
  var spanCleaner = /* @__PURE__ */ makeStackCleaner(3);
3088
3088
 
3089
- // ../../node_modules/effect/dist/internal/effect.js
3089
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/effect.js
3090
3090
  var Interrupt = class extends ReasonBase {
3091
3091
  constructor(fiberId3, annotations2 = constEmptyAnnotations) {
3092
3092
  super("Interrupt", annotations2, "Interrupted");
@@ -5817,7 +5817,7 @@ var reportCauseUnsafe = (fiber3, cause, defectsOnly) => {
5817
5817
  reporters.forEach((reporter) => reporter.report(opts));
5818
5818
  };
5819
5819
 
5820
- // ../../node_modules/effect/dist/Cause.js
5820
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Cause.js
5821
5821
  var isCause2 = isCause;
5822
5822
  var isReason = isCauseReason;
5823
5823
  var isFailReason2 = isFailReason;
@@ -5843,7 +5843,7 @@ var isTimeoutError2 = isTimeoutError;
5843
5843
  var IllegalArgumentError2 = IllegalArgumentError;
5844
5844
  var ExceededCapacityError2 = ExceededCapacityError;
5845
5845
 
5846
- // ../../node_modules/effect/dist/Effect.js
5846
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Effect.js
5847
5847
  var Effect_exports = {};
5848
5848
  __export(Effect_exports, {
5849
5849
  Do: () => Do3,
@@ -6077,7 +6077,7 @@ __export(Effect_exports, {
6077
6077
  zipWith: () => zipWith3
6078
6078
  });
6079
6079
 
6080
- // ../../node_modules/effect/dist/Exit.js
6080
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Exit.js
6081
6081
  var Exit_exports = {};
6082
6082
  __export(Exit_exports, {
6083
6083
  asVoid: () => asVoid3,
@@ -6136,7 +6136,7 @@ var getSuccess3 = exitGetSuccess;
6136
6136
  var getCause = exitGetCause;
6137
6137
  var findErrorOption2 = exitFindErrorOption;
6138
6138
 
6139
- // ../../node_modules/effect/dist/Layer.js
6139
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Layer.js
6140
6140
  var Layer_exports = {};
6141
6141
  __export(Layer_exports, {
6142
6142
  CurrentMemoMap: () => CurrentMemoMap,
@@ -6185,7 +6185,7 @@ __export(Layer_exports, {
6185
6185
  withSpan: () => withSpan2
6186
6186
  });
6187
6187
 
6188
- // ../../node_modules/effect/dist/Deferred.js
6188
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Deferred.js
6189
6189
  var TypeId5 = "~effect/Deferred";
6190
6190
  var DeferredProto = {
6191
6191
  [TypeId5]: {
@@ -6230,13 +6230,13 @@ var doneUnsafe = (self, effect2) => {
6230
6230
  return true;
6231
6231
  };
6232
6232
 
6233
- // ../../node_modules/effect/dist/References.js
6233
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/References.js
6234
6234
  var CurrentLogAnnotations2 = CurrentLogAnnotations;
6235
6235
  var CurrentLogSpans2 = CurrentLogSpans;
6236
6236
  var CurrentStackFrame2 = CurrentStackFrame;
6237
6237
  var TracerTimingEnabled2 = TracerTimingEnabled;
6238
6238
 
6239
- // ../../node_modules/effect/dist/Scope.js
6239
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Scope.js
6240
6240
  var Scope_exports = {};
6241
6241
  __export(Scope_exports, {
6242
6242
  Scope: () => Scope,
@@ -6263,7 +6263,7 @@ var close = scopeClose;
6263
6263
  var closeUnsafe = scopeCloseUnsafe;
6264
6264
  var use = scopeUse;
6265
6265
 
6266
- // ../../node_modules/effect/dist/Layer.js
6266
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Layer.js
6267
6267
  var TypeId6 = "~effect/Layer";
6268
6268
  var MemoMapTypeId = "~effect/Layer/MemoMap";
6269
6269
  var makeMemoMapEntry = (memoMap, layer2) => {
@@ -6491,10 +6491,10 @@ var provideSpanStackFrame2 = (name, stack) => {
6491
6491
  }));
6492
6492
  };
6493
6493
 
6494
- // ../../node_modules/effect/dist/Clock.js
6494
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Clock.js
6495
6495
  var Clock = ClockRef;
6496
6496
 
6497
- // ../../node_modules/effect/dist/internal/dateTime.js
6497
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/dateTime.js
6498
6498
  var TypeId7 = "~effect/DateTime";
6499
6499
  var TimeZoneTypeId = "~effect/DateTime/TimeZone";
6500
6500
  var Proto2 = {
@@ -6885,7 +6885,7 @@ var formatIsoOffset = (self) => {
6885
6885
  };
6886
6886
  var formatIsoZoned = (self) => self.zone._tag === "Offset" ? formatIsoOffset(self) : `${formatIsoOffset(self)}[${self.zone.id}]`;
6887
6887
 
6888
- // ../../node_modules/effect/dist/Number.js
6888
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Number.js
6889
6889
  var Number3 = globalThis.Number;
6890
6890
  var remainder = /* @__PURE__ */ dual(2, (self, divisor) => {
6891
6891
  if (!globalThis.Number.isFinite(self) || !globalThis.Number.isFinite(divisor) || divisor === 0) {
@@ -6921,12 +6921,12 @@ var nextPow2 = (n) => {
6921
6921
  return Math.max(Math.pow(2, nextPow), 2);
6922
6922
  };
6923
6923
 
6924
- // ../../node_modules/effect/dist/String.js
6924
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/String.js
6925
6925
  var String3 = globalThis.String;
6926
6926
  var isString2 = isString;
6927
6927
  var trim = (self) => self.trim();
6928
6928
 
6929
- // ../../node_modules/effect/dist/Pull.js
6929
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Pull.js
6930
6930
  var catchDone = /* @__PURE__ */ dual(2, (effect2, f) => catchCauseFilter(effect2, filterDoneLeftover, (l) => f(l)));
6931
6931
  var isDoneCause = (cause) => cause.reasons.some(isDoneFailure);
6932
6932
  var isDoneFailure = (failure) => failure._tag === "Fail" && isDone2(failure.error);
@@ -6959,7 +6959,7 @@ var matchEffect2 = /* @__PURE__ */ dual(2, (self, options4) => matchCauseEffect(
6959
6959
  }
6960
6960
  }));
6961
6961
 
6962
- // ../../node_modules/effect/dist/Schedule.js
6962
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Schedule.js
6963
6963
  var TypeId8 = "~effect/Schedule";
6964
6964
  var CurrentMetadata = /* @__PURE__ */ Reference("effect/Schedule/CurrentMetadata", {
6965
6965
  defaultValue: /* @__PURE__ */ constant({
@@ -7052,7 +7052,7 @@ var while_ = /* @__PURE__ */ dual(2, (self, predicate) => fromStep(map5(toStep(s
7052
7052
  })));
7053
7053
  var forever3 = /* @__PURE__ */ spaced(zero);
7054
7054
 
7055
- // ../../node_modules/effect/dist/ExecutionPlan.js
7055
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/ExecutionPlan.js
7056
7056
  var TypeId9 = "~effect/ExecutionPlan";
7057
7057
  var Proto3 = {
7058
7058
  [TypeId9]: TypeId9,
@@ -7081,11 +7081,11 @@ var CurrentMetadata2 = /* @__PURE__ */ Reference("effect/ExecutionPlan/CurrentMe
7081
7081
  })
7082
7082
  });
7083
7083
 
7084
- // ../../node_modules/effect/dist/internal/layer.js
7084
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/layer.js
7085
7085
  var provideLayer = (self, layer2, options4) => scopedWith((scope3) => flatMap3(options4?.local ? buildWithMemoMap(layer2, makeMemoMapUnsafe(), scope3) : buildWithScope(layer2, scope3), (context3) => provideContext(self, context3)));
7086
7086
  var provide3 = /* @__PURE__ */ dual((args2) => isEffect(args2[0]), (self, source, options4) => isContext(source) ? provideContext(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll2(...source) : source, options4));
7087
7087
 
7088
- // ../../node_modules/effect/dist/internal/schedule.js
7088
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schedule.js
7089
7089
  var findErrorOnly = (cause) => cause.reasons.every(isFailReason) ? findError(cause) : fail2(cause);
7090
7090
  var repeatOrElse = /* @__PURE__ */ dual(3, (self, schedule4, orElse2) => flatMap3(toStepWithMetadata(schedule4), (step) => {
7091
7091
  let meta = CurrentMetadata.defaultValue();
@@ -7157,7 +7157,7 @@ var buildFromOptions = (options4) => {
7157
7157
  return schedule4;
7158
7158
  };
7159
7159
 
7160
- // ../../node_modules/effect/dist/internal/executionPlan.js
7160
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/executionPlan.js
7161
7161
  var makeEventEmitter = (onEvent, currentMetadata) => {
7162
7162
  let lastStepIndex = -1;
7163
7163
  let stepAttempt = 0;
@@ -7262,7 +7262,7 @@ var scheduleFromStep = (step, first) => {
7262
7262
  };
7263
7263
  var scheduleOnce = /* @__PURE__ */ recurs(1);
7264
7264
 
7265
- // ../../node_modules/effect/dist/Request.js
7265
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Request.js
7266
7266
  var TypeId10 = "~effect/Request";
7267
7267
  var requestVariance = /* @__PURE__ */ byReferenceUnsafe({
7268
7268
  /* c8 ignore next */
@@ -7278,7 +7278,7 @@ var RequestPrototype = {
7278
7278
  };
7279
7279
  var makeEntry = (options4) => options4;
7280
7280
 
7281
- // ../../node_modules/effect/dist/internal/request.js
7281
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/request.js
7282
7282
  var request = /* @__PURE__ */ dual(2, (self, resolver) => {
7283
7283
  const withResolver = (resolver2) => callback((resume) => {
7284
7284
  const entry = addEntry(resolver2, self, resume, getCurrentFiber());
@@ -7393,7 +7393,7 @@ function runBatch(batch) {
7393
7393
  return batch.run;
7394
7394
  }
7395
7395
 
7396
- // ../../node_modules/effect/dist/Metric.js
7396
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Metric.js
7397
7397
  var CurrentMetricAttributesKey = "effect/Metric/CurrentMetricAttributes";
7398
7398
  var CurrentMetricAttributes = /* @__PURE__ */ Reference(CurrentMetricAttributesKey, {
7399
7399
  defaultValue: () => ({})
@@ -7469,7 +7469,7 @@ function attributesToRecord(attributes) {
7469
7469
  return attributes;
7470
7470
  }
7471
7471
 
7472
- // ../../node_modules/effect/dist/Effect.js
7472
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Effect.js
7473
7473
  var TypeId12 = EffectTypeId;
7474
7474
  var isEffect2 = isEffect;
7475
7475
  var all3 = all2;
@@ -7832,7 +7832,7 @@ var flatMapEager2 = flatMapEager;
7832
7832
  var catchEager2 = catchEager;
7833
7833
  var fnUntracedEager2 = fnUntracedEager;
7834
7834
 
7835
- // ../../node_modules/effect/dist/BigDecimal.js
7835
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/BigDecimal.js
7836
7836
  var FINITE_INT_REGEXP = /^[+-]?\d+$/;
7837
7837
  var TypeId13 = "~effect/BigDecimal";
7838
7838
  var BigDecimalProto = {
@@ -7985,7 +7985,7 @@ var toExponential = (n) => {
7985
7985
  };
7986
7986
  var isZero2 = (n) => n.value === bigint03;
7987
7987
 
7988
- // ../../node_modules/effect/dist/Schema.js
7988
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Schema.js
7989
7989
  var Schema_exports = {};
7990
7990
  __export(Schema_exports, {
7991
7991
  Any: () => Any2,
@@ -8358,7 +8358,7 @@ __export(Schema_exports, {
8358
8358
  withDecodingDefaultTypeKey: () => withDecodingDefaultTypeKey
8359
8359
  });
8360
8360
 
8361
- // ../../node_modules/effect/dist/BigInt.js
8361
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/BigInt.js
8362
8362
  var BigInt3 = globalThis.BigInt;
8363
8363
  var toNumber = (b) => {
8364
8364
  if (b > BigInt3(Number.MAX_SAFE_INTEGER) || b < BigInt3(Number.MIN_SAFE_INTEGER)) {
@@ -8367,7 +8367,7 @@ var toNumber = (b) => {
8367
8367
  return some2(Number(b));
8368
8368
  };
8369
8369
 
8370
- // ../../node_modules/effect/dist/ByteSize.js
8370
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/ByteSize.js
8371
8371
  var bigint04 = /* @__PURE__ */ BigInt(0);
8372
8372
  var bigint13 = /* @__PURE__ */ BigInt(1);
8373
8373
  var decimalBase = /* @__PURE__ */ BigInt(1e3);
@@ -8509,7 +8509,7 @@ var isByteSize = (input) => typeof input === "bigint" && input >= bigint04;
8509
8509
  var toBigInt = (self) => self;
8510
8510
  var toNumber2 = toNumber;
8511
8511
 
8512
- // ../../node_modules/effect/dist/Chunk.js
8512
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Chunk.js
8513
8513
  var TypeId14 = "~effect/Chunk";
8514
8514
  function copy(src, srcPos, dest, destPos, len) {
8515
8515
  for (let i = srcPos; i < Math.min(src.length, srcPos + len); i++) {
@@ -8673,7 +8673,7 @@ var fromArrayUnsafe = (self) => self.length === 0 ? empty4() : self.length === 1
8673
8673
  });
8674
8674
  var size = (self) => self.length;
8675
8675
 
8676
- // ../../node_modules/effect/dist/DateTime.js
8676
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/DateTime.js
8677
8677
  var isDateTime2 = isDateTime;
8678
8678
  var isTimeZone2 = isTimeZone;
8679
8679
  var isTimeZoneOffset2 = isTimeZoneOffset;
@@ -8696,7 +8696,7 @@ var toEpochMillis2 = toEpochMillis;
8696
8696
  var formatIso2 = formatIso;
8697
8697
  var formatIsoZoned2 = formatIsoZoned;
8698
8698
 
8699
- // ../../node_modules/effect/dist/encoding/Base64.js
8699
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/encoding/Base64.js
8700
8700
  var encode2 = (input) => encodeBytes(typeof input === "string" ? encoder2.encode(input) : input);
8701
8701
  var decode2 = (str) => {
8702
8702
  const stripped = stripCrlf(str);
@@ -8775,7 +8775,7 @@ var getCode = (charCode) => {
8775
8775
  return codes[charCode];
8776
8776
  };
8777
8777
 
8778
- // ../../node_modules/effect/dist/internal/hashMap.js
8778
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/hashMap.js
8779
8779
  var HashMapTypeId = "~effect/HashMap";
8780
8780
  var SHIFT = 5;
8781
8781
  var BUCKET_SIZE = 1 << SHIFT;
@@ -9410,14 +9410,14 @@ var keys2 = (self) => new HashMapIterator(self._root, identity);
9410
9410
  var entries = (self) => self[Symbol.iterator]();
9411
9411
  var size2 = (self) => self.size;
9412
9412
 
9413
- // ../../node_modules/effect/dist/HashMap.js
9413
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/HashMap.js
9414
9414
  var isHashMap2 = isHashMap;
9415
9415
  var fromIterable5 = fromIterable4;
9416
9416
  var entries2 = entries;
9417
9417
  var toEntries = (self) => Array.from(entries2(self));
9418
9418
  var size3 = size2;
9419
9419
 
9420
- // ../../node_modules/effect/dist/internal/hashSet.js
9420
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/hashSet.js
9421
9421
  var HashSetTypeId = "~effect/HashSet";
9422
9422
  var hashSetSeed = /* @__PURE__ */ string(HashSetTypeId);
9423
9423
  var HashSetProto = {
@@ -9472,12 +9472,12 @@ var every2 = (self, predicate) => {
9472
9472
  return true;
9473
9473
  };
9474
9474
 
9475
- // ../../node_modules/effect/dist/HashSet.js
9475
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/HashSet.js
9476
9476
  var fromIterable7 = fromIterable6;
9477
9477
  var isHashSet2 = isHashSet;
9478
9478
  var size5 = size4;
9479
9479
 
9480
- // ../../node_modules/effect/dist/http/Cookies.js
9480
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/Cookies.js
9481
9481
  var TypeId15 = "~effect/http/Cookies";
9482
9482
  var isCookies = (u) => hasProperty(u, TypeId15);
9483
9483
  var CookieTypeId = "~effect/http/Cookies/Cookie";
@@ -9832,7 +9832,7 @@ var tryDecodeURIComponent = (str) => {
9832
9832
  }
9833
9833
  };
9834
9834
 
9835
- // ../../node_modules/effect/dist/internal/redacted.js
9835
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/redacted.js
9836
9836
  var redactedRegistry = /* @__PURE__ */ new WeakMap();
9837
9837
  var value = (self) => {
9838
9838
  if (redactedRegistry.has(self)) {
@@ -9843,7 +9843,7 @@ var value = (self) => {
9843
9843
  };
9844
9844
  var stringOrRedacted = (val) => typeof val === "string" ? val : value(val);
9845
9845
 
9846
- // ../../node_modules/effect/dist/Redacted.js
9846
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Redacted.js
9847
9847
  var TypeId16 = "~effect/Redacted";
9848
9848
  var isRedacted = (u) => hasProperty(u, TypeId16);
9849
9849
  var make15 = (value3, options4) => {
@@ -9876,7 +9876,7 @@ var Proto5 = {
9876
9876
  var value2 = value;
9877
9877
  var makeEquivalence6 = (isEquivalent) => make3((x, y) => isEquivalent(value2(x), value2(y)));
9878
9878
 
9879
- // ../../node_modules/effect/dist/http/Headers.js
9879
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/Headers.js
9880
9880
  var TypeId17 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
9881
9881
  var isHeaders = (u) => hasProperty(u, TypeId17);
9882
9882
  var Proto6 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
@@ -9997,7 +9997,7 @@ var CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentReda
9997
9997
  defaultValue: () => ["authorization", "cookie", "set-cookie", "x-api-key", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
9998
9998
  });
9999
9999
 
10000
- // ../../node_modules/effect/dist/http/UrlParams.js
10000
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/UrlParams.js
10001
10001
  var TypeId18 = "~effect/http/UrlParams";
10002
10002
  var isUrlParams = (u) => hasProperty(u, TypeId18);
10003
10003
  var Proto7 = {
@@ -10100,7 +10100,7 @@ var toRecord2 = (self) => {
10100
10100
  };
10101
10101
  var toReadonlyRecord = toRecord2;
10102
10102
 
10103
- // ../../node_modules/effect/dist/internal/graph.js
10103
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/graph.js
10104
10104
  var TypeId19 = "~effect/Graph";
10105
10105
  var isGraph = (u) => hasProperty(u, TypeId19);
10106
10106
  var toImpl = (graph) => graph;
@@ -10224,7 +10224,7 @@ var hydrate = (snapshot2) => {
10224
10224
  return graph;
10225
10225
  };
10226
10226
 
10227
- // ../../node_modules/effect/dist/internal/schema/annotations.js
10227
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/annotations.js
10228
10228
  function resolve(ast) {
10229
10229
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
10230
10230
  }
@@ -10247,7 +10247,7 @@ var getExpected = /* @__PURE__ */ memoize((ast) => {
10247
10247
  });
10248
10248
  var annotationExcludedKeys = /* @__PURE__ */ new Set([SENTINELS_ANNOTATION_KEY, STRUCTURAL_ANNOTATION_KEY, "representation", "arbitraryConstraint", "toJsonSchema", "toCode", "toEquivalence", "toFormatter", "toCodec", "toCodecJson", "toCodecStringTree", "toCodecIso", "toCodecArbitrary"]);
10249
10249
 
10250
- // ../../node_modules/effect/dist/internal/schema/parser.js
10250
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/parser.js
10251
10251
  var missing = /* @__PURE__ */ Symbol();
10252
10252
  var succeed7 = succeed4;
10253
10253
  var missingExit = /* @__PURE__ */ succeed7(missing);
@@ -10255,7 +10255,7 @@ var sameExit = /* @__PURE__ */ succeed7(missing);
10255
10255
  var toOption2 = (value3) => value3 === missing ? none2() : some2(value3);
10256
10256
  var fromOptionExit = (option3) => option3._tag === "None" ? missingExit : succeed7(option3.value);
10257
10257
 
10258
- // ../../node_modules/effect/dist/SchemaIssue.js
10258
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/SchemaIssue.js
10259
10259
  var TypeId20 = "~effect/SchemaIssue/Issue";
10260
10260
  function isIssue(u) {
10261
10261
  return hasProperty(u, TypeId20) && u[TypeId20] === TypeId20;
@@ -10598,7 +10598,7 @@ function findMessage(issue) {
10598
10598
  if (typeof message === "string") return message;
10599
10599
  }
10600
10600
 
10601
- // ../../node_modules/effect/dist/internal/schema/cause.js
10601
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/cause.js
10602
10602
  function getSchemaIssue(cause) {
10603
10603
  let issue;
10604
10604
  for (const reason of cause.reasons) {
@@ -10619,7 +10619,7 @@ function getSchemaIssueOrThrow(cause, message) {
10619
10619
  return issue;
10620
10620
  }
10621
10621
 
10622
- // ../../node_modules/effect/dist/encoding/Base64Url.js
10622
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/encoding/Base64Url.js
10623
10623
  var encode3 = (input) => encode2(input).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
10624
10624
  var decode3 = (str) => {
10625
10625
  const stripped = str.replace(/[\n\r]/g, "");
@@ -10647,7 +10647,7 @@ var decode3 = (str) => {
10647
10647
  var decodeString3 = (str) => map2(decode3(str), (_) => decoder3.decode(_));
10648
10648
  var decoder3 = /* @__PURE__ */ new TextDecoder();
10649
10649
 
10650
- // ../../node_modules/effect/dist/SchemaGetter.js
10650
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/SchemaGetter.js
10651
10651
  var makeGetter = (fields) => Object.assign(Object.create(Prototype), fields);
10652
10652
  function fail7(f) {
10653
10653
  return transformOptionalEffect((oe, options4) => fail6(f(oe, options4)));
@@ -10920,7 +10920,7 @@ function collectBracketPathEntries(isLeaf) {
10920
10920
  };
10921
10921
  }
10922
10922
 
10923
- // ../../node_modules/effect/dist/SchemaTransformation.js
10923
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/SchemaTransformation.js
10924
10924
  var Middleware = class extends Class {
10925
10925
  _tag = "Middleware";
10926
10926
  decode;
@@ -11113,7 +11113,7 @@ function fromJsonString(options4) {
11113
11113
  var fromFormData = /* @__PURE__ */ new Transformation(/* @__PURE__ */ decodeFormData(), /* @__PURE__ */ encodeFormData());
11114
11114
  var fromURLSearchParams = /* @__PURE__ */ new Transformation(/* @__PURE__ */ decodeURLSearchParams(), /* @__PURE__ */ encodeURLSearchParams());
11115
11115
 
11116
- // ../../node_modules/effect/dist/SchemaAST.js
11116
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/SchemaAST.js
11117
11117
  function makeGuard(tag2) {
11118
11118
  return (ast) => ast._tag === tag2;
11119
11119
  }
@@ -13242,7 +13242,7 @@ var StringTree = /* @__PURE__ */ new Declaration([], () => (input, ast, options4
13242
13242
  });
13243
13243
  var unknownToStringTree = /* @__PURE__ */ new Link(StringTree, /* @__PURE__ */ passthrough3());
13244
13244
 
13245
- // ../../node_modules/effect/dist/internal/schema/interpreter.js
13245
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/interpreter.js
13246
13246
  var flatMapTransformation = (result4, current, f) => result4 === sameExit ? f(current) : flatMapEager2(result4, f);
13247
13247
  function compileTransformation(transformation) {
13248
13248
  if (transformation._tag === "Middleware") {
@@ -13399,7 +13399,7 @@ function compile(ast, compile2, compileField2, base, specialize) {
13399
13399
  };
13400
13400
  }
13401
13401
 
13402
- // ../../node_modules/effect/dist/internal/schema/compilerRegistry.js
13402
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/compilerRegistry.js
13403
13403
  var invalid3 = /* @__PURE__ */ Symbol();
13404
13404
  var cache = /* @__PURE__ */ new WeakMap();
13405
13405
  var compiler;
@@ -13493,7 +13493,7 @@ function resolve2(ast) {
13493
13493
  return entry;
13494
13494
  }
13495
13495
 
13496
- // ../../node_modules/effect/dist/SchemaParser.js
13496
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/SchemaParser.js
13497
13497
  function makeEffect(schema) {
13498
13498
  const ast = schema.ast;
13499
13499
  let parser;
@@ -13759,7 +13759,7 @@ function makeConstructorSync(ast) {
13759
13759
  var normalCompiler = (ast) => resolve2(ast).parser;
13760
13760
  var constructorCompiler = (ast) => resolve2(ast).makeEffect;
13761
13761
 
13762
- // ../../node_modules/effect/dist/internal/schema/make.js
13762
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/make.js
13763
13763
  var TypeId23 = "~effect/Schema/Schema";
13764
13764
  var RebuildOptions = /* @__PURE__ */ Symbol();
13765
13765
  var SchemaProto = {
@@ -13820,7 +13820,7 @@ function make20(ast, options4) {
13820
13820
  return self;
13821
13821
  }
13822
13822
 
13823
- // ../../node_modules/effect/dist/JsonPointer.js
13823
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/JsonPointer.js
13824
13824
  function escapeToken(token) {
13825
13825
  return token.replace(/~/g, "~0").replace(/\//g, "~1");
13826
13826
  }
@@ -13850,7 +13850,7 @@ function formatUriFragment(path) {
13850
13850
  return path.reduce((fragment, token) => `${fragment}/${formatUriFragmentToken(token)}`, "#");
13851
13851
  }
13852
13852
 
13853
- // ../../node_modules/effect/dist/JsonSchema.js
13853
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/JsonSchema.js
13854
13854
  var META_SCHEMA_URI_DRAFT_07 = "http://json-schema.org/draft-07/schema#";
13855
13855
  var META_SCHEMA_URI_DRAFT_2020_12 = "https://json-schema.org/draft/2020-12/schema";
13856
13856
  function isMetaSchemaUri(value3, uri) {
@@ -14265,7 +14265,7 @@ function convertLegacyId(source, out, targetKey, dialect) {
14265
14265
  }
14266
14266
  }
14267
14267
 
14268
- // ../../node_modules/effect/dist/internal/schema/toCodec.js
14268
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/toCodec.js
14269
14269
  function toCodecJson(schema) {
14270
14270
  return make20(toCodecJsonAST(schema.ast), {
14271
14271
  schema
@@ -14473,11 +14473,11 @@ function toCodecArrayFromSingleASTStep(ast) {
14473
14473
  return ast._tag === "Declaration" || ast._tag === "Arrays" || ast._tag === "Objects" || ast._tag === "Union" || ast._tag === "Suspend" ? ast.recur(toCodecArrayFromSingleAST) : ast;
14474
14474
  }
14475
14475
 
14476
- // ../../node_modules/effect/dist/RegExp.js
14476
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/RegExp.js
14477
14477
  var RegExp2 = globalThis.RegExp;
14478
14478
  var escape = (string3) => string3.replace(/[/\\^$*+?.()|[\]{}]/g, "\\$&");
14479
14479
 
14480
- // ../../node_modules/effect/dist/internal/errors.js
14480
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/errors.js
14481
14481
  function errorWithPath(message, path) {
14482
14482
  if (path.length > 0) {
14483
14483
  message += `
@@ -14486,7 +14486,7 @@ function errorWithPath(message, path) {
14486
14486
  return new Error(message);
14487
14487
  }
14488
14488
 
14489
- // ../../node_modules/effect/dist/internal/schema/toJsonSchemaDocument.js
14489
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/toJsonSchemaDocument.js
14490
14490
  function formatDefinitionReference(key) {
14491
14491
  return `#/$defs/${formatUriFragmentToken(key)}`;
14492
14492
  }
@@ -15115,7 +15115,7 @@ function toJsonSchemaMultiDocument(document, options4) {
15115
15115
  return compileJsonSchema(document.representations, document.representations.map((_, index2) => ["representations", index2]), document.references, options4);
15116
15116
  }
15117
15117
 
15118
- // ../../node_modules/effect/dist/internal/schema/toRepresentation.js
15118
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/toRepresentation.js
15119
15119
  var defaultReferencePolicy = ({
15120
15120
  identifier: identifier2
15121
15121
  }) => identifier2;
@@ -15432,7 +15432,7 @@ function toRepresentations(asts, options4) {
15432
15432
  }
15433
15433
  }
15434
15434
 
15435
- // ../../node_modules/effect/dist/internal/schema/standardSchema.js
15435
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/standardSchema.js
15436
15436
  function makeStandardResult(exit3) {
15437
15437
  return isSuccess4(exit3) ? exit3.value : {
15438
15438
  issues: [{
@@ -15532,7 +15532,7 @@ function toStandardJSONSchemaV1(self) {
15532
15532
  });
15533
15533
  }
15534
15534
 
15535
- // ../../node_modules/effect/dist/JsonPatch.js
15535
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/JsonPatch.js
15536
15536
  function get3(oldValue, newValue) {
15537
15537
  const patches = [];
15538
15538
  getLoop(oldValue, newValue, "", patches);
@@ -15713,7 +15713,7 @@ function rebuildFromStack(stack, newParent) {
15713
15713
  return acc;
15714
15714
  }
15715
15715
 
15716
- // ../../node_modules/effect/dist/internal/schema/toDifferJsonPatch.js
15716
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/toDifferJsonPatch.js
15717
15717
  function toDifferJsonPatch(schema) {
15718
15718
  const serializer = toCodecJson(schema);
15719
15719
  const get14 = encodeSync(serializer);
@@ -15730,7 +15730,7 @@ function toDifferJsonPatch(schema) {
15730
15730
  };
15731
15731
  }
15732
15732
 
15733
- // ../../node_modules/effect/dist/internal/schema/toEncoderXml.js
15733
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/toEncoderXml.js
15734
15734
  function toEncoderXml(codec, options4) {
15735
15735
  const rootName = resolveIdentifier(codec.ast) ?? resolveTitle(codec.ast);
15736
15736
  const serialize = encodeEffect(toCodecStringTree(codec));
@@ -15829,7 +15829,7 @@ var xml = {
15829
15829
  }
15830
15830
  };
15831
15831
 
15832
- // ../../node_modules/effect/dist/internal/schema/toEquivalence.js
15832
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/toEquivalence.js
15833
15833
  var toEquivalence = /* @__PURE__ */ memoize((ast) => {
15834
15834
  return recur(ast);
15835
15835
  });
@@ -16013,7 +16013,7 @@ function causeEquivalence(error, defect) {
16013
16013
  return (a, b) => reasons(a.reasons, b.reasons);
16014
16014
  }
16015
16015
 
16016
- // ../../node_modules/effect/dist/internal/schema/toFormatter.js
16016
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/toFormatter.js
16017
16017
  function causeReasonToFormatter(error, defect) {
16018
16018
  return (reason) => {
16019
16019
  switch (reason._tag) {
@@ -16228,7 +16228,7 @@ function toFormatter(ast, options4) {
16228
16228
  }
16229
16229
  }
16230
16230
 
16231
- // ../../node_modules/effect/dist/Struct.js
16231
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Struct.js
16232
16232
  var pick2 = /* @__PURE__ */ dual(2, (self, keys4) => {
16233
16233
  return buildStruct(self, (k, v) => hasPropertyKey(keys4, k) ? [k, v] : void 0);
16234
16234
  });
@@ -16261,7 +16261,7 @@ function buildStruct(source, f) {
16261
16261
  return out;
16262
16262
  }
16263
16263
 
16264
- // ../../node_modules/effect/dist/Optic.js
16264
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Optic.js
16265
16265
  function makeIso(get14, set9) {
16266
16266
  return make21(primitiveNode("Iso", get14, set9));
16267
16267
  }
@@ -16607,7 +16607,7 @@ function id() {
16607
16607
  return identityIso;
16608
16608
  }
16609
16609
 
16610
- // ../../node_modules/effect/dist/internal/schema/toIso.js
16610
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schema/toIso.js
16611
16611
  function toIso(schema) {
16612
16612
  const serializer = toCodecIso(schema);
16613
16613
  return makeIso(encodeSync(serializer), decodeSync(serializer));
@@ -16619,13 +16619,13 @@ function toIsoFocus(_) {
16619
16619
  return id();
16620
16620
  }
16621
16621
 
16622
- // ../../node_modules/effect/dist/internal/schemaError.js
16622
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/schemaError.js
16623
16623
  var SchemaErrorTypeId = "~effect/Schema/SchemaError";
16624
16624
  function isSchemaError(u) {
16625
16625
  return hasProperty(u, SchemaErrorTypeId) && u[SchemaErrorTypeId] === SchemaErrorTypeId;
16626
16626
  }
16627
16627
 
16628
- // ../../node_modules/effect/dist/net/NetAddress.js
16628
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/net/NetAddress.js
16629
16629
  var TypeId24 = "~effect/net/NetAddress";
16630
16630
  var ipv4Value = (self) => self.value;
16631
16631
  var ipv6Words = (self) => self;
@@ -17069,7 +17069,7 @@ var unixPathAddress = (path) => {
17069
17069
  return Object.freeze(self);
17070
17070
  };
17071
17071
 
17072
- // ../../node_modules/effect/dist/net/Host.js
17072
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/net/Host.js
17073
17073
  var TypeId25 = "~effect/net/Host";
17074
17074
  var hostError = (input, message) => fail2(new NetAddressError({
17075
17075
  input,
@@ -17182,7 +17182,7 @@ var formatHostPort = (self) => {
17182
17182
  return host.includes(":") ? `[${host}]:${self.port}` : `${host}:${self.port}`;
17183
17183
  };
17184
17184
 
17185
- // ../../node_modules/effect/dist/net/Dns.js
17185
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/net/Dns.js
17186
17186
  var RecordTypeId = "~effect/net/Dns/DnsRecord";
17187
17187
  var isUint8 = (u) => Number.isInteger(u) && u >= 0 && u <= 255;
17188
17188
  var isUint16 = (u) => Number.isInteger(u) && u >= 0 && u <= 65535;
@@ -17349,7 +17349,7 @@ var formatRecord = (self) => {
17349
17349
  }
17350
17350
  };
17351
17351
 
17352
- // ../../node_modules/effect/dist/net/IpInterface.js
17352
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/net/IpInterface.js
17353
17353
  var TypeId26 = "~effect/net/IpInterface";
17354
17354
  var isIpv4Interface = (u) => isIpInterface(u) && isIpv4Address(u.address);
17355
17355
  var isIpv6Interface = (u) => isIpInterface(u) && isIpv6Address(u.address);
@@ -17411,7 +17411,7 @@ var ipv6FromString2 = (input, options4) => flatMap2(parseAddressWithPrefix(input
17411
17411
  var fromString3 = (input, options4) => flatMap2(parseAddressWithPrefix(input, options4), (parts2) => flatMap2(ipFromString(parts2.address), (address2) => make22(address2, parts2.prefixLength ?? width(address2))));
17412
17412
  var format5 = (self) => `${formatIp(self.address)}/${self.prefixLength}`;
17413
17413
 
17414
- // ../../node_modules/effect/dist/net/IpNetwork.js
17414
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/net/IpNetwork.js
17415
17415
  var TypeId27 = "~effect/net/IpNetwork";
17416
17416
  var isIpv4Network = (u) => isIpNetwork(u) && isIpv4Address(u.address);
17417
17417
  var isIpv6Network = (u) => isIpNetwork(u) && isIpv6Address(u.address);
@@ -17480,7 +17480,7 @@ var fromString4 = (input) => {
17480
17480
  };
17481
17481
  var format6 = (self) => `${formatIp(self.address)}/${self.prefixLength}`;
17482
17482
 
17483
- // ../../node_modules/effect/dist/Schema.js
17483
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Schema.js
17484
17484
  var TypeId28 = TypeId23;
17485
17485
  function declareConstructor() {
17486
17486
  return (typeParameters, run3, annotations2) => {
@@ -21287,7 +21287,7 @@ function resolveAnnotationsKey(schema) {
21287
21287
  return schema.ast.context?.annotations;
21288
21288
  }
21289
21289
 
21290
- // ../../node_modules/effect/dist/MutableHashMap.js
21290
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/MutableHashMap.js
21291
21291
  var TypeId29 = "~effect/MutableHashMap";
21292
21292
  var MutableHashMapProto = {
21293
21293
  [TypeId29]: TypeId29,
@@ -21396,7 +21396,7 @@ var clear = (self) => {
21396
21396
  };
21397
21397
  var size6 = (self) => self.backing.size;
21398
21398
 
21399
- // ../../node_modules/effect/dist/Fiber.js
21399
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Fiber.js
21400
21400
  var await_ = fiberAwait;
21401
21401
  var join = fiberJoin;
21402
21402
  var joinAll = fiberJoinAll;
@@ -21404,11 +21404,11 @@ var interrupt4 = fiberInterrupt;
21404
21404
  var getCurrent = getCurrentFiber;
21405
21405
  var runIn = fiberRunIn;
21406
21406
 
21407
- // ../../node_modules/effect/dist/Latch.js
21407
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Latch.js
21408
21408
  var makeUnsafe7 = makeLatchUnsafe;
21409
21409
  var make25 = makeLatch;
21410
21410
 
21411
- // ../../node_modules/effect/dist/MutableRef.js
21411
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/MutableRef.js
21412
21412
  var TypeId30 = "~effect/MutableRef";
21413
21413
  var MutableRefProto = {
21414
21414
  [TypeId30]: TypeId30,
@@ -21431,7 +21431,7 @@ var set6 = /* @__PURE__ */ dual(2, (self, value3) => {
21431
21431
  return self;
21432
21432
  });
21433
21433
 
21434
- // ../../node_modules/effect/dist/MutableList.js
21434
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/MutableList.js
21435
21435
  var Empty = /* @__PURE__ */ Symbol.for("effect/MutableList/Empty");
21436
21436
  var make27 = () => ({
21437
21437
  head: void 0,
@@ -21613,7 +21613,7 @@ var filter8 = (self, f) => {
21613
21613
  };
21614
21614
  var remove7 = (self, value3) => filter8(self, (v) => v !== value3);
21615
21615
 
21616
- // ../../node_modules/effect/dist/PubSub.js
21616
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/PubSub.js
21617
21617
  var TypeId31 = "~effect/PubSub";
21618
21618
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
21619
21619
  var make28 = (options4) => sync3(() => makePubSubUnsafe(options4.atomicPubSub(), /* @__PURE__ */ new Map(), makeUnsafe3(), makeUnsafe7(false), make26(false), options4.strategy(), make26(none2())));
@@ -22753,7 +22753,7 @@ var emptyReplayWindow = {
22753
22753
  close: () => void 0
22754
22754
  };
22755
22755
 
22756
- // ../../node_modules/effect/dist/Queue.js
22756
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Queue.js
22757
22757
  var Queue_exports = {};
22758
22758
  __export(Queue_exports, {
22759
22759
  asDequeue: () => asDequeue,
@@ -23187,7 +23187,7 @@ var finalize = (self, exit3) => {
23187
23187
  openState.awaiters.clear();
23188
23188
  };
23189
23189
 
23190
- // ../../node_modules/effect/dist/Semaphore.js
23190
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Semaphore.js
23191
23191
  var makeUnsafe8 = (permits) => new SemaphoreImpl(permits);
23192
23192
  var waitForPermits = (self, n, effect2) => callback((resume) => {
23193
23193
  if (self.free >= n) return resume(effect2);
@@ -23283,10 +23283,10 @@ var SemaphoreImpl = class {
23283
23283
  }
23284
23284
  };
23285
23285
 
23286
- // ../../node_modules/effect/dist/Take.js
23286
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Take.js
23287
23287
  var toPull = (take6) => isExit2(take6) ? isSuccess4(take6) ? done2(take6.value) : take6 : succeed6(take6);
23288
23288
 
23289
- // ../../node_modules/effect/dist/Channel.js
23289
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Channel.js
23290
23290
  var TypeId33 = "~effect/Channel";
23291
23291
  var isChannel = (u) => hasProperty(u, TypeId33);
23292
23292
  var ChannelProto = {
@@ -24157,13 +24157,13 @@ var toPubSubTake = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced2(function*
24157
24157
  return pubsub;
24158
24158
  }));
24159
24159
 
24160
- // ../../node_modules/effect/dist/ChannelSchema.js
24160
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/ChannelSchema.js
24161
24161
  var decode5 = (schema, options4) => () => {
24162
24162
  const decode7 = decodeEffect2(NonEmptyArray(schema), options4);
24163
24163
  return fromTransform((upstream, _scope) => succeed6(flatMap5(upstream, (chunk) => decode7(chunk))));
24164
24164
  };
24165
24165
 
24166
- // ../../node_modules/effect/dist/PlatformError.js
24166
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/PlatformError.js
24167
24167
  var TypeId34 = "~effect/PlatformError";
24168
24168
  var BadArgument = class extends (/* @__PURE__ */ TaggedError2("BadArgument")) {
24169
24169
  /**
@@ -24208,7 +24208,7 @@ var PlatformError = class extends (/* @__PURE__ */ TaggedError2("PlatformError")
24208
24208
  };
24209
24209
  var badArgument = (options4) => new PlatformError(new BadArgument(options4));
24210
24210
 
24211
- // ../../node_modules/effect/dist/internal/stream.js
24211
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/stream.js
24212
24212
  var TypeId35 = "~effect/Stream";
24213
24213
  var streamVariance = {
24214
24214
  _R: identity,
@@ -24226,7 +24226,7 @@ Stream.prototype = {
24226
24226
  };
24227
24227
  var fromChannel = (channel) => new Stream(channel);
24228
24228
 
24229
- // ../../node_modules/effect/dist/Sink.js
24229
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Sink.js
24230
24230
  var TypeId36 = "~effect/Sink";
24231
24231
  var sinkVariance = {
24232
24232
  _A: identity,
@@ -24279,7 +24279,7 @@ var take4 = (n) => {
24279
24279
  });
24280
24280
  };
24281
24281
 
24282
- // ../../node_modules/effect/dist/Stream.js
24282
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Stream.js
24283
24283
  var Stream_exports = {};
24284
24284
  __export(Stream_exports, {
24285
24285
  DefaultChunkSize: () => DefaultChunkSize2,
@@ -24521,7 +24521,7 @@ __export(Stream_exports, {
24521
24521
  zipWithPreviousAndNext: () => zipWithPreviousAndNext
24522
24522
  });
24523
24523
 
24524
- // ../../node_modules/effect/dist/RcMap.js
24524
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/RcMap.js
24525
24525
  var TypeId37 = "~effect/RcMap";
24526
24526
  var makeUnsafe9 = (options4) => ({
24527
24527
  [TypeId37]: TypeId37,
@@ -24657,7 +24657,7 @@ var touch = /* @__PURE__ */ dual(2, (self, key) => clockWith2((clock) => {
24657
24657
  return void_4;
24658
24658
  }));
24659
24659
 
24660
- // ../../node_modules/effect/dist/internal/rcRef.js
24660
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/internal/rcRef.js
24661
24661
  var TypeId38 = "~effect/RcRef";
24662
24662
  var stateEmpty = {
24663
24663
  _tag: "Empty"
@@ -24787,11 +24787,11 @@ var release2 = (self, state) => {
24787
24787
  return void_4;
24788
24788
  };
24789
24789
 
24790
- // ../../node_modules/effect/dist/RcRef.js
24790
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/RcRef.js
24791
24791
  var make32 = make31;
24792
24792
  var get8 = get7;
24793
24793
 
24794
- // ../../node_modules/effect/dist/Stream.js
24794
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Stream.js
24795
24795
  var TypeId39 = "~effect/Stream";
24796
24796
  var isStream = (u) => hasProperty(u, TypeId39);
24797
24797
  var DefaultChunkSize2 = DefaultChunkSize;
@@ -26362,10 +26362,10 @@ var toPubSubTake2 = /* @__PURE__ */ dual(2, (self, options4) => toPubSubTake(sel
26362
26362
  var toQueue = /* @__PURE__ */ dual(2, (self, options4) => toQueueArray(self.channel, options4));
26363
26363
  var runIntoQueue = /* @__PURE__ */ dual(2, (self, queue) => runIntoQueueArray(self.channel, queue));
26364
26364
 
26365
- // ../../node_modules/effect/dist/FileSystem.js
26365
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/FileSystem.js
26366
26366
  var FileSystem = /* @__PURE__ */ Service("effect/FileSystem");
26367
26367
 
26368
- // ../../node_modules/effect/dist/Path.js
26368
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Path.js
26369
26369
  var TypeId40 = "~effect/Path";
26370
26370
  var Path = /* @__PURE__ */ Service("effect/Path");
26371
26371
  function normalizeStringPosix(path, allowAboveRoot) {
@@ -26833,10 +26833,10 @@ var posixImpl = /* @__PURE__ */ Path.of({
26833
26833
  toNamespacedPath: identity
26834
26834
  });
26835
26835
 
26836
- // ../../node_modules/effect/dist/ErrorReporter.js
26836
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/ErrorReporter.js
26837
26837
  var ignore5 = "~effect/ErrorReporter/ignore";
26838
26838
 
26839
- // ../../node_modules/effect/dist/ManagedRuntime.js
26839
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/ManagedRuntime.js
26840
26840
  var ManagedRuntime_exports = {};
26841
26841
  __export(ManagedRuntime_exports, {
26842
26842
  isManagedRuntime: () => isManagedRuntime,
@@ -26920,7 +26920,7 @@ function provide7(managed, effect2) {
26920
26920
  return flatMap5(managed.contextEffect, (context3) => provideContext2(effect2, context3));
26921
26921
  }
26922
26922
 
26923
- // ../../node_modules/effect/dist/Ref.js
26923
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/Ref.js
26924
26924
  var TypeId42 = "~effect/Ref";
26925
26925
  var RefProto = {
26926
26926
  [TypeId42]: {
@@ -26939,10 +26939,10 @@ var update2 = /* @__PURE__ */ dual(2, (self, f) => sync3(() => {
26939
26939
  self.ref.current = f(self.ref.current);
26940
26940
  }));
26941
26941
 
26942
- // ../../node_modules/effect/dist/UndefinedOr.js
26942
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/UndefinedOr.js
26943
26943
  var map13 = /* @__PURE__ */ dual(2, (self, f) => self === void 0 ? void 0 : f(self));
26944
26944
 
26945
- // ../../node_modules/effect/dist/http/FetchHttpClient.js
26945
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/FetchHttpClient.js
26946
26946
  var FetchHttpClient_exports = {};
26947
26947
  __export(FetchHttpClient_exports, {
26948
26948
  Fetch: () => Fetch,
@@ -26950,7 +26950,7 @@ __export(FetchHttpClient_exports, {
26950
26950
  layer: () => layer
26951
26951
  });
26952
26952
 
26953
- // ../../node_modules/effect/dist/http/HttpClient.js
26953
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpClient.js
26954
26954
  var HttpClient_exports = {};
26955
26955
  __export(HttpClient_exports, {
26956
26956
  HttpClient: () => HttpClient,
@@ -26995,7 +26995,7 @@ __export(HttpClient_exports, {
26995
26995
  withScope: () => withScope
26996
26996
  });
26997
26997
 
26998
- // ../../node_modules/effect/dist/http/HttpBody.js
26998
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpBody.js
26999
26999
  var TypeId43 = "~effect/http/HttpBody";
27000
27000
  var isHttpBody = (u) => hasProperty(u, TypeId43);
27001
27001
  var HttpBodyErrorTypeId = "~effect/http/HttpBody/HttpBodyError";
@@ -27203,7 +27203,7 @@ var fileContentLength = /* @__PURE__ */ fnUntraced2(function* (size8, method, op
27203
27203
  });
27204
27204
  var file = (path, options4) => flatMap5(FileSystem, (fs) => flatMap5(fs.stat(path), (info) => map8(fileContentLength(info.size, "file", options4), (contentLength) => stream(fs.stream(path, options4), options4?.contentType, contentLength))));
27205
27205
 
27206
- // ../../node_modules/effect/dist/http/HttpClientError.js
27206
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpClientError.js
27207
27207
  var HttpClientError_exports = {};
27208
27208
  __export(HttpClientError_exports, {
27209
27209
  DecodeError: () => DecodeError,
@@ -27403,7 +27403,7 @@ var HttpClientErrorSchema = class _HttpClientErrorSchema extends (/* @__PURE__ *
27403
27403
  }
27404
27404
  };
27405
27405
 
27406
- // ../../node_modules/effect/dist/http/HttpClientRequest.js
27406
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpClientRequest.js
27407
27407
  var HttpClientRequest_exports = {};
27408
27408
  __export(HttpClientRequest_exports, {
27409
27409
  accept: () => accept,
@@ -27456,11 +27456,11 @@ __export(HttpClientRequest_exports, {
27456
27456
  updateUrl: () => updateUrl
27457
27457
  });
27458
27458
 
27459
- // ../../node_modules/effect/dist/http/HttpMethod.js
27459
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpMethod.js
27460
27460
  var hasBody = (method) => method !== "GET" && method !== "HEAD" && method !== "OPTIONS" && method !== "TRACE";
27461
27461
  var allShort = [["GET", "get"], ["POST", "post"], ["PUT", "put"], ["DELETE", "del"], ["PATCH", "patch"], ["HEAD", "head"], ["OPTIONS", "options"], ["TRACE", "trace"], ["QUERY", "query"]];
27462
27462
 
27463
- // ../../node_modules/effect/dist/http/internal/httpBody.js
27463
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/internal/httpBody.js
27464
27464
  var updateHeaders = (headers, body) => {
27465
27465
  if (body._tag === "Empty" || body._tag === "FormData") {
27466
27466
  return remove5(remove5(headers, "content-type"), "content-length");
@@ -27476,7 +27476,7 @@ var parseContentLength = (contentLength) => {
27476
27476
  return Number.isSafeInteger(parsed) ? parsed : void 0;
27477
27477
  };
27478
27478
 
27479
- // ../../node_modules/effect/dist/http/Url.js
27479
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/Url.js
27480
27480
  var UrlError = class extends (/* @__PURE__ */ TaggedError2("UrlError")) {
27481
27481
  };
27482
27482
  var make35 = (url, params, hash2) => try_({
@@ -27504,7 +27504,7 @@ var baseUrl = () => {
27504
27504
  return void 0;
27505
27505
  };
27506
27506
 
27507
- // ../../node_modules/effect/dist/http/HttpClientRequest.js
27507
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpClientRequest.js
27508
27508
  var TypeId45 = "~effect/http/HttpClientRequest";
27509
27509
  var isHttpClientRequest = (u) => hasProperty(u, TypeId45);
27510
27510
  var Proto9 = {
@@ -27714,7 +27714,7 @@ var toWeb = (self, options4) => contextWith2((context3) => fromResult2(toWebResu
27714
27714
  signal: options4?.signal
27715
27715
  })));
27716
27716
 
27717
- // ../../node_modules/effect/dist/http/HttpIncomingMessage.js
27717
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpIncomingMessage.js
27718
27718
  var TypeId46 = "~effect/http/HttpIncomingMessage";
27719
27719
  var MaxBodySize = /* @__PURE__ */ Reference("effect/http/HttpIncomingMessage/MaxBodySize", {
27720
27720
  defaultValue: () => void 0
@@ -27744,7 +27744,7 @@ var inspect = (self, that) => {
27744
27744
  return obj;
27745
27745
  };
27746
27746
 
27747
- // ../../node_modules/effect/dist/http/HttpClientResponse.js
27747
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpClientResponse.js
27748
27748
  var TypeId47 = "~effect/http/HttpClientResponse";
27749
27749
  var fromWeb2 = (request3, source) => new WebHttpClientResponse(request3, source);
27750
27750
  var filterStatus = /* @__PURE__ */ dual(2, (self, f) => suspend3(() => f(self.status) ? succeed6(self) : fail6(new HttpClientError({
@@ -27884,7 +27884,7 @@ var WebHttpClientResponse = class extends Class2 {
27884
27884
  }
27885
27885
  };
27886
27886
 
27887
- // ../../node_modules/effect/dist/http/HttpTraceContext.js
27887
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpTraceContext.js
27888
27888
  var toHeaders = (span2) => fromRecordUnsafe({
27889
27889
  b3: `${span2.traceId}-${span2.spanId}-${span2.sampled ? "1" : "0"}${match(span2.parent, {
27890
27890
  onNone: () => "",
@@ -27893,7 +27893,7 @@ var toHeaders = (span2) => fromRecordUnsafe({
27893
27893
  traceparent: `00-${span2.traceId}-${span2.spanId}-${span2.sampled ? "01" : "00"}`
27894
27894
  });
27895
27895
 
27896
- // ../../node_modules/effect/dist/http/internal/tracing.js
27896
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/internal/tracing.js
27897
27897
  var defaultPorts = {
27898
27898
  "http:": 80,
27899
27899
  "https:": 443,
@@ -27923,7 +27923,7 @@ var addHeaderAttributes = (span2, phase, headers, filter11, redactedNames) => {
27923
27923
  }
27924
27924
  };
27925
27925
 
27926
- // ../../node_modules/effect/dist/http/HttpClient.js
27926
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpClient.js
27927
27927
  var TypeId48 = "~effect/http/HttpClient";
27928
27928
  var isHttpClient = (u) => hasProperty(u, TypeId48);
27929
27929
  var HttpClient = /* @__PURE__ */ Service("effect/HttpClient");
@@ -28458,7 +28458,7 @@ var isTransientHttpError = (error) => isHttpClientError(error) && (error.reason.
28458
28458
  var isTooManyRequestsHttpClientError = (error) => isHttpClientError(error) && error.reason._tag === "StatusCodeError" && error.reason.response.status === 429;
28459
28459
  var isTransientResponse = (response) => response.status === 408 || response.status === 429 || response.status === 500 || response.status === 502 || response.status === 503 || response.status === 504;
28460
28460
 
28461
- // ../../node_modules/effect/dist/http/FetchHttpClient.js
28461
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/FetchHttpClient.js
28462
28462
  var Fetch = /* @__PURE__ */ Reference("effect/http/FetchHttpClient/Fetch", {
28463
28463
  defaultValue: () => globalThis.fetch
28464
28464
  });
@@ -28500,11 +28500,11 @@ var fetch2 = /* @__PURE__ */ make37((request3, url, signal, fiber3) => {
28500
28500
  });
28501
28501
  var layer = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
28502
28502
 
28503
- // ../../node_modules/effect/dist/http/internal/headers.js
28503
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/internal/headers.js
28504
28504
  var Proto11 = /* @__PURE__ */ Object.getPrototypeOf(empty8);
28505
28505
  var emptyMutableUnsafe = () => Object.create(Proto11);
28506
28506
 
28507
- // ../../node_modules/effect/dist/http/HttpServerResponse.js
28507
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpServerResponse.js
28508
28508
  var TypeId49 = "~effect/http/HttpServerResponse";
28509
28509
  var empty15 = (options4) => makeResponse({
28510
28510
  status: options4?.status ?? 204,
@@ -28734,10 +28734,10 @@ var makeResponse = (options4, ownedHeaders) => {
28734
28734
  return self;
28735
28735
  };
28736
28736
 
28737
- // ../../node_modules/effect/dist/http/HttpServerRespondable.js
28737
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpServerRespondable.js
28738
28738
  var symbol4 = "~effect/http/HttpServerRespondable";
28739
28739
 
28740
- // ../../node_modules/effect/dist/http/HttpServerError.js
28740
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpServerError.js
28741
28741
  var TypeId50 = "~effect/http/HttpServerError";
28742
28742
  var HttpServerError = class extends (/* @__PURE__ */ TaggedError2("HttpServerError")) {
28743
28743
  constructor(props) {
@@ -28839,7 +28839,7 @@ var formatRequestMessage = (reason, description, info) => {
28839
28839
  return description ? `${prefix}: ${description}` : prefix;
28840
28840
  };
28841
28841
 
28842
- // ../../node_modules/effect/dist/http/MultipartParser/internal/contentType.js
28842
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/MultipartParser/internal/contentType.js
28843
28843
  var paramRE = /; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u{10ffff}]|\\[\v\u0020-\u{10ffff}])*"|[!#$%&'*+.^\w`|~-]+) */gu;
28844
28844
  var quotedPairRE = /\\([\v\u0020-\u{10ffff}])/gu;
28845
28845
  var mediaTypeRE = /^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u;
@@ -28890,7 +28890,7 @@ function parse(header2, withoutSlash = false) {
28890
28890
  return result4;
28891
28891
  }
28892
28892
 
28893
- // ../../node_modules/effect/dist/http/MultipartParser/internal/headers.js
28893
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/MultipartParser/internal/headers.js
28894
28894
  var constMaxPairs = 100;
28895
28895
  var constMaxSize = 16 * 1024;
28896
28896
  var State = {
@@ -29095,7 +29095,7 @@ function make38() {
29095
29095
  };
29096
29096
  }
29097
29097
 
29098
- // ../../node_modules/effect/dist/http/MultipartParser/internal/search.js
29098
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/MultipartParser/internal/search.js
29099
29099
  function makeState(needle_) {
29100
29100
  const needle = new TextEncoder().encode(needle_);
29101
29101
  const needleLength = needle.length;
@@ -29215,7 +29215,7 @@ function make39(needle, callback4, seed, minimumChunkLength) {
29215
29215
  };
29216
29216
  }
29217
29217
 
29218
- // ../../node_modules/effect/dist/http/MultipartParser/internal/multipart.js
29218
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/MultipartParser/internal/multipart.js
29219
29219
  var State2 = {
29220
29220
  headers: 0,
29221
29221
  body: 1
@@ -29459,12 +29459,12 @@ function decodeField(info, value3) {
29459
29459
  return getDecoder(info.contentTypeParameters.charset ?? "utf-8").decode(value3);
29460
29460
  }
29461
29461
 
29462
- // ../../node_modules/effect/dist/http/MultipartParser.js
29462
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/MultipartParser.js
29463
29463
  var make41 = make40;
29464
29464
  var defaultIsFile2 = defaultIsFile;
29465
29465
  var decodeField2 = decodeField;
29466
29466
 
29467
- // ../../node_modules/effect/dist/http/Multipart.js
29467
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/Multipart.js
29468
29468
  var TypeId51 = "~effect/http/Multipart";
29469
29469
  var MultipartErrorTypeId = "~effect/http/Multipart/MultipartError";
29470
29470
  var toMultipartError = (cause) => isMultipartError(cause) ? cause : MultipartError.fromReason("InternalError", cause);
@@ -29764,7 +29764,7 @@ var FieldMimeTypes = /* @__PURE__ */ Reference("effect/http/Multipart/FieldMimeT
29764
29764
  defaultValue: /* @__PURE__ */ constant(["application/json"])
29765
29765
  });
29766
29766
 
29767
- // ../../node_modules/effect/dist/http/HttpServerRequest.js
29767
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpServerRequest.js
29768
29768
  var TypeId52 = "~effect/http/HttpServerRequest";
29769
29769
  var HttpServerRequest = /* @__PURE__ */ Service("effect/http/HttpServerRequest");
29770
29770
  var removeHost = (url) => {
@@ -30160,7 +30160,7 @@ var isFormData = (u) => typeof FormData !== "undefined" && u instanceof FormData
30160
30160
  var isBodyInit = (u) => typeof u === "string" || typeof ArrayBuffer !== "undefined" && (u instanceof ArrayBuffer || ArrayBuffer.isView(u)) || typeof Blob !== "undefined" && u instanceof Blob || isFormData(u) || typeof URLSearchParams !== "undefined" && u instanceof URLSearchParams || isReadableStream3(u);
30161
30161
  var textDecoder2 = /* @__PURE__ */ new TextDecoder();
30162
30162
 
30163
- // ../../node_modules/effect/dist/http/HttpMiddleware.js
30163
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpMiddleware.js
30164
30164
  var loggerDisabledRequests = /* @__PURE__ */ new WeakSet();
30165
30165
  var withLoggerDisabled = (self) => withFiber2((fiber3) => {
30166
30166
  const request3 = getUnsafe(fiber3.context, HttpServerRequest);
@@ -30168,7 +30168,7 @@ var withLoggerDisabled = (self) => withFiber2((fiber3) => {
30168
30168
  return self;
30169
30169
  });
30170
30170
 
30171
- // ../../node_modules/effect/dist/http/HttpRouter.js
30171
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpRouter.js
30172
30172
  var HttpRouter = /* @__PURE__ */ Service("effect/http/HttpRouter");
30173
30173
  var removeTrailingSlash = (path) => path.endsWith("/") ? path.slice(0, -1) : path;
30174
30174
  var prefixPath = /* @__PURE__ */ dual(2, (self, prefix) => {
@@ -30250,7 +30250,7 @@ var getMiddleware = (context3) => {
30250
30250
  };
30251
30251
  var disableLogger = middleware(withLoggerDisabled).layer;
30252
30252
 
30253
- // ../../node_modules/effect/dist/http/HttpStatus.js
30253
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http/HttpStatus.js
30254
30254
  var codeByLiteral = {
30255
30255
  Continue: 100,
30256
30256
  SwitchingProtocols: 101,
@@ -30317,7 +30317,7 @@ var codeByLiteral = {
30317
30317
  };
30318
30318
  var fromLiteral = (literal) => codeByLiteral[literal];
30319
30319
 
30320
- // ../../node_modules/@opentunnel/protocol/dist/api-retry.js
30320
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/api-retry.js
30321
30321
  var api_retry_exports = {};
30322
30322
  __export(api_retry_exports, {
30323
30323
  ApiRetry: () => api_retry_exports,
@@ -30364,7 +30364,7 @@ var statusMessage = (status2, body) => {
30364
30364
  return trimmed ? Array.from(trimmed).slice(0, 200).join("") : `HTTP ${status2}`;
30365
30365
  };
30366
30366
 
30367
- // ../../node_modules/@opentunnel/protocol/dist/csr.js
30367
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/csr.js
30368
30368
  var csr_exports = {};
30369
30369
  __export(csr_exports, {
30370
30370
  CSR: () => csr_exports,
@@ -30374,7 +30374,7 @@ __export(csr_exports, {
30374
30374
  var Raw2 = Schema_exports.String.pipe(Schema_exports.brand("CSR.Raw"));
30375
30375
  var Hostname = Schema_exports.String.pipe(Schema_exports.brand("Hostname"));
30376
30376
 
30377
- // ../../node_modules/@opentunnel/protocol/dist/tunnel.js
30377
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/tunnel.js
30378
30378
  var tunnel_exports = {};
30379
30379
  __export(tunnel_exports, {
30380
30380
  CertificateNotReadyError: () => CertificateNotReadyError,
@@ -30388,7 +30388,7 @@ __export(tunnel_exports, {
30388
30388
  Tunnel: () => tunnel_exports
30389
30389
  });
30390
30390
 
30391
- // ../../node_modules/@opentunnel/protocol/dist/certificate.js
30391
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/certificate.js
30392
30392
  var certificate_exports = {};
30393
30393
  __export(certificate_exports, {
30394
30394
  Certificate: () => certificate_exports,
@@ -30402,7 +30402,7 @@ __export(certificate_exports, {
30402
30402
  Token: () => Token
30403
30403
  });
30404
30404
 
30405
- // ../../node_modules/@opentunnel/protocol/dist/newtype.js
30405
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/newtype.js
30406
30406
  function Newtype() {
30407
30407
  return (tag2, schema) => {
30408
30408
  class Base {
@@ -30415,7 +30415,7 @@ function Newtype() {
30415
30415
  };
30416
30416
  }
30417
30417
 
30418
- // ../../node_modules/@opentunnel/protocol/dist/certificate.js
30418
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/certificate.js
30419
30419
  var ID = class extends Newtype()("CertificateID", Schema_exports.String) {
30420
30420
  };
30421
30421
  var Token = Schema_exports.String.pipe(Schema_exports.brand("ChallengeToken"));
@@ -30448,7 +30448,7 @@ var Info = class extends Schema_exports.Class("Certificate")({
30448
30448
  }) {
30449
30449
  };
30450
30450
 
30451
- // ../../node_modules/@opentunnel/protocol/dist/tunnel.js
30451
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/tunnel.js
30452
30452
  var ID2 = class extends Newtype()("TunnelID", Schema_exports.String) {
30453
30453
  };
30454
30454
  var Token2 = Schema_exports.String.pipe(Schema_exports.brand("TunnelToken"));
@@ -30473,7 +30473,7 @@ var Info2 = class extends Schema_exports.Class("Tunnel/Info")({
30473
30473
  }) {
30474
30474
  };
30475
30475
 
30476
- // ../../node_modules/@opentunnel/client/package.json
30476
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/client/package.json
30477
30477
  var package_default = {
30478
30478
  name: "@opentunnel/client",
30479
30479
  version: "0.5.1",
@@ -30530,7 +30530,7 @@ var package_default = {
30530
30530
  }
30531
30531
  };
30532
30532
 
30533
- // ../../node_modules/effect/dist/http-api/HttpApi.js
30533
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/HttpApi.js
30534
30534
  var HttpApi_exports = {};
30535
30535
  __export(HttpApi_exports, {
30536
30536
  AdditionalSchemas: () => AdditionalSchemas,
@@ -30547,7 +30547,7 @@ __export(HttpApi_exports, {
30547
30547
  reflect: () => reflect
30548
30548
  });
30549
30549
 
30550
- // ../../node_modules/effect/dist/http-api/HttpApiEndpoint.js
30550
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/HttpApiEndpoint.js
30551
30551
  var HttpApiEndpoint_exports = {};
30552
30552
  __export(HttpApiEndpoint_exports, {
30553
30553
  delete: () => del3,
@@ -30565,7 +30565,7 @@ __export(HttpApiEndpoint_exports, {
30565
30565
  query: () => query3
30566
30566
  });
30567
30567
 
30568
- // ../../node_modules/effect/dist/http-api/HttpApiSchema.js
30568
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/HttpApiSchema.js
30569
30569
  var HttpApiSchema_exports = {};
30570
30570
  __export(HttpApiSchema_exports, {
30571
30571
  Accepted: () => Accepted,
@@ -30606,7 +30606,7 @@ __export(HttpApiSchema_exports, {
30606
30606
  withHeaders: () => withHeaders
30607
30607
  });
30608
30608
 
30609
- // ../../node_modules/effect/dist/encoding/Sse.js
30609
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/encoding/Sse.js
30610
30610
  var SseErrorTypeId = "~effect/encoding/Sse/SseError";
30611
30611
  var EventTooLarge = class extends (/* @__PURE__ */ TaggedError2("EventTooLarge")) {
30612
30612
  get message() {
@@ -30844,7 +30844,7 @@ var Retry = class _Retry extends (/* @__PURE__ */ TaggedClass("Retry")) {
30844
30844
  }
30845
30845
  };
30846
30846
 
30847
- // ../../node_modules/effect/dist/http-api/HttpApiSchema.js
30847
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/HttpApiSchema.js
30848
30848
  var StreamSchemaTypeId = "~effect/http-api/HttpApiSchema/Stream";
30849
30849
  function status(code) {
30850
30850
  const statusCode = typeof code === "string" ? fromLiteral(code) : code;
@@ -31076,14 +31076,14 @@ function getStatusErrorSchema(schema) {
31076
31076
  return getStatusError(schema.ast);
31077
31077
  }
31078
31078
 
31079
- // ../../node_modules/effect/dist/http-api/internal/mediaType.js
31079
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/internal/mediaType.js
31080
31080
  function normalize3(contentType) {
31081
31081
  const normalized = contentType.toLowerCase().trim();
31082
31082
  const index2 = normalized.indexOf(";");
31083
31083
  return index2 === -1 ? normalized : normalized.slice(0, index2).trim();
31084
31084
  }
31085
31085
 
31086
- // ../../node_modules/effect/dist/http-api/HttpApiEndpoint.js
31086
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/HttpApiEndpoint.js
31087
31087
  var TypeId53 = "~effect/http-api/HttpApiEndpoint";
31088
31088
  var isHttpApiEndpoint = (u) => hasProperty(u, TypeId53);
31089
31089
  function getPayloadSchemas(endpoint2) {
@@ -31407,7 +31407,7 @@ var del3 = /* @__PURE__ */ make42("DELETE");
31407
31407
  var head5 = /* @__PURE__ */ make42("HEAD");
31408
31408
  var options3 = /* @__PURE__ */ make42("OPTIONS");
31409
31409
 
31410
- // ../../node_modules/effect/dist/http-api/HttpApi.js
31410
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/HttpApi.js
31411
31411
  var TypeId54 = "~effect/http-api/HttpApi";
31412
31412
  var isHttpApi = (u) => hasProperty(u, TypeId54);
31413
31413
  var Proto14 = {
@@ -31550,7 +31550,7 @@ var getSlotParseOptions = (annotations2) => {
31550
31550
  };
31551
31551
  };
31552
31552
 
31553
- // ../../node_modules/effect/dist/http-api/HttpApiError.js
31553
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/HttpApiError.js
31554
31554
  var badRequestResponse = /* @__PURE__ */ empty15({
31555
31555
  status: 400
31556
31556
  });
@@ -31753,7 +31753,7 @@ var HttpApiSchemaError = class _HttpApiSchemaError extends (/* @__PURE__ */ Tagg
31753
31753
  }
31754
31754
  };
31755
31755
 
31756
- // ../../node_modules/effect/dist/http-api/HttpApiMiddleware.js
31756
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/HttpApiMiddleware.js
31757
31757
  var HttpApiMiddleware_exports = {};
31758
31758
  __export(HttpApiMiddleware_exports, {
31759
31759
  Service: () => Service2,
@@ -31803,7 +31803,7 @@ var layerClient = (tag2, service4) => effectContext(gen3(function* () {
31803
31803
  return makeUnsafe(/* @__PURE__ */ new Map([[`${tag2.key}/Client`, (options4) => updateContext2(middleware2(options4), (requestContext) => merge(services, requestContext))]]));
31804
31804
  }));
31805
31805
 
31806
- // ../../node_modules/effect/dist/http-api/internal/path.js
31806
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/internal/path.js
31807
31807
  var emptyParamNames = /* @__PURE__ */ new Set();
31808
31808
  function getParamNames(schema) {
31809
31809
  if (schema === void 0) return emptyParamNames;
@@ -31811,7 +31811,7 @@ function getParamNames(schema) {
31811
31811
  return isObjects(ast) && ast.indexSignatures.length === 0 ? new Set(ast.propertySignatures.map((ps) => String(ps.name))) : void 0;
31812
31812
  }
31813
31813
 
31814
- // ../../node_modules/effect/dist/http-api/OpenApi.js
31814
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/OpenApi.js
31815
31815
  var OpenApi_exports = {};
31816
31816
  __export(OpenApi_exports, {
31817
31817
  Deprecated: () => Deprecated,
@@ -32508,7 +32508,7 @@ var securitySchemeForComparison = (scheme) => {
32508
32508
  return scheme;
32509
32509
  };
32510
32510
 
32511
- // ../../node_modules/effect/dist/http-api/HttpApiClient.js
32511
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/HttpApiClient.js
32512
32512
  var HttpApiClient_exports = {};
32513
32513
  __export(HttpApiClient_exports, {
32514
32514
  endpoint: () => endpoint,
@@ -33032,7 +33032,7 @@ function getEncodePayloadSchemaFromBody(schema, method) {
33032
33032
  return out;
33033
33033
  }
33034
33034
 
33035
- // ../../node_modules/effect/dist/http-api/HttpApiGroup.js
33035
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/HttpApiGroup.js
33036
33036
  var HttpApiGroup_exports = {};
33037
33037
  __export(HttpApiGroup_exports, {
33038
33038
  isHttpApiGroup: () => isHttpApiGroup,
@@ -33114,7 +33114,7 @@ var make45 = (identifier2, options4) => makeProto4({
33114
33114
  annotations: empty()
33115
33115
  });
33116
33116
 
33117
- // ../../node_modules/effect/dist/http-api/HttpApiSecurity.js
33117
+ // ../../packages/opentunnel-runtime/node_modules/effect/dist/http-api/HttpApiSecurity.js
33118
33118
  var HttpApiSecurity_exports = {};
33119
33119
  __export(HttpApiSecurity_exports, {
33120
33120
  annotate: () => annotate3,
@@ -33159,7 +33159,7 @@ var annotate3 = /* @__PURE__ */ dual(3, (self, service4, value3) => Object.assig
33159
33159
  annotations: add(self.annotations, service4, value3)
33160
33160
  }));
33161
33161
 
33162
- // ../../node_modules/@opentunnel/protocol/dist/api/errors.js
33162
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/api/errors.js
33163
33163
  var InvalidRequestError = class extends Schema_exports.TaggedError()("InvalidRequestError", { message: Schema_exports.String }, { httpApiStatus: 400 }) {
33164
33164
  };
33165
33165
  var UnauthorizedError = class extends Schema_exports.TaggedError()("UnauthorizedError", { message: Schema_exports.String }, { httpApiStatus: 401 }) {
@@ -33177,7 +33177,7 @@ var CertificateInProgressError = class extends Schema_exports.TaggedError()("Cer
33177
33177
  var ServiceUnavailableError = class extends Schema_exports.TaggedError()("ServiceUnavailableError", { message: Schema_exports.String }, { httpApiStatus: 503 }) {
33178
33178
  };
33179
33179
 
33180
- // ../../node_modules/@opentunnel/protocol/dist/api/auth.js
33180
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/api/auth.js
33181
33181
  var OpenTunnelAuthorizationToken = class extends Context_exports.Service()("@opentunnel/protocol/OpenTunnelAuthorizationToken") {
33182
33182
  };
33183
33183
  var OpenTunnelAuthorization = class extends HttpApiMiddleware_exports.Service()("@opentunnel/protocol/OpenTunnelAuthorization", {
@@ -33186,7 +33186,7 @@ var OpenTunnelAuthorization = class extends HttpApiMiddleware_exports.Service()(
33186
33186
  }) {
33187
33187
  };
33188
33188
 
33189
- // ../../node_modules/@opentunnel/protocol/dist/api/tunnel.js
33189
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/api/tunnel.js
33190
33190
  var CreateTunnelRequest = Schema_exports.Struct({
33191
33191
  /** No longer supported; the server rejects requests that set it. */
33192
33192
  name: Schema_exports.String.pipe(Schema_exports.optional)
@@ -33235,14 +33235,14 @@ var TunnelGroup = HttpApiGroup_exports.make("tunnel").add(HttpApiEndpoint_export
33235
33235
  description: "This endpoint upgrades to the opentunnel WebSocket protocol."
33236
33236
  }))).annotateMerge(OpenApi_exports.annotations({ title: "tunnel" }));
33237
33237
 
33238
- // ../../node_modules/@opentunnel/protocol/dist/api/api.js
33238
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/api/api.js
33239
33239
  var Api = HttpApi_exports.make("opentunnel").add(TunnelGroup).annotateMerge(OpenApi_exports.annotations({
33240
33240
  title: "OpenTunnel API",
33241
33241
  version: "0.1.0",
33242
33242
  description: "Create and manage blind TLS tunnels."
33243
33243
  }));
33244
33244
 
33245
- // ../../node_modules/@opentunnel/client/dist/effect/api.js
33245
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/client/dist/effect/api.js
33246
33246
  var USER_AGENT = `opentunnel-sdk/${package_default.version}`;
33247
33247
  var CONNECT_ERRORS = /* @__PURE__ */ new Set([
33248
33248
  "ConnectionRefused",
@@ -33291,7 +33291,7 @@ var OpenTunnelApiClient = class _OpenTunnelApiClient extends Context_exports.Ser
33291
33291
  }
33292
33292
  };
33293
33293
 
33294
- // ../../node_modules/@opentunnel/client/dist/effect/csr.js
33294
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/client/dist/effect/csr.js
33295
33295
  var der = (tag2, ...contents) => {
33296
33296
  const body = concat2(contents);
33297
33297
  const length = body.length < 128 ? [body.length] : (() => {
@@ -33348,13 +33348,13 @@ async function certificateRequest(hostname, keys4) {
33348
33348
  ${base64}-----END CERTIFICATE REQUEST-----`;
33349
33349
  }
33350
33350
 
33351
- // ../../node_modules/@opentunnel/client/dist/effect/errors.js
33351
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/client/dist/effect/errors.js
33352
33352
  var OpenTunnelClientError = class extends Schema_exports.TaggedError()("OpenTunnelClientError", { message: Schema_exports.String, cause: Schema_exports.optional(Schema_exports.Defect()) }) {
33353
33353
  };
33354
33354
  var OpenTunnelStorageError = class extends Schema_exports.TaggedError()("OpenTunnelStorageError", { message: Schema_exports.String, cause: Schema_exports.optional(Schema_exports.Defect()) }) {
33355
33355
  };
33356
33356
 
33357
- // ../../node_modules/@opentunnel/client/dist/effect/storage.js
33357
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/client/dist/effect/storage.js
33358
33358
  import * as Fs from "node:fs/promises";
33359
33359
  import * as Os from "node:os";
33360
33360
  import * as Path2 from "node:path";
@@ -33511,12 +33511,12 @@ function xdg(options4 = {}) {
33511
33511
  };
33512
33512
  }
33513
33513
 
33514
- // ../../node_modules/@opentunnel/client/dist/effect/tunnel.js
33514
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/client/dist/effect/tunnel.js
33515
33515
  import * as Net from "node:net";
33516
33516
  import { Duplex } from "node:stream";
33517
33517
  import * as Tls from "node:tls";
33518
33518
 
33519
- // ../../node_modules/@opentunnel/protocol/dist/bridge-protocol.js
33519
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/bridge-protocol.js
33520
33520
  var bridge_protocol_exports = {};
33521
33521
  __export(bridge_protocol_exports, {
33522
33522
  AttachErrorMessage: () => AttachErrorMessage,
@@ -33686,7 +33686,7 @@ function buildDataFrame(conn, payload) {
33686
33686
  return result4;
33687
33687
  }
33688
33688
 
33689
- // ../../node_modules/@opentunnel/protocol/dist/names.js
33689
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/names.js
33690
33690
  var names_exports = {};
33691
33691
  __export(names_exports, {
33692
33692
  Names: () => names_exports,
@@ -33732,7 +33732,7 @@ var parseTarget = (value3) => {
33732
33732
  return { host, port };
33733
33733
  };
33734
33734
 
33735
- // ../../node_modules/@opentunnel/protocol/dist/proxy-protocol.js
33735
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/protocol/dist/proxy-protocol.js
33736
33736
  var proxy_protocol_exports = {};
33737
33737
  __export(proxy_protocol_exports, {
33738
33738
  PUBLIC_PORT: () => PUBLIC_PORT,
@@ -33903,7 +33903,7 @@ var v2 = (source, sni) => {
33903
33903
  return out;
33904
33904
  };
33905
33905
 
33906
- // ../../node_modules/@opentunnel/client/dist/effect/tunnel.js
33906
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/client/dist/effect/tunnel.js
33907
33907
  var BunWebSocket = WebSocket;
33908
33908
  var VERSION = "0.1.0";
33909
33909
  var MAX_CONNS = 256;
@@ -34385,7 +34385,7 @@ var Channel = class {
34385
34385
  }
34386
34386
  };
34387
34387
 
34388
- // ../../node_modules/@opentunnel/client/dist/effect/client.js
34388
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/client/dist/effect/client.js
34389
34389
  var profileName = (options4) => options4?.profile ?? "default";
34390
34390
  var describeApiError = (cause) => {
34391
34391
  if (HttpClientError_exports.isHttpClientError(cause)) {
@@ -34634,7 +34634,7 @@ var OpenTunnelClient = class _OpenTunnelClient extends Context_exports.Service()
34634
34634
  }
34635
34635
  };
34636
34636
 
34637
- // ../../node_modules/@opentunnel/client/dist/promise/storage.js
34637
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/client/dist/promise/storage.js
34638
34638
  var EffectStorageSymbol = /* @__PURE__ */ Symbol.for("@opentunnel/client/EffectStorage");
34639
34639
  var wrap = (storage) => ({
34640
34640
  [EffectStorageSymbol]: storage,
@@ -34668,7 +34668,7 @@ function toEffectStorage(storage) {
34668
34668
  };
34669
34669
  }
34670
34670
 
34671
- // ../../node_modules/@opentunnel/client/dist/promise/client.js
34671
+ // ../../packages/opentunnel-runtime/node_modules/@opentunnel/client/dist/promise/client.js
34672
34672
  function create(options4 = {}) {
34673
34673
  const effectOptions = {
34674
34674
  api: options4.api,