@kody-ade/kody-engine 0.4.543 → 0.4.545

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 +9 -2
  2. package/package.json +1 -1
package/dist/bin/kody.js CHANGED
@@ -15,7 +15,7 @@ var init_package = __esm({
15
15
  "package.json"() {
16
16
  package_default = {
17
17
  name: "@kody-ade/kody-engine",
18
- version: "0.4.543",
18
+ version: "0.4.545",
19
19
  description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
20
20
  license: "MIT",
21
21
  type: "module",
@@ -17430,6 +17430,13 @@ var init_postIssueComment = __esm({
17430
17430
  if (!commitResult?.committed && !hasCommits) {
17431
17431
  const specific = computeFailureReason2(ctx);
17432
17432
  if (specific.length === 0) {
17433
+ if ((ctx.output.exitCode ?? 0) !== 0) {
17434
+ const reason3 = ctx.output.reason || "delivery failed before producing a commit";
17435
+ postWith(targetType, targetNumber, `\u26A0\uFE0F kody FAILED: ${truncate2(reason3, 1500)}`, ctx.cwd);
17436
+ markRunFailed(ctx);
17437
+ ctx.output.reason = reason3;
17438
+ return;
17439
+ }
17433
17440
  const reason2 = "work already satisfied; no PR needed";
17434
17441
  setDeliveryNotRequired(ctx.data, reason2);
17435
17442
  postWith(targetType, targetNumber, `\u2139\uFE0F kody made no changes \u2014 ${reason2}`, ctx.cwd);
@@ -17887,7 +17894,7 @@ var init_prepareCapabilityDelivery = __esm({
17887
17894
  await runFlow(ctx, profile);
17888
17895
  return;
17889
17896
  }
17890
- checkoutPrBranch(target.number, ctx.cwd);
17897
+ ctx.data.branch = checkoutPrBranch(target.number, ctx.cwd);
17891
17898
  ctx.data.commentTargetType = "pr";
17892
17899
  ctx.data.commentTargetNumber = target.number;
17893
17900
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.543",
3
+ "version": "0.4.545",
4
4
  "description": "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
5
5
  "license": "MIT",
6
6
  "type": "module",