@kitman-sh/cli 0.14.0 → 0.14.2

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-bmkc5r0p.js → chunk-0r9tp5pz.js} +4 -4
  2. package/dist/{chunk-zpp4jg4a.js → chunk-1jabs81x.js} +101 -59
  3. package/dist/{chunk-9j4cnz4j.js → chunk-24j1cmsm.js} +38 -32
  4. package/dist/{chunk-5129s1vg.js → chunk-39pdxhcv.js} +3 -3
  5. package/dist/{chunk-vth8h56e.js → chunk-3csj1ve1.js} +4 -4
  6. package/dist/{chunk-c4mf5mgt.js → chunk-4xez238w.js} +2 -2
  7. package/dist/{chunk-w8vxzc7w.js → chunk-80vwvv5x.js} +45 -45
  8. package/dist/{chunk-h7zb6d3z.js → chunk-avhqm9p0.js} +183 -40
  9. package/dist/{chunk-y0y2gg8d.js → chunk-e024f8af.js} +2 -2
  10. package/dist/{chunk-w34sq09e.js → chunk-ffq8vvvx.js} +5 -5
  11. package/dist/{chunk-5d2sdzbz.js → chunk-ge9qjp6s.js} +7 -7
  12. package/dist/{chunk-84fcym2g.js → chunk-gwz39037.js} +1 -1
  13. package/dist/{chunk-9avbsbvk.js → chunk-h6kd80nr.js} +6 -1
  14. package/dist/{chunk-t2zzamex.js → chunk-hza25m2e.js} +34 -34
  15. package/dist/{chunk-hq2xzj6f.js → chunk-jzfy127y.js} +4 -4
  16. package/dist/{chunk-wb3wsm86.js → chunk-m9x7feh0.js} +7 -7
  17. package/dist/{chunk-gbr4s7nk.js → chunk-q4ch3t9q.js} +6 -6
  18. package/dist/{chunk-r9tzwrnb.js → chunk-qqmxhk9w.js} +14 -60
  19. package/dist/{chunk-f2ycw5bp.js → chunk-ryxff0xk.js} +189 -340
  20. package/dist/{chunk-bbf0jzsc.js → chunk-scdr623z.js} +1 -1
  21. package/dist/{chunk-gmdd1a74.js → chunk-t9chwen8.js} +3 -3
  22. package/dist/{chunk-bscvbpa1.js → chunk-v86jpzpr.js} +9 -9
  23. package/dist/{chunk-ctpgfdzf.js → chunk-vfw3xn1e.js} +3 -3
  24. package/dist/{chunk-099ybrqz.js → chunk-yfag1eey.js} +20 -20
  25. package/dist/{chunk-4c6w8sb7.js → chunk-z7c2ndfg.js} +11 -11
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -25,21 +25,21 @@ import {
25
25
  isString2,
26
26
  encodePrettyJsonString,
27
27
  decodeJsonStringSync
28
- } from "./chunk-zpp4jg4a.js";
28
+ } from "./chunk-1jabs81x.js";
29
29
  import {
30
30
  FileSystem,
31
31
  Path,
32
32
  optionalEnv,
33
33
  tempDirectoryScoped
34
- } from "./chunk-h7zb6d3z.js";
34
+ } from "./chunk-avhqm9p0.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-f2ycw5bp.js";
39
+ } from "./chunk-ryxff0xk.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-5129s1vg.js";
42
+ } from "./chunk-39pdxhcv.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -1567,7 +1567,7 @@ var ServiceProto = {
1567
1567
  .../* @__PURE__ */ Prototype({
1568
1568
  label: "Service",
1569
1569
  evaluate(fiber) {
1570
- return exitSucceed(get3(fiber.context, this));
1570
+ return exitSucceed(get4(fiber.context, this));
1571
1571
  }
1572
1572
  }),
1573
1573
  toJSON() {
@@ -1583,10 +1583,10 @@ var ServiceProto = {
1583
1583
  return make14(this, self);
1584
1584
  },
1585
1585
  use(f) {
1586
- return withFiber((fiber) => f(get3(fiber.context, this)));
1586
+ return withFiber((fiber) => f(get4(fiber.context, this)));
1587
1587
  },
1588
1588
  useSync(f) {
1589
- return withFiber((fiber) => exitSucceed(f(get3(fiber.context, this))));
1589
+ return withFiber((fiber) => exitSucceed(f(get4(fiber.context, this))));
1590
1590
  }
1591
1591
  };
