@kody-ade/kody-engine 0.2.11 → 0.2.13
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 +5 -4
- package/dist/bin/kody2.js +309 -243
- package/dist/executables/fix/profile.json +93 -0
- package/dist/executables/fix-ci/profile.json +93 -0
- package/dist/executables/init/profile.json +4 -6
- package/dist/executables/orchestrator/profile.json +28 -15
- package/dist/executables/plan/profile.json +33 -16
- package/dist/executables/plan-verify/profile.json +37 -0
- package/dist/executables/plan-verify/prompt.md +53 -0
- package/dist/executables/release/profile.json +13 -8
- package/dist/executables/resolve/profile.json +80 -0
- package/dist/executables/review/profile.json +19 -10
- package/dist/executables/run/profile.json +86 -0
- package/dist/executables/types.ts +13 -11
- package/dist/executables/watch-stale-prs/profile.json +4 -7
- package/dist/plugins/commands/kody-live-probe.md +9 -0
- package/dist/plugins/hooks/kody-live-trace.json +17 -0
- package/dist/plugins/skills/kody-live-marker/SKILL.md +18 -0
- package/dist/plugins/test-plugin/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/test-plugin/skills/kody-plugin-marker/SKILL.md +16 -0
- package/package.json +2 -2
- package/dist/executables/build/profile.json +0 -99
- package/dist/executables/orchestrator/prompts/orchestrator.md +0 -56
- package/dist/executables/plan/prompts/plan.md +0 -42
- /package/dist/executables/{build/prompts/fix.md → fix/prompt.md} +0 -0
- /package/dist/executables/{build/prompts/fix-ci.md → fix-ci/prompt.md} +0 -0
- /package/dist/executables/{build/prompts/resolve.md → resolve/prompt.md} +0 -0
- /package/dist/executables/{build/prompts/run.md → run/prompt.md} +0 -0
package/README.md
CHANGED
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
│ kody2 CLI (@kody-ade/kody-engine) │
|
|
14
14
|
│ bin/kody2.ts — parses argv │
|
|
15
15
|
│ src/executor.ts — runs one profile │
|
|
16
|
-
│ src/executables
|
|
16
|
+
│ src/executables/<name>/profile.json │
|
|
17
17
|
│ src/scripts/*.ts — named hook catalog │
|
|
18
18
|
└─────────────────────────────────────────────┘
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
`run
|
|
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
|
|
|
@@ -31,13 +31,14 @@
|
|
|
31
31
|
## Commands
|
|
32
32
|
|
|
33
33
|
```
|
|
34
|
-
kody2 run --issue <N>
|
|
34
|
+
kody2 run --issue <N> # implement an issue
|
|
35
35
|
kody2 fix --pr <N> [--feedback ...] # apply PR review feedback
|
|
36
36
|
kody2 fix-ci --pr <N> [--run-id <ID>] # fix failing CI
|
|
37
37
|
kody2 resolve --pr <N> # merge default branch in, resolve conflicts
|
|
38
|
+
kody2 review --pr <N> # read-only structured PR review
|
|
38
39
|
kody2 ci --issue <N> # CI preflight + run
|
|
39
40
|
```
|
|
40
41
|
|
|
41
42
|
## Profiles
|
|
42
43
|
|
|
43
|
-
A profile is declarative JSON + an adjacent prompt. See `src/executables
|
|
44
|
+
A profile is declarative JSON + an adjacent `prompt.md`. See any directory under `src/executables/` for examples. Adding a new command = new directory + profile + prompt + registering any new scripts under `src/scripts/`. No executor, entry, or dispatch changes.
|