@kitman-sh/cli 0.7.1 → 0.7.3

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 make16 = () => sync2(() => makeUnsafe());
5119
+ var make15 = () => 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 make17 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
5421
+ var make16 = /* @__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 make18 = (value) => value;
6248
+ var make17 = (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 make18(BigInt(input));
6256
+ return make17(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 make18(numerator / scale);
6271
+ return make17(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 make18(input);
6278
+ return make17(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 make19 = () => ({
6353
+ var make18 = () => ({
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 = make19();
6488
+ self.messages = make18();
6489
6489
  self.scheduleRunning = false;
6490
6490
  self.state = {
6491
6491
  _tag: "Open",
@@ -7175,155 +7175,16 @@ 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
-
7317
7178
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Stream.js
7318
- var TypeId17 = "~effect/Stream";
7319
- var isStream = (u) => hasProperty(u, TypeId17);
7179
+ var TypeId16 = "~effect/Stream";
7180
+ var isStream = (u) => hasProperty(u, TypeId16);
7320
7181
  var fromChannel2 = fromChannel3;
7321
7182
  var fromPull2 = (pull) => fromChannel2(fromPull(pull));
7322
7183
  var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
7323
7184
  var toChannel2 = (stream) => stream.channel;
7324
7185
  var callback3 = (f, options) => fromChannel2(callbackArray(f, options));
7325
7186
  var empty2 = /* @__PURE__ */ fromChannel2(empty5);
7326
- var make10 = (...values) => fromArray2(values);
7187
+ var make9 = (...values) => fromArray2(values);
7327
7188
  var suspend4 = (stream) => fromChannel2(suspend3(() => stream().channel));
7328
7189
  var fail9 = (error) => fromChannel2(fail8(error));
7329
7190
  var fromArray2 = (array) => isReadonlyArrayNonEmpty(array) ? fromChannel2(succeed8(array)) : empty2;
@@ -7442,11 +7303,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
7442
7303
  var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map3(context(), (context) => toReadableStreamWith(self, context, options)));
7443
7304
 
7444
7305
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/FileSystem.js
7445
- var TypeId18 = "~effect/FileSystem";
7306
+ var TypeId17 = "~effect/FileSystem";
7446
7307
  var FileSystem = /* @__PURE__ */ Service("effect/FileSystem");
