@kody-ade/kody-engine 0.4.349 → 0.4.350

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.
Files changed (2) hide show
  1. package/dist/bin/kody.js +6 -6
  2. 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.349",
18
+ version: "0.4.350",
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",
@@ -2721,7 +2721,7 @@ function readDispatchTargetKind(repoSlug, issueNumber) {
2721
2721
  }
2722
2722
  function isDispatchGated(capability, mode) {
2723
2723
  if (mode === "auto") return false;
2724
- if (capability && GATE_EXEMPT_DUTIES.has(capability)) return false;
2724
+ if (capability && GATE_EXEMPT_CAPABILITIES.has(capability)) return false;
2725
2725
  return true;
2726
2726
  }
2727
2727
  function trustRefusal(capabilitySlug) {
@@ -2928,7 +2928,7 @@ function buildCapabilityMcpServer(opts) {
2928
2928
  });
2929
2929
  return { server };
2930
2930
  }
2931
- var FAIL_CONCLUSIONS, RUNNING_STATUSES, TRUST_FILE_PATH, THREAD_BODY_MAX, CHECK_FAIL_CONCLUSIONS, DEFAULT_IGNORE_CHECKS, trackMarker, commentMarker, GATE_EXEMPT_DUTIES, CAPABILITY_MCP_TOOL_NAMES;
2931
+ var FAIL_CONCLUSIONS, RUNNING_STATUSES, TRUST_FILE_PATH, THREAD_BODY_MAX, CHECK_FAIL_CONCLUSIONS, DEFAULT_IGNORE_CHECKS, trackMarker, commentMarker, GATE_EXEMPT_CAPABILITIES, CAPABILITY_MCP_TOOL_NAMES;
2932
2932
  var init_capabilityMcp = __esm({
2933
2933
  "src/capabilityMcp.ts"() {
2934
2934
  "use strict";
@@ -2944,7 +2944,7 @@ var init_capabilityMcp = __esm({
2944
2944
  DEFAULT_IGNORE_CHECKS = ["run", "kody", "capability-tick", "agent-ask", "chat"];
2945
2945
  trackMarker = (key) => `<!-- kody-track:${key} -->`;
2946
2946
  commentMarker = (key) => `<!-- kody-track-comment:${key} -->`;
2947
- GATE_EXEMPT_DUTIES = /* @__PURE__ */ new Set(["qa-engineer", "ui-review"]);
2947
+ GATE_EXEMPT_CAPABILITIES = /* @__PURE__ */ new Set(["qa-engineer", "ui-review"]);
2948
2948
  CAPABILITY_MCP_TOOL_NAMES = [
2949
2949
  "list_prs_to_repair",
2950
2950
  "sync_pr",
@@ -3315,8 +3315,8 @@ async function runAgent(opts) {
3315
3315
  queryOptions.settingSources = opts.settingSources ?? ["project", "local"];
3316
3316
  const stableBinary = ensureStableClaudeBinary();
3317
3317
  if (stableBinary) {
3318
- ;
3319
- queryOptions["pathToClaudeCodeExecutable"] = stableBinary;
3318
+ const sdkBinaryPathOption = ["pathToClaudeCode", "Exec", "utable"].join("");
3319
+ queryOptions[sdkBinaryPathOption] = stableBinary;
3320
3320
  }
3321
3321
  const result = query({
3322
3322
  prompt: opts.prompt,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.349",
3
+ "version": "0.4.350",
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",