@kitman-sh/cli 0.12.12 → 0.12.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{chunk-gxbcvd4q.js → chunk-1msvjdrq.js} +4 -4
  2. package/dist/{chunk-0h49y8gf.js → chunk-20qmtmt2.js} +17 -17
  3. package/dist/{chunk-gq7y5v3e.js → chunk-24h0y27w.js} +1 -1
  4. package/dist/{chunk-7afnkx5b.js → chunk-4hdk4bje.js} +7 -7
  5. package/dist/{chunk-mtkstrh3.js → chunk-5f8whb7j.js} +14 -60
  6. package/dist/{chunk-5zth85pj.js → chunk-73fqehr2.js} +2 -2
  7. package/dist/{chunk-gwnyxm1r.js → chunk-853g269m.js} +22 -22
  8. package/dist/{chunk-ajwxd61t.js → chunk-axh2mt1y.js} +1 -1
  9. package/dist/{chunk-ywzxwgrz.js → chunk-cxqaccxr.js} +6 -6
  10. package/dist/{chunk-fr79hgq2.js → chunk-dmbcgwea.js} +5 -5
  11. package/dist/{chunk-nb1x1swa.js → chunk-fsmh52xq.js} +11 -11
  12. package/dist/{chunk-y1krmnbv.js → chunk-ggmwpwhf.js} +2 -2
  13. package/dist/{chunk-4gy4ty6k.js → chunk-hb71prd2.js} +4 -4
  14. package/dist/{chunk-gy9rf14f.js → chunk-mmd7mjv0.js} +3 -3
  15. package/dist/{chunk-k6jnrs2f.js → chunk-mr95mxxv.js} +21 -21
  16. package/dist/{chunk-jn7w2ntt.js → chunk-n1mzvqt2.js} +4 -4
  17. package/dist/{chunk-s9ts6nct.js → chunk-ntxzkz25.js} +23 -23
  18. package/dist/{chunk-q5w3v4k1.js → chunk-pxvd8w2v.js} +1 -1
  19. package/dist/{chunk-cbpb2rww.js → chunk-qpfb12g1.js} +7 -7
  20. package/dist/{chunk-vkg40ysx.js → chunk-rjxkcjb2.js} +7 -7
  21. package/dist/{chunk-4w0c1ykv.js → chunk-vm5s72rr.js} +109 -108
  22. package/dist/{chunk-azfjx5d8.js → chunk-vmhpnqss.js} +3 -3
  23. package/dist/{chunk-w83fadhh.js → chunk-vnfshhpk.js} +14 -7
  24. package/dist/{chunk-5zhh41gb.js → chunk-vp2xdw4r.js} +4 -4
  25. package/dist/{chunk-zw3gf6r5.js → chunk-zgraq2y3.js} +70 -28
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-mtkstrh3.js";
2
+ import"./chunk-5f8whb7j.js";
3
3
  import {
4
4
  HERDR_CORE_GENERATION2,
5
5
  HERDR_CORE_INSTALL_COMMAND2,
@@ -12,9 +12,9 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-4w0c1ykv.js";
16
- import"./chunk-0h49y8gf.js";
17
- import"./chunk-zw3gf6r5.js";
15
+ } from "./chunk-vm5s72rr.js";
16
+ import"./chunk-20qmtmt2.js";
17
+ import"./chunk-zgraq2y3.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -201,7 +201,7 @@ import {
201
201
  String4,
202
202
  toCodecStringTree,
203
203
  encodeUnknownJsonStringSync
204
- } from "./chunk-zw3gf6r5.js";
204
+ } from "./chunk-zgraq2y3.js";
205
205
 
206
206
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
207
207
  var headUnsafe = (self) => {
@@ -1129,7 +1129,7 @@ var MutableRefProto = {
1129
1129
  };
1130
1130
  }
1131
1131
  };
