@kody-ade/kody-engine 0.4.325 → 0.4.326

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 +4 -4
  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.325",
18
+ version: "0.4.326",
19
19
  description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
20
20
  license: "MIT",
21
21
  type: "module",
@@ -6549,8 +6549,8 @@ function isRunSubjectType(value) {
6549
6549
  return value === "goal" || value === "loop" || value === "workflow";
6550
6550
  }
6551
6551
  function normalizeRunIndexRow(row) {
6552
- if (row.status === "running" && (row.decision?.toLowerCase().startsWith("dispatch") || row.summary?.toLowerCase().startsWith("dispatch") || row.currentStep?.toLowerCase().includes("dispatch"))) {
6553
- return { ...row, status: "waiting" };
6552
+ if ((row.status === "running" || row.status === "waiting") && (row.decision?.toLowerCase().startsWith("dispatch") || row.summary?.toLowerCase().startsWith("dispatch") || row.currentStep?.toLowerCase().includes("dispatch"))) {
6553
+ return { ...row, status: "success" };
6554
6554
  }
6555
6555
  return row;
6556
6556
  }
@@ -6566,7 +6566,7 @@ function statusFromGoalEvent(event, decision) {
6566
6566
  if (status === "failure" || status === "failed" || eventName.includes("fail")) return "failed";
6567
6567
  if (status === "cancelled") return "cancelled";
6568
6568
  if (decisionKind === "blocked") return "blocked";
6569
- if (status === "dispatch" || decisionKind === "dispatch" || eventName.includes("dispatch")) return "waiting";
6569
+ if (status === "dispatch" || decisionKind === "dispatch" || eventName.includes("dispatch")) return "success";
6570
6570
  if (status === "running") return "running";
6571
6571
  return "recorded";
6572
6572
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.325",
3
+ "version": "0.4.326",
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",