@kody-ade/kody-engine 0.4.47 → 0.4.49
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
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@kody-ade/kody-engine",
|
|
6
|
-
version: "0.4.
|
|
6
|
+
version: "0.4.49",
|
|
7
7
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
8
8
|
license: "MIT",
|
|
9
9
|
type: "module",
|
|
@@ -4485,15 +4485,17 @@ var dispatchClassified = async (ctx) => {
|
|
|
4485
4485
|
if (!issueNumber) return;
|
|
4486
4486
|
const classification = ctx.data.classification;
|
|
4487
4487
|
if (!classification || !VALID_CLASSES2.has(classification)) return;
|
|
4488
|
+
const baseArg = typeof ctx.args.base === "string" && ctx.args.base.length > 0 ? ` --base ${ctx.args.base}` : "";
|
|
4489
|
+
const body = `@kody ${classification}${baseArg}`;
|
|
4488
4490
|
try {
|
|
4489
|
-
execFileSync13("gh", ["issue", "comment", String(issueNumber), "--body",
|
|
4491
|
+
execFileSync13("gh", ["issue", "comment", String(issueNumber), "--body", body], {
|
|
4490
4492
|
cwd: ctx.cwd,
|
|
4491
4493
|
timeout: API_TIMEOUT_MS5,
|
|
4492
4494
|
stdio: ["ignore", "pipe", "pipe"]
|
|
4493
4495
|
});
|
|
4494
4496
|
} catch (err) {
|
|
4495
4497
|
process.stderr.write(
|
|
4496
|
-
`[kody dispatchClassified] failed to dispatch
|
|
4498
|
+
`[kody dispatchClassified] failed to dispatch ${body}: ${err instanceof Error ? err.message : String(err)}
|
|
4497
4499
|
`
|
|
4498
4500
|
);
|
|
4499
4501
|
ctx.data.action = failedAction3("dispatch post failed");
|
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
"type": "int",
|
|
10
10
|
"required": true,
|
|
11
11
|
"describe": "GitHub issue number to drive the flow on."
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "base",
|
|
15
|
+
"flag": "--base",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"required": false,
|
|
18
|
+
"describe": "Optional base branch override (stacked-PR). Forwarded to the `run` child by the container loop."
|
|
12
19
|
}
|
|
13
20
|
],
|
|
14
21
|
"claudeCode": {
|
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
"type": "int",
|
|
10
10
|
"required": true,
|
|
11
11
|
"describe": "GitHub issue number to drive the flow on."
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "base",
|
|
15
|
+
"flag": "--base",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"required": false,
|
|
18
|
+
"describe": "Optional base branch override (stacked-PR). Forwarded to the `run` child by the container loop."
|
|
12
19
|
}
|
|
13
20
|
],
|
|
14
21
|
"claudeCode": {
|
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
"type": "int",
|
|
10
10
|
"required": true,
|
|
11
11
|
"describe": "GitHub issue number to classify."
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "base",
|
|
15
|
+
"flag": "--base",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"required": false,
|
|
18
|
+
"describe": "Optional base branch override forwarded by goal-tick's stacked-PR dispatch. dispatchClassified re-emits this on the `@kody <classification>` comment so the downstream container/run keeps the stacked base."
|
|
12
19
|
}
|
|
13
20
|
],
|
|
14
21
|
"claudeCode": {
|
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
"type": "int",
|
|
10
10
|
"required": true,
|
|
11
11
|
"describe": "GitHub issue number to drive the flow on."
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "base",
|
|
15
|
+
"flag": "--base",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"required": false,
|
|
18
|
+
"describe": "Optional base branch override (stacked-PR). Forwarded to the `run` child by the container loop."
|
|
12
19
|
}
|
|
13
20
|
],
|
|
14
21
|
"claudeCode": {
|
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.49",
|
|
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",
|