@kody-ade/kody-engine 0.4.618 → 0.4.619

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 +10 -2
  2. package/package.json +2 -2
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.618",
18
+ version: "0.4.619",
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
  repository: {
@@ -2355,11 +2355,14 @@ function parseCapabilityRequirements(raw) {
2355
2355
  if (raw === void 0) return void 0;
2356
2356
  if (!isPlainObject(raw)) throw new Error("contract.json requirements must be an object");
2357
2357
  const unsupported = Object.keys(raw).filter(
2358
- (key) => key !== "browser" && key !== "qaCredentials" && key !== "githubTestToken" && key !== "qaAccountCredentials" && key !== "qaAccountModelSettings" && key !== "browserOnly"
2358
+ (key) => key !== "cms" && key !== "browser" && key !== "qaCredentials" && key !== "githubTestToken" && key !== "qaAccountCredentials" && key !== "qaAccountModelSettings" && key !== "browserOnly"
2359
2359
  );
2360
2360
  if (unsupported.length > 0) {
2361
2361
  throw new Error(`contract.json requirements contains unsupported fields: ${unsupported.join(", ")}`);
2362
2362
  }
2363
+ if (raw.cms !== void 0 && typeof raw.cms !== "boolean") {
2364
+ throw new Error("contract.json requirements.cms must be boolean");
2365
+ }
2363
2366
  if (raw.browser !== void 0 && typeof raw.browser !== "boolean") {
2364
2367
  throw new Error("contract.json requirements.browser must be boolean");
2365
2368
  }
@@ -2382,6 +2385,7 @@ function parseCapabilityRequirements(raw) {
2382
2385
  throw new Error("contract.json authentication requirements require browser");
2383
2386
  }
2384
2387
  const requirements = {
2388
+ ...raw.cms === true ? { cms: true } : {},
2385
2389
  ...raw.browser === true ? { browser: true } : {},
2386
2390
  ...raw.qaCredentials === true ? { qaCredentials: true } : {},
2387
2391
  ...raw.githubTestToken === true ? { githubTestToken: true } : {},
@@ -23042,6 +23046,10 @@ async function runImplementation(profileName, input) {
23042
23046
  // to know the palette — it just forwards the flag so agent.ts can spin
23043
23047
  // up the in-process `kody-capability` MCP server with the right context.
23044
23048
  enableCapabilityTool: Array.isArray(ctx.data.capabilityTools) && ctx.data.capabilityTools.length > 0,
23049
+ enableDashboardCmsTool: Boolean(
23050
+ ctx.data.capabilityRequirements && typeof ctx.data.capabilityRequirements === "object" && !Array.isArray(ctx.data.capabilityRequirements) && ctx.data.capabilityRequirements.cms === true
23051
+ ),
23052
+ cmsRepoSlug: config.github?.owner && config.github?.repo ? `${config.github.owner}/${config.github.repo}` : process.env.GITHUB_REPOSITORY?.trim() || void 0,
23045
23053
  capabilityOperatorMention: typeof ctx.data.capabilityOperatorMention === "string" ? ctx.data.capabilityOperatorMention : void 0,
23046
23054
  // Stamp the running capability's slug onto recommendations so the dashboard
23047
23055
  // keys trust per capability (not per agent). `jobSlug` is set by loadJobFromFile.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.618",
4
- "description": "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
3
+ "version": "0.4.619",
4
+ "description": "kody autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",