7447
- var make22 = (impl) => FileSystem.of({
7308
+ var make19 = (impl) => FileSystem.of({
7448
7309
  ...impl,
7449
- [TypeId18]: TypeId18,
7310
+ [TypeId17]: TypeId17,
7450
7311
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed5(false) : fail4(e))),
7451
7312
  readFileString: (path, encoding) => flatMap(impl.readFile(path), (_) => try_({
7452
7313
  try: () => new TextDecoder(encoding).decode(_),
@@ -7501,7 +7362,7 @@ class WatchBackend extends (/* @__PURE__ */ Service()("effect/FileSystem/WatchBa
7501
7362
  }
7502
7363
 
7503
7364
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Path.js
7504
- var TypeId19 = "~effect/Path";
7365
+ var TypeId18 = "~effect/Path";
7505
7366
  var Path = /* @__PURE__ */ Service("effect/Path");
7506
7367
  function normalizeStringPosix(path, allowAboveRoot) {
7507
7368
  let res = "";
@@ -7678,7 +7539,7 @@ function encodePathChars(filepath) {
7678
7539
  return filepath;
7679
7540
  }
7680
7541
  var posixImpl = /* @__PURE__ */ Path.of({
7681
- [TypeId19]: TypeId19,
7542
+ [TypeId18]: TypeId18,
7682
7543
  resolve,
7683
7544
  normalize(path) {
7684
7545
  if (path.length === 0)
@@ -8015,16 +7876,16 @@ var toOption2 = (value) => value === missing ? none() : some2(value);
8015
7876
  var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed9(option.value);
8016
7877
 
8017
7878
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/SchemaIssue.js
8018
- var TypeId20 = "~effect/SchemaIssue/Issue";
7879
+ var TypeId19 = "~effect/SchemaIssue/Issue";
8019
7880
  function isIssue(u) {
8020
- return hasProperty(u, TypeId20) && u[TypeId20] === TypeId20;
7881
+ return hasProperty(u, TypeId19) && u[TypeId19] === TypeId19;
8021
7882
  }
8022
7883
  function hasInput(issue) {
8023
7884
  return Object.hasOwn(issue, "input");
8024
7885
  }
8025
7886
 
8026
7887
  class IssueNodeImpl {
8027
- [TypeId20] = TypeId20;
7888
+ [TypeId19] = TypeId19;
8028
7889
  constructor(input, options) {
8029
7890
  if (options?.reportInput === true && input !== missing) {
8030
7891
  this.input = input;
@@ -8283,7 +8144,7 @@ function getSchemaIssueOrThrow(cause, message) {
8283
8144
 
8284
8145
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/DateTime.js
8285
8146
  var makeUnsafe5 = makeUnsafe7;
8286
- var make23 = make17;
8147
+ var make20 = make16;
8287
8148
  var now2 = now;
8288
8149
  var nowUnsafe2 = nowUnsafe;
8289
8150
  var toDateUtc2 = toDateUtc;
@@ -8489,9 +8350,9 @@ function decodeBase64UrlString() {
8489
8350
  }
8490
8351
 
8491
8352
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/SchemaTransformation.js
8492
- var TypeId21 = "~effect/SchemaTransformation/Transformation";
8353
+ var TypeId20 = "~effect/SchemaTransformation/Transformation";
8493
8354
  var Transformation = class extends Class2 {
8494
- [TypeId21] = TypeId21;
8355
+ [TypeId20] = TypeId20;
8495
8356
  _tag = "Transformation";
8496
8357
  decode;
8497
8358
  encode;
@@ -8505,7 +8366,7 @@ var Transformation = class extends Class2 {
8505
8366
  }
8506
8367
  };
8507
8368
  function isTransformation(u) {
8508
- return hasProperty(u, TypeId21) && u[TypeId21] === TypeId21;
8369
+ return hasProperty(u, TypeId20) && u[TypeId20] === TypeId20;
8509
8370
  }
8510
8371
  var makeTransformation = (options) => {
8511
8372
  if (isTransformation(options)) {
@@ -8622,10 +8483,10 @@ var Context = class {
8622
8483
  this.annotations = annotations;
8623
8484
  }
8624
8485
  };
8625
- var TypeId22 = "~effect/Schema";
8486
+ var TypeId21 = "~effect/Schema";
8626
8487
 
8627
8488
  class ASTNodeImpl {
8628
- [TypeId22] = TypeId22;
8489
+ [TypeId21] = TypeId21;
8629
8490
  annotations;
8630
8491
  checks;
8631
8492
  encoding;
@@ -10391,7 +10252,7 @@ var HandleProto = {
10391
10252
  var makeHandle = (params) => Object.setPrototypeOf({
10392
10253
  ...params
10393
10254
  }, HandleProto);
10394
- var make11 = (spawn) => {
10255
+ var make10 = (spawn) => {
10395
10256
  const streamString = (command, options) => spawn(command).pipe(map3((handle) => decodeText(options?.includeStderr === true ? handle.all : handle.stdout)), unwrap);
10396
10257
  const streamLines = (command, options) => splitLines(streamString(command, options));
10397
10258
  return ChildProcessSpawner.of({
@@ -10408,7 +10269,7 @@ class ChildProcessSpawner extends (/* @__PURE__ */ Service()("effect/process/Chi
10408
10269
  }
10409
10270
 
10410
10271
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/process/ChildProcess.js
10411
- var TypeId23 = "~effect/process/ChildProcess";
10272
+ var TypeId22 = "~effect/process/ChildProcess";
10412
10273
  var Proto3 = {
10413
10274
  .../* @__PURE__ */ Prototype({
10414
10275
  label: "Command",
@@ -10416,7 +10277,7 @@ var Proto3 = {
10416
10277
  return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
10417
10278
  }
10418
10279
  }),
10419
- [TypeId23]: TypeId23
10280
+ [TypeId22]: TypeId22
10420
10281
  };
10421
10282
  var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto3), {
10422
10283
  _tag: "StandardCommand",
@@ -10424,7 +10285,7 @@ var makeStandardCommand = (command, args, options) => Object.assign(Object.creat
10424
10285
  args,
10425
10286
  options
10426
10287
  });
10427
- var make12 = function make(...args) {
10288
+ var make11 = function make(...args) {
10428
10289
  if (isTemplateString(args[0])) {
10429
10290
  const [templates, ...expressions] = args;
10430
10291
  const tokens = parseTemplates(templates, expressions);
@@ -10627,9 +10488,9 @@ function v7Bytes(timestampMillis, bytes = randomBytes()) {
10627
10488
  }
10628
10489
 
10629
10490
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Crypto.js
10630
- var TypeId24 = "~effect/Crypto";
10491
+ var TypeId23 = "~effect/Crypto";
10631
10492
  var Crypto = /* @__PURE__ */ Service("effect/Crypto");
10632
- var make24 = (impl) => {
10493
+ var make21 = (impl) => {
10633
10494
  const randomBytesUnsafe = impl.randomBytes;
10634
10495
  const randomBytes = (size) => map3(validateSize("randomBytes", size), randomBytesUnsafe);
10635
10496
  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];
@@ -10647,7 +10508,7 @@ var make24 = (impl) => {
10647
10508
  }
10648
10509
  };
10649
10510
  return Crypto.of({
10650
- [TypeId24]: TypeId24,
10511
+ [TypeId23]: TypeId23,
10651
10512
  randomBytes,
10652
10513
  nextDoubleUnsafe,
10653
10514
  nextIntUnsafe,
@@ -10715,11 +10576,11 @@ var digest = (algorithm, data) => try_({
10715
10576
  cause
10716
10577
  })
10717
10578
  });
10718
- var make25 = /* @__PURE__ */ make24({
10579
+ var make22 = /* @__PURE__ */ make21({
10719
10580
  randomBytes: NodeCrypto.randomBytes,
10720
10581
  digest
10721
10582
  });
10722
- var layer5 = /* @__PURE__ */ succeed4(Crypto, make25);
10583
+ var layer5 = /* @__PURE__ */ succeed4(Crypto, make22);
10723
10584
 
10724
10585
  // node_modules/.bun/@effect+platform-bun@4.0.4+b8cbb99ebc524863/node_modules/@effect/platform-bun/dist/BunCrypto.js
10725
10586
  var layer = layer5;
@@ -11169,7 +11030,7 @@ var writeFile2 = (path, data, options) => callback((resume, signal) => {
11169
11030
  resume(fail4(handleBadArgument("writeFile")(err)));
11170
11031
  }
11171
11032
  });
11172
- var makeFileSystem = /* @__PURE__ */ map3(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make22({
11033
+ var makeFileSystem = /* @__PURE__ */ map3(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make19({
11173
11034
  access: access2,
11174
11035
  chmod: chmod2,
11175
11036
  chown: chown2,
@@ -11229,17 +11090,17 @@ var fileUrlOps = (windows) => ({
11229
11090
  })
11230
11091
  });
11231
11092
  var layerPosix = /* @__PURE__ */ succeed4(Path)({
11232
- [TypeId19]: TypeId19,
11093
+ [TypeId18]: TypeId18,
11233
11094
  ...NodePath.posix,
11234
11095
  .../* @__PURE__ */ fileUrlOps(false)
11235
11096
  });
11236
11097
  var layerWin32 = /* @__PURE__ */ succeed4(Path)({
11237
- [TypeId19]: TypeId19,
11098
+ [TypeId18]: TypeId18,
11238
11099
  ...NodePath.win32,
11239
11100
  .../* @__PURE__ */ fileUrlOps(true)
11240
11101
  });
11241
11102
  var layer7 = /* @__PURE__ */ succeed4(Path)({
11242
- [TypeId19]: TypeId19,
11103
+ [TypeId18]: TypeId18,
11243
11104
  ...NodePath,
11244
11105
  .../* @__PURE__ */ fileUrlOps(undefined)
11245
11106
  });
@@ -11248,10 +11109,10 @@ var layer7 = /* @__PURE__ */ succeed4(Path)({
11248
11109
  var layer3 = layer7;
11249
11110
 
11250
11111
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/Cookies.js
11251
- var TypeId25 = "~effect/http/Cookies";
11112
+ var TypeId24 = "~effect/http/Cookies";
11252
11113
  var CookieTypeId = "~effect/http/Cookies/Cookie";
11253
11114
  var Proto4 = {
11254
- [TypeId25]: TypeId25,
11115
+ [TypeId24]: TypeId24,
11255
11116
  ...BaseProto,
11256
11117
  toJSON() {
11257
11118
  return {
@@ -11441,9 +11302,9 @@ var value2 = (self) => {
11441
11302
  };
11442
11303
 
11443
11304
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Redacted.js
11444
- var TypeId26 = "~effect/Redacted";
11445
- var isRedacted = (u) => hasProperty(u, TypeId26);
11446
- var make26 = (value, options) => {
11305
+ var TypeId25 = "~effect/Redacted";
11306
+ var isRedacted = (u) => hasProperty(u, TypeId25);
11307
+ var make23 = (value, options) => {
11447
11308
  const self = Object.create(Proto5);
11448
11309
  if (options?.label) {
11449
11310
  self.label = options.label;
@@ -11452,7 +11313,7 @@ var make26 = (value, options) => {
11452
11313
  return self;
11453
11314
  };
11454
11315
  var Proto5 = {
11455
- [TypeId26]: {
11316
+ [TypeId25]: {
11456
11317
  _A: (_) => _
11457
11318
  },
11458
11319
  label: undefined,
@@ -11473,10 +11334,10 @@ var Proto5 = {
11473
11334
  var value = value2;
11474
11335
 
11475
11336
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/Headers.js
11476
- var TypeId27 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
11337
+ var TypeId26 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
11477
11338
  var Proto6 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
11478
- [TypeId27]: {
11479
- value: TypeId27
11339
+ [TypeId26]: {
11340
+ value: TypeId26
11480
11341
  },
11481
11342
  [symbolRedactable]: {
11482
11343
  value(context) {
@@ -11490,7 +11351,7 @@ var Proto6 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
11490
11351
  },
11491
11352
  [symbol2]: {
11492
11353
  value(that) {
11493
- return Equivalence4(this, that);
11354
+ return Equivalence3(this, that);
11494
11355
  }
11495
11356
  },
11496
11357
  [symbol]: {
@@ -11505,8 +11366,8 @@ var Proto6 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
11505
11366
  value: BaseProto[NodeInspectSymbol]
11506
11367
  }
11507
11368
  });
11508
- var make27 = (input) => Object.assign(Object.create(Proto6), input);
11509
- var Equivalence4 = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ strictEqual());
11369
+ var make24 = (input) => Object.assign(Object.create(Proto6), input);
11370
+ var Equivalence3 = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ strictEqual());
11510
11371
  var empty3 = /* @__PURE__ */ Object.create(Proto6);
11511
11372
  var fromInput = (input) => {
11512
11373
  if (input === undefined) {
@@ -11530,21 +11391,21 @@ var fromInput = (input) => {
11530
11391
  };
11531
11392
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto6);
11532
11393
  var set2 = /* @__PURE__ */ dual(3, (self, key, value) => {
11533
- const out = make27(self);
11394
+ const out = make24(self);
11534
11395
  out[key.toLowerCase()] = value;
11535
11396
  return out;
11536
11397
  });
11537
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make27({
11398
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make24({
11538
11399
  ...self,
11539
11400
  ...fromInput(headers)
11540
11401
  }));
11541
11402
  var merge3 = /* @__PURE__ */ dual(2, (self, headers) => {
11542
- const out = make27(self);
11403
+ const out = make24(self);
11543
11404
  Object.assign(out, headers);
11544
11405
  return out;
11545
11406
  });
11546
11407
  var remove3 = /* @__PURE__ */ dual(2, (self, key) => {
11547
- const out = make27(self);
11408
+ const out = make24(self);
11548
11409
  delete out[key.toLowerCase()];
11549
11410
  return out;
11550
11411
  });
@@ -11556,12 +11417,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
11556
11417
  if (typeof key === "string") {
11557
11418
  const k = key.toLowerCase();
11558
11419
  if (k in self) {
11559
- out[k] = make26(self[k]);
11420
+ out[k] = make23(self[k]);
11560
11421
  }
11561
11422
  } else {
11562
11423
  for (const name in self) {
11563
11424
  if (name.search(key) !== -1) {
11564
- out[name] = make26(self[name]);
11425
+ out[name] = make23(self[name]);
11565
11426
  }
11566
11427
  }
11567
11428
  }
@@ -11593,11 +11454,11 @@ var CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentReda
11593
11454
  });
11594
11455
 
11595
11456
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/UrlParams.js
11596
- var TypeId28 = "~effect/http/UrlParams";
11597
- var isUrlParams = (u) => hasProperty(u, TypeId28);
11457
+ var TypeId27 = "~effect/http/UrlParams";
11458
+ var isUrlParams = (u) => hasProperty(u, TypeId27);
11598
11459
  var Proto7 = {
11599
11460
  ...PipeInspectableProto,
11600
- [TypeId28]: TypeId28,
11461
+ [TypeId27]: TypeId27,
11601
11462
  [Symbol.iterator]() {
11602
11463
  return this.params[Symbol.iterator]();
11603
11464
  },
@@ -11608,18 +11469,18 @@ var Proto7 = {
11608
11469
  };
11609
11470
  },
11610
11471
  [symbol2](that) {
11611
- return Equivalence5(this, that);
11472
+ return Equivalence4(this, that);
11612
11473
  },
11613
11474
  [symbol]() {
11614
11475
  return array(this.params.flat());
11615
11476
  }
11616
11477
  };
11617
- var make28 = (params) => {
11478
+ var make25 = (params) => {
11618
11479
  const self = Object.create(Proto7);
11619
11480
  self.params = params;
11620
11481
  return self;
11621
11482
  };
11622
- var fromInput3 = (input) => {
11483
+ var fromInput2 = (input) => {
11623
11484
  if (isUrlParams(input)) {
11624
11485
  return input;
11625
11486
  }
@@ -11633,7 +11494,7 @@ var fromInput3 = (input) => {
11633
11494
  out.push(parsed[i]);
11634
11495
  }
11635
11496
  }
11636
- return make28(out);
11497
+ return make25(out);
11637
11498
  };
11638
11499
  var fromInputNested = (input) => {
11639
11500
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -11656,11 +11517,11 @@ var fromInputNested = (input) => {
11656
11517
  }
11657
11518
  return out;
11658
11519
  };
11659
- var Equivalence5 = /* @__PURE__ */ make((a, b) => arrayEquivalence(a.params, b.params));
11520
+ var Equivalence4 = /* @__PURE__ */ make((a, b) => arrayEquivalence(a.params, b.params));
11660
11521
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence3(/* @__PURE__ */ makeEquivalence([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ strictEqual()]));
11661
- var empty6 = /* @__PURE__ */ make28([]);
11522
+ var empty6 = /* @__PURE__ */ make25([]);
11662
11523
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
11663
- const params = fromInput3(input).params.slice();
11524
+ const params = fromInput2(input).params.slice();
11664
11525
  const keys = new Set;
11665
11526
  for (let i = 0;i < params.length; i++) {
11666
11527
  keys.add(params[i][0]);
@@ -11670,7 +11531,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
11670
11531
  continue;
11671
11532
  params.push(self.params[i]);
11672
11533
  }
11673
- return make28(params);
11534
+ return make25(params);
11674
11535
  });
11675
11536
 
11676
11537
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/internal/schema/interpreter.js
@@ -11958,7 +11819,7 @@ function makeOption(schema) {
11958
11819
  return none();
11959
11820
  };
11960
11821
  }
11961
- function make29(schema) {
11822
+ function make26(schema) {
11962
11823
  return makeConstructorSync(toType(schema.ast));
11963
11824
  }
11964
11825
  function is2(schema) {
@@ -12110,12 +11971,12 @@ var normalCompiler = (ast) => resolve4(ast).parser;
12110
11971
  var constructorCompiler = (ast) => resolve4(ast).makeEffect;
12111
11972
 
12112
11973
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/internal/schema/make.js
12113
- var TypeId29 = "~effect/Schema/Schema";
11974
+ var TypeId28 = "~effect/Schema/Schema";
12114
11975
  var RebuildOptions = /* @__PURE__ */ Symbol();
12115
11976
  var SchemaProto = {
12116
- [TypeId29]: TypeId29,
11977
+ [TypeId28]: TypeId28,
12117
11978
  get make() {
12118
- const value = make29(this);
11979
+ const value = make26(this);
12119
11980
  Object.defineProperty(this, "make", {
12120
11981
  value,
12121
11982
  enumerable: true
@@ -12151,10 +12012,10 @@ var SchemaProto = {
12151
12012
  return this.rebuild(appendChecks(this.ast, checks));
12152
12013
  },
12153
12014
  rebuild(ast) {
12154
- return make30(ast, this[RebuildOptions]);
12015
+ return make27(ast, this[RebuildOptions]);
12155
12016
  }
12156
12017
  };
12157
- function make30(ast, options) {
12018
+ function make27(ast, options) {
12158
12019
  function Schema() {}
12159
12020
  const self = Object.setPrototypeOf(Schema, SchemaProto);
12160
12021
  if (options && (Object.hasOwn(options, "name") || Object.hasOwn(options, "length") || Object.hasOwn(options, "__proto__"))) {
@@ -12269,7 +12130,7 @@ var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment"
12269
12130
 
12270
12131
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/internal/schema/toCodec.js
12271
12132
  function toCodecJson2(schema) {
12272
- return make30(toCodecJsonAST(schema.ast), {
12133
+ return make27(toCodecJsonAST(schema.ast), {
12273
12134
  schema
12274
12135
  });
12275
12136
  }
@@ -12316,7 +12177,7 @@ function toCodecJsonASTStep(ast, recur) {
12316
12177
  if (!isFunction2(getLink)) {
12317
12178
  return replaceEncoding(ast, [unknownToJson]);
12318
12179
  }
12319
- const typeParameters = ast.typeParameters.map((tp) => make30(toEncoded(tp)));
12180
+ const typeParameters = ast.typeParameters.map((tp) => make27(toEncoded(tp)));
12320
12181
  const link = getLink(typeParameters);
12321
12182
  return link === undefined ? ast : replaceEncoding(ast, [mapLink(link, recur)]);
12322
12183
  }
@@ -12351,7 +12212,7 @@ function toCodecJsonASTStep(ast, recur) {
12351
12212
  return ast;
12352
12213
  }
12353
12214
  function toCodecStringTree(schema) {
12354
- return make30(toCodecStringTreeAST(schema.ast), {
12215
+ return make27(toCodecStringTreeAST(schema.ast), {
12355
12216
  schema
12356
12217
  });
12357
12218
  }
@@ -12371,7 +12232,7 @@ var toStringTreeReorder = /* @__PURE__ */ makeReorder((ast) => {
12371
12232
  function toCodecStringTreeASTStep(ast, recur, onMissingAnnotation) {
12372
12233
  switch (ast._tag) {
12373
12234
  case "Declaration": {
12374
- const typeParameters = ast.typeParameters.map((tp) => make30(recur(toEncoded(tp))));
12235
+ const typeParameters = ast.typeParameters.map((tp) => make27(recur(toEncoded(tp))));
12375
12236
  const getStringTreeLink = ast.annotations?.toCodecStringTree;
12376
12237
  if (isFunction2(getStringTreeLink)) {
12377
12238
  const link = getStringTreeLink(typeParameters);
@@ -13697,10 +13558,10 @@ function isSchemaError(u) {
13697
13558
  }
13698
13559
 
13699
13560
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Schema.js
13700
- var TypeId30 = TypeId29;
13561
+ var TypeId29 = TypeId28;
13701
13562
  function declareConstructor() {
13702
13563
  return (typeParameters, run, annotations) => {
13703
- return make31(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make31(ast))), annotations));
13564
+ return make28(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make28(ast))), annotations));
13704
13565
  };
13705
13566
  }
13706
13567
  function declare(is, annotations) {
@@ -13807,27 +13668,27 @@ function encodeUnknownSync(schema, options) {
13807
13668
  };
13808
13669
  }
13809
13670
  var encodeSync = encodeUnknownSync;
13810
- var make31 = make30;
13671
+ var make28 = make27;
13811
13672
  function isSchema(u) {
13812
- return hasProperty(u, TypeId30) && u[TypeId30] === TypeId30;
13673
+ return hasProperty(u, TypeId29) && u[TypeId29] === TypeId29;
13813
13674
  }
13814
- var optionalKey = /* @__PURE__ */ lambda((schema) => make31(optionalKey2(schema.ast), {
13675
+ var optionalKey = /* @__PURE__ */ lambda((schema) => make28(optionalKey2(schema.ast), {
13815
13676
  schema
13816
13677
  }));
13817
13678
  var optional = /* @__PURE__ */ lambda((self) => {
13818
13679
  const schema = UndefinedOr(self);
13819
- return make31(optional2(self.ast), {
13680
+ return make28(optional2(self.ast), {
13820
13681
  schema
13821
13682
  });
13822
13683
  });
13823
- var toType2 = /* @__PURE__ */ lambda((schema) => make31(toType(schema.ast), {
13684
+ var toType2 = /* @__PURE__ */ lambda((schema) => make28(toType(schema.ast), {
13824
13685
  schema
13825
13686
  }));
13826
- var toEncoded2 = /* @__PURE__ */ lambda((schema) => make31(toEncoded(schema.ast), {
13687
+ var toEncoded2 = /* @__PURE__ */ lambda((schema) => make28(toEncoded(schema.ast), {
13827
13688
  schema
13828
13689
  }));
13829
13690
  function Literal(literal) {
13830
- const out = make31(new Literal2(literal), {
13691
+ const out = make28(new Literal2(literal), {
13831
13692
  literal,
13832
13693
  transform(to) {
13833
13694
  return out.pipe(decodeTo(Literal(to), {
@@ -13838,16 +13699,16 @@ function Literal(literal) {
13838
13699
  });
13839
13700
  return out;
13840
13701
  }
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);
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);
13849
13710
  function makeStruct(ast, fields) {
13850
- return make31(ast, {
13711
+ return make28(ast, {
13851
13712
  fields,
13852
13713
  mapFields(f, options) {
13853
13714
  const fields = f(this.fields);
@@ -13859,19 +13720,19 @@ function Struct(fields) {
13859
13720
  return makeStruct(struct(fields, undefined), fields);
13860
13721
  }
13861
13722
  function Record(key, value) {
13862
- return make31(record(key.ast, value.ast), {
13723
+ return make28(record(key.ast, value.ast), {
13863
13724
  key,
13864
13725
  value
13865
13726
  });
13866
13727
  }
13867
13728
  function StructWithRest(schema, records) {
13868
- return make31(structWithRest(schema.ast, records.map(getAST)), {
13729
+ return make28(structWithRest(schema.ast, records.map(getAST)), {
13869
13730
  schema,
13870
13731
  records
13871
13732
  });
13872
13733
  }
13873
13734
  function makeTuple(ast, elements) {
13874
- return make31(ast, {
13735
+ return make28(ast, {
13875
13736
  elements,
13876
13737
  mapElements(f, options) {
13877
13738
  const elements = f(this.elements);
@@ -13882,14 +13743,14 @@ function makeTuple(ast, elements) {
13882
13743
  function Tuple(elements) {
13883
13744
  return makeTuple(tuple(elements), elements);
13884
13745
  }
13885
- var ArraySchema = /* @__PURE__ */ lambda((schema) => make31(new Arrays(false, [], [schema.ast]), {
13746
+ var ArraySchema = /* @__PURE__ */ lambda((schema) => make28(new Arrays(false, [], [schema.ast]), {
13886
13747
  value: schema
13887
13748
  }));
13888
- var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make31(new Arrays(false, [schema.ast], [schema.ast]), {
13749
+ var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make28(new Arrays(false, [schema.ast], [schema.ast]), {
13889
13750
  value: schema
13890
13751
  }));
13891
13752
  function makeUnion(ast, members) {
13892
- return make31(ast, {
13753
+ return make28(ast, {
13893
13754
  members,
13894
13755
  mapMembers(f, options) {
13895
13756
  const members = f(this.members);
@@ -13902,7 +13763,7 @@ function Union(members, options) {
13902
13763
  }
13903
13764
  function Literals(literals) {
13904
13765
  const members = literals.map(Literal);
13905
- return make31(union(members, undefined, undefined), {
13766
+ return make28(union(members, undefined, undefined), {
13906
13767
  literals,
13907
13768
  members,
13908
13769
  mapMembers(f) {
@@ -13919,18 +13780,18 @@ function Literals(literals) {
13919
13780
  var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null2]));
13920
13781
  var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
13921
13782
  function suspend5(f) {
13922
- return make31(new Suspend(() => f().ast));
13783
+ return make28(new Suspend(() => f().ast));
13923
13784
  }
13924
13785
  function decodeTo(to, transformation) {
13925
13786
  return (from) => {
13926
- return make31(decodeTo2(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
13787
+ return make28(decodeTo2(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
13927
13788
  from,
13928
13789
  to
13929
13790
  });
13930
13791
  };
13931
13792
  }
13932
13793
  function withConstructorDefault2(defaultValue) {
13933
- return (schema) => make31(withConstructorDefault(schema.ast, defaultValue), {
13794
+ return (schema) => make28(withConstructorDefault(schema.ast, defaultValue), {
13934
13795
  schema
13935
13796
  });
13936
13797
  }
@@ -13996,7 +13857,7 @@ function isBase64(annotations) {
13996
13857
  ...annotations
13997
13858
  });
13998
13859
  }
13999
- var Finite = /* @__PURE__ */ make31(finite);
13860
+ var Finite = /* @__PURE__ */ make28(finite);
14000
13861
  function makeIsGreaterThanOrEqualTo(options) {
14001
13862
  const gte = isGreaterThanOrEqualTo2(options.order);
14002
13863
  const formatter = options.formatter ?? format;
@@ -14525,7 +14386,7 @@ function CauseReason(error, defect) {
14525
14386
  }
14526
14387
  }))
14527
14388
  });
14528
- return make31(schema.ast, {
14389
+ return make28(schema.ast, {
14529
14390
  error,
14530
14391
  defect
14531
14392
  });
@@ -14562,7 +14423,7 @@ function Cause(error, defect) {
14562
14423
  }) => failures
14563
14424
  }))
14564
14425
  });
14565
- return make31(schema.ast, {
14426
+ return make28(schema.ast, {
14566
14427
  error,
14567
14428
  defect
14568
14429
  });
@@ -14623,7 +14484,7 @@ function Exit(value, error, defect) {
14623
14484
  }
14624
14485
  }))
14625
14486
  });
14626
- return make31(schema.ast, {
14487
+ return make28(schema.ast, {
14627
14488
  value,
14628
14489
  error,
14629
14490
  defect
@@ -14648,7 +14509,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
14648
14509
  }
14649
14510
  });
14650
14511
  }
14651
- static [TypeId30] = TypeId30;
14512
+ static [TypeId29] = TypeId29;
14652
14513
  get [ClassTypeId]() {
14653
14514
  return ClassTypeId;
14654
14515
  }
@@ -14665,7 +14526,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
14665
14526
  return getClassSchema(this).rebuild(ast);
14666
14527
  }
14667
14528
  static make(input, options) {
14668
- return make29(getClassSchema(this))(input ?? {}, options);
14529
+ return make26(getClassSchema(this))(input ?? {}, options);
14669
14530
  }
14670
14531
  static makeOption(input, options) {
14671
14532
  return makeOption(getClassSchema(this))(input ?? {}, options);
@@ -14724,7 +14585,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
14724
14585
  const ClassTypeId = getClassTypeId(identifier);
14725
14586
  const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
14726
14587
  const transformation = getClassTransformation(self);
14727
- const to = make31(new Declaration([from.ast], () => (input, ast, options) => {
14588
+ const to = make28(new Declaration([from.ast], () => (input, ast, options) => {
14728
14589
  return isClassValue(input) ? succeed5(input) : fail4(new InvalidType(ast, input, options));
14729
14590
  }, {
14730
14591
  identifier,
@@ -14781,7 +14642,7 @@ function toJsonSchemaDocument(schema, options) {
14781
14642
  }
14782
14643
  var toCodecJson = toCodecJson2;
14783
14644
  var toCodecStringTree2 = toCodecStringTree;
14784
- var Json = /* @__PURE__ */ make31(/* @__PURE__ */ annotate(Json2, {
14645
+ var Json = /* @__PURE__ */ make28(/* @__PURE__ */ annotate(Json2, {
14785
14646
  toCode: () => ({
14786
14647
  runtime: "Schema.Json",
14787
14648
  Type: "Schema.Json"
@@ -14871,7 +14732,7 @@ function toDate(input) {
14871
14732
  return toDateUtc2(makeUnsafe5(input));
14872
14733
  }
14873
14734
  function parseDate(input) {
14874
- return getOrUndefined(map(make23(input), toDateUtc2));
14735
+ return getOrUndefined(map(make20(input), toDateUtc2));
14875
14736
  }
14876
14737
  function toIso(input) {
14877
14738
  return formatIso(makeUnsafe5(input));
@@ -19980,10 +19841,11 @@ var RunnerReplicaDrainState = Union([
19980
19841
  Literal("draining"),
19981
19842
  Literal("drained")
19982
19843
  ]);
19844
+ var RunnerProjectAccess = Union([Literal("all"), Literal("selected")]);
19983
19845
  var RunnerOwnership = Union([
19984
19846
  Struct({
19985
19847
  kind: Literal("workspace"),
19986
- projectAccess: Union([Literal("all"), Literal("selected")])
19848
+ projectAccess: RunnerProjectAccess
19987
19849
  }),
19988
19850
  Struct({
19989
19851
  kind: Literal("project"),
@@ -19991,7 +19853,8 @@ var RunnerOwnership = Union([
19991
19853
  }),
19992
19854
  Struct({
19993
19855
  kind: Literal("personal"),
19994
- ownerUserId: Id
19856
+ ownerUserId: Id,
19857
+ projectAccess: RunnerProjectAccess.pipe(withDecodingDefaultKey(succeed5("all")))
19995
19858
  })
19996
19859
  ]);
19997
19860
  var RunnerSecretProviderType = Union([Literal("env"), Literal("file"), Literal("exec")]);
@@ -20225,6 +20088,12 @@ var RunnerProjectGrantCreate = Struct({
20225
20088
  var RunnerRescope = Struct({
20226
20089
  ownership: RunnerOwnership
20227
20090
  });
20091
+ var RunnerUpdate = Struct({
20092
+ name: String2.check(isMinLength(1), isMaxLength(120))
20093
+ });
20094
+ var RunnerRemoveResult = Struct({
20095
+ removed: Boolean2
20096
+ });
20228
20097
  var RunnerDefaultHarnessInput = Struct({
20229
20098
  harness: NullOr(Literals(DetectedHarnessIds))
20230
20099
  });
@@ -21598,7 +21467,7 @@ function makeProvider(load, mapInput) {
21598
21467
  function makeSource(get, transform) {
21599
21468
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
21600
21469
  }
21601
- function make32(get) {
21470
+ function make29(get) {
21602
21471
  return makeSource(get, identityPath);
21603
21472
  }
21604
21473
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -21607,7 +21476,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
21607
21476
  function fromEnvRecord(env, options) {
21608
21477
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
21609
21478
  const trie = buildEnvTrie(env);
21610
- return make32((path) => succeed5(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
21479
+ return make29((path) => succeed5(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
21611
21480
  }
21612
21481
  function fromEnv(options) {
21613
21482
  const env = options?.env ?? {
@@ -21660,7 +21529,7 @@ function trieNodeAt(root, path) {
21660
21529
  }
21661
21530
 
21662
21531
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Config.js
21663
- var TypeId31 = "~effect/Config";
21532
+ var TypeId30 = "~effect/Config";
21664
21533
  class ConfigError {
21665
21534
  _tag = "ConfigError";
21666
21535
  name = "ConfigError";
@@ -21682,14 +21551,14 @@ var Proto9 = {
21682
21551
  return this.parse(fiber.getRef(ConfigProvider));
21683
21552
  }
21684
21553
  }),
21685
- [TypeId31]: TypeId31,
21554
+ [TypeId30]: TypeId30,
21686
21555
  toJSON() {
21687
21556
  return {
21688
21557
  _id: "Config"
21689
21558
  };
21690
21559
  }
21691
21560
  };
21692
- function make33(evaluator) {
21561
+ function make30(evaluator) {
21693
21562
  const self = Object.create(Proto9);
21694
21563
  self.evaluator = evaluator;
21695
21564
  self.parse = (provider) => flatMapEager2(evaluator(provider, []), fromResult2);
@@ -21697,14 +21566,14 @@ function make33(evaluator) {
21697
21566
  }
21698
21567
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
21699
21568
  var map5 = /* @__PURE__ */ dual(2, (self, f) => {
21700
- return make33((provider, pathPrefix) => map3(evaluateAt(self, provider, pathPrefix), map6(f)));
21569
+ return make30((provider, pathPrefix) => map3(evaluateAt(self, provider, pathPrefix), map6(f)));
21701
21570
  });
21702
21571
  function all2(arg) {
21703
21572
  const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
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));
21573
+ 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));
21705
21574
  }
21706
21575
  var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
21707
- return make33((provider, pathPrefix) => mapEager2(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
21576
+ return make30((provider, pathPrefix) => mapEager2(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
21708
21577
  });
21709
21578
  var option2 = (self) => self.pipe(map5(some2), withDefault(none()));
21710
21579
  var isSourceError = (u) => isTagged(u, "SourceError");
@@ -21816,9 +21685,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
21816
21685
  function schema(codec, path) {
21817
21686
  const codecStringTree = toCodecStringTree2(codec);
21818
21687
  const encodedAst = toEncoded(codecStringTree.ast);
21819
- const decodeCursor = decodeUnknownEffect2(make31(toConfigCursorAST(codecStringTree.ast)));
21688
+ const decodeCursor = decodeUnknownEffect2(make28(toConfigCursorAST(codecStringTree.ast)));
21820
21689
  const localPath = typeof path === "string" ? [path] : path ?? [];
21821
- return make33((provider, pathPrefix) => {
21690
+ return make30((provider, pathPrefix) => {
21822
21691
  const fullPath = [...pathPrefix, ...localPath];
21823
21692
  return loadCursor(provider, fullPath).pipe(flatMapEager2((cursor) => decodeCursor(cursor).pipe(mapEager2(succeed), catchEager2((issue) => {
21824
21693
  const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
@@ -21847,6 +21716,7 @@ function parseCliConfig(value) {
21847
21716
  const ids = (field) => Array.isArray(field) && field.every(isString2) ? field : undefined;
21848
21717
  const onboarding = isJsonObject(value.onboarding) ? value.onboarding : undefined;
21849
21718
  const mcpSkippedProjectIds = ids(onboarding?.mcpSkippedProjectIds);
21719
+ const approvedSkillSources = ids(value.approvedSkillSources);
21850
21720
  return {
21851
21721
  ...text("apiUrl"),
21852
21722
  ...text("activeWorkspaceId"),
@@ -21854,6 +21724,7 @@ function parseCliConfig(value) {
21854
21724
  ...text("mcpCredentialName"),
21855
21725
  ...UserAgentPreferencesValidator(value.userAgentPreferences) ? { userAgentPreferences: value.userAgentPreferences } : undefined,
21856
21726
  ...AgentSyncProfileValidator(value.agentSyncProfile) ? { agentSyncProfile: value.agentSyncProfile } : undefined,
21727
+ ...approvedSkillSources === undefined ? undefined : { approvedSkillSources },
21857
21728
  ...onboarding === undefined ? undefined : {
21858
21729
  onboarding: {
21859
21730
  ...mcpSkippedProjectIds === undefined ? undefined : { mcpSkippedProjectIds }
@@ -22080,11 +21951,11 @@ function isStringArray(value) {
22080
21951
  }
22081
21952
 
22082
21953
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpBody.js
22083
- var TypeId32 = "~effect/http/HttpBody";
21954
+ var TypeId31 = "~effect/http/HttpBody";
22084
21955
  class Proto10 {
22085
- [TypeId32];
21956
+ [TypeId31];
22086
21957
  constructor() {
22087
- this[TypeId32] = TypeId32;
21958
+ this[TypeId31] = TypeId31;
22088
21959
  }
22089
21960
  [NodeInspectSymbol]() {
22090
21961
  return this.toJSON();
@@ -22132,7 +22003,7 @@ var raw = (body, options) => new Raw(body, options?.contentType, options?.conten
22132
22003
  var buffer2 = globalThis.Buffer;
22133
22004
 
22134
22005
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpClientError.js
22135
- var TypeId33 = "~effect/http/HttpClientError";
22006
+ var TypeId32 = "~effect/http/HttpClientError";
22136
22007
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
22137
22008
  constructor(props) {
22138
22009
  if ("cause" in props.reason) {
@@ -22144,7 +22015,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
22144
22015
  super(props);
22145
22016
  }
22146
22017
  }
22147
- [TypeId33] = TypeId33;
22018
+ [TypeId32] = TypeId32;
22148
22019
  get request() {
22149
22020
  return this.reason.request;
22150
22021
  }
@@ -22205,7 +22076,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
22205
22076
  }
22206
22077
  }
22207
22078
 
22208
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error2(TypeId33)({
22079
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error2(TypeId32)({
22209
22080
  _tag: /* @__PURE__ */ tag("HttpError"),
22210
22081
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
22211
22082
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -22234,7 +22105,7 @@ var updateHeaders = (headers, body) => {
22234
22105
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/Url.js
22235
22106
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
22236
22107
  }
22237
- var make34 = (url, params, hash) => try_2({
22108
+ var make31 = (url, params, hash) => try_2({
22238
22109
  try: () => {
22239
22110
  const urlInstance = new URL(url, baseUrl());
22240
22111
  for (let i = 0;i < params.params.length; i++) {
@@ -22260,9 +22131,9 @@ var baseUrl = () => {
22260
22131
  };
22261
22132
 
22262
22133
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpClientRequest.js
22263
- var TypeId34 = "~effect/http/HttpClientRequest";
22134
+ var TypeId33 = "~effect/http/HttpClientRequest";
22264
22135
  var Proto11 = {
22265
- [TypeId34]: TypeId34,
22136
+ [TypeId33]: TypeId33,
22266
22137
  ...BaseProto,
22267
22138
  toJSON() {
22268
22139
  return {
@@ -22290,13 +22161,13 @@ function makeWith(method, url, urlParams, hash, headers, body) {
22290
22161
  return self;
22291
22162
  }
22292
22163
  var empty8 = /* @__PURE__ */ makeWith("GET", "", empty6, /* @__PURE__ */ none(), empty3, empty7);
22293
- var make13 = (method) => (url, options) => modify(empty8, {
22164
+ var make12 = (method) => (url, options) => modify(empty8, {
22294
22165
  method,
22295
22166
  url,
22296
22167
  ...options ?? undefined
22297
22168
  });
22298
- var get3 = /* @__PURE__ */ make13("GET");
22299
- var put = /* @__PURE__ */ make13("PUT");
22169
+ var get2 = /* @__PURE__ */ make12("GET");
22170
+ var put = /* @__PURE__ */ make12("PUT");
22300
22171
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
22301
22172
  let result = self;
22302
22173
  if (options.method) {
@@ -22335,7 +22206,7 @@ var setUrl = /* @__PURE__ */ dual(2, (self, url) => {
22335
22206
  return makeWith(self.method, url, self.urlParams, self.hash, self.headers, self.body);
22336
22207
  }
22337
22208
  const clone = new URL(url.toString());
22338
- const urlParams = fromInput3(clone.searchParams);
22209
+ const urlParams = fromInput2(clone.searchParams);
22339
22210
  const hash = fromNullishOr(clone.hash === "" ? undefined : clone.hash.slice(1));
22340
22211
  clone.search = "";
22341
22212
  clone.hash = "";
@@ -22347,7 +22218,7 @@ var setBody = /* @__PURE__ */ dual(2, (self, body) => {
22347
22218
  return makeWith(self.method, self.url, self.urlParams, self.hash, updateHeaders(self.headers, body), body);
22348
22219
  });
22349
22220
  function toUrl(self) {
22350
- const r = make34(self.url, self.urlParams, getOrUndefined(self.hash));
22221
+ const r = make31(self.url, self.urlParams, getOrUndefined(self.hash));
22351
22222
  if (isSuccess(r)) {
22352
22223
  return some2(r.success);
22353
22224
  }
@@ -22355,7 +22226,7 @@ function toUrl(self) {
22355
22226
  }
22356
22227
 
22357
22228
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpIncomingMessage.js
22358
- var TypeId35 = "~effect/http/HttpIncomingMessage";
22229
+ var TypeId34 = "~effect/http/HttpIncomingMessage";
22359
22230
  var inspect = (self, that) => {
22360
22231
  const contentType = self.headers["content-type"] ?? "";
22361
22232
  let body;
@@ -22380,19 +22251,19 @@ var inspect = (self, that) => {
22380
22251
  };
22381
22252
 
22382
22253
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpClientResponse.js
22383
- var TypeId36 = "~effect/http/HttpClientResponse";
22254
+ var TypeId35 = "~effect/http/HttpClientResponse";
22384
22255
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
22385
22256
  class WebHttpClientResponse extends Class3 {
22257
+ [TypeId34];
22386
22258
  [TypeId35];
22387
- [TypeId36];
22388
22259
  request;
22389
22260
  source;
22390
22261
  constructor(request, source) {
22391
22262
  super();
22392
22263
  this.request = request;
22393
22264
  this.source = source;
22265
+ this[TypeId34] = TypeId34;
22394
22266
  this[TypeId35] = TypeId35;
22395
- this[TypeId36] = TypeId36;
22396
22267
  }
22397
22268
  toJSON() {
22398
22269
  return inspect(this, {
@@ -22462,7 +22333,7 @@ class WebHttpClientResponse extends Class3 {
22462
22333
  }
22463
22334
  get urlParamsBody() {
22464
22335
  return flatMap(this.text, (_) => try_({
22465
- try: () => fromInput3(new URLSearchParams(_)),
22336
+ try: () => fromInput2(new URLSearchParams(_)),
22466
22337
  catch: (cause) => new HttpClientError({
22467
22338
  reason: new DecodeError({
22468
22339
  request: this.request,
@@ -22548,7 +22419,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
22548
22419
  };
22549
22420
 
22550
22421
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/http/HttpClient.js
22551
- var TypeId37 = "~effect/http/HttpClient";
22422
+ var TypeId36 = "~effect/http/HttpClient";
22552
22423
  var HttpClient = /* @__PURE__ */ Service("effect/HttpClient");
22553
22424
  var accessor = (method) => (...args) => flatMap(HttpClient, (client) => client[method](...args));
22554
22425
  var execute = /* @__PURE__ */ accessor("execute");
@@ -22564,7 +22435,7 @@ var makeWith2 = (postprocess, preprocess) => {
22564
22435
  return self;
22565
22436
  };
22566
22437
  var Proto12 = {
22567
- [TypeId37]: TypeId37,
22438
+ [TypeId36]: TypeId36,
22568
22439
  pipe() {
22569
22440
  return pipeArguments(this, arguments);
22570
22441
  },
@@ -22575,13 +22446,13 @@ var Proto12 = {
22575
22446
  };
22576
22447
  },
22577
22448
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
22578
- return this.execute(make13(fullMethod)(url, options));
22449
+ return this.execute(make12(fullMethod)(url, options));
22579
22450
  }]))
22580
22451
  };
22581
- var make35 = (f) => makeWith2((effect) => flatMap(effect, (request) => withFiber((fiber) => {
22452
+ var make32 = (f) => makeWith2((effect) => flatMap(effect, (request) => withFiber((fiber) => {
22582
22453
  const scopedController = scopedRequests.get(request);
22583
22454
  const controller = scopedController ?? new AbortController;
22584
- const urlResult = make34(request.url, request.urlParams, getOrUndefined(request.hash));
22455
+ const urlResult = make31(request.url, request.urlParams, getOrUndefined(request.hash));
22585
22456
  if (isFailure(urlResult)) {
22586
22457
  return fail4(new HttpClientError({
22587
22458
  reason: new InvalidUrlError({
@@ -22708,8 +22579,8 @@ class InterruptibleResponse {
22708
22579
  this.original = original;
22709
22580
  this.controller = controller;
22710
22581
  }
22711
- [TypeId36] = TypeId36;
22712
22582
  [TypeId35] = TypeId35;
22583
+ [TypeId34] = TypeId34;
22713
22584
  applyInterrupt(effect) {
22714
22585
  return suspend(() => {
22715
22586
  responseRegistry.unregister(this.original);
@@ -22777,7 +22648,7 @@ var Fetch = /* @__PURE__ */ Reference("effect/http/FetchHttpClient/Fetch", {
22777
22648
 
22778
22649
  class RequestInit extends (/* @__PURE__ */ Service()("effect/http/FetchHttpClient/RequestInit")) {
22779
22650
  }
22780
- var fetch2 = /* @__PURE__ */ make35((request, url, signal, fiber) => {
22651
+ var fetch2 = /* @__PURE__ */ make32((request, url, signal, fiber) => {
22781
22652
  const fetch2 = fiber.getRef(Fetch);
22782
22653
  const options = getOrUndefined2(fiber.context, RequestInit) ?? {};
22783
22654
  let headers = options.headers ? merge3(fromInput(options.headers), request.headers) : request.headers;
@@ -23332,6 +23203,9 @@ class KitmanEffectClient {
23332
23203
  const suffix = page === undefined ? "" : `?page=${page}`;
23333
23204
  return this.request("listCodeHostRepositories", `/workspaces/${segment(workspaceId)}/code-host-connections/${segment(connectionId)}/repositories${suffix}`, { headers: this.headers() });
23334
23205
  }
23206
+ listCodeHostGroups(workspaceId, connectionId) {
23207
+ return this.request("listCodeHostGroups", `/workspaces/${segment(workspaceId)}/code-host-connections/${segment(connectionId)}/groups`, { headers: this.headers() });
23208
+ }
23335
23209
  bindCodeHostRepositories(workspaceId, connectionId, input) {
23336
23210
  return this.request("bindCodeHostRepositories", `/workspaces/${segment(workspaceId)}/code-host-connections/${segment(connectionId)}/repo-bindings`, { method: "POST", headers: this.headers(true), body: JSON.stringify(input) });
23337
23211
  }
@@ -24303,6 +24177,16 @@ class KitmanEffectClient {
24303
24177
  body: JSON.stringify(input)
24304
24178
  });
24305
24179
  }
24180
+ updateRunner(runnerId, input) {
24181
+ return this.request("updateRunner", `/runners/${segment(runnerId)}`, {
24182
+ method: "PATCH",
24183
+ headers: this.headers(true),
24184
+ body: JSON.stringify(input)
24185
+ });
24186
+ }
24187
+ removeRunner(runnerId) {
24188
+ return this.request("removeRunner", `/runners/${segment(runnerId)}`, { method: "DELETE", headers: this.headers() });
24189
+ }
24306
24190
  setRunnerDefaultHarness(runnerId, input) {
24307
24191
  return this.request("setRunnerDefaultHarness", `/runners/${segment(runnerId)}/default-harness`, {
24308
24192
  method: "PUT",
@@ -25061,7 +24945,7 @@ function toStoredSession(token, existingRefreshToken) {
25061
24945
  }
25062
24946
  function startLoopbackServer(input) {
25063
24947
  return gen(function* () {
25064
- const code = yield* make16();
24948
+ const code = yield* make15();
25065
24949
  const server = yield* acquireRelease(sync(() => Bun.serve({
25066
24950
  hostname: "127.0.0.1",
25067
24951
  port: 0,
@@ -25589,7 +25473,7 @@ function getStreamSchemas(schema) {
25589
25473
  }
25590
25474
  var schema2 = /* @__PURE__ */ declare(isStream);
25591
25475
  function Stream2(success, error) {
25592
- return make31(schema2.ast, {
25476
+ return make28(schema2.ast, {
25593
25477
  [StreamSchemaTypeId]: StreamSchemaTypeId,
25594
25478
  success,
25595
25479
  error
@@ -25597,9 +25481,9 @@ function Stream2(success, error) {
25597
25481
  }
25598
25482
 
25599
25483
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/rpc/Rpc.js
25600
- var TypeId38 = "~effect/rpc/Rpc";
25484
+ var TypeId37 = "~effect/rpc/Rpc";
25601
25485
  var Proto13 = {
25602
- [TypeId38]: TypeId38,
25486
+ [TypeId37]: TypeId37,
25603
25487
  pipe() {
25604
25488
  return pipeArguments(this, arguments);
25605
25489
  },
@@ -25688,7 +25572,7 @@ var makeProto = (options) => {
25688
25572
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
25689
25573
  return Rpc;
25690
25574
  };
25691
- var make14 = (tag, options) => {
25575
+ var make13 = (tag, options) => {
25692
25576
  const successSchema = options?.success ?? Void;
25693
25577
  const errorSchema = options?.error ?? Never;
25694
25578
  const defectSchema = options?.defect ?? Defect();
@@ -25870,12 +25754,12 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
25870
25754
  requests: options.requests,
25871
25755
  annotations: options.annotations
25872
25756
  });
25873
- var make15 = (...rpcs) => makeProto2({
25757
+ var make14 = (...rpcs) => makeProto2({
25874
25758
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
25875
25759
  annotations: empty()
25876
25760
  });
25877
25761
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/rpc/RpcMiddleware.js
25878
- var TypeId39 = "~effect/rpc/RpcMiddleware";
25762
+ var TypeId38 = "~effect/rpc/RpcMiddleware";
25879
25763
  var Service2 = () => (id, options) => {
25880
25764
  const limit = getStackTraceLimit();
25881
25765
  let creationError;
@@ -25893,7 +25777,7 @@ var Service2 = () => (id, options) => {
25893
25777
  return creationError?.stack;
25894
25778
  }
25895
25779
  });
25896
- ServiceClass_[TypeId39] = TypeId39;
25780
+ ServiceClass_[TypeId38] = TypeId38;
25897
25781
  ServiceClass_.error = options?.error ?? Never;
25898
25782
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
25899
25783
  return ServiceClass;
@@ -25964,30 +25848,30 @@ var ProgramOutcome = Union([
25964
25848
  Struct({ status: Literal("failed"), failureSummary: String2 })
25965
25849
  ]);
25966
25850
 
25967
- class RunnerRpcs extends make15(make14("Claim", {
25851
+ class RunnerRpcs extends make14(make13("Claim", {
25968
25852
  payload: WorkUnitClaimInput,
25969
25853
  success: WorkUnitClaimResult,
25970
25854
  error: RunnerRpcError
25971
- }), make14("Heartbeat", {
25855
+ }), make13("Heartbeat", {
25972
25856
  payload: WorkUnitHeartbeatInput,
25973
25857
  success: WorkUnitHeartbeatResult,
25974
25858
  error: RunnerRpcError
25975
- }), make14("Complete", {
25859
+ }), make13("Complete", {
25976
25860
  payload: WorkUnitCompletion,
25977
25861
  error: RunnerRpcError
25978
- }), make14("Release", {
25862
+ }), make13("Release", {
25979
25863
  payload: WorkUnitReleaseInput,
25980
25864
  error: RunnerRpcError
25981
- }), make14("RecordActivity", {
25865
+ }), make13("RecordActivity", {
25982
25866
  payload: { lease: ProgramLease, name: String2, attempt: Int, exit: Json },
25983
25867
  error: RunnerRpcError
25984
- }), make14("DeferredDone", {
25868
+ }), make13("DeferredDone", {
25985
25869
  payload: { lease: ProgramLease, name: String2, exit: Json },
25986
25870
  error: RunnerRpcError
25987
- }), make14("ScheduleClock", {
25871
+ }), make13("ScheduleClock", {
25988
25872
  payload: { lease: ProgramLease, name: String2, deferredName: String2, durationMillis: Int },
25989
25873
  error: RunnerRpcError
25990
- }), make14("PutQuestion", {
25874
+ }), make13("PutQuestion", {
25991
25875
  payload: {
25992
25876
  lease: ProgramLease,
25993
25877
  step: String2,
@@ -25998,7 +25882,7 @@ class RunnerRpcs extends make15(make14("Claim", {
25998
25882
  },
25999
25883
  success: Struct({ questionId: String2 }),
26000
25884
  error: RunnerRpcError
26001
- }), make14("StartAgentStep", {
25885
+ }), make13("StartAgentStep", {
26002
25886
  payload: {
26003
25887
  lease: ProgramLease,
26004
25888
  step: String2,
@@ -26011,7 +25895,7 @@ class RunnerRpcs extends make15(make14("Claim", {
26011
25895
  },
26012
25896
  success: Struct({ stepAttemptId: String2 }),
26013
25897
  error: RunnerRpcError
26014
- }), make14("StartVerification", {
25898
+ }), make13("StartVerification", {
26015
25899
  payload: {
26016
25900
  lease: ProgramLease,
26017
25901
  step: String2,
@@ -26021,11 +25905,11 @@ class RunnerRpcs extends make15(make14("Claim", {
26021
25905
  },
26022
25906
  success: Struct({ verificationId: String2 }),
26023
25907
  error: RunnerRpcError
26024
- }), make14("KnownEvidence", {
25908
+ }), make13("KnownEvidence", {
26025
25909
  payload: { lease: ProgramLease, trees: ArraySchema(String2) },
26026
25910
  success: ArraySchema(Struct({ tree: String2, name: String2, command: String2 })),
26027
25911
  error: RunnerRpcError
26028
- }), make14("AwaitEvent", {
25912
+ }), make13("AwaitEvent", {
26029
25913
  payload: {
26030
25914
  lease: ProgramLease,
26031
25915
  step: String2,
@@ -26035,7 +25919,7 @@ class RunnerRpcs extends make15(make14("Claim", {
26035
25919
  timeoutMillis: Int
26036
25920
  },
26037
25921
  error: RunnerRpcError
26038
- }), make14("AdmitChild", {
25922
+ }), make13("AdmitChild", {
26039
25923
  payload: {
26040
25924
  lease: ProgramLease,
26041
25925
  step: String2,
@@ -26045,7 +25929,7 @@ class RunnerRpcs extends make15(make14("Claim", {
26045
25929
  },
26046
25930
  success: Struct({ runId: String2 }),
26047
25931
  error: RunnerRpcError
26048
- }), make14("StoreArtifact", {
25932
+ }), make13("StoreArtifact", {
26049
25933
  payload: {
26050
25934
  lease: ProgramLease,
26051
25935
  step: String2,
@@ -26056,7 +25940,7 @@ class RunnerRpcs extends make15(make14("Claim", {
26056
25940
  },
26057
25941
  success: Struct({ artifactId: String2 }),
26058
25942
  error: RunnerRpcError
26059
- }), make14("RecordNote", {
25943
+ }), make13("RecordNote", {
26060
25944
  payload: {
26061
25945
  lease: ProgramLease,
26062
25946
  step: String2,
@@ -26064,7 +25948,7 @@ class RunnerRpcs extends make15(make14("Claim", {
26064
25948
  artifactId: optional(String2)
26065
25949
  },
26066
25950
  error: RunnerRpcError
26067
- }), make14("PerformHostEffect", {
25951
+ }), make13("PerformHostEffect", {
26068
25952
  payload: {
26069
25953
  lease: ProgramLease,
26070
25954
  step: String2,
@@ -26085,7 +25969,7 @@ class RunnerRpcs extends make15(make14("Claim", {
26085
25969
  },
26086
25970
  success: UndefinedOr(Struct({ id: String2, number: String2, url: String2 })),
26087
25971
  error: RunnerRpcError
26088
- }), make14("CreatePlanTasks", {
25972
+ }), make13("CreatePlanTasks", {
26089
25973
  payload: {
26090
25974
  lease: ProgramLease,
26091
25975
  tickets: ArraySchema(Struct({
@@ -26099,18 +25983,18 @@ class RunnerRpcs extends make15(make14("Claim", {
26099
25983
  },
26100
25984
  success: ArraySchema(Struct({ key: String2, taskId: String2 })),
26101
25985
  error: RunnerRpcError
26102
- }), make14("IntegrationBranch", {
25986
+ }), make13("IntegrationBranch", {
26103
25987
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String2) },
26104
25988
  success: Struct({ repoBindingId: String2, branch: String2, revision: String2 }),
26105
25989
  error: RunnerRpcError
26106
- }), make14("MergeChangeRequest", {
25990
+ }), make13("MergeChangeRequest", {
26107
25991
  payload: { lease: ProgramLease, step: String2, changeRequestId: String2 },
26108
25992
  success: Union([
26109
25993
  Struct({ status: Literal("merged"), revision: String2 }),
26110
25994
  Struct({ status: Literal("conflict") })
26111
25995
  ]),
26112
25996
  error: RunnerRpcError
26113
- }), make14("PublishRelease", {
25997
+ }), make13("PublishRelease", {
26114
25998
  payload: {
26115
25999
  lease: ProgramLease,
26116
26000
  step: String2,
@@ -26121,42 +26005,42 @@ class RunnerRpcs extends make15(make14("Claim", {
26121
26005
  },
26122
26006
  success: Struct({ tag: String2, revision: String2, url: String2 }),
26123
26007
  error: RunnerRpcError
26124
- }), make14("ReportSteer", {
26008
+ }), make13("ReportSteer", {
26125
26009
  payload: { workUnitId: String2, messageId: String2, delivered: Boolean2 },
26126
26010
  success: Void,
26127
26011
  error: RunnerRpcError
26128
- }), make14("SaveCheckpoint", {
26012
+ }), make13("SaveCheckpoint", {
26129
26013
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
26130
26014
  success: Void,
26131
26015
  error: RunnerRpcError
26132
- }), make14("ResumeCheckpoint", {
26016
+ }), make13("ResumeCheckpoint", {
26133
26017
  payload: { lease: ProgramLease },
26134
26018
  success: UndefinedOr(StepCheckpoint),
26135
26019
  error: RunnerRpcError
26136
- }), make14("SettledCheckpoints", {
26020
+ }), make13("SettledCheckpoints", {
26137
26021
  success: ArraySchema(Struct({
26138
26022
  stepAttemptId: String2,
26139
26023
  ref: optionalKey(String2),
26140
26024
  repoBinding: optionalKey(WorkUnitRepoBinding)
26141
26025
  })),
26142
26026
  error: RunnerRpcError
26143
- }), make14("ForgetCheckpoints", {
26027
+ }), make13("ForgetCheckpoints", {
26144
26028
  payload: { stepAttemptIds: ArraySchema(String2) },
26145
26029
  success: Void,
26146
26030
  error: RunnerRpcError
26147
- }), make14("Bundle", {
26031
+ }), make13("Bundle", {
26148
26032
  payload: { digest: String2 },
26149
26033
  success: Struct({ bundle: String2 }),
26150
26034
  error: RunnerRpcError
26151
- }), make14("SettledRuns", {
26035
+ }), make13("SettledRuns", {
26152
26036
  payload: { runIds: ArraySchema(String2) },
26153
26037
  success: ArraySchema(String2),
26154
26038
  error: RunnerRpcError
26155
- }), make14("ProgramSecrets", {
26039
+ }), make13("ProgramSecrets", {
26156
26040
  payload: { lease: ProgramLease },
26157
26041
  success: Record(String2, String2),
26158
26042
  error: RunnerRpcError
26159
- }), make14("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make14("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError }), make14("Signals", {
26043
+ }), make13("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make13("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError }), make13("Signals", {
26160
26044
  payload: { runnerReplicaId: String2 },
26161
26045
  success: RunnerSignal,
26162
26046
  error: RunnerRpcError,
@@ -26283,7 +26167,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
26283
26167
  }
26284
26168
  var runCommand2 = (command, args, options = {}) => gen(function* () {
26285
26169
  const spawner = yield* ChildProcessSpawner;
26286
- const handle = yield* spawner.spawn(make12(command, args, {
26170
+ const handle = yield* spawner.spawn(make11(command, args, {
26287
26171
  stdin: "ignore",
26288
26172
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
26289
26173
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -26309,8 +26193,8 @@ var shellOutputTailChars2 = 64 * 1024;
26309
26193
  var runProcess2 = (argv, options) => gen(function* () {
26310
26194
  const spawner = yield* ChildProcessSpawner;
26311
26195
  const [command, ...args] = argv;
26312
- const handle = yield* spawner.spawn(make12(command, args, {
26313
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
26196
+ const handle = yield* spawner.spawn(make11(command, args, {
26197
+ stdin: options.stdin === undefined ? "ignore" : make9(new TextEncoder().encode(options.stdin)),
26314
26198
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
26315
26199
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads(), ...options.env }
26316
26200
  }));
@@ -26461,4 +26345,4 @@ function assertHerdrRunnerCapability2(capabilities) {
26461
26345
  throw new Error("herdr_runner_capability_mismatch");
26462
26346
  }
26463
26347
 
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 };
26348
+ 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 };