@kody-ade/kody-engine 0.4.419 → 0.4.420

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 -7
  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.419",
18
+ version: "0.4.420",
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",
@@ -20659,7 +20659,7 @@ async function runImplementation(profileName, input) {
20659
20659
  `);
20660
20660
  return out;
20661
20661
  };
20662
- const resolved = loadRunnableProfile(profileName);
20662
+ const resolved = loadRunnableProfile(profileName, input.cwd);
20663
20663
  const { profilePath, profile, missing } = resolved;
20664
20664
  if (missing.length > 0) {
20665
20665
  return finishAndEnd({
@@ -21233,8 +21233,8 @@ function clearStampedLifecycleLabels(profile, ctx) {
21233
21233
  }
21234
21234
  }
21235
21235
  }
21236
- function resolveProfilePath(profileName) {
21237
- const found = resolveImplementation(profileName);
21236
+ function resolveProfilePath(profileName, cwd = process.cwd()) {
21237
+ const found = resolveImplementation(profileName, getImplementationRootsForCwd(cwd));
21238
21238
  if (found) return found;
21239
21239
  const here = path45.dirname(new URL(import.meta.url).pathname);
21240
21240
  const candidates = [
@@ -21250,8 +21250,11 @@ function resolveProfilePath(profileName) {
21250
21250
  }
21251
21251
  return candidates[0];
21252
21252
  }
21253
- function loadRunnableProfile(profileName) {
21254
- const candidates = resolveImplementationCandidates(profileName);
21253
+ function loadRunnableProfile(profileName, cwd) {
21254
+ const candidates = resolveImplementationCandidates(
21255
+ profileName,
21256
+ getImplementationRootsForCwd(cwd)
21257
+ );
21255
21258
  const skipped = [];
21256
21259
  for (const profilePath2 of candidates) {
21257
21260
  const profile2 = loadProfile(profilePath2);
@@ -24012,6 +24015,7 @@ function coerceBare(spec, value) {
24012
24015
  }
24013
24016
 
24014
24017
  // src/kody-cli.ts
24018
+ init_definition_paths();
24015
24019
  init_gha();
24016
24020
  init_issue();
24017
24021
  init_job();
@@ -24465,7 +24469,7 @@ async function runCi(argv) {
24465
24469
  if (forceRunAction) {
24466
24470
  const config = earlyConfig ?? loadConfig(cwd);
24467
24471
  const manualGoalManager = forceRunAction === "goal-manager";
24468
- const capabilityRoute = manualGoalManager ? null : resolveCapabilityAction(forceRunAction);
24472
+ const capabilityRoute = manualGoalManager ? null : resolveCapabilityAction(forceRunAction, capabilitiesRoot(cwd));
24469
24473
  const workflowRoute = manualGoalManager || capabilityRoute || !readWorkflowDefinition(config, cwd, forceRunAction) ? void 0 : {
24470
24474
  workflow: forceRunAction,
24471
24475
  cliArgs: {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.419",
3
+ "version": "0.4.420",
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",