@kody-ade/kody-engine 0.4.305 → 0.4.307

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.
@@ -76,13 +76,20 @@ export interface Profile {
76
76
  */
77
77
  kind: "oneshot" | "scheduled"
78
78
  /**
79
- * Locked-toolbox palette (unified successor to a markdown capability's `tools:`
79
+ * Capability MCP palette (unified successor to a markdown capability's `tools:`
80
80
  * metadata). When non-empty, loadCapabilityState sets ctx.data.capabilityTools so the
81
- * executor spins up the in-process kody-capability MCP server and the agent runs
82
- * MCP-only (Bash/Read revoked unless also in claudeCode.tools). Absent →
83
- * normal SDK tools.
81
+ * executor spins up the in-process kody-capability MCP server. By default this
82
+ * is locked mode: Bash/Read are revoked and only the declared MCP tools plus
83
+ * submit_state remain.
84
84
  */
85
85
  capabilityTools?: string[]
86
+ /**
87
+ * `lock` (default) replaces the normal toolbox with capability MCP tools.
88
+ * `append` keeps the normal toolbox and adds the declared MCP tools. Use append
89
+ * only for coordinator capabilities that still own repo state edits but must use
90
+ * an engine primitive for a narrow side effect such as starting another capability.
91
+ */
92
+ capabilityToolMode?: "lock" | "append"
86
93
  /**
87
94
  * GitHub logins (no leading `@`) this capability's output should mention. Rendered
88
95
  * to `@a @b` and exposed to the prompt as {{mentions}} (and as the capability-MCP
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.305",
3
+ "version": "0.4.307",
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",