@kody-ade/kody-engine-lite 0.1.147 → 0.1.148

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.
@@ -196,6 +196,11 @@
196
196
  "digestIssue": {
197
197
  "type": "number",
198
198
  "description": "GitHub issue number for posting digest reports. Auto-created by bootstrap."
199
+ },
200
+ "model": {
201
+ "type": "string",
202
+ "description": "Model for watch agents. When provider is set in agent config, this should be the provider's model name. Falls back to agent.modelMap.cheap if not set.",
203
+ "examples": ["claude-sonnet-4-6", "claude-haiku-4-5-20251001", "MiniMax-M1"]
199
204
  }
200
205
  },
201
206
  "additionalProperties": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.147",
3
+ "version": "0.1.148",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -17,7 +17,7 @@ concurrency:
17
17
  jobs:
18
18
  watch:
19
19
  runs-on: ubuntu-latest
20
- timeout-minutes: 10
20
+ timeout-minutes: 15
21
21
  permissions:
22
22
  issues: write
23
23
  contents: read
@@ -28,6 +28,10 @@ jobs:
28
28
  with:
29
29
  node-version: 22
30
30
 
31
+ - name: Install Claude Code
32
+ if: hashFiles('.kody/watch/agents/*/agent.json') != ''
33
+ run: npm install -g @anthropic-ai/claude-code
34
+
31
35
  - name: Install Kody Engine
32
36
  run: npm install -g @kody-ade/kody-engine-lite
33
37
 
@@ -36,5 +40,6 @@ jobs:
36
40
  GH_TOKEN: ${{ github.token }}
37
41
  REPO: ${{ github.repository }}
38
42
  WATCH_DIGEST_ISSUE: ${{ vars.WATCH_DIGEST_ISSUE }}
43
+ ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
39
44
  DRY_RUN: ${{ inputs.dry_run || 'false' }}
40
45
  run: npx kody-engine-lite watch ${{ inputs.dry_run == 'true' && '--dry-run' || '' }}
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "dependency-checker",
3
+ "description": "Checks for outdated or vulnerable dependencies and creates tracking issues",
4
+ "schedule": {
5
+ "every": 96
6
+ }
7
+ }
@@ -0,0 +1,14 @@
1
+ Audit the repository's dependencies for known vulnerabilities.
2
+
3
+ 1. Read `package.json` to understand the project's dependency stack.
4
+ 2. Run `npm audit --json` (or `pnpm audit --json` if pnpm-lock.yaml exists) to check for known vulnerabilities.
5
+ 3. Focus only on **high** and **critical** severity vulnerabilities.
6
+
7
+ For each finding:
8
+ 1. Check if there is already an open issue with label `kody:watch:vulnerability` mentioning the package name. If so, skip it.
9
+ 2. Create a GitHub issue with:
10
+ - Title: `Vulnerability: <package-name> (<severity>)`
11
+ - Label: `kody:watch:vulnerability`
12
+ - Body containing: package name, current version, severity, advisory URL (if available), and suggested fix (upgrade command)
13
+
14
+ If no high/critical vulnerabilities are found, do not create any issues.
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "stale-pr-reviewer",
3
+ "description": "Finds pull requests with no recent activity and creates tracking issues",
4
+ "schedule": {
5
+ "every": 48
6
+ }
7
+ }
@@ -0,0 +1,13 @@
1
+ List all open pull requests. For each PR, check the last activity date (most recent of: last commit, last comment, last review).
2
+
3
+ Flag any PR that has had **no activity in the last 7 days** as stale.
4
+
5
+ For each stale PR:
6
+ 1. First, check if there is already an open issue with the label `kody:watch:stale-pr` that mentions this PR number. If so, skip it.
7
+ 2. Create a GitHub issue with:
8
+ - Title: `Stale PR #<number>: <pr-title>`
9
+ - Label: `kody:watch:stale-pr`
10
+ - Body containing: PR number, author, days since last activity, a link to the PR, and a suggested action (ping author, close, or merge)
11
+
12
+ Ignore PRs that have any of these labels: `on-hold`, `wip`, `draft`.
13
+ Do not flag draft PRs.