@kody-ade/kody-engine 0.4.140 → 0.4.142

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.
@@ -11,6 +11,13 @@ set -euo pipefail
11
11
 
12
12
  goals_dir=".kody/goals"
13
13
 
14
+ # Goal state lives on the dedicated `kody-state` branch, not the default branch
15
+ # (keeps `chore(goals): …` churn out of code history). Materialize it into the
16
+ # working tree so the glob below sees current state. Best-effort: `kody-state`
17
+ # may not exist yet, or carry no goals — both fall through to the checks below.
18
+ git fetch origin kody-state --quiet 2>/dev/null || true
19
+ git checkout origin/kody-state -- "$goals_dir" 2>/dev/null || true
20
+
14
21
  if [ ! -d "$goals_dir" ]; then
15
22
  echo "[goal-scheduler] no $goals_dir — nothing to schedule"
16
23
  echo "KODY_SKIP_AGENT=true"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.140",
3
+ "version": "0.4.142",
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",