@kody-ade/kody-engine 0.2.26 → 0.2.28

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/kody2.js CHANGED
@@ -3,7 +3,7 @@
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@kody-ade/kody-engine",
6
- version: "0.2.26",
6
+ version: "0.2.28",
7
7
  description: "kody2 \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
8
8
  license: "MIT",
9
9
  type: "module",
@@ -4351,6 +4351,14 @@ ${CHAT_HELP}`);
4351
4351
  `);
4352
4352
  return 64;
4353
4353
  }
4354
+ if (needsLitellmProxy(model)) {
4355
+ const code = installLitellmIfNeeded(cwd);
4356
+ if (code !== 0) {
4357
+ process.stderr.write(`error: litellm install failed (exit ${code})
4358
+ `);
4359
+ return 99;
4360
+ }
4361
+ }
4354
4362
  let litellm = null;
4355
4363
  try {
4356
4364
  litellm = await startLitellmIfNeeded(model, cwd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.2.26",
3
+ "version": "0.2.28",
4
4
  "description": "kody2 — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -76,13 +76,13 @@ jobs:
76
76
  node-version: 22
77
77
 
78
78
  - name: Write pip cache key for LiteLLM
79
- run: echo "litellm[proxy]" > "$RUNNER_TEMP/kody2-pip-requirements.txt"
79
+ run: echo "litellm[proxy]" > .kody2-pip-requirements.txt
80
80
 
81
81
  - uses: actions/setup-python@v5
82
82
  with:
83
83
  python-version: "3.12"
84
84
  cache: "pip"
85
- cache-dependency-path: ${{ runner.temp }}/kody2-pip-requirements.txt
85
+ cache-dependency-path: .kody2-pip-requirements.txt
86
86
 
87
87
  - env:
88
88
  ALL_SECRETS: ${{ toJSON(secrets) }}