@kody-ade/kody-engine 0.1.0

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.
Files changed (41) hide show
  1. package/README.md +76 -0
  2. package/dist/bin/cli.mjs +10677 -0
  3. package/dist/bin/cli.mjs.map +1 -0
  4. package/opencode/agents/admin-expert.md +73 -0
  5. package/opencode/agents/advisor.md +128 -0
  6. package/opencode/agents/architect.md +193 -0
  7. package/opencode/agents/autofix.md +103 -0
  8. package/opencode/agents/build-delegation-test.md +93 -0
  9. package/opencode/agents/build-delegation.md +98 -0
  10. package/opencode/agents/build-manager.md +212 -0
  11. package/opencode/agents/build.md +266 -0
  12. package/opencode/agents/clarify.md +84 -0
  13. package/opencode/agents/code-reviewer.md +42 -0
  14. package/opencode/agents/commit.md +27 -0
  15. package/opencode/agents/docs.md +123 -0
  16. package/opencode/agents/domain/admin-expert.md +43 -0
  17. package/opencode/agents/domain/llm-expert.md +55 -0
  18. package/opencode/agents/domain/payload-expert.md +67 -0
  19. package/opencode/agents/domain/security-auditor.md +62 -0
  20. package/opencode/agents/domain/ui-expert.md +43 -0
  21. package/opencode/agents/domain/web-expert.md +45 -0
  22. package/opencode/agents/e2e-test-writer.md +156 -0
  23. package/opencode/agents/fix.md +158 -0
  24. package/opencode/agents/gap.md +206 -0
  25. package/opencode/agents/kody-expert.md +173 -0
  26. package/opencode/agents/llm-expert.md +90 -0
  27. package/opencode/agents/neuron.md +12 -0
  28. package/opencode/agents/payload-expert.md +32 -0
  29. package/opencode/agents/plan-gap.md +132 -0
  30. package/opencode/agents/pr.md +25 -0
  31. package/opencode/agents/review.md +163 -0
  32. package/opencode/agents/security-auditor.md +33 -0
  33. package/opencode/agents/taskify.md +344 -0
  34. package/opencode/agents/test-writer.md +261 -0
  35. package/opencode/agents/test.md +142 -0
  36. package/opencode/agents/verify.md +30 -0
  37. package/opencode/agents/web-expert.md +63 -0
  38. package/opencode/docs/BROWSER_AUTOMATION.md +64 -0
  39. package/opencode/docs/PIPELINE.md +210 -0
  40. package/package.json +48 -0
  41. package/templates/kody.yml +312 -0
package/README.md ADDED
@@ -0,0 +1,76 @@
1
+ # @kody-ade/kody-engine
2
+
3
+ Multi-agent CI/CD pipeline engine that converts GitHub issues into pull requests.
4
+
5
+ ## Quick Start
6
+
7
+ ```bash
8
+ # Initialize Kody in your repo
9
+ npx @kody-ade/kody-engine init
10
+ ```
11
+
12
+ This sets up:
13
+
14
+ - `.github/workflows/kody.yml` — GitHub Actions workflow
15
+ - `.opencode/` — Agent prompt definitions
16
+ - `kody.config.json` — Pipeline configuration
17
+
18
+ ## Setup
19
+
20
+ 1. Run `npx @kody-ade/kody-engine init` in your repo
21
+ 2. Edit `kody.config.json` with your repo details
22
+ 3. Add LLM API keys as GitHub repo secrets (e.g., `MINIMAX_API_KEY`)
23
+ 4. Commit and push the workflow file
24
+ 5. Comment `@kody` on any issue to run the pipeline
25
+
26
+ ## Commands
27
+
28
+ ```bash
29
+ # Initialize in target repo
30
+ kody-engine init [--force] [--workflow-only]
31
+
32
+ # Run pipeline (used by CI workflow)
33
+ kody-engine run
34
+
35
+ # CI helper commands
36
+ kody-engine parse-safety
37
+ kody-engine parse-inputs
38
+ kody-engine checkout-branch
39
+ ```
40
+
41
+ ## Usage on GitHub Issues
42
+
43
+ ```
44
+ @kody # Full pipeline (spec + implementation)
45
+ @kody spec # Analyze and spec only
46
+ @kody impl # Implementation only
47
+ @kody rerun --from build # Resume from stage
48
+ @kody approve # Approve paused gate
49
+ ```
50
+
51
+ ## Configuration
52
+
53
+ `kody.config.json`:
54
+
55
+ ```json
56
+ {
57
+ "quality": {
58
+ "typecheck": "pnpm tsc --noEmit",
59
+ "lint": "pnpm lint",
60
+ "testUnit": "pnpm test:unit"
61
+ },
62
+ "git": { "defaultBranch": "dev" },
63
+ "github": { "owner": "your-org", "repo": "your-repo" }
64
+ }
65
+ ```
66
+
67
+ ## Required Secrets
68
+
69
+ | Secret | Purpose |
70
+ | ----------------- | ------------------------------------------------------------------------- |
71
+ | `MINIMAX_API_KEY` | LLM provider (or `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GEMINI_API_KEY`) |
72
+ | `GH_PAT` | Optional: cross-repo operations |
73
+
74
+ ## License
75
+
76
+ MIT