@kitman-sh/cli 0.16.1 → 0.18.0

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 (28) hide show
  1. package/dist/{chunk-scwj3w7m.js → chunk-1j38xtvp.js} +2 -2
  2. package/dist/{chunk-9qfyb5r2.js → chunk-2bagaygt.js} +6 -6
  3. package/dist/{chunk-yja59yh8.js → chunk-4p1k3yyc.js} +17 -17
  4. package/dist/{chunk-x83q18w0.js → chunk-4qjfn1sa.js} +1 -1
  5. package/dist/{chunk-gwzzacep.js → chunk-5kqt4bqp.js} +1 -1
  6. package/dist/{chunk-bkteq6b3.js → chunk-63cyj9dh.js} +186 -28
  7. package/dist/{chunk-ft3gnwd1.js → chunk-9jffw2mk.js} +3 -3
  8. package/dist/{chunk-hwqecp0m.js → chunk-bqhfbng3.js} +12 -12
  9. package/dist/{chunk-bcqqrwsk.js → chunk-d3gs4jvd.js} +85 -69
  10. package/dist/{chunk-g1f0cjqe.js → chunk-gap0vmj7.js} +2 -2
  11. package/dist/{chunk-rfnasm3c.js → chunk-h2f26xbd.js} +93 -61
  12. package/dist/{chunk-8f632x21.js → chunk-hj8ex4x6.js} +4 -4
  13. package/dist/{chunk-tx7et9g7.js → chunk-jaa8qjky.js} +9 -9
  14. package/dist/{chunk-eavx040m.js → chunk-js64y97w.js} +4 -4
  15. package/dist/{chunk-tc7td60t.js → chunk-mca2zp8p.js} +4 -4
  16. package/dist/{chunk-1r026thg.js → chunk-mg3mxhxe.js} +6 -6
  17. package/dist/{chunk-4yjcehqr.js → chunk-mqsxwm53.js} +17 -17
  18. package/dist/{chunk-xy3hcdhr.js → chunk-my92qn4x.js} +8 -8
  19. package/dist/{chunk-e42hjb3j.js → chunk-n05bj55h.js} +29 -29
  20. package/dist/{chunk-b0b9v7t9.js → chunk-nfnw3dh1.js} +8 -8
  21. package/dist/{chunk-djdhep8n.js → chunk-samxkpbz.js} +3 -3
  22. package/dist/{chunk-f2y0z04q.js → chunk-tsx0347c.js} +1 -1
  23. package/dist/{chunk-sd8b4k1t.js → chunk-vz38kngm.js} +2 -2
  24. package/dist/{chunk-3b198ntn.js → chunk-wg6xkkcr.js} +1 -1
  25. package/dist/{chunk-5s4sgrak.js → chunk-x8zzax0f.js} +10 -10
  26. package/dist/{chunk-dxfab1aj.js → chunk-zmqm4mrm.js} +110 -274
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -15,8 +15,8 @@ import {
15
15
  writeSrtSettings2,
16
16
  srtStepArgv2,
17
17
  srtArgv2
18
- } from "./chunk-bkteq6b3.js";
19
- import"./chunk-rfnasm3c.js";
18
+ } from "./chunk-63cyj9dh.js";
19
+ import"./chunk-h2f26xbd.js";
20
20
  export {
21
21
  compiled2 as compiled,
22
22
  harnessesUnsupportedInDocker2 as harnessesUnsupportedInDocker,
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-1r026thg.js";
8
- import"./chunk-4yjcehqr.js";
9
- import"./chunk-dxfab1aj.js";
10
- import"./chunk-x83q18w0.js";
11
- import"./chunk-bkteq6b3.js";
12
- import"./chunk-rfnasm3c.js";
7
+ } from "./chunk-mg3mxhxe.js";
8
+ import"./chunk-mqsxwm53.js";
9
+ import"./chunk-zmqm4mrm.js";
10
+ import"./chunk-4qjfn1sa.js";
11
+ import"./chunk-63cyj9dh.js";
12
+ import"./chunk-h2f26xbd.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -1,4 +1,12 @@
1
1
  // @bun
