@kody-ade/kody-engine 0.4.452 → 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.
Files changed (2) hide show
  1. package/dist/bin/kody.js +11 -10
  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.452",
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,22 +17121,23 @@ 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
- const failure = {
17125
- status: "failed",
17126
- summary: "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
17127
17129
  };
17128
- ctx.output.exitCode = 64;
17129
- ctx.output.reason = failure.summary;
17130
- ctx.data.capabilityOutput = failure;
17130
+ ctx.output.reason = reason2;
17131
+ ctx.data.capabilityOutput = blocked;
17131
17132
  ctx.data.capabilityResults = [
17132
17133
  {
17133
17134
  version: 1,
17134
17135
  status: "blocked",
17135
- summary: failure.summary,
17136
- facts: failure,
17136
+ summary: reason2,
17137
+ facts: blocked,
17137
17138
  artifacts: [],
17138
17139
  missingEvidence: [],
17139
- blockers: [failure.summary]
17140
+ blockers: [reason2]
17140
17141
  }
17141
17142
  ];
17142
17143
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.452",
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",