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

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
@@ -5653,14 +5653,8 @@ async function executeAgentStage(ctx, def) {
5653
5653
  if (ds && devServerStages.includes(def.name) && taskHasUI(ctx.taskDir)) {
5654
5654
  logger.info(` Starting dev server: ${ds.command}`);
5655
5655
  const envVars = {};
5656
- if (ds.env && ds.env.length > 0) {
5657
- for (const varName of ds.env) {
5658
- if (process.env[varName]) envVars[varName] = process.env[varName];
5659
- }
5660
- } else {
5661
- for (const [k, v] of Object.entries(process.env)) {
5662
- if (v !== void 0) envVars[k] = v;
5663
- }
5656
+ for (const [k, v] of Object.entries(process.env)) {
5657
+ if (v !== void 0) envVars[k] = v;
5664
5658
  }
5665
5659
  devServerHandle = await startDevServer({
5666
5660
  command: ds.command,
@@ -263,11 +263,6 @@
263
263
  "readyTimeout": {
264
264
  "type": "number",
265
265
  "description": "Seconds to wait for the server to be ready. Default: 180"
266
- },
267
- "env": {
268
- "type": "array",
269
- "items": { "type": "string" },
270
- "description": "List of GitHub secret names to forward as environment variables for the dev server process (e.g., ['BLOB_READ_WRITE_TOKEN', 'DATABASE_URL']). These are injected into the workflow env block during 'kody init'."
271
266
  }
272
267
  },
273
268
  "required": ["command", "url"]
@@ -295,11 +290,6 @@
295
290
  "readyTimeout": {
296
291
  "type": "number",
297
292
  "description": "Seconds to wait for the server to be ready. Default: 180"
298
- },
299
- "env": {
300
- "type": "array",
301
- "items": { "type": "string" },
302
- "description": "List of GitHub secret names to forward as environment variables for the dev server process (e.g., ['BLOB_READ_WRITE_TOKEN', 'DATABASE_URL']). These are injected into the workflow env block during 'kody init'."
303
293
  }
304
294
  },
305
295
  "required": ["command", "url"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.150",
3
+ "version": "0.1.151",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -13,14 +13,6 @@
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
- },
24
16
  "dependencies": {
25
17
  "dotenv": "^16.4.7",
26
18
  "yaml": "^2.8.3"
@@ -34,5 +26,12 @@
34
26
  },
35
27
  "engines": {
36
28
  "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"
37
36
  }
38
- }
37
+ }
@@ -35,11 +35,23 @@ jobs:
35
35
  - name: Install Kody Engine
36
36
  run: npm install -g @kody-ade/kody-engine-lite
37
37
 
38
+ - name: Export project secrets
39
+ env:
40
+ ALL_SECRETS: ${{ toJSON(secrets) }}
41
+ run: |
42
+ echo "$ALL_SECRETS" | jq -r 'to_entries[] | select(.key | test("^(GITHUB_TOKEN)$") | not) | @json' | while IFS= read -r entry; do
43
+ KEY=$(echo "$entry" | jq -r '.key')
44
+ VALUE=$(echo "$entry" | jq -r '.value')
45
+ DELIM="KODY_EOF_${KEY}"
46
+ echo "${KEY}<<${DELIM}" >> $GITHUB_ENV
47
+ echo "${VALUE}" >> $GITHUB_ENV
48
+ echo "${DELIM}" >> $GITHUB_ENV
49
+ done
50
+
38
51
  - name: Run Kody Watch
39
52
  env:
40
53
  GH_TOKEN: ${{ github.token }}
41
54
  REPO: ${{ github.repository }}
42
55
  WATCH_DIGEST_ISSUE: ${{ vars.WATCH_DIGEST_ISSUE }}
43
- ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
44
56
  DRY_RUN: ${{ inputs.dry_run || 'false' }}
45
57
  run: npx kody-engine-lite watch ${{ inputs.dry_run == 'true' && '--dry-run' || '' }}