@kitman-sh/cli 0.13.6 → 0.13.8

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.
Files changed (27) hide show
  1. package/dist/{chunk-s06x2ktk.js → chunk-08dyrk6y.js} +7 -7
  2. package/dist/{chunk-vktjb2p7.js → chunk-0h49y8gf.js} +164 -36
  3. package/dist/{chunk-2x1q8z5t.js → chunk-5zhh41gb.js} +4 -4
  4. package/dist/{chunk-27pv44t3.js → chunk-5zth85pj.js} +2 -2
  5. package/dist/{chunk-vmzr8xcg.js → chunk-7bytsxkf.js} +7 -5
  6. package/dist/{chunk-9t8afbrw.js → chunk-96svx416.js} +6 -6
  7. package/dist/{chunk-xc1grg7y.js → chunk-a24jc5rx.js} +69 -47
  8. package/dist/{chunk-cg3xstek.js → chunk-byeasm6x.js} +3 -3
  9. package/dist/{chunk-hg8wgm04.js → chunk-c4ccpwjy.js} +4 -4
  10. package/dist/{chunk-cabmcvy1.js → chunk-cbpb2rww.js} +7 -7
  11. package/dist/{chunk-at4e0xvg.js → chunk-cq2h8q9e.js} +7 -7
  12. package/dist/{chunk-xy7ze8dj.js → chunk-eg1n8wvf.js} +36 -22
  13. package/dist/{chunk-j974anp7.js → chunk-ff1r9vcq.js} +1 -1
  14. package/dist/{chunk-89hds8q4.js → chunk-gj1padza.js} +156 -89
  15. package/dist/{chunk-mm2m3bys.js → chunk-gq7y5v3e.js} +1 -1
  16. package/dist/{chunk-qj412x98.js → chunk-gr17n0z3.js} +11 -11
  17. package/dist/{chunk-bz4bp0q7.js → chunk-gy9rf14f.js} +3 -3
  18. package/dist/{chunk-r08sz4ry.js → chunk-h1rmw7yk.js} +6 -6
  19. package/dist/{chunk-4nfan8t6.js → chunk-mtkstrh3.js} +60 -14
  20. package/dist/{chunk-s8m2tzdr.js → chunk-q5w3v4k1.js} +1 -1
  21. package/dist/{chunk-mwkn1c5q.js → chunk-vm2qy986.js} +129 -111
  22. package/dist/{chunk-skqn4h13.js → chunk-y1krmnbv.js} +2 -2
  23. package/dist/{chunk-a0wt1r43.js → chunk-z68rzf0f.js} +23 -23
  24. package/dist/{chunk-x3cc7dfc.js → chunk-zw3gf6r5.js} +40 -226
  25. package/dist/{chunk-3teferzd.js → chunk-zz589n7a.js} +7 -7
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-x3cc7dfc.js";
16
+ } from "./chunk-zw3gf6r5.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-s8m2tzdr.js";
20
+ } from "./chunk-q5w3v4k1.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -41,7 +41,7 @@ import {
41
41
  isFailure2,
42
42
  hasInterrupts,
43
43
  makeUnsafe5,
44
- make15,
44
+ make16,
45
45
  _await,
46
46
  fail5,
47
47
  isDoneUnsafe,