2
+ import {
3
+ decodeText,
4
+ mkString,
5
+ FileSystem,
6
+ Path,
7
+ withDefault,
8
+ String2
9
+ } from "./chunk-63cyj9dh.js";
2
10
  import {
3
11
  isString,
4
12
  isObject,
@@ -35,7 +43,7 @@ import {
35
43
  toCodecJson,
36
44
  Json,
37
45
  encodePrettyJsonString
38
- } from "./chunk-rfnasm3c.js";
46
+ } from "./chunk-h2f26xbd.js";
39
47
  import {
40
48
  SecureRandom,
41
49
  layerWebCrypto,
@@ -52,34 +60,26 @@ import {
52
60
  KitDeclarations,
53
61
  kitmanMcpServer,
54
62
  RunnerRpcProtocolVersion
55
- } from "./chunk-dxfab1aj.js";
56
- import {
57
- decodeText,
58
- mkString,
59
- FileSystem,
60
- Path,
61
- withDefault,
62
- String2
63
- } from "./chunk-bkteq6b3.js";
63
+ } from "./chunk-zmqm4mrm.js";
64
64
  import {
65
65
  Packument,
66
66
  tarballMatches
67
- } from "./chunk-ft3gnwd1.js";
67
+ } from "./chunk-9jffw2mk.js";
68
68
  import {
69
69
  stepDefinedTwice,
70
70
  hostSteps,
71
71
  exports_activities,
72
72
  describeFlag,
73
73
  Described
74
- } from "./chunk-hwqecp0m.js";
75
- import"./chunk-1r026thg.js";
76
- import"./chunk-f2y0z04q.js";
74
+ } from "./chunk-bqhfbng3.js";
75
+ import"./chunk-mg3mxhxe.js";
76
+ import"./chunk-tsx0347c.js";
77
77
  import {
78
78
  ChildProcessSpawner,
79
79
  make3
80
- } from "./chunk-g1f0cjqe.js";
81
- import"./chunk-4yjcehqr.js";
82
- import"./chunk-x83q18w0.js";
80
+ } from "./chunk-gap0vmj7.js";
81
+ import"./chunk-mqsxwm53.js";
82
+ import"./chunk-4qjfn1sa.js";
83
83
 
84
84
  // packages/sdk/src/build/outline/graph.ts
85
85
  import {
@@ -18,7 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-rfnasm3c.js";
21
+ } from "./chunk-h2f26xbd.js";
22
22
 
23
23
  // packages/core/src/schema.ts
24
24
  var Days = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-rfnasm3c.js";
6
+ } from "./chunk-h2f26xbd.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -34,8 +34,11 @@ import {
34
34
  getOrUndefined,
35
35
  map4,
36
36
  Service2,
37
- get3,
37
+ add,
38
+ get4,
38
39
  Reference,
40
+ fromInputUnsafe,
41
+ isFinite,
39
42
  normalize,
40
43
  succeed,
41
44
  fail3,
