@kody-ade/kody-engine 0.4.539 → 0.4.540

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 +10 -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.539",
18
+ version: "0.4.540",
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",
@@ -18461,7 +18461,15 @@ var init_requireDeliveryArtifacts = __esm({
18461
18461
  if (ctx.data.agentDone !== true) return;
18462
18462
  const commitResult = ctx.data.commitResult;
18463
18463
  const hasCommits = ctx.data.hasCommitsAhead === true;
18464
- if (!commitResult?.committed && !hasCommits) return;
18464
+ if (!commitResult?.committed && !hasCommits) {
18465
+ if (ctx.data.jobDelivery === "pull-request") {
18466
+ const reason2 = "pull-request delivery produced no commit";
18467
+ ctx.data.agentFailureReason = reason2;
18468
+ ctx.output.exitCode = 4;
18469
+ ctx.output.reason = reason2;
18470
+ }
18471
+ return;
18472
+ }
18465
18473
  const commitMessage = String(ctx.data.commitMessage ?? "").trim();
18466
18474
  const prSummary = String(ctx.data.prSummary ?? "").trim();
18467
18475
  const missing = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.539",
3
+ "version": "0.4.540",
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",