@kody-ade/kody-engine 0.2.62 → 0.3.0
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 +24 -24
- package/dist/bin/{kody2.js → kody.js} +171 -169
- package/dist/executables/bug/profile.json +6 -6
- package/dist/executables/chore/profile.json +6 -6
- package/dist/executables/classify/profile.json +1 -1
- package/dist/executables/feature/profile.json +6 -6
- package/dist/executables/fix/profile.json +1 -1
- package/dist/executables/fix/prompt.md +1 -1
- package/dist/executables/fix-ci/profile.json +1 -1
- package/dist/executables/init/profile.json +1 -1
- package/dist/executables/plan/profile.json +1 -1
- package/dist/executables/plan-verify/profile.json +2 -2
- package/dist/executables/plan-verify/prompt.md +1 -1
- package/dist/executables/research/profile.json +1 -1
- package/dist/executables/resolve/profile.json +1 -1
- package/dist/executables/review/profile.json +1 -1
- package/dist/executables/run/profile.json +1 -1
- package/dist/executables/run/prompt.md +2 -2
- package/dist/executables/spec/profile.json +4 -4
- package/dist/executables/sync/profile.json +1 -1
- package/dist/executables/types.ts +3 -3
- package/dist/executables/ui-review/profile.json +3 -3
- package/dist/executables/ui-review/prompt.md +8 -8
- package/dist/plugins/commands/kody-live-probe.md +2 -2
- package/dist/plugins/skills/kody-live-marker/SKILL.md +3 -3
- package/dist/plugins/test-plugin/.claude-plugin/plugin.json +2 -2
- package/dist/plugins/test-plugin/skills/kody-plugin-marker/SKILL.md +2 -2
- package/kody.config.schema.json +3 -3
- package/package.json +4 -4
- package/templates/{kody2.yml → kody.yml} +16 -16
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
# Drop this file at .github/workflows/
|
|
1
|
+
# Drop this file at .github/workflows/kody.yml in your repo.
|
|
2
2
|
#
|
|
3
3
|
# Two triggers, two modes:
|
|
4
|
-
# - issue_comment / workflow_dispatch with issue_number → `
|
|
5
|
-
# (the @
|
|
6
|
-
# - workflow_dispatch with sessionId → `
|
|
4
|
+
# - issue_comment / workflow_dispatch with issue_number → `kody ci`
|
|
5
|
+
# (the @kody issue/PR automation flow)
|
|
6
|
+
# - workflow_dispatch with sessionId → `kody chat`
|
|
7
7
|
# (dashboard-driven Gemini chat session)
|
|
8
8
|
#
|
|
9
|
-
# All orchestration lives in the
|
|
9
|
+
# All orchestration lives in the kody npm package; future capabilities ship
|
|
10
10
|
# via `npm publish`, not by editing this file.
|
|
11
11
|
#
|
|
12
12
|
# Required repo secrets: at least one model provider key (e.g. MINIMAX_API_KEY,
|
|
13
|
-
# ANTHROPIC_API_KEY).
|
|
13
|
+
# ANTHROPIC_API_KEY). kody reads any *_API_KEY secret automatically via
|
|
14
14
|
# toJSON(secrets) — no need to list them here.
|
|
15
15
|
#
|
|
16
16
|
# Recommended: KODY_TOKEN secret — a fine-grained PAT or GitHub App token
|
|
17
|
-
# with `repo` + `read:org` + `workflow` scopes. Without it,
|
|
17
|
+
# with `repo` + `read:org` + `workflow` scopes. Without it, kody's
|
|
18
18
|
# commits/PR-creation still work via github.token, but three things degrade:
|
|
19
19
|
# 1. PR body updates fail with "token lacks read:org scope" (cosmetic).
|
|
20
|
-
# 2. Pushes from
|
|
20
|
+
# 2. Pushes from kody won't trigger downstream workflows.
|
|
21
21
|
# 3. Any commit that modifies `.github/workflows/*` is REJECTED by
|
|
22
22
|
# GitHub — the default GITHUB_TOKEN can't touch workflow files.
|
|
23
23
|
# Set KODY_TOKEN in repo Settings → Secrets → Actions.
|
|
24
24
|
|
|
25
|
-
name:
|
|
25
|
+
name: kody
|
|
26
26
|
|
|
27
27
|
on:
|
|
28
28
|
workflow_dispatch:
|
|
@@ -55,13 +55,13 @@ jobs:
|
|
|
55
55
|
if: >-
|
|
56
56
|
${{ github.event_name == 'workflow_dispatch' ||
|
|
57
57
|
(github.event_name == 'issue_comment' &&
|
|
58
|
-
contains(github.event.comment.body, '@
|
|
59
|
-
github.event.comment.user.login != '
|
|
58
|
+
contains(github.event.comment.body, '@kody') &&
|
|
59
|
+
github.event.comment.user.login != 'kody-bot' &&
|
|
60
60
|
github.event.comment.user.type != 'Bot') }}
|
|
61
61
|
runs-on: ubuntu-latest
|
|
62
62
|
timeout-minutes: 360
|
|
63
63
|
concurrency:
|
|
64
|
-
group:
|
|
64
|
+
group: kody-${{ inputs.sessionId || inputs.issue_number || github.event.issue.number || github.sha }}
|
|
65
65
|
cancel-in-progress: false
|
|
66
66
|
permissions:
|
|
67
67
|
issues: write
|
|
@@ -78,13 +78,13 @@ jobs:
|
|
|
78
78
|
node-version: 22
|
|
79
79
|
|
|
80
80
|
- name: Write pip cache key for LiteLLM
|
|
81
|
-
run: echo "litellm[proxy]" > .
|
|
81
|
+
run: echo "litellm[proxy]" > .kody-pip-requirements.txt
|
|
82
82
|
|
|
83
83
|
- uses: actions/setup-python@v5
|
|
84
84
|
with:
|
|
85
85
|
python-version: "3.12"
|
|
86
86
|
cache: "pip"
|
|
87
|
-
cache-dependency-path: .
|
|
87
|
+
cache-dependency-path: .kody-pip-requirements.txt
|
|
88
88
|
|
|
89
89
|
- env:
|
|
90
90
|
ALL_SECRETS: ${{ toJSON(secrets) }}
|
|
@@ -94,7 +94,7 @@ jobs:
|
|
|
94
94
|
DASHBOARD_URL: ${{ inputs.dashboardUrl }}
|
|
95
95
|
run: |
|
|
96
96
|
if [ -n "$SESSION_ID" ]; then
|
|
97
|
-
npx -y -p @kody-ade/kody-engine@latest
|
|
97
|
+
npx -y -p @kody-ade/kody-engine@latest kody chat
|
|
98
98
|
else
|
|
99
|
-
npx -y -p @kody-ade/kody-engine@latest
|
|
99
|
+
npx -y -p @kody-ade/kody-engine@latest kody ci
|
|
100
100
|
fi
|