@kody-ade/kody-engine 0.4.65 → 0.4.67

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.
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "bug",
3
3
  "role": "container",
4
+ "preloadContext": true,
4
5
  "describe": "Bug / enhancement flow — reproduce → plan → run → review (→ fix on concerns/fail). Children run sequentially in one process via the container loop.",
5
6
  "inputs": [
6
7
  {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "chore",
3
3
  "role": "container",
4
+ "preloadContext": true,
4
5
  "describe": "Chore / docs / dep-bump flow — run → review (→ fix on concerns/fail). Skips planning entirely. Children run sequentially in one process via the container loop.",
5
6
  "inputs": [
6
7
  {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "feature",
3
3
  "role": "container",
4
+ "preloadContext": true,
4
5
  "describe": "Feature / refactor flow — research → plan → run → review (→ fix on concerns/fail). Children run sequentially in one process via the container loop.",
5
6
  "inputs": [
6
7
  {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -102,6 +102,20 @@ export interface Profile {
102
102
  * then makes pass). Only honoured when `role === "container"`.
103
103
  */
104
104
  resetBetweenChildren?: boolean
105
+ /**
106
+ * Phase 5 in-process handoff: when true, the container's loop runs
107
+ * the shared context loaders (loadConventions, loadPriorArt,
108
+ * loadMemoryContext, loadCoverageRules) ONCE after its own preflight
109
+ * completes, then passes the resulting `ctx.data` snapshot to every
110
+ * child via `ExecutorInput.preloadedData`. Each child's loaders take
111
+ * their fast path (added in 0.4.63) and skip the redundant
112
+ * GitHub/filesystem round-trips.
113
+ *
114
+ * Default `false` (opt-in) so the change is gated to containers
115
+ * that have been verified end-to-end. Only honoured when
116
+ * `role === "container"`.
117
+ */
118
+ preloadContext?: boolean
105
119
  /** Absolute directory the profile was loaded from. Used to resolve prompt.md. */
106
120
  dir: string
107
121
  }
@@ -73,6 +73,7 @@
73
73
  { "script": "loadConventions" },
74
74
  { "script": "discoverQaContext" },
75
75
  { "script": "loadQaGuide" },
76
+ { "script": "startLocalServer" },
76
77
  { "script": "resolvePreviewUrl" },
77
78
  { "script": "composePrompt" }
78
79
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.65",
3
+ "version": "0.4.67",
4
4
  "description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -12,6 +12,18 @@
12
12
  "templates",
13
13
  "kody.config.schema.json"
14
14
  ],
15
+ "scripts": {
16
+ "kody": "tsx bin/kody.ts",
17
+ "build": "tsup && node scripts/copy-assets.cjs",
18
+ "test": "vitest run tests/unit tests/int --no-coverage",
19
+ "test:e2e": "vitest run tests/e2e --no-coverage",
20
+ "test:all": "vitest run tests --no-coverage",
21
+ "typecheck": "tsc --noEmit",
22
+ "lint": "biome check",
23
+ "lint:fix": "biome check --write",
24
+ "format": "biome format --write",
25
+ "prepublishOnly": "pnpm build"
26
+ },
15
27
  "dependencies": {
16
28
  "@actions/cache": "^6.0.0",
17
29
  "@anthropic-ai/claude-agent-sdk": "0.2.119",
@@ -33,16 +45,5 @@
33
45
  "url": "git+https://github.com/aharonyaircohen/kody-engine.git"
34
46
  },
35
47
  "homepage": "https://github.com/aharonyaircohen/kody-engine",
36
- "bugs": "https://github.com/aharonyaircohen/kody-engine/issues",
37
- "scripts": {
38
- "kody": "tsx bin/kody.ts",
39
- "build": "tsup && node scripts/copy-assets.cjs",
40
- "test": "vitest run tests/unit tests/int --no-coverage",
41
- "test:e2e": "vitest run tests/e2e --no-coverage",
42
- "test:all": "vitest run tests --no-coverage",
43
- "typecheck": "tsc --noEmit",
44
- "lint": "biome check",
45
- "lint:fix": "biome check --write",
46
- "format": "biome format --write"
47
- }
48
- }
48
+ "bugs": "https://github.com/aharonyaircohen/kody-engine/issues"
49
+ }