@kody-ade/kody-engine 0.3.3 → 0.3.4
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 +11 -4
- package/package.json +1 -1
package/dist/bin/kody.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.3.
|
|
6
|
+
version: "0.3.4",
|
|
7
7
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
8
8
|
license: "MIT",
|
|
9
9
|
type: "module",
|
|
@@ -4182,11 +4182,14 @@ function updateVersionInFile(file, newVersion, cwd) {
|
|
|
4182
4182
|
fs18.writeFileSync(abs, updated);
|
|
4183
4183
|
return true;
|
|
4184
4184
|
}
|
|
4185
|
+
var FIRST_RELEASE_COMMIT_CAP = 100;
|
|
4185
4186
|
function generateChangelog(cwd, newVersion, lastTag) {
|
|
4186
|
-
const
|
|
4187
|
+
const logArgs = ["log", "--pretty=format:%s||%h", "--no-merges"];
|
|
4188
|
+
if (lastTag) logArgs.splice(1, 0, `${lastTag}..HEAD`);
|
|
4189
|
+
else logArgs.splice(1, 0, `-n${FIRST_RELEASE_COMMIT_CAP}`, "HEAD");
|
|
4187
4190
|
let log = "";
|
|
4188
4191
|
try {
|
|
4189
|
-
log = execFileSync15("git",
|
|
4192
|
+
log = execFileSync15("git", logArgs, {
|
|
4190
4193
|
cwd,
|
|
4191
4194
|
encoding: "utf-8",
|
|
4192
4195
|
stdio: ["ignore", "pipe", "pipe"]
|
|
@@ -4343,9 +4346,13 @@ async function runPrepare(args) {
|
|
|
4343
4346
|
}
|
|
4344
4347
|
const base = ctx.config.git.defaultBranch;
|
|
4345
4348
|
const title = `chore: release ${tag}`;
|
|
4349
|
+
const bodyMax = 6e4;
|
|
4350
|
+
const rawEntry = entry.length > bodyMax ? `${entry.slice(0, bodyMax)}
|
|
4351
|
+
|
|
4352
|
+
_\u2026 truncated; see CHANGELOG.md_` : entry;
|
|
4346
4353
|
const body = `Automated release PR opened by kody.
|
|
4347
4354
|
|
|
4348
|
-
${
|
|
4355
|
+
${rawEntry}
|
|
4349
4356
|
|
|
4350
4357
|
Merge this and then run \`kody release --mode finalize\`.`;
|
|
4351
4358
|
let prUrl = "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kody-ade/kody-engine",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
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",
|