@kitman-sh/cli 0.10.60 → 0.10.61

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 (26) hide show
  1. package/dist/{chunk-phmma642.js → chunk-1vav1vaf.js} +7 -7
  2. package/dist/{chunk-a4798jzf.js → chunk-26hcgbe7.js} +3 -3
  3. package/dist/{chunk-d8awdfdj.js → chunk-43tv7md8.js} +60 -60
  4. package/dist/{chunk-d3ksv8y1.js → chunk-677etczq.js} +70 -28
  5. package/dist/{chunk-5y050gx7.js → chunk-769fbeff.js} +36 -36
  6. package/dist/{chunk-hxkk42cg.js → chunk-7a5njmab.js} +7 -7
  7. package/dist/{chunk-wtpwkjws.js → chunk-9p6v3jd2.js} +4 -4
  8. package/dist/{chunk-1z9p4q8b.js → chunk-byhwksbq.js} +2 -2
  9. package/dist/{chunk-e3tv8mv2.js → chunk-evgrce0h.js} +5 -5
  10. package/dist/{chunk-9qg17019.js → chunk-eyw9a80g.js} +21 -21
  11. package/dist/{chunk-v01c0k6j.js → chunk-h6360r1c.js} +1 -1
  12. package/dist/{chunk-sdpjvc1r.js → chunk-k2bnq58a.js} +107 -115
  13. package/dist/{chunk-rrz0v4fg.js → chunk-ksx5nt4b.js} +5 -5
  14. package/dist/{chunk-hvev0dve.js → chunk-mewtccqf.js} +11 -11
  15. package/dist/{chunk-wkccjgwb.js → chunk-n7g89pj2.js} +4 -4
  16. package/dist/{chunk-q3c7vmby.js → chunk-p23kedha.js} +1 -1
  17. package/dist/{chunk-0fdgam8v.js → chunk-qdn9tnav.js} +26 -17
  18. package/dist/{chunk-z0z56a72.js → chunk-qdx3wa4y.js} +9 -9
  19. package/dist/{chunk-smgvtzd2.js → chunk-r0s0wvev.js} +7 -7
  20. package/dist/{chunk-1w81w56v.js → chunk-rzr11xyn.js} +2 -2
  21. package/dist/{chunk-88257wax.js → chunk-wf3ednaj.js} +19 -19
  22. package/dist/{chunk-rrnee9mk.js → chunk-wnwyp9qn.js} +1 -1
  23. package/dist/{chunk-09jf8588.js → chunk-x306t6v1.js} +11 -11
  24. package/dist/{chunk-eawcprsb.js → chunk-zej59tf2.js} +14 -60
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -75,10 +75,14 @@ import {
75
75
  toEquivalence,
76
76
  toCodecJson,
77
77
  Json
78
- } from "./chunk-d3ksv8y1.js";
78
+ } from "./chunk-677etczq.js";
79
+ import {
80
+ runForEach,
81
+ FileSystem
82
+ } from "./chunk-qdn9tnav.js";
79
83
  import {
80
84
  guard
81
- } from "./chunk-rrnee9mk.js";
85
+ } from "./chunk-wnwyp9qn.js";
82
86
  import {
83
87
  currentTimeMillis,
84
88
  WebCrypto,
@@ -105,11 +109,7 @@ import {
105
109
  KitDigest,
106
110
  KitSetup,
107
111
  RunnerRpcError
108
- } from "./chunk-sdpjvc1r.js";
109
- import {
110
- runForEach,
111
- FileSystem
112
- } from "./chunk-0fdgam8v.js";
112
+ } from "./chunk-k2bnq58a.js";
113
113
 
114
114
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
115
115
  var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-d3ksv8y1.js";
27
+ } from "./chunk-677etczq.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-0fdgam8v.js";
31
+ } from "./chunk-qdn9tnav.js";
32
32
  import {
33
33
  digestSha256,
34
34
  digestSha512,
@@ -38,7 +38,7 @@ import {
38
38
  get2,
39
39
  layer4,
40
40
  KitDigest
41
- } from "./chunk-sdpjvc1r.js";
41
+ } from "./chunk-k2bnq58a.js";
42
42
 
43
43
  // packages/core/src/npm-registry.ts
