@kody-ade/kody-engine-lite 0.1.117 → 0.1.118
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 +1623 -456
- package/kody.config.schema.json +31 -0
- package/package.json +2 -1
- package/prompts/taskify-ticket.md +10 -0
- package/templates/kody.yml +1 -0
package/kody.config.schema.json
CHANGED
|
@@ -145,6 +145,37 @@
|
|
|
145
145
|
},
|
|
146
146
|
"additionalProperties": false
|
|
147
147
|
},
|
|
148
|
+
"default": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"description": "Default provider + model for all stages. Overridden by per-stage entries in 'stages'.",
|
|
151
|
+
"properties": {
|
|
152
|
+
"provider": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"description": "Provider name: 'claude' for direct Anthropic API, anything else routes through LiteLLM proxy",
|
|
155
|
+
"examples": ["claude", "minimax", "openai", "google"]
|
|
156
|
+
},
|
|
157
|
+
"model": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "Full model ID (e.g., 'claude-sonnet-4-6', 'gpt-4o')"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": ["provider", "model"],
|
|
163
|
+
"additionalProperties": false
|
|
164
|
+
},
|
|
165
|
+
"stages": {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"description": "Per-stage provider + model overrides. Takes precedence over 'default' and 'modelMap'.",
|
|
168
|
+
"properties": {
|
|
169
|
+
"taskify": { "$ref": "#/properties/agent/properties/default" },
|
|
170
|
+
"plan": { "$ref": "#/properties/agent/properties/default" },
|
|
171
|
+
"build": { "$ref": "#/properties/agent/properties/default" },
|
|
172
|
+
"verify": { "$ref": "#/properties/agent/properties/default" },
|
|
173
|
+
"review": { "$ref": "#/properties/agent/properties/default" },
|
|
174
|
+
"review-fix": { "$ref": "#/properties/agent/properties/default" },
|
|
175
|
+
"ship": { "$ref": "#/properties/agent/properties/default" }
|
|
176
|
+
},
|
|
177
|
+
"additionalProperties": false
|
|
178
|
+
},
|
|
148
179
|
"escalateOnTimeout": {
|
|
149
180
|
"type": "boolean",
|
|
150
181
|
"description": "Escalate to a stronger model tier when a stage times out and retries. Default: true.",
|
package/package.json
CHANGED
|
@@ -19,6 +19,16 @@ The product spec is provided below:
|
|
|
19
19
|
```
|
|
20
20
|
{{/if}}
|
|
21
21
|
|
|
22
|
+
{{#if ISSUE_BODY}}
|
|
23
|
+
**Mode: issue**
|
|
24
|
+
|
|
25
|
+
The task description from the GitHub issue is provided below. Decompose it into scoped, independently implementable sub-tasks.
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
{{ISSUE_BODY}}
|
|
29
|
+
```
|
|
30
|
+
{{/if}}
|
|
31
|
+
|
|
22
32
|
{{#if PROJECT_CONTEXT}}
|
|
23
33
|
## Existing codebase
|
|
24
34
|
|
package/templates/kody.yml
CHANGED
|
@@ -215,6 +215,7 @@ jobs:
|
|
|
215
215
|
[ "$MODE" = "fix-ci" ] && CMD="fix-ci"
|
|
216
216
|
[ "$MODE" = "review" ] && CMD="review"
|
|
217
217
|
[ "$MODE" = "resolve" ] && CMD="resolve"
|
|
218
|
+
[ "$MODE" = "status" ] && CMD="status"
|
|
218
219
|
ARGS="--issue-number $ISSUE_NUMBER"
|
|
219
220
|
[ -n "$TASK_ID" ] && ARGS="$ARGS --task-id $TASK_ID"
|
|
220
221
|
[ -n "$PR_NUMBER" ] && ARGS="$ARGS --pr-number $PR_NUMBER"
|