@kody-ade/kody-engine 0.4.126 → 0.4.127
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 +8 -2
- package/package.json +1 -1
package/dist/bin/kody.js
CHANGED
|
@@ -880,7 +880,7 @@ var init_loadPriorArt = __esm({
|
|
|
880
880
|
// package.json
|
|
881
881
|
var package_default = {
|
|
882
882
|
name: "@kody-ade/kody-engine",
|
|
883
|
-
version: "0.4.
|
|
883
|
+
version: "0.4.127",
|
|
884
884
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
885
885
|
license: "MIT",
|
|
886
886
|
type: "module",
|
|
@@ -6478,6 +6478,9 @@ function parseFlatYaml(text) {
|
|
|
6478
6478
|
else if (lower === "false") out.disabled = false;
|
|
6479
6479
|
} else if (key === "staff" && value.length > 0) {
|
|
6480
6480
|
out.staff = value;
|
|
6481
|
+
} else if (key === "mentions") {
|
|
6482
|
+
const logins = value.split(",").map((s) => s.trim().replace(/^@/, "")).filter(Boolean);
|
|
6483
|
+
if (logins.length > 0) out.mentions = logins;
|
|
6481
6484
|
}
|
|
6482
6485
|
}
|
|
6483
6486
|
return out;
|
|
@@ -8485,7 +8488,9 @@ var loadJobFromFile = async (ctx, _profile, args) => {
|
|
|
8485
8488
|
}
|
|
8486
8489
|
const raw = fs31.readFileSync(absPath, "utf-8");
|
|
8487
8490
|
const { title, body } = parseJobFile(raw, slug);
|
|
8488
|
-
const
|
|
8491
|
+
const frontmatter = splitFrontmatter2(raw).frontmatter;
|
|
8492
|
+
const mentions = (frontmatter.mentions ?? []).map((login) => `@${login}`).join(" ");
|
|
8493
|
+
const workerSlug = (frontmatter.staff ?? "").trim();
|
|
8489
8494
|
let workerTitle = "";
|
|
8490
8495
|
let workerPersona = "";
|
|
8491
8496
|
if (workerSlug) {
|
|
@@ -8510,6 +8515,7 @@ var loadJobFromFile = async (ctx, _profile, args) => {
|
|
|
8510
8515
|
ctx.data.workerSlug = workerSlug;
|
|
8511
8516
|
ctx.data.workerTitle = workerTitle;
|
|
8512
8517
|
ctx.data.workerPersona = workerPersona;
|
|
8518
|
+
ctx.data.mentions = mentions;
|
|
8513
8519
|
};
|
|
8514
8520
|
function parseJobFile(raw, slug) {
|
|
8515
8521
|
let stripped = raw;
|
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.127",
|
|
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",
|