@kody-ade/kody-engine 0.4.410 → 0.4.411
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/kody.js +281 -312
- package/package.json +1 -1
- package/templates/kody.yml +88 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kody-ade/kody-engine",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.411",
|
|
4
4
|
"description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Generated by @kody-ade/kody-engine. Do not hand-edit consumer copies.
|
|
2
|
+
#
|
|
3
|
+
# GitHub authentication fallback:
|
|
4
|
+
# 1. GH_PAT or legacy KODY_TOKEN, when configured.
|
|
5
|
+
# 2. KODY_APP_ID + KODY_APP_PRIVATE_KEY, minted by the engine.
|
|
6
|
+
# 3. GitHub's built-in token, requiring no repository secret.
|
|
7
|
+
|
|
8
|
+
name: kody
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
inputs:
|
|
13
|
+
issue_number:
|
|
14
|
+
description: "GitHub issue number (agent mode)"
|
|
15
|
+
type: string
|
|
16
|
+
default: ""
|
|
17
|
+
sessionId:
|
|
18
|
+
description: "Chat session ID (chat mode, from Kody Dashboard)"
|
|
19
|
+
type: string
|
|
20
|
+
default: ""
|
|
21
|
+
message:
|
|
22
|
+
description: "Initial chat message (optional)"
|
|
23
|
+
type: string
|
|
24
|
+
default: ""
|
|
25
|
+
model:
|
|
26
|
+
description: "Model override (optional)"
|
|
27
|
+
type: string
|
|
28
|
+
default: ""
|
|
29
|
+
dashboardUrl:
|
|
30
|
+
description: "Dashboard event ingest URL (chat mode)"
|
|
31
|
+
type: string
|
|
32
|
+
default: ""
|
|
33
|
+
capability:
|
|
34
|
+
description: "Capability action to run"
|
|
35
|
+
type: string
|
|
36
|
+
default: ""
|
|
37
|
+
base:
|
|
38
|
+
description: "Optional base branch"
|
|
39
|
+
type: string
|
|
40
|
+
default: ""
|
|
41
|
+
issue_comment:
|
|
42
|
+
types: [created]
|
|
43
|
+
pull_request:
|
|
44
|
+
types: [opened, synchronize, closed]
|
|
45
|
+
schedule:
|
|
46
|
+
- cron: "*/15 * * * *"
|
|
47
|
+
|
|
48
|
+
jobs:
|
|
49
|
+
run:
|
|
50
|
+
if: ${{ github.event_name != 'pull_request' || github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.pull_request.merged == true }}
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
timeout-minutes: 360
|
|
53
|
+
concurrency:
|
|
54
|
+
group: kody-${{ inputs.sessionId || inputs.issue_number || github.event.issue.number || github.sha }}
|
|
55
|
+
cancel-in-progress: false
|
|
56
|
+
permissions:
|
|
57
|
+
issues: write
|
|
58
|
+
pull-requests: write
|
|
59
|
+
contents: write
|
|
60
|
+
actions: read
|
|
61
|
+
id-token: write
|
|
62
|
+
steps:
|
|
63
|
+
- uses: actions/checkout@v4
|
|
64
|
+
with:
|
|
65
|
+
fetch-depth: 0
|
|
66
|
+
ref: ${{ (github.event.action == 'opened' || github.event.action == 'synchronize') && github.event.pull_request.head.sha || github.event.pull_request.base.ref || github.ref }}
|
|
67
|
+
token: ${{ secrets.GH_PAT || secrets.KODY_TOKEN || github.token }}
|
|
68
|
+
|
|
69
|
+
- uses: actions/setup-node@v4
|
|
70
|
+
with:
|
|
71
|
+
node-version: 22
|
|
72
|
+
|
|
73
|
+
- name: Write pip cache key for LiteLLM
|
|
74
|
+
run: echo "litellm[proxy]" > .kody-pip-requirements.txt
|
|
75
|
+
|
|
76
|
+
- uses: actions/setup-python@v5
|
|
77
|
+
with:
|
|
78
|
+
python-version: "3.12"
|
|
79
|
+
cache: pip
|
|
80
|
+
cache-dependency-path: .kody-pip-requirements.txt
|
|
81
|
+
|
|
82
|
+
- env:
|
|
83
|
+
ALL_SECRETS: ${{ toJSON(secrets) }}
|
|
84
|
+
SESSION_ID: ${{ inputs.sessionId }}
|
|
85
|
+
INIT_MESSAGE: ${{ inputs.message }}
|
|
86
|
+
MODEL: ${{ inputs.model }}
|
|
87
|
+
DASHBOARD_URL: ${{ inputs.dashboardUrl }}
|
|
88
|
+
run: npx -y -p @kody-ade/kody-engine@latest kody-engine
|