@kitman-sh/cli 0.10.98 → 0.10.100

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-nym2zmz3.js → chunk-0rf10v29.js} +4 -4
  2. package/dist/{chunk-g1xmj2nb.js → chunk-1k3cvdbt.js} +4 -4
  3. package/dist/{chunk-qrxkpwzy.js → chunk-1kww1jdz.js} +1 -1
  4. package/dist/{chunk-7c3pgktm.js → chunk-1nw7sbtr.js} +8 -8
  5. package/dist/{chunk-gfqm22x7.js → chunk-4c78jfqk.js} +5 -5
  6. package/dist/{chunk-s90hj0mb.js → chunk-5z0cwmet.js} +348 -120
  7. package/dist/{chunk-n8c1wh6t.js → chunk-6sanfepb.js} +4 -4
  8. package/dist/{chunk-fd39ch4n.js → chunk-9xj0djtp.js} +8 -8
  9. package/dist/{chunk-07p2dcq3.js → chunk-ayfdkptb.js} +100 -338
  10. package/dist/{chunk-6dc0x5cg.js → chunk-cpx45jzk.js} +8 -8
  11. package/dist/{chunk-j8vq6sk1.js → chunk-cy7cy84h.js} +19 -19
  12. package/dist/{chunk-xwhybbj2.js → chunk-gs6qdy2k.js} +2 -2
  13. package/dist/{chunk-95mkdtzk.js → chunk-hcpjfshb.js} +4 -4
  14. package/dist/{chunk-s5p94z8x.js → chunk-mjrr0wzp.js} +44 -44
  15. package/dist/{chunk-7ya2q09c.js → chunk-mk8vsaj7.js} +1 -1
  16. package/dist/{chunk-797w5qe6.js → chunk-mtz8f1hn.js} +7 -7
  17. package/dist/{chunk-p83y21hp.js → chunk-p3kwtm82.js} +4 -4
  18. package/dist/{chunk-cgjyv52e.js → chunk-qv9te9gr.js} +2 -2
  19. package/dist/{chunk-sy8d7bfa.js → chunk-r3rap6hz.js} +117 -105
  20. package/dist/{chunk-aba9zdpb.js → chunk-tk85pw4z.js} +144 -48
  21. package/dist/{chunk-bqg9gy2e.js → chunk-tqw2rkc9.js} +7 -7
  22. package/dist/{chunk-c6h3fhtb.js → chunk-vatjyw59.js} +11 -11
  23. package/dist/{chunk-3bjekzn7.js → chunk-wyh06par.js} +501 -193
  24. package/dist/{chunk-d1sqb8rt.js → chunk-wzkdjdb7.js} +1 -1
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -11,7 +11,7 @@ import {
11
11
  fail7,
12
12
  flatMap3,
13
13
  exit,
14
- map7,
14
+ map8,
15
15
  as,
16
16
  catch_,
17
17
  catchReason,
@@ -23,24 +23,24 @@ import {
23
23
  fnUntraced,
24
24
  encodePrettyJsonString,
25
25
  decodeJsonStringSync
26
- } from "./chunk-07p2dcq3.js";
26
+ } from "./chunk-ayfdkptb.js";
27
27
  import {
28
28
  isJsonObject,
29
29
  isString
30
- } from "./chunk-d1sqb8rt.js";
30
+ } from "./chunk-wzkdjdb7.js";
31
31
  import {
32
32
  FileSystem,
33
33
  Path,
34
34
  optionalEnv
35
- } from "./chunk-s5p94z8x.js";
35
+ } from "./chunk-mjrr0wzp.js";
36
36
  import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-3bjekzn7.js";
40
+ } from "./chunk-wyh06par.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-bqg9gy2e.js";
43
+ } from "./chunk-tqw2rkc9.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -124,7 +124,7 @@ function manifestSkillPaths(manifest) {
124
124
  return isString(item.skillPath) ? [item.skillPath] : [];
125
125
  }));
126
126
  }
