@kody-ade/kody-engine 0.4.436 → 0.4.438
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 +14 -1
- package/package.json +1 -1
package/dist/bin/kody.js
CHANGED
|
@@ -15,7 +15,7 @@ var init_package = __esm({
|
|
|
15
15
|
"package.json"() {
|
|
16
16
|
package_default = {
|
|
17
17
|
name: "@kody-ade/kody-engine",
|
|
18
|
-
version: "0.4.
|
|
18
|
+
version: "0.4.438",
|
|
19
19
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
|
|
20
20
|
license: "MIT",
|
|
21
21
|
type: "module",
|
|
@@ -22199,6 +22199,15 @@ async function runCapabilityImplementationStep(valid, profileName, capabilityIde
|
|
|
22199
22199
|
};
|
|
22200
22200
|
const shouldApplyResolvedCapabilityArgs = valid.implementation === void 0 && resolvedCapability && profileName === resolvedCapability.implementation;
|
|
22201
22201
|
input.cliArgs = shouldApplyResolvedCapabilityArgs ? { ...resolvedCapability.cliArgs, ...input.cliArgs } : input.cliArgs;
|
|
22202
|
+
if (profileName === "capability-run" && capabilityIdentity) {
|
|
22203
|
+
const capabilityInput = { ...valid.cliArgs };
|
|
22204
|
+
input.cliArgs = {
|
|
22205
|
+
capability: capabilityIdentity,
|
|
22206
|
+
...Object.keys(capabilityInput).length > 0 ? {
|
|
22207
|
+
input: Object.keys(capabilityInput).length === 1 && typeof capabilityInput.input === "string" ? capabilityInput.input : JSON.stringify(capabilityInput)
|
|
22208
|
+
} : {}
|
|
22209
|
+
};
|
|
22210
|
+
}
|
|
22202
22211
|
const run = base.chain === false ? runImplementation : runImplementationChain;
|
|
22203
22212
|
return run(profileName, input);
|
|
22204
22213
|
}
|
|
@@ -24682,7 +24691,11 @@ function readLoopDefinition(cwd, id) {
|
|
|
24682
24691
|
try {
|
|
24683
24692
|
const loop = normalizeLoopDefinition(JSON.parse(fs50.readFileSync(filePath, "utf8")));
|
|
24684
24693
|
if (loop?.id === id) return loop;
|
|
24694
|
+
process.stderr.write(`[kody] invalid simple Loop definition: ${filePath}
|
|
24695
|
+
`);
|
|
24685
24696
|
} catch {
|
|
24697
|
+
process.stderr.write(`[kody] unreadable simple Loop definition: ${filePath}
|
|
24698
|
+
`);
|
|
24686
24699
|
}
|
|
24687
24700
|
}
|
|
24688
24701
|
return null;
|
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.438",
|
|
4
4
|
"description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|