@kody-ade/kody-engine 0.4.492 → 0.4.493

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 +9 -5
  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.492",
18
+ version: "0.4.493",
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",
@@ -4327,7 +4327,10 @@ function validateCapabilityContractValue(boundary, schema, value) {
4327
4327
  }
4328
4328
  function capabilityContractInput(inputs, args) {
4329
4329
  const isGenericRunnerInput = inputs.some((input) => input.name === "input") && Object.hasOwn(args, "input");
4330
- if (!isGenericRunnerInput) return args;
4330
+ if (!isGenericRunnerInput) {
4331
+ const isParameterlessGenericRunner = inputs.some((input) => input.name === "capability") && Object.hasOwn(args, "capability");
4332
+ return isParameterlessGenericRunner ? {} : args;
4333
+ }
4331
4334
  const value = args.input;
4332
4335
  if (typeof value !== "string") return value;
4333
4336
  try {
@@ -15493,9 +15496,10 @@ async function resolveRuntimeSecret(name, ctx, opts = {}) {
15493
15496
  }
15494
15497
  async function resolveRuntimeSecrets(names, ctx, opts = {}) {
15495
15498
  const declared = Array.isArray(names) ? [...new Set(names.filter((name) => typeof name === "string" && /^[A-Z][A-Z0-9_]*$/.test(name)))] : [];
15496
- const resolved = await Promise.all(
15497
- declared.map(async (name) => ({ name, result: await resolveRuntimeSecret(name, ctx, opts) }))
15498
- );
15499
+ const resolved = [];
15500
+ for (const name of declared) {
15501
+ resolved.push({ name, result: await resolveRuntimeSecret(name, ctx, opts) });
15502
+ }
15499
15503
  return {
15500
15504
  environment: Object.fromEntries(
15501
15505
  resolved.flatMap(({ name, result }) => result.value ? [[name, result.value]] : [])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.492",
3
+ "version": "0.4.493",
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",