@kitman-sh/cli 0.10.59 → 0.10.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/{chunk-phmma642.js → chunk-1vav1vaf.js} +7 -7
  2. package/dist/{chunk-a4798jzf.js → chunk-26hcgbe7.js} +3 -3
  3. package/dist/{chunk-d8awdfdj.js → chunk-43tv7md8.js} +60 -60
  4. package/dist/{chunk-d3ksv8y1.js → chunk-677etczq.js} +70 -28
  5. package/dist/{chunk-5y050gx7.js → chunk-769fbeff.js} +36 -36
  6. package/dist/{chunk-hxkk42cg.js → chunk-7a5njmab.js} +7 -7
  7. package/dist/{chunk-wtpwkjws.js → chunk-9p6v3jd2.js} +4 -4
  8. package/dist/{chunk-1z9p4q8b.js → chunk-byhwksbq.js} +2 -2
  9. package/dist/{chunk-e3tv8mv2.js → chunk-evgrce0h.js} +5 -5
  10. package/dist/{chunk-r76gsqds.js → chunk-eyw9a80g.js} +21 -21
  11. package/dist/{chunk-v01c0k6j.js → chunk-h6360r1c.js} +1 -1
  12. package/dist/{chunk-sdpjvc1r.js → chunk-k2bnq58a.js} +107 -115
  13. package/dist/{chunk-rrz0v4fg.js → chunk-ksx5nt4b.js} +5 -5
  14. package/dist/{chunk-hvev0dve.js → chunk-mewtccqf.js} +11 -11
  15. package/dist/{chunk-wkccjgwb.js → chunk-n7g89pj2.js} +4 -4
  16. package/dist/{chunk-q3c7vmby.js → chunk-p23kedha.js} +1 -1
  17. package/dist/{chunk-0fdgam8v.js → chunk-qdn9tnav.js} +26 -17
  18. package/dist/{chunk-z0z56a72.js → chunk-qdx3wa4y.js} +9 -9
  19. package/dist/{chunk-smgvtzd2.js → chunk-r0s0wvev.js} +7 -7
  20. package/dist/{chunk-1w81w56v.js → chunk-rzr11xyn.js} +2 -2
  21. package/dist/{chunk-88257wax.js → chunk-wf3ednaj.js} +19 -19
  22. package/dist/{chunk-rrnee9mk.js → chunk-wnwyp9qn.js} +1 -1
  23. package/dist/{chunk-09jf8588.js → chunk-x306t6v1.js} +11 -11
  24. package/dist/{chunk-eawcprsb.js → chunk-zej59tf2.js} +14 -60
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -7,11 +7,11 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-09jf8588.js";
11
- import"./chunk-eawcprsb.js";
12
- import"./chunk-v01c0k6j.js";
13
- import"./chunk-0fdgam8v.js";
14
- import"./chunk-d3ksv8y1.js";
10
+ } from "./chunk-x306t6v1.js";
11
+ import"./chunk-zej59tf2.js";
12
+ import"./chunk-h6360r1c.js";
13
+ import"./chunk-qdn9tnav.js";
14
+ import"./chunk-677etczq.js";
15
15
  export {
16
16
  decoded2 as decoded,
17
17
  decodedOption2 as decodedOption,
@@ -1,4 +1,8 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path
5
+ } from "./chunk-qdn9tnav.js";
2
6
  import {
3
7
  isObject2,
4
8
  isUint8Array,
@@ -12,30 +16,26 @@ import {
12
16
  orElseSucceed,
13
17
  decodeJsonString,
14
18
  encodePrettyJsonString
15
- } from "./chunk-d3ksv8y1.js";
16
- import"./chunk-rrnee9mk.js";
19
+ } from "./chunk-677etczq.js";
20
+ import"./chunk-wnwyp9qn.js";
17
21
  import {
18
22
  isJsonObject
19
- } from "./chunk-v01c0k6j.js";
20
- import {
21
- FileSystem,
22
- Path
23
- } from "./chunk-0fdgam8v.js";
23
+ } from "./chunk-h6360r1c.js";
24
24
  import {
25
25
  tomlTableHeader2,
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-z0z56a72.js";
29
+ } from "./chunk-qdx3wa4y.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-sdpjvc1r.js";
37
- import"./chunk-a4798jzf.js";
38
- import"./chunk-eawcprsb.js";
36
+ } from "./chunk-k2bnq58a.js";
37
+ import"./chunk-26hcgbe7.js";
38
+ import"./chunk-zej59tf2.js";
39
39
 
40
40
  // packages/agent-runtime/src/kit-setup-sync.ts
