@kody-ade/kody-engine 0.4.129 → 0.4.130

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 +7 -3
  2. package/package.json +1 -1
package/dist/bin/kody.js CHANGED
@@ -880,7 +880,7 @@ var init_loadPriorArt = __esm({
880
880
  // package.json
881
881
  var package_default = {
882
882
  name: "@kody-ade/kody-engine",
883
- version: "0.4.129",
883
+ version: "0.4.130",
884
884
  description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
885
885
  license: "MIT",
886
886
  type: "module",
@@ -12073,7 +12073,7 @@ var writeIssueStateComment = async (ctx, _profile, _agentResult, args) => {
12073
12073
  };
12074
12074
 
12075
12075
  // src/scripts/writeJobStateFile.ts
12076
- var writeJobStateFile = async (ctx, _profile, _agentResult, args) => {
12076
+ var writeJobStateFile = async (ctx, _profile, agentResult, args) => {
12077
12077
  const parseError = ctx.data.nextStateParseError;
12078
12078
  if (parseError) {
12079
12079
  process.stderr.write(`[kody] job state write skipped: ${parseError}
@@ -12094,7 +12094,11 @@ var writeJobStateFile = async (ctx, _profile, _agentResult, args) => {
12094
12094
  ...next,
12095
12095
  data: {
12096
12096
  ...next.data,
12097
- lastFiredAt: (/* @__PURE__ */ new Date()).toISOString()
12097
+ lastFiredAt: (/* @__PURE__ */ new Date()).toISOString(),
12098
+ ...agentResult ? {
12099
+ lastOutcome: agentResult.outcome,
12100
+ lastDurationMs: agentResult.durationMs ?? null
12101
+ } : {}
12098
12102
  }
12099
12103
  };
12100
12104
  const jobsDir = String(args?.jobsDir ?? ".kody/duties");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.129",
3
+ "version": "0.4.130",
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",