@kitman-sh/cli 0.35.0 → 0.37.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-wkkjyzpx.js → chunk-2nqsmnx7.js} +4 -4
  2. package/dist/{chunk-ke4rajdh.js → chunk-2pqqspes.js} +128 -39
  3. package/dist/{chunk-qqb6djs7.js → chunk-310dsxts.js} +2 -2
  4. package/dist/{chunk-xc7kg57m.js → chunk-3xfsv475.js} +45 -45
  5. package/dist/{chunk-56gs4z53.js → chunk-5jnye659.js} +7 -7
  6. package/dist/{chunk-znhjs0t6.js → chunk-8b02x7vv.js} +1 -1
  7. package/dist/{chunk-1hgsf81a.js → chunk-98azvx6g.js} +1 -1
  8. package/dist/{chunk-c8eg05nh.js → chunk-av744yc8.js} +4 -4
  9. package/dist/{chunk-t205gnzc.js → chunk-ay4s5qnv.js} +5 -5
  10. package/dist/{chunk-n01c55f9.js → chunk-b4gf06xg.js} +5 -5
  11. package/dist/{chunk-61dmxexa.js → chunk-bqbfyqx6.js} +30 -70
  12. package/dist/{chunk-y3c9pxez.js → chunk-bvpa6jrp.js} +7 -7
  13. package/dist/{chunk-r9x4ehsy.js → chunk-cb6yfbkf.js} +6 -6
  14. package/dist/{chunk-4qrb09w4.js → chunk-d4vhrja4.js} +3 -3
  15. package/dist/{chunk-rbpn35g5.js → chunk-ea29sbaq.js} +1 -1
  16. package/dist/{chunk-64arqv10.js → chunk-g0vpp6p9.js} +7 -7
  17. package/dist/{chunk-n0bp958m.js → chunk-gfzzgz3h.js} +4 -4
  18. package/dist/{chunk-er0e8d8v.js → chunk-k9fnm7ds.js} +60 -14
  19. package/dist/{chunk-5e1ndtnp.js → chunk-kk1wfhhz.js} +2 -2
  20. package/dist/{chunk-nna9pwp0.js → chunk-mpw74rad.js} +48 -36
  21. package/dist/{chunk-tsefrrxz.js → chunk-pdcj5cfz.js} +1 -1
  22. package/dist/{chunk-z0gqrc8c.js → chunk-vyx49k26.js} +17 -17
  23. package/dist/{chunk-q8e58p57.js → chunk-wy6gmtd9.js} +2 -2
  24. package/dist/{chunk-yhat3rhw.js → chunk-xmdyfzf3.js} +125 -116
  25. package/dist/{chunk-ee7ss0df.js → chunk-ymzkqbye.js} +3 -3
  26. package/dist/{chunk-t9dmwy8x.js → chunk-za4cezh6.js} +19 -19
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-er0e8d8v.js";
2
+ import"./chunk-k9fnm7ds.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-yhat3rhw.js";
16
- import"./chunk-z0gqrc8c.js";
17
- import"./chunk-61dmxexa.js";
15
+ } from "./chunk-xmdyfzf3.js";
16
+ import"./chunk-vyx49k26.js";
17
+ import"./chunk-bqbfyqx6.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -36,6 +36,7 @@ import {
36
36
  isResult,
37
37
  isFailure,
38
38
  isSuccess,
39
+ getSuccess,
39
40
  chunksOf,
40
41
  TaggedError,
41
42
  succeed3,
