@kody-ade/kody-engine 0.4.192 → 0.4.194
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/kody.js +23 -14
- 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.
|
|
1312
|
+
version: "0.4.194",
|
|
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",
|
|
@@ -14232,13 +14232,15 @@ async function runExecutable(profileName, input) {
|
|
|
14232
14232
|
});
|
|
14233
14233
|
}
|
|
14234
14234
|
let litellm = null;
|
|
14235
|
-
|
|
14236
|
-
|
|
14237
|
-
|
|
14238
|
-
|
|
14239
|
-
|
|
14240
|
-
|
|
14241
|
-
|
|
14235
|
+
if (profileName !== "preview-build") {
|
|
14236
|
+
try {
|
|
14237
|
+
litellm = await startLitellmIfNeeded(model, input.cwd);
|
|
14238
|
+
} catch (err) {
|
|
14239
|
+
return finishAndEnd({
|
|
14240
|
+
exitCode: 99,
|
|
14241
|
+
reason: `litellm startup failed: ${err instanceof Error ? err.message : String(err)}`
|
|
14242
|
+
});
|
|
14243
|
+
}
|
|
14242
14244
|
}
|
|
14243
14245
|
const ctx = {
|
|
14244
14246
|
args,
|
|
@@ -15347,23 +15349,30 @@ ${CI_HELP}`);
|
|
|
15347
15349
|
const pm = args.packageManager ?? detectPackageManager2(cwd);
|
|
15348
15350
|
process.stdout.write(`\u2192 kody: package manager = ${pm}
|
|
15349
15351
|
`);
|
|
15350
|
-
|
|
15352
|
+
const buildOnly = dispatch2.executable === "preview-build";
|
|
15353
|
+
if (args.skipInstall || buildOnly) {
|
|
15354
|
+
process.stdout.write(
|
|
15355
|
+
`\u2192 kody: skipping dep install (${buildOnly ? "build-only executable" : "--skip-install"})
|
|
15356
|
+
`
|
|
15357
|
+
);
|
|
15358
|
+
} else {
|
|
15351
15359
|
const code = installDeps(pm, cwd);
|
|
15352
15360
|
if (code !== 0) {
|
|
15353
15361
|
postFailureTail(issueNumber, cwd, `dependency install failed (${pm}, exit ${code})`);
|
|
15354
15362
|
return 99;
|
|
15355
15363
|
}
|
|
15356
|
-
} else {
|
|
15357
|
-
process.stdout.write("\u2192 kody: skipping dep install (--skip-install)\n");
|
|
15358
15364
|
}
|
|
15359
|
-
if (
|
|
15365
|
+
if (args.skipLitellm || buildOnly) {
|
|
15366
|
+
process.stdout.write(
|
|
15367
|
+
`\u2192 kody: skipping LiteLLM install (${buildOnly ? "build-only executable" : "--skip-litellm"})
|
|
15368
|
+
`
|
|
15369
|
+
);
|
|
15370
|
+
} else {
|
|
15360
15371
|
const code = installLitellmIfNeeded(cwd);
|
|
15361
15372
|
if (code !== 0) {
|
|
15362
15373
|
postFailureTail(issueNumber, cwd, `litellm install failed (exit ${code})`);
|
|
15363
15374
|
return 99;
|
|
15364
15375
|
}
|
|
15365
|
-
} else {
|
|
15366
|
-
process.stdout.write("\u2192 kody: skipping LiteLLM install (--skip-litellm)\n");
|
|
15367
15376
|
}
|
|
15368
15377
|
configureGitIdentity(cwd);
|
|
15369
15378
|
} catch (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kody-ade/kody-engine",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.194",
|
|
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",
|