1592
1592
  var cacheKeys = /* @__PURE__ */ new Set;
@@ -1716,7 +1716,7 @@ var getUnsafe = /* @__PURE__ */ dual(2, (self, service) => {
1716
1716
  }
1717
1717
  return value;
1718
1718
  });
1719
- var get3 = getUnsafe;
1719
+ var get4 = getUnsafe;
1720
1720
  var defaultValueCacheKey = "~effect/Context/defaultValue";
1721
1721
  var getDefaultValue = (ref) => {
1722
1722
  if (defaultValueCacheKey in ref) {
@@ -3002,7 +3002,7 @@ class FiberImpl {
3002
3002
  return this._dispatcher ??= this.cache.scheduler.makeDispatcher();
3003
3003
  }
3004
3004
  getRef(ref) {
3005
- return get3(this.context, ref);
3005
+ return get4(this.context, ref);
3006
3006
  }
3007
3007
  addObserver(cb) {
3008
3008
  if (this._exit) {
@@ -3203,17 +3203,17 @@ class FiberImpl {
3203
3203
  var makeFiberContextCache = (context) => {
3204
3204
  const currentTracer = getOrUndefinedUnsafe(context, TracerKey);
3205
3205
  return {
3206
- scheduler: get3(context, Scheduler),
3206
+ scheduler: get4(context, Scheduler),
3207
3207
  tracer: currentTracer,
3208
3208
  tracerContext: currentTracer ? currentTracer["context"] : undefined,
3209
- tracerEnabled: get3(context, TracerEnabled),
3209
+ tracerEnabled: get4(context, TracerEnabled),
3210
3210
  span: getOrUndefinedUnsafe(context, ParentSpanKey),
3211
- logLevel: get3(context, CurrentLogLevel),
3212
- minimumLogLevel: get3(context, MinimumLogLevel),
3213
- stackFrame: get3(context, CurrentStackFrame),
3211
+ logLevel: get4(context, CurrentLogLevel),
3212
+ minimumLogLevel: get4(context, MinimumLogLevel),
3213
+ stackFrame: get4(context, CurrentStackFrame),
3214
3214
  runtimeMetrics: getOrUndefinedUnsafe(context, FiberRuntimeMetricsKey),
3215
- maxOpsBeforeYield: get3(context, MaxOpsBeforeYield),
3216
- preventYield: get3(context, PreventSchedulerYield)
3215
+ maxOpsBeforeYield: get4(context, MaxOpsBeforeYield),
3216
+ preventYield: get4(context, PreventSchedulerYield)
3217
3217
  };
3218
3218
  };
3219
3219
  var deferredInterruptCont = {
@@ -4710,10 +4710,10 @@ var noopSpan = (options) => Object.assign(Object.create(NoopSpanProto), options)
4710
4710
  var filterDisablePropagation = (span) => {
4711
4711
  if (!span)
4712
4712
  return none();
4713
- return get3(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
4713
+ return get4(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
4714
4714
  };
4715
4715
  var makeSpanUnsafe = (fiber, name, options) => {
4716
- const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get3(options.annotations, DisablePropagation);
4716
+ const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get4(options.annotations, DisablePropagation);
4717
4717
  const parent = options?.parent !== undefined ? some(options.parent) : options?.root ? none() : filterDisablePropagation(fiber.cache.span);
4718
4718
  let span;
4719
4719
  if (disablePropagation) {
@@ -5866,6 +5866,48 @@ var getCode = (charCode) => {
5866
5866
  return codes[charCode];
5867
5867
  };
5868
5868
 
5869
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
5870
+ var redactedRegistry = /* @__PURE__ */ new WeakMap;
5871
+ var value2 = (self) => {
5872
+ if (redactedRegistry.has(self)) {
5873
+ return redactedRegistry.get(self);
5874
+ } else {
5875
+ throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
5876
+ }
5877
+ };
5878
+
5879
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
5880
+ var TypeId8 = "~effect/Redacted";
5881
+ var isRedacted = (u) => hasProperty(u, TypeId8);
5882
+ var make16 = (value, options) => {
5883
+ const self = Object.create(Proto2);
5884
+ if (options?.label) {
5885
+ self.label = options.label;
5886
+ }
5887
+ redactedRegistry.set(self, value);
5888
+ return self;
5889
+ };
5890
+ var Proto2 = {
5891
+ [TypeId8]: {
5892
+ _A: (_) => _
5893
+ },
5894
+ label: undefined,
5895
+ ...PipeInspectableProto,
5896
+ toJSON() {
5897
+ return this.toString();
5898
+ },
5899
+ toString() {
5900
+ return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
5901
+ },
5902
+ [symbol]() {
5903
+ return hash(redactedRegistry.get(this));
5904
+ },
5905
+ [symbol2](that) {
5906
+ return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
5907
+ }
5908
+ };
5909
+ var value = value2;
5910
+
5869
5911
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
5870
5912
  function resolve(ast) {
5871
5913
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -5889,16 +5931,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
5889
5931
  var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
5890
5932
 
5891
5933
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
5892
- var TypeId8 = "~effect/SchemaIssue/Issue";
5934
+ var TypeId9 = "~effect/SchemaIssue/Issue";
5893
5935
  function isIssue(u) {
5894
- return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
5936
+ return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
5895
5937
  }
5896
5938
  function hasInput(issue) {
5897
5939
  return Object.hasOwn(issue, "input");
5898
5940
  }
5899
5941
 
5900
5942
  class IssueNodeImpl {
5901
- [TypeId8] = TypeId8;
5943
+ [TypeId9] = TypeId9;
5902
5944
  constructor(input, options) {
5903
5945
  if (options?.reportInput === true && input !== missing) {
5904
5946
  this.input = input;
@@ -6272,9 +6314,9 @@ function setContent(operation, content) {
6272
6314
  }
6273
6315
 
6274
6316
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
6275
- var TypeId9 = "~effect/SchemaTransformation/Transformation";
6317
+ var TypeId10 = "~effect/SchemaTransformation/Transformation";
6276
6318
  var Transformation = class extends Class3 {
6277
- [TypeId9] = TypeId9;
6319
+ [TypeId10] = TypeId10;
6278
6320
  _tag = "Transformation";
6279
6321
  decode;
6280
6322
  encode;
@@ -6288,7 +6330,7 @@ var Transformation = class extends Class3 {
6288
6330
  }
6289
6331
  };
6290
6332
  function isTransformation(u) {
6291
- return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6333
+ return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
6292
6334
  }
6293
6335
  var makeTransformation = (options) => {
6294
6336
  if (isTransformation(options)) {
@@ -6408,10 +6450,10 @@ var Context = class {
6408
6450
  this.annotations = annotations;
6409
6451
  }
6410
6452
  };
6411
- var TypeId10 = "~effect/Schema";
6453
+ var TypeId11 = "~effect/Schema";
6412
6454
 
6413
6455
  class ASTNodeImpl {
6414
- [TypeId10] = TypeId10;
6456
+ [TypeId11] = TypeId11;
6415
6457
  annotations;
6416
6458
  checks;
6417
6459
  encoding;
@@ -8626,10 +8668,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
8626
8668
  var constructorCompiler = (ast) => resolve2(ast).makeEffect;
8627
8669
 
8628
8670
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
8629
- var TypeId11 = "~effect/Schema/Schema";
8671
+ var TypeId12 = "~effect/Schema/Schema";
8630
8672
  var RebuildOptions = /* @__PURE__ */ Symbol();
8631
8673
  var SchemaProto = {
8632
- [TypeId11]: TypeId11,
8674
+ [TypeId12]: TypeId12,
8633
8675
  get make() {
8634
8676
  const value = make4(this);
8635
8677
  Object.defineProperty(this, "make", {
@@ -9074,10 +9116,10 @@ function isSchemaError(u) {
9074
9116
  }
9075
9117
 
9076
9118
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
9077
- var TypeId12 = TypeId11;
9119
+ var TypeId13 = TypeId12;
9078
9120
  function declareConstructor() {
9079
9121
  return (typeParameters, run, annotations) => {
9080
- return make16(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make16(ast))), annotations));
9122
+ return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
9081
9123
  };
9082
9124
  }
9083
9125
  function declare(is, annotations) {
@@ -9185,27 +9227,27 @@ function encodeUnknownSync(schema, options) {
9185
9227
  };
9186
9228
  }
9187
9229
  var encodeSync = encodeUnknownSync;
9188
- var make16 = make5;
9230
+ var make17 = make5;
9189
9231
  function isSchema(u) {
9190
- return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
9232
+ return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
9191
9233
  }
9192
- var optionalKey = /* @__PURE__ */ lambda((schema) => make16(optionalKey2(schema.ast), {
9234
+ var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
9193
9235
  schema
9194
9236
  }));
9195
9237
  var optional = /* @__PURE__ */ lambda((self) => {
9196
9238
  const schema = UndefinedOr(self);
9197
- return make16(optional2(self.ast), {
9239
+ return make17(optional2(self.ast), {
9198
9240
  schema
9199
9241
  });
9200
9242
  });
9201
- var toType = /* @__PURE__ */ lambda((schema) => make16(toType2(schema.ast), {
9243
+ var toType = /* @__PURE__ */ lambda((schema) => make17(toType2(schema.ast), {
9202
9244
  schema
9203
9245
  }));
9204
- var toEncoded2 = /* @__PURE__ */ lambda((schema) => make16(toEncoded(schema.ast), {
9246
+ var toEncoded2 = /* @__PURE__ */ lambda((schema) => make17(toEncoded(schema.ast), {
9205
9247
  schema
9206
9248
  }));
9207
9249
  function Literal(literal) {
9208
- const out = make16(new Literal2(literal), {
9250
+ const out = make17(new Literal2(literal), {
9209
9251
  literal,
9210
9252
  transform(to) {
9211
9253
  return out.pipe(decodeTo2(Literal(to), {
@@ -9216,16 +9258,16 @@ function Literal(literal) {
9216
9258
  });
9217
9259
  return out;
9218
9260
  }
9219
- var Never = /* @__PURE__ */ make16(never3);
9220
- var Unknown = /* @__PURE__ */ make16(unknown);
9221
- var Null = /* @__PURE__ */ make16(null_);
9222
- var Undefined2 = /* @__PURE__ */ make16(undefined_3);
9223
- var String4 = /* @__PURE__ */ make16(string2);
9224
- var Number5 = /* @__PURE__ */ make16(number2);
9225
- var Boolean2 = /* @__PURE__ */ make16(boolean);
9226
- var Void = /* @__PURE__ */ make16(void_4);
9261
+ var Never = /* @__PURE__ */ make17(never3);
9262
+ var Unknown = /* @__PURE__ */ make17(unknown);
9263
+ var Null = /* @__PURE__ */ make17(null_);
9264
+ var Undefined2 = /* @__PURE__ */ make17(undefined_3);
9265
+ var String4 = /* @__PURE__ */ make17(string2);
9266
+ var Number5 = /* @__PURE__ */ make17(number2);
9267
+ var Boolean2 = /* @__PURE__ */ make17(boolean);
9268
+ var Void = /* @__PURE__ */ make17(void_4);
9227
9269
  function makeStruct(ast, fields) {
9228
- return make16(ast, {
9270
+ return make17(ast, {
9229
9271
  fields,
9230
9272
  mapFields(f, options) {
9231
9273
  const fields = f(this.fields);
@@ -9237,25 +9279,25 @@ function Struct(fields) {
9237
9279
  return makeStruct(struct(fields, undefined), fields);
9238
9280
  }
9239
9281
  function Record(key, value) {
9240
- return make16(record(key.ast, value.ast), {
9282
+ return make17(record(key.ast, value.ast), {
9241
9283
  key,
9242
9284
  value
9243
9285
  });
9244
9286
  }
9245
9287
  function StructWithRest(schema, records) {
9246
- return make16(structWithRest(schema.ast, records.map(getAST)), {
9288
+ return make17(structWithRest(schema.ast, records.map(getAST)), {
9247
9289
  schema,
9248
9290
  records
9249
9291
  });
9250
9292
  }
9251
- var ArraySchema = /* @__PURE__ */ lambda((schema) => make16(new Arrays(false, [], [schema.ast]), {
9293
+ var ArraySchema = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [], [schema.ast]), {
9252
9294
  value: schema
9253
9295
  }));
9254
- var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make16(new Arrays(false, [schema.ast], [schema.ast]), {
9296
+ var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [schema.ast], [schema.ast]), {
9255
9297
  value: schema
9256
9298
  }));
9257
9299
  function makeUnion(ast, members) {
9258
- return make16(ast, {
9300
+ return make17(ast, {
9259
9301
  members,
9260
9302
  mapMembers(f, options) {
9261
9303
  const members = f(this.members);
@@ -9268,7 +9310,7 @@ function Union(members, options) {
9268
9310
  }
9269
9311
  function Literals(literals) {
9270
9312
  const members = literals.map(Literal);
9271
- return make16(union(members, undefined, undefined), {
9313
+ return make17(union(members, undefined, undefined), {
9272
9314
  literals,
9273
9315
  members,
9274
9316
  mapMembers(f) {
@@ -9285,18 +9327,18 @@ function Literals(literals) {
9285
9327
  var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null]));
9286
9328
  var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
9287
9329
  function suspend4(f) {
9288
- return make16(new Suspend(() => f().ast));
9330
+ return make17(new Suspend(() => f().ast));
9289
9331
  }
9290
9332
  function decodeTo2(to, transformation) {
9291
9333
  return (from) => {
9292
- return make16(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
9334
+ return make17(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
9293
9335
  from,
9294
9336
  to
9295
9337
  });
9296
9338
  };
9297
9339
  }
9298
9340
  function withConstructorDefault2(defaultValue) {
9299
- return (schema) => make16(withConstructorDefault(schema.ast, defaultValue), {
9341
+ return (schema) => make17(withConstructorDefault(schema.ast, defaultValue), {
9300
9342
  schema
9301
9343
  });
9302
9344
  }
@@ -9372,7 +9414,7 @@ function isBase64(annotations) {
9372
9414
  ...annotations
9373
9415
  });
9374
9416
  }
9375
- var Finite = /* @__PURE__ */ make16(finite);
9417
+ var Finite = /* @__PURE__ */ make17(finite);
9376
9418
  function makeIsGreaterThan(options) {
9377
9419
  const gt = isGreaterThan2(options.order);
9378
9420
  const formatter = options.formatter ?? format;
@@ -9952,7 +9994,7 @@ function CauseReason(error, defect) {
9952
9994
  }
9953
9995
  }))
9954
9996
  });
9955
- return make16(schema.ast, {
9997
+ return make17(schema.ast, {
9956
9998
  error,
9957
9999
  defect
9958
10000
  });
@@ -9989,7 +10031,7 @@ function Cause(error, defect) {
9989
10031
  }) => failures
9990
10032
  }))
9991
10033
  });
9992
- return make16(schema.ast, {
10034
+ return make17(schema.ast, {
9993
10035
  error,
9994
10036
  defect
9995
10037
  });
@@ -10050,7 +10092,7 @@ function Exit(value, error, defect) {
10050
10092
  }
10051
10093
  }))
10052
10094
  });
10053
- return make16(schema.ast, {
10095
+ return make17(schema.ast, {
10054
10096
  value,
10055
10097
  error,
10056
10098
  defect
@@ -10075,7 +10117,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
10075
10117
  }
10076
10118
  });
10077
10119
  }
10078
- static [TypeId12] = TypeId12;
10120
+ static [TypeId13] = TypeId13;
10079
10121
  get [ClassTypeId]() {
10080
10122
  return ClassTypeId;
10081
10123
  }
@@ -10154,7 +10196,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
10154
10196
  const ClassTypeId = getClassTypeId(identifier);
10155
10197
  const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
10156
10198
  const transformation = getClassTransformation(self);
10157
- const to = make16(new Declaration([from.ast], () => (input, ast, options) => {
10199
+ const to = make17(new Declaration([from.ast], () => (input, ast, options) => {
10158
10200
  return isClassValue(input) ? succeed6(input) : fail7(new InvalidType(ast, input, options));
10159
10201
  }, {
10160
10202
  identifier,
@@ -10207,7 +10249,7 @@ function toEquivalence(schema) {
10207
10249
  }
10208
10250
  var toCodecJson = toCodecJson2;
10209
10251
  var toCodecStringTree = toCodecStringTree2;
10210
- var Json = /* @__PURE__ */ make16(/* @__PURE__ */ annotate(Json2, {
10252
+ var Json = /* @__PURE__ */ make17(/* @__PURE__ */ annotate(Json2, {
10211
10253
  toCode: () => ({
10212
10254
  runtime: "Schema.Json",
10213
10255
  Type: "Schema.Json"
@@ -10354,4 +10396,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
10354
10396
  var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
10355
10397
  var storable = (value) => isString2(value) ? storableText(value) : Array.isArray(value) ? value.map(storable) : isJsonObject(value) ? Object.fromEntries(Object.entries(value).map(([key, field]) => [storableText(key), storable(field)])) : value;
10356
10398
 
10357
- export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get3, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make16, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
10399
+ export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
@@ -168,8 +168,14 @@ import {
168
168
  decodeJsonStringSync,
169
169
  encodeUnknownJsonStringSync,
170
170
  storable
171
- } from "./chunk-zpp4jg4a.js";
171
+ } from "./chunk-1jabs81x.js";
172
172
  import {
173
+ Id,
174
+ secretReference,
175
+ secretPlaceholder
176
+ } from "./chunk-h6kd80nr.js";
177
+ import {
178
+ currentTimeMillis,
173
179
  SecureRandom,
174
180
  layerWebCrypto,
175
181
  layer,
@@ -248,9 +254,8 @@ import {
248
254
  checkServicesFile,
249
255
  checkServices,
250
256
  serviceChecks
251
- } from "./chunk-f2ycw5bp.js";
257
+ } from "./chunk-ryxff0xk.js";
252
258
  import {
253
- currentTimeMillis,
254
259
  join,
255
260
  interrupt,
256
261
  unbounded,
@@ -293,7 +298,7 @@ import {
293
298
  writeSrtSettings2,
294
299
  srtStepArgv2,
295
300
  srtArgv2
296
- } from "./chunk-h7zb6d3z.js";
301
+ } from "./chunk-avhqm9p0.js";
297
302
  import {
298
303
  writeAgentEnvironmentConfigFile2,
299
304
  readManifestSkillPaths2,
@@ -309,8 +314,8 @@ import {
309
314
  applyAgentEnvironmentMaterialization2,
310
315
  isPathWithin2,
311
316
  skillIdentity2
312
- } from "./chunk-bmkc5r0p.js";
313
- import"./chunk-5129s1vg.js";
317
+ } from "./chunk-0r9tp5pz.js";
318
+ import"./chunk-39pdxhcv.js";
314
319
  import {
315
320
  egressAllowed,
316
321
  writeSecretRegistry,
@@ -320,7 +325,7 @@ import {
320
325
  secretFilter2,
321
326
  opaqueTunnelRefusal2,
322
327
  isOpaqueConnectReason2
323
- } from "./chunk-y0y2gg8d.js";
328
+ } from "./chunk-e024f8af.js";
324
329
  import {
325
330
  sliceBytes2,
326
331
  maxLineBytes2,
@@ -328,28 +333,23 @@ import {
328
333
  decodedOption2,
329
334
  decoded2,
330
335
  readOpencode2
331
- } from "./chunk-w34sq09e.js";
336
+ } from "./chunk-ffq8vvvx.js";
332
337
  import {
333
338
  uploadRunFile,
334
339
  programLease,
335
340
  rpcRunFiles,
336
341
  programHostsEnv,
337
342
  undeclaredHostsEnv
338
- } from "./chunk-5d2sdzbz.js";
339
- import"./chunk-bscvbpa1.js";
343
+ } from "./chunk-ge9qjp6s.js";
344
+ import"./chunk-v86jpzpr.js";
340
345
  import {
341
346
  nextInt
342
- } from "./chunk-bbf0jzsc.js";
347
+ } from "./chunk-scdr623z.js";
343
348
  import {
344
349
  ChildProcessSpawner,
345
- make3
346
- } from "./chunk-r9tzwrnb.js";
347
- import"./chunk-099ybrqz.js";
348
- import {
349
- Id,
350
- secretReference,
351
- secretPlaceholder
352
- } from "./chunk-9avbsbvk.js";
350
+ make2
351
+ } from "./chunk-qqmxhk9w.js";
352
+ import"./chunk-yfag1eey.js";
353
353
 
354
354
  // packages/core/src/sync-kit.ts
355
355
  import { createHash } from "crypto";
@@ -1744,7 +1744,7 @@ var HarnessAdapters = [
1744
1744
  ],
1745
1745
  tools: {
1746
1746
  flag: "--tools",
1747
- base: ["Bash", "Read", "Edit", "Write", "Grep", "Glob", "Monitor", "TaskStop"],
1747
+ base: ["Bash", "Read", "Edit", "Write", "Grep", "Glob", "Monitor", "TaskStop", "REPL"],
1748
1748
  skill: "Skill",
1749
1749
  capabilities: {
1750
1750
  web: ["WebFetch", "WebSearch"],
@@ -1753,7 +1753,7 @@ var HarnessAdapters = [
1753
1753
  },
1754
1754
  args: ["--strict-mcp-config"]
1755
1755
  },
1756
- browserArgs: { on: ["--chrome"], off: ["--no-chrome"] },
1756
+ browserArgs: { on: ["--chrome"], off: ["--no-chrome"], onEnv: { CLAUDE_CODE_EXPERIMENTAL_CODE_MODE: "0" } },
1757
1757
  toolless: { args: ["--tools", "", "--strict-mcp-config"] },
1758
1758
  mcp: { kind: "json_arg", flag: "--mcp-config" },
1759
1759
  brief: { kind: "file_flag", flag: "--append-system-prompt-file" },
@@ -1764,7 +1764,8 @@ var HarnessAdapters = [
1764
1764
  CLAUDE_CODE_DISABLE_AUTO_MEMORY: "1",
1765
1765
  CLAUDE_CODE_DISABLE_ADVISOR_TOOL: "1",
1766
1766
  CLAUDE_CODE_DISABLE_FEATURE_FLAGS: "1",
1767
- ENABLE_TOOL_SEARCH: "false"
1767
+ ENABLE_TOOL_SEARCH: "false",
1768
+ CLAUDE_CODE_EXPERIMENTAL_CODE_MODE: "1"
1768
1769
  },
1769
1770
  mcpToolTimeout: { kind: "env", variables: ["MCP_TOOL_TIMEOUT", "CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT"], unit: "ms" },
1770
1771
  tempDirectoryVariable: "CLAUDE_CODE_TMPDIR",
@@ -2193,6 +2194,7 @@ function mcpLaunch(input, skillsDir) {
2193
2194
  const allowlist = adapter.tools;
2194
2195
  const listsSkills = (input.kitSetup?.skills ?? []).length > 0;
2195
2196
  const browser = adapter.browserArgs === undefined ? [] : capabilities.includes("browser") ? adapter.browserArgs.on : adapter.browserArgs.off;
2197
+ const browserEnv = capabilities.includes("browser") ? adapter.browserArgs?.onEnv ?? {} : {};
2196
2198
  const toolArgs = allowlist === undefined ? [] : [
2197
2199
  allowlist.flag,
2198
2200
  [
@@ -2233,7 +2235,7 @@ function mcpLaunch(input, skillsDir) {
2233
2235
  JSON.stringify({ mcpServers: { kitman: { ...server, ...serverFields } } }),
2234
2236
  ...Object.keys(kitServers).length === 0 ? [] : [`${input.configDir}/.mcp.json`]
2235
2237
  ],
2236
- env: timeoutEnv,
2238
+ env: { ...timeoutEnv, ...browserEnv },
2237
2239
  files: []
2238
2240
  };
2239
2241
  case "toml_overrides": {
@@ -2256,7 +2258,7 @@ function mcpLaunch(input, skillsDir) {
2256
2258
  `mcp_servers.${/^[A-Za-z0-9_-]+$/u.test(name) ? name : JSON.stringify(name)}=${tomlInline(value)}`
2257
2259
  ])
2258
2260
  ],
2259
- env: timeoutEnv,
2261
+ env: { ...timeoutEnv, ...browserEnv },
2260
2262
  files: []
2261
2263
  };
2262
2264
  }
@@ -2264,7 +2266,7 @@ function mcpLaunch(input, skillsDir) {
2264
2266
  return {
2265
2267
  binary: adapter.binary,
2266
2268
  args: [...session, ...accessArgs, ...model],
2267
- env: timeoutEnv,
2269
+ env: { ...timeoutEnv, ...browserEnv },
2268
2270
  files: [{ path: `${input.configDir}/${delivery.path}`, content: fileConfig() }]
2269
2271
  };
2270
2272
  case "config_env":
@@ -2273,6 +2275,7 @@ function mcpLaunch(input, skillsDir) {
2273
2275
  args: [...session, ...accessArgs, ...model],
2274
2276
  env: {
2275
2277
  ...timeoutEnv,
2278
+ ...browserEnv,
2276
2279
  [delivery.variable]: JSON.stringify({
2277
2280
  ...input.model === undefined ? undefined : { model: input.model },
2278
2281
  mcp: {
@@ -3159,6 +3162,8 @@ class ClaudeTrustNotRecorded extends TaggedError("ClaudeTrustNotRecorded") {
3159
3162
  class ConfigLockHeld extends TaggedError("ConfigLockHeld") {
3160
3163
  }
3161
3164
  var withEntry = (object, key, value) => Object.fromEntries([...Object.entries(object), [key, value]]);
3165
+ var codeModeCaveats = ["codeModeCaveatsAcceptedV1", "codeModeAutoModeCaveatAcceptedV1"];
3166
+ var isSettled = (config, workspace) => projectOf(config, workspace).project.hasTrustDialogAccepted === true && codeModeCaveats.every((key) => config[key] === true);
3162
3167
  var configLockStaleMs = 1e4;
3163
3168
  var configLockPollMs = 25;
3164
3169
  var configLockPolls = 2 * configLockStaleMs / configLockPollMs;
@@ -3200,7 +3205,7 @@ var projectOf = (config, workspace) => {
3200
3205
  const project = isJsonObject(projects[workspace]) ? projects[workspace] : {};
3201
3206
  return { projects, project };
3202
3207
  };
3203
- var isTrusted = (file, workspace) => map8(readConfig(file), (config) => isSome(config) ? projectOf(config.value, workspace).project.hasTrustDialogAccepted === true : false);
3208
+ var isTrusted = (file, workspace) => map8(readConfig(file), (config) => isSome(config) && isSettled(config.value, workspace));
3204
3209
  var holdConfigLock = (file) => gen(function* () {
3205
3210
  const fs = yield* FileSystem;
3206
3211
  const lock = `${file}.lock`;
@@ -3224,9 +3229,10 @@ var record = (home, workspace) => gen(function* () {
3224
3229
  if (isNone(config))
3225
3230
  return yield* new ClaudeTrustNotRecorded({ file, reason: "it is not a JSON object" });
3226
3231
  const { projects, project } = projectOf(config.value, workspace);
3227
- if (project.hasTrustDialogAccepted === true)
3232
+ if (isSettled(config.value, workspace))
3228
3233
  return;
3229
- const json = yield* encodePrettyJsonString(withEntry(config.value, "projects", withEntry(projects, workspace, withEntry(project, "hasTrustDialogAccepted", true))));
3234
+ const trusted = withEntry(config.value, "projects", withEntry(projects, workspace, withEntry(project, "hasTrustDialogAccepted", true)));
3235
+ const json = yield* encodePrettyJsonString(codeModeCaveats.reduce((settled, key) => withEntry(settled, key, true), trusted));
3230
3236
  const temporary = yield* fs.makeTempFile({ directory: home, prefix: ".claude.json.kitman-" });
3231
3237
  yield* fs.chmod(temporary, 384);
3232
3238
  yield* fs.writeFileString(temporary, `${json}
@@ -6898,7 +6904,7 @@ var dockerCheckPostgres = (runnerId, replicaId) => (id) => gen(function* () {
6898
6904
  "fsync=off",
6899
6905
  "-c",
6900
6906
  "full_page_writes=off"
6901
- ], "30 minutes"), () => ignore(docker(["rm", "--force", "--volumes", container])));
6907
+ ], "30 minutes"), () => ignore(docker(["rm", "--force", "--volumes", container], "1 minute").pipe(retry({ schedule: spaced("1 second"), times: 2 }))));
6902
6908
  const hostPort = publishedPort(yield* docker(["port", container, `${checkPostgresSandboxPort}/tcp`]));
6903
6909
  if (hostPort === undefined)
6904
6910
  return yield* new CheckPostgresUnavailable({ reason: "docker published no port" });
@@ -7146,7 +7152,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7146
7152
  const input = yield* unbounded2();
7147
7153
  const pending = new Map;
7148
7154
  let lastId = 0;
7149
- const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
7155
+ const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
7150
7156
  cwd: env.home,
7151
7157
  extendEnv: true,
7152
7158
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -7309,7 +7315,7 @@ var handshake = [
7309
7315
  `).join("");
7310
7316
  var kitmanMcpPreflight = (mcp) => gen(function* () {
7311
7317
  const spawner = yield* ChildProcessSpawner;
7312
- const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
7318
+ const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
7313
7319
  extendEnv: true,
7314
7320
  env: mcp.env,
7315
7321
  stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
@@ -7385,7 +7391,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
7385
7391
  };
7386
7392
  const exitCode = sandbox === undefined ? yield* gen(function* () {
7387
7393
  const spawner = yield* ChildProcessSpawner;
7388
- const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
7394
+ const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
7389
7395
  stdin: make10(new TextEncoder().encode(stdin)),
7390
7396
  stdout: "inherit",
7391
7397
  stderr: "inherit",