@kitman-sh/cli 0.10.64 → 0.10.66

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-zej59tf2.js → chunk-1rry0tsn.js} +60 -14
  2. package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
  3. package/dist/{chunk-wjs5fpv0.js → chunk-2z450w92.js} +5 -5
  4. package/dist/{chunk-ksx5nt4b.js → chunk-60333x3q.js} +5 -5
  5. package/dist/{chunk-m9v1z0gz.js → chunk-7zm5er63.js} +21 -21
  6. package/dist/{chunk-b9xcawfx.js → chunk-8mj0z3hb.js} +36 -36
  7. package/dist/{chunk-rv4r0n7d.js → chunk-9pp1w29g.js} +4 -4
  8. package/dist/{chunk-dzxahdb7.js → chunk-b90vtscf.js} +75 -66
  9. package/dist/{chunk-3z0p2wtr.js → chunk-cctfnp4r.js} +3 -3
  10. package/dist/{chunk-x306t6v1.js → chunk-csbf77zs.js} +11 -11
  11. package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
  12. package/dist/{chunk-qdn9tnav.js → chunk-dk0ftqwg.js} +18 -26
  13. package/dist/{chunk-fm4m4v6j.js → chunk-fc0y8kn7.js} +116 -107
  14. package/dist/{chunk-smmgt31x.js → chunk-fsbpm71s.js} +9 -9
  15. package/dist/{chunk-fznm6es2.js → chunk-gfr11y10.js} +7 -7
  16. package/dist/{chunk-t47h82ew.js → chunk-n0h0z7yh.js} +11 -11
  17. package/dist/{chunk-a31qjdsm.js → chunk-p8akhcme.js} +7 -7
  18. package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
  19. package/dist/{chunk-tdp34kqg.js → chunk-qp5cdtsr.js} +19 -19
  20. package/dist/{chunk-byhwksbq.js → chunk-rm83dbpv.js} +2 -2
  21. package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
  22. package/dist/{chunk-s2d1a2my.js → chunk-t6w469gd.js} +7 -7
  23. package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
  24. package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -5,46 +5,7 @@ import {
5
5
  isObject,
6
6
  isJsonObject,
7
7
  isString
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";
8
+ } from "./chunk-v01c0k6j.js";
48
9
  import {
49
10
  pipeArguments,
50
11
  dual,
@@ -81,7 +42,7 @@ import {
81
42
  isFailure2,
82
43
  hasInterrupts,
83
44
  makeUnsafe5,
84
- make15,
45
+ make16,
85
46
  _await,
86
47
  fail5,
87
48
  isDoneUnsafe,
@@ -195,11 +156,11 @@ import {
195
156
  encodePrettyJsonString,
196
157
  decodeJsonStringSync,
197
158
  encodeUnknownJsonStringSync
198
- } from "./chunk-677etczq.js";
159
+ } from "./chunk-d3ksv8y1.js";
199
160
  import {
200
161
  Id,
201
162
  secretReference
202
- } from "./chunk-wnwyp9qn.js";
163
+ } from "./chunk-rrnee9mk.js";
203
164
  import {
204
165
  currentTimeMillis,
205
166
  SecureRandom,
@@ -264,7 +225,47 @@ import {
264
225
  installCommand,
265
226
  checkServicesFile,
266
227
  checkServices
267
- } from "./chunk-fm4m4v6j.js";
228
+ } from "./chunk-fc0y8kn7.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
+ operatorConfigHome,
254
+ harnessesUnsupportedInSrt2,
255
+ compiled2,
256
+ pinnedSrtCommand2,
257
+ pinnedSrtStepCommand2,
258
+ runSrtCli2,
259
+ kitmanCacheDirectory2,
260
+ srtSettings2,
261
+ srtCacheEnvironment2,
262
+ srtInheritedEnv2,
263
+ inheritedEnvironment2,
264
+ withOnlyEnvironment2,
265
+ writeSrtSettings2,
266
+ srtStepArgv2,
267
+ srtArgv2
268
+ } from "./chunk-dk0ftqwg.js";
268
269
  import {
269
270
  writeAgentEnvironmentConfigFile2,
270
271
  readManifestSkillPaths2,
@@ -280,8 +281,8 @@ import {
280
281
  applyAgentEnvironmentMaterialization2,
281
282
  isPathWithin2,
282
283
  skillIdentity2
283
- } from "./chunk-smmgt31x.js";
284
- import"./chunk-3z0p2wtr.js";
284
+ } from "./chunk-fsbpm71s.js";
285
+ import"./chunk-cctfnp4r.js";
285
286
  import {
286
287
  sliceBytes2,
287
288
  maxLineBytes2,
@@ -289,28 +290,28 @@ import {
289
290
  decodedOption2,
290
291
  decoded2,
291
292
  readOpencode2
292
- } from "./chunk-x306t6v1.js";
293
+ } from "./chunk-csbf77zs.js";
293
294
  import {
294
295
  writeSecretRegistry,
295
296
  secretRefusalLog,
296
297
  parseSecretRefusals
297
- } from "./chunk-rzr11xyn.js";
298
+ } from "./chunk-1w81w56v.js";
298
299
  import {
299
300
  uploadRunFile,
300
301
  programLease,
301
302
  rpcRunFiles,
302
303
  programHostsEnv,
303
304
  undeclaredHostsEnv
304
- } from "./chunk-fznm6es2.js";
305
- import"./chunk-a31qjdsm.js";
305
+ } from "./chunk-gfr11y10.js";
306
+ import"./chunk-p8akhcme.js";
306
307
  import {
307
308
  nextInt
308
- } from "./chunk-p23kedha.js";
309
+ } from "./chunk-q3c7vmby.js";
309
310
  import {
310
311
  ChildProcessSpawner,
311
- make2
312
- } from "./chunk-zej59tf2.js";
313
- import"./chunk-wjs5fpv0.js";
312
+ make3
313
+ } from "./chunk-1rry0tsn.js";
314
+ import"./chunk-2z450w92.js";
314
315
 
