@kody-ade/kody-engine 0.4.505 → 0.4.506

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 +1 -10
  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.505",
18
+ version: "0.4.506",
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",
@@ -4206,7 +4206,6 @@ function validateWorkflow(value, options = {}) {
4206
4206
  );
4207
4207
  }
4208
4208
  const defaults = transitions.filter((transition) => asRecord(transition)?.default === true);
4209
- const conditionals = transitions.filter((transition) => asRecord(transition)?.when !== void 0);
4210
4209
  const unconditional = transitions.filter((transition) => {
4211
4210
  const raw = asRecord(transition);
4212
4211
  return typeof transition === "string" || Boolean(raw && raw.when === void 0 && raw.default !== true && raw.maxIterations === void 0);
@@ -4219,14 +4218,6 @@ function validateWorkflow(value, options = {}) {
4219
4218
  `workflow step ${id} has more than one default connection`
4220
4219
  );
4221
4220
  }
4222
- if (conditionals.length > 0 && defaults.length !== 1) {
4223
- issue(
4224
- issues,
4225
- "missing_default_transition",
4226
- `steps[${index}].next`,
4227
- `workflow step ${id} has conditions and needs one default connection`
4228
- );
4229
- }
4230
4221
  if (unconditional.length > 1 || unconditional.length > 0 && transitions.length > 1) {
4231
4222
  issue(
4232
4223
  issues,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.505",
3
+ "version": "0.4.506",
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",