@kody-ade/kody-engine 0.4.461 → 0.4.463

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.
Files changed (2) hide show
  1. package/dist/bin/kody.js +15 -4
  2. package/package.json +1 -1
package/dist/bin/kody.js CHANGED
@@ -15,7 +15,7 @@ var init_package = __esm({
15
15
  "package.json"() {
16
16
  package_default = {
17
17
  name: "@kody-ade/kody-engine",
18
- version: "0.4.461",
18
+ version: "0.4.463",
19
19
  description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
20
20
  license: "MIT",
21
21
  type: "module",
@@ -2294,7 +2294,7 @@ var init_convex_client = __esm({
2294
2294
  // src/kody-api-client.ts
2295
2295
  import { getFunctionName } from "convex/server";
2296
2296
  function apiUrl(env) {
2297
- return (env.KODY_API_URL?.trim() || DEFAULT_KODY_API_URL).replace(/\/$/, "");
2297
+ return (env.KODY_API_URL?.trim() || env.KODY_DASHBOARD_URL?.trim() || env.DASHBOARD_URL?.trim() || DEFAULT_KODY_API_URL).replace(/\/$/, "");
2298
2298
  }
2299
2299
  function oidcRequestUrl(env) {
2300
2300
  const raw = env.ACTIONS_ID_TOKEN_REQUEST_URL?.trim();
@@ -2387,7 +2387,7 @@ var DEFAULT_KODY_API_URL, OIDC_AUDIENCE, cachedToken;
2387
2387
  var init_kody_api_client = __esm({
2388
2388
  "src/kody-api-client.ts"() {
2389
2389
  "use strict";
2390
- DEFAULT_KODY_API_URL = "https://kody-dashboard-khaki.vercel.app";
2390
+ DEFAULT_KODY_API_URL = "https://dashboard-six-alpha-46.vercel.app";
2391
2391
  OIDC_AUDIENCE = "kody-api";
2392
2392
  cachedToken = null;
2393
2393
  }
@@ -25368,7 +25368,18 @@ function installLitellmIfNeeded(cwd) {
25368
25368
  } catch {
25369
25369
  }
25370
25370
  process.stdout.write("\u2192 kody: installing litellm (pip install 'litellm[proxy]')\n");
25371
- return shellOut("pip", ["install", "litellm[proxy]"], cwd);
25371
+ const installCode = shellOut("pip", ["install", "litellm[proxy]"], cwd);
25372
+ if (installCode === 0) return 0;
25373
+ try {
25374
+ execFileSync24("python3", ["-c", "import litellm"], { stdio: "pipe" });
25375
+ process.stderr.write(
25376
+ `\u2192 kody: pip exited ${installCode}, but litellm is importable; continuing
25377
+ `
25378
+ );
25379
+ return 0;
25380
+ } catch {
25381
+ return installCode;
25382
+ }
25372
25383
  }
25373
25384
  function configureGitIdentity(cwd) {
25374
25385
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.461",
3
+ "version": "0.4.463",
4
4
  "description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
5
5
  "license": "MIT",
6
6
  "type": "module",