44
44
  var KitManifest = Struct({
@@ -5,7 +5,46 @@ import {
5
5
  isObject,
6
6
  isJsonObject,
7
7
  isString
8
- } from "./chunk-v01c0k6j.js";
8
+ } from "./chunk-h6360r1c.js";
9
+ import {
10
+ join,
11
+ interrupt,
12
+ unbounded,
13
+ publishUnsafe,
14
+ unbounded2,
15
+ offer,
16
+ makeUnsafe3,
17
+ make10,
18
+ fromQueue,
19
+ fromPubSub,
20
+ map2,
21
+ filter,
22
+ decodeText,
23
+ encodeText,
24
+ splitLines,
25
+ run,
26
+ runHead,
27
+ runForEach,
28
+ FileSystem,
29
+ Path,
30
+ embeddedFile,
31
+ extractEmbeddedFile,
32
+ optionalEnv,
33
+ harnessesUnsupportedInSrt2,
34
+ compiled2,
35
+ pinnedSrtCommand2,
36
+ pinnedSrtStepCommand2,
37
+ runSrtCli2,
38
+ kitmanCacheDirectory2,
39
+ srtSettings2,
40
+ srtCacheEnvironment2,
41
+ srtInheritedEnv2,
42
+ inheritedEnvironment2,
43
+ withOnlyEnvironment2,
44
+ writeSrtSettings2,
45
+ srtStepArgv2,
46
+ srtArgv2
47
+ } from "./chunk-qdn9tnav.js";
9
48
  import {
10
49
  pipeArguments,
11
50
  dual,
@@ -42,7 +81,7 @@ import {
42
81
  isFailure2,
43
82
  hasInterrupts,
44
83
  makeUnsafe5,
45
- make16,
84
+ make15,
46
85
  _await,
47
86
  fail5,
48
87
  isDoneUnsafe,
@@ -156,11 +195,11 @@ import {
156
195
  encodePrettyJsonString,
157
196
  decodeJsonStringSync,
158
197
  encodeUnknownJsonStringSync
159
- } from "./chunk-d3ksv8y1.js";
198
+ } from "./chunk-677etczq.js";
160
199
  import {
161
200
  Id,
162
201
  secretReference
163
- } from "./chunk-rrnee9mk.js";
202
+ } from "./chunk-wnwyp9qn.js";
164
203
  import {
165
204
  currentTimeMillis,
166
205
  SecureRandom,
@@ -225,46 +264,7 @@ import {
225
264
  installCommand,
226
265
  checkServicesFile,
227
266
  checkServices
228
- } from "./chunk-sdpjvc1r.js";
229
- import {
230
- join,
231
- interrupt,
232
- unbounded,
233
- publishUnsafe,
234
- unbounded2,
235
- offer,
236
- makeUnsafe3,
237
- make11,
238
- fromQueue,
239
- fromPubSub,
240
- map2,
241
- filter,
242
- decodeText,
243
- encodeText,
244
- splitLines,
245
- run,
246
- runHead,
247
- runForEach,
248
- FileSystem,
249
- Path,
250
- embeddedFile,
251
- extractEmbeddedFile,
252
- optionalEnv,
253
- harnessesUnsupportedInSrt2,
254
- compiled2,
255
- pinnedSrtCommand2,
256
- pinnedSrtStepCommand2,
257
- runSrtCli2,
258
- kitmanCacheDirectory2,
259
- srtSettings2,
260
- srtCacheEnvironment2,
261
- srtInheritedEnv2,
262
- inheritedEnvironment2,
263
- withOnlyEnvironment2,
264
- writeSrtSettings2,
265
- srtStepArgv2,
266
- srtArgv2
267
- } from "./chunk-0fdgam8v.js";
267
+ } from "./chunk-k2bnq58a.js";
268
268
  import {
269
269
  writeAgentEnvironmentConfigFile2,
270
270
  readManifestSkillPaths2,
@@ -280,8 +280,8 @@ import {
280
280
  applyAgentEnvironmentMaterialization2,
281
281
  isPathWithin2,
282
282
  skillIdentity2
283
- } from "./chunk-z0z56a72.js";
284
- import"./chunk-a4798jzf.js";
283
+ } from "./chunk-qdx3wa4y.js";
284
+ import"./chunk-26hcgbe7.js";
285
285
  import {
286
286
  sliceBytes2,
287
287
  maxLineBytes2,
@@ -289,28 +289,28 @@ import {
289
289
  decodedOption2,
290
290
  decoded2,
291
291
  readOpencode2
292
- } from "./chunk-09jf8588.js";
292
+ } from "./chunk-x306t6v1.js";
293
293
  import {
294
294
  writeSecretRegistry,
295
295
  secretRefusalLog,
296
296
  parseSecretRefusals
297
- } from "./chunk-1w81w56v.js";
297
+ } from "./chunk-rzr11xyn.js";
298
298
  import {
299
299
  uploadRunFile,
300
300
  programLease,
301
301
  rpcRunFiles,
302
302
  programHostsEnv,
303
303
  undeclaredHostsEnv
304
- } from "./chunk-phmma642.js";
305
- import"./chunk-hxkk42cg.js";
304
+ } from "./chunk-1vav1vaf.js";
305
+ import"./chunk-7a5njmab.js";
306
306
  import {
307
307
  nextInt
308
- } from "./chunk-q3c7vmby.js";
308
+ } from "./chunk-p23kedha.js";
309
309
  import {
310
310
  ChildProcessSpawner,
311
- make3
312
- } from "./chunk-eawcprsb.js";
313
- import"./chunk-e3tv8mv2.js";
311
+ make2
312
+ } from "./chunk-zej59tf2.js";
313
+ import"./chunk-evgrce0h.js";
314
314
 
