@kody-ade/kody-engine 0.4.500 → 0.4.502
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 +10 -3
- 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.502",
|
|
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",
|
|
@@ -15735,7 +15735,8 @@ var init_loadSimpleCapability = __esm({
|
|
|
15735
15735
|
const skillRoot = path40.join(capability.dir, "skills");
|
|
15736
15736
|
const toolFiles = listFiles(toolRoot);
|
|
15737
15737
|
const skillFiles = listFiles(skillRoot);
|
|
15738
|
-
const
|
|
15738
|
+
const parsedInput = parseInput(ctx.args.input);
|
|
15739
|
+
const input = parsedInput === void 0 && capability.config.inputSchema?.type === "object" ? {} : parsedInput;
|
|
15739
15740
|
if (capability.config.inputSchema) {
|
|
15740
15741
|
validateCapabilityContractValue("input", capability.config.inputSchema, input);
|
|
15741
15742
|
}
|
|
@@ -24845,7 +24846,13 @@ function routeRunRequest(request) {
|
|
|
24845
24846
|
}
|
|
24846
24847
|
const requestedRunId = typeof request.input?.runId === "string" ? request.input.runId : request.requestId;
|
|
24847
24848
|
const workflowRunId = /^[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}$/.test(requestedRunId) ? requestedRunId : void 0;
|
|
24848
|
-
|
|
24849
|
+
const { runId: _runId, ...workflowInput } = objectValue2(request.input) ?? {};
|
|
24850
|
+
return {
|
|
24851
|
+
kind: "action",
|
|
24852
|
+
action: target.id,
|
|
24853
|
+
cliArgs: workflowInput,
|
|
24854
|
+
...workflowRunId ? { workflowRunId } : {}
|
|
24855
|
+
};
|
|
24849
24856
|
}
|
|
24850
24857
|
return { kind: "error", error: "unsupported run request target" };
|
|
24851
24858
|
}
|
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.502",
|
|
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",
|