@@ -83,6 +86,7 @@ import {
83
86
  fail4,
84
87
  interrupt2,
85
88
  void_2,
89
+ isSuccess2,
86
90
  isFailure2,
87
91
  asVoidAll,
88
92
  makeUnsafe5,
@@ -154,12 +158,14 @@ import {
154
158
  tapError2,
155
159
  ignoreCause,
156
160
  orElseSucceed,
161
+ sleep,
157
162
  raceFirst,
158
163
  when,
159
164
  matchCauseEffect,
160
165
  context,
161
166
  contextWith,
162
167
  provideContext2,
168
+ scope2,
163
169
  scoped,
164
170
  scopedWith,
165
171
  acquireRelease,
@@ -170,6 +176,7 @@ import {
170
176
  interrupt3,
171
177
  onInterrupt,
172
178
  uninterruptible,
179
+ uninterruptibleMask2,
173
180
  forever,
174
181
  forkChild,
175
182
  forkIn,
@@ -192,11 +199,11 @@ import {
192
199
  toEncoded,
193
200
  decodeUnknownEffect,
194
201
  SchemaError,
195
- make16,
202
+ make17,
196
203
  String4,
197
204
  toCodecStringTree,
198
205
  encodeUnknownJsonStringSync
199
- } from "./chunk-rfnasm3c.js";
206
+ } from "./chunk-h2f26xbd.js";
200
207
 
201
208
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
202
209
  var headUnsafe = (self) => {
@@ -245,6 +252,15 @@ var makeEquivalence = (equivalence) => {
245
252
  return (self, that) => is(self, that) && is(that, self);
246
253
  };
247
254
 
255
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
256
+ var BigInt2 = globalThis.BigInt;
257
+ var toNumber = (b) => {
258
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
259
+ return none();
260
+ }
261
+ return some(Number(b));
262
+ };
263
+
248
264
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
249
265
  var bigint0 = /* @__PURE__ */ BigInt(0);
250
266
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -365,7 +381,7 @@ var fromStringUnsafe = (input) => {
365
381
  return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
366
382
  return make(value);
367
383
  };
368
- var fromInputUnsafe = (input) => {
384
+ var fromInputUnsafe2 = (input) => {
369
385
  switch (typeof input) {
370
386
  case "bigint":
371
387
  if (input < bigint0)
@@ -378,7 +394,7 @@ var fromInputUnsafe = (input) => {
378
394
  }
379
395
  return invalid(`unsupported input ${input}`);
380
396
  };
381
- var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe(value) : fromNumber(value);
397
+ var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
382
398
 
383
399
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
384
400
  var join = fiberJoin;
@@ -1304,7 +1320,7 @@ var publishUnsafe = /* @__PURE__ */ dual(2, (self, value) => {
1304
1320
  return false;
1305
1321
  });
1306
1322
  var subscribe = (self) => uninterruptible(contextWith((services) => {
1307
- const localScope = get3(services, Scope);
1323
+ const localScope = get4(services, Scope);
1308
1324
  const scope = forkUnsafe(self.scope);
1309
1325
  const subscription = makeSubscriptionUnsafe(self.pubsub, self.subscribers, self.strategy, self.ended);
1310
1326
  return addFinalizer(scope, unsubscribe(subscription)).pipe(andThen2(addFinalizerExit(localScope, (exit) => close(scope, exit))), as(subscription));
@@ -2801,16 +2817,158 @@ var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap3(f)
2801
2817
  }), catchDone(() => endVoid)));
2802
2818
  var unwrap3 = (effect) => fromChannel(unwrap2(map9(effect, toChannel)));
2803
2819
 
2820
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
2821
+ var TypeId8 = "~effect/RcRef";
2822
+ var stateEmpty = {
2823
+ _tag: "Empty"
2824
+ };
2825
+ var stateClosed = {
2826
+ _tag: "Closed"
2827
+ };
2828
+ var variance2 = {
2829
+ _A: identity,
2830
+ _E: identity
2831
+ };
2832
+
2833
+ class RcRefImpl {
2834
+ [TypeId8] = variance2;
2835
+ pipe() {
2836
+ return pipeArguments(this, arguments);
2837
+ }
2838
+ state = stateEmpty;
2839
+ acquire;
2840
+ context;
2841
+ scope;
2842
+ idleTimeToLive;
2843
+ constructor(acquire, context, scope, idleTimeToLive) {
2844
+ this.acquire = acquire;
2845
+ this.context = context;
2846
+ this.scope = scope;
2847
+ this.idleTimeToLive = idleTimeToLive;
2848
+ }
2849
+ }
2850
+ var make6 = (options) => withFiber2((fiber) => {
2851
+ const context = fiber.context;
2852
+ const scope = get4(context, Scope);
2853
+ const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
2854
+ return as(addFinalizerExit(scope, () => {
2855
+ const state = ref.state;
2856
+ ref.state = stateClosed;
2857
+ if (state._tag === "Acquired")
2858
+ return close(state.scope, void_2);
2859
+ if (state._tag === "Acquiring")
2860
+ return interrupt(state.fiber);
2861
+ return void_3;
2862
+ }), ref);
2863
+ });
2864
+ var getState = (self, restore) => {
2865
+ switch (self.state._tag) {
2866
+ case "Closed": {
2867
+ return interrupt3;
2868
+ }
2869
+ case "Acquired": {
2870
+ const state = self.state;
2871
+ state.refCount++;
2872
+ return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
2873
+ }
2874
+ case "Acquiring": {
2875
+ const state = self.state;
2876
+ state.awaiters++;
2877
+ return awaitAcquiring(self, state, restore);
2878
+ }
2879
+ case "Empty": {
2880
+ const acquiring = {
2881
+ _tag: "Acquiring",
2882
+ fiber: undefined,
2883
+ awaiters: 1,
2884
+ acquired: undefined
2885
+ };
2886
+ self.state = acquiring;
2887
+ const scope = makeUnsafe6();
2888
+ const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
2889
+ if (self.state !== acquiring) {
2890
+ return interrupt3;
2891
+ }
2892
+ const state = {
2893
+ _tag: "Acquired",
2894
+ value,
2895
+ scope,
2896
+ fiber: undefined,
2897
+ refCount: acquiring.awaiters,
2898
+ invalidated: false
2899
+ };
2900
+ self.state = state;
2901
+ acquiring.acquired = state;
2902
+ return succeed6(state);
2903
+ }), onExit((exit) => {
2904
+ if (isSuccess2(exit))
2905
+ return void_3;
2906
+ if (self.state === acquiring)
2907
+ self.state = stateEmpty;
2908
+ return close(scope, exit);
2909
+ }));
2910
+ acquiring.fiber = runForkWith(getCurrent().context)(acquire);
2911
+ return awaitAcquiring(self, acquiring, restore);
2912
+ }
2913
+ }
2914
+ };
2915
+ var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
2916
+ const acquired = acquiring.acquired;
2917
+ if (acquired !== undefined) {
2918
+ return isFailure2(exit) ? release(self, acquired) : void_3;
2919
+ }
2920
+ if (--acquiring.awaiters > 0 || self.state !== acquiring)
2921
+ return void_3;
2922
+ self.state = stateEmpty;
2923
+ return interrupt(acquiring.fiber);
2924
+ });
2925
+ var get2 = (self_) => {
2926
+ const self = self_;
2927
+ return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
2928
+ };
2929
+ var release = (self, state) => {
2930
+ state.refCount--;
2931
+ if (state.refCount > 0) {
2932
+ return void_3;
2933
+ }
2934
+ const idleTimeToLive = self.idleTimeToLive;
2935
+ if (idleTimeToLive === undefined || state.invalidated) {
2936
+ if (self.state === state) {
2937
+ self.state = stateEmpty;
2938
+ }
2939
+ return close(state.scope, void_2);
2940
+ } else if (!isFinite(idleTimeToLive)) {
2941
+ return void_3;
2942
+ }
2943
+ state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
2944
+ if (self.state === state && state.refCount === 0) {
2945
+ self.state = stateEmpty;
2946
+ return ignoreCause(close(state.scope, void_2), {
2947
+ log: "Unhandled",
2948
+ message: "Unhandled error in RcRef finalizer"
2949
+ });
2950
+ }
2951
+ return void_3;
2952
+ })).pipe(ensuring2(sync2(() => {
2953
+ state.fiber = undefined;
2954
+ })), runForkWith(self.context), runIn(self.scope));
2955
+ return void_3;
2956
+ };
2957
+
2958
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2959
+ var make10 = make6;
2960
+ var get3 = get2;
2961
+
2804
2962
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
2805
- var TypeId8 = "~effect/Stream";
2806
- var isStream = (u) => hasProperty(u, TypeId8);
2963
+ var TypeId9 = "~effect/Stream";
2964
+ var isStream = (u) => hasProperty(u, TypeId9);
2807
2965
  var fromChannel2 = fromChannel3;
