@kody-ade/kody-engine 0.4.4 → 0.4.5
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 +4 -4
- package/package.json +1 -1
package/dist/bin/kody.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@kody-ade/kody-engine",
|
|
6
|
-
version: "0.4.
|
|
6
|
+
version: "0.4.5",
|
|
7
7
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
8
8
|
license: "MIT",
|
|
9
9
|
type: "module",
|
|
@@ -5583,9 +5583,9 @@ var parseAgentResult2 = async (ctx, profile, agentResult) => {
|
|
|
5583
5583
|
commitMessage: parsed.commitMessage
|
|
5584
5584
|
});
|
|
5585
5585
|
} else {
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
});
|
|
5586
|
+
const isGenericNoOutput = parsed.failureReason === "agent produced no final message";
|
|
5587
|
+
const reason = isGenericNoOutput && agentResult.error ? `agent SDK error: ${agentResult.error}` : parsed.failureReason || agentResult.error || "unknown failure";
|
|
5588
|
+
ctx.data.action = makeAction2(`${modeSeg}_FAILED`, { reason });
|
|
5589
5589
|
}
|
|
5590
5590
|
};
|
|
5591
5591
|
function makeAction2(type, payload) {
|
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.5",
|
|
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",
|