@kody-ade/kody-engine 0.4.391 → 0.4.392
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/kody.js +7 -13
- 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.
|
|
18
|
+
version: "0.4.391",
|
|
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",
|
|
@@ -17828,22 +17828,16 @@ var init_requireDeliveryArtifacts = __esm({
|
|
|
17828
17828
|
if (!prSummary) missing.push("PR_SUMMARY");
|
|
17829
17829
|
if (missing.length === 0) return;
|
|
17830
17830
|
const reason = `agent omitted required delivery artifacts: ${missing.join(", ")}`;
|
|
17831
|
-
ctx.
|
|
17832
|
-
ctx.data.
|
|
17833
|
-
ctx.data.agentMissingArtifacts = missing;
|
|
17834
|
-
ctx.data.agentFailureReason = reason;
|
|
17831
|
+
const target = typeof ctx.args.issue === "number" ? `issue #${ctx.args.issue}` : typeof ctx.args.pr === "number" ? `PR #${ctx.args.pr}` : "task";
|
|
17832
|
+
if (!commitMessage) ctx.data.commitMessage = `chore: update ${target}`;
|
|
17835
17833
|
if (!prSummary) {
|
|
17836
17834
|
const fallback = fallbackSummary(String(ctx.data.agentFinalText ?? ""));
|
|
17835
|
+
ctx.data.prSummary = fallback || `Automated changes for ${target}.`;
|
|
17837
17836
|
if (fallback) ctx.data.agentFallbackSummary = fallback;
|
|
17838
17837
|
}
|
|
17839
|
-
|
|
17840
|
-
|
|
17841
|
-
|
|
17842
|
-
type: action.type.replace(/_COMPLETED$/, "_FAILED"),
|
|
17843
|
-
payload: { reason, downgradedFrom: action.type },
|
|
17844
|
-
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
17845
|
-
};
|
|
17846
|
-
}
|
|
17838
|
+
ctx.data.agentResultIncomplete = true;
|
|
17839
|
+
ctx.data.agentMissingArtifacts = missing;
|
|
17840
|
+
ctx.data.agentFailureReason = reason;
|
|
17847
17841
|
};
|
|
17848
17842
|
}
|
|
17849
17843
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kody-ade/kody-engine",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.392",
|
|
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",
|