2808
2966
  var fromPull2 = (pull) => fromChannel2(fromPull(pull));
2809
2967
  var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap3(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
2810
2968
  var toChannel2 = (stream) => stream.channel;
2811
2969
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2812
2970
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2813
- var make10 = (...values) => fromArray2(values);
2971
+ var make11 = (...values) => fromArray2(values);
2814
2972
  var suspend = (stream) => {
2815
2973
  const suspended = fromChannel2(suspend4(() => stream().channel));
2816
2974
  suspendedStreams.set(suspended, stream);
@@ -3008,11 +3166,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
3008
3166
  var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map9(context(), (context) => toReadableStreamWith(self, context, options)));
3009
3167
 
3010
3168
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3011
- var TypeId9 = "~effect/FileSystem";
3169
+ var TypeId10 = "~effect/FileSystem";
3012
3170
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3013
- var make11 = (impl) => FileSystem.of({
3171
+ var make12 = (impl) => FileSystem.of({
3014
3172
  ...impl,
3015
- [TypeId9]: TypeId9,
3173
+ [TypeId10]: TypeId10,
3016
3174
  glob: make2(impl),
3017
3175
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
3018
3176
  readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
@@ -3028,11 +3186,11 @@ var make11 = (impl) => FileSystem.of({
3028
3186
  const file = yield* impl.open(path, {
3029
3187
  flag: "r"
3030
3188
  });
3031
- const offset = options?.offset === undefined ? undefined : fromInputUnsafe(options.offset);
3189
+ const offset = options?.offset === undefined ? undefined : fromInputUnsafe2(options.offset);
3032
3190
  if (offset) {
3033
3191
  yield* file.seek(offset, "start");
3034
3192
  }
3035
- const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe(options.bytesToRead);
3193
+ const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe2(options.bytesToRead);
3036
3194
  let totalBytesRead = BigInt(0);
3037
3195
  const chunkSize = Number(BigInt(options?.chunkSize ?? 64 * 1024));
3038
3196
  const readChunk = file.readAlloc(chunkSize);
@@ -3068,11 +3226,11 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3068
3226
  }
3069
3227
 
3070
3228
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3071
- var TypeId10 = "~effect/Path";
3229
+ var TypeId11 = "~effect/Path";
3072
3230
  var Path = /* @__PURE__ */ Service2("effect/Path");
3073
- var make12 = (impl) => Path.of({
3231
+ var make13 = (impl) => Path.of({
3074
3232
  ...impl,
3075
- [TypeId10]: TypeId10,
3233
+ [TypeId11]: TypeId11,
3076
3234
  resolveWithin(root, input) {
3077
3235
  if (impl.parse(input).root !== "")
3078
3236
  return none();
@@ -3145,7 +3303,7 @@ function makeProvider(load, mapInput) {
3145
3303
  function makeSource(get, transform) {
3146
3304
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3147
3305
  }
3148
- function make6(get) {
3306
+ function make7(get) {
3149
3307
  return makeSource(get, identityPath);
3150
3308
  }
3151
3309
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3154,7 +3312,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3154
3312
  function fromEnvRecord(env, options) {
3155
3313
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3156
3314
  const trie = buildEnvTrie(env);
3157
- return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3315
+ return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3158
3316
  }
3159
3317
  function fromEnv(options) {
3160
3318
  const env = options?.env ?? {
@@ -3207,7 +3365,7 @@ function trieNodeAt(root, path) {
3207
3365
  }
3208
3366
 
3209
3367
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Config.js
3210
- var TypeId11 = "~effect/Config";
3368
+ var TypeId12 = "~effect/Config";
3211
3369
  class ConfigError {
3212
3370
  _tag = "ConfigError";
3213
3371
  name = "ConfigError";
@@ -3229,14 +3387,14 @@ var Proto2 = {
3229
3387
  return this.parse(fiber.getRef(ConfigProvider));
3230
3388
  }
3231
3389
  }),
3232
- [TypeId11]: TypeId11,
3390
+ [TypeId12]: TypeId12,
3233
3391
  toJSON() {
3234
3392
  return {
3235
3393
  _id: "Config"
3236
3394
  };
3237
3395
  }
3238
3396
  };
3239
- function make7(evaluator) {
3397
+ function make14(evaluator) {
3240
3398
  const self = Object.create(Proto2);
3241
3399
  self.evaluator = evaluator;
3242
3400
  self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
@@ -3244,14 +3402,14 @@ function make7(evaluator) {
3244
3402
  }
3245
3403
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
3246
3404
  var map3 = /* @__PURE__ */ dual(2, (self, f) => {
3247
- return make7((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
3405
+ return make14((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
3248
3406
  });
3249
3407
  function all(arg) {
3250
3408
  const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
3251
- return make7((provider, pathPrefix) => globalThis.Array.isArray(configs) ? mapEager(all3(configs.map((config) => evaluateAt(config, provider, pathPrefix))), all2) : mapEager(all3(map(configs, (config) => evaluateAt(config, provider, pathPrefix))), all2));
3409
+ return make14((provider, pathPrefix) => globalThis.Array.isArray(configs) ? mapEager(all3(configs.map((config) => evaluateAt(config, provider, pathPrefix))), all2) : mapEager(all3(map(configs, (config) => evaluateAt(config, provider, pathPrefix))), all2));
3252
3410
  }
3253
3411
  var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
3254
- return make7((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3412
+ return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3255
3413
  });
3256
3414
  var option = (self) => self.pipe(map3(some), withDefault(none()));
3257
3415
  var isSourceError = (u) => isTagged(u, "SourceError");
@@ -3368,9 +3526,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
3368
3526
  function schema(codec, path) {
3369
3527
  const codecStringTree = toCodecStringTree(codec);
3370
3528
  const encodedAst = toEncoded(codecStringTree.ast);
3371
- const decodeCursor = decodeUnknownEffect(make16(toConfigCursorAST(codecStringTree.ast)));
3529
+ const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
3372
3530
  const localPath = typeof path === "string" ? [path] : path ?? [];
3373
- return make7((provider, pathPrefix) => {
3531
+ return make14((provider, pathPrefix) => {
3374
3532
  const fullPath = [...pathPrefix, ...localPath];
3375
3533
  return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
3376
3534
  const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
@@ -3486,4 +3644,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3486
3644
  ...argv
3487
3645
  ];
3488
3646
 
3489
- 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, take2, mapAccum, 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, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3647
+ export { map, makeEquivalence, toNumber, 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, take2, mapAccum, 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, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-rfnasm3c.js";
27
+ } from "./chunk-h2f26xbd.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-bkteq6b3.js";
31
+ } from "./chunk-63cyj9dh.js";
32
32
  import {
33
33
  newerKitmanVersion,
34
34
  digestSha256,
@@ -39,7 +39,7 @@ import {
39
39
  get2,
40
40
  layer4,
41
41
  KitDigest
42
- } from "./chunk-dxfab1aj.js";
42
+ } from "./chunk-zmqm4mrm.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -12,7 +12,7 @@ import {
12
12
  empty3,
13
13
  add,
14
14
  getOrUndefined2,
15
- get3,
15
+ get4,
16
16
  merge3,
17
17
  Reference,
18
18
  fromInputUnsafe,
@@ -138,7 +138,12 @@ import {
138
138
  toJsonSchemaDocument,
139
139
  toCodecJson,
140
140
  Json
141
- } from "./chunk-rfnasm3c.js";
141
+ } from "./chunk-h2f26xbd.js";
142
+ import {
143
+ getCurrent,
144
+ runForEach,
145
+ FileSystem
146
+ } from "./chunk-63cyj9dh.js";
142
147
  import {
143
148
  currentTimeMillis,
144
149
  WebCrypto,
@@ -176,23 +181,18 @@ import {
176
181
  StepManifest,
177
182
  KitSetup,
178
183
  RunnerRpcError
179
- } from "./chunk-dxfab1aj.js";
180
- import {
181
- getCurrent,
182
- runForEach,
183
- FileSystem
184
- } from "./chunk-bkteq6b3.js";
184
+ } from "./chunk-zmqm4mrm.js";
185
185
  import {
186
186
  splitQuestionOptions,
187
187
  recommendationProblem,
188
188
  questionAdvice
189
- } from "./chunk-f2y0z04q.js";
189
+ } from "./chunk-tsx0347c.js";
190
190
  import {
191
191
  guard,
192
192
  Id,
193
193
  Timestamp,
194
194
  ActorType
195
- } from "./chunk-x83q18w0.js";
195
+ } from "./chunk-4qjfn1sa.js";
196
196
  var __defProp = Object.defineProperty;
197
197
  var __returnValue = (v) => v;
198
198
  function __exportSetter(name, newValue) {
@@ -769,7 +769,7 @@ class Suspended extends (/* @__PURE__ */ Class2("effect/workflow/Workflow/Suspen
769
769
  [ResultTypeId] = ResultTypeId;
770
770
  }
771
771
  var wrapActivityResult = (effect, isSuspend) => contextWith((context) => {
772
- const instance = get3(context, InstanceTag);
772
+ const instance = get4(context, InstanceTag);
773
773
  return acquireUseRelease(sync2(() => adoptActivityUnsafe(context, instance) ?? registerActivityUnsafe(instance)), () => effect, (registration, exit) => {
774
774
  releaseActivityUnsafe(registration);
775
775
  const isSuspended = isSuccess2(exit) && isSuspend(exit.value);
@@ -1420,7 +1420,7 @@ var scopingActivities = (engine) => ({
1420
1420
  }),
1421
1421
  activityExecute: (activity, attempt) => gen(function* () {
1422
1422
  const scope = yield* StepScope;
1423
- if (scope === "" || get3(activity.annotations, ActivityNamed))
1423
+ if (scope === "" || get4(activity.annotations, ActivityNamed))
1424
1424
  return yield* engine.activityExecute(activity, attempt);
1425
1425
  return yield* engine.activityExecute(renamed(activity, scopedName(scope, activity.name)), attempt);
1426
1426
  })