@kody-ade/kody-engine 0.4.310 → 0.4.311
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
|
@@ -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.311",
|
|
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",
|
|
@@ -3494,9 +3494,9 @@ async function runAgent(opts) {
|
|
|
3494
3494
|
errorMessage2 = "Claude Code reported it is not logged in; refusing to mark agent run successful";
|
|
3495
3495
|
}
|
|
3496
3496
|
if (outcome === "completed" && !sawMutatingTool) {
|
|
3497
|
-
const
|
|
3498
|
-
|
|
3499
|
-
|
|
3497
|
+
const hasUsefulSuccess = tokens.output > 0 || finalText !== "" || Boolean(getSubmitted?.());
|
|
3498
|
+
if (!hasUsefulSuccess) {
|
|
3499
|
+
const backendDead = opts.isBackendHealthy ? !await opts.isBackendHealthy() : false;
|
|
3500
3500
|
outcome = "failed";
|
|
3501
3501
|
outcomeKind = "model_error";
|
|
3502
3502
|
noWorkSuccess = true;
|
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.311",
|
|
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",
|