@kitman-sh/cli 0.7.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.
@@ -5116,7 +5116,7 @@ var DeferredImpl = function() {
5116
5116
  };
5117
5117
  DeferredImpl.prototype = DeferredProto;
5118
5118
  var makeUnsafe = () => new DeferredImpl;
5119
- var make15 = () => sync2(() => makeUnsafe());
5119
+ var make16 = () => sync2(() => makeUnsafe());
5120
5120
  var _await = (self) => callback2((resume) => {
5121
5121
  if (self.effect)
5122
5122
  return resume(self.effect);
@@ -5418,7 +5418,7 @@ var makeUnsafe7 = (input) => {
5418
5418
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input);
5419
5419
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
5420
5420
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
5421
- var make16 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
5421
+ var make17 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
5422
5422
  var now = /* @__PURE__ */ map8(currentTimeMillis, makeUtc);
5423
5423
  var nowUnsafe = () => makeUtc(Date.now());
5424
5424
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -6245,7 +6245,7 @@ var binaryUnits = [decimalUnits[0], {
6245
6245
  }];
6246
6246
  var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
6247
6247
  var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
6248
- var make17 = (value) => value;
6248
+ var make18 = (value) => value;
6249
6249
  var invalid2 = (message) => {
6250
6250
  throw new Error(`Invalid ByteSize: ${message}`);
6251
6251
  };
@@ -6253,7 +6253,7 @@ var fromNumber = (input) => {
6253
6253
  if (!Number.isSafeInteger(input) || input < 0) {
6254
6254
  return invalid2(`expected a non-negative safe integer, received ${input}`);
6255
6255
  }
6256
- return make17(BigInt(input));
6256
+ return make18(BigInt(input));
6257
6257
  };
6258
6258
  var fromStringUnsafe = (input) => {
6259
6259
  const match = /^\s*(\d+)(?:\.(\d+))?\s*([A-Za-z]+)\s*$/.exec(input);
@@ -6268,14 +6268,14 @@ var fromStringUnsafe = (input) => {
6268
6268
  if (numerator % scale !== bigint04) {
6269
6269
  return invalid2(`${JSON.stringify(input)} does not represent an integral number of bytes`);
6270
6270
  }
6271
- return make17(numerator / scale);
6271
+ return make18(numerator / scale);
6272
6272
  };
6273
6273
  var fromInputUnsafe2 = (input) => {
6274
6274
  switch (typeof input) {
6275
6275
  case "bigint":
6276
6276
  if (input < bigint04)
6277
6277
  return invalid2(`expected a non-negative bigint, received ${input}`);
6278
- return make17(input);
6278
+ return make18(input);
6279
6279
  case "number":
6280
6280
  return fromNumber(input);
6281
6281
  case "string":
@@ -6350,7 +6350,7 @@ var make7 = (value) => {
6350
6350
 
6351
6351
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/MutableList.js
6352
6352
  var Empty = /* @__PURE__ */ Symbol.for("effect/MutableList/Empty");
6353
- var make18 = () => ({
6353
+ var make19 = () => ({
6354
6354
  head: undefined,
6355
6355
  tail: undefined,
6356
6356
  length: 0
@@ -6485,7 +6485,7 @@ var make8 = (options) => withFiber2((fiber) => {
6485
6485
  self.dispatcher = fiber.currentDispatcher;
6486
6486
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
6487
6487
  self.strategy = options?.strategy ?? "suspend";
6488
- self.messages = make18();
6488
+ self.messages = make19();
6489
6489
  self.scheduleRunning = false;
6490
6490
  self.state = {
6491
6491
  _tag: "Open",
@@ -7175,16 +7175,155 @@ var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap(f),
7175
7175
  }), catchDone(() => endVoid)));
7176
7176
  var unwrap3 = (effect) => fromChannel(unwrap2(map3(effect, toChannel)));
7177
7177
 
7178
+ // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/internal/rcRef.js
7179
+ var TypeId16 = "~effect/RcRef";
7180
+ var stateEmpty = {
7181
+ _tag: "Empty"
7182
+ };
7183
+ var stateClosed = {
7184
+ _tag: "Closed"
7185
+ };
7186
+ var variance2 = {
7187
+ _A: identity,
7188
+ _E: identity
7189
+ };
7190
+
7191
+ class RcRefImpl {
7192
+ [TypeId16] = variance2;
7193
+ pipe() {
7194
+ return pipeArguments(this, arguments);
7195
+ }
7196
+ state = stateEmpty;
7197
+ acquire;
7198
+ context;
7199
+ scope;
7200
+ idleTimeToLive;
7201
+ constructor(acquire, context, scope, idleTimeToLive) {
7202
+ this.acquire = acquire;
7203
+ this.context = context;
7204
+ this.scope = scope;
7205
+ this.idleTimeToLive = idleTimeToLive;
7206
+ }
7207
+ }
7208
+ var make21 = (options) => withFiber((fiber) => {
7209
+ const context = fiber.context;
7210
+ const scope = get(context, Scope);
7211
+ const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
7212
+ return as(addFinalizerExit(scope, () => {
7213
+ const state = ref.state;
7214
+ ref.state = stateClosed;
7215
+ if (state._tag === "Acquired")
7216
+ return close(state.scope, void_);
7217
+ if (state._tag === "Acquiring")
7218
+ return interrupt3(state.fiber);
7219
+ return void_2;
7220
+ }), ref);
7221
+ });
7222
+ var getState = (self, restore) => {
7223
+ switch (self.state._tag) {
7224
+ case "Closed": {
7225
+ return interrupt2;
7226
+ }
7227
+ case "Acquired": {
7228
+ const state = self.state;
7229
+ state.refCount++;
7230
+ return state.fiber ? as(interrupt3(state.fiber), state) : succeed5(state);
7231
+ }
7232
+ case "Acquiring": {
7233
+ const state = self.state;
7234
+ state.awaiters++;
7235
+ return awaitAcquiring(self, state, restore);
7236
+ }
7237
+ case "Empty": {
7238
+ const acquiring = {
7239
+ _tag: "Acquiring",
7240
+ fiber: undefined,
7241
+ awaiters: 1,
7242
+ acquired: undefined
7243
+ };
7244
+ self.state = acquiring;
7245
+ const scope = makeUnsafe2();
7246
+ const acquire = provideContext(self.acquire, add(self.context, Scope, scope)).pipe(flatMap((value) => {
7247
+ if (self.state !== acquiring) {
7248
+ return interrupt2;
7249
+ }
7250
+ const state = {
7251
+ _tag: "Acquired",
7252
+ value,
7253
+ scope,
7254
+ fiber: undefined,
7255
+ refCount: acquiring.awaiters,
7256
+ invalidated: false
7257
+ };
7258
+ self.state = state;
7259
+ acquiring.acquired = state;
7260
+ return succeed5(state);
7261
+ }), onExit((exit) => {
7262
+ if (isSuccess2(exit))
7263
+ return void_2;
7264
+ if (self.state === acquiring)
7265
+ self.state = stateEmpty;
7266
+ return close(scope, exit);
7267
+ }));
7268
+ acquiring.fiber = runForkWith(getCurrent().context)(acquire);
7269
+ return awaitAcquiring(self, acquiring, restore);
7270
+ }
7271
+ }
7272
+ };
7273
+ var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
7274
+ const acquired = acquiring.acquired;
7275
+ if (acquired !== undefined) {
7276
+ return isFailure2(exit) ? release(self, acquired) : void_2;
7277
+ }
7278
+ if (--acquiring.awaiters > 0 || self.state !== acquiring)
7279
+ return void_2;
7280
+ self.state = stateEmpty;
7281
+ return interrupt3(acquiring.fiber);
7282
+ });
7283
+ var get4 = (self_) => {
7284
+ const self = self_;
7285
+ return uninterruptibleMask((restore) => flatMap(scope, (scope) => flatMap(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
7286
+ };
7287
+ var release = (self, state) => {
7288
+ state.refCount--;
7289
+ if (state.refCount > 0) {
7290
+ return void_2;
7291
+ }
7292
+ const idleTimeToLive = self.idleTimeToLive;
7293
+ if (idleTimeToLive === undefined || state.invalidated) {
7294
+ if (self.state === state) {
7295
+ self.state = stateEmpty;
7296
+ }
7297
+ return close(state.scope, void_);
7298
+ } else if (!isFinite(idleTimeToLive)) {
7299
+ return void_2;
7300
+ }
7301
+ state.fiber = uninterruptibleMask((restore) => flatMap(restore(sleep(idleTimeToLive)), () => {
7302
+ if (self.state === state && state.refCount === 0) {
7303
+ self.state = stateEmpty;
7304
+ return close(state.scope, void_);
7305
+ }
7306
+ return void_2;
7307
+ })).pipe(ensuring(sync(() => {
7308
+ state.fiber = undefined;
7309
+ })), runForkWith(self.context), runIn(self.scope));
7310
+ return void_2;
7311
+ };
7312
+
7313
+ // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/RcRef.js
7314
+ var make9 = make21;
7315
+ var get2 = get4;
7316
+
7178
7317
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Stream.js
7179
- var TypeId16 = "~effect/Stream";
7180
- var isStream = (u) => hasProperty(u, TypeId16);
7318
+ var TypeId17 = "~effect/Stream";
7319
+ var isStream = (u) => hasProperty(u, TypeId17);
7181
7320
  var fromChannel2 = fromChannel3;
7182
7321
  var fromPull2 = (pull) => fromChannel2(fromPull(pull));
7183
7322
  var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
7184
7323
  var toChannel2 = (stream) => stream.channel;
7185
7324
  var callback3 = (f, options) => fromChannel2(callbackArray(f, options));
7186
7325
  var empty2 = /* @__PURE__ */ fromChannel2(empty5);
7187
- var make9 = (...values) => fromArray2(values);
7326
+ var make10 = (...values) => fromArray2(values);
7188
7327
  var suspend4 = (stream) => fromChannel2(suspend3(() => stream().channel));
7189
7328
  var fail9 = (error) => fromChannel2(fail8(error));
7190
7329
  var fromArray2 = (array) => isReadonlyArrayNonEmpty(array) ? fromChannel2(succeed8(array)) : empty2;
@@ -7303,11 +7442,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
7303
7442
  var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map3(context(), (context) => toReadableStreamWith(self, context, options)));
7304
7443
 
7305
7444
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/FileSystem.js
7306
- var TypeId17 = "~effect/FileSystem";
7445
+ var TypeId18 = "~effect/FileSystem";
7307
7446
  var FileSystem = /* @__PURE__ */ Service("effect/FileSystem");
7308
- var make19 = (impl) => FileSystem.of({
7447
+ var make22 = (impl) => FileSystem.of({
7309
7448
  ...impl,
7310
- [TypeId17]: TypeId17,
7449
+ [TypeId18]: TypeId18,
7311
7450
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed5(false) : fail4(e))),
7312
7451
  readFileString: (path, encoding) => flatMap(impl.readFile(path), (_) => try_({
7313
7452
  try: () => new TextDecoder(encoding).decode(_),
@@ -7362,7 +7501,7 @@ class WatchBackend extends (/* @__PURE__ */ Service()("effect/FileSystem/WatchBa
7362
7501
  }
7363
7502
 
7364
7503
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Path.js
7365
- var TypeId18 = "~effect/Path";
7504
+ var TypeId19 = "~effect/Path";
7366
7505
  var Path = /* @__PURE__ */ Service("effect/Path");
7367
7506
  function normalizeStringPosix(path, allowAboveRoot) {
7368
7507
  let res = "";
@@ -7539,7 +7678,7 @@ function encodePathChars(filepath) {
7539
7678
  return filepath;
7540
7679
  }
7541
7680
  var posixImpl = /* @__PURE__ */ Path.of({
7542
- [TypeId18]: TypeId18,
7681
+ [TypeId19]: TypeId19,
7543
7682
  resolve,
7544
7683
  normalize(path) {
7545
7684
  if (path.length === 0)
@@ -7876,16 +8015,16 @@ var toOption2 = (value) => value === missing ? none() : some2(value);
7876
8015
  var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed9(option.value);
7877
8016
 
7878
8017
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/SchemaIssue.js
7879
- var TypeId19 = "~effect/SchemaIssue/Issue";
8018
+ var TypeId20 = "~effect/SchemaIssue/Issue";
7880
8019
  function isIssue(u) {
7881
- return hasProperty(u, TypeId19) && u[TypeId19] === TypeId19;
8020
+ return hasProperty(u, TypeId20) && u[TypeId20] === TypeId20;
7882
8021
  }
7883
8022
  function hasInput(issue) {
7884
8023
  return Object.hasOwn(issue, "input");
7885
8024
  }
7886
8025
 
7887
8026
  class IssueNodeImpl {
7888
- [TypeId19] = TypeId19;
8027
+ [TypeId20] = TypeId20;
7889
8028
  constructor(input, options) {
7890
8029
  if (options?.reportInput === true && input !== missing) {
7891
8030
  this.input = input;
@@ -8144,7 +8283,7 @@ function getSchemaIssueOrThrow(cause, message) {
8144
8283
 
8145
8284
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/DateTime.js
8146
8285
  var makeUnsafe5 = makeUnsafe7;
8147
- var make20 = make16;
8286
+ var make23 = make17;
8148
8287
  var now2 = now;
8149
8288
  var nowUnsafe2 = nowUnsafe;
8150
8289
  var toDateUtc2 = toDateUtc;
@@ -8350,9 +8489,9 @@ function decodeBase64UrlString() {
8350
8489
  }
8351
8490
 
8352
8491
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/SchemaTransformation.js
8353
- var TypeId20 = "~effect/SchemaTransformation/Transformation";
8492
+ var TypeId21 = "~effect/SchemaTransformation/Transformation";
8354
8493
  var Transformation = class extends Class2 {
8355
- [TypeId20] = TypeId20;
8494
+ [TypeId21] = TypeId21;
8356
8495
  _tag = "Transformation";
8357
8496
  decode;
8358
8497
  encode;
@@ -8366,7 +8505,7 @@ var Transformation = class extends Class2 {
8366
8505
  }
8367
8506
  };
8368
8507
  function isTransformation(u) {
8369
- return hasProperty(u, TypeId20) && u[TypeId20] === TypeId20;
8508
+ return hasProperty(u, TypeId21) && u[TypeId21] === TypeId21;
8370
8509
  }
8371
8510
  var makeTransformation = (options) => {
8372
8511
  if (isTransformation(options)) {
@@ -8483,10 +8622,10 @@ var Context = class {
8483
8622
  this.annotations = annotations;
8484
8623
  }
8485
8624
  };
8486
- var TypeId21 = "~effect/Schema";
8625
+ var TypeId22 = "~effect/Schema";
8487
8626
 
8488
8627
  class ASTNodeImpl {
8489
- [TypeId21] = TypeId21;
8628
+ [TypeId22] = TypeId22;
8490
8629
  annotations;
8491
8630
  checks;
8492
8631
  encoding;
@@ -10252,7 +10391,7 @@ var HandleProto = {
10252
10391
  var makeHandle = (params) => Object.setPrototypeOf({
10253
10392
  ...params
10254
10393
  }, HandleProto);
10255
- var make10 = (spawn) => {
10394
+ var make11 = (spawn) => {
10256
10395
  const streamString = (command, options) => spawn(command).pipe(map3((handle) => decodeText(options?.includeStderr === true ? handle.all : handle.stdout)), unwrap);
10257
10396
  const streamLines = (command, options) => splitLines(streamString(command, options));
10258
10397
  return ChildProcessSpawner.of({
@@ -10269,7 +10408,7 @@ class ChildProcessSpawner extends (/* @__PURE__ */ Service()("effect/process/Chi
10269
10408
  }
10270
10409
 
10271
10410
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/process/ChildProcess.js
10272
- var TypeId22 = "~effect/process/ChildProcess";
10411
+ var TypeId23 = "~effect/process/ChildProcess";
10273
10412
  var Proto3 = {
10274
10413
  .../* @__PURE__ */ Prototype({
10275
10414
  label: "Command",
@@ -10277,7 +10416,7 @@ var Proto3 = {
10277
10416
  return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
10278
10417
  }
10279
10418
  }),
10280
- [TypeId22]: TypeId22
10419
+ [TypeId23]: TypeId23
10281
10420
  };
10282
10421
  var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto3), {
10283
10422
  _tag: "StandardCommand",
@@ -10285,7 +10424,7 @@ var makeStandardCommand = (command, args, options) => Object.assign(Object.creat
10285
10424
  args,
10286
10425
  options
10287
10426
  });
10288
- var make11 = function make(...args) {
10427
+ var make12 = function make(...args) {
10289
10428
  if (isTemplateString(args[0])) {
10290
10429
  const [templates, ...expressions] = args;
10291
10430
  const tokens = parseTemplates(templates, expressions);
@@ -10488,9 +10627,9 @@ function v7Bytes(timestampMillis, bytes = randomBytes()) {
10488
10627
  }
10489
10628
 
10490
10629
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Crypto.js
10491
- var TypeId23 = "~effect/Crypto";
10630
+ var TypeId24 = "~effect/Crypto";
10492
10631
  var Crypto = /* @__PURE__ */ Service("effect/Crypto");
10493
- var make21 = (impl) => {
10632
+ var make24 = (impl) => {
10494
10633
  const randomBytesUnsafe = impl.randomBytes;
10495
10634
  const randomBytes = (size) => map3(validateSize("randomBytes", size), randomBytesUnsafe);
10496
10635
  const readUint53 = (bytes) => (bytes[0] & 31) * 2 ** 48 + bytes[1] * 2 ** 40 + bytes[2] * 2 ** 32 + bytes[3] * 2 ** 24 + bytes[4] * 2 ** 16 + bytes[5] * 2 ** 8 + bytes[6];
@@ -10508,7 +10647,7 @@ var make21 = (impl) => {
10508
10647
  }
10509
10648
  };
10510
10649
  return Crypto.of({
10511
- [TypeId23]: TypeId23,
10650
+ [TypeId24]: TypeId24,
10512
10651
  randomBytes,
10513
10652
  nextDoubleUnsafe,
10514
10653
  nextIntUnsafe,
@@ -10576,11 +10715,11 @@ var digest = (algorithm, data) => try_({
10576
10715
  cause
10577
10716
  })
10578
10717
  });
10579
- var make22 = /* @__PURE__ */ make21({
10718
+ var make25 = /* @__PURE__ */ make24({
10580
10719
  randomBytes: NodeCrypto.randomBytes,
10581
10720
  digest
10582
10721
  });
10583
- var layer5 = /* @__PURE__ */ succeed4(Crypto, make22);
10722
+ var layer5 = /* @__PURE__ */ succeed4(Crypto, make25);
10584
10723
 
10585
10724
  // node_modules/.bun/@effect+platform-bun@4.0.4+b8cbb99ebc524863/node_modules/@effect/platform-bun/dist/BunCrypto.js
10586
10725
  var layer = layer5;
@@ -11030,7 +11169,7 @@ var writeFile2 = (path, data, options) => callback((resume, signal) => {
11030
11169
  resume(fail4(handleBadArgument("writeFile")(err)));
11031
11170
  }
11032
11171
  });
11033
- var makeFileSystem = /* @__PURE__ */ map3(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make19({
11172
+ var makeFileSystem = /* @__PURE__ */ map3(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make22({
11034
11173
  access: access2,
11035
11174
  chmod: chmod2,
11036
11175
  chown: chown2,
@@ -11090,17 +11229,17 @@ var fileUrlOps = (windows) => ({
11090
11229
  })
11091
11230
  });
11092
11231
  var layerPosix = /* @__PURE__ */ succeed4(Path)({
11093
- [TypeId18]: TypeId18,
11232
+ [TypeId19]: TypeId19,
11094
11233
  ...NodePath.posix,
11095
11234
  .../* @__PURE__ */ fileUrlOps(false)
11096
11235
  });
11097
11236
  var layerWin32 = /* @__PURE__ */ succeed4(Path)({
11098
- [TypeId18]: TypeId18,
11237
+ [TypeId19]: TypeId19,
11099
11238
  ...NodePath.win32,
11100
11239
  .../* @__PURE__ */ fileUrlOps(true)
11101
11240
  });
11102
11241
  var layer7 = /* @__PURE__ */ succeed4(Path)({
11103
- [TypeId18]: TypeId18,
11242
+ [TypeId19]: TypeId19,
11104
11243
  ...NodePath,
11105
11244
  .../* @__PURE__ */ fileUrlOps(undefined)
11106
11245
  });
@@ -11109,10 +11248,10 @@ var layer7 = /* @__PURE__ */ succeed4(Path)({
11109
11248
  var layer3 = layer7;
11110
11249
 
11111
11250
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/Cookies.js
11112
- var TypeId24 = "~effect/http/Cookies";
11251
+ var TypeId25 = "~effect/http/Cookies";
11113
11252
  var CookieTypeId = "~effect/http/Cookies/Cookie";
11114
11253
  var Proto4 = {
11115
- [TypeId24]: TypeId24,
11254
+ [TypeId25]: TypeId25,
11116
11255
  ...BaseProto,
11117
11256
  toJSON() {
11118
11257
  return {
@@ -11302,9 +11441,9 @@ var value2 = (self) => {
11302
11441
  };
11303
11442
 
11304
11443
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Redacted.js
11305
- var TypeId25 = "~effect/Redacted";
11306
- var isRedacted = (u) => hasProperty(u, TypeId25);
11307
- var make23 = (value, options) => {
11444
+ var TypeId26 = "~effect/Redacted";
11445
+ var isRedacted = (u) => hasProperty(u, TypeId26);
11446
+ var make26 = (value, options) => {
11308
11447
  const self = Object.create(Proto5);
11309
11448
  if (options?.label) {
11310
11449
  self.label = options.label;
@@ -11313,7 +11452,7 @@ var make23 = (value, options) => {
11313
11452
  return self;
11314
11453
  };
11315
11454
  var Proto5 = {
11316
- [TypeId25]: {
11455
+ [TypeId26]: {
11317
11456
  _A: (_) => _
11318
11457
  },
11319
11458
  label: undefined,
@@ -11334,10 +11473,10 @@ var Proto5 = {
11334
11473
  var value = value2;
11335
11474
 
11336
11475
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/Headers.js
11337
- var TypeId26 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
11476
+ var TypeId27 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
11338
11477
  var Proto6 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
11339
- [TypeId26]: {
11340
- value: TypeId26
11478
+ [TypeId27]: {
11479
+ value: TypeId27
11341
11480
  },
11342
11481
  [symbolRedactable]: {
11343
11482
  value(context) {
@@ -11366,7 +11505,7 @@ var Proto6 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
11366
11505
  value: BaseProto[NodeInspectSymbol]
11367
11506
  }
11368
11507
  });
11369
- var make24 = (input) => Object.assign(Object.create(Proto6), input);
11508
+ var make27 = (input) => Object.assign(Object.create(Proto6), input);
11370
11509
  var Equivalence4 = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ strictEqual());
11371
11510
  var empty3 = /* @__PURE__ */ Object.create(Proto6);
11372
11511
  var fromInput = (input) => {
@@ -11391,21 +11530,21 @@ var fromInput = (input) => {
11391
11530
  };
11392
11531
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto6);
11393
11532
  var set2 = /* @__PURE__ */ dual(3, (self, key, value) => {
11394
- const out = make24(self);
11533
+ const out = make27(self);
11395
11534
  out[key.toLowerCase()] = value;
11396
11535
  return out;
11397
11536
  });
11398
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make24({
11537
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make27({
11399
11538
  ...self,
11400
11539
  ...fromInput(headers)
11401
11540
  }));
11402
11541
  var merge3 = /* @__PURE__ */ dual(2, (self, headers) => {
11403
- const out = make24(self);
11542
+ const out = make27(self);
11404
11543
  Object.assign(out, headers);
11405
11544
  return out;
11406
11545
  });
11407
11546
  var remove3 = /* @__PURE__ */ dual(2, (self, key) => {
11408
- const out = make24(self);
11547
+ const out = make27(self);
11409
11548
  delete out[key.toLowerCase()];
11410
11549
  return out;
11411
11550
  });
@@ -11417,12 +11556,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
11417
11556
  if (typeof key === "string") {
11418
11557
  const k = key.toLowerCase();
11419
11558
  if (k in self) {
11420
- out[k] = make23(self[k]);
11559
+ out[k] = make26(self[k]);
11421
11560
  }
11422
11561
  } else {
11423
11562
  for (const name in self) {
11424
11563
  if (name.search(key) !== -1) {
11425
- out[name] = make23(self[name]);
11564
+ out[name] = make26(self[name]);
11426
11565
  }
11427
11566
  }
11428
11567
  }
@@ -11454,11 +11593,11 @@ var CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentReda
11454
11593
  });
11455
11594
 
11456
11595
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/UrlParams.js
11457
- var TypeId27 = "~effect/http/UrlParams";
11458
- var isUrlParams = (u) => hasProperty(u, TypeId27);
11596
+ var TypeId28 = "~effect/http/UrlParams";
11597
+ var isUrlParams = (u) => hasProperty(u, TypeId28);
11459
11598
  var Proto7 = {
11460
11599
  ...PipeInspectableProto,
11461
- [TypeId27]: TypeId27,
11600
+ [TypeId28]: TypeId28,
11462
11601
  [Symbol.iterator]() {
11463
11602
  return this.params[Symbol.iterator]();
11464
11603
  },
@@ -11475,12 +11614,12 @@ var Proto7 = {
11475
11614
  return array(this.params.flat());
11476
11615
  }
11477
11616
  };
11478
- var make25 = (params) => {
11617
+ var make28 = (params) => {
11479
11618
  const self = Object.create(Proto7);
11480
11619
  self.params = params;
11481
11620
  return self;
11482
11621
  };
11483
- var fromInput2 = (input) => {
11622
+ var fromInput3 = (input) => {
11484
11623
  if (isUrlParams(input)) {
11485
11624
  return input;
11486
11625
  }
@@ -11494,7 +11633,7 @@ var fromInput2 = (input) => {
11494
11633
  out.push(parsed[i]);
11495
11634
  }
11496
11635
  }
11497
- return make25(out);
11636
+ return make28(out);
11498
11637
  };
11499
11638
  var fromInputNested = (input) => {
11500
11639
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -11519,9 +11658,9 @@ var fromInputNested = (input) => {
11519
11658
  };
11520
11659
  var Equivalence5 = /* @__PURE__ */ make((a, b) => arrayEquivalence(a.params, b.params));
11521
11660
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence3(/* @__PURE__ */ makeEquivalence([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ strictEqual()]));
11522
- var empty6 = /* @__PURE__ */ make25([]);
11661
+ var empty6 = /* @__PURE__ */ make28([]);
11523
11662
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
11524
- const params = fromInput2(input).params.slice();
11663
+ const params = fromInput3(input).params.slice();
11525
11664
  const keys = new Set;
11526
11665
  for (let i = 0;i < params.length; i++) {
11527
11666
  keys.add(params[i][0]);
@@ -11531,7 +11670,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
11531
11670
  continue;
11532
11671
  params.push(self.params[i]);
11533
11672
  }
11534
- return make25(params);
11673
+ return make28(params);
11535
11674
  });
11536
11675
 
11537
11676
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/internal/schema/interpreter.js
@@ -11819,7 +11958,7 @@ function makeOption(schema) {
11819
11958
  return none();
11820
11959
  };
11821
11960
  }
11822
- function make26(schema) {
11961
+ function make29(schema) {
11823
11962
  return makeConstructorSync(toType(schema.ast));
11824
11963
  }
11825
11964
  function is2(schema) {
@@ -11971,12 +12110,12 @@ var normalCompiler = (ast) => resolve4(ast).parser;
11971
12110
  var constructorCompiler = (ast) => resolve4(ast).makeEffect;
11972
12111
 
11973
12112
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/internal/schema/make.js
11974
- var TypeId28 = "~effect/Schema/Schema";
12113
+ var TypeId29 = "~effect/Schema/Schema";
11975
12114
  var RebuildOptions = /* @__PURE__ */ Symbol();
11976
12115
  var SchemaProto = {
11977
- [TypeId28]: TypeId28,
12116
+ [TypeId29]: TypeId29,
11978
12117
  get make() {
11979
- const value = make26(this);
12118
+ const value = make29(this);
11980
12119
  Object.defineProperty(this, "make", {
11981
12120
  value,
11982
12121
  enumerable: true
@@ -12012,10 +12151,10 @@ var SchemaProto = {
12012
12151
  return this.rebuild(appendChecks(this.ast, checks));
12013
12152
  },
12014
12153
  rebuild(ast) {
12015
- return make27(ast, this[RebuildOptions]);
12154
+ return make30(ast, this[RebuildOptions]);
12016
12155
  }
12017
12156
  };
12018
- function make27(ast, options) {
12157
+ function make30(ast, options) {
12019
12158
  function Schema() {}
12020
12159
  const self = Object.setPrototypeOf(Schema, SchemaProto);
12021
12160
  if (options && (Object.hasOwn(options, "name") || Object.hasOwn(options, "length") || Object.hasOwn(options, "__proto__"))) {
@@ -12130,7 +12269,7 @@ var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment"
12130
12269
 
12131
12270
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/internal/schema/toCodec.js
12132
12271
  function toCodecJson2(schema) {
12133
- return make27(toCodecJsonAST(schema.ast), {
12272
+ return make30(toCodecJsonAST(schema.ast), {
12134
12273
  schema
12135
12274
  });
12136
12275
  }
@@ -12177,7 +12316,7 @@ function toCodecJsonASTStep(ast, recur) {
12177
12316
  if (!isFunction2(getLink)) {
12178
12317
  return replaceEncoding(ast, [unknownToJson]);
12179
12318
  }
12180
- const typeParameters = ast.typeParameters.map((tp) => make27(toEncoded(tp)));
12319
+ const typeParameters = ast.typeParameters.map((tp) => make30(toEncoded(tp)));
12181
12320
  const link = getLink(typeParameters);
12182
12321
  return link === undefined ? ast : replaceEncoding(ast, [mapLink(link, recur)]);
12183
12322
  }
@@ -12212,7 +12351,7 @@ function toCodecJsonASTStep(ast, recur) {
12212
12351
  return ast;
12213
12352
  }
12214
12353
  function toCodecStringTree(schema) {
12215
- return make27(toCodecStringTreeAST(schema.ast), {
12354
+ return make30(toCodecStringTreeAST(schema.ast), {
12216
12355
  schema
12217
12356
  });
12218
12357
  }
@@ -12232,7 +12371,7 @@ var toStringTreeReorder = /* @__PURE__ */ makeReorder((ast) => {
12232
12371
  function toCodecStringTreeASTStep(ast, recur, onMissingAnnotation) {
12233
12372
  switch (ast._tag) {
12234
12373
  case "Declaration": {
12235
- const typeParameters = ast.typeParameters.map((tp) => make27(recur(toEncoded(tp))));
12374
+ const typeParameters = ast.typeParameters.map((tp) => make30(recur(toEncoded(tp))));
12236
12375
  const getStringTreeLink = ast.annotations?.toCodecStringTree;
12237
12376
  if (isFunction2(getStringTreeLink)) {
12238
12377
  const link = getStringTreeLink(typeParameters);
@@ -13558,10 +13697,10 @@ function isSchemaError(u) {
13558
13697
  }
13559
13698
 
13560
13699
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Schema.js
13561
- var TypeId29 = TypeId28;
13700
+ var TypeId30 = TypeId29;
13562
13701
  function declareConstructor() {
13563
13702
  return (typeParameters, run, annotations) => {
13564
- return make28(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make28(ast))), annotations));
13703
+ return make31(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make31(ast))), annotations));
13565
13704
  };
13566
13705
  }
13567
13706
  function declare(is, annotations) {
@@ -13668,27 +13807,27 @@ function encodeUnknownSync(schema, options) {
13668
13807
  };
13669
13808
  }
13670
13809
  var encodeSync = encodeUnknownSync;
13671
- var make28 = make27;
13810
+ var make31 = make30;
13672
13811
  function isSchema(u) {
13673
- return hasProperty(u, TypeId29) && u[TypeId29] === TypeId29;
13812
+ return hasProperty(u, TypeId30) && u[TypeId30] === TypeId30;
13674
13813
  }
13675
- var optionalKey = /* @__PURE__ */ lambda((schema) => make28(optionalKey2(schema.ast), {
13814
+ var optionalKey = /* @__PURE__ */ lambda((schema) => make31(optionalKey2(schema.ast), {
13676
13815
  schema
13677
13816
  }));
13678
13817
  var optional = /* @__PURE__ */ lambda((self) => {
13679
13818
  const schema = UndefinedOr(self);
13680
- return make28(optional2(self.ast), {
13819
+ return make31(optional2(self.ast), {
13681
13820
  schema
13682
13821
  });
13683
13822
  });
13684
- var toType2 = /* @__PURE__ */ lambda((schema) => make28(toType(schema.ast), {
13823
+ var toType2 = /* @__PURE__ */ lambda((schema) => make31(toType(schema.ast), {
13685
13824
  schema
13686
13825
  }));
13687
- var toEncoded2 = /* @__PURE__ */ lambda((schema) => make28(toEncoded(schema.ast), {
13826
+ var toEncoded2 = /* @__PURE__ */ lambda((schema) => make31(toEncoded(schema.ast), {
13688
13827
  schema
13689
13828
  }));
13690
13829
  function Literal(literal) {
13691
- const out = make28(new Literal2(literal), {
13830
+ const out = make31(new Literal2(literal), {
13692
13831
  literal,
13693
13832
  transform(to) {
13694
13833
  return out.pipe(decodeTo(Literal(to), {
@@ -13699,16 +13838,16 @@ function Literal(literal) {
13699
13838
  });
13700
13839
  return out;
13701
13840
  }
13702
- var Never = /* @__PURE__ */ make28(never4);
13703
- var Unknown = /* @__PURE__ */ make28(unknown);
13704
- var Null2 = /* @__PURE__ */ make28(null_);
13705
- var Undefined2 = /* @__PURE__ */ make28(undefined_3);
13706
- var String2 = /* @__PURE__ */ make28(string2);
13707
- var Number5 = /* @__PURE__ */ make28(number2);
13708
- var Boolean2 = /* @__PURE__ */ make28(boolean);
13709
- var Void = /* @__PURE__ */ make28(void_4);
13841
+ var Never = /* @__PURE__ */ make31(never4);
13842
+ var Unknown = /* @__PURE__ */ make31(unknown);
13843
+ var Null2 = /* @__PURE__ */ make31(null_);
13844
+ var Undefined2 = /* @__PURE__ */ make31(undefined_3);
13845
+ var String2 = /* @__PURE__ */ make31(string2);
13846
+ var Number5 = /* @__PURE__ */ make31(number2);
13847
+ var Boolean2 = /* @__PURE__ */ make31(boolean);
13848
+ var Void = /* @__PURE__ */ make31(void_4);
13710
13849
  function makeStruct(ast, fields) {
13711
- return make28(ast, {
13850
+ return make31(ast, {
13712
13851
  fields,
13713
13852
  mapFields(f, options) {
13714
13853
  const fields = f(this.fields);
@@ -13720,19 +13859,19 @@ function Struct(fields) {
13720
13859
  return makeStruct(struct(fields, undefined), fields);
13721
13860
  }
13722
13861
  function Record(key, value) {
13723
- return make28(record(key.ast, value.ast), {
13862
+ return make31(record(key.ast, value.ast), {
13724
13863
  key,
13725
13864
  value
13726
13865
  });
13727
13866
  }
13728
13867
  function StructWithRest(schema, records) {
13729
- return make28(structWithRest(schema.ast, records.map(getAST)), {
13868
+ return make31(structWithRest(schema.ast, records.map(getAST)), {
13730
13869
  schema,
13731
13870
  records
13732
13871
  });
13733
13872
  }
13734
13873
  function makeTuple(ast, elements) {
13735
- return make28(ast, {
13874
+ return make31(ast, {
13736
13875
  elements,
13737
13876
  mapElements(f, options) {
13738
13877
  const elements = f(this.elements);
@@ -13743,14 +13882,14 @@ function makeTuple(ast, elements) {
13743
13882
  function Tuple(elements) {
13744
13883
  return makeTuple(tuple(elements), elements);
13745
13884
  }
13746
- var ArraySchema = /* @__PURE__ */ lambda((schema) => make28(new Arrays(false, [], [schema.ast]), {
13885
+ var ArraySchema = /* @__PURE__ */ lambda((schema) => make31(new Arrays(false, [], [schema.ast]), {
13747
13886
  value: schema
13748
13887
  }));
13749
- var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make28(new Arrays(false, [schema.ast], [schema.ast]), {
13888
+ var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make31(new Arrays(false, [schema.ast], [schema.ast]), {
13750
13889
  value: schema
13751
13890
  }));
13752
13891
  function makeUnion(ast, members) {
13753
- return make28(ast, {
13892
+ return make31(ast, {
13754
13893
  members,
13755
13894
  mapMembers(f, options) {
13756
13895
  const members = f(this.members);
@@ -13763,7 +13902,7 @@ function Union(members, options) {
13763
13902
  }
13764
13903
  function Literals(literals) {
13765
13904
  const members = literals.map(Literal);
13766
- return make28(union(members, undefined, undefined), {
13905
+ return make31(union(members, undefined, undefined), {
13767
13906
  literals,
13768
13907
  members,
13769
13908
  mapMembers(f) {
@@ -13780,18 +13919,18 @@ function Literals(literals) {
13780
13919
  var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null2]));
13781
13920
  var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
13782
13921
  function suspend5(f) {
13783
- return make28(new Suspend(() => f().ast));
13922
+ return make31(new Suspend(() => f().ast));
13784
13923
  }
13785
13924
  function decodeTo(to, transformation) {
13786
13925
  return (from) => {
13787
- return make28(decodeTo2(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
13926
+ return make31(decodeTo2(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
13788
13927
  from,
13789
13928
  to
13790
13929
  });
13791
13930
  };
13792
13931
  }
13793
13932
  function withConstructorDefault2(defaultValue) {
13794
- return (schema) => make28(withConstructorDefault(schema.ast, defaultValue), {
13933
+ return (schema) => make31(withConstructorDefault(schema.ast, defaultValue), {
13795
13934
  schema
13796
13935
  });
13797
13936
  }
@@ -13857,7 +13996,7 @@ function isBase64(annotations) {
13857
13996
  ...annotations
13858
13997
  });
13859
13998
  }
13860
- var Finite = /* @__PURE__ */ make28(finite);
13999
+ var Finite = /* @__PURE__ */ make31(finite);
13861
14000
  function makeIsGreaterThanOrEqualTo(options) {
13862
14001
  const gte = isGreaterThanOrEqualTo2(options.order);
13863
14002
  const formatter = options.formatter ?? format;
@@ -14386,7 +14525,7 @@ function CauseReason(error, defect) {
14386
14525
  }
14387
14526
  }))
14388
14527
  });
14389
- return make28(schema.ast, {
14528
+ return make31(schema.ast, {
14390
14529
  error,
14391
14530
  defect
14392
14531
  });
@@ -14423,7 +14562,7 @@ function Cause(error, defect) {
14423
14562
  }) => failures
14424
14563
  }))
14425
14564
  });
14426
- return make28(schema.ast, {
14565
+ return make31(schema.ast, {
14427
14566
  error,
14428
14567
  defect
14429
14568
  });
@@ -14484,7 +14623,7 @@ function Exit(value, error, defect) {
14484
14623
  }
14485
14624
  }))
14486
14625
  });
14487
- return make28(schema.ast, {
14626
+ return make31(schema.ast, {
14488
14627
  value,
14489
14628
  error,
14490
14629
  defect
@@ -14509,7 +14648,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
14509
14648
  }
14510
14649
  });
14511
14650
  }
14512
- static [TypeId29] = TypeId29;
14651
+ static [TypeId30] = TypeId30;
14513
14652
  get [ClassTypeId]() {
14514
14653
  return ClassTypeId;
14515
14654
  }
@@ -14526,7 +14665,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
14526
14665
  return getClassSchema(this).rebuild(ast);
14527
14666
  }
14528
14667
  static make(input, options) {
14529
- return make26(getClassSchema(this))(input ?? {}, options);
14668
+ return make29(getClassSchema(this))(input ?? {}, options);
14530
14669
  }
14531
14670
  static makeOption(input, options) {
14532
14671
  return makeOption(getClassSchema(this))(input ?? {}, options);
@@ -14585,7 +14724,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
14585
14724
  const ClassTypeId = getClassTypeId(identifier);
14586
14725
  const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
14587
14726
  const transformation = getClassTransformation(self);
14588
- const to = make28(new Declaration([from.ast], () => (input, ast, options) => {
14727
+ const to = make31(new Declaration([from.ast], () => (input, ast, options) => {
14589
14728
  return isClassValue(input) ? succeed5(input) : fail4(new InvalidType(ast, input, options));
14590
14729
  }, {
14591
14730
  identifier,
@@ -14642,7 +14781,7 @@ function toJsonSchemaDocument(schema, options) {
14642
14781
  }
14643
14782
  var toCodecJson = toCodecJson2;
14644
14783
  var toCodecStringTree2 = toCodecStringTree;
14645
- var Json = /* @__PURE__ */ make28(/* @__PURE__ */ annotate(Json2, {
14784
+ var Json = /* @__PURE__ */ make31(/* @__PURE__ */ annotate(Json2, {
14646
14785
  toCode: () => ({
14647
14786
  runtime: "Schema.Json",
14648
14787
  Type: "Schema.Json"
@@ -14732,7 +14871,7 @@ function toDate(input) {
14732
14871
  return toDateUtc2(makeUnsafe5(input));
14733
14872
  }
14734
14873
  function parseDate(input) {
14735
- return getOrUndefined(map(make20(input), toDateUtc2));
14874
+ return getOrUndefined(map(make23(input), toDateUtc2));
14736
14875
  }
14737
14876
  function toIso(input) {
14738
14877
  return formatIso(makeUnsafe5(input));
@@ -21459,7 +21598,7 @@ function makeProvider(load, mapInput) {
21459
21598
  function makeSource(get, transform) {
21460
21599
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
21461
21600
  }
21462
- function make29(get) {
21601
+ function make32(get) {
21463
21602
  return makeSource(get, identityPath);
21464
21603
  }
21465
21604
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -21468,7 +21607,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
21468
21607
  function fromEnvRecord(env, options) {
21469
21608
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
21470
21609
  const trie = buildEnvTrie(env);
21471
- return make29((path) => succeed5(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
21610
+ return make32((path) => succeed5(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
21472
21611
  }
21473
21612
  function fromEnv(options) {
21474
21613
  const env = options?.env ?? {
@@ -21521,7 +21660,7 @@ function trieNodeAt(root, path) {
21521
21660
  }
21522
21661
 
21523
21662
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Config.js
21524
- var TypeId30 = "~effect/Config";
21663
+ var TypeId31 = "~effect/Config";
21525
21664
  class ConfigError {
21526
21665
  _tag = "ConfigError";
21527
21666
  name = "ConfigError";
@@ -21543,14 +21682,14 @@ var Proto9 = {
21543
21682
  return this.parse(fiber.getRef(ConfigProvider));
21544
21683
  }
21545
21684
  }),
21546
- [TypeId30]: TypeId30,
21685
+ [TypeId31]: TypeId31,
21547
21686
  toJSON() {
21548
21687
  return {
21549
21688
  _id: "Config"
21550
21689
  };
21551
21690
  }
21552
21691
  };
21553
- function make30(evaluator) {
21692
+ function make33(evaluator) {
21554
21693
  const self = Object.create(Proto9);
21555
21694
  self.evaluator = evaluator;
21556
21695
  self.parse = (provider) => flatMapEager2(evaluator(provider, []), fromResult2);
@@ -21558,14 +21697,14 @@ function make30(evaluator) {
21558
21697
  }
21559
21698
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
21560
21699
  var map5 = /* @__PURE__ */ dual(2, (self, f) => {
21561
- return make30((provider, pathPrefix) => map3(evaluateAt(self, provider, pathPrefix), map6(f)));
21700
+ return make33((provider, pathPrefix) => map3(evaluateAt(self, provider, pathPrefix), map6(f)));
21562
21701
  });
21563
21702
  function all2(arg) {
21564
21703
  const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
21565
- return make30((provider, pathPrefix) => globalThis.Array.isArray(configs) ? mapEager2(all(configs.map((config) => evaluateAt(config, provider, pathPrefix))), all3) : mapEager2(all(map7(configs, (config) => evaluateAt(config, provider, pathPrefix))), all3));
21704
+ return make33((provider, pathPrefix) => globalThis.Array.isArray(configs) ? mapEager2(all(configs.map((config) => evaluateAt(config, provider, pathPrefix))), all3) : mapEager2(all(map7(configs, (config) => evaluateAt(config, provider, pathPrefix))), all3));
21566
21705
  }
21567
21706
  var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
21568
- return make30((provider, pathPrefix) => mapEager2(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
21707
+ return make33((provider, pathPrefix) => mapEager2(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
21569
21708
  });
21570
21709
  var option2 = (self) => self.pipe(map5(some2), withDefault(none()));
21571
21710
  var isSourceError = (u) => isTagged(u, "SourceError");
@@ -21677,9 +21816,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
21677
21816
  function schema(codec, path) {
21678
21817
  const codecStringTree = toCodecStringTree2(codec);
21679
21818
  const encodedAst = toEncoded(codecStringTree.ast);
21680
- const decodeCursor = decodeUnknownEffect2(make28(toConfigCursorAST(codecStringTree.ast)));
21819
+ const decodeCursor = decodeUnknownEffect2(make31(toConfigCursorAST(codecStringTree.ast)));
21681
21820
  const localPath = typeof path === "string" ? [path] : path ?? [];
21682
- return make30((provider, pathPrefix) => {
21821
+ return make33((provider, pathPrefix) => {
21683
21822
  const fullPath = [...pathPrefix, ...localPath];
21684
21823
  return loadCursor(provider, fullPath).pipe(flatMapEager2((cursor) => decodeCursor(cursor).pipe(mapEager2(succeed), catchEager2((issue) => {
21685
21824
  const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
@@ -21941,11 +22080,11 @@ function isStringArray(value) {
21941
22080
  }
21942
22081
 
21943
22082
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpBody.js
21944
- var TypeId31 = "~effect/http/HttpBody";
22083
+ var TypeId32 = "~effect/http/HttpBody";
21945
22084
  class Proto10 {
21946
- [TypeId31];
22085
+ [TypeId32];
21947
22086
  constructor() {
21948
- this[TypeId31] = TypeId31;
22087
+ this[TypeId32] = TypeId32;
21949
22088
  }
21950
22089
  [NodeInspectSymbol]() {
21951
22090
  return this.toJSON();
@@ -21993,7 +22132,7 @@ var raw = (body, options) => new Raw(body, options?.contentType, options?.conten
21993
22132
  var buffer2 = globalThis.Buffer;
21994
22133
 
21995
22134
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpClientError.js
21996
- var TypeId32 = "~effect/http/HttpClientError";
22135
+ var TypeId33 = "~effect/http/HttpClientError";
21997
22136
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
21998
22137
  constructor(props) {
21999
22138
  if ("cause" in props.reason) {
@@ -22005,7 +22144,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
22005
22144
  super(props);
22006
22145
  }
22007
22146
  }
22008
- [TypeId32] = TypeId32;
22147
+ [TypeId33] = TypeId33;
22009
22148
  get request() {
22010
22149
  return this.reason.request;
22011
22150
  }
@@ -22066,7 +22205,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
22066
22205
  }
22067
22206
  }
22068
22207
 
22069
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error2(TypeId32)({
22208
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error2(TypeId33)({
22070
22209
  _tag: /* @__PURE__ */ tag("HttpError"),
22071
22210
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
22072
22211
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -22095,7 +22234,7 @@ var updateHeaders = (headers, body) => {
22095
22234
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/Url.js
22096
22235
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
22097
22236
  }
22098
- var make31 = (url, params, hash) => try_2({
22237
+ var make34 = (url, params, hash) => try_2({
22099
22238
  try: () => {
22100
22239
  const urlInstance = new URL(url, baseUrl());
22101
22240
  for (let i = 0;i < params.params.length; i++) {
@@ -22121,9 +22260,9 @@ var baseUrl = () => {
22121
22260
  };
22122
22261
 
22123
22262
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpClientRequest.js
22124
- var TypeId33 = "~effect/http/HttpClientRequest";
22263
+ var TypeId34 = "~effect/http/HttpClientRequest";
22125
22264
  var Proto11 = {
22126
- [TypeId33]: TypeId33,
22265
+ [TypeId34]: TypeId34,
22127
22266
  ...BaseProto,
22128
22267
  toJSON() {
22129
22268
  return {
@@ -22151,13 +22290,13 @@ function makeWith(method, url, urlParams, hash, headers, body) {
22151
22290
  return self;
22152
22291
  }
22153
22292
  var empty8 = /* @__PURE__ */ makeWith("GET", "", empty6, /* @__PURE__ */ none(), empty3, empty7);
22154
- var make12 = (method) => (url, options) => modify(empty8, {
22293
+ var make13 = (method) => (url, options) => modify(empty8, {
22155
22294
  method,
22156
22295
  url,
22157
22296
  ...options ?? undefined
22158
22297
  });
22159
- var get2 = /* @__PURE__ */ make12("GET");
22160
- var put = /* @__PURE__ */ make12("PUT");
22298
+ var get3 = /* @__PURE__ */ make13("GET");
22299
+ var put = /* @__PURE__ */ make13("PUT");
22161
22300
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
22162
22301
  let result = self;
22163
22302
  if (options.method) {
@@ -22196,7 +22335,7 @@ var setUrl = /* @__PURE__ */ dual(2, (self, url) => {
22196
22335
  return makeWith(self.method, url, self.urlParams, self.hash, self.headers, self.body);
22197
22336
  }
22198
22337
  const clone = new URL(url.toString());
22199
- const urlParams = fromInput2(clone.searchParams);
22338
+ const urlParams = fromInput3(clone.searchParams);
22200
22339
  const hash = fromNullishOr(clone.hash === "" ? undefined : clone.hash.slice(1));
22201
22340
  clone.search = "";
22202
22341
  clone.hash = "";
@@ -22208,7 +22347,7 @@ var setBody = /* @__PURE__ */ dual(2, (self, body) => {
22208
22347
  return makeWith(self.method, self.url, self.urlParams, self.hash, updateHeaders(self.headers, body), body);
22209
22348
  });
22210
22349
  function toUrl(self) {
22211
- const r = make31(self.url, self.urlParams, getOrUndefined(self.hash));
22350
+ const r = make34(self.url, self.urlParams, getOrUndefined(self.hash));
22212
22351
  if (isSuccess(r)) {
22213
22352
  return some2(r.success);
22214
22353
  }
@@ -22216,7 +22355,7 @@ function toUrl(self) {
22216
22355
  }
22217
22356
 
22218
22357
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpIncomingMessage.js
22219
- var TypeId34 = "~effect/http/HttpIncomingMessage";
22358
+ var TypeId35 = "~effect/http/HttpIncomingMessage";
22220
22359
  var inspect = (self, that) => {
22221
22360
  const contentType = self.headers["content-type"] ?? "";
22222
22361
  let body;
@@ -22241,19 +22380,19 @@ var inspect = (self, that) => {
22241
22380
  };
22242
22381
 
22243
22382
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpClientResponse.js
22244
- var TypeId35 = "~effect/http/HttpClientResponse";
22383
+ var TypeId36 = "~effect/http/HttpClientResponse";
22245
22384
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
22246
22385
  class WebHttpClientResponse extends Class3 {
22247
- [TypeId34];
22248
22386
  [TypeId35];
22387
+ [TypeId36];
22249
22388
  request;
22250
22389
  source;
22251
22390
  constructor(request, source) {
22252
22391
  super();
22253
22392
  this.request = request;
22254
22393
  this.source = source;
22255
- this[TypeId34] = TypeId34;
22256
22394
  this[TypeId35] = TypeId35;
22395
+ this[TypeId36] = TypeId36;
22257
22396
  }
22258
22397
  toJSON() {
22259
22398
  return inspect(this, {
@@ -22323,7 +22462,7 @@ class WebHttpClientResponse extends Class3 {
22323
22462
  }
22324
22463
  get urlParamsBody() {
22325
22464
  return flatMap(this.text, (_) => try_({
22326
- try: () => fromInput2(new URLSearchParams(_)),
22465
+ try: () => fromInput3(new URLSearchParams(_)),
22327
22466
  catch: (cause) => new HttpClientError({
22328
22467
  reason: new DecodeError({
22329
22468
  request: this.request,
@@ -22409,7 +22548,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
22409
22548
  };
22410
22549
 
22411
22550
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpClient.js
22412
- var TypeId36 = "~effect/http/HttpClient";
22551
+ var TypeId37 = "~effect/http/HttpClient";
22413
22552
  var HttpClient = /* @__PURE__ */ Service("effect/HttpClient");
22414
22553
  var accessor = (method) => (...args) => flatMap(HttpClient, (client) => client[method](...args));
22415
22554
  var execute = /* @__PURE__ */ accessor("execute");
@@ -22425,7 +22564,7 @@ var makeWith2 = (postprocess, preprocess) => {
22425
22564
  return self;
22426
22565
  };
22427
22566
  var Proto12 = {
22428
- [TypeId36]: TypeId36,
22567
+ [TypeId37]: TypeId37,
22429
22568
  pipe() {
22430
22569
  return pipeArguments(this, arguments);
22431
22570
  },
@@ -22436,13 +22575,13 @@ var Proto12 = {
22436
22575
  };
22437
22576
  },
22438
22577
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
22439
- return this.execute(make12(fullMethod)(url, options));
22578
+ return this.execute(make13(fullMethod)(url, options));
22440
22579
  }]))
22441
22580
  };
22442
- var make32 = (f) => makeWith2((effect) => flatMap(effect, (request) => withFiber((fiber) => {
22581
+ var make35 = (f) => makeWith2((effect) => flatMap(effect, (request) => withFiber((fiber) => {
22443
22582
  const scopedController = scopedRequests.get(request);
22444
22583
  const controller = scopedController ?? new AbortController;
22445
- const urlResult = make31(request.url, request.urlParams, getOrUndefined(request.hash));
22584
+ const urlResult = make34(request.url, request.urlParams, getOrUndefined(request.hash));
22446
22585
  if (isFailure(urlResult)) {
22447
22586
  return fail4(new HttpClientError({
22448
22587
  reason: new InvalidUrlError({
@@ -22569,8 +22708,8 @@ class InterruptibleResponse {
22569
22708
  this.original = original;
22570
22709
  this.controller = controller;
22571
22710
  }
22711
+ [TypeId36] = TypeId36;
22572
22712
  [TypeId35] = TypeId35;
22573
- [TypeId34] = TypeId34;
22574
22713
  applyInterrupt(effect) {
22575
22714
  return suspend(() => {
22576
22715
  responseRegistry.unregister(this.original);
@@ -22638,7 +22777,7 @@ var Fetch = /* @__PURE__ */ Reference("effect/http/FetchHttpClient/Fetch", {
22638
22777
 
22639
22778
  class RequestInit extends (/* @__PURE__ */ Service()("effect/http/FetchHttpClient/RequestInit")) {
22640
22779
  }
22641
- var fetch2 = /* @__PURE__ */ make32((request, url, signal, fiber) => {
22780
+ var fetch2 = /* @__PURE__ */ make35((request, url, signal, fiber) => {
22642
22781
  const fetch2 = fiber.getRef(Fetch);
22643
22782
  const options = getOrUndefined2(fiber.context, RequestInit) ?? {};
22644
22783
  let headers = options.headers ? merge3(fromInput(options.headers), request.headers) : request.headers;
@@ -24922,7 +25061,7 @@ function toStoredSession(token, existingRefreshToken) {
24922
25061
  }
24923
25062
  function startLoopbackServer(input) {
24924
25063
  return gen(function* () {
24925
- const code = yield* make15();
25064
+ const code = yield* make16();
24926
25065
  const server = yield* acquireRelease(sync(() => Bun.serve({
24927
25066
  hostname: "127.0.0.1",
24928
25067
  port: 0,
@@ -25450,7 +25589,7 @@ function getStreamSchemas(schema) {
25450
25589
  }
25451
25590
  var schema2 = /* @__PURE__ */ declare(isStream);
25452
25591
  function Stream2(success, error) {
25453
- return make28(schema2.ast, {
25592
+ return make31(schema2.ast, {
25454
25593
  [StreamSchemaTypeId]: StreamSchemaTypeId,
25455
25594
  success,
25456
25595
  error
@@ -25458,9 +25597,9 @@ function Stream2(success, error) {
25458
25597
  }
25459
25598
 
25460
25599
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/rpc/Rpc.js
25461
- var TypeId37 = "~effect/rpc/Rpc";
25600
+ var TypeId38 = "~effect/rpc/Rpc";
25462
25601
  var Proto13 = {
25463
- [TypeId37]: TypeId37,
25602
+ [TypeId38]: TypeId38,
25464
25603
  pipe() {
25465
25604
  return pipeArguments(this, arguments);
25466
25605
  },
@@ -25549,7 +25688,7 @@ var makeProto = (options) => {
25549
25688
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
25550
25689
  return Rpc;
25551
25690
  };
25552
- var make13 = (tag, options) => {
25691
+ var make14 = (tag, options) => {
25553
25692
  const successSchema = options?.success ?? Void;
25554
25693
  const errorSchema = options?.error ?? Never;
25555
25694
  const defectSchema = options?.defect ?? Defect();
@@ -25731,12 +25870,12 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
25731
25870
  requests: options.requests,
25732
25871
  annotations: options.annotations
25733
25872
  });
25734
- var make14 = (...rpcs) => makeProto2({
25873
+ var make15 = (...rpcs) => makeProto2({
25735
25874
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
25736
25875
  annotations: empty()
25737
25876
  });
25738
25877
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/rpc/RpcMiddleware.js
25739
- var TypeId38 = "~effect/rpc/RpcMiddleware";
25878
+ var TypeId39 = "~effect/rpc/RpcMiddleware";
25740
25879
  var Service2 = () => (id, options) => {
25741
25880
  const limit = getStackTraceLimit();
25742
25881
  let creationError;
@@ -25754,7 +25893,7 @@ var Service2 = () => (id, options) => {
25754
25893
  return creationError?.stack;
25755
25894
  }
25756
25895
  });
25757
- ServiceClass_[TypeId38] = TypeId38;
25896
+ ServiceClass_[TypeId39] = TypeId39;
25758
25897
  ServiceClass_.error = options?.error ?? Never;
25759
25898
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
25760
25899
  return ServiceClass;
@@ -25825,30 +25964,30 @@ var ProgramOutcome = Union([
25825
25964
  Struct({ status: Literal("failed"), failureSummary: String2 })
25826
25965
  ]);
25827
25966
 
25828
- class RunnerRpcs extends make14(make13("Claim", {
25967
+ class RunnerRpcs extends make15(make14("Claim", {
25829
25968
  payload: WorkUnitClaimInput,
25830
25969
  success: WorkUnitClaimResult,
25831
25970
  error: RunnerRpcError
25832
- }), make13("Heartbeat", {
25971
+ }), make14("Heartbeat", {
25833
25972
  payload: WorkUnitHeartbeatInput,
25834
25973
  success: WorkUnitHeartbeatResult,
25835
25974
  error: RunnerRpcError
25836
- }), make13("Complete", {
25975
+ }), make14("Complete", {
25837
25976
  payload: WorkUnitCompletion,
25838
25977
  error: RunnerRpcError
25839
- }), make13("Release", {
25978
+ }), make14("Release", {
25840
25979
  payload: WorkUnitReleaseInput,
25841
25980
  error: RunnerRpcError
25842
- }), make13("RecordActivity", {
25981
+ }), make14("RecordActivity", {
25843
25982
  payload: { lease: ProgramLease, name: String2, attempt: Int, exit: Json },
25844
25983
  error: RunnerRpcError
25845
- }), make13("DeferredDone", {
25984
+ }), make14("DeferredDone", {
25846
25985
  payload: { lease: ProgramLease, name: String2, exit: Json },
25847
25986
  error: RunnerRpcError
25848
- }), make13("ScheduleClock", {
25987
+ }), make14("ScheduleClock", {
25849
25988
  payload: { lease: ProgramLease, name: String2, deferredName: String2, durationMillis: Int },
25850
25989
  error: RunnerRpcError
25851
- }), make13("PutQuestion", {
25990
+ }), make14("PutQuestion", {
25852
25991
  payload: {
25853
25992
  lease: ProgramLease,
25854
25993
  step: String2,
@@ -25859,7 +25998,7 @@ class RunnerRpcs extends make14(make13("Claim", {
25859
25998
  },
25860
25999
  success: Struct({ questionId: String2 }),
25861
26000
  error: RunnerRpcError
25862
- }), make13("StartAgentStep", {
26001
+ }), make14("StartAgentStep", {
25863
26002
  payload: {
25864
26003
  lease: ProgramLease,
25865
26004
  step: String2,
@@ -25872,7 +26011,7 @@ class RunnerRpcs extends make14(make13("Claim", {
25872
26011
  },
25873
26012
  success: Struct({ stepAttemptId: String2 }),
25874
26013
  error: RunnerRpcError
25875
- }), make13("StartVerification", {
26014
+ }), make14("StartVerification", {
25876
26015
  payload: {
25877
26016
  lease: ProgramLease,
25878
26017
  step: String2,
@@ -25882,11 +26021,11 @@ class RunnerRpcs extends make14(make13("Claim", {
25882
26021
  },
25883
26022
  success: Struct({ verificationId: String2 }),
25884
26023
  error: RunnerRpcError
25885
- }), make13("KnownEvidence", {
26024
+ }), make14("KnownEvidence", {
25886
26025
  payload: { lease: ProgramLease, trees: ArraySchema(String2) },
25887
26026
  success: ArraySchema(Struct({ tree: String2, name: String2, command: String2 })),
25888
26027
  error: RunnerRpcError
25889
- }), make13("AwaitEvent", {
26028
+ }), make14("AwaitEvent", {
25890
26029
  payload: {
25891
26030
  lease: ProgramLease,
25892
26031
  step: String2,
@@ -25896,7 +26035,7 @@ class RunnerRpcs extends make14(make13("Claim", {
25896
26035
  timeoutMillis: Int
25897
26036
  },
25898
26037
  error: RunnerRpcError
25899
- }), make13("AdmitChild", {
26038
+ }), make14("AdmitChild", {
25900
26039
  payload: {
25901
26040
  lease: ProgramLease,
25902
26041
  step: String2,
@@ -25906,7 +26045,7 @@ class RunnerRpcs extends make14(make13("Claim", {
25906
26045
  },
25907
26046
  success: Struct({ runId: String2 }),
25908
26047
  error: RunnerRpcError
25909
- }), make13("StoreArtifact", {
26048
+ }), make14("StoreArtifact", {
25910
26049
  payload: {
25911
26050
  lease: ProgramLease,
25912
26051
  step: String2,
@@ -25917,7 +26056,7 @@ class RunnerRpcs extends make14(make13("Claim", {
25917
26056
  },
25918
26057
  success: Struct({ artifactId: String2 }),
25919
26058
  error: RunnerRpcError
25920
- }), make13("RecordNote", {
26059
+ }), make14("RecordNote", {
25921
26060
  payload: {
25922
26061
  lease: ProgramLease,
25923
26062
  step: String2,
@@ -25925,7 +26064,7 @@ class RunnerRpcs extends make14(make13("Claim", {
25925
26064
  artifactId: optional(String2)
25926
26065
  },
25927
26066
  error: RunnerRpcError
25928
- }), make13("PerformHostEffect", {
26067
+ }), make14("PerformHostEffect", {
25929
26068
  payload: {
25930
26069
  lease: ProgramLease,
25931
26070
  step: String2,
@@ -25946,7 +26085,7 @@ class RunnerRpcs extends make14(make13("Claim", {
25946
26085
  },
25947
26086
  success: UndefinedOr(Struct({ id: String2, number: String2, url: String2 })),
25948
26087
  error: RunnerRpcError
25949
- }), make13("CreatePlanTasks", {
26088
+ }), make14("CreatePlanTasks", {
25950
26089
  payload: {
25951
26090
  lease: ProgramLease,
25952
26091
  tickets: ArraySchema(Struct({
@@ -25960,18 +26099,18 @@ class RunnerRpcs extends make14(make13("Claim", {
25960
26099
  },
25961
26100
  success: ArraySchema(Struct({ key: String2, taskId: String2 })),
25962
26101
  error: RunnerRpcError
25963
- }), make13("IntegrationBranch", {
26102
+ }), make14("IntegrationBranch", {
25964
26103
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String2) },
25965
26104
  success: Struct({ repoBindingId: String2, branch: String2, revision: String2 }),
25966
26105
  error: RunnerRpcError
25967
- }), make13("MergeChangeRequest", {
26106
+ }), make14("MergeChangeRequest", {
25968
26107
  payload: { lease: ProgramLease, step: String2, changeRequestId: String2 },
25969
26108
  success: Union([
25970
26109
  Struct({ status: Literal("merged"), revision: String2 }),
25971
26110
  Struct({ status: Literal("conflict") })
25972
26111
  ]),
25973
26112
  error: RunnerRpcError
25974
- }), make13("PublishRelease", {
26113
+ }), make14("PublishRelease", {
25975
26114
  payload: {
25976
26115
  lease: ProgramLease,
25977
26116
  step: String2,
@@ -25982,42 +26121,42 @@ class RunnerRpcs extends make14(make13("Claim", {
25982
26121
  },
25983
26122
  success: Struct({ tag: String2, revision: String2, url: String2 }),
25984
26123
  error: RunnerRpcError
25985
- }), make13("ReportSteer", {
26124
+ }), make14("ReportSteer", {
25986
26125
  payload: { workUnitId: String2, messageId: String2, delivered: Boolean2 },
25987
26126
  success: Void,
25988
26127
  error: RunnerRpcError
25989
- }), make13("SaveCheckpoint", {
26128
+ }), make14("SaveCheckpoint", {
25990
26129
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
25991
26130
  success: Void,
25992
26131
  error: RunnerRpcError
25993
- }), make13("ResumeCheckpoint", {
26132
+ }), make14("ResumeCheckpoint", {
25994
26133
  payload: { lease: ProgramLease },
25995
26134
  success: UndefinedOr(StepCheckpoint),
25996
26135
  error: RunnerRpcError
25997
- }), make13("SettledCheckpoints", {
26136
+ }), make14("SettledCheckpoints", {
25998
26137
  success: ArraySchema(Struct({
25999
26138
  stepAttemptId: String2,
26000
26139
  ref: optionalKey(String2),
26001
26140
  repoBinding: optionalKey(WorkUnitRepoBinding)
26002
26141
  })),
26003
26142
  error: RunnerRpcError
26004
- }), make13("ForgetCheckpoints", {
26143
+ }), make14("ForgetCheckpoints", {
26005
26144
  payload: { stepAttemptIds: ArraySchema(String2) },
26006
26145
  success: Void,
26007
26146
  error: RunnerRpcError
26008
- }), make13("Bundle", {
26147
+ }), make14("Bundle", {
26009
26148
  payload: { digest: String2 },
26010
26149
  success: Struct({ bundle: String2 }),
26011
26150
  error: RunnerRpcError
26012
- }), make13("SettledRuns", {
26151
+ }), make14("SettledRuns", {
26013
26152
  payload: { runIds: ArraySchema(String2) },
26014
26153
  success: ArraySchema(String2),
26015
26154
  error: RunnerRpcError
26016
- }), make13("ProgramSecrets", {
26155
+ }), make14("ProgramSecrets", {
26017
26156
  payload: { lease: ProgramLease },
26018
26157
  success: Record(String2, String2),
26019
26158
  error: RunnerRpcError
26020
- }), make13("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make13("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError }), make13("Signals", {
26159
+ }), make14("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make14("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError }), make14("Signals", {
26021
26160
  payload: { runnerReplicaId: String2 },
26022
26161
  success: RunnerSignal,
26023
26162
  error: RunnerRpcError,
@@ -26144,7 +26283,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
26144
26283
  }
26145
26284
  var runCommand2 = (command, args, options = {}) => gen(function* () {
26146
26285
  const spawner = yield* ChildProcessSpawner;
26147
- const handle = yield* spawner.spawn(make11(command, args, {
26286
+ const handle = yield* spawner.spawn(make12(command, args, {
26148
26287
  stdin: "ignore",
26149
26288
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
26150
26289
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -26170,8 +26309,8 @@ var shellOutputTailChars2 = 64 * 1024;
26170
26309
  var runProcess2 = (argv, options) => gen(function* () {
26171
26310
  const spawner = yield* ChildProcessSpawner;
26172
26311
  const [command, ...args] = argv;
26173
- const handle = yield* spawner.spawn(make11(command, args, {
26174
- stdin: options.stdin === undefined ? "ignore" : make9(new TextEncoder().encode(options.stdin)),
26312
+ const handle = yield* spawner.spawn(make12(command, args, {
26313
+ stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
26175
26314
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
26176
26315
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads(), ...options.env }
26177
26316
  }));
@@ -26322,4 +26461,4 @@ function assertHerdrRunnerCapability2(capabilities) {
26322
26461
  throw new Error("herdr_runner_capability_mismatch");
26323
26462
  }
26324
26463
 
26325
- export { pipeArguments, dual, identity, constVoid, flow, isString, isUndefined, isNotUndefined, isNotNull, isNullish, hasProperty, isTagged, toJsonValue, isOneOf, toJsonObject, isBigInt, isBoolean, isFunction, isNumber, isObject, isJsonObject, isString2, kindOf, assignProperty, Prototype, none, isNone, isSome, match, getOrElse, fromUndefinedOr, getOrUndefined, map, Service, empty, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get, merge, Reference, succeed, fail, isResult, isFailure, isSuccess, ensure, of, map2, fromInputUnsafe, isFinite, isZero, zero, infinity, millis, seconds, toMillis, max, subtract, isLessThanOrEqualTo, TaggedClass, TaggedError, die, hasInterruptsOnly, combine, squash, findError, findErrorOption, hasInterrupts, interruptors, pretty, Done, done, UnknownError, succeed2, failCause, fail2, die2, interrupt, void_, isSuccess2, isFailure2, makeUnsafe, _await, fail3, isDone, isDoneUnsafe, succeed3, doneUnsafe, Scope, make6, makeUnsafe2, provide, addFinalizerExit, addFinalizer, close, build2, buildWithScope, succeed4, effect, effectDiscard, mergeAll, provide2, provideMerge, Clock, currentTimeMillis, Random, catchDone, min, exponential, jittered, spaced, while_, setInputType, all, findFirst, forEach, whileLoop, promise, tryPromise, succeed5, suspend, sync, void_2, undefined_, callback, never, gen, fail4, failCause2, die3, try_, yieldNow, withFiber, flatMap, andThen, tap, result, option, exit, map3, as, asSome, asVoid, catch_, catchTag, catchTags, catchReason, catchCause, catchDefect, catchIf, catchCauseIf, mapError, orDie, tapError, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOrElse, delay, sleep, raceFirst, filterOrFail, matchCauseEffect, matchEffect, context, contextWith, provide3, provideContext, serviceOption, updateContext, updateService, provideService, scope, scoped, acquireRelease, acquireUseRelease, addFinalizer2, ensuring, onError, onExit, cached, interrupt2, interruptible, onInterrupt, uninterruptible, uninterruptibleMask, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, fnUntraced, fn, logWarning, logError, logInfo, annotateLogs, runMain, systemError, badArgument, join, interrupt3, getCurrent, runIn, makeUnsafe3, make7, make8, bounded, offerUnsafe, offerAll, failCause3, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe4, fromTransform, mapDone, isSink, fromChannel, drain, isStream, fromChannel2, empty2, make9, fromQueue, unwrap, map4, merge2, filter, transduce, decodeText, splitLines, run, runHead, runForEach, mkString, FileSystem, Path, makeUnsafe5, formatIso, encode, encode2, transform, encodeBase64Url, decodeBase64UrlString, ExitCode, ProcessId, makeHandle, make10, ChildProcessSpawner, make11, parseFdName, fdName, handleErrnoException, Crypto, layer, layer2, layer3, value, empty3, fromInput, merge3, is, decodeUnknownEffect, decodeEffect, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, isSchema, optionalKey, optional, Literal, Never, Unknown, String2, Boolean2, Void, Struct, Record, StructWithRest, Tuple, ArraySchema, NonEmptyArray, Union, Literals, decodeTo, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThanOrEqualTo, isLessThanOrEqualTo2, Int, isMinLength, isMaxLength, Defect, Date2, fromJsonString, Cause, Exit, Class, Error2, TaggedError2, toJsonSchemaDocument, toCodecJson, Json, JsonObject, error, log, guard, toDate, parseDate, toIso, currentDate, wallClockMillis, Id, Timestamp, ActorType, ProposalStatuses, ProposalTargetTypes, ContextPackModes, DefaultContextPackMode, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, runnerAgentSandboxPolicy, agentNetworkAllowlist, AgentHarnessIds, findForbiddenAgentEnvironmentSecretPath, scanDurableSurface, redactDurableSurface, redactedOutputTail, canonicalSha256, RunStatuses, KitmanAgentCapabilityNames, DecisionStatuses, FixFlowRecoveryActions, createId, KitKinds, KitInstallationScopes, KitCreate, KitUpdate, repositoryKey, ProgramWorkUnit, RunnerOwnership, defaultRunnerCapabilities, isSyncKitHashValid, isSyncKitSafe, resolveSyncKit, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, map5, all2, withDefault, option2, String3, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, raw, HttpClientErrorSchema, make12, get2, put, execute, Fetch, layer4, KitmanClientError, KitmanEffectClient, digestSha256, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, LoopCapabilities, LoopManifest, AgentDeclaration, KitInstallationDeclaration, KitAssignmentDeclaration, PackageDeclarations, isStreamSchema, getStreamSchemas, make13, exitSchema, make14, Service2, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, RunnerRpcs, setupMcpAgentCredential, generateAgentKeyPair, CommandFailed2, runCommand2, shellOutputTailChars2, runProcess2, runShell2, optionalEnv, detectHarnesses2, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2 };
26464
+ export { pipeArguments, dual, identity, constVoid, flow, isString, isUndefined, isNotUndefined, isNotNull, isNullish, hasProperty, isTagged, toJsonValue, isOneOf, toJsonObject, isBigInt, isBoolean, isFunction, isNumber, isObject, isJsonObject, isString2, kindOf, assignProperty, Prototype, none, isNone, isSome, match, getOrElse, fromUndefinedOr, getOrUndefined, map, Service, empty, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get, merge, Reference, succeed, fail, isResult, isFailure, isSuccess, ensure, of, map2, fromInputUnsafe, isZero, zero, infinity, millis, seconds, toMillis, max, subtract, isLessThanOrEqualTo, TaggedClass, TaggedError, die, hasInterruptsOnly, combine, squash, findError, findErrorOption, hasInterrupts, interruptors, pretty, Done, done, UnknownError, succeed2, failCause, fail2, die2, interrupt, void_, isSuccess2, isFailure2, makeUnsafe, _await, fail3, isDone, isDoneUnsafe, succeed3, doneUnsafe, Scope, make6, makeUnsafe2, provide, addFinalizerExit, addFinalizer, close, build2, buildWithScope, succeed4, effect, effectDiscard, mergeAll, provide2, provideMerge, Clock, currentTimeMillis, Random, catchDone, min, exponential, jittered, spaced, while_, setInputType, all, findFirst, forEach, whileLoop, promise, tryPromise, succeed5, suspend, sync, void_2, undefined_, callback, never, gen, fail4, failCause2, die3, try_, yieldNow, withFiber, flatMap, andThen, tap, result, option, exit, map3, as, asSome, asVoid, catch_, catchTag, catchTags, catchReason, catchCause, catchDefect, catchIf, catchCauseIf, mapError, orDie, tapError, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOrElse, delay, sleep, raceFirst, filterOrFail, matchCauseEffect, matchEffect, context, contextWith, provide3, provideContext, serviceOption, updateContext, updateService, provideService, scope, scoped, acquireRelease, acquireUseRelease, addFinalizer2, ensuring, onError, onExit, cached, interrupt2, interruptible, onInterrupt, uninterruptible, uninterruptibleMask, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, fnUntraced, fn, logWarning, logError, logInfo, annotateLogs, runMain, systemError, badArgument, join, interrupt3, getCurrent, makeUnsafe3, make7, make8, bounded, offerUnsafe, offerAll, failCause3, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe4, fromTransform, mapDone, isSink, fromChannel, drain, make9, get2, isStream, fromChannel2, empty2, make10, fromQueue, unwrap, map4, merge2, filter, transduce, decodeText, splitLines, run, runHead, runForEach, mkString, FileSystem, Path, makeUnsafe5, formatIso, encode, encode2, transform, encodeBase64Url, decodeBase64UrlString, ExitCode, ProcessId, makeHandle, make11, ChildProcessSpawner, make12, parseFdName, fdName, handleErrnoException, Crypto, layer, layer2, layer3, value, empty3, fromInput, merge3, is, decodeUnknownEffect, decodeEffect, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, isSchema, optionalKey, optional, Literal, Never, Unknown, String2, Boolean2, Void, Struct, Record, StructWithRest, Tuple, ArraySchema, NonEmptyArray, Union, Literals, decodeTo, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThanOrEqualTo, isLessThanOrEqualTo2, Int, isMinLength, isMaxLength, Defect, Date2, fromJsonString, Cause, Exit, Class, Error2, TaggedError2, toJsonSchemaDocument, toCodecJson, Json, JsonObject, error, log, guard, toDate, parseDate, toIso, currentDate, wallClockMillis, Id, Timestamp, ActorType, ProposalStatuses, ProposalTargetTypes, ContextPackModes, DefaultContextPackMode, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, runnerAgentSandboxPolicy, agentNetworkAllowlist, AgentHarnessIds, findForbiddenAgentEnvironmentSecretPath, scanDurableSurface, redactDurableSurface, redactedOutputTail, canonicalSha256, RunStatuses, KitmanAgentCapabilityNames, DecisionStatuses, FixFlowRecoveryActions, createId, KitKinds, KitInstallationScopes, KitCreate, KitUpdate, repositoryKey, ProgramWorkUnit, RunnerOwnership, defaultRunnerCapabilities, isSyncKitHashValid, isSyncKitSafe, resolveSyncKit, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, map5, all2, withDefault, option2, String3, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, raw, HttpClientErrorSchema, make13, get3, put, execute, Fetch, layer4, KitmanClientError, KitmanEffectClient, digestSha256, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, LoopCapabilities, LoopManifest, AgentDeclaration, KitInstallationDeclaration, KitAssignmentDeclaration, PackageDeclarations, isStreamSchema, getStreamSchemas, make14, exitSchema, make15, Service2, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, RunnerRpcs, setupMcpAgentCredential, generateAgentKeyPair, CommandFailed2, runCommand2, shellOutputTailChars2, runProcess2, runShell2, optionalEnv, detectHarnesses2, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2 };