@@ -44,7 +45,7 @@ import {
44
45
  isFailure2,
45
46
  hasInterrupts,
46
47
  makeUnsafe5,
47
- make15,
48
+ make16,
48
49
  _await,
49
50
  fail5,
50
51
  isDoneUnsafe,
@@ -174,7 +175,7 @@ import {
174
175
  decodeJsonStringSync,
175
176
  encodeUnknownJsonStringSync,
176
177
  storable
177
- } from "./chunk-61dmxexa.js";
178
+ } from "./chunk-bqbfyqx6.js";
178
179
  import {
179
180
  SecureRandom,
180
181
  layerWebCrypto,
@@ -262,7 +263,7 @@ import {
262
263
  checkServicesFile,
263
264
  checkServices,
264
265
  serviceChecks
265
- } from "./chunk-yhat3rhw.js";
266
+ } from "./chunk-xmdyfzf3.js";
266
267
  import {
267
268
  currentTimeMillis,
268
269
  join,
@@ -272,7 +273,7 @@ import {
272
273
  unbounded2,
273
274
  offer,
274
275
  makeUnsafe3,
275
- make10,
276
+ make11,
276
277
  fromQueue,
277
278
  fromPubSub,
278
279
  map2,
@@ -311,7 +312,7 @@ import {
311
312
  writeSrtSettings2,
312
313
  srtStepArgv2,
313
314
  srtArgv2
314
- } from "./chunk-z0gqrc8c.js";
315
+ } from "./chunk-vyx49k26.js";
315
316
  import {
316
317
  writeAgentEnvironmentConfigFile2,
317
318
  readManifestSkillPaths2,
@@ -327,8 +328,8 @@ import {
327
328
  applyAgentEnvironmentMaterialization2,
328
329
  isPathWithin2,
329
330
  skillIdentity2
330
- } from "./chunk-n0bp958m.js";
331
- import"./chunk-ee7ss0df.js";
331
+ } from "./chunk-gfzzgz3h.js";
332
+ import"./chunk-ymzkqbye.js";
332
333
  import {
333
334
  egressAllowed,
334
335
  writeSecretRegistry,
@@ -338,7 +339,7 @@ import {
338
339
  secretFilter2,
339
340
  opaqueTunnelRefusal2,
340
341
  isOpaqueConnectReason2
341
- } from "./chunk-q8e58p57.js";
342
+ } from "./chunk-wy6gmtd9.js";
342
343
  import {
343
344
  sliceBytes2,
344
345
  maxLineBytes2,
@@ -348,29 +349,29 @@ import {
348
349
  lookAtOpencode2,
349
350
  readOpencode2,
350
351
  databaseStamp2
351
- } from "./chunk-56gs4z53.js";
352
+ } from "./chunk-5jnye659.js";
352
353
  import {
353
354
  uploadRunFile,
354
355
  programLease,
355
356
  rpcRunFiles,
356
357
  programHostsEnv,
357
358
  undeclaredHostsEnv
358
- } from "./chunk-n01c55f9.js";
359
- import"./chunk-64arqv10.js";
359
+ } from "./chunk-b4gf06xg.js";
360
+ import"./chunk-g0vpp6p9.js";
360
361
  import {
361
362
  nextInt
362
- } from "./chunk-znhjs0t6.js";
363
- import"./chunk-1hgsf81a.js";
363
+ } from "./chunk-8b02x7vv.js";
364
+ import"./chunk-98azvx6g.js";
364
365
  import {
365
366
  ChildProcessSpawner,
366
- make2
367
- } from "./chunk-er0e8d8v.js";
368
- import"./chunk-t205gnzc.js";
367
+ make3
368
+ } from "./chunk-k9fnm7ds.js";
369
+ import"./chunk-ay4s5qnv.js";
369
370
  import {
370
371
  Id,
371
372
  secretReference,
372
373
  secretPlaceholder
373
- } from "./chunk-rbpn35g5.js";
374
+ } from "./chunk-ea29sbaq.js";
374
375
 
375
376
  // packages/core/src/sync-kit.ts
376
377
  import { createHash } from "crypto";
@@ -3392,6 +3393,7 @@ var prepareDockerHome = (input) => gen(function* () {
3392
3393
  ...anthropicKey === undefined ? undefined : { customApiKeyResponses: { approved: [anthropicKey.slice(approvedKeyEnd)], rejected: [] } }
3393
3394
  }), { mode: 384 });
3394
3395
  yield* trustClaudeWorkspace(input.home, input.workspace);
3396
+ yield* trustClaudeWorkspace(input.home, input.configDir);
3395
3397
  }
3396
3398
  if (input.adapter.id === "codex" && openaiKey !== undefined) {
3397
3399
  yield* fs.makeDirectory(`${input.home}/.codex`, { recursive: true });
@@ -4662,18 +4664,45 @@ var aborted = (signal) => signal === undefined ? never : callback3((resume) => {
4662
4664
  });
4663
4665
  var canceled = { status: "canceled", reason: "canceled" };
4664
4666
  var loginRefusedError = /(OAuth token revoked|OAuth access token is invalid|Login expired)\W{0,12}Please run \/login/;
4667
+ var setupPromptPoll = "1 second";
4665
4668
  var screenTail = (screen) => screen.split(`
4666
4669
  `).slice(-12);
4667
4670
  var loginRefused = (screen) => loginRefusedError.test(screenTail(screen).join(" "));
4668
4671
  var setupPrompts = [
4669
- { confirm: /^Yes, I trust this folder$/, cancel: /^No, (exit|continue without these permissions)$/ },
4670
- { confirm: /^Yes, turn on Code Mode$/, cancel: /^No, start without it$/ }
4672
+ {
4673
+ name: "folder trust prompt",
4674
+ confirm: /^Yes, I trust this folder$/,
4675
+ cancel: /^No, (exit|continue without these permissions)$/
4676
+ },
4677
+ { name: "Code Mode prompt", confirm: /^Yes, turn on Code Mode$/, cancel: /^No, start without it$/ }
4671
4678
  ];
4672
4679
  var menuOption = (line) => line.replace(/^[\s\u276F\u203A>]*(\d+\.\s*)?/, "").trim();
4673
- var atSetupPrompt = (screen) => {
4680
+ var addedDirectoryDialog = {
4681
+ name: "trust prompt for an added directory",
4682
+ lines: 30,
4683
+ title: /^Adding a new directory:\s*([~/].*)?$/,
4684
+ path: /^[~/]/,
4685
+ confirm: /^Yes, add it$/,
4686
+ cancel: /^No, (exit|leave it out)$/
4687
+ };
4688
+ var atAddedDirectoryDialog = (screen) => {
4689
+ const { lines, title, path, confirm, cancel } = addedDirectoryDialog;
4690
+ const rows = screen.trimEnd().split(`
4691
+ `).slice(-lines).map((row) => menuOption(row.replace(/^[\u2500\u2502\u256D|]+/, "")));
4692
+ const menu = rows.findLastIndex((row, index) => confirm.test(row) && cancel.test(rows[index + 1] ?? "") || cancel.test(row) && confirm.test(rows[index + 1] ?? ""));
4693
+ const heading = rows.findLastIndex((row, index) => index < menu && title.test(row));
4694
+ if (menu < 0 || heading < 0)
4695
+ return false;
4696
+ const directory = title.exec(rows[heading] ?? "")?.[1] ?? rows.slice(heading + 1, menu).find((row) => row !== "");
4697
+ return directory !== undefined && path.test(directory);
4698
+ };
4699
+ var setupPromptOn = (screen, harness) => {
4700
+ if (harness === "claude" && atAddedDirectoryDialog(screen))
4701
+ return addedDirectoryDialog.name;
4674
4702
  const options = screenTail(screen).map(menuOption);
4675
- return setupPrompts.some(({ confirm, cancel }) => options.some((option) => confirm.test(option)) && options.some((option) => cancel.test(option)));
4703
+ return setupPrompts.find(({ confirm, cancel }) => options.some((option) => confirm.test(option)) && options.some((option) => cancel.test(option)))?.name;
4676
4704
  };
4705
+ var addsDirectory = (args, directory) => args.some((arg, index) => arg === directory && args[index - 1] === "--add-dir");
4677
4706
  var watchSecretRegistry = (registry, request, revocationMs) => gen(function* () {
4678
4707
  const fs = yield* FileSystem;
4679
4708
  const log = secretRefusalLog(registry.file);
@@ -4842,6 +4871,7 @@ var runAttempt = (request, options) => gen(function* () {
4842
4871
  adapter,
4843
4872
  home: dockerHome(configDir),
4844
4873
  workspace,
4874
+ configDir,
4845
4875
  environment: policy.environment
4846
4876
  }).pipe(tapError2((error) => logWarning("docker_home_unwritable", error.message)), mapError2(harnessConfigUnwritable));
4847
4877
  yield* requireKitCommands(kitSetup, (command) => options.docker === undefined ? fail7(unavailable) : options.docker.containers.exec({
@@ -4881,7 +4911,9 @@ var runAttempt = (request, options) => gen(function* () {
4881
4911
  if (isFailure(command))
4882
4912
  return failed(command.failure.reason, command.failure.summary);
4883
4913
  if (adapter.id === "claude" && request.sandbox.backend !== "docker") {
4884
- const trusted = yield* result(trustClaudeWorkspace(launch.globalConfig === undefined ? options.home : (yield* Path).dirname(launch.globalConfig.path), workspace));
4914
+ const home = launch.globalConfig === undefined ? options.home : (yield* Path).dirname(launch.globalConfig.path);
4915
+ const directories = addsDirectory(launch.args, configDir) ? [workspace, configDir] : [workspace];
4916
+ const trusted = yield* result(forEach(directories, (directory) => trustClaudeWorkspace(home, directory), { discard: true }));
4885
4917
  if (isFailure(trusted)) {
4886
4918
  yield* logWarning("claude_trust_failed", trusted.failure);
4887
4919
  return failed("harness_launch_failed", `Kitman could not record the workspace's trust, so Claude Code would wait on its folder trust prompt: ${trusted.failure.message}`);
@@ -4917,7 +4949,11 @@ var runAttempt = (request, options) => gen(function* () {
4917
4949
  let accepted = false;
4918
4950
  const outputSubmitted = suspend3(() => accepted ? succeed6(true) : request.settled.pipe(orElseSucceed(() => false), tap2((settled) => sync2(() => accepted ||= settled))));
4919
4951
  const readScreen = map9(option2(call((connection) => connection.read(address))), (screen) => isSome(screen) ? redactCredentials(screen.value).trim() : "");
4920
- const setupPromptFailure = (shown) => failed("harness_setup_prompt", `The agent stopped at a prompt Kitman answers before launch. Its screen ended: ${shown.slice(-blockedScreenChars)}`);
4952
+ const setupPromptShown = adapter.id === "claude" ? readScreen.pipe(repeat({
4953
+ until: (shown) => setupPromptOn(shown, adapter.id) !== undefined,
4954
+ schedule: spaced(setupPromptPoll)
4955
+ })) : never;
4956
+ const setupPromptFailure = (shown, prompt) => failed("harness_setup_prompt", `The agent stopped at its ${prompt}, which Kitman answers before launch. Its screen ended: ${shown.slice(-blockedScreenChars)}`);
4921
4957
  const judge = (last) => gen(function* () {
4922
4958
  if (yield* outputSubmitted)
4923
4959
  return { status: "settled" };
@@ -4939,8 +4975,9 @@ var runAttempt = (request, options) => gen(function* () {
4939
4975
  yield* logWarning("agent_blocked", { attempt: attempt.id, address, screen: shown });
4940
4976
  if (loginRefused(shown))
4941
4977
  return failed("harness_login_lost", `The Harness's login was refused before it submitted its Output. Its screen ended: ${shown.slice(-blockedScreenChars)}`);
4942
- if (atSetupPrompt(shown))
4943
- return setupPromptFailure(shown);
4978
+ const prompt = setupPromptOn(shown, adapter.id);
4979
+ if (prompt !== undefined)
4980
+ return setupPromptFailure(shown, prompt);
4944
4981
  return {
4945
4982
  status: "blocked",
4946
4983
  summary: `The agent stopped for input before submitting its Output.${shown === "" ? "" : ` Its screen ended: ${shown.slice(-blockedScreenChars)}`}`
@@ -4950,12 +4987,20 @@ var runAttempt = (request, options) => gen(function* () {
4950
4987
  });
4951
4988
  const ended = (signal) => (outcome) => ({ signal, outcome });
4952
4989
  const ending = gen(function* () {
4953
- const ready = yield* raceFirst(until(seen, (last) => last.end !== undefined || last.status !== null && !["working", "blocked"].includes(last.status)), lastingStatus(seen, "blocked", Math.min(options.blockedGraceMs, startupBlockedMs))).pipe(timeoutOption(launchTimeout));
4990
+ const started = raceFirst(until(seen, (last) => last.end !== undefined || last.status !== null && !["working", "blocked"].includes(last.status)), lastingStatus(seen, "blocked", Math.min(options.blockedGraceMs, startupBlockedMs)));
4991
+ const launchedOrPrompted = yield* raceFirst(map9(started, succeed), map9(setupPromptShown, fail3)).pipe(timeoutOption(launchTimeout));
4992
+ if (isSome(launchedOrPrompted) && isFailure(launchedOrPrompted.value)) {
4993
+ const shown = launchedOrPrompted.value.failure;
4994
+ yield* logWarning("agent_setup_prompt", { attempt: attempt.id, address, screen: shown });
4995
+ return ended("setup_prompt")(setupPromptFailure(shown, setupPromptOn(shown, adapter.id) ?? "setup prompt"));
4996
+ }
4997
+ const ready = flatMap(launchedOrPrompted, getSuccess);
4954
4998
  if (isNone(ready)) {
4955
4999
  const shown = yield* readScreen;
4956
5000
  yield* logWarning("agent_launch_timeout", { attempt: attempt.id, address, screen: shown });
4957
- if (atSetupPrompt(shown))
4958
- return ended("launch_timeout")(setupPromptFailure(shown));
5001
+ const prompt = setupPromptOn(shown, adapter.id);
5002
+ if (prompt !== undefined)
5003
+ return ended("launch_timeout")(setupPromptFailure(shown, prompt));
4959
5004
  return ended("launch_timeout")(failed("harness_launch_timeout", `The Harness reported no status within 120 s of its launch.${shown === "" ? " Its screen was empty." : ` Its screen ended: ${shown.slice(-blockedScreenChars)}`}`));
4960
5005
  }
4961
5006
  if (ready.value.end !== undefined)
@@ -6033,18 +6078,59 @@ function runReplica(control, executor, signals) {
6033
6078
  var ConcurrencyRecheck = seconds(1);
6034
6079
  var IdleRecheck = seconds(60);
6035
6080
  var idleBackoff = (idleIterations) => millis(Math.min(1000 * 2 ** idleIterations, 30000));
6081
+ var verificationPermits = (cap) => {
6082
+ let held = 0;
6083
+ return {
6084
+ full: map9(cap, (limit) => held >= limit),
6085
+ take: map9(cap, (limit) => {
6086
+ if (held >= limit)
6087
+ return false;
6088
+ held += 1;
6089
+ return true;
6090
+ }),
6091
+ give: sync2(() => {
6092
+ held -= 1;
6093
+ })
6094
+ };
6095
+ };
6036
6096
  function superviseReplica(input) {
6037
6097
  const { signals } = input;
6098
+ const verificationGate = (permits) => {
6099
+ let held = false;
6100
+ const free = suspend3(() => {
6101
+ if (!held)
6102
+ return void_3;
6103
+ held = false;
6104
+ return permits.give;
6105
+ });
6106
+ const ask = (options) => map9(held ? succeed6(true) : permits.take, (taken) => {
6107
+ held = taken;
6108
+ return taken ? options : { ...options, takesVerifications: false };
6109
+ });
6110
+ const settle = (claimed) => claimed.workUnit?.kind === "verification" ? void_3 : free;
6111
+ return { ask, settle, free };
6112
+ };
6113
+ const claimThrough = (control, gate, idempotencyKey, options) => gen(function* () {
6114
+ const asked = gate === undefined ? options : yield* gate.ask(options);
6115
+ const claimed = yield* control.claim(idempotencyKey, asked);
6116
+ if (gate !== undefined)
6117
+ yield* gate.settle(claimed);
6118
+ return { claimed, asked };
6119
+ });
6120
+ const gatedControl = (control, gate) => ({
6121
+ ...control,
6122
+ claim: (idempotencyKey, options) => map9(claimThrough(control, gate, idempotencyKey, options), ({ claimed }) => claimed)
6123
+ });
6038
6124
  const claimTurn = makeUnsafe3(1);
6039
6125
  let emptyAt = -1;
6040
- const wokenControl = (control, signals) => ({
6126
+ const wokenControl = (control, gate, signals) => ({
6041
6127
  ...control,
6042
- claim: (idempotencyKey) => claimTurn.withPermit(gen(function* () {
6128
+ claim: (idempotencyKey, options) => claimTurn.withPermit(gen(function* () {
6043
6129
  const generation = yield* signals.generation;
6044
6130
  if (generation <= emptyAt)
6045
6131
  return {};
6046
- const claimed = yield* control.claim(idempotencyKey);
6047
- if (claimed.workUnit === undefined)
6132
+ const { claimed, asked } = yield* claimThrough(control, gate, idempotencyKey, options);
6133
+ if (claimed.workUnit === undefined && asked?.takesVerifications !== false)
6048
6134
  emptyAt = Math.max(emptyAt, generation);
6049
6135
  return claimed;
6050
6136
  }))
@@ -6059,7 +6145,9 @@ function superviseReplica(input) {
6059
6145
  }
6060
6146
  const seen = signals === undefined ? 0 : yield* signals.generation;
6061
6147
  const control = input.control(capacitySlot);
6062
- const exit2 = yield* exit(runReplica(signals !== undefined && woken ? wokenControl(control, signals) : control, input.executor, signals));
6148
+ const gate = input.verifications === undefined ? undefined : verificationGate(input.verifications);
6149
+ const claiming = signals !== undefined && woken ? wokenControl(control, gate, signals) : gatedControl(control, gate);
6150
+ const exit2 = yield* exit(runReplica(claiming, input.executor, signals).pipe(ensuring2(gate?.free ?? void_3)));
6063
6151
  if (isSuccess2(exit2) && exit2.value.status === "completed") {
6064
6152
  idleIterations = 0;
6065
6153
  woken = false;
@@ -8493,7 +8581,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
8493
8581
  const input = yield* unbounded2();
8494
8582
  const pending = new Map;
8495
8583
  let lastId = 0;
8496
- const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
8584
+ const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
8497
8585
  cwd: env.home,
8498
8586
  extendEnv: true,
8499
8587
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -8516,7 +8604,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
8516
8604
  return {
8517
8605
  request: (method, params) => gen(function* () {
8518
8606
  const id = ++lastId;
8519
- const deferred = yield* make15();
8607
+ const deferred = yield* make16();
8520
8608
  pending.set(id, deferred);
8521
8609
  yield* send({ id, method, params });
8522
8610
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -8656,10 +8744,10 @@ var handshake = [
8656
8744
  `).join("");
8657
8745
  var kitmanMcpPreflight = (mcp) => gen(function* () {
8658
8746
  const spawner = yield* ChildProcessSpawner;
8659
- const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
8747
+ const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
8660
8748
  extendEnv: true,
8661
8749
  env: mcp.env,
8662
- stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
8750
+ stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
8663
8751
  stderr: "ignore"
8664
8752
  }));
8665
8753
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -8732,8 +8820,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
8732
8820
  };
8733
8821
  const exitCode = sandbox === undefined ? yield* gen(function* () {
8734
8822
  const spawner = yield* ChildProcessSpawner;
8735
- const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
8736
- stdin: make10(new TextEncoder().encode(stdin)),
8823
+ const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
8824
+ stdin: make11(new TextEncoder().encode(stdin)),
8737
8825
  stdout: "inherit",
8738
8826
  stderr: "inherit",
8739
8827
  extendEnv: false,
@@ -10379,6 +10467,7 @@ export {
10379
10467
  tomlTableHeader2 as tomlTableHeader,
10380
10468
  updateHerdrCore2 as updateHerdrCore,
10381
10469
  verificationExecutor,
10470
+ verificationPermits,
10382
10471
  withCopyableLogin,
10383
10472
  withOnlyEnvironment2 as withOnlyEnvironment,
10384
10473
  withSourceResolutionCache2 as withSourceResolutionCache,
@@ -15,8 +15,8 @@ import {
15
15
  writeSrtSettings2,
16
16
  srtStepArgv2,
17
17
  srtArgv2
18
- } from "./chunk-z0gqrc8c.js";
19
- import"./chunk-61dmxexa.js";
18
+ } from "./chunk-vyx49k26.js";
19
+ import"./chunk-bqbfyqx6.js";
20
20
  export {
21
21
  compiled2 as compiled,
22
22
  harnessesUnsupportedInDocker2 as harnessesUnsupportedInDocker,