@kody-ade/kody-engine 0.4.491 → 0.4.492

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 +7 -4
  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.491",
18
+ version: "0.4.492",
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",
@@ -4347,10 +4347,13 @@ var init_capability_contract_validation = __esm({
4347
4347
  });
4348
4348
  CapabilityContractValidationError = class extends Error {
4349
4349
  constructor(boundary, errors) {
4350
+ const details = errors.map((error) => {
4351
+ const location = error.instancePath || "$";
4352
+ const property = error.keyword === "additionalProperties" && typeof error.params.additionalProperty === "string" ? ` (${error.params.additionalProperty})` : "";
4353
+ return `${location}: ${error.message ?? error.keyword}${property}`;
4354
+ }).join("; ");
4350
4355
  super(
4351
- `Capability ${boundary} does not match its declared contract: ${validator.errorsText([...errors], {
4352
- separator: "; "
4353
- })}`
4356
+ `Capability ${boundary} does not match its declared contract: ${details}`
4354
4357
  );
4355
4358
  this.boundary = boundary;
4356
4359
  this.errors = errors;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.491",
3
+ "version": "0.4.492",
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",