315
316
  // packages/core/src/sync-kit.ts
316
317
  import { createHash } from "crypto";
@@ -1757,7 +1758,7 @@ var HarnessAdapters = [
1757
1758
  directories: { XDG_DATA_HOME: "data", XDG_STATE_HOME: "state", CLAUDE_CODE_TMPDIR: "tmp" },
1758
1759
  sessionDatabase: "data/opencode/opencode.db",
1759
1760
  login: { source: ".local/share/opencode/auth.json", path: "data/opencode/auth.json" },
1760
- homeDirectory: ".config/opencode"
1761
+ configHomeDirectory: "opencode"
1761
1762
  }
1762
1763
  }
1763
1764
  ];
@@ -1797,9 +1798,13 @@ function resolveHarnessLaunch(input) {
1797
1798
  const effortful = effort === undefined || input.adapter.effortArgs === undefined ? launch : { ...launch, args: [...launch.args, ...input.adapter.effortArgs.map((arg) => arg.replace("{effort}", effort))] };
1798
1799
  return flagProbedLaunch(input.adapter, sandboxHomeLaunch(input, effortful));
1799
1800
  }
1800
- var sandboxedLaunch = (launch) => launch.sandboxed === undefined ? launch : {
1801
+ var sandboxedLaunch = (launch, backend) => launch.sandboxed === undefined ? launch : {
1801
1802
  ...launch,
1802
- env: { ...launch.env, ...launch.sandboxed.env },
1803
+ env: {
1804
+ ...launch.env,
1805
+ ...launch.sandboxed.env,
1806
+ ...backend === "srt" ? { XDG_CONFIG_HOME: launch.sandboxed.configHome } : undefined
1807
+ },
1803
1808
  loginCopy: launch.sandboxed.login,
1804
1809
  homeDirectory: launch.sandboxed.homeDirectory
1805
1810
  };
@@ -1808,15 +1813,17 @@ function sandboxHomeLaunch(input, launch) {
1808
1813
  if (sandboxHome === undefined)
1809
1814
  return launch;
1810
1815
  const home = input.home ?? homedir();
1816
+ const configHome = input.configHome ?? `${home}/.config`;
1811
1817
  return {
1812
1818
  ...launch,
1813
1819
  sandboxed: {
1814
1820
  env: Object.fromEntries(Object.entries(sandboxHome.directories).map(([variable, path]) => [variable, `${input.configDir}/${path}`])),
1821
+ configHome,
1815
1822
  login: {
1816
1823
  path: `${input.configDir}/${sandboxHome.login.path}`,
1817
1824
  source: `${home}/${sandboxHome.login.source}`
1818
1825
  },
1819
- homeDirectory: `${home}/${sandboxHome.homeDirectory}`
1826
+ homeDirectory: `${configHome}/${sandboxHome.configHomeDirectory}`
1820
1827
  }
1821
1828
  };
1822
1829
  }
@@ -2237,6 +2244,7 @@ var prepareHarness = (input) => gen(function* () {
2237
2244
 
2238
2245
  `),
2239
2246
  home: input.home,
2247
+ configHome: yield* operatorConfigHome(input.home),
2240
2248
  ...input.agent.session === undefined ? undefined : {
2241
2249
  session: {
2242
2250
  id: input.agent.session.id,
@@ -3186,7 +3194,7 @@ var runAttempt = (request, options) => gen(function* () {
3186
3194
  if (isFailure(prepared))
3187
3195
  return failed(prepared.failure.reason, prepared.failure.summary);
3188
3196
  const { adapter, mcp, configDir, kitSetup } = prepared.success;
3189
- const launch = request.sandbox.backend === "host" ? prepared.success.launch : sandboxedLaunch(prepared.success.launch);
3197
+ const launch = request.sandbox.backend === "host" ? prepared.success.launch : sandboxedLaunch(prepared.success.launch, request.sandbox.backend);
3190
3198
  const policy = stepSandboxPolicy({
3191
3199
  policy: request.sandbox.policy,
3192
3200
  adapter,
@@ -3280,7 +3288,8 @@ var runAttempt = (request, options) => gen(function* () {
3280
3288
  }
3281
3289
  default:
3282
3290
  yield* requireKitCommands(kitSetup, runsOnHost);
3283
- return { argv: harnessArgv, env: policy.environment, registry: undefined };
3291
+ const env = { ...yield* inheritedEnvironment2(["SSH_AUTH_SOCK"]), ...policy.environment };
3292
+ return { argv: harnessArgv, env, registry: undefined };
3284
3293
  }
3285
3294
  });
3286
3295
  const command = yield* result(tap2(sandboxed, ({ registry }) => andThen2(writeHarnessFiles({
@@ -5827,7 +5836,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
5827
5836
  const input = yield* unbounded2();
5828
5837
  const pending = new Map;
5829
5838
  let lastId = 0;
5830
- const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
5839
+ const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
5831
5840
  cwd: env.home,
5832
5841
  extendEnv: true,
5833
5842
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -5850,7 +5859,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
5850
5859
  return {
5851
5860
  request: (method, params) => gen(function* () {
5852
5861
  const id = ++lastId;
5853
- const deferred = yield* make15();
5862
+ const deferred = yield* make16();
5854
5863
  pending.set(id, deferred);
5855
5864
  yield* send({ id, method, params });
5856
5865
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -5990,10 +5999,10 @@ var handshake = [
5990
5999
  `).join("");
5991
6000
  var kitmanMcpPreflight = (mcp) => gen(function* () {
5992
6001
  const spawner = yield* ChildProcessSpawner;
5993
- const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
6002
+ const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
5994
6003
  extendEnv: true,
5995
6004
  env: mcp.env,
5996
- stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
6005
+ stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
5997
6006
  stderr: "ignore"
5998
6007
  }));
5999
6008
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -6066,8 +6075,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
6066
6075
  };
