@kody-ade/kody-engine 0.4.74 → 0.4.76

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.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.74",
3
+ "version": "0.4.76",
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,23 +12,6 @@
12
12
  "templates",
13
13
  "kody.config.schema.json"
14
14
  ],
15
- "scripts": {
16
- "kody": "tsx bin/kody.ts",
17
- "serve": "tsx bin/kody.ts serve",
18
- "serve:vscode": "tsx bin/kody.ts serve vscode",
19
- "serve:claude": "tsx bin/kody.ts serve claude",
20
- "build": "tsup && node scripts/copy-assets.cjs",
21
- "check:modularity": "tsx scripts/check-script-modularity.ts",
22
- "pretest": "pnpm check:modularity",
23
- "test": "vitest run tests/unit tests/int --no-coverage",
24
- "test:e2e": "vitest run tests/e2e --no-coverage",
25
- "test:all": "vitest run tests --no-coverage",
26
- "typecheck": "tsc --noEmit",
27
- "lint": "biome check",
28
- "lint:fix": "biome check --write",
29
- "format": "biome format --write",
30
- "prepublishOnly": "pnpm build"
31
- },
32
15
  "dependencies": {
33
16
  "@actions/cache": "^6.0.0",
34
17
  "@anthropic-ai/claude-agent-sdk": "0.2.119",
@@ -50,5 +33,21 @@
50
33
  "url": "git+https://github.com/aharonyaircohen/kody-engine.git"
51
34
  },
52
35
  "homepage": "https://github.com/aharonyaircohen/kody-engine",
53
- "bugs": "https://github.com/aharonyaircohen/kody-engine/issues"
54
- }
36
+ "bugs": "https://github.com/aharonyaircohen/kody-engine/issues",
37
+ "scripts": {
38
+ "kody": "tsx bin/kody.ts",
39
+ "serve": "tsx bin/kody.ts serve",
40
+ "serve:vscode": "tsx bin/kody.ts serve vscode",
41
+ "serve:claude": "tsx bin/kody.ts serve claude",
42
+ "build": "tsup && node scripts/copy-assets.cjs",
43
+ "check:modularity": "tsx scripts/check-script-modularity.ts",
44
+ "pretest": "pnpm check:modularity",
45
+ "test": "vitest run tests/unit tests/int --no-coverage",
46
+ "test:e2e": "vitest run tests/e2e --no-coverage",
47
+ "test:all": "vitest run tests --no-coverage",
48
+ "typecheck": "tsc --noEmit",
49
+ "lint": "biome check",
50
+ "lint:fix": "biome check --write",
51
+ "format": "biome format --write"
52
+ }
53
+ }
@@ -1,101 +0,0 @@
1
- # Drop this file at .github/workflows/kody.yml in your repo.
2
- #
3
- # Triggers forward every relevant event to `kody`; the engine decides what
4
- # (if anything) to do. The job runs `npx kody` — no shell branching, no
5
- # routing logic in YAML. All orchestration lives in the kody npm package;
6
- # future capabilities ship via `npm publish`, not by editing this file.
7
- #
8
- # Required repo secrets: at least one model provider key (e.g. MINIMAX_API_KEY,
9
- # ANTHROPIC_API_KEY). kody reads any *_API_KEY secret automatically via
10
- # toJSON(secrets) — no need to list them here.
11
- #
12
- # Recommended: KODY_TOKEN secret — a fine-grained PAT or GitHub App token
13
- # with `repo` + `read:org` + `workflow` scopes. Without it, kody's
14
- # commits/PR-creation still work via github.token, but three things degrade:
15
- # 1. PR body updates fail with "token lacks read:org scope" (cosmetic).
16
- # 2. Pushes from kody won't trigger downstream workflows.
17
- # 3. Any commit that modifies `.github/workflows/*` is REJECTED by
18
- # GitHub — the default GITHUB_TOKEN can't touch workflow files.
19
- # Set KODY_TOKEN in repo Settings → Secrets → Actions.
20
-
21
- name: kody
22
-
23
- on:
24
- workflow_dispatch:
25
- inputs:
26
- issue_number:
27
- description: "GitHub issue number (agent mode)"
28
- type: string
29
- default: ""
30
- sessionId:
31
- description: "Chat session ID (chat mode, from Kody-Dashboard)"
32
- type: string
33
- default: ""
34
- message:
35
- description: "Initial chat message (optional)"
36
- type: string
37
- default: ""
38
- model:
39
- description: "Model override (optional, e.g. anthropic/claude-haiku-4-5-20251001)"
40
- type: string
41
- default: ""
42
- dashboardUrl:
43
- description: "Dashboard event ingest URL with inline ?token=... (chat mode)"
44
- type: string
45
- default: ""
46
- issue_comment:
47
- types: [created]
48
- pull_request:
49
- types: [closed]
50
- schedule:
51
- # Wakes every 30 minutes; kody fans out to whichever scheduled executables
52
- # (job-scheduler, memorize, watch-stale-prs, …) match this tick.
53
- #
54
- # `memorize` writes to `.kody/vault/` and opens a daily PR. If your
55
- # `.gitignore` ignores `.kody/*`, add `!.kody/vault/` and `!.kody/vault/**`
56
- # so memorize's pages are tracked.
57
- - cron: "*/15 * * * *"
58
-
59
- jobs:
60
- run:
61
- if: ${{ github.event_name != 'pull_request' || github.event.pull_request.merged == true }}
62
- runs-on: ubuntu-latest
63
- timeout-minutes: 360
64
- concurrency:
65
- group: kody-${{ inputs.sessionId || inputs.issue_number || github.event.issue.number || github.sha }}
66
- cancel-in-progress: false
67
- permissions:
68
- issues: write
69
- pull-requests: write
70
- contents: write
71
- actions: read
72
- steps:
73
- - uses: actions/checkout@v4
74
- with:
75
- fetch-depth: 0
76
- ref: ${{ github.event.pull_request.base.ref || github.ref }}
77
- token: ${{ secrets.KODY_TOKEN || github.token }}
78
-
79
- - uses: actions/setup-node@v4
80
- with:
81
- node-version: 22
82
-
83
- - name: Write pip cache key for LiteLLM
84
- run: echo "litellm[proxy]" > .kody-pip-requirements.txt
85
-
86
- - uses: actions/setup-python@v5
87
- with:
88
- python-version: "3.12"
89
- cache: "pip"
90
- cache-dependency-path: .kody-pip-requirements.txt
91
-
92
- - name: Remove pip cache key file (avoid blocking branch switches)
93
- run: rm -f .kody-pip-requirements.txt
94
-
95
- - env:
96
- ALL_SECRETS: ${{ toJSON(secrets) }}
97
- SESSION_ID: ${{ inputs.sessionId }}
98
- INIT_MESSAGE: ${{ inputs.message }}
99
- MODEL: ${{ inputs.model }}
100
- DASHBOARD_URL: ${{ inputs.dashboardUrl }}
101
- run: npx -y -p @kody-ade/kody-engine@latest kody