315
315
  // packages/core/src/sync-kit.ts
316
316
  import { createHash } from "crypto";
@@ -5827,7 +5827,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
5827
5827
  const input = yield* unbounded2();
5828
5828
  const pending = new Map;
5829
5829
  let lastId = 0;
5830
- const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
5830
+ const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
5831
5831
  cwd: env.home,
5832
5832
  extendEnv: true,
5833
5833
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -5850,7 +5850,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
5850
5850
  return {
5851
5851
  request: (method, params) => gen(function* () {
5852
5852
  const id = ++lastId;
5853
- const deferred = yield* make16();
5853
+ const deferred = yield* make15();
5854
5854
  pending.set(id, deferred);
5855
5855
  yield* send({ id, method, params });
5856
5856
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -5990,10 +5990,10 @@ var handshake = [
5990
5990
  `).join("");
5991
5991
  var kitmanMcpPreflight = (mcp) => gen(function* () {
5992
5992
  const spawner = yield* ChildProcessSpawner;
5993
- const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
5993
+ const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
5994
5994
  extendEnv: true,
5995
5995
  env: mcp.env,
5996
- stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
5996
+ stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
5997
5997
  stderr: "ignore"
5998
5998
  }));
5999
5999
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -6066,8 +6066,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
6066
6066
  };
6067
6067
  const exitCode = sandbox === undefined ? yield* gen(function* () {
6068
6068
  const spawner = yield* ChildProcessSpawner;
6069
- const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
6070
- stdin: make11(new TextEncoder().encode(stdin)),
6069
+ const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
6070
+ stdin: make10(new TextEncoder().encode(stdin)),
6071
6071
  stdout: "inherit",
6072
6072
  stderr: "inherit",
6073
6073
  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 make14 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
1334
+ var make13 = (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 make14((self, that) => {
1338
+ return make13((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 make14((self, that) => {
1351
+ return make13((self, that) => {
1352
1352
  if (self.length !== that.length)
1353
1353
  return false;
1354
1354
  for (let i = 0;i < self.length; i++) {
@@ -1578,7 +1578,7 @@ var ServiceProto = {
1578
1578
  return self;
1579
1579
  },
1580
1580
  context(self) {
1581
- return make15(this, self);
1581
+ return make14(this, self);
1582
1582
  },
1583
1583
  use(f) {
1584
1584
  return withFiber((fiber) => f(get4(fiber.context, this)));
@@ -1682,7 +1682,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
1682
1682
  var isReference = (u) => !!u[ReferenceTypeId];
1683
1683
  var empty3 = () => emptyContext2;
1684
1684
  var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
1685
- var make15 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1685
+ var make14 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1686
1686
  var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
1687
1687
  var addUnsafe = (self, key, service) => {
1688
1688
  const impl = self;
@@ -3022,7 +3022,7 @@ class FiberImpl {
3022
3022
  }
3023
3023
  let cause = causeInterrupt(fiberId);
3024
3024
  if (this.cache.stackFrame) {
3025
- cause = causeAnnotate(cause, make15(StackTraceKey, this.cache.stackFrame));
3025
+ cause = causeAnnotate(cause, make14(StackTraceKey, this.cache.stackFrame));
3026
3026
  }
3027
3027
  if (annotations) {
3028
3028
  cause = causeAnnotate(cause, annotations);
@@ -5119,7 +5119,7 @@ var DeferredImpl = function() {
5119
5119
  };
5120
5120
  DeferredImpl.prototype = DeferredProto;
5121
5121
  var makeUnsafe5 = () => new DeferredImpl;
5122
- var make16 = () => sync(() => makeUnsafe5());
5122
+ var make15 = () => sync(() => makeUnsafe5());
5123
5123
  var _await = (self) => callback2((resume) => {
5124
5124
  if (self.effect)
5125
5125
  return resume(self.effect);
@@ -5267,9 +5267,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
5267
5267
  var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
5268
5268
  var succeed5 = function() {
5269
5269
  if (arguments.length === 1) {
5270
- return (resource) => succeedContext(make15(arguments[0], resource));
5270
+ return (resource) => succeedContext(make14(arguments[0], resource));
5271
5271
  }
5272
- return succeedContext(make15(arguments[0], arguments[1]));
5272
+ return succeedContext(make14(arguments[0], arguments[1]));
5273
5273
  };
5274
5274
  var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
5275
5275
  var effect = function() {
@@ -5278,7 +5278,7 @@ var effect = function() {
5278
5278
  }
5279
5279
  return effectImpl(arguments[0], arguments[1]);
5280
5280
  };
5281
- var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(service, value)));
5281
+ var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make14(service, value)));
5282
5282
  var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
5283
5283
  var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
5284
5284
  var mergeAllEffect = (layers, memoMap, scope) => {
@@ -5857,6 +5857,48 @@ var getCode = (charCode) => {
5857
5857
  return codes[charCode];
5858
5858
  };
5859
5859
 
5860
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
5861
+ var redactedRegistry = /* @__PURE__ */ new WeakMap;
5862
+ var value2 = (self) => {
5863
+ if (redactedRegistry.has(self)) {
5864
+ return redactedRegistry.get(self);
5865
+ } else {
5866
+ throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
5867
+ }
5868
+ };
5869
+
5870
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
5871
+ var TypeId8 = "~effect/Redacted";
5872
+ var isRedacted = (u) => hasProperty(u, TypeId8);
5873
+ var make16 = (value, options) => {
5874
+ const self = Object.create(Proto2);
5875
+ if (options?.label) {
5876
+ self.label = options.label;
5877
+ }
5878
+ redactedRegistry.set(self, value);
5879
+ return self;
5880
+ };
5881
+ var Proto2 = {
5882
+ [TypeId8]: {
5883
+ _A: (_) => _
5884
+ },
5885
+ label: undefined,
5886
+ ...PipeInspectableProto,
5887
+ toJSON() {
5888
+ return this.toString();
5889
+ },
5890
+ toString() {
5891
+ return `<redacted${isString2(this.label) ? ":" + this.label : ""}>`;
5892
+ },
5893
+ [symbol]() {
5894
+ return hash(redactedRegistry.get(this));
5895
+ },
5896
+ [symbol2](that) {
5897
+ return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
5898
+ }
5899
+ };
5900
+ var value = value2;
5901
+
5860
5902
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
5861
5903
  function resolve(ast) {
5862
5904
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -5880,16 +5922,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
5880
5922
  var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
5881
5923
 
5882
5924
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
5883
- var TypeId8 = "~effect/SchemaIssue/Issue";
5925
+ var TypeId9 = "~effect/SchemaIssue/Issue";
5884
5926
  function isIssue(u) {
5885
- return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
5927
+ return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
5886
5928
  }
5887
5929
  function hasInput(issue) {
5888
5930
  return Object.hasOwn(issue, "input");
5889
5931
  }
5890
5932
 
5891
5933
  class IssueNodeImpl {
5892
- [TypeId8] = TypeId8;
5934
+ [TypeId9] = TypeId9;
5893
5935
  constructor(input, options) {
5894
5936
  if (options?.reportInput === true && input !== missing) {
5895
5937
  this.input = input;
@@ -6263,9 +6305,9 @@ function setContent(operation, content) {
6263
6305
  }
6264
6306
 
6265
6307
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
6266
- var TypeId9 = "~effect/SchemaTransformation/Transformation";
6308
+ var TypeId10 = "~effect/SchemaTransformation/Transformation";
6267
6309
  var Transformation = class extends Class3 {
6268
- [TypeId9] = TypeId9;
6310
+ [TypeId10] = TypeId10;
6269
6311
  _tag = "Transformation";
6270
6312
  decode;
6271
6313
  encode;
@@ -6279,7 +6321,7 @@ var Transformation = class extends Class3 {
6279
6321
  }
6280
6322
  };
6281
6323
  function isTransformation(u) {
6282
- return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6324
+ return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
6283
6325
  }
6284
6326
  var makeTransformation = (options) => {
6285
6327
  if (isTransformation(options)) {
@@ -6399,10 +6441,10 @@ var Context = class {
6399
6441
  this.annotations = annotations;
6400
6442
  }
6401
6443
  };
6402
- var TypeId10 = "~effect/Schema";
6444
+ var TypeId11 = "~effect/Schema";
6403
6445
 
6404
6446
  class ASTNodeImpl {
6405
- [TypeId10] = TypeId10;
6447
+ [TypeId11] = TypeId11;
6406
6448
  annotations;
6407
6449
  checks;
6408
6450
  encoding;
@@ -8617,10 +8659,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
8617
8659
  var constructorCompiler = (ast) => resolve2(ast).makeEffect;
8618
8660
 
8619
8661
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
8620
- var TypeId11 = "~effect/Schema/Schema";
8662
+ var TypeId12 = "~effect/Schema/Schema";
8621
8663
  var RebuildOptions = /* @__PURE__ */ Symbol();
8622
8664
  var SchemaProto = {
8623
- [TypeId11]: TypeId11,
8665
+ [TypeId12]: TypeId12,
8624
8666
  get make() {
8625
8667
  const value = make4(this);
8626
8668
  Object.defineProperty(this, "make", {
@@ -8881,7 +8923,7 @@ function recur(ast) {
8881
8923
  const rest = ast.rest.map(recur);
8882
8924
  const [head, ...tail] = rest;
8883
8925
  const tailLength = tail.length;
8884
- return make14((a, b) => {
8926
+ return make13((a, b) => {
8885
8927
  if (!Array.isArray(a) || !Array.isArray(b)) {
8886
8928
  return false;
8887
8929
  }
@@ -8916,7 +8958,7 @@ function recur(ast) {
8916
8958
  }
8917
8959
  const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
8918
8960
  const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
8919
- return make14((a, b) => {
8961
+ return make13((a, b) => {
8920
8962
  if (!isObject2(a) || !isObject2(b)) {
8921
8963
  return false;
8922
8964
  }
@@ -8954,7 +8996,7 @@ function recur(ast) {
8954
8996
  const types = toType2(ast).types;
8955
8997
  const index = getCandidateIndex(types);
8956
8998
  const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
8957
- return make14((a, b) => {
8999
+ return make13((a, b) => {
8958
9000
  const candidates = index(a, false);
8959
9001
  for (let i = 0;i < candidates.length; i++) {
8960
9002
  const [is, equivalence] = compiled[candidates[i]];
@@ -8967,7 +9009,7 @@ function recur(ast) {
8967
9009
  }
8968
9010
  case "Suspend": {
8969
9011
  let equivalence;
8970
- return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
9012
+ return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
8971
9013
  }
8972
9014
  }
8973
9015
  }
@@ -9065,7 +9107,7 @@ function isSchemaError(u) {
9065
9107
  }
9066
9108
 
9067
9109
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
9068
- var TypeId12 = TypeId11;
9110
+ var TypeId13 = TypeId12;
9069
9111
  function declareConstructor() {
9070
9112
  return (typeParameters, run, annotations) => {
9071
9113
  return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
@@ -9178,7 +9220,7 @@ function encodeUnknownSync(schema, options) {
9178
9220
  var encodeSync = encodeUnknownSync;
9179
9221
  var make17 = make5;
9180
9222
  function isSchema(u) {
9181
- return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
9223
+ return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
9182
9224
  }
9183
9225
  var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
9184
9226
  schema
@@ -9972,7 +10014,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
9972
10014
  }
9973
10015
  });
9974
10016
  }
9975
- static [TypeId12] = TypeId12;
10017
+ static [TypeId13] = TypeId13;
9976
10018
  get [ClassTypeId]() {
9977
10019
  return ClassTypeId;
9978
10020
  }
@@ -10121,4 +10163,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
10121
10163
  var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
10122
10164
  var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
10123
10165
 
10124
- export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, 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, Service2, makeUnsafe4, empty3, make15, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, 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, filter2, 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, 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, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
10166
+ export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, 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, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, 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, filter2, 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, annotateLogs, effectify, mapEager, flatMapEager, catchEager, 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, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };