@kody-ade/kody-engine 0.4.361 → 0.4.362
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 +5 -4
- 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.362",
|
|
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",
|
|
@@ -2726,7 +2726,7 @@ function dispatchWorkflow(workflowFile, capability, issueNumber, repoSlug, ref)
|
|
|
2726
2726
|
}
|
|
2727
2727
|
}
|
|
2728
2728
|
try {
|
|
2729
|
-
gh([
|
|
2729
|
+
const output = gh([
|
|
2730
2730
|
"workflow",
|
|
2731
2731
|
"run",
|
|
2732
2732
|
workflowFile,
|
|
@@ -2735,7 +2735,8 @@ function dispatchWorkflow(workflowFile, capability, issueNumber, repoSlug, ref)
|
|
|
2735
2735
|
`capability=${capability}`,
|
|
2736
2736
|
...issueNumber ? ["-f", `issue_number=${issueNumber}`] : []
|
|
2737
2737
|
]);
|
|
2738
|
-
|
|
2738
|
+
const runId = Number(output.match(/actions\/runs\/(\d+)/)?.[1]);
|
|
2739
|
+
return Number.isFinite(runId) && runId > 0 ? { ok: true, runId } : { ok: true };
|
|
2739
2740
|
} catch (err) {
|
|
2740
2741
|
return { ok: false, error: err instanceof Error ? err.message : String(err) };
|
|
2741
2742
|
}
|
|
@@ -2929,7 +2930,7 @@ function capabilityToolDefinitions(opts) {
|
|
|
2929
2930
|
opts.repoSlug,
|
|
2930
2931
|
opts.defaultBranch
|
|
2931
2932
|
);
|
|
2932
|
-
const text =
|
|
2933
|
+
const text = JSON.stringify(result);
|
|
2933
2934
|
return { content: [{ type: "text", text }] };
|
|
2934
2935
|
}
|
|
2935
2936
|
};
|
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.362",
|
|
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",
|