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

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.
package/dist/bin/cli.js CHANGED
@@ -1193,7 +1193,12 @@ async function tryStartLitellm(url, projectDir, generatedConfig) {
1193
1193
  const child = spawn3(cmd, args2, {
1194
1194
  stdio: ["ignore", "pipe", "pipe"],
1195
1195
  detached: true,
1196
- env: { ...process.env, ...dotenvVars }
1196
+ env: {
1197
+ ...process.env,
1198
+ ...dotenvVars,
1199
+ // Disable LiteLLM's Prisma DB for virtual keys/spend tracking — not needed for proxy-only mode
1200
+ STORE_MODEL_IN_DB: "false"
1201
+ }
1197
1202
  });
1198
1203
  let proxyStderr = "";
1199
1204
  child.stderr?.on("data", (chunk) => {
@@ -5373,8 +5378,14 @@ async function executeAgentStage(ctx, def) {
5373
5378
  if (ds && devServerStages.includes(def.name) && taskHasUI(ctx.taskDir)) {
5374
5379
  logger.info(` Starting dev server: ${ds.command}`);
5375
5380
  const envVars = {};
5376
- for (const varName of ds.env ?? []) {
5377
- if (process.env[varName]) envVars[varName] = process.env[varName];
5381
+ if (ds.env && ds.env.length > 0) {
5382
+ for (const varName of ds.env) {
5383
+ if (process.env[varName]) envVars[varName] = process.env[varName];
5384
+ }
5385
+ } else {
5386
+ for (const [k, v] of Object.entries(process.env)) {
5387
+ if (v !== void 0) envVars[k] = v;
5388
+ }
5378
5389
  }
5379
5390
  devServerHandle = await startDevServer({
5380
5391
  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.145",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -161,7 +161,7 @@ jobs:
161
161
  run: npm install -g @anthropic-ai/claude-code
162
162
 
163
163
  - name: Install LiteLLM proxy
164
- run: pip install 'litellm[proxy]'
164
+ run: pip install 'litellm[proxy]' prisma
165
165
 
166
166
  - name: Configure git
167
167
  run: |