@kody-ade/kody-engine 0.2.26 → 0.2.27

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/README.md CHANGED
@@ -18,7 +18,7 @@
18
18
  └─────────────────────────────────────────────┘
19
19
  ```
20
20
 
21
- Every top-level command is its own auto-discovered executable (`run`, `fix`, `fix-ci`, `resolve`, `review`, `sync`, `plan`, `plan-verify`, `orchestrator`, `release`, `watch-*`, `init`). The router has no hardcoded command switch beyond `ci`/`help`/`version` — drop a new `src/executables/<name>/` directory with a `profile.json` + `prompt.md` and `kody2 <name>` starts working. The executor knows nothing about any specific command.
21
+ Every top-level command is its own auto-discovered executable (`run`, `fix`, `fix-ci`, `resolve`, `review`, `plan`, `orchestrator`, `release`, `watch-*`, `init`). The router has no hardcoded command switch beyond `ci`/`help`/`version` — drop a new `src/executables/<name>/` directory with a `profile.json` + `prompt.md` and `kody2 <name>` starts working. The executor knows nothing about any specific command.
22
22
 
23
23
  ## Install in a consumer repo
24
24
 
@@ -32,11 +32,9 @@ Every top-level command is its own auto-discovered executable (`run`, `fix`, `fi
32
32
 
33
33
  ```
34
34
  kody2 run --issue <N> # implement an issue
35
- kody2 plan --issue <N> # produce a plan artifact for run
36
35
  kody2 fix --pr <N> [--feedback ...] # apply PR review feedback
37
36
  kody2 fix-ci --pr <N> [--run-id <ID>] # fix failing CI
38
37
  kody2 resolve --pr <N> # merge default branch in, resolve conflicts
39
- kody2 sync --pr <N> # merge default branch into PR branch (no agent)
40
38
  kody2 review --pr <N> # read-only structured PR review
41
39
  kody2 ci --issue <N> # CI preflight + run
42
40
  ```
package/dist/bin/kody2.js CHANGED
@@ -3,7 +3,7 @@
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@kody-ade/kody-engine",
6
- version: "0.2.26",
6
+ version: "0.2.27",
7
7
  description: "kody2 \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
8
8
  license: "MIT",
9
9
  type: "module",
@@ -359,9 +359,6 @@ async function runAgent(opts) {
359
359
  if (typeof opts.maxTurns === "number" && opts.maxTurns > 0) {
360
360
  queryOptions.maxTurns = opts.maxTurns;
361
361
  }
362
- if (typeof opts.maxThinkingTokens === "number" && opts.maxThinkingTokens > 0) {
363
- queryOptions.maxThinkingTokens = opts.maxThinkingTokens;
364
- }
365
362
  if (typeof opts.systemPromptAppend === "string" && opts.systemPromptAppend.length > 0) {
366
363
  queryOptions.systemPrompt = { type: "preset", preset: "claude_code", append: opts.systemPromptAppend };
367
364
  }
@@ -840,7 +837,6 @@ function parseClaudeCode(p, raw) {
840
837
  model: typeof r.model === "string" ? r.model : "inherit",
841
838
  permissionMode,
842
839
  maxTurns: typeof r.maxTurns === "number" ? r.maxTurns : null,
843
- maxThinkingTokens: typeof r.maxThinkingTokens === "number" ? r.maxThinkingTokens : null,
844
840
  systemPromptAppend: typeof r.systemPromptAppend === "string" ? r.systemPromptAppend : null,
845
841
  tools,
846
842
  hooks: Array.isArray(r.hooks) ? r.hooks : [],
@@ -3811,7 +3807,6 @@ async function runExecutable(profileName, input) {
3811
3807
  mcpServers: profile.claudeCode.mcpServers,
3812
3808
  pluginPaths: pluginPaths.length > 0 ? pluginPaths : void 0,
3813
3809
  maxTurns: profile.claudeCode.maxTurns,
3814
- maxThinkingTokens: profile.claudeCode.maxThinkingTokens,
3815
3810
  systemPromptAppend: profile.claudeCode.systemPromptAppend,
3816
3811
  settingSources: profile.claudeCode.settingSources
3817
3812
  });
@@ -87,8 +87,6 @@ export interface ClaudeCodeSpec {
87
87
  permissionMode: "default" | "acceptEdits" | "plan" | "bypassPermissions"
88
88
  /** null = unbounded. */
89
89
  maxTurns: number | null
90
- /** Extended-thinking token budget. null = SDK default. */
91
- maxThinkingTokens: number | null
92
90
  /** Text appended on top of Claude Code's baseline system prompt. */
93
91
  systemPromptAppend: string | null
94
92
  /** SDK built-in tools this executable is allowed to use (capability pack). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.2.26",
3
+ "version": "0.2.27",
4
4
  "description": "kody2 — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -12,18 +12,6 @@
12
12
  "templates",
13
13
  "kody.config.schema.json"
14
14
  ],
15
- "scripts": {
16
- "kody2": "tsx bin/kody2.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
- },
27
15
  "dependencies": {
28
16
  "@anthropic-ai/claude-agent-sdk": "0.2.92"
29
17
  },
@@ -43,5 +31,16 @@
43
31
  "url": "git+https://github.com/aharonyaircohen/kody-engine.git"
44
32
  },
45
33
  "homepage": "https://github.com/aharonyaircohen/kody-engine",
46
- "bugs": "https://github.com/aharonyaircohen/kody-engine/issues"
47
- }
34
+ "bugs": "https://github.com/aharonyaircohen/kody-engine/issues",
35
+ "scripts": {
36
+ "kody2": "tsx bin/kody2.ts",
37
+ "build": "tsup && node scripts/copy-assets.cjs",
38
+ "test": "vitest run tests/unit tests/int --no-coverage",
39
+ "test:e2e": "vitest run tests/e2e --no-coverage",
40
+ "test:all": "vitest run tests --no-coverage",
41
+ "typecheck": "tsc --noEmit",
42
+ "lint": "biome check",
43
+ "lint:fix": "biome check --write",
44
+ "format": "biome format --write"
45
+ }
46
+ }