@kody-ade/kody-engine 0.4.327 → 0.4.328

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 +10 -4
  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.327",
18
+ version: "0.4.328",
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",
@@ -19817,6 +19817,12 @@ function lastIndexOfScript(entries, names) {
19817
19817
  }
19818
19818
  async function runExecutableChain(profileName, input) {
19819
19819
  let result = await runExecutable(profileName, input);
19820
+ let chainConfig = input.config;
19821
+ const configForHandoff = () => {
19822
+ if (chainConfig || input.skipConfig) return chainConfig;
19823
+ chainConfig = loadConfig(input.cwd);
19824
+ return chainConfig;
19825
+ };
19820
19826
  let chainData = {
19821
19827
  ...input.preloadedData ?? {},
19822
19828
  ...result.taskState ? { taskState: result.taskState } : {}
@@ -19832,7 +19838,7 @@ async function runExecutableChain(profileName, input) {
19832
19838
  const { runJob: runJob3 } = await Promise.resolve().then(() => (init_job(), job_exports));
19833
19839
  const childResult = await runJob3(next2, {
19834
19840
  cwd: input.cwd,
19835
- config: input.config,
19841
+ config: configForHandoff(),
19836
19842
  verbose: input.verbose,
19837
19843
  quiet: input.quiet,
19838
19844
  preloadedData: chainData
@@ -19857,7 +19863,7 @@ async function runExecutableChain(profileName, input) {
19857
19863
  const { runJob: runJob4 } = await Promise.resolve().then(() => (init_job(), job_exports));
19858
19864
  result = await runJob4(afterJob, {
19859
19865
  cwd: input.cwd,
19860
- config: input.config,
19866
+ config: configForHandoff(),
19861
19867
  verbose: input.verbose,
19862
19868
  quiet: input.quiet,
19863
19869
  preloadedData: chainData
@@ -19891,7 +19897,7 @@ async function runExecutableChain(profileName, input) {
19891
19897
  const { runJob: runJob2 } = await Promise.resolve().then(() => (init_job(), job_exports));
19892
19898
  result = await runJob2(nextJob, {
19893
19899
  cwd: input.cwd,
19894
- config: input.config,
19900
+ config: configForHandoff(),
19895
19901
  verbose: input.verbose,
19896
19902
  quiet: input.quiet,
19897
19903
  preloadedData: chainData
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.327",
3
+ "version": "0.4.328",
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",