6067
6076
  const exitCode = sandbox === undefined ? yield* gen(function* () {
6068
6077
  const spawner = yield* ChildProcessSpawner;
6069
- const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
6070
- stdin: make10(new TextEncoder().encode(stdin)),
6078
+ const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
6079
+ stdin: make11(new TextEncoder().encode(stdin)),
6071
6080
  stdout: "inherit",
6072
6081
  stderr: "inherit",
6073
6082
  extendEnv: false,
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-677etczq.js";
27
+ } from "./chunk-d3ksv8y1.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-qdn9tnav.js";
31
+ } from "./chunk-dk0ftqwg.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-fm4m4v6j.js";
41
+ } from "./chunk-fc0y8kn7.js";
42
42
 
43
43
  // packages/core/src/npm-registry.ts
44
44
  var KitManifest = Struct({
@@ -1,9 +1,4 @@
1
1
  // @bun
2
- import {
3
- make10,
4
- runForEach,
5
- compiled2
6
- } from "./chunk-qdn9tnav.js";
7
2
  import {
8
3
  getOrUndefined,
9
4
  liftThrowable,
@@ -27,16 +22,21 @@ import {
27
22
  NullOr,
28
23
  Finite,
29
24
  encodeUnknownJsonStringSync
30
- } from "./chunk-677etczq.js";
25
+ } from "./chunk-d3ksv8y1.js";
31
26
  import {
32
27
  isNumber,
33
28
  isJsonObject,
34
29
  isString
35
- } from "./chunk-h6360r1c.js";
30
+ } from "./chunk-v01c0k6j.js";
31
+ import {
32
+ make11,
33
+ runForEach,
34
+ compiled2
35
+ } from "./chunk-dk0ftqwg.js";
36
36
  import {
37
37
  ChildProcessSpawner,
38
- make2
39
- } from "./chunk-zej59tf2.js";
38
+ make3
39
+ } from "./chunk-1rry0tsn.js";
40
40
 