127
- var readManifestSkillPaths2 = (manifestPath) => map7(readExistingText(manifestPath), (text) => manifestSkillPaths(parseJsonObject(text)));
127
+ var readManifestSkillPaths2 = (manifestPath) => map8(readExistingText(manifestPath), (text) => manifestSkillPaths(parseJsonObject(text)));
128
128
  var managedManifestPathForConfig = (paths, file) => gen(function* () {
129
129
  const fs = yield* FileSystem;
130
130
  const manifestRoot = managedManifestRootPath(paths, file);
@@ -944,7 +944,7 @@ var resolveGitSource = (subject, source, input) => gen(function* () {
944
944
  const resolver = yield* SourceResolver;
945
945
  const latest = input.versions === "latest";
946
946
  const ref = latest ? undefined : source.ref;
947
- const resolved = (isCommitHash(ref) ? succeed6(ref) : resolver.gitCommit(source.url, ref)).pipe(map7((commit) => ({ commit })), catch_((error) => succeed6({
947
+ const resolved = (isCommitHash(ref) ? succeed6(ref) : resolver.gitCommit(source.url, ref)).pipe(map8((commit) => ({ commit })), catch_((error) => succeed6({
948
948
  problem: `Kitman could not resolve ${subject} from ${source.url}${ref === undefined ? "" : ` at ${ref}`}: ${error.message}`
949
949
  })));
950
950
  if (input.requireReviewedSources !== true)
@@ -10,7 +10,7 @@ import {
10
10
  gen,
11
11
  fail7,
12
12
  flatMap3,
13
- map7,
13
+ map8,
14
14
  catchTags,
15
15
  mapError2,
16
16
  orDie,
@@ -32,9 +32,9 @@ import {
32
32
  toCodecJson,
33
33
  Json,
34
34
  encodePrettyJsonString
35
- } from "./chunk-07p2dcq3.js";
36
- import"./chunk-qrxkpwzy.js";
37
- import"./chunk-d1sqb8rt.js";
35
+ } from "./chunk-ayfdkptb.js";
36
+ import"./chunk-1kww1jdz.js";
37
+ import"./chunk-wzkdjdb7.js";
38
38
  import {
39
39
  SecureRandom,
40
40
  layerWebCrypto,
@@ -46,7 +46,7 @@ import {
46
46
  layer4,
47
47
  kitmanMcpServer,
48
48
  RunnerRpcProtocolVersion
49
- } from "./chunk-3bjekzn7.js";
49
+ } from "./chunk-wyh06par.js";
50
50
  import {
51
51
  decodeText,
52
52
  mkString,
@@ -54,23 +54,23 @@ import {
54
54
  Path,
55
55
  withDefault,
56
56
  String2
57
- } from "./chunk-s5p94z8x.js";
57
+ } from "./chunk-mjrr0wzp.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-bqg9gy2e.js";
62
- import"./chunk-95mkdtzk.js";
61
+ } from "./chunk-tqw2rkc9.js";
62
+ import"./chunk-hcpjfshb.js";
63
63
  import {
64
64
  AgentDeclaration,
65
65
  KitDeclarations,
66
66
  describeFlag,
67
67
  Described
68
- } from "./chunk-7c3pgktm.js";
68
+ } from "./chunk-1nw7sbtr.js";
69
69
  import {
70
70
  ChildProcessSpawner,
71
71
  make3
72
- } from "./chunk-p83y21hp.js";
73
- import"./chunk-c6h3fhtb.js";
72
+ } from "./chunk-p3kwtm82.js";
73
+ import"./chunk-vatjyw59.js";
74
74
 
75
75
  // packages/sdk/src/build/index.ts
76
76
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -119,7 +119,7 @@ var run = (command, args, cwd) => gen(function* () {
119
119
  }).pipe(scoped);
120
120
  var failure = (result) => (result.stderr.trim() || result.stdout.trim()).slice(-2000);
121
121
  var provenance = (directory) => gen(function* () {
122
- const git = (...args) => run("git", args, directory).pipe(map7((result) => result.ok ? result.stdout.trim() : undefined), orElseSucceed(() => {
122
+ const git = (...args) => run("git", args, directory).pipe(map8((result) => result.ok ? result.stdout.trim() : undefined), orElseSucceed(() => {
123
123
  return;
124
124
  }));
125
125
  const repository = yield* git("remote", "get-url", "origin");
@@ -145,7 +145,7 @@ var readText = (directory, text, what) => gen(function* () {
145
145
  const file = yield* inKit(directory, text.file, what);
146
146
  return yield* fs.readFileString(file).pipe(mapError2(() => new DeclarationsInvalid({ reason: `${what} ${text.file} does not read` })));
147
147
  });
148
- var readAgents = (directory, agents) => forEach(Object.entries(agents), ([id, { instructions, ...agent }]) => instructions === undefined ? succeed6([id, agent]) : map7(readText(directory, instructions, `Agent "${id}" instructions`), (text) => [id, { ...agent, instructions: text.trim() }])).pipe(map7(Object.fromEntries));
148
+ var readAgents = (directory, agents) => forEach(Object.entries(agents), ([id, { instructions, ...agent }]) => instructions === undefined ? succeed6([id, agent]) : map8(readText(directory, instructions, `Agent "${id}" instructions`), (text) => [id, { ...agent, instructions: text.trim() }])).pipe(map8(Object.fromEntries));
149
149
  var utf8 = new TextDecoder("utf-8", { fatal: true });
150
150
  var setupFile = (bytes) => {
151
151
  try {
@@ -220,7 +220,7 @@ var fetchNpm = (name, wanted, what) => gen(function* () {
220
220
  const dist = packument.versions[packument["dist-tags"][wanted] ?? wanted]?.dist;
221
221
  if (dist === undefined)
222
222
  return yield* failed("npm has no such version or dist-tag");
223
- const tarball = yield* get2(dist.tarball).pipe(flatMap3(filterStatusOk), flatMap3((response) => response.arrayBuffer), map7((buffer) => new Uint8Array(buffer)), mapError2((error) => failed(error.message)));
223
+ const tarball = yield* get2(dist.tarball).pipe(flatMap3(filterStatusOk), flatMap3((response) => response.arrayBuffer), map8((buffer) => new Uint8Array(buffer)), mapError2((error) => failed(error.message)));
224
224
  if (!tarballMatches(tarball, dist))
225
225
  return yield* failed(`the tarball does not match its integrity ${dist.integrity ?? `sha1 ${dist.shasum}`}`);
226
226
  const directory = yield* fs.makeTempDirectoryScoped({ prefix: "kitman-npm-" });
@@ -261,11 +261,11 @@ var setupArchive = (directory, kit, setup, checkouts) => gen(function* () {
261
261
  const file = yield* inKit(directory, setup.instructions, what);
262
262
  files["instructions.md"] = setupFile(yield* fs.readFile(file).pipe(mapError2(() => new DeclarationsInvalid({ reason: `${what} do not read` }))));
263
263
  }
264
- const skills = setup.skills === undefined ? undefined : yield* forEach(setup.skills, (skill) => map7(sourceTree(directory, skill.source, `Kit ${kit} skill ${skill.name}`, checkouts), (tree) => ({
264
+ const skills = setup.skills === undefined ? undefined : yield* forEach(setup.skills, (skill) => map8(sourceTree(directory, skill.source, `Kit ${kit} skill ${skill.name}`, checkouts), (tree) => ({
265
265
  ...skill,
266
266
  source: place(`skills/${skill.name}`, tree)
267
267
  })));
268
- const plugins = setup.plugins === undefined ? undefined : yield* forEach(setup.plugins, (plugin) => map7(sourceTree(directory, plugin.sources[0], `Kit ${kit} plugin ${plugin.name}`, checkouts), (tree) => ({
268
+ const plugins = setup.plugins === undefined ? undefined : yield* forEach(setup.plugins, (plugin) => map8(sourceTree(directory, plugin.sources[0], `Kit ${kit} plugin ${plugin.name}`, checkouts), (tree) => ({
269
269
  ...plugin,
270
270
  sources: [place(`plugins/${plugin.name}`, tree)]
271
271
  })));
@@ -311,7 +311,7 @@ var importedFile = (file, specifier) => gen(function* () {
311
311
  const path = yield* Path;
312
312
  const target = path.resolve(path.dirname(file), specifier);
313
313
  for (const candidate of [target, `${target}.ts`, path.join(target, "kitman.config.ts")])
314
- if (yield* fs.stat(candidate).pipe(map7((info) => info.type === "File"), orElseSucceed(() => false)))
314
+ if (yield* fs.stat(candidate).pipe(map8((info) => info.type === "File"), orElseSucceed(() => false)))
315
315
  return candidate;
316
316
  return;
317
317
  });
@@ -352,7 +352,7 @@ var kitModules = (root) => gen(function* () {
352
352
  if (visited.has(file))
353
353
  return;
354
354
  visited.add(file);
355
- const transpiled = yield* run("bun", ["build", "--no-bundle", file], root).pipe(map7((result) => result.ok ? result.stdout : ""), orElseSucceed(() => ""));
355
+ const transpiled = yield* run("bun", ["build", "--no-bundle", file], root).pipe(map8((result) => result.ok ? result.stdout : ""), orElseSucceed(() => ""));
356
356
  for (const [, specifier] of transpiled.matchAll(/\b(?:from|import)\s*"(\.{1,2}\/[^"]+)"/gu)) {
357
357
  const module = specifier === undefined ? undefined : yield* importedFile(file, specifier);
358
358
  if (module === undefined || visited.has(module))
@@ -478,7 +478,7 @@ var buildKit = (directory, options = {}) => gen(function* () {
478
478
  ...own.schedules === undefined ? undefined : { schedules: own.schedules },
479
479
  carried
480
480
  }).pipe(mapError2((error) => new DeclarationsInvalid({ reason: error.message })));
481
- const bundle = yield* fs.readFileString(bundleFile).pipe(map7((text) => new TextEncoder().encode(text.replaceAll(entryName, ".kitman-build-entry.ts"))), mapError2((error) => new BundleFailed({ reason: error.message })));
481
+ const bundle = yield* fs.readFileString(bundleFile).pipe(map8((text) => new TextEncoder().encode(text.replaceAll(entryName, ".kitman-build-entry.ts"))), mapError2((error) => new BundleFailed({ reason: error.message })));
482
482
  return {
483
483
  ...identity,
484
484
  bundle,
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-s5p94z8x.js";
18
- import"./chunk-07p2dcq3.js";
17
+ } from "./chunk-mjrr0wzp.js";
18
+ import"./chunk-ayfdkptb.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -6,7 +6,7 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-07p2dcq3.js";
9
+ } from "./chunk-ayfdkptb.js";
10
10
  import {
11
11
  WebSocketConstructor,
12
12
  layerWebSocketConstructorGlobal,
@@ -16,16 +16,16 @@ import {
16
16
  RunnerReplicaRpcs,
17
17
  RunnerRunFileRpcs,
18
18
  ProgramRpcs
19
- } from "./chunk-3bjekzn7.js";
19
+ } from "./chunk-wyh06par.js";
20
20
  import {
21
21
  runForEach
22
- } from "./chunk-s5p94z8x.js";
22
+ } from "./chunk-mjrr0wzp.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-c6h3fhtb.js";
28
+ } from "./chunk-vatjyw59.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -83,12 +83,12 @@ import {
83
83
  void_2,
84
84
  isFailure2,
85
85
  asVoidAll,
86
- makeUnsafe4,
86
+ makeUnsafe5,
87
87
  _await,
88
88
  interruptWith,
89
89
  doneUnsafe,
90
90
  Scope,
91
- makeUnsafe5,
91
+ makeUnsafe6,
92
92
  provide,
93
93
  addFinalizerExit,
94
94
  addFinalizer,
@@ -137,7 +137,7 @@ import {
137
137
  tap2,
138
138
  option2,
139
139
  exit,
140
- map7,
140
+ map8,
141
141
  as,
142
142
  asSome2,
143
143
  asVoid,
@@ -188,11 +188,11 @@ import {
188
188
  toEncoded,
189
189
  decodeUnknownEffect,
190
190
  SchemaError,
191
- make17,
191
+ make16,
192
192
  String4,
193
193
  toCodecStringTree,
194
194
  encodeUnknownJsonStringSync
195
- } from "./chunk-07p2dcq3.js";
195
+ } from "./chunk-ayfdkptb.js";
196
196
 
197
197
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
198
198
  var headUnsafe = (self) => {
@@ -940,7 +940,7 @@ var walk = /* @__PURE__ */ fnUntraced(function* (fs, compiled, options) {
940
940
  const isUnlisted = (value) => value === "." || value === ".." || isRoot(value);
941
941
  const probe = (parent, name, named) => {
942
942
  const path = toFsPath(join2(parent, name));
943
- return fs.stat(path).pipe(map7((info) => info.type), catchReason("PlatformError", "NotFound", () => fs.readLink(path).pipe(as("SymbolicLink"), catchIf(isNotLink, () => succeed6(undefined)))), catchIf(named ? isMissing : isIgnorable, () => succeed6(undefined)), map7((type) => type === undefined ? undefined : {
943
+ return fs.stat(path).pipe(map8((info) => info.type), catchReason("PlatformError", "NotFound", () => fs.readLink(path).pipe(as("SymbolicLink"), catchIf(isNotLink, () => succeed6(undefined)))), catchIf(named ? isMissing : isIgnorable, () => succeed6(undefined)), map8((type) => type === undefined ? undefined : {
944
944
  name,
945
945
  type
946
946
  }));
@@ -995,7 +995,7 @@ var walk = /* @__PURE__ */ fnUntraced(function* (fs, compiled, options) {
995
995
  return child(type === "Directory", false);
996
996
  }
997
997
  const path = toFsPath(relative);
998
- return fs.stat(path).pipe(map7((info) => info.type === "Directory"), catchIf(isIgnorable, () => succeed6(false)), flatMap3((isDirectory) => {
998
+ return fs.stat(path).pipe(map8((info) => info.type === "Directory"), catchIf(isIgnorable, () => succeed6(false)), flatMap3((isDirectory) => {
999
999
  const resolved = child(isDirectory, type === "SymbolicLink");
1000
1000
  if (type === "SymbolicLink" || resolved?.next === undefined || result.globstar.size === 0) {
1001
1001
  return succeed6(resolved);
@@ -1005,7 +1005,7 @@ var walk = /* @__PURE__ */ fnUntraced(function* (fs, compiled, options) {
1005
1005
  };
1006
1006
  let slots = DIRECTORY_CONCURRENCY;
1007
1007
  let finishing = false;
1008
- const failed = makeUnsafe4();
1008
+ const failed = makeUnsafe5();
1009
1009
  const fork = (walk) => walk.pipe(onError((cause) => sync2(() => {
1010
1010
  if (!finishing) {
1011
1011
  doneUnsafe(failed, failCause3(cause));
@@ -1021,7 +1021,7 @@ var walk = /* @__PURE__ */ fnUntraced(function* (fs, compiled, options) {
1021
1021
  const child = visit(entry, relative, states, excluded);
1022
1022
  if (isEffect(child)) {
1023
1023
  const index = children.push(undefined) - 1;
1024
- pending.push(map7(child, (child) => {
1024
+ pending.push(map8(child, (child) => {
1025
1025
  children[index] = child;
1026
1026
  }));
1027
1027
  } else {
@@ -1105,7 +1105,7 @@ var systemError = (options) => new PlatformError(new SystemError(options));
1105
1105
  var badArgument = (options) => new PlatformError(new BadArgument(options));
1106
1106
 
1107
1107
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Latch.js
1108
- var makeUnsafe = makeLatchUnsafe;
1108
+ var makeUnsafe2 = makeLatchUnsafe;
1109
1109
  var make3 = makeLatch;
1110
1110
 
1111
1111
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/MutableRef.js
@@ -1281,7 +1281,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1281
1281
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1282
1282
  var TypeId3 = "~effect/PubSub";
1283
1283
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1284
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe5(), makeUnsafe(false), make8(false), options.strategy(), make8(none())));
1284
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1285
1285
  var unbounded = (options) => make5({
1286
1286
  atomicPubSub: () => makeAtomicUnbounded(options),
1287
1287
  strategy: () => new DroppingStrategy
@@ -1344,7 +1344,7 @@ var pollForItem = (self) => callback3((resume) => {
1344
1344
  }
1345
1345
  return resume(succeed6(self.ended.current.value));
1346
1346
  }
1347
- const deferred = makeUnsafe4();
1347
+ const deferred = makeUnsafe5();
1348
1348
  let set = self.subscribers.get(self.subscription);
1349
1349
  if (!set) {
1350
1350
  set = new Set;
@@ -1376,7 +1376,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1376
1376
  subscribers.delete(subscription);
1377
1377
  }
1378
1378
  };
1379
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe(false), make8(false), strategy, pubsub.replayWindow(), ended);
1379
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1380
1380
  class UnboundedPubSub {
1381
1381
  publisherHead = {
1382
1382
  value: AbsentValue,
@@ -2096,7 +2096,7 @@ var finalize = (self, exit) => {
2096
2096
  };
2097
2097
 
2098
2098
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Semaphore.js
2099
- var makeUnsafe2 = (permits) => new SemaphoreImpl(permits);
2099
+ var makeUnsafe3 = (permits) => new SemaphoreImpl(permits);
2100
2100
  var firstAvailableWaiter = (self) => {
2101
2101
  for (const waiter of self.waiters) {
2102
2102
  if (waiter.permits <= self.free)
@@ -2247,7 +2247,7 @@ var asyncQueue = (scope, f, options) => make9({
2247
2247
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
2248
2248
  startImmediately: true
2249
2249
  }))));
2250
- var callbackArray = (f, options) => fromTransform((_, scope) => map7(asyncQueue(scope, f, options), takeAll3));
2250
+ var callbackArray = (f, options) => fromTransform((_, scope) => map8(asyncQueue(scope, f, options), takeAll3));
2251
2251
  var suspend4 = (evaluate) => fromTransform((upstream, scope) => suspend3(() => toTransform(evaluate())(upstream, scope)));
2252
2252
  var fromIterator = (iterator) => fromPull(sync2(() => {
2253
2253
  const iter = iterator();
@@ -2273,7 +2273,7 @@ var fromEffect = (effect) => fromPull(sync2(() => {
2273
2273
  var fromEffectDrain = (effect) => fromPull(flatMap3(effect, () => done()));
2274
2274
  var fromQueueArray = (queue) => fromPull(succeed6(takeAll3(queue)));
2275
2275
  var fromSubscriptionArray = (subscription) => fromPull(succeed6(onInterrupt(takeAll2(subscription), () => done())));
2276
- var fromPubSubArray = (pubsub) => unwrap2(map7(subscribe(pubsub), fromSubscriptionArray));
2276
+ var fromPubSubArray = (pubsub) => unwrap2(map8(subscribe(pubsub), fromSubscriptionArray));
2277
2277
  var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStreamToPullUnsafe({
2278
2278
  scope,
2279
2279
  readable: options.evaluate(),
@@ -2303,9 +2303,9 @@ var readableStreamToPullUnsafe = (options) => {
2303
2303
  });
2304
2304
  return as(addFinalizer(options.scope, options.releaseLockOnEnd ? sync2(() => reader.releaseLock()) : promise(() => reader.cancel().catch((error) => reader.closed.then(() => Promise.reject(error), constVoid))).pipe(ensuring2(sync2(() => reader.releaseLock())))), pull);
2305
2305
  };
2306
- var map8 = /* @__PURE__ */ dual(2, (self, f) => transformPull(self, (pull) => sync2(() => {
2306
+ var map7 = /* @__PURE__ */ dual(2, (self, f) => transformPull(self, (pull) => sync2(() => {
2307
2307
  let i = 0;
2308
- return map7(pull, (o) => f(o, i++));
2308
+ return map8(pull, (o) => f(o, i++));
2309
2309
  })));
2310
2310
  var mapDone = /* @__PURE__ */ dual(2, (self, f) => mapDoneEffect(self, (o) => succeed6(f(o))));
2311
2311
  var mapDoneEffect = /* @__PURE__ */ dual(2, (self, f) => transformPull(self, (pull) => succeed6(catchDone(pull, (done2) => flatMap3(f(done2), done)))));
@@ -2313,7 +2313,7 @@ var concurrencyIsSequential = (concurrency) => concurrency === undefined || conc
2313
2313
  var mapEffect = /* @__PURE__ */ dual((args) => isChannel(args[0]), (self, f, options) => concurrencyIsSequential(options?.concurrency) ? mapEffectSequential(self, f) : mapEffectConcurrent(self, f, options));
2314
2314
  var mapEffectSequential = (self, f) => fromTransform((upstream, scope) => {
2315
2315
  let i = 0;
2316
- return map7(toTransform(self)(upstream, scope), flatMap3((o) => f(o, i++)));
2316
+ return map8(toTransform(self)(upstream, scope), flatMap3((o) => f(o, i++)));
2317
2317
  });
2318
2318
  var mapEffectConcurrent = (self, f, options) => fromTransformBracket(fnUntraced(function* (upstream, scope, forkedScope) {
2319
2319
  let i = 0;
@@ -2324,7 +2324,7 @@ var mapEffectConcurrent = (self, f, options) => fromTransformBracket(fnUntraced(
2324
2324
  const runFork = runForkWith(yield* context());
2325
2325
  const trackFiber = runIn(forkedScope);
2326
2326
  if (options.unordered) {
2327
- const semaphore = makeUnsafe2(concurrencyN);
2327
+ const semaphore = makeUnsafe3(concurrencyN);
2328
2328
  const release = constant(semaphore.release(1));
2329
2329
  const handle = matchCauseEffect({
2330
2330
  onFailure: (cause) => flatMap3(failCause(queue, cause), release),
@@ -2365,7 +2365,7 @@ var mapEffectConcurrent = (self, f, options) => fromTransformBracket(fnUntraced(
2365
2365
  return take(queue);
2366
2366
  }));
2367
2367
  var flatMap = /* @__PURE__ */ dual((args) => isChannel(args[0]), (self, f, options) => concurrencyIsSequential(options?.concurrency) ? flatMapSequential(self, f) : flatMapConcurrent(self, f, options));
2368
- var flatMapSequential = (self, f) => fromTransform((upstream, scope) => map7(toTransform(self)(upstream, scope), (pull) => {
2368
+ var flatMapSequential = (self, f) => fromTransform((upstream, scope) => map8(toTransform(self)(upstream, scope), (pull) => {
2369
2369
  let childPull;
2370
2370
  let childScope;
2371
2371
  const makePull = flatMap3(pull, (value) => {
@@ -2386,7 +2386,7 @@ var flatMapSequential = (self, f) => fromTransform((upstream, scope) => map7(toT
2386
2386
  });
2387
2387
  return suspend3(() => childPull ?? makePull);
2388
2388
  }));
2389
- var flatMapConcurrent = (self, f, options) => self.pipe(map8(f), mergeAll(options));
2389
+ var flatMapConcurrent = (self, f, options) => self.pipe(map7(f), mergeAll(options));
2390
2390
  var flatten2 = (channels) => flatMap(channels, identity);
2391
2391
  var flattenArray = (self) => transformPull(self, (pull) => {
2392
2392
  let array;
@@ -2426,7 +2426,7 @@ var filterArray = /* @__PURE__ */ dual(2, (self, predicate) => transformPull(sel
2426
2426
  }))));
2427
2427
  var catchCause3 = /* @__PURE__ */ dual(2, (self, f) => fromTransform((upstream, scope) => {
2428
2428
  let forkedScope = forkUnsafe(scope);
2429
- return map7(toTransform(self)(upstream, forkedScope), (pull) => {
2429
+ return map8(toTransform(self)(upstream, forkedScope), (pull) => {
2430
2430
  let currentPull = pull.pipe(catchCause2((cause) => {
2431
2431
  if (isDoneCause(cause)) {
2432
2432
  return failCause3(cause);
@@ -2449,7 +2449,7 @@ var mergeAll = /* @__PURE__ */ dual(2, (channels, {
2449
2449
  switch: switch_ = false
2450
2450
  }) => fromTransformBracket(fnUntraced(function* (upstream, scope, forkedScope) {
2451
2451
  const concurrencyN = concurrency === "unbounded" ? Number.MAX_SAFE_INTEGER : Math.max(1, concurrency);
2452
- const semaphore = switch_ ? undefined : makeUnsafe2(concurrencyN);
2452
+ const semaphore = switch_ ? undefined : makeUnsafe3(concurrencyN);
2453
2453
  const doneLatch = yield* make3(true);
2454
2454
  const fibers = new Map;
2455
2455
  const queue = yield* bounded(bufferSize);
@@ -2623,7 +2623,7 @@ var decodeText2 = (encoding, options) => fromTransform((upstream, _scope) => syn
2623
2623
  const streamOptions = {
2624
2624
  stream: true
2625
2625
  };
2626
- let pull = upstream.pipe(map7(map6((bytes) => decoder.decode(bytes, streamOptions))), catchDone((leftover) => {
2626
+ let pull = upstream.pipe(map8(map6((bytes) => decoder.decode(bytes, streamOptions))), catchDone((leftover) => {
2627
2627
  pull = done(leftover);
2628
2628
  const last = decoder.decode();
2629
2629
  return last.length > 0 ? succeed6(of(last)) : pull;
@@ -2650,18 +2650,18 @@ var interruptWhen2 = /* @__PURE__ */ dual(2, (self, effect) => merge(self, fromP
2650
2650
  var onExit2 = /* @__PURE__ */ dual(2, (self, finalizer) => fromTransformBracket((upstream, scope, forkedScope) => addFinalizerExit(forkedScope, finalizer).pipe(andThen2(toTransform(self)(upstream, scope)))));
2651
2651
  var ensuring3 = /* @__PURE__ */ dual(2, (self, finalizer) => onExit2(self, (_) => finalizer));
2652
2652
  var runWith = (self, f, onHalt) => suspend3(() => {
2653
- const scope = makeUnsafe5();
2653
+ const scope = makeUnsafe6();
2654
2654
  const makePull = toTransform(self)(done(), scope);
2655
2655
  return catchDone(flatMap3(makePull, f), onHalt ? onHalt : succeed6).pipe(onExit((exit) => close(scope, exit)));
2656
2656
  });
2657
- var provideContext3 = /* @__PURE__ */ dual(2, (self, context) => fromTransform((upstream, scope) => map7(provideContext2(toTransform(self)(upstream, scope), context), provideContext2(context))));
2657
+ var provideContext3 = /* @__PURE__ */ dual(2, (self, context) => fromTransform((upstream, scope) => map8(provideContext2(toTransform(self)(upstream, scope), context), provideContext2(context))));
2658
2658
  var runDrain2 = (self) => runWith(self, (pull) => forever(pull, {
2659
2659
  disableYield: true
2660
2660
  }));
2661
2661
  var runForEach2 = /* @__PURE__ */ dual(2, (self, f) => runWith(self, (pull) => forever(flatMap3(pull, f), {
2662
2662
  disableYield: true
2663
2663
  })));
2664
- var mkUint8Array = (self) => map7(runFold2(self, () => ({
2664
+ var mkUint8Array = (self) => map8(runFold2(self, () => ({
2665
2665
  bytes: 0,
2666
2666
  arrays: []
2667
2667
  }), (acc, chunk) => {
@@ -2755,7 +2755,7 @@ var forEach2 = (f) => forEachArray(forEach((_) => f(_), {
2755
2755
  var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap3(f), forever({
2756
2756
  disableYield: true
2757
2757
  }), catchDone(() => endVoid)));
2758
- var unwrap3 = (effect) => fromChannel(unwrap2(map7(effect, toChannel)));
2758
+ var unwrap3 = (effect) => fromChannel(unwrap2(map8(effect, toChannel)));
2759
2759
 
2760
2760
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
2761
2761
  var TypeId8 = "~effect/Stream";
@@ -2779,12 +2779,12 @@ var fromArray2 = (array) => isReadonlyArrayNonEmpty(array) ? fromChannel2(succee
2779
2779
  var fromQueue = (queue) => fromChannel2(fromQueueArray(queue));
2780
2780
  var fromPubSub = (pubsub) => fromChannel2(fromPubSubArray(pubsub));
2781
2781
  var fromReadableStream = (options) => fromChannel2(fromReadableStream2(options));
2782
- var unwrap = (effect) => fromChannel2(unwrap2(map7(effect, toChannel2)));
2782
+ var unwrap = (effect) => fromChannel2(unwrap2(map8(effect, toChannel2)));
2783
2783
  var map2 = /* @__PURE__ */ dual(2, (self, f) => suspend(() => {
2784
2784
  let i = 0;
2785
- return fromChannel2(map8(self.channel, map6((o) => f(o, i++))));
2785
+ return fromChannel2(map7(self.channel, map6((o) => f(o, i++))));
2786
2786
  }));
2787
- var mapEffect2 = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, f, options) => self.channel.pipe(flattenArray, mapEffect(f, options), map8(of), fromChannel2));
2787
+ var mapEffect2 = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, f, options) => self.channel.pipe(flattenArray, mapEffect(f, options), map7(of), fromChannel2));
2788
2788
  var tap = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, f, options) => mapEffect2(self, (a) => as(f(a), a), options));
2789
2789
  var drainFork = /* @__PURE__ */ dual(2, (self, that) => mergeEffect2(self, runDrain(that)));
2790
2790
  var concat = /* @__PURE__ */ dual(2, (self, that) => {
@@ -2835,7 +2835,7 @@ var transduce = /* @__PURE__ */ dual(2, (self, sink) => transformPull2(self, (up
2835
2835
  done2 = fail4(error);
2836
2836
  return done();
2837
2837
  }));
2838
- const pull = map7(suspend3(() => sink.transform(upstreamWithLeftover, scope)), ([value, leftover_]) => {
2838
+ const pull = map8(suspend3(() => sink.transform(upstreamWithLeftover, scope)), ([value, leftover_]) => {
2839
2839
  leftover = leftover_;
2840
2840
  return of(value);
2841
2841
  });
@@ -2850,7 +2850,7 @@ var splitLines = (self) => self.channel.pipe(pipeTo(splitLines2()), fromChannel2
2850
2850
  var interruptWhen = /* @__PURE__ */ dual(2, (self, effect) => fromChannel2(interruptWhen2(self.channel, effect)));
2851
2851
  var ensuring = /* @__PURE__ */ dual(2, (self, finalizer) => fromChannel2(ensuring3(self.channel, finalizer)));
2852
2852
  var provideContext = /* @__PURE__ */ dual(2, (self, context) => fromChannel2(provideContext3(self.channel, context)));
2853
- var run = /* @__PURE__ */ dual(2, (self, sink) => scopedWith((scope) => toPullScoped(self.channel, scope).pipe(flatMap3((upstream) => runSink(sink, upstream, scope)), map7(([a]) => a))));
2853
+ var run = /* @__PURE__ */ dual(2, (self, sink) => scopedWith((scope) => toPullScoped(self.channel, scope).pipe(flatMap3((upstream) => runSink(sink, upstream, scope)), map8(([a]) => a))));
2854
2854
  var runSink = (sink, upstream, scope) => restoreUpstreamFailure(sink.transform(upstreamFailureToDefect(upstream), scope));
2855
2855
  var runCollect = (self) => runFold2(self.channel, () => [], (acc, chunk) => {
2856
2856
  for (let i = 0;i < chunk.length; i++) {
@@ -2864,7 +2864,7 @@ var runFold = /* @__PURE__ */ dual(3, (self, initial, f) => runFold2(self.channe
2864
2864
  }
2865
2865
  return acc;
2866
2866
  }));
2867
- var runHead = (self) => map7(runHead2(self.channel), map4(getUnsafe2(0)));
2867
+ var runHead = (self) => map8(runHead2(self.channel), map4(getUnsafe2(0)));
2868
2868
  var runForEach = /* @__PURE__ */ dual(2, (self, f) => runForEach2(self.channel, (arr) => {
2869
2869
  let i = 0;
2870
2870
  return whileLoop({
@@ -2875,12 +2875,12 @@ var runForEach = /* @__PURE__ */ dual(2, (self, f) => runForEach2(self.channel,
2875
2875
  }));
2876
2876
  var runDrain = (self) => runDrain2(self.channel);
2877
2877
  var mkString = (self) => runFold2(self.channel, () => "", (acc, chunk) => acc + chunk.join(""));
2878
- var mkArrayBuffer = (self) => map7(mkUint8Array(self.channel), (bytes) => bytes.buffer);
2878
+ var mkArrayBuffer = (self) => map8(mkUint8Array(self.channel), (bytes) => bytes.buffer);
2879
2879
  var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, context, options) => {
2880
2880
  let currentResolve = undefined;
2881
2881
  let fiber = undefined;
2882
2882
  let cancelled = false;
2883
- const latch = makeUnsafe(false);
2883
+ const latch = makeUnsafe2(false);
2884
2884
  const signal = options?.signal;
2885
2885
  const onAbort = () => fiber.interruptUnsafe();
2886
2886
  return new ReadableStream({
@@ -2926,7 +2926,7 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
2926
2926
  }
2927
2927
  }, options?.strategy);
2928
2928
  });
2929
- var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map7(context(), (context) => toReadableStreamWith(self, context, options)));
2929
+ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map8(context(), (context) => toReadableStreamWith(self, context, options)));
2930
2930
 
2931
2931
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
2932
2932
  var TypeId9 = "~effect/FileSystem";
@@ -2973,7 +2973,7 @@ var make11 = (impl) => FileSystem.of({
2973
2973
  sink: (path, options) => pipe(impl.open(path, {
2974
2974
  ...options,
2975
2975
  flag: options?.flag ?? "w"
2976
- }), map7((file) => forEach2((_) => file.writeAll(_))), unwrap3),
2976
+ }), map8((file) => forEach2((_) => file.writeAll(_))), unwrap3),
2977
2977
  writeFileString: (path, data, options) => flatMap3(try_2({
2978
2978
  try: () => new TextEncoder().encode(data),
2979
2979
  catch: (cause) => badArgument({
@@ -3165,7 +3165,7 @@ function make7(evaluator) {
3165
3165
  }
3166
3166
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
3167
3167
  var map3 = /* @__PURE__ */ dual(2, (self, f) => {
3168
- return make7((provider, pathPrefix) => map7(evaluateAt(self, provider, pathPrefix), map5(f)));
3168
+ return make7((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
3169
3169
  });
3170
3170
  function all(arg) {
3171
3171
  const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
@@ -3289,7 +3289,7 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
3289
3289
  function schema(codec, path) {
3290
3290
  const codecStringTree = toCodecStringTree(codec);
3291
3291
  const encodedAst = toEncoded(codecStringTree.ast);
3292
- const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
3292
+ const decodeCursor = decodeUnknownEffect(make16(toConfigCursorAST(codecStringTree.ast)));
3293
3293
  const localPath = typeof path === "string" ? [path] : path ?? [];
3294
3294
  return make7((provider, pathPrefix) => {
3295
3295
  const fullPath = [...pathPrefix, ...localPath];
@@ -3314,7 +3314,7 @@ var optionalEnv = (name) => gen(function* () {
3314
3314
  }).pipe(orElseSucceed(() => {
3315
3315
  return;
3316
3316
  }));
3317
- var operatorConfigHome = (home) => optionalEnv("XDG_CONFIG_HOME").pipe(map7((configHome) => configHome ?? `${home}/.config`));
3317
+ var operatorConfigHome = (home) => optionalEnv("XDG_CONFIG_HOME").pipe(map8((configHome) => configHome ?? `${home}/.config`));
3318
3318
 
3319
3319
  // packages/agent-runtime/src/srt-sandbox.ts
3320
3320
  var harnessesUnsupportedInSrt2 = ["codex"];
@@ -3367,7 +3367,7 @@ var srtInheritedEnv2 = [
3367
3367
  "LC_CTYPE",
3368
3368
  "TZ"
3369
3369
  ];
3370
- var inheritedEnvironment2 = (names) => map7(forEach(names, (name) => map7(optionalEnv(name), (value) => value === undefined ? [] : [[name, value]])), (entries) => Object.fromEntries(entries.flat()));
3370
+ var inheritedEnvironment2 = (names) => map8(forEach(names, (name) => map8(optionalEnv(name), (value) => value === undefined ? [] : [[name, value]])), (entries) => Object.fromEntries(entries.flat()));
3371
3371
  var shellName = /^[A-Za-z_][A-Za-z0-9_]*$/;
3372
3372
  var withOnlyEnvironment2 = (names, argv) => [
3373
3373
  "sh",
@@ -3403,4 +3403,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3403
3403
  ...argv
3404
3404
  ];
3405
3405
 
3406
- export { map, makeEquivalence, bytes, join, interrupt, getCurrent, runIn, BadArgument, systemError, badArgument, makeUnsafe, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe2, fromTransform, mapDone, isSink, fromChannel, drain, isStream, fromChannel2, callback, empty2, make10, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3406
+ export { map, makeEquivalence, bytes, join, interrupt, getCurrent, runIn, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, isStream, fromChannel2, callback, empty2, make10, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-07p2dcq3.js";
6
+ } from "./chunk-ayfdkptb.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -4,13 +4,13 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-95mkdtzk.js";
8
- import"./chunk-c6h3fhtb.js";
9
- import"./chunk-3bjekzn7.js";
10
- import"./chunk-qrxkpwzy.js";
11
- import"./chunk-d1sqb8rt.js";
12
- import"./chunk-s5p94z8x.js";
13
- import"./chunk-07p2dcq3.js";
7
+ } from "./chunk-hcpjfshb.js";
8
+ import"./chunk-vatjyw59.js";
9
+ import"./chunk-wyh06par.js";
10
+ import"./chunk-1kww1jdz.js";
11
+ import"./chunk-wzkdjdb7.js";
12
+ import"./chunk-mjrr0wzp.js";
13
+ import"./chunk-ayfdkptb.js";
14
14
  export {
15
15
  makeProgramRpcClient2 as makeProgramRpcClient,
16
16
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -19,10 +19,10 @@ import {
19
19
  never,
20
20
  flatMap3,
21
21
  andThen2,
22
- map7,
22
+ map8,
23
23
  raceFirst,
24
24
  scoped
25
- } from "./chunk-07p2dcq3.js";
25
+ } from "./chunk-ayfdkptb.js";
26
26
  import {
27
27
  unwrap,
28
28
  drainFork,
@@ -31,7 +31,7 @@ import {
31
31
  runCollect,
32
32
  runDrain,
33
33
  mkString
34
- } from "./chunk-s5p94z8x.js";
34
+ } from "./chunk-mjrr0wzp.js";
35
35
 
36
36
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
37
37
  var redactedRegistry = /* @__PURE__ */ new WeakMap;
@@ -102,7 +102,7 @@ var makeHandle = (params) => Object.setPrototypeOf({
102
102
  ...params
103
103
  }, HandleProto);
104
104
  var make2 = (spawn) => {
105
- const streamString = (command, options) => spawn(command).pipe(map7((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
105
+ const streamString = (command, options) => spawn(command).pipe(map8((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
106
106
  const streamLines = (command, options) => splitLines(streamString(command, options));
107
107
  return ChildProcessSpawner.of({
108
108
  spawn,