@kody-ade/kody-engine 0.4.588 → 0.4.589

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 +5 -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.588",
18
+ version: "0.4.589",
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",
@@ -14826,6 +14826,9 @@ function setOutcome(ctx, outcome) {
14826
14826
  ctx.output.prUrl = outcome.url;
14827
14827
  }
14828
14828
  }
14829
+ function shouldSkipPrForPreflight(ctx) {
14830
+ return ctx.skipAgent === true && ctx.output.exitCode !== void 0 && ctx.data.capabilityExecution !== "script";
14831
+ }
14829
14832
  function deliveryCheckpointReason(data) {
14830
14833
  return data.capabilityDeliveryPolicy === "checkpoint" ? "Repository-wide verification is deferred to pull request CI." : "";
14831
14834
  }
@@ -14874,7 +14877,7 @@ var init_ensurePr = __esm({
14874
14877
  "use strict";
14875
14878
  init_pr();
14876
14879
  ensurePr2 = async (ctx) => {
14877
- if (ctx.skipAgent && ctx.output.exitCode !== void 0) {
14880
+ if (shouldSkipPrForPreflight(ctx)) {
14878
14881
  setOutcome(ctx, { kind: "skipped", reason: "preflight short-circuited (skipAgent)" });
14879
14882
  return;
14880
14883
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.588",
3
+ "version": "0.4.589",
4
4
  "description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
5
5
  "license": "MIT",
6
6
  "type": "module",