@kody-ade/kody-engine 0.4.93 → 0.4.94
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 +4 -4
- package/package.json +1 -1
package/dist/bin/kody.js
CHANGED
|
@@ -877,7 +877,7 @@ var init_loadPriorArt = __esm({
|
|
|
877
877
|
// package.json
|
|
878
878
|
var package_default = {
|
|
879
879
|
name: "@kody-ade/kody-engine",
|
|
880
|
-
version: "0.4.
|
|
880
|
+
version: "0.4.94",
|
|
881
881
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
882
882
|
license: "MIT",
|
|
883
883
|
type: "module",
|
|
@@ -7246,7 +7246,7 @@ function git2(args, cwd) {
|
|
|
7246
7246
|
}
|
|
7247
7247
|
function deriveBranchName(issueNumber, title) {
|
|
7248
7248
|
const slug = title.toLowerCase().replace(/[^a-z0-9\s-]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-").slice(0, 50).replace(/-$/, "");
|
|
7249
|
-
return slug ? `${issueNumber}-${slug}` : `${issueNumber}`;
|
|
7249
|
+
return slug ? `${issueNumber}-${slug}` : `${issueNumber}-task`;
|
|
7250
7250
|
}
|
|
7251
7251
|
function getCurrentBranch(cwd) {
|
|
7252
7252
|
return git2(["branch", "--show-current"], cwd);
|
|
@@ -7319,7 +7319,7 @@ function ensureFeatureBranch(issueNumber, title, defaultBranch2, cwd, baseBranch
|
|
|
7319
7319
|
}
|
|
7320
7320
|
let originBranchExists = false;
|
|
7321
7321
|
try {
|
|
7322
|
-
git2(["rev-parse", "--verify", `origin/${branchName}`], cwd);
|
|
7322
|
+
git2(["rev-parse", "--verify", "--quiet", `refs/remotes/origin/${branchName}`], cwd);
|
|
7323
7323
|
originBranchExists = true;
|
|
7324
7324
|
} catch {
|
|
7325
7325
|
}
|
|
@@ -7380,7 +7380,7 @@ function ensureFeatureBranch(issueNumber, title, defaultBranch2, cwd, baseBranch
|
|
|
7380
7380
|
return { branch: branchName, created: false };
|
|
7381
7381
|
}
|
|
7382
7382
|
try {
|
|
7383
|
-
git2(["rev-parse", "--verify", branchName], cwd);
|
|
7383
|
+
git2(["rev-parse", "--verify", "--quiet", `refs/heads/${branchName}`], cwd);
|
|
7384
7384
|
git2(["checkout", branchName], cwd);
|
|
7385
7385
|
return { branch: branchName, created: false };
|
|
7386
7386
|
} catch {
|
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.94",
|
|
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",
|