@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 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 + tests + lint
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, close issue
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 = !!body.content?.[0]?.text;
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",