@kody-ade/kody-engine 0.4.635 → 0.4.636

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 +8 -3
  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.635",
18
+ version: "0.4.636",
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
  repository: {
@@ -21296,19 +21296,24 @@ var init_saveLiveAgentState = __esm({
21296
21296
  const repo = ctx.config.github?.repo?.trim() || envRepo;
21297
21297
  if (!owner || !repo) throw new Error("Repository identity is required for live Agent state");
21298
21298
  const summary = (agentResult?.finalText ?? "").trim().slice(0, 1e3);
21299
+ const output = {
21300
+ cursor: next.cursor,
21301
+ data: next.data && typeof next.data === "object" ? next.data : {}
21302
+ };
21299
21303
  await createStateBackendFromEnv().saveAgentState(
21300
21304
  `${owner}/${repo}`,
21301
21305
  {
21302
21306
  version: 1,
21303
21307
  agent,
21304
21308
  revision: previousRevision + 1,
21305
- cursor: next.cursor,
21309
+ cursor: output.cursor,
21306
21310
  summary,
21307
- data: next.data && typeof next.data === "object" ? next.data : {},
21311
+ data: output.data,
21308
21312
  updatedAt: (/* @__PURE__ */ new Date()).toISOString()
21309
21313
  },
21310
21314
  previousRevision
21311
21315
  );
21316
+ ctx.data.capabilityOutput = output;
21312
21317
  };
21313
21318
  }
21314
21319
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.635",
3
+ "version": "0.4.636",
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
  "repository": {