@kody-ade/kody-engine 0.4.340 → 0.4.342
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
|
@@ -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.
|
|
18
|
+
version: "0.4.342",
|
|
19
19
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
20
20
|
license: "MIT",
|
|
21
21
|
type: "module",
|
|
@@ -11412,7 +11412,7 @@ function formatCapabilityReference(data, profileName) {
|
|
|
11412
11412
|
if (capabilitySchedule) {
|
|
11413
11413
|
lines.push(`- Cadence: \`${capabilitySchedule}\``);
|
|
11414
11414
|
}
|
|
11415
|
-
const capabilityBody = pickToken(data, "capabilityIntent", "jobIntent"
|
|
11415
|
+
const capabilityBody = pickToken(data, "capabilityIntent", "jobIntent");
|
|
11416
11416
|
if (capabilityBody) {
|
|
11417
11417
|
lines.push("", "## Capability body", "", capabilityBody);
|
|
11418
11418
|
}
|
|
@@ -20840,7 +20840,6 @@ async function runCapabilityImplementationStep(valid, profileName, capabilityIde
|
|
|
20840
20840
|
if (capabilityContext.config.capabilityKind)
|
|
20841
20841
|
preloadedData.jobCapabilityKind = capabilityContext.config.capabilityKind;
|
|
20842
20842
|
preloadedData.capabilityIntent = capabilityContext.body;
|
|
20843
|
-
preloadedData.dutyIntent = capabilityContext.body;
|
|
20844
20843
|
preloadedData.jobIntent = capabilityContext.body;
|
|
20845
20844
|
if (preloadedData.jobCapability === void 0) preloadedData.jobCapability = capabilityContext.slug;
|
|
20846
20845
|
if (capabilityContext.config.agent && preloadedData.jobAgent === void 0) {
|
|
@@ -59,6 +59,7 @@ Each `models[]` entry must also carry the creator's canonical model metadata:
|
|
|
59
59
|
- Loop models use `"kind": "agentLoop"` and include `"wakeTarget": {"type": "goal|workflow|capability", "slug": "target-slug"}`. Use `"wakeTarget"`, not only `"target"`, in `models[]`.
|
|
60
60
|
- Workflow models include non-empty `"steps"` as objects with a `"capability"` slug.
|
|
61
61
|
- Workflow models and workflow profiles must not use `"capabilityKind": "workflow"`. `capabilityKind` only belongs to Capability models and its only valid values are `"observe"`, `"act"`, and `"verify"`.
|
|
62
|
+
- When the operator asks for a Workflow model, create a `models[]` entry with `"kind": "workflow"`. Do not convert that requested workflow into a `kind: "capability"` model, and do not call it a "workflow capability".
|
|
62
63
|
- Capability models include `"capabilityKind"`, `"ability"`, `"inputs"`, `"outputs"`, `"allowedActions"`, `"forbiddenActions"`, and `doesNotOwn` includes `"agent identity"` and `"goal progress"`.
|
|
63
64
|
|
|
64
65
|
When a request asks for both a goal and a workflow, keep them separate:
|
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.342",
|
|
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",
|