@kody-ade/kody-engine 0.4.191 → 0.4.193

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 -8
  2. package/package.json +1 -1
package/dist/bin/kody.js CHANGED
@@ -1309,7 +1309,7 @@ var init_loadPriorArt = __esm({
1309
1309
  // package.json
1310
1310
  var package_default = {
1311
1311
  name: "@kody-ade/kody-engine",
1312
- version: "0.4.191",
1312
+ version: "0.4.193",
1313
1313
  description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
1314
1314
  license: "MIT",
1315
1315
  type: "module",
@@ -12702,7 +12702,7 @@ var runPreviewBuild = async (ctx, _profile, _args) => {
12702
12702
  }
12703
12703
  const orgSlug = doc.secrets?.FLY_ORG_SLUG?.value?.trim() || (process.env.FLY_ORG_SLUG ?? "personal").trim();
12704
12704
  const region = doc.secrets?.FLY_DEFAULT_REGION?.value?.trim() || (process.env.FLY_REGION ?? "fra").trim();
12705
- const nscTenantId = (process.env.NSC_TENANT_ID || "").trim();
12705
+ const nscTenantId = doc.secrets?.NSC_TENANT_ID?.value?.trim() || "";
12706
12706
  console.log(
12707
12707
  `[preview-build] vault: ${Object.keys(buildEnv).length} secrets, mode=${buildMode}`
12708
12708
  );
@@ -15347,23 +15347,30 @@ ${CI_HELP}`);
15347
15347
  const pm = args.packageManager ?? detectPackageManager2(cwd);
15348
15348
  process.stdout.write(`\u2192 kody: package manager = ${pm}
15349
15349
  `);
15350
- if (!args.skipInstall) {
15350
+ const buildOnly = dispatch2.executable === "preview-build";
15351
+ if (args.skipInstall || buildOnly) {
15352
+ process.stdout.write(
15353
+ `\u2192 kody: skipping dep install (${buildOnly ? "build-only executable" : "--skip-install"})
15354
+ `
15355
+ );
15356
+ } else {
15351
15357
  const code = installDeps(pm, cwd);
15352
15358
  if (code !== 0) {
15353
15359
  postFailureTail(issueNumber, cwd, `dependency install failed (${pm}, exit ${code})`);
15354
15360
  return 99;
15355
15361
  }
15356
- } else {
15357
- process.stdout.write("\u2192 kody: skipping dep install (--skip-install)\n");
15358
15362
  }
15359
- if (!args.skipLitellm) {
15363
+ if (args.skipLitellm || buildOnly) {
15364
+ process.stdout.write(
15365
+ `\u2192 kody: skipping LiteLLM install (${buildOnly ? "build-only executable" : "--skip-litellm"})
15366
+ `
15367
+ );
15368
+ } else {
15360
15369
  const code = installLitellmIfNeeded(cwd);
15361
15370
  if (code !== 0) {
15362
15371
  postFailureTail(issueNumber, cwd, `litellm install failed (exit ${code})`);
15363
15372
  return 99;
15364
15373
  }
15365
- } else {
15366
- process.stdout.write("\u2192 kody: skipping LiteLLM install (--skip-litellm)\n");
15367
15374
  }
15368
15375
  configureGitIdentity(cwd);
15369
15376
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.191",
3
+ "version": "0.4.193",
4
4
  "description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
5
5
  "license": "MIT",
6
6
  "type": "module",