@kody-ade/kody-engine-lite 0.1.143 → 0.1.144

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/cli.js +8 -2
  2. package/package.json +1 -1
package/dist/bin/cli.js CHANGED
@@ -5373,8 +5373,14 @@ async function executeAgentStage(ctx, def) {
5373
5373
  if (ds && devServerStages.includes(def.name) && taskHasUI(ctx.taskDir)) {
5374
5374
  logger.info(` Starting dev server: ${ds.command}`);
5375
5375
  const envVars = {};
5376
- for (const varName of ds.env ?? []) {
5377
- if (process.env[varName]) envVars[varName] = process.env[varName];
5376
+ if (ds.env && ds.env.length > 0) {
5377
+ for (const varName of ds.env) {
5378
+ if (process.env[varName]) envVars[varName] = process.env[varName];
5379
+ }
5380
+ } else {
5381
+ for (const [k, v] of Object.entries(process.env)) {
5382
+ if (v !== void 0) envVars[k] = v;
5383
+ }
5378
5384
  }
5379
5385
  devServerHandle = await startDevServer({
5380
5386
  command: ds.command,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.143",
3
+ "version": "0.1.144",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",