41
41
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-eawcprsb.js";
2
+ import"./chunk-zej59tf2.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-sdpjvc1r.js";
16
- import"./chunk-0fdgam8v.js";
17
- import"./chunk-d3ksv8y1.js";
15
+ } from "./chunk-k2bnq58a.js";
16
+ import"./chunk-qdn9tnav.js";
17
+ import"./chunk-677etczq.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-d3ksv8y1.js";
6
+ } from "./chunk-677etczq.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -199,7 +199,7 @@ import {
199
199
  String4,
200
200
  toCodecStringTree,
201
201
  encodeUnknownJsonStringSync
202
- } from "./chunk-d3ksv8y1.js";
202
+ } from "./chunk-677etczq.js";
203
203
 
204
204
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
205
205
  var headUnsafe = (self) => {
@@ -248,6 +248,15 @@ var makeEquivalence = (equivalence) => {
248
248
  return (self, that) => is(self, that) && is(that, self);
249
249
  };
250
250
 
251
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
252
+ var BigInt2 = globalThis.BigInt;
253
+ var toNumber = (b) => {
254
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
255
+ return none();
256
+ }
257
+ return some(Number(b));
258
+ };
259
+
251
260
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
252
261
  var bigint0 = /* @__PURE__ */ BigInt(0);
253
262
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -1127,7 +1136,7 @@ var MutableRefProto = {
1127
1136
  };
1128
1137
  }
1129
1138
  };
