@kitman-sh/cli 0.40.0 → 0.41.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-2rbng4nf.js → chunk-0jphb7hd.js} +4 -4
  2. package/dist/{chunk-7qjzbsh4.js → chunk-32fc44tx.js} +10 -10
  3. package/dist/{chunk-ykskj5gq.js → chunk-5rvn8bah.js} +151 -146
  4. package/dist/{chunk-mj6q3n5b.js → chunk-amnctk9f.js} +6 -6
  5. package/dist/{chunk-bqbfyqx6.js → chunk-b4td2pgc.js} +61 -61
  6. package/dist/{chunk-2y0r9xr3.js → chunk-c8rck2r5.js} +4 -4
  7. package/dist/{chunk-6x08g7m6.js → chunk-cs66re9p.js} +10 -10
  8. package/dist/{chunk-wy6gmtd9.js → chunk-dhe1fwhw.js} +2 -2
  9. package/dist/{chunk-ns26fbmk.js → chunk-drw8m50d.js} +2 -2
  10. package/dist/{chunk-cdy7x0em.js → chunk-f7qdzedh.js} +278 -121
  11. package/dist/{chunk-d4vhrja4.js → chunk-hfy8nmat.js} +3 -3
  12. package/dist/{chunk-pzq0b1k9.js → chunk-j4s7r8hg.js} +18 -18
  13. package/dist/{chunk-bcw869qr.js → chunk-p9ykk8h7.js} +3 -3
  14. package/dist/{chunk-hgvft7vy.js → chunk-pz7s0apf.js} +4 -4
  15. package/dist/{chunk-ea29sbaq.js → chunk-qndcafax.js} +1 -1
  16. package/dist/{chunk-br31kbfe.js → chunk-rt2sh0jh.js} +65 -65
  17. package/dist/{chunk-etrfc5cn.js → chunk-sasjamqz.js} +29 -178
  18. package/dist/{chunk-cnryphhh.js → chunk-svq8b6fq.js} +5 -5
  19. package/dist/{chunk-98azvx6g.js → chunk-tpmyf5mk.js} +1 -1
  20. package/dist/{chunk-ks3atmhw.js → chunk-v2pk0b62.js} +2 -2
  21. package/dist/{chunk-jbhd2t25.js → chunk-vd9wjvwt.js} +7 -7
  22. package/dist/{chunk-8b02x7vv.js → chunk-wre79w3z.js} +1 -1
  23. package/dist/{chunk-4dpm4thy.js → chunk-xat27r93.js} +101 -27
  24. package/dist/{chunk-8r3h8mzj.js → chunk-yv80rgfx.js} +1 -1
  25. package/dist/{chunk-25wwvwrt.js → chunk-yxj4dmef.js} +13 -13
  26. package/dist/{chunk-6fk86dg7.js → chunk-zvp4wm6b.js} +6 -6
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -45,7 +45,7 @@ import {
45
45
  isFailure2,
46
46
  hasInterrupts,
47
47
  makeUnsafe5,
48
- make16,
48
+ make15,
49
49
  _await,
50
50
  fail5,
51
51
  isDoneUnsafe,
@@ -175,7 +175,12 @@ import {
175
175
  decodeJsonStringSync,
176
176
  encodeUnknownJsonStringSync,
177
177
  storable
178
- } from "./chunk-bqbfyqx6.js";
178
+ } from "./chunk-b4td2pgc.js";
179
+ import {
180
+ Id,
181
+ secretReference,
182
+ secretPlaceholder
183
+ } from "./chunk-qndcafax.js";
179
184
  import {
180
185
  SecureRandom,
181
186
  layerWebCrypto,
@@ -263,7 +268,7 @@ import {
263
268
  checkServicesFile,
264
269
  checkServices,
265
270
  serviceChecks
266
- } from "./chunk-cdy7x0em.js";
271
+ } from "./chunk-f7qdzedh.js";
267
272
  import {
268
273
  currentTimeMillis,
269
274
  join,
@@ -273,7 +278,7 @@ import {
273
278
  unbounded2,
274
279
  offer,
275
280
  makeUnsafe3,
276
- make11,
281
+ make10,
277
282
  fromQueue,
278
283
  fromPubSub,
279
284
  map2,
@@ -312,7 +317,7 @@ import {
312
317
  writeSrtSettings2,
313
318
  srtStepArgv2,
314
319
  srtArgv2
315
- } from "./chunk-etrfc5cn.js";
320
+ } from "./chunk-sasjamqz.js";
316
321
  import {
317
322
  writeAgentEnvironmentConfigFile2,
318
323
  readManifestSkillPaths2,
@@ -328,8 +333,8 @@ import {
328
333
  applyAgentEnvironmentMaterialization2,
329
334
  isPathWithin2,
330
335
  skillIdentity2
331
- } from "./chunk-2y0r9xr3.js";
332
- import"./chunk-bcw869qr.js";
336
+ } from "./chunk-c8rck2r5.js";
337
+ import"./chunk-p9ykk8h7.js";
333
338
  import {
334
339
  egressAllowed,
335
340
  writeSecretRegistry,
@@ -339,7 +344,7 @@ import {
339
344
  secretFilter2,
340
345
  opaqueTunnelRefusal2,
341
346
  isOpaqueConnectReason2
342
- } from "./chunk-wy6gmtd9.js";
347
+ } from "./chunk-dhe1fwhw.js";
343
348
  import {
344
349
  sliceBytes2,
345
350
  maxLineBytes2,
@@ -349,29 +354,24 @@ import {
349
354
  lookAtOpencode2,
350
355
  readOpencode2,
351
356
  databaseStamp2
352
- } from "./chunk-cnryphhh.js";
357
+ } from "./chunk-svq8b6fq.js";
353
358
  import {
354
359
  uploadRunFile,
355
360
  programLease,
356
361
  rpcRunFiles,
357
362
  programHostsEnv,
358
363
  undeclaredHostsEnv
359
- } from "./chunk-25wwvwrt.js";
360
- import"./chunk-mj6q3n5b.js";
364
+ } from "./chunk-yxj4dmef.js";
365
+ import"./chunk-amnctk9f.js";
361
366
  import {
362
367
  nextInt
363
- } from "./chunk-8b02x7vv.js";
364
- import"./chunk-98azvx6g.js";
368
+ } from "./chunk-wre79w3z.js";
369
+ import"./chunk-tpmyf5mk.js";
365
370
  import {
366
371
  ChildProcessSpawner,
367
372
  make3
368
- } from "./chunk-6x08g7m6.js";
369
- import"./chunk-pzq0b1k9.js";
370
- import {
371
- Id,
372
- secretReference,
373
- secretPlaceholder
374
- } from "./chunk-ea29sbaq.js";
373
+ } from "./chunk-cs66re9p.js";
374
+ import"./chunk-j4s7r8hg.js";
375
375
 
376
376
  // packages/core/src/sync-kit.ts
377
377
  import { createHash } from "crypto";
@@ -4702,6 +4702,74 @@ var setupPromptOn = (screen, harness) => {
4702
4702
  const options = screenTail(screen).map(menuOption);
4703
4703
  return setupPrompts.find(({ confirm, cancel }) => options.some((option) => confirm.test(option)) && options.some((option) => cancel.test(option)))?.name;
4704
4704
  };
4705
+ var withMiseTrust = (workspace, argv) => [
4706
+ "sh",
4707
+ "-c",
4708
+ `w=$1; shift
4709
+ if t=$(cd / &&
4710
+ { m=$(command -v mise) || { m=$(command -v "$1") && m=$(readlink -f "$m") && [ "\${m##*/}" = mise ]; }; } &&
4711
+ "$m" settings get trusted_config_paths 2>/dev/null); then
4712
+ case $t in
4713
+ *\\\\*|*:*) ;;
4714
+ *) t=$(cd / && printf '%s' "$t" | sed 's/^\\[//; s/\\]$//; s/^"//; s/"$//; s/", "/:/g'); export MISE_TRUSTED_CONFIG_PATHS="\${t:+$t:}$w" ;;
4715
+ esac
4716
+ else
4717
+ export MISE_TRUSTED_CONFIG_PATHS="\${MISE_TRUSTED_CONFIG_PATHS:+$MISE_TRUSTED_CONFIG_PATHS:}$w"
4718
+ fi
4719
+ exec "$@"`,
4720
+ "sh",
4721
+ workspace,
4722
+ ...argv
4723
+ ];
4724
+ var promptTail = 24;
4725
+ var sentenceEnd = /[.\u2026!,;]$/;
4726
+ var shortChoice = (choice) => choice !== "" && !/\d/.test(choice) && choice.split(/\s+/).length <= 3;
4727
+ var asks = (line) => /[?:]\s*(\[[^\]]*\]|\([^)]*\))?\s*:?$/.test(line) || /^\?\s/.test(line) || /[[(](y\/n|yes\/no)[\])]|\b(y\/n|yes\/no)\s*:?$/i.test(line) || /\bpress (enter|return|any key)\b/i.test(line);
4728
+ var optionText = (line) => {
4729
+ const text = /^([\u276F\u203A>\u25CF\u25CB\u25EF\u25C9\u25C6\u25C7\u25A1\u25A0\u2610\u2611]|\d+[.)]\s|\[[ x\u2713]?\]|\([ x\u2022]?\))\s*(.*)$/i.exec(line)?.[2];
4730
+ return text !== undefined && !sentenceEnd.test(line) && text.split(/\s+/).length <= 8 ? text : undefined;
4731
+ };
4732
+ var markedOption = (line) => optionText(line) !== undefined;
4733
+ var cursorOn = (line) => /^[\u276F\u203A>]/.test(line);
4734
+ var keyHelp = (line) => /\b(enter|return|esc|tab|space)\b|[\u2190\u2192\u2191\u2193]|\b[yn](\/[a-z])+\b/i.test(line) && /\b(select|confirm|navigate|submit|cancel|toggle|choose|move)\b/i.test(line);
4735
+ var inlineChoices = (line) => {
4736
+ const choices = line.split(/\s{2,}|\s*[|/\u00B7\u2022]\s*/);
4737
+ return !sentenceEnd.test(line) && choices.length >= 2 && choices.every(shortChoice);
4738
+ };
4739
+ var plainOption = (line) => !sentenceEnd.test(line) && shortChoice(line) && !inlineChoices(line);
4740
+ var answerRow = (line) => markedOption(line) || keyHelp(line) || inlineChoices(line) || plainOption(line);
4741
+ var indent = (line) => line.search(/\S/);
4742
+ var menuHeading = (raw, lines, after) => {
4743
+ const first = lines.findIndex((line, at) => at > after && markedOption(line));
4744
+ if (first === -1)
4745
+ return -1;
4746
+ const column = indent(raw[first] ?? "") + (lines[first] ?? "").length - (optionText(lines[first] ?? "") ?? "").length;
4747
+ const listedAbove = (at) => lines[at] !== "" && plainOption(lines[at] ?? "") && indent(raw[at] ?? "") >= column;
4748
+ let heading = first - 1;
4749
+ while (heading >= 0 && listedAbove(heading))
4750
+ heading--;
4751
+ while (heading >= 0 && lines[heading] === "")
4752
+ heading--;
4753
+ const below = lines.slice(heading + 1);
4754
+ const options = below.filter((line, at) => markedOption(line) || plainOption(line) && indent(raw[heading + 1 + at] ?? "") >= column).length;
4755
+ const title = lines[heading] ?? "";
4756
+ const selecting = below.filter(cursorOn).length === 1 || below.some(keyHelp);
4757
+ return heading >= after && options >= 2 && selecting && !markedOption(title) && !sentenceEnd.test(title) ? heading : -1;
4758
+ };
4759
+ var promptAsked = (screen) => {
4760
+ const raw = screen.trimEnd().split(`
4761
+ `).slice(-promptTail);
4762
+ const lines = raw.map((line) => line.trim());
4763
+ const last = lines.findLastIndex((line) => line !== "" && (asks(line) || !answerRow(line)));
4764
+ const rows = lines.slice(last + 1).filter((line) => line !== "");
4765
+ if (rows.some(plainOption) && !rows.some(markedOption))
4766
+ return;
4767
+ const question = asks(lines[last] ?? "") ? last : menuHeading(raw, lines, last);
4768
+ if (question === -1)
4769
+ return;
4770
+ const paragraphStart = lines.slice(0, question).findLastIndex((line) => line === "") + 1;
4771
+ return lines.slice(paragraphStart).filter((line) => line !== "").join(" ");
4772
+ };
4705
4773
  var addsDirectory = (args, directory) => args.some((arg, index) => arg === directory && args[index - 1] === "--add-dir");
4706
4774
  var watchSecretRegistry = (registry, request, revocationMs) => gen(function* () {
4707
4775
  const fs = yield* FileSystem;
@@ -4783,7 +4851,7 @@ var runAttempt = (request, options) => gen(function* () {
4783
4851
  ],
4784
4852
  launch
4785
4853
  });
4786
- const harnessArgv = [launch.binary, ...launch.args];
4854
+ const harnessArgv = withMiseTrust(workspace, [launch.binary, ...launch.args]);
4787
4855
  const attemptEnvironment = {
4788
4856
  ...stepProcessEnvironment(request.runnerId, attempt.id),
4789
4857
  ...threadBudgetEnvironment(yield* options.threadBudget)
@@ -4832,7 +4900,7 @@ var runAttempt = (request, options) => gen(function* () {
4832
4900
  ...attemptEnvironment
4833
4901
  };
4834
4902
  return {
4835
- argv: withOnlyEnvironment2([...Object.keys(env), "TERM", "COLORTERM"], registry === undefined ? srtArgv2(options.srtCommand ?? pinnedSrtCommand2(), settingsFile, harnessArgv) : srtStepArgv2(options.srtStepCommand ?? pinnedSrtStepCommand2(), settingsFile, registry.file, harnessArgv)),
4903
+ argv: withOnlyEnvironment2([...Object.keys(env), "TERM", "COLORTERM", "MISE_TRUSTED_CONFIG_PATHS"], registry === undefined ? srtArgv2(options.srtCommand ?? pinnedSrtCommand2(), settingsFile, harnessArgv) : srtStepArgv2(options.srtStepCommand ?? pinnedSrtStepCommand2(), settingsFile, registry.file, harnessArgv)),
4836
4904
  env,
4837
4905
  registry
4838
4906
  };
@@ -5009,6 +5077,9 @@ var runAttempt = (request, options) => gen(function* () {
5009
5077
  const prompt = setupPromptOn(shown, adapter.id);
5010
5078
  if (prompt !== undefined)
5011
5079
  return ended("launch_timeout")(setupPromptFailure(shown, prompt));
5080
+ const asked = promptAsked(shown);
5081
+ if (asked !== undefined)
5082
+ return ended("launch_timeout")(failed("harness_interactive_prompt", `The Harness stopped at a prompt before it started: ${asked.slice(-blockedScreenChars)} Kitman does not answer it, so set up the Runner's machine so that it is not asked.`));
5012
5083
  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)}`}`));
5013
5084
  }
5014
5085
  if (ready.value.end !== undefined)
@@ -6063,7 +6134,7 @@ function runReplica(control, executor, signals) {
6063
6134
  completed = tokens === undefined && ranModel === undefined;
6064
6135
  return { status: "completed", workUnitId: work.id };
6065
6136
  }
6066
- if (outcome.status !== "failed" || outcome.harnessHold?.reason !== "failed_to_start") {
6137
+ if (outcome.status !== "failed" || outcome.harnessHold?.reason !== "failed_to_start" && outcome.harnessStarted !== false) {
6067
6138
  tokens = "tokens" in outcome ? outcome.tokens : undefined;
6068
6139
  ranModel = "ranModel" in outcome ? outcome.ranModel : undefined;
6069
6140
  }
@@ -7973,6 +8044,7 @@ ${afterMergeFailed}`];
7973
8044
  status: ran.status,
7974
8045
  failureSummary: harnessErrorSaid === undefined || ran.summary.length + recordedWhy.length > loopSafeTextMaxLength ? ran.summary : `${ran.summary}${recordedWhy}`,
7975
8046
  ..."harnessHold" in ran && ran.harnessHold !== undefined ? { harnessHold: ran.harnessHold } : undefined,
8047
+ ..."harnessStarted" in ran && ran.harnessStarted === false ? { harnessStarted: false } : undefined,
7976
8048
  ..."restart" in ran && ran.restart !== undefined ? { restart: ran.restart } : undefined,
7977
8049
  ...spent
7978
8050
  };
@@ -8001,7 +8073,7 @@ ${afterMergeFailed}`];
8001
8073
  return yield* deliver(work.branch, spent);
8002
8074
  }).pipe(scoped);
8003
8075
  var agentStepExecutor = (input) => stepAttempt(input, new Map);
8004
- var failedToStart = (ran) => ran.status === "failed" && ran.harnessHold?.reason === "failed_to_start";
8076
+ var failedToStart = (ran) => ran.status === "failed" && (ran.harnessHold?.reason === "failed_to_start" || ran.harnessStarted === false);
8005
8077
  var checkpointRef = (work) => `refs/kitman/checkpoints/${work.runId}/${work.id}`;
8006
8078
 
8007
8079
  // packages/agent-runtime/src/herdr-executor.ts
@@ -8612,7 +8684,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
8612
8684
  return {
8613
8685
  request: (method, params) => gen(function* () {
8614
8686
  const id = ++lastId;
8615
- const deferred = yield* make16();
8687
+ const deferred = yield* make15();
8616
8688
  pending.set(id, deferred);
8617
8689
  yield* send({ id, method, params });
8618
8690
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -8755,7 +8827,7 @@ var kitmanMcpPreflight = (mcp) => gen(function* () {
8755
8827
  const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
8756
8828
  extendEnv: true,
8757
8829
  env: mcp.env,
8758
- stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
8830
+ stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
8759
8831
  stderr: "ignore"
8760
8832
  }));
8761
8833
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -8829,7 +8901,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
8829
8901
  const exitCode = sandbox === undefined ? yield* gen(function* () {
8830
8902
  const spawner = yield* ChildProcessSpawner;
8831
8903
  const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
8832
- stdin: make11(new TextEncoder().encode(stdin)),
8904
+ stdin: make10(new TextEncoder().encode(stdin)),
8833
8905
  stdout: "inherit",
8834
8906
  stderr: "inherit",
8835
8907
  extendEnv: false,
@@ -10420,6 +10492,7 @@ export {
10420
10492
  probeSandboxHost,
10421
10493
  procProcessTable,
10422
10494
  programProcessExecutor,
10495
+ promptAsked,
10423
10496
  providerKeyHosts,
10424
10497
  psProcessTable,
10425
10498
  publishedPort,
@@ -10489,6 +10562,7 @@ export {
10489
10562
  verificationExecutor,
10490
10563
  verificationPermits,
10491
10564
  withCopyableLogin,
10565
+ withMiseTrust,
10492
10566
  withOnlyEnvironment2 as withOnlyEnvironment,
10493
10567
  withSourceResolutionCache2 as withSourceResolutionCache,
10494
10568
  withoutPreloads2 as withoutPreloads,
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-ks3atmhw.js";
7
+ } from "./chunk-v2pk0b62.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -12,7 +12,7 @@ import {
12
12
  empty3,
13
13
  add,
14
14
  getOrUndefined2,
15
- get4,
15
+ get3,
16
16
  merge3,
17
17
  Reference,
18
18
  fromInputUnsafe,
@@ -138,7 +138,7 @@ import {
138
138
  toJsonSchemaDocument,
139
139
  toCodecJson,
140
140
  Json
141
- } from "./chunk-bqbfyqx6.js";
141
+ } from "./chunk-b4td2pgc.js";
142
142
  import {
143
143
  WebCrypto,
144
144
  makeUnsafe,
@@ -175,24 +175,24 @@ import {
175
175
  StepManifest,
176
176
  KitSetup,
177
177
  RunnerRpcError
178
- } from "./chunk-cdy7x0em.js";
178
+ } from "./chunk-f7qdzedh.js";
179
+ import {
180
+ guard,
181
+ Id,
182
+ Timestamp,
183
+ ActorType
184
+ } from "./chunk-qndcafax.js";
179
185
  import {
180
186
  currentTimeMillis,
181
187
  getCurrent,
182
188
  runForEach,
183
189
  FileSystem
184
- } from "./chunk-etrfc5cn.js";
190
+ } from "./chunk-sasjamqz.js";
185
191
  import {
186
192
  splitQuestionOptions,
187
193
  recommendationProblem,
188
194
  questionAdvice
189
- } from "./chunk-98azvx6g.js";
190
- import {
191
- guard,
192
- Id,
193
- Timestamp,
194
- ActorType
195
- } from "./chunk-ea29sbaq.js";
195
+ } from "./chunk-tpmyf5mk.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 = get4(context, InstanceTag);
772
+ const instance = get3(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 === "" || get4(activity.annotations, ActivityNamed))
1423
+ if (scope === "" || get3(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
  })
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-mj6q3n5b.js";
8
- import"./chunk-pzq0b1k9.js";
9
- import"./chunk-cdy7x0em.js";
10
- import"./chunk-ea29sbaq.js";
11
- import"./chunk-etrfc5cn.js";
12
- import"./chunk-bqbfyqx6.js";
7
+ } from "./chunk-amnctk9f.js";
8
+ import"./chunk-j4s7r8hg.js";
9
+ import"./chunk-f7qdzedh.js";
10
+ import"./chunk-qndcafax.js";
11
+ import"./chunk-sasjamqz.js";
12
+ import"./chunk-b4td2pgc.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
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-ns26fbmk.js");
8
+ const { runSrtCli } = await import("./chunk-drw8m50d.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
- const { runSrtStep } = await import("./chunk-d4vhrja4.js");
11
+ const { runSrtStep } = await import("./chunk-hfy8nmat.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-hgvft7vy.js");
14
+ const { runOpencodeReader } = await import("./chunk-pz7s0apf.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-ykskj5gq.js");
17
+ const { runCli } = await import("./chunk-5rvn8bah.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.40.0",
3
+ "version": "0.41.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "bin": {