@kody-ade/kody-engine-lite 0.1.149 → 0.1.150

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
@@ -5231,7 +5231,7 @@ function getDevServerInfo(taskDir) {
5231
5231
  command: ds.command,
5232
5232
  url: ds.url,
5233
5233
  readyPattern: ds.readyPattern ?? "Ready in|compiled|started server|Local:",
5234
- readyTimeout: ds.readyTimeout ?? 30
5234
+ readyTimeout: ds.readyTimeout ?? 180
5235
5235
  };
5236
5236
  }
5237
5237
  function getBrowserToolGuidance(stageName, taskDir) {
@@ -5521,7 +5521,7 @@ async function waitForReady(url, timeoutSec, stdoutMatch) {
5521
5521
  return false;
5522
5522
  }
5523
5523
  async function startDevServer(opts) {
5524
- const timeout = opts.readyTimeout ?? 60;
5524
+ const timeout = opts.readyTimeout ?? 180;
5525
5525
  const patternStr = opts.readyPattern ?? DEFAULT_READY_PATTERN;
5526
5526
  const pattern = new RegExp(patternStr, "i");
5527
5527
  const useStdoutDetection = Boolean(opts.readyPattern);
@@ -5665,7 +5665,7 @@ async function executeAgentStage(ctx, def) {
5665
5665
  devServerHandle = await startDevServer({
5666
5666
  command: ds.command,
5667
5667
  url: ds.url,
5668
- readyTimeout: ds.readyTimeout ?? 60,
5668
+ readyTimeout: ds.readyTimeout ?? 180,
5669
5669
  readyPattern: ds.readyPattern ?? "Ready in|compiled|started server|Local:|localhost:",
5670
5670
  envVars
5671
5671
  });
@@ -262,7 +262,7 @@
262
262
  },
263
263
  "readyTimeout": {
264
264
  "type": "number",
265
- "description": "Seconds to wait for the server to be ready. Default: 30"
265
+ "description": "Seconds to wait for the server to be ready. Default: 180"
266
266
  },
267
267
  "env": {
268
268
  "type": "array",
@@ -294,7 +294,7 @@
294
294
  },
295
295
  "readyTimeout": {
296
296
  "type": "number",
297
- "description": "Seconds to wait for the server to be ready. Default: 30"
297
+ "description": "Seconds to wait for the server to be ready. Default: 180"
298
298
  },
299
299
  "env": {
300
300
  "type": "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.149",
3
+ "version": "0.1.150",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -13,6 +13,14 @@
13
13
  "templates",
14
14
  "kody.config.schema.json"
15
15
  ],
16
+ "scripts": {
17
+ "kody": "tsx src/entry.ts",
18
+ "build": "tsup",
19
+ "test": "vitest run",
20
+ "typecheck": "tsc --noEmit",
21
+ "prepublishOnly": "pnpm build",
22
+ "release": "npm publish --access public && bash scripts/wait-for-npm.sh"
23
+ },
16
24
  "dependencies": {
17
25
  "dotenv": "^16.4.7",
18
26
  "yaml": "^2.8.3"
@@ -26,12 +34,5 @@
26
34
  },
27
35
  "engines": {
28
36
  "node": ">=22"
29
- },
30
- "scripts": {
31
- "kody": "tsx src/entry.ts",
32
- "build": "tsup",
33
- "test": "vitest run",
34
- "typecheck": "tsc --noEmit",
35
- "release": "npm publish --access public && bash scripts/wait-for-npm.sh"
36
37
  }
37
- }
38
+ }
@@ -181,6 +181,11 @@ jobs:
181
181
  echo "${DELIM}" >> $GITHUB_ENV
182
182
  done
183
183
 
184
+ - name: Warm up Next.js build cache
185
+ continue-on-error: true
186
+ run: npx next build 2>/dev/null || true
187
+ timeout-minutes: 15
188
+
184
189
  - name: Run Kody pipeline
185
190
  env:
186
191
  GH_TOKEN: ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }}