@kody-ade/kody-engine 0.4.198 → 0.4.200
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/README.md +1 -1
- package/dist/bin/kody.js +10088 -10008
- package/package.json +3 -2
- package/templates/kody.yml +0 -102
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.200",
|
|
4
4
|
"description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"typecheck": "tsc --noEmit",
|
|
51
51
|
"lint": "biome check",
|
|
52
52
|
"lint:fix": "biome check --write",
|
|
53
|
-
"format": "biome format --write"
|
|
53
|
+
"format": "biome format --write",
|
|
54
|
+
"brain:publish": "docker buildx build --platform linux/amd64 -f runner/Dockerfile.brain -t ghcr.io/${KODY_BRAIN_GHCR_OWNER:-aharonyaircohen}/kody-brain:latest --push runner"
|
|
54
55
|
}
|
|
55
56
|
}
|
package/templates/kody.yml
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
# Drop this file at .github/workflows/kody.yml in your repo.
|
|
2
|
-
#
|
|
3
|
-
# Triggers forward every relevant event to `kody`; the engine decides what
|
|
4
|
-
# (if anything) to do. The job runs `npx kody` — no shell branching, no
|
|
5
|
-
# routing logic in YAML. All orchestration lives in the kody npm package;
|
|
6
|
-
# future capabilities ship via `npm publish`, not by editing this file.
|
|
7
|
-
#
|
|
8
|
-
# Required repo secrets: at least one model provider key (e.g. MINIMAX_API_KEY,
|
|
9
|
-
# ANTHROPIC_API_KEY). kody reads any *_API_KEY secret automatically via
|
|
10
|
-
# toJSON(secrets) — no need to list them here.
|
|
11
|
-
#
|
|
12
|
-
# Recommended: KODY_TOKEN secret — a fine-grained PAT or GitHub App token
|
|
13
|
-
# with `repo` + `read:org` + `workflow` scopes. Without it, kody's
|
|
14
|
-
# commits/PR-creation still work via github.token, but three things degrade:
|
|
15
|
-
# 1. PR body updates fail with "token lacks read:org scope" (cosmetic).
|
|
16
|
-
# 2. Pushes from kody won't trigger downstream workflows.
|
|
17
|
-
# 3. Any commit that modifies `.github/workflows/*` is REJECTED by
|
|
18
|
-
# GitHub — the default GITHUB_TOKEN can't touch workflow files.
|
|
19
|
-
# Set KODY_TOKEN in repo Settings → Secrets → Actions.
|
|
20
|
-
|
|
21
|
-
name: kody
|
|
22
|
-
|
|
23
|
-
on:
|
|
24
|
-
workflow_dispatch:
|
|
25
|
-
inputs:
|
|
26
|
-
issue_number:
|
|
27
|
-
description: "GitHub issue number (agent mode)"
|
|
28
|
-
type: string
|
|
29
|
-
default: ""
|
|
30
|
-
sessionId:
|
|
31
|
-
description: "Chat session ID (chat mode, from Kody-Dashboard)"
|
|
32
|
-
type: string
|
|
33
|
-
default: ""
|
|
34
|
-
message:
|
|
35
|
-
description: "Initial chat message (optional)"
|
|
36
|
-
type: string
|
|
37
|
-
default: ""
|
|
38
|
-
model:
|
|
39
|
-
description: "Model override (optional, e.g. anthropic/claude-haiku-4-5-20251001)"
|
|
40
|
-
type: string
|
|
41
|
-
default: ""
|
|
42
|
-
dashboardUrl:
|
|
43
|
-
description: "Dashboard event ingest URL with inline ?token=... (chat mode)"
|
|
44
|
-
type: string
|
|
45
|
-
default: ""
|
|
46
|
-
executable:
|
|
47
|
-
description: "Stage to run for issue_number (default: run). goal-tick sets classify."
|
|
48
|
-
type: string
|
|
49
|
-
default: ""
|
|
50
|
-
base:
|
|
51
|
-
description: "Stacked-PR base branch for issue_number (goal-tick stacked dispatch)."
|
|
52
|
-
type: string
|
|
53
|
-
default: ""
|
|
54
|
-
issue_comment:
|
|
55
|
-
types: [created]
|
|
56
|
-
pull_request:
|
|
57
|
-
types: [closed]
|
|
58
|
-
schedule:
|
|
59
|
-
# Wakes every 30 minutes; kody fans out to whichever scheduled executables
|
|
60
|
-
# (job-scheduler, memorize, watch-stale-prs, …) match this tick.
|
|
61
|
-
#
|
|
62
|
-
# `memorize` writes to `.kody/vault/` and opens a daily PR. If your
|
|
63
|
-
# `.gitignore` ignores `.kody/*`, add `!.kody/vault/` and `!.kody/vault/**`
|
|
64
|
-
# so memorize's pages are tracked.
|
|
65
|
-
- cron: "*/15 * * * *"
|
|
66
|
-
|
|
67
|
-
jobs:
|
|
68
|
-
run:
|
|
69
|
-
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.merged == true }}
|
|
70
|
-
runs-on: ubuntu-latest
|
|
71
|
-
timeout-minutes: 360
|
|
72
|
-
concurrency:
|
|
73
|
-
group: kody-${{ inputs.sessionId || inputs.issue_number || github.event.issue.number || github.sha }}
|
|
74
|
-
cancel-in-progress: false
|
|
75
|
-
permissions:
|
|
76
|
-
issues: write
|
|
77
|
-
pull-requests: write
|
|
78
|
-
contents: write
|
|
79
|
-
actions: read
|
|
80
|
-
id-token: write # OIDC: lets preview-build federate into Namespace remote builders
|
|
81
|
-
steps:
|
|
82
|
-
- uses: actions/checkout@v4
|
|
83
|
-
with:
|
|
84
|
-
fetch-depth: 0
|
|
85
|
-
ref: ${{ github.event.pull_request.base.ref || github.ref }}
|
|
86
|
-
token: ${{ secrets.KODY_TOKEN || github.token }}
|
|
87
|
-
|
|
88
|
-
- uses: actions/setup-node@v4
|
|
89
|
-
with:
|
|
90
|
-
node-version: 22
|
|
91
|
-
|
|
92
|
-
- uses: actions/setup-python@v5
|
|
93
|
-
with:
|
|
94
|
-
python-version: "3.12"
|
|
95
|
-
|
|
96
|
-
- env:
|
|
97
|
-
ALL_SECRETS: ${{ toJSON(secrets) }}
|
|
98
|
-
SESSION_ID: ${{ inputs.sessionId }}
|
|
99
|
-
INIT_MESSAGE: ${{ inputs.message }}
|
|
100
|
-
MODEL: ${{ inputs.model }}
|
|
101
|
-
DASHBOARD_URL: ${{ inputs.dashboardUrl }}
|
|
102
|
-
run: npx -y -p @kody-ade/kody-engine@0.4.120 kody-engine
|