@@ -168,13 +168,14 @@ import {
168
168
  decodeJsonStringSync,
169
169
  encodeUnknownJsonStringSync,
170
170
  storable
171
- } from "./chunk-x3cc7dfc.js";
171
+ } from "./chunk-zw3gf6r5.js";
172
172
  import {
173
173
  Id,
174
174
  secretReference,
175
175
  secretPlaceholder
176
- } from "./chunk-s8m2tzdr.js";
176
+ } from "./chunk-q5w3v4k1.js";
177
177
  import {
178
+ currentTimeMillis,
178
179
  SecureRandom,
179
180
  layerWebCrypto,
180
181
  layer,
@@ -246,9 +247,8 @@ import {
246
247
  installCommand,
247
248
  checkServicesFile,
248
249
  checkServices
249
- } from "./chunk-mwkn1c5q.js";
250
+ } from "./chunk-vm2qy986.js";
250
251
  import {
251
- currentTimeMillis,
252
252
  join,
253
253
  interrupt,
254
254
  unbounded,
@@ -256,7 +256,7 @@ import {
256
256
  unbounded2,
257
257
  offer,
258
258
  makeUnsafe3,
259
- make10,
259
+ make11,
260
260
  fromQueue,
261
261
  fromPubSub,
262
262
  map2,
@@ -288,7 +288,7 @@ import {
288
288
  writeSrtSettings2,
289
289
  srtStepArgv2,
290
290
  srtArgv2
291
- } from "./chunk-vktjb2p7.js";
291
+ } from "./chunk-0h49y8gf.js";
292
292
  import {
293
293
  writeAgentEnvironmentConfigFile2,
294
294
  readManifestSkillPaths2,
@@ -304,8 +304,8 @@ import {
304
304
  applyAgentEnvironmentMaterialization2,
305
305
  isPathWithin2,
306
306
  skillIdentity2
307
- } from "./chunk-3teferzd.js";
308
- import"./chunk-cg3xstek.js";
307
+ } from "./chunk-zz589n7a.js";
308
+ import"./chunk-byeasm6x.js";
309
309
  import {
310
310
  egressAllowed,
311
311
  writeSecretRegistry,
@@ -315,7 +315,7 @@ import {
315
315
  secretFilter2,
316
316
  opaqueTunnelRefusal2,
317
317
  isOpaqueConnectReason2
318
- } from "./chunk-skqn4h13.js";
318
+ } from "./chunk-y1krmnbv.js";
319
319
  import {
320
320
  sliceBytes2,
321
321
  maxLineBytes2,
@@ -323,23 +323,23 @@ import {
323
323
  decodedOption2,
324
324
  decoded2,
325
325
  readOpencode2
326
- } from "./chunk-cabmcvy1.js";
326
+ } from "./chunk-cbpb2rww.js";
327
327
  import {
328
328
  uploadRunFile,
329
329
  programLease,
330
330
  rpcRunFiles,
331
331
  programHostsEnv,
332
332
  undeclaredHostsEnv
333
- } from "./chunk-vmzr8xcg.js";
334
- import"./chunk-at4e0xvg.js";
333
+ } from "./chunk-7bytsxkf.js";
334
+ import"./chunk-cq2h8q9e.js";
335
335
  import {
336
336
  nextInt
337
- } from "./chunk-mm2m3bys.js";
337
+ } from "./chunk-gq7y5v3e.js";
338
338
  import {
339
339
  ChildProcessSpawner,
340
- make2
341
- } from "./chunk-4nfan8t6.js";
342
- import"./chunk-r08sz4ry.js";
340
+ make3
341
+ } from "./chunk-mtkstrh3.js";
342
+ import"./chunk-h1rmw7yk.js";
343
343
 
344
344
  // packages/core/src/sync-kit.ts
345
345
  import { createHash } from "crypto";
@@ -7037,7 +7037,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7037
7037
  const input = yield* unbounded2();
7038
7038
  const pending = new Map;
7039
7039
  let lastId = 0;
7040
- const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
7040
+ const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
7041
7041
  cwd: env.home,
7042
7042
  extendEnv: true,
7043
7043
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -7060,7 +7060,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7060
7060
  return {
7061
7061
  request: (method, params) => gen(function* () {
7062
7062
  const id = ++lastId;
7063
- const deferred = yield* make15();
7063
+ const deferred = yield* make16();
7064
7064
  pending.set(id, deferred);
7065
7065
  yield* send({ id, method, params });
7066
7066
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -7200,10 +7200,10 @@ var handshake = [
7200
7200
  `).join("");
7201
7201
  var kitmanMcpPreflight = (mcp) => gen(function* () {
7202
7202
  const spawner = yield* ChildProcessSpawner;
7203
- const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
7203
+ const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
7204
7204
  extendEnv: true,
7205
7205
  env: mcp.env,
7206
- stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
7206
+ stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
7207
7207
  stderr: "ignore"
7208
7208
  }));
7209
7209
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -7276,8 +7276,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
7276
7276
  };
7277
7277
  const exitCode = sandbox === undefined ? yield* gen(function* () {
7278
7278
  const spawner = yield* ChildProcessSpawner;
7279
- const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
7280
- stdin: make10(new TextEncoder().encode(stdin)),
7279
+ const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
7280
+ stdin: make11(new TextEncoder().encode(stdin)),
7281
7281
  stdout: "inherit",
7282
7282
  stderr: "inherit",
7283
7283
  extendEnv: false,
@@ -1331,11 +1331,11 @@ var Prototype = (options) => makePrimitiveProto({
1331
1331
  });
1332
1332
 
1333
1333
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Equivalence.js
1334
- var make13 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
1334
+ var make14 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
1335
1335
  var isStrictEquivalent = (x, y) => x === y;
1336
1336
  var strictEqual = () => isStrictEquivalent;
1337
1337
  function Tuple(elements) {
1338
- return make13((self, that) => {
1338
+ return make14((self, that) => {
1339
1339
  if (self.length !== that.length) {
1340
1340
  return false;
1341
1341
  }
@@ -1348,7 +1348,7 @@ function Tuple(elements) {
1348
1348
  });
1349
1349
  }
1350
1350
  function Array_(item) {
1351
- return make13((self, that) => {
1351
+ return make14((self, that) => {
1352
1352
  if (self.length !== that.length)
1353
1353
  return false;
1354
1354
  for (let i = 0;i < self.length; i++) {
@@ -1579,7 +1579,7 @@ var ServiceProto = {
1579
1579
  return self;
1580
1580
  },
1581
1581
  context(self) {
1582
- return make14(this, self);
1582
+ return make15(this, self);
1583
1583
  },
1584
1584
  use(f) {
1585
1585
  return withFiber((fiber) => f(get4(fiber.context, this)));
@@ -1683,7 +1683,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
1683
1683
  var isReference = (u) => !!u[ReferenceTypeId];
1684
1684
  var empty3 = () => emptyContext2;
1685
1685
  var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
1686
- var make14 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1686
+ var make15 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1687
1687
  var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
1688
1688
  var addUnsafe = (self, key, service) => {
1689
1689
  const impl = self;
@@ -3029,7 +3029,7 @@ class FiberImpl {
3029
3029
  }
3030
3030
  let cause = causeInterrupt(fiberId);
3031
3031
  if (this.cache.stackFrame) {
3032
- cause = causeAnnotate(cause, make14(StackTraceKey, this.cache.stackFrame));
3032
+ cause = causeAnnotate(cause, make15(StackTraceKey, this.cache.stackFrame));
3033
3033
  }
3034
3034
  if (annotations) {
3035
3035
  cause = causeAnnotate(cause, annotations);
@@ -5126,7 +5126,7 @@ var DeferredImpl = function() {
5126
5126
  };
5127
5127
  DeferredImpl.prototype = DeferredProto;
5128
5128
  var makeUnsafe5 = () => new DeferredImpl;
5129
- var make15 = () => sync(() => makeUnsafe5());
5129
+ var make16 = () => sync(() => makeUnsafe5());
5130
5130
  var _await = (self) => callback2((resume) => {
5131
5131
  if (self.effect)
5132
5132
  return resume(self.effect);
@@ -5274,9 +5274,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
5274
5274
  var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
5275
5275
  var succeed5 = function() {
5276
5276
  if (arguments.length === 1) {
5277
- return (resource) => succeedContext(make14(arguments[0], resource));
5277
+ return (resource) => succeedContext(make15(arguments[0], resource));
5278
5278
  }
5279
- return succeedContext(make14(arguments[0], arguments[1]));
5279
+ return succeedContext(make15(arguments[0], arguments[1]));
5280
5280
  };
5281
5281
  var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
5282
5282
  var effect = function() {
@@ -5285,7 +5285,7 @@ var effect = function() {
5285
5285
  }
5286
5286
  return effectImpl(arguments[0], arguments[1]);
5287
5287
  };
5288
- var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make14(service, value)));
5288
+ var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(service, value)));
5289
5289
  var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
5290
5290
  var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
5291
5291
  var mergeAllEffect = (layers, memoMap, scope) => {
@@ -5752,150 +5752,6 @@ var flatMapEager = flatMapEager2;
5752
5752
  var catchEager = catchEager2;
5753
5753
  var fnUntracedEager2 = fnUntracedEager;
5754
5754
 
5755
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
5756
- var BigInt2 = globalThis.BigInt;
5757
- var toNumber = (b) => {
5758
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
5759
- return none();
5760
- }
5761
- return some(Number(b));
5762
- };
5763
-
5764
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
5765
- var bigint03 = /* @__PURE__ */ BigInt(0);
5766
- var bigint12 = /* @__PURE__ */ BigInt(1);
5767
- var decimalBase = /* @__PURE__ */ BigInt(1000);
5768
- var binaryBase = /* @__PURE__ */ BigInt(1024);
5769
- var decimalUnits = [{
5770
- symbol: "B",
5771
- factor: bigint12,
5772
- names: ["B", "byte", "bytes"]
5773
- }, {
5774
- symbol: "kB",
5775
- factor: decimalBase,
5776
- names: ["kB", "kilobyte", "kilobytes"]
5777
- }, {
5778
- symbol: "MB",
5779
- factor: decimalBase ** /* @__PURE__ */ BigInt(2),
5780
- names: ["MB", "megabyte", "megabytes"]
5781
- }, {
5782
- symbol: "GB",
5783
- factor: decimalBase ** /* @__PURE__ */ BigInt(3),
5784
- names: ["GB", "gigabyte", "gigabytes"]
5785
- }, {
5786
- symbol: "TB",
5787
- factor: decimalBase ** /* @__PURE__ */ BigInt(4),
5788
- names: ["TB", "terabyte", "terabytes"]
5789
- }, {
5790
- symbol: "PB",
5791
- factor: decimalBase ** /* @__PURE__ */ BigInt(5),
5792
- names: ["PB", "petabyte", "petabytes"]
5793
- }, {
5794
- symbol: "EB",
5795
- factor: decimalBase ** /* @__PURE__ */ BigInt(6),
5796
- names: ["EB", "exabyte", "exabytes"]
5797
- }, {
5798
- symbol: "ZB",
5799
- factor: decimalBase ** /* @__PURE__ */ BigInt(7),
5800
- names: ["ZB", "zettabyte", "zettabytes"]
5801
- }, {
5802
- symbol: "YB",
5803
- factor: decimalBase ** /* @__PURE__ */ BigInt(8),
5804
- names: ["YB", "yottabyte", "yottabytes"]
5805
- }, {
5806
- symbol: "RB",
5807
- factor: decimalBase ** /* @__PURE__ */ BigInt(9),
5808
- names: ["RB", "ronnabyte", "ronnabytes"]
5809
- }, {
5810
- symbol: "QB",
5811
- factor: decimalBase ** /* @__PURE__ */ BigInt(10),
5812
- names: ["QB", "quettabyte", "quettabytes"]
5813
- }];
5814
- var binaryUnits = [decimalUnits[0], {
5815
- symbol: "KiB",
5816
- factor: binaryBase,
5817
- names: ["KiB", "kibibyte", "kibibytes"]
5818
- }, {
5819
- symbol: "MiB",
5820
- factor: binaryBase ** /* @__PURE__ */ BigInt(2),
5821
- names: ["MiB", "mebibyte", "mebibytes"]
5822
- }, {
5823
- symbol: "GiB",
5824
- factor: binaryBase ** /* @__PURE__ */ BigInt(3),
5825
- names: ["GiB", "gibibyte", "gibibytes"]
5826
- }, {
5827
- symbol: "TiB",
5828
- factor: binaryBase ** /* @__PURE__ */ BigInt(4),
5829
- names: ["TiB", "tebibyte", "tebibytes"]
5830
- }, {
5831
- symbol: "PiB",
5832
- factor: binaryBase ** /* @__PURE__ */ BigInt(5),
5833
- names: ["PiB", "pebibyte", "pebibytes"]
5834
- }, {
5835
- symbol: "EiB",
5836
- factor: binaryBase ** /* @__PURE__ */ BigInt(6),
5837
- names: ["EiB", "exbibyte", "exbibytes"]
5838
- }, {
5839
- symbol: "ZiB",
5840
- factor: binaryBase ** /* @__PURE__ */ BigInt(7),
5841
- names: ["ZiB", "zebibyte", "zebibytes"]
5842
- }, {
5843
- symbol: "YiB",
5844
- factor: binaryBase ** /* @__PURE__ */ BigInt(8),
5845
- names: ["YiB", "yobibyte", "yobibytes"]
5846
- }];
5847
- var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
5848
- var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
5849
- var make4 = (value) => value;
5850
- var invalid2 = (message) => {
5851
- throw new Error(`Invalid ByteSize: ${message}`);
5852
- };
5853
- var fromNumber = (input) => {
5854
- if (!Number.isSafeInteger(input) || input < 0) {
5855
- return invalid2(`expected a non-negative safe integer, received ${input}`);
5856
- }
5857
- return make4(BigInt(input));
5858
- };
5859
- var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
5860
- var scaleDecimal = (quantity, factor) => {
5861
- const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
5862
- if (match === null)
5863
- return;
5864
- const fraction = match[2] ?? "";
5865
- const numerator = BigInt(match[1] + fraction) * factor;
5866
- const shift = Number(match[3] ?? 0) - fraction.length;
5867
- if (shift >= 0)
5868
- return numerator * BigInt(10) ** BigInt(shift);
5869
- const scale = BigInt(10) ** BigInt(-shift);
5870
- return numerator % scale === bigint03 ? numerator / scale : undefined;
5871
- };
5872
- var fromStringUnsafe = (input) => {
5873
- const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
5874
- if (match === null)
5875
- return invalid2(`unsupported syntax ${JSON.stringify(input)}`);
5876
- const unit = unitsByName.get(match[2]);
5877
- if (unit === undefined)
5878
- return invalid2(`unsupported unit ${JSON.stringify(match[2])}`);
5879
- const value = scaleDecimal(match[1], unit.factor);
5880
- if (value === undefined)
5881
- return invalid2(`${JSON.stringify(input)} does not represent an integral number of bytes`);
5882
- return make4(value);
5883
- };
5884
- var fromInputUnsafe2 = (input) => {
5885
- switch (typeof input) {
5886
- case "bigint":
5887
- if (input < bigint03)
5888
- return invalid2(`expected a non-negative bigint, received ${input}`);
5889
- return make4(input);
5890
- case "number":
5891
- return fromNumber(input);
5892
- case "string":
5893
- return fromStringUnsafe(input);
5894
- }
5895
- return invalid2(`unsupported input ${input}`);
5896
- };
5897
- var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
5898
-
5899
5755
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/encoding/Base64.js
5900
5756
  var encode2 = (input) => encodeBytes(typeof input === "string" ? encoder2.encode(input) : input);
5901
5757
  var decode = (str) => {
@@ -6009,48 +5865,6 @@ var getCode = (charCode) => {
6009
5865
  return codes[charCode];
6010
5866
  };
6011
5867
 
6012
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
6013
- var redactedRegistry = /* @__PURE__ */ new WeakMap;
6014
- var value2 = (self) => {
6015
- if (redactedRegistry.has(self)) {
6016
- return redactedRegistry.get(self);
6017
- } else {
6018
- throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
6019
- }
6020
- };
6021
-
6022
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
6023
- var TypeId8 = "~effect/Redacted";
6024
- var isRedacted = (u) => hasProperty(u, TypeId8);
6025
- var make16 = (value, options) => {
6026
- const self = Object.create(Proto2);
6027
- if (options?.label) {
6028
- self.label = options.label;
6029
- }
6030
- redactedRegistry.set(self, value);
6031
- return self;
6032
- };
6033
- var Proto2 = {
6034
- [TypeId8]: {
6035
- _A: (_) => _
6036
- },
6037
- label: undefined,
6038
- ...PipeInspectableProto,
6039
- toJSON() {
6040
- return this.toString();
6041
- },
6042
- toString() {
6043
- return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
6044
- },
6045
- [symbol]() {
6046
- return hash(redactedRegistry.get(this));
6047
- },
6048
- [symbol2](that) {
6049
- return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
6050
- }
6051
- };
6052
- var value = value2;
6053
-
6054
5868
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
6055
5869
  function resolve(ast) {
6056
5870
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -6074,16 +5888,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
6074
5888
  var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
6075
5889
 
6076
5890
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
6077
- var TypeId9 = "~effect/SchemaIssue/Issue";
5891
+ var TypeId8 = "~effect/SchemaIssue/Issue";
6078
5892
  function isIssue(u) {
6079
- return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
5893
+ return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
6080
5894
  }
6081
5895
  function hasInput(issue) {
6082
5896
  return Object.hasOwn(issue, "input");
6083
5897
  }
6084
5898
 
6085
5899
  class IssueNodeImpl {
6086
- [TypeId9] = TypeId9;
5900
+ [TypeId8] = TypeId8;
6087
5901
  constructor(input, options) {
6088
5902
  if (options?.reportInput === true && input !== missing) {
6089
5903
  this.input = input;
@@ -6457,9 +6271,9 @@ function setContent(operation, content) {
6457
6271
  }
6458
6272
 
6459
6273
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
6460
- var TypeId10 = "~effect/SchemaTransformation/Transformation";
6274
+ var TypeId9 = "~effect/SchemaTransformation/Transformation";
6461
6275
  var Transformation = class extends Class3 {
6462
- [TypeId10] = TypeId10;
6276
+ [TypeId9] = TypeId9;
6463
6277
  _tag = "Transformation";
6464
6278
  decode;
6465
6279
  encode;
@@ -6473,7 +6287,7 @@ var Transformation = class extends Class3 {
6473
6287
  }
6474
6288
  };
6475
6289
  function isTransformation(u) {
6476
- return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
6290
+ return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6477
6291
  }
6478
6292
  var makeTransformation = (options) => {
6479
6293
  if (isTransformation(options)) {
@@ -6593,10 +6407,10 @@ var Context = class {
6593
6407
  this.annotations = annotations;
6594
6408
  }
6595
6409
  };
6596
- var TypeId11 = "~effect/Schema";
6410
+ var TypeId10 = "~effect/Schema";
6597
6411
 
6598
6412
  class ASTNodeImpl {
6599
- [TypeId11] = TypeId11;
6413
+ [TypeId10] = TypeId10;
6600
6414
  annotations;
6601
6415
  checks;
6602
6416
  encoding;
@@ -8515,7 +8329,7 @@ function compile(ast, compile, compileField, base, specialize) {
8515
8329
  }
8516
8330
 
8517
8331
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/compilerRegistry.js
8518
- var invalid3 = /* @__PURE__ */ Symbol();
8332
+ var invalid2 = /* @__PURE__ */ Symbol();
8519
8333
  var cache = /* @__PURE__ */ new WeakMap;
8520
8334
  var compiler;
8521
8335
  var compilerAdaptersEnabled = false;
@@ -8590,7 +8404,7 @@ function withDecode(fastDecode, decodeEffect) {
8590
8404
  if (input !== missing) {
8591
8405
  try {
8592
8406
  const value = fastDecode(input, options);
8593
- if (value !== invalid3)
8407
+ if (value !== invalid2)
8594
8408
  return value === input ? sameExit : succeed8(value);
8595
8409
  } catch (error) {
8596
8410
  return die3(error);
@@ -8640,7 +8454,7 @@ function makeOption(schema) {
8640
8454
  return none();
8641
8455
  };
8642
8456
  }
8643
- function make5(schema) {
8457
+ function make4(schema) {
8644
8458
  return makeConstructorSync(toType2(schema.ast));
8645
8459
  }
8646
8460
  function is2(schema) {
@@ -8787,7 +8601,7 @@ function constructSync(entry, input, options) {
8787
8601
  } catch (error) {
8788
8602
  throwConstructorDefect(error);
8789
8603
  }
8790
- if (output !== invalid3 && output !== missing)
8604
+ if (output !== invalid2 && output !== missing)
8791
8605
  return output;
8792
8606
  }
8793
8607
  return runSync3(parserResult(entry.makeEffect(input, parseOptions), input), constructorDefectMessage);
@@ -8811,12 +8625,12 @@ var normalCompiler = (ast) => resolve2(ast).parser;
8811
8625
  var constructorCompiler = (ast) => resolve2(ast).makeEffect;
8812
8626
 
8813
8627
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
8814
- var TypeId12 = "~effect/Schema/Schema";
8628
+ var TypeId11 = "~effect/Schema/Schema";
8815
8629
  var RebuildOptions = /* @__PURE__ */ Symbol();
8816
8630
  var SchemaProto = {
8817
- [TypeId12]: TypeId12,
8631
+ [TypeId11]: TypeId11,
8818
8632
  get make() {
8819
- const value = make5(this);
8633
+ const value = make4(this);
8820
8634
  Object.defineProperty(this, "make", {
8821
8635
  value,
8822
8636
  enumerable: true
@@ -8852,10 +8666,10 @@ var SchemaProto = {
8852
8666
  return this.rebuild(appendChecks(this.ast, checks));
8853
8667
  },
8854
8668
  rebuild(ast) {
8855
- return make6(ast, this[RebuildOptions]);
8669
+ return make5(ast, this[RebuildOptions]);
8856
8670
  }
8857
8671
  };
8858
- function make6(ast, options) {
8672
+ function make5(ast, options) {
8859
8673
  function Schema() {}
8860
8674
  const self = Object.setPrototypeOf(Schema, SchemaProto);
8861
8675
  if (options && (Object.hasOwn(options, "name") || Object.hasOwn(options, "length") || Object.hasOwn(options, "__proto__"))) {
@@ -8872,7 +8686,7 @@ function make6(ast, options) {
8872
8686
 
8873
8687
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/toCodec.js
8874
8688
  function toCodecJson2(schema) {
8875
- return make6(toCodecJsonAST(schema.ast), {
8689
+ return make5(toCodecJsonAST(schema.ast), {
8876
8690
  schema
8877
8691
  });
8878
8692
  }
@@ -8928,7 +8742,7 @@ function toCodecJsonASTStep(ast, recur) {
8928
8742
  if (!isFunction(getLink)) {
8929
8743
  return replaceEncoding(ast, [unknownToJson]);
8930
8744
  }
8931
- const typeParameters = ast.typeParameters.map((tp) => make6(toEncoded(tp)));
8745
+ const typeParameters = ast.typeParameters.map((tp) => make5(toEncoded(tp)));
8932
8746
  const link = getLink(typeParameters);
8933
8747
  return link === undefined ? ast : replaceEncoding(ast, [mapLink(link, recur)]);
8934
8748
  }
@@ -8963,7 +8777,7 @@ function toCodecJsonASTStep(ast, recur) {
8963
8777
  return ast;
8964
8778
  }
8965
8779
  function toCodecStringTree2(schema) {
8966
- return make6(toCodecStringTreeAST(schema.ast), {
8780
+ return make5(toCodecStringTreeAST(schema.ast), {
8967
8781
  schema
8968
8782
  });
8969
8783
  }
@@ -8983,7 +8797,7 @@ var toStringTreeReorder = /* @__PURE__ */ makeReorder((ast) => {
8983
8797
  function toCodecStringTreeASTStep(ast, recur, onMissingAnnotation) {
8984
8798
  switch (ast._tag) {
8985
8799
  case "Declaration": {
8986
- const typeParameters = ast.typeParameters.map((tp) => make6(recur(toEncoded(tp))));
8800
+ const typeParameters = ast.typeParameters.map((tp) => make5(recur(toEncoded(tp))));
8987
8801
  const getStringTreeLink = ast.annotations?.toCodecStringTree;
8988
8802
  if (isFunction(getStringTreeLink)) {
8989
8803
  const link = getStringTreeLink(typeParameters);
@@ -9075,7 +8889,7 @@ function recur(ast) {
9075
8889
  const rest = ast.rest.map(recur);
9076
8890
  const [head, ...tail] = rest;
9077
8891
  const tailLength = tail.length;
9078
- return make13((a, b) => {
8892
+ return make14((a, b) => {
9079
8893
  if (!Array.isArray(a) || !Array.isArray(b)) {
9080
8894
  return false;
9081
8895
  }
@@ -9110,7 +8924,7 @@ function recur(ast) {
9110
8924
  }
9111
8925
  const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
9112
8926
  const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
9113
- return make13((a, b) => {
8927
+ return make14((a, b) => {
9114
8928
  if (!isObject(a) || !isObject(b)) {
9115
8929
  return false;
9116
8930
  }
@@ -9148,7 +8962,7 @@ function recur(ast) {
9148
8962
  const types = toType2(ast).types;
9149
8963
  const index = getCandidateIndex(types);
9150
8964
  const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
9151
- return make13((a, b) => {
8965
+ return make14((a, b) => {
9152
8966
  const candidates = index(a, false);
9153
8967
  for (let i = 0;i < candidates.length; i++) {
9154
8968
  const [is, equivalence] = compiled[candidates[i]];
@@ -9161,7 +8975,7 @@ function recur(ast) {
9161
8975
  }
9162
8976
  case "Suspend": {
9163
8977
  let equivalence;
9164
- return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
8978
+ return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
9165
8979
  }
9166
8980
  }
9167
8981
  }
@@ -9259,7 +9073,7 @@ function isSchemaError(u) {
9259
9073
  }
9260
9074
 
9261
9075
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
9262
- var TypeId13 = TypeId12;
9076
+ var TypeId12 = TypeId11;
9263
9077
  function declareConstructor() {
9264
9078
  return (typeParameters, run, annotations) => {
9265
9079
  return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
@@ -9370,9 +9184,9 @@ function encodeUnknownSync(schema, options) {
9370
9184
  };
9371
9185
  }
9372
9186
  var encodeSync = encodeUnknownSync;
9373
- var make17 = make6;
9187
+ var make17 = make5;
9374
9188
  function isSchema(u) {
9375
- return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
9189
+ return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
9376
9190
  }
9377
9191
  var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
9378
9192
  schema
@@ -10203,7 +10017,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
10203
10017
  }
10204
10018
  });
10205
10019
  }
10206
- static [TypeId13] = TypeId13;
10020
+ static [TypeId12] = TypeId12;
10207
10021
  get [ClassTypeId]() {
10208
10022
  return ClassTypeId;
10209
10023
  }
@@ -10482,4 +10296,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
10482
10296
  var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
10483
10297
  var storable = (value) => isString2(value) ? storableText(value) : Array.isArray(value) ? value.map(storable) : isJsonObject(value) ? Object.fromEntries(Object.entries(value).map(([key, field]) => [storableText(key), storable(field)])) : value;
10484
10298
 
10485
- export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, toNumber, fromInputUnsafe2, bytes, encode2, decode, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
10299
+ export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make14, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make15, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, asVoidAll, makeUnsafe5, make16, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };