@kody-ade/kody-engine 0.4.649 → 0.4.650

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.649",
18
+ version: "0.4.650",
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: {
@@ -24974,13 +24974,17 @@ async function runJob(job, base) {
24974
24974
  }
24975
24975
  if (valid.workflowRunId && workflowIdentity && hasGitHubActionsIdentity() && result.workflowState?.status !== "waiting-approval") {
24976
24976
  const facts = result.workflowState?.facts ?? {};
24977
+ const completionOutput = {
24978
+ ...facts,
24979
+ ...result.usage ? { usage: result.usage } : {}
24980
+ };
24977
24981
  await notifyWorkflowCompleted({
24978
24982
  workflowId: workflowIdentity,
24979
24983
  runId: valid.workflowRunId,
24980
24984
  ...typeof base.preloadedData?.loopId === "string" ? { loopId: base.preloadedData.loopId } : {},
24981
24985
  status: result.workflowState?.status === "blocked" ? "blocked" : result.exitCode === 0 ? "success" : "failed",
24982
24986
  ...result.reason ? { summary: result.reason } : {},
24983
- ...Object.keys(facts).length > 0 ? { output: facts } : {}
24987
+ ...Object.keys(completionOutput).length > 0 ? { output: completionOutput } : {}
24984
24988
  });
24985
24989
  }
24986
24990
  publishRunUsage(`workflow:${workflowIdentity}`, result.usage);
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.649",
3
+ "version": "0.4.650",
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
  "repository": {
@@ -17,6 +17,30 @@
17
17
  "docs/delivery-boundary.md",
18
18
  "kody.config.schema.json"
19
19
  ],
20
+ "scripts": {
21
+ "kody:run": "tsx bin/kody.ts",
22
+ "serve": "tsx bin/kody.ts serve",
23
+ "serve:vscode": "tsx bin/kody.ts serve vscode",
24
+ "serve:claude": "tsx bin/kody.ts serve claude",
25
+ "clean:dist": "node scripts/clean-dist.cjs",
26
+ "build": "pnpm clean:dist && tsup && node scripts/copy-assets.cjs",
27
+ "check:modularity": "tsx scripts/check-script-modularity.ts",
28
+ "pretest": "pnpm check:modularity",
29
+ "test": "vitest run tests/unit tests/int --coverage",
30
+ "posttest": "tsx scripts/check-coverage-floor.ts",
31
+ "test:smoke": "vitest run tests/smoke --no-coverage",
32
+ "test:e2e": "vitest run tests/e2e --no-coverage",
33
+ "verify:live-release": "tsx scripts/live-release-gate.ts",
34
+ "test:runtime-services": "node --test \"tests/runtime-services/*.test.mjs\"",
35
+ "test:all": "vitest run tests --no-coverage",
36
+ "typecheck": "tsc --noEmit",
37
+ "lint": "biome check",
38
+ "lint:fix": "biome check --write",
39
+ "format": "biome format --write",
40
+ "verify:package": "node scripts/verify-package-tarball.cjs",
41
+ "brain:publish": "docker buildx build --platform linux/amd64 -f runner/Dockerfile.brain --build-arg KODY_ENGINE_REF=$(git rev-parse HEAD) -t ghcr.io/${KODY_BRAIN_GHCR_OWNER:-aharonyaircohen}/kody-brain:latest --push runner",
42
+ "prepublishOnly": "pnpm typecheck && pnpm test:runtime-services && pnpm build && pnpm verify:package"
43
+ },
20
44
  "dependencies": {
21
45
  "@actions/cache": "^6.0.0",
22
46
  "@anthropic-ai/claude-agent-sdk": "0.2.119",
@@ -39,28 +63,5 @@
39
63
  "node": ">=22"
40
64
  },
41
65
  "homepage": "https://github.com/aharonyaircohen/kody-engine",
42
- "bugs": "https://github.com/aharonyaircohen/kody-engine/issues",
43
- "scripts": {
44
- "kody:run": "tsx bin/kody.ts",
45
- "serve": "tsx bin/kody.ts serve",
46
- "serve:vscode": "tsx bin/kody.ts serve vscode",
47
- "serve:claude": "tsx bin/kody.ts serve claude",
48
- "clean:dist": "node scripts/clean-dist.cjs",
49
- "build": "pnpm clean:dist && tsup && node scripts/copy-assets.cjs",
50
- "check:modularity": "tsx scripts/check-script-modularity.ts",
51
- "pretest": "pnpm check:modularity",
52
- "test": "vitest run tests/unit tests/int --coverage",
53
- "posttest": "tsx scripts/check-coverage-floor.ts",
54
- "test:smoke": "vitest run tests/smoke --no-coverage",
55
- "test:e2e": "vitest run tests/e2e --no-coverage",
56
- "verify:live-release": "tsx scripts/live-release-gate.ts",
57
- "test:runtime-services": "node --test \"tests/runtime-services/*.test.mjs\"",
58
- "test:all": "vitest run tests --no-coverage",
59
- "typecheck": "tsc --noEmit",
60
- "lint": "biome check",
61
- "lint:fix": "biome check --write",
62
- "format": "biome format --write",
63
- "verify:package": "node scripts/verify-package-tarball.cjs",
64
- "brain:publish": "docker buildx build --platform linux/amd64 -f runner/Dockerfile.brain --build-arg KODY_ENGINE_REF=$(git rev-parse HEAD) -t ghcr.io/${KODY_BRAIN_GHCR_OWNER:-aharonyaircohen}/kody-brain:latest --push runner"
65
- }
66
- }
66
+ "bugs": "https://github.com/aharonyaircohen/kody-engine/issues"
67
+ }