41
41
  // packages/agent-runtime/src/opencode-store.ts
42
42
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -169,8 +169,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
169
169
  var isolatedRead = (store, name, input) => gen(function* () {
170
170
  const spawner = yield* ChildProcessSpawner;
171
171
  const [command, ...args] = opencodeReaderCommand();
172
- const handle = yield* spawner.spawn(make2(command, args, {
173
- stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
172
+ const handle = yield* spawner.spawn(make3(command, args, {
173
+ stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
174
174
  stderr: "ignore",
175
175
  extendEnv: false,
176
176
  env: {},
@@ -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++) {
@@ -1578,7 +1578,7 @@ var ServiceProto = {
1578
1578
  return self;
1579
1579
  },
1580
1580
  context(self) {
1581
- return make14(this, self);
1581
+ return make15(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 make14 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1685
+ var make15 = (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, make14(StackTraceKey, this.cache.stackFrame));
3025
+ cause = causeAnnotate(cause, make15(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 make15 = () => sync(() => makeUnsafe5());
5122
+ var make16 = () => 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(make14(arguments[0], resource));
5270
+ return (resource) => succeedContext(make15(arguments[0], resource));
5271
5271
  }
5272
- return succeedContext(make14(arguments[0], arguments[1]));
5272
+ return succeedContext(make15(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) => make14(service, value)));
5281
+ var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(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,48 +5857,6 @@ 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
-
5902
5860
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
5903
5861
  function resolve(ast) {
5904
5862
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -5922,16 +5880,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
5922
5880
  var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
5923
5881
 
5924
5882
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
5925
- var TypeId9 = "~effect/SchemaIssue/Issue";
5883
+ var TypeId8 = "~effect/SchemaIssue/Issue";
5926
5884
  function isIssue(u) {
5927
- return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
5885
+ return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
5928
5886
  }
5929
5887
  function hasInput(issue) {
5930
5888
  return Object.hasOwn(issue, "input");
5931
5889
  }
5932
5890
 
5933
5891
  class IssueNodeImpl {
5934
- [TypeId9] = TypeId9;
5892
+ [TypeId8] = TypeId8;
5935
5893
  constructor(input, options) {
5936
5894
  if (options?.reportInput === true && input !== missing) {
5937
5895
  this.input = input;
@@ -6305,9 +6263,9 @@ function setContent(operation, content) {
6305
6263
  }
6306
6264
 
6307
6265
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
6308
- var TypeId10 = "~effect/SchemaTransformation/Transformation";
6266
+ var TypeId9 = "~effect/SchemaTransformation/Transformation";
6309
6267
  var Transformation = class extends Class3 {
6310
- [TypeId10] = TypeId10;
6268
+ [TypeId9] = TypeId9;
6311
6269
  _tag = "Transformation";
6312
6270
  decode;
6313
6271
  encode;
@@ -6321,7 +6279,7 @@ var Transformation = class extends Class3 {
6321
6279
  }
6322
6280
  };
6323
6281
  function isTransformation(u) {
6324
- return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
6282
+ return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6325
6283
  }
6326
6284
  var makeTransformation = (options) => {
6327
6285
  if (isTransformation(options)) {
@@ -6441,10 +6399,10 @@ var Context = class {
6441
6399
  this.annotations = annotations;
6442
6400
  }
6443
6401
  };
6444
- var TypeId11 = "~effect/Schema";
6402
+ var TypeId10 = "~effect/Schema";
6445
6403
 
6446
6404
  class ASTNodeImpl {
6447
- [TypeId11] = TypeId11;
6405
+ [TypeId10] = TypeId10;
6448
6406
  annotations;
6449
6407
  checks;
6450
6408
  encoding;
@@ -8659,10 +8617,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
8659
8617
  var constructorCompiler = (ast) => resolve2(ast).makeEffect;
8660
8618
 
8661
8619
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
8662
- var TypeId12 = "~effect/Schema/Schema";
8620
+ var TypeId11 = "~effect/Schema/Schema";
8663
8621
  var RebuildOptions = /* @__PURE__ */ Symbol();
8664
8622
  var SchemaProto = {
8665
- [TypeId12]: TypeId12,
8623
+ [TypeId11]: TypeId11,
8666
8624
  get make() {
8667
8625
  const value = make4(this);
8668
8626
  Object.defineProperty(this, "make", {
@@ -8923,7 +8881,7 @@ function recur(ast) {
8923
8881
  const rest = ast.rest.map(recur);
8924
8882
  const [head, ...tail] = rest;
8925
8883
  const tailLength = tail.length;
8926
- return make13((a, b) => {
8884
+ return make14((a, b) => {
8927
8885
  if (!Array.isArray(a) || !Array.isArray(b)) {
8928
8886
  return false;
8929
8887
  }
@@ -8958,7 +8916,7 @@ function recur(ast) {
8958
8916
  }
8959
8917
  const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
8960
8918
  const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
8961
- return make13((a, b) => {
8919
+ return make14((a, b) => {
8962
8920
  if (!isObject2(a) || !isObject2(b)) {
8963
8921
  return false;
8964
8922
  }
@@ -8996,7 +8954,7 @@ function recur(ast) {
8996
8954
  const types = toType2(ast).types;
8997
8955
  const index = getCandidateIndex(types);
8998
8956
  const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
8999
- return make13((a, b) => {
8957
+ return make14((a, b) => {
9000
8958
  const candidates = index(a, false);
9001
8959
  for (let i = 0;i < candidates.length; i++) {
9002
8960
  const [is, equivalence] = compiled[candidates[i]];
@@ -9009,7 +8967,7 @@ function recur(ast) {
9009
8967
  }
9010
8968
  case "Suspend": {
9011
8969
  let equivalence;
9012
- return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
8970
+ return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
9013
8971
  }
9014
8972
  }
9015
8973
  }
@@ -9107,7 +9065,7 @@ function isSchemaError(u) {
9107
9065
  }
9108
9066
 
9109
9067
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
9110
- var TypeId13 = TypeId12;
9068
+ var TypeId12 = TypeId11;
9111
9069
  function declareConstructor() {
9112
9070
  return (typeParameters, run, annotations) => {
9113
9071
  return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
@@ -9220,7 +9178,7 @@ function encodeUnknownSync(schema, options) {
9220
9178
  var encodeSync = encodeUnknownSync;
9221
9179
  var make17 = make5;
9222
9180
  function isSchema(u) {
9223
- return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
9181
+ return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
9224
9182
  }
9225
9183
  var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
9226
9184
  schema
@@ -10014,7 +9972,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
10014
9972
  }
10015
9973
  });
10016
9974
  }
10017
- static [TypeId13] = TypeId13;
9975
+ static [TypeId12] = TypeId12;
10018
9976
  get [ClassTypeId]() {
10019
9977
  return ClassTypeId;
10020
9978
  }
@@ -10163,4 +10121,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
10163
10121
  var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
10164
10122
  var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
10165
10123
 
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 };
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 };