@kody-ade/kody-engine 0.4.235 → 0.4.237

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 +22 -11
  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.235",
18
+ version: "0.4.237",
19
19
  description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
20
20
  license: "MIT",
21
21
  type: "module",
@@ -16562,14 +16562,15 @@ function dispatchScheduledWatches(opts) {
16562
16562
  }
16563
16563
  }
16564
16564
  const route = resolveConfiguredAction(exe.name);
16565
- if (!route) {
16566
- process.stderr.write(
16567
- `[kody] dispatchScheduledWatches: '${exe.name}' is scheduled but has no duty action; skipping
16568
- `
16569
- );
16570
- continue;
16571
- }
16572
- out.push({ ...route, cliArgs: route.cliArgs, target: 0 });
16565
+ out.push(
16566
+ route ? { ...route, cliArgs: route.cliArgs, target: 0 } : {
16567
+ action: exe.name,
16568
+ duty: exe.name,
16569
+ executable: exe.name,
16570
+ cliArgs: {},
16571
+ target: 0
16572
+ }
16573
+ );
16573
16574
  }
16574
16575
  return out;
16575
16576
  }
@@ -16939,7 +16940,17 @@ async function runCi(argv) {
16939
16940
  }
16940
16941
  if (forceRunAction) {
16941
16942
  const config = earlyConfig ?? loadConfig(cwd);
16942
- const route = resolveDutyAction(forceRunAction);
16943
+ const manualGoalManager = forceRunAction === "goal-manager";
16944
+ const dutyRoute = manualGoalManager ? null : resolveDutyAction(forceRunAction);
16945
+ const scheduledWatchRoute = manualGoalManager || dutyRoute ? void 0 : dispatchScheduledWatches({ force: true }).find(
16946
+ (match) => match.action === forceRunAction || match.executable === forceRunAction
16947
+ );
16948
+ const route = manualGoalManager ? {
16949
+ action: "goal-manager",
16950
+ duty: "goal-manager",
16951
+ executable: "goal-manager",
16952
+ cliArgs: forceRunCliArgs
16953
+ } : dutyRoute ?? scheduledWatchRoute;
16943
16954
  if (!route) {
16944
16955
  process.stderr.write(`[kody] manual one-shot action '${forceRunAction}' has no duty action
16945
16956
  `);
@@ -16949,7 +16960,7 @@ async function runCi(argv) {
16949
16960
  process.stderr.write("[kody] manual goal-manager run requires message goal id\n");
16950
16961
  return 64;
16951
16962
  }
16952
- process.stdout.write(`\u2192 kody: manual one-shot run of duty action ${route.action} (${route.duty})
16963
+ process.stdout.write(`\u2192 kody: manual one-shot run action ${route.action} (${route.duty})
16953
16964
 
16954
16965
  `);
16955
16966
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.235",
3
+ "version": "0.4.237",
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",