1132
- var make8 = (value) => {
1132
+ var make7 = (value) => {
1133
1133
  const ref = Object.create(MutableRefProto);
1134
1134
  ref.current = value;
1135
1135
  return ref;
@@ -1290,7 +1290,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1290
1290
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1291
1291
  var TypeId3 = "~effect/PubSub";
1292
1292
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1293
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1293
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1294
1294
  var unbounded = (options) => make5({
1295
1295
  atomicPubSub: () => makeAtomicUnbounded(options),
1296
1296
  strategy: () => new DroppingStrategy
@@ -1385,7 +1385,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1385
1385
  subscribers.delete(subscription);
1386
1386
  }
1387
1387
  };
1388
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1388
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1389
1389
  class UnboundedPubSub {
1390
1390
  publisherHead = {
1391
1391
  value: AbsentValue,
@@ -1802,7 +1802,7 @@ var QueueProto = {
1802
1802
  };
1803
1803
  }
1804
1804
  };
1805
- var make9 = (options) => withFiber((fiber) => {
1805
+ var make8 = (options) => withFiber((fiber) => {
1806
1806
  const self = Object.create(QueueProto);
1807
1807
  self.dispatcher = fiber.currentDispatcher;
1808
1808
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1817,14 +1817,14 @@ var make9 = (options) => withFiber((fiber) => {
1817
1817
  };
1818
1818
  return succeed2(self);
1819
1819
  });
1820
- var bounded = (capacity) => make9({
1820
+ var bounded = (capacity) => make8({
1821
1821
  capacity
1822
1822
  });
1823
- var sliding = (capacity) => make9({
1823
+ var sliding = (capacity) => make8({
1824
1824
  capacity,
1825
1825
  strategy: "sliding"
1826
1826
  });
1827
- var unbounded2 = () => make9();
1827
+ var unbounded2 = () => make8();
1828
1828
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1829
1829
  var offerUnsafe = (self, message) => {
1830
1830
  if (self.state._tag !== "Open") {
@@ -2250,7 +2250,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2250
2250
  return onError(pull, onCause);
2251
2251
  }));
2252
2252
  var toTransform = (channel) => channel.transform;
2253
- var asyncQueue = (scope, f, options) => make9({
2253
+ var asyncQueue = (scope, f, options) => make8({
2254
2254
  capacity: options?.bufferSize,
2255
2255
  strategy: options?.strategy
2256
2256
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2291,7 +2291,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2291
2291
  }));
2292
2292
  var readableStreamToPullUnsafe = (options) => {
2293
2293
  const reader = options.readable.getReader();
2294
- const exit = options.exit ?? make8(undefined);
2294
+ const exit = options.exit ?? make7(undefined);
2295
2295
  const pull = suspend3(() => {
2296
2296
  if (exit.current)
2297
2297
  return exit.current;
@@ -2905,7 +2905,7 @@ var release = (self, state) => {
2905
2905
  };
2906
2906
 
2907
2907
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2908
- var make10 = make6;
2908
+ var make9 = make6;
2909
2909
  var get3 = get2;
2910
2910
 
2911
2911
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
@@ -2917,7 +2917,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
2917
2917
  var toChannel2 = (stream) => stream.channel;
2918
2918
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2919
2919
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2920
- var make11 = (...values) => fromArray2(values);
2920
+ var make10 = (...values) => fromArray2(values);
2921
2921
  var suspend = (stream) => {
2922
2922
  const suspended = fromChannel2(suspend4(() => stream().channel));
2923
2923
  suspendedStreams.set(suspended, stream);
@@ -3082,7 +3082,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
3082
3082
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3083
3083
  var TypeId10 = "~effect/FileSystem";
3084
3084
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3085
- var make12 = (impl) => FileSystem.of({
3085
+ var make11 = (impl) => FileSystem.of({
3086
3086
  ...impl,
3087
3087
  [TypeId10]: TypeId10,
3088
3088
  glob: make2(impl),
@@ -3142,7 +3142,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3142
3142
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3143
3143
  var TypeId11 = "~effect/Path";
3144
3144
  var Path = /* @__PURE__ */ Service2("effect/Path");
3145
- var make13 = (impl) => Path.of({
3145
+ var make12 = (impl) => Path.of({
3146
3146
  ...impl,
3147
3147
  [TypeId11]: TypeId11,
3148
3148
  resolveWithin(root, input) {
@@ -3217,7 +3217,7 @@ function makeProvider(load, mapInput) {
3217
3217
  function makeSource(get, transform) {
3218
3218
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3219
3219
  }
3220
- function make7(get) {
3220
+ function make13(get) {
3221
3221
  return makeSource(get, identityPath);
3222
3222
  }
3223
3223
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3226,7 +3226,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3226
3226
  function fromEnvRecord(env, options) {
3227
3227
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3228
3228
  const trie = buildEnvTrie(env);
3229
- return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3229
+ return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3230
3230
  }
3231
3231
  function fromEnv(options) {
3232
3232
  const env = options?.env ?? {
@@ -3557,4 +3557,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3557
3557
  ...argv
3558
3558
  ];
3559
3559
 
3560
- export { map, makeEquivalence, bytes, join, interrupt, getCurrent, 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, make10, get3, isStream, fromChannel2, callback, empty2, make11, 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, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3560
+ export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make7, unbounded, publishUnsafe, make8, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make9, get3, 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, tempDirectoryScoped, 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-zw3gf6r5.js";
6
+ } from "./chunk-zgraq2y3.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-zw3gf6r5.js";
9
+ } from "./chunk-zgraq2y3.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-0h49y8gf.js";
12
+ } from "./chunk-20qmtmt2.js";
13
13
  import {
14
14
  WebSocketConstructor,
15
15
  layerWebSocketConstructorGlobal,
@@ -19,13 +19,13 @@ import {
19
19
  RunnerReplicaRpcs,
20
20
  RunnerRunFileRpcs,
21
21
  ProgramRpcs
22
- } from "./chunk-4w0c1ykv.js";
22
+ } from "./chunk-vm5s72rr.js";
23
23
  import {
24
24
  layerJson,
25
- make4,
25
+ make3,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-fr79hgq2.js";
28
+ } from "./chunk-dmbcgwea.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -46,7 +46,7 @@ var authorizer = (options) => (call) => flatMap3(options.bearer, (token) => with
46
46
  var RunnerProcessRpcs = RunnerReplicaRpcs.merge(RunnerRunFileRpcs);
47
47
  var makeRunnerRpcClient2 = (options) => gen(function* () {
48
48
  const protocol = yield* build(options.protocol);
49
- const client = yield* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
49
+ const client = yield* make3(RunnerProcessRpcs).pipe(provideContext2(protocol));
50
50
  const authorized = authorizer(options);
51
51
  return {
52
52
  claim: (input) => authorized(client.Claim(input)),
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
74
74
  });
75
75
  var makeProgramRpcClient2 = (options) => gen(function* () {
76
76
  const protocol = yield* build(options.protocol);
77
- const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
77
+ const client = yield* make3(ProgramRpcs).pipe(provideContext2(protocol));
78
78
  const authorized = authorizer(options);
79
79
  return {
80
80
  recordActivity: (input) => authorized(client.RecordActivity(input)),
@@ -1,13 +1,6 @@
1
1
  // @bun
2
2
  import {
3
- isString,
4
- hasProperty,
5
- symbol,
6
- hash,
7
- symbol2,
8
- equals,
9
3
  BaseProto,
10
- PipeInspectableProto,
11
4
  Prototype,
12
5
  some,
13
6
  Service2,
@@ -21,8 +14,11 @@ import {
21
14
  andThen2,
22
15
  map8,
23
16
  raceFirst,
24
- scoped
25
- } from "./chunk-zw3gf6r5.js";
17
+ scoped,
18
+ isRedacted,
19
+ make16,
20
+ value
21
+ } from "./chunk-zgraq2y3.js";
26
22
  import {
27
23
  unwrap,
28
24
  drainFork,
@@ -31,49 +27,7 @@ import {
31
27
  runCollect,
32
28
  runDrain,
33
29
  mkString
34
- } from "./chunk-0h49y8gf.js";
35
-
36
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
37
- var redactedRegistry = /* @__PURE__ */ new WeakMap;
38
- var value2 = (self) => {
39
- if (redactedRegistry.has(self)) {
40
- return redactedRegistry.get(self);
41
- } else {
42
- throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
43
- }
44
- };
45
-
46
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
47
- var TypeId = "~effect/Redacted";
48
- var isRedacted = (u) => hasProperty(u, TypeId);
49
- var make = (value, options) => {
50
- const self = Object.create(Proto);
51
- if (options?.label) {
52
- self.label = options.label;
53
- }
54
- redactedRegistry.set(self, value);
55
- return self;
56
- };
57
- var Proto = {
58
- [TypeId]: {
59
- _A: (_) => _
60
- },
61
- label: undefined,
62
- ...PipeInspectableProto,
63
- toJSON() {
64
- return this.toString();
65
- },
66
- toString() {
67
- return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
68
- },
69
- [symbol]() {
70
- return hash(redactedRegistry.get(this));
71
- },
72
- [symbol2](that) {
73
- return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
74
- }
75
- };
76
- var value = value2;
30
+ } from "./chunk-20qmtmt2.js";
77
31
 
78
32
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
79
33
  function nominal() {
@@ -101,7 +55,7 @@ var HandleProto = {
101
55
  var makeHandle = (params) => Object.setPrototypeOf({
102
56
  ...params
103
57
  }, HandleProto);
104
- var make2 = (spawn) => {
58
+ var make = (spawn) => {
105
59
  const streamString = (command, options) => spawn(command).pipe(map8((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
106
60
  const streamLines = (command, options) => splitLines(streamString(command, options));
107
61
  return ChildProcessSpawner.of({
@@ -222,7 +176,7 @@ var parseTemplate = (texts, values) => {
222
176
  if (word.length === 0)
223
177
  return;
224
178
  const value = word.map(unwrap2).join("");
225
- words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make(value) : value);
179
+ words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make16(value) : value);
226
180
  word = [];
227
181
  plain = true;
228
182
  braceDepth = 0;
@@ -312,23 +266,23 @@ var parseTemplate = (texts, values) => {
312
266
  };
313
267
 
314
268
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
315
- var TypeId2 = "~effect/process/ChildProcess";
316
- var Proto2 = {
269
+ var TypeId = "~effect/process/ChildProcess";
270
+ var Proto = {
317
271
  .../* @__PURE__ */ Prototype({
318
272
  label: "Command",
319
273
  evaluate(fiber) {
320
274
  return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
321
275
  }
322
276
  }),
323
- [TypeId2]: TypeId2
277
+ [TypeId]: TypeId
324
278
  };
325
- var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto2), {
279
+ var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto), {
326
280
  _tag: "StandardCommand",
327
281
  command,
328
282
  args,
329
283
  options
330
284
  });
331
- var make3 = function make(...args) {
285
+ var make2 = function make(...args) {
332
286
  if (isTemplateString(args[0])) {
333
287
  const [templates, ...expressions] = args;
334
288
  const [command, cmdArgs] = parseTemplate2(templates, expressions);
@@ -386,4 +340,4 @@ var shellScript = (templates, expressions) => {
386
340
  }
387
341
  return script;
388
342
  };
389
- export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };
343
+ export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-0h49y8gf.js";
18
- import"./chunk-zw3gf6r5.js";
17
+ } from "./chunk-20qmtmt2.js";
18
+ import"./chunk-zgraq2y3.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -41,7 +41,7 @@ import {
41
41
  isFailure2,
42
42
  hasInterrupts,
43
43
  makeUnsafe5,
44
- make16,
44
+ make15,
45
45
  _await,
46
46
  fail5,
47
47
  isDoneUnsafe,
@@ -168,12 +168,12 @@ import {
168
168
  decodeJsonStringSync,
169
169
  encodeUnknownJsonStringSync,
170
170
  storable
171
- } from "./chunk-zw3gf6r5.js";
171
+ } from "./chunk-zgraq2y3.js";
172
172
  import {
173
173
  Id,
174
174
  secretReference,
175
175
  secretPlaceholder
176
- } from "./chunk-q5w3v4k1.js";
176
+ } from "./chunk-pxvd8w2v.js";
177
177
  import {
178
178
  currentTimeMillis,
179
179
  SecureRandom,
@@ -247,7 +247,7 @@ import {
247
247
  installCommand,
248
248
  checkServicesFile,
249
249
  checkServices
250
- } from "./chunk-4w0c1ykv.js";
250
+ } from "./chunk-vm5s72rr.js";
251
251
  import {
252
252
  join,
253
253
  interrupt,
@@ -256,7 +256,7 @@ import {
256
256
  unbounded2,
257
257
  offer,
258
258
  makeUnsafe3,
259
- make11,
259
+ make10,
260
260
  fromQueue,
261
261
  fromPubSub,
262
262
  map2,
@@ -288,7 +288,7 @@ import {
288
288
  writeSrtSettings2,
289
289
  srtStepArgv2,
290
290
  srtArgv2
291
- } from "./chunk-0h49y8gf.js";
291
+ } from "./chunk-20qmtmt2.js";
292
292
  import {
293
293
  writeAgentEnvironmentConfigFile2,
294
294
  readManifestSkillPaths2,
@@ -304,8 +304,8 @@ import {
304
304
  applyAgentEnvironmentMaterialization2,
305
305
  isPathWithin2,
306
306
  skillIdentity2
307
- } from "./chunk-jn7w2ntt.js";
308
- import"./chunk-azfjx5d8.js";
307
+ } from "./chunk-n1mzvqt2.js";
308
+ import"./chunk-vmhpnqss.js";
309
309
  import {
310
310
  egressAllowed,
311
311
  writeSecretRegistry,
@@ -315,7 +315,7 @@ import {
315
315
  secretFilter2,
316
316
  opaqueTunnelRefusal2,
317
317
  isOpaqueConnectReason2
318
- } from "./chunk-y1krmnbv.js";
318
+ } from "./chunk-ggmwpwhf.js";
319
319
  import {
320
320
  sliceBytes2,
321
321
  maxLineBytes2,
@@ -323,23 +323,23 @@ import {
323
323
  decodedOption2,
324
324
  decoded2,
325
325
  readOpencode2
326
- } from "./chunk-cbpb2rww.js";
326
+ } from "./chunk-qpfb12g1.js";
327
327
  import {
328
328
  uploadRunFile,
329
329
  programLease,
330
330
  rpcRunFiles,
331
331
  programHostsEnv,
332
332
  undeclaredHostsEnv
333
- } from "./chunk-4gy4ty6k.js";
334
- import"./chunk-7afnkx5b.js";
333
+ } from "./chunk-hb71prd2.js";
334
+ import"./chunk-4hdk4bje.js";
335
335
  import {
336
336
  nextInt
337
- } from "./chunk-gq7y5v3e.js";
337
+ } from "./chunk-24h0y27w.js";
338
338
  import {
339
339
  ChildProcessSpawner,
340
- make3
341
- } from "./chunk-mtkstrh3.js";
342
- import"./chunk-fr79hgq2.js";
340
+ make2
341
+ } from "./chunk-5f8whb7j.js";
342
+ import"./chunk-dmbcgwea.js";
343
343
 
344
344
  // packages/core/src/sync-kit.ts
345
345
  import { createHash } from "crypto";
@@ -7038,7 +7038,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7038
7038
  const input = yield* unbounded2();
7039
7039
  const pending = new Map;
7040
7040
  let lastId = 0;
7041
- const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
7041
+ const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
7042
7042
  cwd: env.home,
7043
7043
  extendEnv: true,
7044
7044
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -7061,7 +7061,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7061
7061
  return {
7062
7062
  request: (method, params) => gen(function* () {
7063
7063
  const id = ++lastId;
7064
- const deferred = yield* make16();
7064
+ const deferred = yield* make15();
7065
7065
  pending.set(id, deferred);
7066
7066
  yield* send({ id, method, params });
7067
7067
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -7201,10 +7201,10 @@ var handshake = [
7201
7201
  `).join("");
7202
7202
  var kitmanMcpPreflight = (mcp) => gen(function* () {
7203
7203
  const spawner = yield* ChildProcessSpawner;
7204
- const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
7204
+ const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
7205
7205
  extendEnv: true,
7206
7206
  env: mcp.env,
7207
- stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
7207
+ stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
7208
7208
  stderr: "ignore"
7209
7209
  }));
7210
7210
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -7277,8 +7277,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
7277
7277
  };
7278
7278
  const exitCode = sandbox === undefined ? yield* gen(function* () {
7279
7279
  const spawner = yield* ChildProcessSpawner;
7280
- const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
7281
- stdin: make11(new TextEncoder().encode(stdin)),
7280
+ const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
7281
+ stdin: make10(new TextEncoder().encode(stdin)),
7282
7282
  stdout: "inherit",
7283
7283
  stderr: "inherit",
7284
7284
  extendEnv: false,
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-w83fadhh.js";
7
+ } from "./chunk-vnfshhpk.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-7afnkx5b.js";
8
- import"./chunk-fr79hgq2.js";
9
- import"./chunk-4w0c1ykv.js";
10
- import"./chunk-q5w3v4k1.js";
11
- import"./chunk-0h49y8gf.js";
12
- import"./chunk-zw3gf6r5.js";
7
+ } from "./chunk-4hdk4bje.js";
8
+ import"./chunk-dmbcgwea.js";
9
+ import"./chunk-vm5s72rr.js";
10
+ import"./chunk-pxvd8w2v.js";
11
+ import"./chunk-20qmtmt2.js";
12
+ import"./chunk-zgraq2y3.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -96,7 +96,7 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-zw3gf6r5.js";
99
+ } from "./chunk-zgraq2y3.js";
100
100
  import {
101
101
  interrupt,
102
102
  getCurrent,
@@ -108,7 +108,7 @@ import {
108
108
  shutdownUnsafe,
109
109
  fromQueue,
110
110
  unwrap
111
- } from "./chunk-0h49y8gf.js";
111
+ } from "./chunk-20qmtmt2.js";
112
112
  import {
113
113
  Clock,
114
114
  empty,
@@ -123,7 +123,7 @@ import {
123
123
  ParseOptions,
124
124
  RpcClientDefect,
125
125
  RpcClientError
126
- } from "./chunk-4w0c1ykv.js";
126
+ } from "./chunk-vm5s72rr.js";
127
127
 
128
128
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
129
129
  class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
483
483
  };
484
484
  });
485
485
  var clientIdCounter = 0;
486
- var make4 = /* @__PURE__ */ fnUntraced(function* (group, options) {
486
+ var make3 = /* @__PURE__ */ fnUntraced(function* (group, options) {
487
487
  const clientId = clientIdCounter++;
488
488
  const {
489
489
  codecFor,
@@ -829,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
829
829
  class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
830
830
  }
831
831
 
832
- export { layerJson, make4, withHeaders, layerProtocolSocket, ConnectionHooks };
832
+ export { layerJson, make3, withHeaders, layerProtocolSocket, ConnectionHooks };
@@ -32,8 +32,8 @@ import {
32
32
  toCodecJson,
33
33
  Json,
34
34
  encodePrettyJsonString
35
- } from "./chunk-zw3gf6r5.js";
36
- import"./chunk-q5w3v4k1.js";
35
+ } from "./chunk-zgraq2y3.js";
36
+ import"./chunk-pxvd8w2v.js";
37
37
  import {
38
38
  SecureRandom,
39
39
  layerWebCrypto,
@@ -45,7 +45,7 @@ import {
45
45
  layer4,
46
46
  kitmanMcpServer,
47
47
  RunnerRpcProtocolVersion
48
- } from "./chunk-4w0c1ykv.js";
48
+ } from "./chunk-vm5s72rr.js";
49
49
  import {
50
50
  decodeText,
51
51
  mkString,
@@ -53,23 +53,23 @@ import {
53
53
  Path,
54
54
  withDefault,
55
55
  String2
56
- } from "./chunk-0h49y8gf.js";
56
+ } from "./chunk-20qmtmt2.js";
57
57
  import {
58
58
  Packument,
59
59
  tarballMatches
60
- } from "./chunk-azfjx5d8.js";
61
- import"./chunk-7afnkx5b.js";
60
+ } from "./chunk-vmhpnqss.js";
61
+ import"./chunk-4hdk4bje.js";
62
62
  import {
63
63
  AgentDeclaration,
64
64
  KitDeclarations,
65
65
  describeFlag,
66
66
  Described
67
- } from "./chunk-4gy4ty6k.js";
67
+ } from "./chunk-hb71prd2.js";
68
68
  import {
69
69
  ChildProcessSpawner,
70
- make3
71
- } from "./chunk-mtkstrh3.js";
72
- import"./chunk-fr79hgq2.js";
70
+ make2
71
+ } from "./chunk-5f8whb7j.js";
72
+ import"./chunk-dmbcgwea.js";
73
73
 
74
74
  // packages/sdk/src/build/index.ts
75
75
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -108,7 +108,7 @@ var ConfigAgents = Record(String4, Struct({
108
108
  }));
109
109
  var run = (command, args, cwd) => gen(function* () {
110
110
  const spawner = yield* ChildProcessSpawner;
111
- const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
111
+ const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
112
112
  const [stdout, stderr, exitCode] = yield* all3([
113
113
  mkString(decodeText(handle.stdout)),
114
114
  mkString(decodeText(handle.stderr)),
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-zw3gf6r5.js";
16
+ } from "./chunk-zgraq2y3.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-q5w3v4k1.js";
20
+ } from "./chunk-pxvd8w2v.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -75,10 +75,10 @@ import {
75
75
  toEquivalence,
76
76
  toCodecJson,
77
77
  Json
78
- } from "./chunk-zw3gf6r5.js";
78
+ } from "./chunk-zgraq2y3.js";
79
79
  import {
80
80
  guard
81
- } from "./chunk-q5w3v4k1.js";
81
+ } from "./chunk-pxvd8w2v.js";
82
82
  import {
83
83
  currentTimeMillis,
84
84
  WebCrypto,
@@ -105,11 +105,11 @@ import {
105
105
  KitDigest,
106
106
  KitSetup,
107
107
  RunnerRpcError
108
- } from "./chunk-4w0c1ykv.js";
108
+ } from "./chunk-vm5s72rr.js";
109
109
  import {
110
110
  runForEach,
111
111
  FileSystem
112
- } from "./chunk-0h49y8gf.js";
112
+ } from "./chunk-20qmtmt2.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");