1130
- var make8 = (value) => {
1139
+ var make7 = (value) => {
1131
1140
  const ref = Object.create(MutableRefProto);
1132
1141
  ref.current = value;
1133
1142
  return ref;
@@ -1288,7 +1297,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1288
1297
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1289
1298
  var TypeId3 = "~effect/PubSub";
1290
1299
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1291
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1300
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1292
1301
  var unbounded = (options) => make5({
1293
1302
  atomicPubSub: () => makeAtomicUnbounded(options),
1294
1303
  strategy: () => new DroppingStrategy
@@ -1383,7 +1392,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1383
1392
  subscribers.delete(subscription);
1384
1393
  }
1385
1394
  };
1386
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1395
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1387
1396
  class UnboundedPubSub {
1388
1397
  publisherHead = {
1389
1398
  value: AbsentValue,
@@ -1800,7 +1809,7 @@ var QueueProto = {
1800
1809
  };
1801
1810
  }
1802
1811
  };
1803
- var make9 = (options) => withFiber((fiber) => {
1812
+ var make8 = (options) => withFiber((fiber) => {
1804
1813
  const self = Object.create(QueueProto);
1805
1814
  self.dispatcher = fiber.currentDispatcher;
1806
1815
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1815,14 +1824,14 @@ var make9 = (options) => withFiber((fiber) => {
1815
1824
  };
1816
1825
  return succeed2(self);
1817
1826
  });
1818
- var bounded = (capacity) => make9({
1827
+ var bounded = (capacity) => make8({
1819
1828
  capacity
1820
1829
  });
1821
- var sliding = (capacity) => make9({
1830
+ var sliding = (capacity) => make8({
1822
1831
  capacity,
1823
1832
  strategy: "sliding"
1824
1833
  });
1825
- var unbounded2 = () => make9();
1834
+ var unbounded2 = () => make8();
1826
1835
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1827
1836
  var offerUnsafe = (self, message) => {
1828
1837
  if (self.state._tag !== "Open") {
@@ -2248,7 +2257,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2248
2257
  return onError(pull, onCause);
2249
2258
  }));
2250
2259
  var toTransform = (channel) => channel.transform;
2251
- var asyncQueue = (scope, f, options) => make9({
2260
+ var asyncQueue = (scope, f, options) => make8({
2252
2261
  capacity: options?.bufferSize,
2253
2262
  strategy: options?.strategy
2254
2263
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2289,7 +2298,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2289
2298
  }));
2290
2299
  var readableStreamToPullUnsafe = (options) => {
2291
2300
  const reader = options.readable.getReader();
2292
- const exit = options.exit ?? make8(undefined);
2301
+ const exit = options.exit ?? make7(undefined);
2293
2302
  const pull = suspend3(() => {
2294
2303
  if (exit.current)
2295
2304
  return exit.current;
@@ -2903,7 +2912,7 @@ var release = (self, state) => {
2903
2912
  };
2904
2913
 
2905
2914
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2906
- var make10 = make6;
2915
+ var make9 = make6;
2907
2916
  var get3 = get2;
2908
2917
 
2909
2918
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
@@ -2915,7 +2924,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
2915
2924
  var toChannel2 = (stream) => stream.channel;
2916
2925
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2917
2926
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2918
- var make11 = (...values) => fromArray2(values);
2927
+ var make10 = (...values) => fromArray2(values);
2919
2928
  var suspend = (stream) => {
2920
2929
  const suspended = fromChannel2(suspend4(() => stream().channel));
2921
2930
  suspendedStreams.set(suspended, stream);
@@ -3080,7 +3089,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
3080
3089
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3081
3090
  var TypeId10 = "~effect/FileSystem";
3082
3091
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3083
- var make12 = (impl) => FileSystem.of({
3092
+ var make11 = (impl) => FileSystem.of({
3084
3093
  ...impl,
3085
3094
  [TypeId10]: TypeId10,
3086
3095
  glob: make2(impl),
@@ -3140,7 +3149,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3140
3149
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3141
3150
  var TypeId11 = "~effect/Path";
3142
3151
  var Path = /* @__PURE__ */ Service2("effect/Path");
3143
- var make13 = (impl) => Path.of({
3152
+ var make12 = (impl) => Path.of({
3144
3153
  ...impl,
3145
3154
  [TypeId11]: TypeId11,
3146
3155
  resolveWithin(root, input) {
@@ -3215,7 +3224,7 @@ function makeProvider(load, mapInput) {
3215
3224
  function makeSource(get, transform) {
3216
3225
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3217
3226
  }
3218
- function make7(get) {
3227
+ function make13(get) {
3219
3228
  return makeSource(get, identityPath);
3220
3229
  }
3221
3230
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3224,7 +3233,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3224
3233
  function fromEnvRecord(env, options) {
3225
3234
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3226
3235
  const trie = buildEnvTrie(env);
3227
- return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3236
+ return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3228
3237
  }
3229
3238
  function fromEnv(options) {
3230
3239
  const env = options?.env ?? {
@@ -3551,4 +3560,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3551
3560
  ...argv
3552
3561
  ];
3553
3562
 
3554
- 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, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3563
+ export { map, makeEquivalence, toNumber, 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, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -1,4 +1,9 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path,
5
+ optionalEnv
6
+ } from "./chunk-qdn9tnav.js";
2
7
  import {
3
8
  Reference,
4
9
  TaggedError,
@@ -23,24 +28,19 @@ import {
23
28
  fnUntraced,
24
29
  encodePrettyJsonString,
25
30
  decodeJsonStringSync
26
- } from "./chunk-d3ksv8y1.js";
31
+ } from "./chunk-677etczq.js";
27
32
  import {
28
33
  isJsonObject,
29
34
  isString
30
- } from "./chunk-v01c0k6j.js";
31
- import {
32
- FileSystem,
33
- Path,
34
- optionalEnv
35
- } from "./chunk-0fdgam8v.js";
35
+ } from "./chunk-h6360r1c.js";
36
36
  import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-sdpjvc1r.js";
40
+ } from "./chunk-k2bnq58a.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-a4798jzf.js";
43
+ } from "./chunk-26hcgbe7.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -4,13 +4,13 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-hxkk42cg.js";
8
- import"./chunk-e3tv8mv2.js";
9
- import"./chunk-sdpjvc1r.js";
10
- import"./chunk-rrnee9mk.js";
11
- import"./chunk-v01c0k6j.js";
12
- import"./chunk-0fdgam8v.js";
13
- import"./chunk-d3ksv8y1.js";
7
+ } from "./chunk-7a5njmab.js";
8
+ import"./chunk-evgrce0h.js";
9
+ import"./chunk-k2bnq58a.js";
10
+ import"./chunk-wnwyp9qn.js";
11
+ import"./chunk-h6360r1c.js";
12
+ import"./chunk-qdn9tnav.js";
13
+ import"./chunk-677etczq.js";
14
14
  export {
15
15
  makeProgramRpcClient2 as makeProgramRpcClient,
16
16
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -11,11 +11,11 @@ import {
11
11
  ArraySchema,
12
12
  decodeJsonStringOption,
13
13
  encodeUnknownJsonStringSync
14
- } from "./chunk-d3ksv8y1.js";
14
+ } from "./chunk-677etczq.js";
15
15
  import {
16
16
  replaceSecretReferences,
17
17
  secretReferencesIn
18
- } from "./chunk-rrnee9mk.js";
18
+ } from "./chunk-wnwyp9qn.js";
19
19
 
20
20
  // packages/agent-runtime/src/secret-proxy.ts
21
21
  import { appendFileSync, readFileSync, renameSync, writeFileSync } from "fs";
@@ -1,4 +1,12 @@
1
1
  // @bun
2
+ import {
3
+ decodeText,
4
+ mkString,
5
+ FileSystem,
6
+ Path,
7
+ withDefault,
8
+ String2
9
+ } from "./chunk-qdn9tnav.js";
2
10
  import {
3
11
  isString2,
4
12
  hasProperty,
@@ -32,9 +40,9 @@ import {
32
40
  toCodecJson,
33
41
  Json,
34
42
  encodePrettyJsonString
35
- } from "./chunk-d3ksv8y1.js";
36
- import"./chunk-rrnee9mk.js";
37
- import"./chunk-v01c0k6j.js";
43
+ } from "./chunk-677etczq.js";
44
+ import"./chunk-wnwyp9qn.js";
45
+ import"./chunk-h6360r1c.js";
38
46
  import {
39
47
  SecureRandom,
40
48
  layerWebCrypto,
@@ -46,31 +54,23 @@ import {
46
54
  layer4,
47
55
  kitmanMcpServer,
48
56
  RunnerRpcProtocolVersion
49
- } from "./chunk-sdpjvc1r.js";
50
- import {
51
- decodeText,
52
- mkString,
53
- FileSystem,
54
- Path,
55
- withDefault,
56
- String2
57
- } from "./chunk-0fdgam8v.js";
57
+ } from "./chunk-k2bnq58a.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-a4798jzf.js";
62
- import"./chunk-hxkk42cg.js";
61
+ } from "./chunk-26hcgbe7.js";
62
+ import"./chunk-7a5njmab.js";
63
63
  import {
64
64
  AgentDeclaration,
65
65
  KitDeclarations,
66
66
  describeFlag,
67
67
  Described
68
- } from "./chunk-phmma642.js";
68
+ } from "./chunk-1vav1vaf.js";
69
69
  import {
70
70
  ChildProcessSpawner,
71
- make3
72
- } from "./chunk-eawcprsb.js";
73
- import"./chunk-e3tv8mv2.js";
71
+ make2
72
+ } from "./chunk-zej59tf2.js";
73
+ import"./chunk-evgrce0h.js";
74
74
 
75
75
  // packages/sdk/src/build/index.ts
76
76
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -109,7 +109,7 @@ var ConfigAgents = Record(String4, Struct({
109
109
  }));
110
110
  var run = (command, args, cwd) => gen(function* () {
111
111
  const spawner = yield* ChildProcessSpawner;
112
- const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
112
+ const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
113
113
  const [stdout, stderr, exitCode] = yield* all3([
114
114
  mkString(decodeText(handle.stdout)),
115
115
  mkString(decodeText(handle.stderr)),
@@ -18,7 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-d3ksv8y1.js";
21
+ } from "./chunk-677etczq.js";
22
22
 
23
23
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
24
24
  var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
@@ -1,4 +1,9 @@
1
1
  // @bun
2
+ import {
3
+ make10,
4
+ runForEach,
5
+ compiled2
6
+ } from "./chunk-qdn9tnav.js";
2
7
  import {
3
8
  getOrUndefined,
4
9
  liftThrowable,
@@ -22,21 +27,16 @@ import {
22
27
  NullOr,
23
28
  Finite,
24
29
  encodeUnknownJsonStringSync
25
- } from "./chunk-d3ksv8y1.js";
30
+ } from "./chunk-677etczq.js";
26
31
  import {
27
32
  isNumber,
28
33
  isJsonObject,
29
34
  isString
30
- } from "./chunk-v01c0k6j.js";
31
- import {
32
- make11,
33
- runForEach,
34
- compiled2
35
- } from "./chunk-0fdgam8v.js";
35
+ } from "./chunk-h6360r1c.js";
36
36
  import {
37
37
  ChildProcessSpawner,
38
- make3
39
- } from "./chunk-eawcprsb.js";
38
+ make2
39
+ } from "./chunk-zej59tf2.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(make3(command, args, {
173
- stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
172
+ const handle = yield* spawner.spawn(make2(command, args, {
173
+ stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
174
174
  stderr: "ignore",
175
175
  extendEnv: false,
176
176
  env: {},
@@ -1,13 +1,6 @@
1
1
  // @bun
2
2
  import {
3
- isString2,
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-d3ksv8y1.js";
17
+ scoped,
18
+ isRedacted,
19
+ make16,
20
+ value
21
+ } from "./chunk-677etczq.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-0fdgam8v.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${isString2(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-qdn9tnav.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 };
package/dist/index.js CHANGED
@@ -5,15 +5,15 @@
5
5
  var args = process.argv.slice(2);
6
6
  if (args[0] === "srt") {
7
7
  process.argv.splice(2, 1);
8
- const { runSrtCli } = await import("./chunk-1z9p4q8b.js");
8
+ const { runSrtCli } = await import("./chunk-byhwksbq.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
- const { runSrtStep } = await import("./chunk-wtpwkjws.js");
11
+ const { runSrtStep } = await import("./chunk-9p6v3jd2.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-rrz0v4fg.js");
14
+ const { runOpencodeReader } = await import("./chunk-ksx5nt4b.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-r76gsqds.js");
17
+ const { runCli } = await import("./chunk-eyw9a80g.js");
18
18
  runCli(args);
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/cli",
3
- "version": "0.10.59",
3
+ "version": "0.10.61",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {