@kody-ade/kody-engine-lite 0.1.31 → 0.1.33

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 (2) hide show
  1. package/dist/bin/cli.js +4 -1
  2. package/package.json +1 -1
package/dist/bin/cli.js CHANGED
@@ -70,10 +70,11 @@ async function runSubprocess(command2, args2, prompt, timeout, options) {
70
70
  if (code === 0) {
71
71
  return { outcome: "completed", output: stdout };
72
72
  }
73
+ const errDetail = stderr.slice(-STDERR_TAIL_CHARS) || stdout.slice(-STDERR_TAIL_CHARS);
73
74
  return {
74
75
  outcome: code === null ? "timed_out" : "failed",
75
76
  error: `Exit code ${code}
76
- ${stderr.slice(-STDERR_TAIL_CHARS)}`
77
+ ${errDetail}`
77
78
  };
78
79
  }
79
80
  function checkCommand(command2, args2) {
@@ -2722,6 +2723,8 @@ Artifacts in ${taskDir}:`);
2722
2723
  }
2723
2724
  process.exit(1);
2724
2725
  }
2726
+ cleanupLitellm();
2727
+ process.exit(0);
2725
2728
  }
2726
2729
  var init_entry = __esm({
2727
2730
  "src/entry.ts"() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.31",
3
+ "version": "0.1.33",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",