@kody-ade/kody-engine 0.2.31 → 0.2.32

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.
package/dist/bin/kody2.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.2.31",
6
+ version: "0.2.32",
7
7
  description: "kody2 \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
8
8
  license: "MIT",
9
9
  type: "module",
@@ -1394,6 +1394,11 @@ var commitAndPush2 = async (ctx, profile) => {
1394
1394
  ctx.data.commitResult = { committed: false, pushed: false };
1395
1395
  return;
1396
1396
  }
1397
+ if (ctx.data.agentDone === false) {
1398
+ ctx.data.commitResult = { committed: false, pushed: false, skippedReason: "agentDone=false" };
1399
+ ctx.data.hasCommitsAhead = hasCommitsAhead(branch, ctx.config.git.defaultBranch, ctx.cwd);
1400
+ return;
1401
+ }
1397
1402
  const kind = profile.name;
1398
1403
  if (kind === "resolve") {
1399
1404
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.2.31",
3
+ "version": "0.2.32",
4
4
  "description": "kody2 — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
5
5
  "license": "MIT",
6
6
  "type": "module",