@kody-ade/kody-engine-lite 0.1.136 → 0.1.138
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 +1560 -256
- package/kody.config.schema.json +16 -0
- package/package.json +1 -1
- package/templates/kody-watch.yml +41 -0
package/kody.config.schema.json
CHANGED
|
@@ -184,6 +184,22 @@
|
|
|
184
184
|
},
|
|
185
185
|
"additionalProperties": false
|
|
186
186
|
},
|
|
187
|
+
"watch": {
|
|
188
|
+
"type": "object",
|
|
189
|
+
"description": "Kody Watch — periodic health monitoring. Runs every 30 minutes via GitHub Actions to check pipeline health, security, and configuration.",
|
|
190
|
+
"properties": {
|
|
191
|
+
"enabled": {
|
|
192
|
+
"type": "boolean",
|
|
193
|
+
"description": "Enable Kody Watch periodic monitoring",
|
|
194
|
+
"default": false
|
|
195
|
+
},
|
|
196
|
+
"digestIssue": {
|
|
197
|
+
"type": "number",
|
|
198
|
+
"description": "GitHub issue number for posting digest reports. Auto-created by bootstrap."
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"additionalProperties": false
|
|
202
|
+
},
|
|
187
203
|
"mcp": {
|
|
188
204
|
"type": "object",
|
|
189
205
|
"description": "MCP (Model Context Protocol) server configuration. Enables external tools like browser automation.",
|
package/package.json
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: kody-watch
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: "*/30 * * * *"
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
inputs:
|
|
8
|
+
dry_run:
|
|
9
|
+
type: boolean
|
|
10
|
+
default: false
|
|
11
|
+
description: "Run without executing actions"
|
|
12
|
+
|
|
13
|
+
concurrency:
|
|
14
|
+
group: kody-watch
|
|
15
|
+
cancel-in-progress: false
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
watch:
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
timeout-minutes: 10
|
|
21
|
+
permissions:
|
|
22
|
+
issues: write
|
|
23
|
+
contents: read
|
|
24
|
+
actions: write
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v4
|
|
27
|
+
|
|
28
|
+
- uses: actions/setup-node@v4
|
|
29
|
+
with:
|
|
30
|
+
node-version: 22
|
|
31
|
+
|
|
32
|
+
- name: Install Kody Engine
|
|
33
|
+
run: npm install -g @kody-ade/kody-engine-lite
|
|
34
|
+
|
|
35
|
+
- name: Run Kody Watch
|
|
36
|
+
env:
|
|
37
|
+
GH_TOKEN: ${{ github.token }}
|
|
38
|
+
REPO: ${{ github.repository }}
|
|
39
|
+
WATCH_DIGEST_ISSUE: ${{ vars.WATCH_DIGEST_ISSUE }}
|
|
40
|
+
DRY_RUN: ${{ inputs.dry_run || 'false' }}
|
|
41
|
+
run: npx kody-engine-lite watch ${{ inputs.dry_run == 'true' && '--dry-run' || '' }}
|