@kody-ade/kody-engine 0.4.451 → 0.4.453

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 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.451",
18
+ version: "0.4.453",
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",
@@ -17121,8 +17121,25 @@ var init_parseSimpleCapabilityOutput = __esm({
17121
17121
  parseSimpleCapabilityOutput = async (ctx, _profile, agentResult) => {
17122
17122
  const output = parseOutput(agentResult?.finalText);
17123
17123
  if (output === void 0) {
17124
- ctx.output.exitCode = 64;
17125
- ctx.output.reason = "simple capability did not return one JSON value";
17124
+ const reason2 = agentResult?.outcomeKind === "out_of_turns" ? "Capability execution limit reached" : "Capability execution ended before returning a result";
17125
+ const blocked = {
17126
+ status: "blocked",
17127
+ reason: reason2,
17128
+ summary: reason2
17129
+ };
17130
+ ctx.output.reason = reason2;
17131
+ ctx.data.capabilityOutput = blocked;
17132
+ ctx.data.capabilityResults = [
17133
+ {
17134
+ version: 1,
17135
+ status: "blocked",
17136
+ summary: reason2,
17137
+ facts: blocked,
17138
+ artifacts: [],
17139
+ missingEvidence: [],
17140
+ blockers: [reason2]
17141
+ }
17142
+ ];
17126
17143
  return;
17127
17144
  }
17128
17145
  ctx.data.capabilityOutput = output;
@@ -23,7 +23,7 @@
23
23
  "claudeCode": {
24
24
  "model": "inherit",
25
25
  "permissionMode": "default",
26
- "maxTurns": null,
26
+ "maxTurns": 60,
27
27
  "maxThinkingTokens": null,
28
28
  "systemPromptAppend": null,
29
29
  "tools": ["Read", "Bash"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.451",
3
+ "version": "0.4.453",
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",