@kody-ade/kody-engine 0.4.204-next.2 → 0.4.204-next.3

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.
@@ -136,6 +136,14 @@ export interface Profile {
136
136
  * ENOENT even though profile.json (read here, earlier) loaded fine.
137
137
  */
138
138
  promptTemplates?: Record<string, string>
139
+ /**
140
+ * Subagent markdown captured (by declared name) at load time, BEFORE any
141
+ * task branch switch — same rationale as promptTemplates. loadSubagents
142
+ * prefers this snapshot so a duty's `agents/` surviving only on the default
143
+ * checkout (e.g. `.kody/duties/<slug>/agents/` absent on a PR branch) doesn't
144
+ * crash a PR-targeted duty. Populated by captureSubagentTemplates.
145
+ */
146
+ subagentTemplates?: Record<string, string>
139
147
  }
140
148
 
141
149
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.204-next.2",
3
+ "version": "0.4.204-next.3",
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",