@kody-ade/kody-engine-lite 0.1.75 → 0.1.76
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 +2 -2
- package/dist/bin/cli.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ Kody wraps Claude Code with a 7-stage autonomous pipeline — classify, plan, bu
|
|
|
29
29
|
③ BUILD ───── implement via Claude Code tools
|
|
30
30
|
│
|
|
31
31
|
▼
|
|
32
|
-
④ VERIFY ──── typecheck
|
|
32
|
+
④ VERIFY ──── run your quality commands (typecheck, tests, lint)
|
|
33
33
|
│ ✗ fail → AI diagnosis → autofix → retry
|
|
34
34
|
▼
|
|
35
35
|
⑤ REVIEW ──── AI code review (fresh session, no build bias)
|
|
@@ -38,7 +38,7 @@ Kody wraps Claude Code with a 7-stage autonomous pipeline — classify, plan, bu
|
|
|
38
38
|
⑥ REVIEW-FIX ─ fix Critical and Major findings
|
|
39
39
|
│
|
|
40
40
|
▼
|
|
41
|
-
⑦ SHIP ────── push branch, create PR
|
|
41
|
+
⑦ SHIP ────── push branch, create PR with Closes #N
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## Quick Start
|
package/dist/bin/cli.js
CHANGED
|
@@ -3421,9 +3421,10 @@ async function checkModelHealth(baseUrl, apiKey, model = "claude-haiku-4-5") {
|
|
|
3421
3421
|
return { ok: false, error: `HTTP ${res.status}: ${body2.slice(0, 200)}` };
|
|
3422
3422
|
}
|
|
3423
3423
|
const body = await res.json();
|
|
3424
|
-
const hasAnthropicContent =
|
|
3424
|
+
const hasAnthropicContent = Array.isArray(body.content) && body.content.some((b) => b.type === "text");
|
|
3425
|
+
const hasThinkingContent = Array.isArray(body.content) && body.content.some((b) => b.type === "thinking");
|
|
3425
3426
|
const hasOpenAIContent = !!body.choices?.[0]?.message?.content;
|
|
3426
|
-
if (!hasAnthropicContent && !hasOpenAIContent) {
|
|
3427
|
+
if (!hasAnthropicContent && !hasThinkingContent && !hasOpenAIContent) {
|
|
3427
3428
|
return { ok: false, error: `Unexpected response format: ${JSON.stringify(body).slice(0, 200)}` };
|
|
3428
3429
|
}
|
|
3429
3430
|
return { ok: true };
|