@kody-ade/kody-engine 0.4.48 → 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.48",
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", `@kody ${classification}`], {
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 @kody ${classification}: ${err instanceof Error ? err.message : String(err)}
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": {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.48",
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",
@@ -12,6 +12,18 @@
12
12
  "templates",
13
13
  "kody.config.schema.json"
14
14
  ],
15
+ "scripts": {
16
+ "kody": "tsx bin/kody.ts",
17
+ "build": "tsup && node scripts/copy-assets.cjs",
18
+ "test": "vitest run tests/unit tests/int --no-coverage",
19
+ "test:e2e": "vitest run tests/e2e --no-coverage",
20
+ "test:all": "vitest run tests --no-coverage",
21
+ "typecheck": "tsc --noEmit",
22
+ "lint": "biome check",
23
+ "lint:fix": "biome check --write",
24
+ "format": "biome format --write",
25
+ "prepublishOnly": "pnpm build"
26
+ },
15
27
  "dependencies": {
16
28
  "@actions/cache": "^6.0.0",
17
29
  "@anthropic-ai/claude-agent-sdk": "0.2.119"
@@ -32,16 +44,5 @@
32
44
  "url": "git+https://github.com/aharonyaircohen/kody-engine.git"
33
45
  },
34
46
  "homepage": "https://github.com/aharonyaircohen/kody-engine",
35
- "bugs": "https://github.com/aharonyaircohen/kody-engine/issues",
36
- "scripts": {
37
- "kody": "tsx bin/kody.ts",
38
- "build": "tsup && node scripts/copy-assets.cjs",
39
- "test": "vitest run tests/unit tests/int --no-coverage",
40
- "test:e2e": "vitest run tests/e2e --no-coverage",
41
- "test:all": "vitest run tests --no-coverage",
42
- "typecheck": "tsc --noEmit",
43
- "lint": "biome check",
44
- "lint:fix": "biome check --write",
45
- "format": "biome format --write"
46
- }
47
- }
47
+ "bugs": "https://github.com/aharonyaircohen/kody-engine/issues"
48
+ }