@kody-ade/kody-engine 0.3.11 → 0.3.12

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/kody.js +3 -2
  2. package/package.json +1 -1
package/dist/bin/kody.js CHANGED
@@ -3,7 +3,7 @@
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@kody-ade/kody-engine",
6
- version: "0.3.11",
6
+ version: "0.3.12",
7
7
  description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
8
8
  license: "MIT",
9
9
  type: "module",
@@ -2880,7 +2880,7 @@ function ensurePr(opts) {
2880
2880
 
2881
2881
  // src/scripts/ensurePr.ts
2882
2882
  var ensurePr2 = async (ctx) => {
2883
- if (ctx.skipAgent && ctx.output.exitCode !== void 0 && ctx.output.exitCode !== 0) {
2883
+ if (ctx.skipAgent && ctx.output.exitCode !== void 0) {
2884
2884
  return;
2885
2885
  }
2886
2886
  const commitResult = ctx.data.commitResult;
@@ -5631,6 +5631,7 @@ function runShellEntry(entry, ctx, profile) {
5631
5631
  if (stderr) process.stderr.write(stderr);
5632
5632
  if (/^KODY_SKIP_AGENT=true\s*$/m.test(stdout)) {
5633
5633
  ctx.skipAgent = true;
5634
+ if (ctx.output.exitCode === void 0) ctx.output.exitCode = 0;
5634
5635
  }
5635
5636
  const exit = r.status ?? -1;
5636
5637
  if (exit !== 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
5
5
  "license": "MIT",
6
6
  "type": "module",